/* Tekflux storefront — single lightweight stylesheet */
:root {
  /* Bright retail palette built around the Tekflux logo blue */
  --ink: #0e1f3d;           /* deep navy text */
  --ink-2: #2a3a5c;
  --muted: #5a6a8a;         /* blue-grey secondary text */
  --line: #dbe4f3;
  --bg: #ffffff;
  --bg-soft: #f1f6ff;       /* soft blue section background */
  --brand: #0b44f0;         /* logo blue: links, buttons */
  --brand-dark: #0836c4;
  --brand-deep: #0a2a7a;
  --brand-soft: #e6eeff;
  --brand-on-dark: #ffffff;
  --sale: #e4002b;          /* offers, savings, low stock */
  --sale-soft: #ffe9ed;
  --go: #00a651;            /* add to basket / send quote */
  --go-dark: #008a43;
  --go-soft: #e6f7ee;
  --orange: #ff7a00;
  --purple: #7b3ff2;
  --teal: #00a3a3;
  --logo-blue: #0b44f0;
  --accent: #0b44f0;
  --danger: #e4002b;
  --ok: #00a651;
  --radius: 10px;
  --shadow: 0 6px 20px rgba(11, 68, 240, .10);
  --wrap: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: #cfd5e1; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.topbar strong { color: var(--brand-on-dark); font-weight: 600; }
.topbar select {
  background: transparent; border: 1px solid #3a4356; color: #fff; border-radius: 6px; padding: 2px 6px;
}
.topbar select option { color: var(--ink); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 32px; height: 36px; flex: none; }
.wordmark { font-family: "Montserrat", var(--font); font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em; line-height: 1; }
.wordmark span { color: var(--logo-blue); }
.tagline { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; }
.nav { display: flex; gap: 22px; margin-right: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink-2); }
.nav a:hover, .nav a.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; cursor: pointer; text-decoration: none;
}
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700;
  display: grid; place-items: center;
}
.cart-count:empty { display: none; }
.menu-toggle { display: none; }

@media (max-width: 800px) {
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); box-shadow: none !important; }
  .menu-toggle { display: grid; }
  .header .wrap { gap: 12px; }
  .logo { margin-right: auto; }
  .topbar .hide-sm { display: none; }
}

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 span { color: var(--brand-on-dark); }
.hero .tagline { color: #9aa3b5; display: block; margin-bottom: 18px; }
.hero p { color: #c3cad8; font-size: 1.1rem; max-width: 34ch; }
.hero .btn-ghost { color: #fff; border-color: #4a5468; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 1.5rem; color: #fff; }
.hero-stats span { font-size: .85rem; color: #9aa3b5; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 300px; }
.hero-art .ring { position: absolute; inset: 10% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(200,241,53,.28), transparent 65%); }
.hero-art svg { position: relative; }
.hero-art .h-laptop { width: 78%; }
.hero-art .h-phone { width: 26%; margin-left: -12%; margin-bottom: -6px; }
@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; }
  .hero-art { min-height: 200px; }
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { margin: 0; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--brand); }

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); padding: 0; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.trust-item { display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.trust-item svg { width: 28px; height: 28px; flex: none; }
.trust-item b { display: block; }
.trust-item span { color: var(--muted); font-size: .82rem; }
@media (max-width: 800px) { .trust .wrap { grid-template-columns: repeat(2, 1fr); } }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 230px;
  padding: 24px; border-radius: var(--radius); background: var(--bg-soft); text-decoration: none; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat h3 { font-size: 1.4rem; }
.cat .art { position: absolute; right: -10px; bottom: -10px; width: 55%; opacity: .95; }
.cat .from { font-size: .9rem; color: var(--muted); }
.cat.dark { background: var(--ink); color: #fff; }
.cat.dark .from { color: #aab2c3; }
.cat.brand { background: var(--brand); color: #fff; }
.cat.brand .from { color: #d3ddff; }
@media (max-width: 800px) { .cats { grid-template-columns: 1fr; } .cat { min-height: 170px; } .cat .art { width: 40%; } }

/* Product grid + cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.card {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; text-decoration: none; overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft); display: grid; place-items: center; padding: 18px; }
.card-media { overflow: hidden; }
.card-media svg, .card-media img { width: 100%; height: 100%; object-fit: contain; }
.badge {
  position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; font-size: .72rem;
  font-weight: 700; background: var(--ink); color: #fff; text-transform: uppercase; letter-spacing: .04em;
}
.badge.brand { background: var(--brand); color: #fff; }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body h3 { font-size: 1rem; margin: 0; }
.card-meta { font-size: .82rem; color: var(--muted); }
.card-price { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 8px; }
.price { font-weight: 700; font-size: 1.2rem; }
.was { color: var(--muted); text-decoration: line-through; font-size: .88rem; }
.save { color: var(--ok); font-weight: 600; font-size: .8rem; }

/* Grades explainer */
.grades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grade { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.grade-tag { display: inline-block; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; font-size: .85rem; }
.g-excellent { background: var(--brand); color: #fff; }
.g-good { background: #dfe7ff; }
.g-fair { background: #ffe8d6; }
@media (max-width: 800px) { .grades { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 44px; }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 34px; height: 34px;
  border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stars { color: #f5b301; letter-spacing: 2px; margin-bottom: 8px; }
.review cite { font-style: normal; font-weight: 600; font-size: .9rem; }
@media (max-width: 800px) { .reviews { grid-template-columns: 1fr; } }

/* Newsletter */
.cta-band { background: var(--brand-soft); border-radius: 20px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.cta-band form { display: flex; gap: 8px; }
.cta-band input { flex: 1; min-width: 0; padding: .8em 1.1em; border-radius: 999px; border: 2px solid var(--ink); background: #fff; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; padding: 28px 20px; } .cta-band form { flex-direction: column; } }

/* ---------- Shop page ---------- */
.page-head { padding: 36px 0 12px; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.breadcrumb a { text-decoration: none; }
.shop-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding: 16px 0 64px; }
.filters { position: sticky; top: 88px; align-self: start; }
.filter-group { border-bottom: 1px solid var(--line); padding: 16px 0; }
.filter-group h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.filter-group label { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; font-size: .95rem; }
.filter-group input[type="checkbox"], .filter-group input[type="radio"] { accent-color: var(--ink); width: 17px; height: 17px; }
.toolbar { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.search, .select {
  padding: .65em 1em; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.search { flex: 1; min-width: 180px; }
.filters-toggle { display: none; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
@media (max-width: 800px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters { display: none; position: static; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
}

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 24px 0 64px; }
.pdp-media { background: var(--bg-soft); border-radius: 20px; aspect-ratio: 1; display: grid; place-items: center; padding: 48px; position: sticky; top: 88px; }
.pdp-media svg, .pdp-media img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.option-group { margin: 22px 0; }
.option-group h4 { font-size: .9rem; margin-bottom: 10px; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  padding: 10px 16px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  text-align: left; min-width: 110px;
}
.opt small { display: block; color: var(--muted); font-size: .8rem; }
.opt[aria-pressed="true"] { border-color: var(--ink); background: var(--bg-soft); }
.opt[disabled] { opacity: .45; cursor: not-allowed; }
.swatch { width: 34px; height: 34px; min-width: 0; padding: 0; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin: 16px 0; }
.pdp-price .price { font-size: 2rem; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; border: 0; background: #fff; cursor: pointer; font-size: 1.1rem; }
.qty input { width: 44px; text-align: center; border: 0; }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin: 20px 0; }
.buy-row .btn { flex: 1; }
.perks { list-style: none; padding: 16px; margin: 0; border-radius: var(--radius); background: var(--bg-soft); display: grid; gap: 10px; font-size: .92rem; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 20px; height: 20px; flex: none; }
.specs { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: .94rem; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--muted); font-weight: 500; }
@media (max-width: 800px) { .pdp { grid-template-columns: 1fr; gap: 24px; } .pdp-media { position: static; padding: 28px; } }

/* ---------- Cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; padding: 16px 0 64px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-thumb { width: 90px; height: 90px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; padding: 10px; }
.cart-thumb svg, .cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-item h3 { font-size: 1rem; margin-bottom: 2px; }
.cart-item .actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--danger); cursor: pointer; font-size: .88rem; text-decoration: underline; }
.summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 88px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary-row.total { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; padding: .7em .9em; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus, .search:focus, .select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.notice { padding: 12px 14px; border-radius: 10px; background: var(--bg-soft); font-size: .88rem; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } .cart-item { grid-template-columns: 70px 1fr; } .cart-item .line-total { grid-column: 2; } .cart-thumb { width: 70px; height: 70px; } }

/* ---------- Help / FAQ ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: var(--ink-2); }
.help-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.help-tabs a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.contact-cards a { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.contact-cards b { display: block; }
@media (max-width: 700px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #aab2c3; padding: 56px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { color: #fff; font-size: .95rem; }
.footer a { text-decoration: none; display: block; padding: 3px 0; }
.footer a:hover { color: var(--brand-on-dark); }
.footer .logo { color: #fff; margin-bottom: 8px; }
.footer .wordmark span { color: var(--logo-blue); }
.footer .tagline { color: #7f889a; margin-bottom: 14px; display: block; }
.footer-bottom { border-top: 1px solid #2a3244; margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }
.pay-icons { display: flex; gap: 6px; }
.pay-icons span { border: 1px solid #3a4356; border-radius: 5px; padding: 2px 7px; font-size: .72rem; color: #cfd5e1; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); transition: transform .25s; z-index: 100;
  display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--brand-on-dark); font-weight: 600; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.cat .art { display: block; height: 72%; width: 50%; }
.cat .art svg { width: 100%; height: 100%; }
.cat > div, .cat > .link-arrow { position: relative; z-index: 1; }

/* ---------- Real product photos ---------- */
.card-media:has(img) { padding: 0; }
.card-media img { object-fit: cover; }
.pdp-media:has(img) { padding: 0; overflow: hidden; }
.pdp-media img { object-fit: cover; }
.photo-note { position: absolute; left: 12px; bottom: 12px; right: 12px; font-size: .75rem; color: #fff; background: rgba(13,19,33,.65); padding: 6px 10px; border-radius: 8px; width: fit-content; }
.cart-thumb:has(img) { padding: 0; overflow: hidden; }
.cart-thumb img { object-fit: cover; }
.cat .art img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }
.cat .art { right: 16px; bottom: 16px; width: 42%; height: 62%; }
.hero-art img { border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.45); height: auto; }
.hero-art .h-laptop { width: 70%; align-self: flex-start; }
.hero-art .h-phone { width: 44%; margin-left: -18%; margin-bottom: 0; }
.credits { font-size: .82rem; color: var(--muted); }
.credits li { margin-bottom: 4px; }


/* ---------- Clean retail theme (Argos-style): light, flat, small radii ---------- */
h1, h2, h3, h4 { letter-spacing: -.01em; font-weight: 700; }
section { padding: 48px 0; }
.btn { border-radius: 4px; border-width: 1px; background: var(--brand); border-color: var(--brand); padding: .75em 1.4em; }
.btn:hover { transform: none; background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-brand { background: var(--go); border-color: var(--go); }
.btn-brand:hover { background: var(--go-dark); border-color: var(--go-dark); }
.btn-ghost, .hero .btn-ghost { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-deep); }

.topbar { background: var(--brand-soft); color: var(--ink-2); border-bottom: 1px solid #d3e0ee; }
.topbar strong { color: var(--brand-deep); }
.topbar select { background: #fff; border-color: var(--line); color: var(--ink); border-radius: 4px; }
.header { background: #fff; backdrop-filter: none; }
.nav a { color: var(--ink); }
.nav a:hover, .nav a.active { color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); }
.icon-btn { border: 0; border-radius: 4px; }
.icon-btn:hover { background: var(--brand-soft); color: var(--brand); }
.cart-count { background: var(--sale); }

.hero { background: var(--brand-soft); color: var(--ink); }
.hero .wrap { padding-top: 48px; padding-bottom: 48px; }
.hero h1 span { color: var(--brand); }
.hero .tagline { color: var(--brand-deep); }
.hero p { color: var(--ink-2); }
.hero-stats b { color: var(--brand-deep); }
.hero-stats span { color: var(--muted); }
.hero-art img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(8, 48, 95, .18); border: 4px solid #fff; }

.trust { background: #fff; }
.link-arrow { color: var(--brand); border-bottom: 0; text-decoration: underline; text-underline-offset: 3px; }
.link-arrow:hover { color: var(--brand-deep); }

.cat { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.cat:hover { transform: none; box-shadow: var(--shadow); border-color: var(--brand); }
.cat.dark { background: var(--brand-soft); color: var(--ink); border-color: #d3e0ee; }
.cat.dark .from { color: var(--muted); }
.cat.brand { background: var(--sale); border-color: var(--sale); }
.cat.brand .from { color: #ffe1de; }
.cat.brand .link-arrow { color: #fff; }
.cat .art img { border-radius: 4px; box-shadow: none; }

.card { border-radius: var(--radius); }
.card:hover { transform: none; box-shadow: var(--shadow); border-color: #b9c7de; }
.card-body h3 { color: var(--ink); font-weight: 600; }
.badge { border-radius: 3px; background: var(--muted); letter-spacing: .02em; }
.badge.brand { background: var(--brand); }
.badge.sale { background: var(--sale); color: #fff; }
.save { color: var(--sale); }

.grade, .review { border-radius: var(--radius); }
.g-excellent { background: var(--go); color: #fff; }
.g-good { background: var(--brand-soft); color: var(--brand-deep); }
.g-fair { background: #fff5bf; color: #5c4a00; }
.step::before { background: var(--brand); border-radius: 4px; }
.cta-band { background: var(--brand-soft); border-radius: var(--radius); border: 1px solid #d3e0ee; }
.cta-band input { border-radius: 4px; border: 1px solid var(--line); }

.search, .select, .field input, .field select, .field textarea { border-radius: 4px; border-color: #b5b5b5; }
.opt { border-radius: 4px; border-width: 1px; }
.opt[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.swatch { border-radius: 50%; }
.qty { border-radius: 4px; border-color: #b5b5b5; }
.perks { border-radius: var(--radius); }
.pdp-media, .cart-thumb { border-radius: var(--radius); }
.summary { border-radius: var(--radius); background: #fff; }
.help-tabs a { border-radius: 4px; color: var(--brand); }
.help-tabs a:hover { background: var(--brand-soft); }
.empty { border-radius: var(--radius); }

.footer { background: var(--bg-soft); color: var(--ink-2); border-top: 1px solid var(--line); }
.footer h4 { color: var(--ink); }
.footer a:hover { color: var(--brand); text-decoration: underline; }
.footer .logo { color: var(--ink); }
.footer .tagline { color: var(--muted); }
.footer-bottom { border-top-color: var(--line); color: var(--muted); }
.pay-icons span { border-color: var(--line); background: #fff; color: var(--ink-2); border-radius: 3px; }
.toast { border-radius: var(--radius); }
.toast a { color: var(--brand-on-dark); }

/* ---------- B2B: business tiles, trade quote ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.tile > span[data-icon] svg { width: 30px; height: 30px; margin-bottom: 6px; }
.tile p { margin: 0; font-size: .94rem; }
.tile .link-arrow { margin-top: auto; padding-top: 10px; }
a.tile:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: .94rem; color: var(--ink-2); }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--go); font-weight: 700; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.hero-retail { font-size: .92rem !important; margin: 14px 0 0 !important; }
.hero-retail a { color: var(--brand); font-weight: 600; }
.hero .breadcrumb { padding-top: 28px; }
.hero .breadcrumb + .tagline { margin-top: 12px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-right a { color: var(--brand-deep); font-weight: 600; text-decoration: none; }
.topbar-right a:hover { text-decoration: underline; }

.quote-btn { position: relative; padding: .55em 1em; font-size: .9rem; }
.quote-count { margin-left: 6px; background: #fff; color: var(--brand); border-radius: 999px; padding: 0 7px; font-size: .75rem; font-weight: 700; }
.quote-count:empty { display: none; }
@media (max-width: 520px) { .quote-btn { padding: .5em .7em; font-size: .8rem; } }

.trade-box { border: 1px solid #d3e0ee; background: var(--brand-soft); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 20px; display: grid; gap: 10px; font-size: .94rem; }
.trade-row { display: flex; gap: 10px; flex-wrap: wrap; }
.trade-row .qty { background: #fff; }
.trade-row .btn { flex: 1; min-width: 180px; background: #fff; }

.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.quote-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.quote-table td { padding: 10px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.quote-table td:first-child { padding-left: 0; }
.quote-table a { color: var(--ink); font-weight: 600; text-decoration: none; }
.quote-table small { display: block; color: var(--muted); font-size: .8rem; }
.q-qty { width: 64px; padding: 6px; border: 1px solid #b5b5b5; border-radius: 4px; text-align: center; }
@media (max-width: 900px) { .quote-layout { grid-template-columns: 1fr; } }

.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .hero-art { display: none; } }
.footer-contact { display: grid; gap: 2px; font-size: .9rem; margin-top: 8px; }
.footer-contact b { color: var(--ink); margin-top: 10px; }
.footer-contact a { display: inline; padding: 0; color: var(--brand); }


/* ---------- Colour refresh: bright, light, not grey ---------- */
.topbar { background: var(--brand); color: #e6eeff; border-bottom: 0; }
.topbar strong, .topbar-right a { color: #fff; }
.topbar select { border-color: rgba(255,255,255,.5); }

.hero, .cta-band { background: linear-gradient(120deg, #0b44f0 0%, #2f6bff 55%, #5b8cff 100%); color: #fff; }
.hero h1 { color: #fff; }
.hero h1 span { color: #cfe0ff; }
.hero .tagline, .hero .breadcrumb, .hero .breadcrumb a { color: #cfe0ff; }
.hero p { color: #eaf1ff; }
.hero .btn-brand { box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.hero .btn-ghost, .cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.hero .btn-ghost:hover, .cta-band .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.hero-retail, .hero-retail a { color: #fff !important; }
.hero-stats b { color: #fff; }
.hero-stats span { color: #cfe0ff; }
.hero-art img { border-color: rgba(255,255,255,.9); box-shadow: 0 18px 40px rgba(5, 20, 80, .35); }
.cta-band { border: 0; }
.cta-band p { color: #eaf1ff; }

.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-item span[data-icon], .tile > span[data-icon] { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.trust-item span[data-icon] svg, .tile > span[data-icon] svg { width: 26px; height: 26px; margin: 0; }
.trust-item:nth-child(1) span[data-icon], .grid-4 .tile:nth-child(1) > span[data-icon] { background: #e6eeff; }
.trust-item:nth-child(2) span[data-icon], .grid-4 .tile:nth-child(2) > span[data-icon] { background: #e6f7ee; }
.trust-item:nth-child(3) span[data-icon], .grid-4 .tile:nth-child(3) > span[data-icon] { background: #fff1e3; }
.trust-item:nth-child(4) span[data-icon], .grid-4 .tile:nth-child(4) > span[data-icon] { background: #f1e9ff; }

.tile { border-top: 4px solid var(--brand); box-shadow: 0 2px 10px rgba(11, 68, 240, .06); }
.grid-4 .tile:nth-child(2) { border-top-color: var(--go); }
.grid-4 .tile:nth-child(3) { border-top-color: var(--orange); }
.grid-4 .tile:nth-child(4) { border-top-color: var(--purple); }
.tile h3 { color: var(--ink); }

.cat { border: 0; }
.cat.dark { background: linear-gradient(135deg, #e6eeff, #cfdcff); border: 0; }
.cat:not(.dark):not(.brand) { background: linear-gradient(135deg, #e9fbf6, #c9f1e5); }
.cat.brand { background: linear-gradient(135deg, #ff3b5c, #e4002b); }
.cat:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.card { border-color: var(--line); box-shadow: 0 2px 8px rgba(11, 68, 240, .05); }
.card:hover { border-color: #b8cbff; box-shadow: var(--shadow); }
.card-media { background: #f4f7ff; }
.price { color: var(--ink); }

.opt[aria-pressed="true"] { background: var(--brand-soft); }
.grade { border-top: 4px solid var(--go); }
.grades .grade:nth-child(2) { border-top-color: var(--brand); }
.grades .grade:nth-child(3) { border-top-color: #ffc400; }
.g-good { background: var(--brand); color: #fff; }
.g-fair { background: #ffc400; color: #3d2f00; }
.step::before { background: linear-gradient(135deg, #0b44f0, #5b8cff); border-radius: 10px; }
.perks { background: var(--bg-soft); }
.trade-box { background: linear-gradient(135deg, #e6eeff, #f1f6ff); border-color: #c7d6ff; }
.summary { box-shadow: var(--shadow); border-color: var(--line); }
.notice { background: var(--bg-soft); }
.search, .select, .field input, .field select, .field textarea, .qty, .q-qty { border-color: #c3d0e8; }

.footer { background: #eef3ff; border-top: 4px solid var(--brand); }
.footer h4 { color: var(--brand-deep); }
.pay-icons span { border-color: #c7d6ff; }
.btn { border-radius: 8px; }
.icon-btn:hover { background: var(--brand-soft); }

/* Email fallback panel */
.email-panel { width: min(560px, calc(100% - 32px)); border: 0; border-radius: 14px; padding: 24px; box-shadow: 0 24px 60px rgba(5, 20, 80, .3); color: var(--ink); }
.email-panel::backdrop { background: rgba(14, 31, 61, .45); }
.email-panel h3 { margin: 0 0 6px; }
.email-panel p { font-size: .92rem; }
.email-to { font-size: .92rem; margin-bottom: 8px; word-break: break-all; }
.email-panel textarea { width: 100%; padding: 10px; border: 1px solid #c3d0e8; border-radius: 8px; font-size: .85rem; background: var(--bg-soft); resize: vertical; }
.email-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.email-actions .btn { padding: .65em .8em; font-size: .9rem; }
.email-close { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--muted); }
@media (max-width: 480px) { .email-actions { grid-template-columns: 1fr; } }

/* Secure checkout */
.checkout-btn { margin-top: 14px; padding: .95em 1.2em; font-size: 1.02rem; }
.checkout-btn svg { margin-right: 4px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; justify-content: center; }
.pay-methods span { font-size: .72rem; font-weight: 600; padding: 3px 8px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink-2); }
.secure-note { font-size: .8rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
.success-box { max-width: 620px; margin: 56px auto 80px; text-align: center; }
.success-tick { width: 72px; height: 72px; border-radius: 50%; background: var(--go); color: #fff; font-size: 2.2rem; display: grid; place-items: center; margin: 0 auto 18px; }
.intl-note { font-size: .85rem; margin: 12px 0 0; padding: 10px 12px; background: var(--bg-soft); border-radius: 8px; }
.intl-note a { color: var(--brand); font-weight: 600; }
.zone-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px; background: var(--bg-soft); border-radius: 8px; font-size: .9rem; }
.zone-select { width: 100%; margin-top: 8px; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { display: grid !important; place-items: center; width: 40px; height: 40px; padding: 0 !important; border-radius: 50%; background: var(--brand); color: #fff; transition: background .15s, transform .15s; }
.social a:hover { background: var(--brand-dark); color: #fff; text-decoration: none; transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; }

/* ---------- Compact hero ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-3 .tile:nth-child(2) { border-top-color: var(--go); }
.grid-3 .tile:nth-child(3) { border-top-color: var(--orange); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; padding-top: 40px; padding-bottom: 40px; }
.hero { padding: 0; }
.hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; margin-bottom: 14px; max-width: 22ch; }
.hero h1 span { display: block; }
.hero .tagline { margin-bottom: 12px; }
.hero p { font-size: 1.1rem; max-width: 44ch; margin-bottom: 0; }
.hero-cta { margin-top: 22px; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points li { font-size: .85rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); padding: 6px 12px 6px 28px; border-radius: 999px; position: relative; }
.hero-points li::before { content: "✓"; position: absolute; left: 11px; color: #9dffc8; font-weight: 700; }
.hero-art { min-height: 0; align-items: center; justify-content: flex-end; }
.hero-art .h-laptop { width: 74%; max-height: 300px; object-fit: cover; }
.hero-art .h-phone { width: 36%; margin-left: -14%; margin-bottom: -40px; align-self: flex-end; }
@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 0; padding-top: 32px; padding-bottom: 36px; }
  .hero h1 { max-width: none; }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* ---------- Phone & tablet fixes ---------- */
.q-short { display: none; }
@media (max-width: 800px) {
  .pdp-media, .pdp-media:has(img) { position: relative; top: auto; }
}
@media (max-width: 600px) {
  .header .wrap { gap: 6px; height: 60px; }
  .logo { gap: 7px; }
  .logo-mark { width: 26px; height: 29px; }
  .wordmark { font-size: 1.2rem; }
  .header-actions { gap: 2px; }
  .icon-btn { width: 38px; height: 38px; }
  .quote-btn { padding: .45em .75em; font-size: .82rem; margin-right: 4px; }
  .q-long { display: none; }
  .q-short { display: inline; }
  .nav { top: 60px; }
  .topbar .wrap { padding-top: 6px; padding-bottom: 6px; font-size: .8rem; }
  .trust .wrap { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .pay-icons { flex-wrap: wrap; }
  .section-head { margin-bottom: 20px; }
  section { padding: 36px 0; }
}
@media (max-width: 380px) {
  .header .wrap { padding-left: 12px; padding-right: 12px; }
  .wordmark { font-size: 1.1rem; }
  .logo-mark { width: 22px; height: 25px; }
  .icon-btn { width: 34px; height: 34px; }
  .quote-btn { padding: .4em .6em; margin-right: 2px; }
}
@media (max-width: 340px) { .header-actions a[aria-label="Search"] { display: none; } }
/* Keep jump-link targets clear of the sticky header */
[id] { scroll-margin-top: 90px; }

/* Bulk imagery */
.tile-img { display: block; width: calc(100% + 44px); max-width: none; margin: -22px -22px 14px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 6px 6px 0 0; }
.hero-art .h-laptop { aspect-ratio: 4 / 3; height: auto; }
.hero-art .h-phone { aspect-ratio: 4 / 5; height: auto; width: 30%; margin-left: -16%; margin-bottom: -36px; }

/* ---------- Basket on phones & tablets ---------- */
.mobile-checkout { display: none; }
@media (max-width: 900px) {
  .mobile-checkout {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(14, 31, 61, .10);
  }
  .mobile-checkout div { display: grid; line-height: 1.2; }
  .mobile-checkout .muted { font-size: .78rem; }
  .mobile-checkout b { font-size: 1.2rem; }
  .mobile-checkout .btn { flex: 0 0 auto; padding: .8em 1.4em; }
  body[data-view="cart"] { padding-bottom: 84px; }
  .cart-item .qty button { width: 42px; min-height: 42px; }
  .cart-item .qty input { min-height: 42px; }
  .cart-item .link-btn { padding: 12px 6px; margin: -12px -6px; }
}
@media (pointer: coarse) {
  .qty button { width: 44px; min-height: 44px; }
  .qty input { min-height: 44px; }
  .cart-item .link-btn { padding: 12px 6px; margin: -12px -6px; }
  .intl-note a, #to-quote { display: inline-block; padding: 6px 0; }
}

/* ---------- Phones: swipeable card rows ---------- */
.swipe-dots { display: none; }
@media (max-width: 640px) {
  .grid-3, .grid-4, .cats, .grades, .steps, #featured, #related {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px; -webkit-overflow-scrolling: touch;
    margin-inline: -16px; padding: 4px 16px 16px; scrollbar-width: none;
  }
  .grid-3::-webkit-scrollbar, .grid-4::-webkit-scrollbar, .cats::-webkit-scrollbar, .grades::-webkit-scrollbar,
  .steps::-webkit-scrollbar, #featured::-webkit-scrollbar, #related::-webkit-scrollbar { display: none; }
  .grid-3 > *, .grid-4 > *, .cats > *, .grades > *, .steps > * { flex: 0 0 82%; scroll-snap-align: start; }
  #featured > *, #related > * { flex: 0 0 64%; scroll-snap-align: start; }
  .steps > * { flex-basis: 72%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 60px 18px 18px; }
  .steps > *::before { top: 16px; left: 18px; }
  .cats > * { min-height: 190px; }
  .swipe-dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
  .swipe-dots span { width: 7px; height: 7px; border-radius: 999px; background: #c7d3ea; transition: width .2s, background .2s; }
  .swipe-dots span.on { width: 20px; background: var(--brand); }
}
/* Shop listing: two products per row on phones */
@media (max-width: 560px) {
  #results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #results .card-body { padding: 10px 10px 12px; }
  #results .card-body h3 { font-size: .9rem; }
  #results .card-meta { font-size: .72rem; }
  #results .price { font-size: 1rem; }
  #results .card-price { flex-wrap: wrap; gap: 2px 6px; }
  #results .badge { font-size: .62rem; padding: 2px 6px; }
}
/* Tablets (portrait): three across instead of stacked */
@media (min-width: 641px) and (max-width: 900px) {
  .grid-3, .cats, .grades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .cat { min-height: 200px; padding: 18px; }
  .cat .art { width: 60%; height: 50%; }
  .tile { padding: 18px; }
  .tile-img { width: calc(100% + 36px); margin: -18px -18px 12px; }
}

/* Trust strip: swipe row on phones */
@media (max-width: 640px) {
  .trust .wrap {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    padding: 16px 16px 8px; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .trust .wrap::-webkit-scrollbar { display: none; }
  .trust-item { flex: 0 0 78%; scroll-snap-align: start; background: var(--bg-soft); border-radius: var(--radius); padding: 12px 14px; }
  .trust + .swipe-dots, .trust .swipe-dots { padding-bottom: 12px; }
}

/* Link to the business site (shop homepage) */
.biz-band { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: var(--radius); padding: 24px 28px; background: #fff; }
.biz-band h3 { margin: 0 0 4px; }
.biz-band p { margin: 0; color: var(--muted); }
.nav-business { color: var(--brand) !important; font-weight: 700 !important; }
