/* getspecio.co.uk stylesheet */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 14px;
  color: #2b3440;
  background: #f2f5f9;
  line-height: 1.5;
}

a { color: #0073e6; text-decoration: none; }
a:hover { color: #0058b3; text-decoration: underline; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 14px;
}

/* ---------- Top strip ---------- */

#topstrip {
  background: #0d2f55;
  color: #b8cce3;
  font-size: 12px;
}
#topstrip .wrap {
  display: flex;
  justify-content: space-between;
  padding-top: 5px;
  padding-bottom: 5px;
}
#topstrip a { color: #b8cce3; }
#topstrip a:hover { color: #fff; }

/* ---------- Masthead ---------- */

#masthead {
  background: #fff;
  box-shadow: 0 1px 3px rgba(13,47,85,0.08);
  position: relative;
  z-index: 5;
}
.masthead-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.sitelogo {
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -1px;
  white-space: nowrap;
}
.sitelogo:hover { text-decoration: none; }
.logo-get { color: #0d2f55; }
.logo-specio { color: #ff7a00; }
.logo-tld { color: #9aa7b5; font-size: 13px; font-weight: 400; letter-spacing: 0; }

.searchbox {
  flex: 1;
  display: flex;
  max-width: 580px;
}
.searchbox input {
  flex: 1;
  border: 2px solid #0073e6;
  border-right: none;
  border-radius: 6px 0 0 6px;
  padding: 9px 14px;
  font-size: 14px;
}
.searchbox input:focus { outline: none; border-color: #0058b3; }
.searchbox button {
  background: #0073e6;
  color: #fff;
  border: 2px solid #0073e6;
  border-radius: 0 6px 6px 0;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.searchbox button:hover { background: #0058b3; border-color: #0058b3; }

.masthead-note {
  font-size: 12px;
  color: #6b7886;
  text-align: right;
  line-height: 1.4;
  margin-left: auto;
  white-space: nowrap;
}
.masthead-note strong { font-size: 15px; color: #0d2f55; }

/* ---------- Category nav ---------- */

#catnav {
  background: #0073e6;
}
#catnav .wrap {
  display: flex;
  align-items: stretch;
}
.catlink {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  transition: background 0.15s;
}
.catlink:hover { background: #0058b3; color: #fff; text-decoration: none; }
.catlink.on {
  background: #fff;
  color: #0073e6;
  box-shadow: inset 0 -3px 0 #ff7a00;
}
.catlink-right { margin-left: auto; font-weight: 400; }

/* ---------- Breadcrumb ---------- */

#crumbbar {
  font-size: 12px;
  color: #8a96a3;
}
#crumbbar .wrap { padding-top: 10px; padding-bottom: 2px; }
#crumbbar a { color: #5f6b78; }

/* ---------- Page body ---------- */

#pagebody {
  padding-top: 14px;
  padding-bottom: 36px;
}

#laptopSection {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

/* ---------- Sidebar (sticky, scrolls independently) ---------- */

#sidebar {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 12px;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 10px;
  scrollbar-width: thin;
  scrollbar-color: #c2cedb transparent;
}
#sidebar::-webkit-scrollbar { width: 8px; }
#sidebar::-webkit-scrollbar-thumb { background: #c2cedb; border-radius: 4px; }
#sidebar::-webkit-scrollbar-track { background: transparent; }

#filterToggle { display: none; }

#filterPanels {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(13,47,85,0.1);
  overflow: hidden;
}

.sidehead {
  background: #0d2f55;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidehead a {
  color: #9fc1e8;
  font-weight: 400;
  font-size: 12px;
}
.sidehead a:hover { color: #fff; }

.fgroup { border-bottom: 1px solid #e8edf3; }
.fgroup:last-of-type { border-bottom: none; }
.fgroup h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px 4px;
  color: #0073e6;
}
.fopts { padding: 2px 14px 10px; }
.fopt {
  display: block;
  padding: 3px 0;
  font-size: 13px;
  cursor: pointer;
  color: #2b3440;
  border-radius: 4px;
}
.fopt:hover { color: #0073e6; }
.fopt input {
  margin-right: 7px;
  vertical-align: -1px;
  accent-color: #0073e6;
}
.fcount { color: #9aa7b5; font-size: 12px; }

.sidenote {
  padding: 10px 14px;
  font-size: 11px;
  color: #8a96a3;
  background: #f7f9fc;
}

/* ---------- Results ---------- */

#main { flex: 1; min-width: 0; }

#resultsbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
#resultsbar h1 {
  font-size: 22px;
  color: #0d2f55;
  font-weight: 700;
}
#resultsTotal { color: #8a96a3; font-weight: 400; font-size: 17px; }

.sortbox { font-size: 13px; color: #5f6b78; }
.sortbox select {
  border: 1px solid #c2cedb;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 13px;
  background: #fff;
  margin-left: 5px;
  color: #2b3440;
}

#activeFilters {
  display: none;
  background: #fff8e8;
  border: 1px solid #f3dfa8;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  margin-bottom: 12px;
  color: #7a6727;
}
.afilter {
  display: inline-block;
  background: #fff;
  border: 1px solid #e0d4a4;
  border-radius: 20px;
  padding: 2px 10px;
  margin: 2px;
  white-space: nowrap;
}
.afilter a { color: #cc4433; text-decoration: none; font-weight: 700; margin-left: 2px; }

/* ---------- Product rows ---------- */

.prow {
  display: flex;
  gap: 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(13,47,85,0.08);
  padding: 16px;
  margin-bottom: 12px;
  transition: box-shadow 0.15s;
}
.prow:hover { box-shadow: 0 3px 12px rgba(13,47,85,0.16); }

.prow-img {
  width: 150px;
  height: 112px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.prow-img img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}
.noimg {
  color: #c2cedb;
  font-size: 12px;
  text-align: center;
  line-height: 1.4;
  background: #f7f9fc;
  border-radius: 8px;
  padding: 28px 18px;
}

.prow-info { flex: 1; min-width: 0; }

.prow-title {
  font-size: 17px;
  font-weight: 700;
  color: #0073e6;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1px;
}
.prow-title:hover { text-decoration: underline; }

.prow-code {
  font-size: 12px;
  color: #9aa7b5;
  margin-bottom: 6px;
}

.prow-specs {
  list-style: none;
  font-size: 13px;
  color: #4a5663;
}
.prow-specs li {
  padding: 1px 0 1px 18px;
  position: relative;
}
.prow-specs li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff7a00;
}

.prow-buy {
  width: 190px;
  flex-shrink: 0;
  text-align: right;
  border-left: 1px solid #edf1f6;
  padding-left: 18px;
}
.prow-price {
  font-size: 24px;
  font-weight: 700;
  color: #0d2f55;
  line-height: 1.1;
}
.prow-pricenote {
  font-size: 12px;
  color: #8a96a3;
  margin-bottom: 10px;
}

.dealbtn {
  display: block;
  background: #00a046;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  padding: 9px 10px;
  margin-bottom: 7px;
  transition: background 0.15s;
}
.dealbtn:hover { background: #00853a; color: #fff; text-decoration: none; }

.speclink {
  font-size: 12px;
  color: #0073e6;
}

/* ---------- No results / pager ---------- */

#noResults {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(13,47,85,0.08);
  padding: 36px;
  text-align: center;
  color: #5f6b78;
}
#noResults p { margin-bottom: 8px; }

#pagerWrap {
  text-align: center;
  padding: 18px 0;
  font-size: 13px;
  color: #8a96a3;
}
#moreBtn {
  display: block;
  margin: 8px auto 0;
  background: #fff;
  border: 2px solid #0073e6;
  border-radius: 6px;
  padding: 9px 32px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #0073e6;
  transition: all 0.15s;
}
#moreBtn:hover { background: #0073e6; color: #fff; }

/* ---------- Footer ---------- */

#footer {
  background: #0d2f55;
  color: #b8cce3;
  margin-top: 28px;
  font-size: 13px;
}
.footcols {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  padding-bottom: 28px;
  flex-wrap: wrap;
}
.fcol { flex: 1; min-width: 180px; }
.fcol h5 {
  color: #fff;
  font-size: 13px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.fcol ul { list-style: none; }
.fcol li { padding: 3px 0; }
.fcol a { color: #b8cce3; }
.fcol a:hover { color: #fff; }

#footbase {
  background: #092240;
  padding: 14px 0;
  font-size: 11px;
  color: #7d93ac;
}
#footbase p { margin-bottom: 4px; }

/* ---------- Dialogs ---------- */

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9,34,64,0.6);
  z-index: 100;
  overflow-y: auto;
  padding: 30px 14px;
}
.overlay.open { display: block; }

.dialog {
  background: #fff;
  max-width: 660px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.dialog-head {
  background: #0d2f55;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.dialog-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}
.dialog-body { padding: 18px; }

.spec-imgwrap {
  text-align: center;
  margin-bottom: 14px;
}
.spec-imgwrap img { max-width: 320px; max-height: 200px; }

.spec-disclaimer {
  font-size: 12px;
  color: #8a96a3;
  background: #f7f9fc;
  border-left: 3px solid #c2cedb;
  padding: 8px 12px;
  margin-bottom: 14px;
  border-radius: 0 4px 4px 0;
}

.spectable {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.spectable th, .spectable td {
  border: 1px solid #e8edf3;
  padding: 7px 12px;
  text-align: left;
  font-size: 13px;
  vertical-align: top;
}
.spectable th {
  width: 150px;
  background: #f2f6fb;
  color: #0d2f55;
  font-weight: 600;
}
.spectable tr:nth-child(even) td { background: #fafbfd; }

.spec-buy { margin-bottom: 12px; }
.spec-buy .dealbtn {
  display: inline-block;
  padding: 10px 22px;
  margin-right: 6px;
}
.spec-small { font-size: 11px; color: #9aa7b5; }

/* Legal pages inside dialog */
.dialog-body h2 { font-size: 19px; color: #0d2f55; margin-bottom: 2px; }
.dialog-body h3 { font-size: 14px; color: #0073e6; margin: 14px 0 4px; }
.dialog-body p { margin-bottom: 8px; }
.dialog-body ul { margin: 0 0 8px 18px; }
.legal-date { font-size: 11px; color: #9aa7b5; margin-bottom: 10px; }

/* ---------- Cookie bar ---------- */

#cookieOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 89;
}
#cookieOverlay.visible { display: block; }

#cookiebar {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  border-top: 4px solid #0073e6;
  box-shadow: 0 4px 24px rgba(13,47,85,0.18);
  z-index: 90;
  font-size: 13px;
  padding: 20px;
}
#cookiebar.visible { display: block; }
.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
}
.cookie-btns {
  display: flex;
  gap: 8px;
}
.cookie-btns button {
  flex: 1;
  border: 1px solid #c2cedb;
  border-radius: 6px;
  background: #fff;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #5f6b78;
}
#cookieAccept { background: #0073e6; color: #fff; border-color: #0073e6; }
#cookieAccept:hover { background: #0058b3; }
#cookieDecline:hover { background: #f2f5f9; }

/* ---------- Accessories ---------- */

#accSection { padding: 24px 0 40px; }

.acc-header { margin-bottom: 24px; }
.acc-header h1 { margin: 0 0 8px; font-size: 22px; color: #0d2f55; }
.acc-intro { margin: 0 0 16px; color: #5f6b78; font-size: 14px; max-width: 640px; }

#accPills { display: flex; flex-wrap: wrap; gap: 8px; }
.acc-pill {
  border: 1px solid #c2cedb;
  border-radius: 20px;
  background: #fff;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #5f6b78;
  cursor: pointer;
}
.acc-pill.on {
  background: #0073e6;
  border-color: #0073e6;
  color: #fff;
}
.acc-pill:hover:not(.on) { background: #f2f5f9; }

.acc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.acc-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(13,47,85,0.08);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.15s;
}
.acc-card:hover { box-shadow: 0 4px 16px rgba(13,47,85,0.13); }

.acc-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ff7a00;
}
.acc-name {
  font-size: 15px;
  font-weight: 700;
  color: #0d2f55;
  line-height: 1.3;
}
.acc-desc {
  font-size: 13px;
  color: #5f6b78;
  line-height: 1.5;
  flex: 1;
}
.acc-img {
  text-align: center;
  margin-bottom: 4px;
}
.acc-img img {
  max-height: 130px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.acc-btn {
  margin-top: 6px;
  text-align: center;
  display: block;
}

/* ---------- Mobile ---------- */

@media (max-width: 860px) {
  .masthead-inner { flex-wrap: wrap; gap: 10px; }
  .searchbox { order: 3; max-width: none; flex-basis: 100%; }
  .masthead-note { display: none; }

  #catnav .wrap { flex-wrap: wrap; }
  .catlink { padding: 9px 13px; font-size: 13px; }
  .catlink-right { margin-left: 0; }

  #laptopSection { flex-direction: column; }
  #sidebar {
    width: 100%;
    position: static;
    max-height: none;
    overflow: visible;
  }

  #filterToggle {
    display: block;
    width: 100%;
    background: #0073e6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 11px;
    cursor: pointer;
    margin-bottom: 10px;
  }
  #filterPanels { display: none; }
  #filterPanels.open { display: block; margin-bottom: 14px; }

  .prow { flex-wrap: wrap; gap: 12px; }
  .prow-img { width: 110px; height: 85px; }
  .prow-info { flex-basis: calc(100% - 130px); }
  .prow-buy {
    flex-basis: 100%;
    width: auto;
    border-left: none;
    border-top: 1px solid #edf1f6;
    padding: 12px 0 0;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .prow-price { font-size: 20px; }
  .prow-pricenote { margin-bottom: 0; }
  .dealbtn { display: inline-block; margin-bottom: 0; padding: 8px 16px; }
}
