/* ==========================================================================
   JRK Labs store: design foundation
   Tokens first: change the brand here (accent follows the chosen logo).
   No JavaScript is needed for any component in this file.
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-var.87c506d88b9f.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --ink: #16181d;            /* text, dark surfaces */
  --accent: #2f5bea;         /* brand blue: links, primary buttons (5.7:1 on white) */
  --accent-hover: #1f44c4;
  --accent-bright: #2f5bea;  /* focus rings, decoration */
  --accent-soft: #eef2fe;

  /* Neutrals */
  --bg: #ffffff;
  --surface: #f5f5f2;        /* section backgrounds, image wells */
  --line: #e2e2de;
  --muted: #555a63;          /* secondary text (7:1 on white) */

  /* Status */
  --ok: #17663a;  --ok-soft: #e8f5ee;
  --warn: #8a5a00; --warn-soft: #fff6dc;
  --error: #b42318; --error-soft: #fdecea;
  --info-soft: #eef3fb;

  /* Type */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font-body);
  --text-sm: 0.875rem;
  --text-lg: 1.125rem;

  /* Space, shape, depth */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --radius: 8px; --radius-lg: 14px;
  --shadow: 0 1px 2px rgb(22 24 29 / 6%), 0 4px 16px rgb(22 24 29 / 6%);
  --container: 1240px;
  --tap: 44px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font-body); color: var(--ink); background: var(--bg); }
img, picture, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 var(--space-3); }
h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-weight: 700; margin-top: var(--space-7); }
h3 { font-size: 1.2rem; font-weight: 600; margin-top: var(--space-5); }
p, ul, ol { margin: 0 0 var(--space-4); }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 2px; border-radius: 2px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--space-4); }
main.container { padding-block: var(--space-5) var(--space-8); min-height: 50vh; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: var(--space-2) var(--space-4); z-index: 100; }
.skip-link:focus { left: var(--space-4); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.note, .price-note { color: var(--muted); }
.lead { font-size: var(--text-lg); color: var(--muted); max-width: 70ch; }
s { color: var(--muted); font-weight: 400; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-6) 0; }

/* ---------- Top bar, header, navigation ---------- */

.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); min-height: 72px; padding-block: var(--space-2); }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.logo img { display: block; height: 40px; width: auto; }
@media (max-width: 420px) { .logo img { height: 32px; } }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); }
.main-nav > a, .nav-menu-trigger {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--space-3);
  color: var(--ink); text-decoration: none; font-weight: 600; border-radius: var(--radius); cursor: pointer;
}
.main-nav > a:hover, .nav-menu-trigger:hover { background: var(--surface); color: var(--ink); }
/* Mega menu: opens on hover or keyboard focus, no click needed. Hidden on phones, where
   "Shop" simply opens the shop page (categories + brands). */
.nav-menu { position: relative; }
.nav-menu-trigger { gap: 6px; }
.nav-menu-trigger::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.mega {
  display: none; position: absolute; top: 100%; left: 0; z-index: 30; padding: var(--space-5);
  min-width: min(620px, 92vw); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); grid-template-columns: 1fr 1.2fr; gap: var(--space-6);
}
.mega::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; } /* hover bridge */
.nav-menu:hover .mega, .nav-menu:focus-within .mega { display: grid; }
.mega-heading { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: var(--space-2); }
.mega-list { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: 2px; }
.mega-brands { grid-template-columns: 1fr 1fr; column-gap: var(--space-4); }
.mega-list a { display: block; padding: 7px var(--space-2); margin-inline: calc(-1 * var(--space-2)); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.mega-list a:hover { background: var(--surface); }
.mega-all { font-weight: 600; text-decoration: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }
.header-actions a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--space-3); color: var(--ink); text-decoration: none; font-weight: 600; border-radius: var(--radius); }
.header-actions a:hover { background: var(--surface); color: var(--ink); }
.header-actions .cart-link { background: var(--ink); color: #fff; }
.header-actions .cart-link:hover { background: #2b2e36; color: #fff; }

/* Header search + Datastar suggestions */
.site-search { position: relative; flex: 1 1 220px; max-width: 380px; display: flex; }
.site-search input { flex: 1; min-width: 0; border-radius: var(--radius) 0 0 var(--radius); border-right: 0; }
.site-search-button.site-search-button { min-height: var(--tap); padding: 0 var(--space-3); border-radius: 0 var(--radius) var(--radius) 0; background: var(--ink); border-color: var(--ink); }
.site-search-button.site-search-button:hover { background: #2b2e36; border-color: #2b2e36; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: var(--space-2); min-width: min(420px, 92vw); }
.site-search:not(:focus-within):not(:hover) .suggest { display: none; }
.suggest ul { list-style: none; margin: 0; padding: 0; }
.suggest a { display: flex; gap: var(--space-3); align-items: center; padding: 6px var(--space-2); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.suggest a:hover, .suggest a:focus-visible { background: var(--surface); }
.suggest-terms { border-bottom: 1px solid var(--line); padding-bottom: var(--space-1) !important; margin-bottom: var(--space-1) !important; }
.suggest-kind { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); min-width: 68px; }
.suggest-thumb { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 6px; background: var(--surface); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.suggest-thumb img { mix-blend-mode: multiply; }
.suggest-meta { display: block; font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.suggest-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--text-sm); line-height: 1.3; }
.suggest .suggest-all { justify-content: center; font-weight: 600; color: var(--accent); border-top: 1px solid var(--line); margin-top: var(--space-1); border-radius: 0; }
.suggest-none { margin: 0; padding: var(--space-3); color: var(--muted); font-size: var(--text-sm); }

@media (max-width: 1024px) {
  .site-search { order: 4; flex-basis: 100%; max-width: none; }
}
@media (max-width: 760px) {
  .header-inner { gap: var(--space-2); }
  .main-nav { order: 3; width: 100%; border-top: 1px solid var(--line); padding-top: var(--space-1); overflow-x: auto; flex-wrap: nowrap; }
  .main-nav > a, .nav-menu-trigger { white-space: nowrap; padding: 0 var(--space-2); }
  .nav-menu-trigger::after, .mega { display: none !important; }
  .header-actions a { padding: 0 var(--space-2); }
}

.assist-banner { background: var(--info-soft); border-bottom: 2px solid var(--accent); padding: var(--space-2) var(--space-4); display: flex; gap: var(--space-4); align-items: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9cbd0; margin-top: var(--space-8); font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-6); padding-block: var(--space-7); }
.footer-name { margin-bottom: var(--space-4); }
.footer-name img { display: block; height: 40px; width: auto; }
.footer-heading { font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin-bottom: var(--space-3); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.footer-legal { border-top: 1px solid #2e3139; padding-block: var(--space-4); font-size: var(--text-sm); color: #a3a6ad; }
.footer-legal p { margin: 0; }

/* ---------- Buttons and forms ---------- */
.button, .button-secondary, button[type=submit]:not(.link), input[type=submit] {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--tap); padding: 0 var(--space-5); border-radius: var(--radius);
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid var(--accent); background: var(--accent); color: #fff; transition: background .15s, border-color .15s;
}
.button:hover, button[type=submit]:not(.link):hover, input[type=submit]:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.button-secondary, button.button-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.button-secondary:hover, button.button-secondary:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); }
button.link { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; min-height: 0; }
button:disabled, .button[aria-disabled=true] { opacity: .5; cursor: not-allowed; }

input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number],
input[type=search], input[type=url], input[type=date], input:not([type]), select, textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid #c9cad0; border-radius: var(--radius);
  min-height: var(--tap); padding: 8px var(--space-3); max-width: 100%;
}
textarea { min-height: 96px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 3px solid var(--accent-soft); outline-offset: 0; }
label { font-weight: 600; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); margin: 0 0 var(--space-5); }
legend { font-weight: 700; padding: 0 var(--space-2); }
form > div, fieldset > div { margin-bottom: var(--space-3); }
.helptext, .help { display: block; font-size: var(--text-sm); color: var(--muted); font-weight: 400; }
.errorlist { list-style: none; padding: 0; margin: var(--space-1) 0; color: var(--error); font-size: var(--text-sm); }

/* ---------- Messages, banners, badges, chips ---------- */
.messages { list-style: none; padding: 0; margin: 0 0 var(--space-5); }
.message { padding: var(--space-3) var(--space-4); border-radius: var(--radius); background: var(--info-soft); margin-bottom: var(--space-2); }
.message.error { background: var(--error-soft); color: var(--error); }
.message.success { background: var(--ok-soft); color: var(--ok); }
.message.warning { background: var(--warn-soft); color: var(--warn); }
.test-banner { background: var(--warn-soft); border: 1px solid #e6c200; padding: var(--space-2) var(--space-3); border-radius: var(--radius); margin-bottom: var(--space-4); }
.warn { color: var(--error); }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; line-height: 1.3; letter-spacing: .01em; }
.badge-free { background: var(--ok-soft); color: var(--ok); }
.badge-sale { background: var(--accent); color: #fff; }
.badge-neutral { background: var(--surface); color: var(--muted); }
.badge-trade { background: var(--ink); color: #fff; }

.chip-list { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-4); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; background: var(--bg); }
.chip:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Page header, breadcrumbs ---------- */
.breadcrumbs { font-size: var(--text-sm); color: var(--muted); margin-bottom: var(--space-4); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }
.page-header { margin-bottom: var(--space-5); }
.page-header .lead p:last-child { margin-bottom: var(--space-2); }
.result-count { color: var(--muted); font-size: var(--text-sm); margin: 0; }

/* ---------- Product cards and grids ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-5); }
@media (max-width: 560px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); } .product-card-body { padding: var(--space-2) var(--space-3) var(--space-3); } .product-card-title { font-size: 0.95rem; } }
.product-grid-compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.price-was { display: block; font-size: var(--text-sm); color: var(--muted); line-height: 1.2; }
.price-now { display: block; }
.product-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.product-card:hover { border-color: #c9cad0; box-shadow: var(--shadow); color: var(--ink); }
.product-card-media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: var(--surface); padding: var(--space-4); }
.product-card-media img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.product-card-media .badge { position: absolute; top: var(--space-3); left: var(--space-3); }
.product-card-noimage { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #b5b7bd; }
.product-card-body { display: flex; flex-direction: column; gap: 6px; padding: var(--space-3) var(--space-4) var(--space-4); flex: 1; }
.product-card-brand { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.product-card-title { font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-price { margin-top: auto; padding-top: var(--space-2); font-size: 1.15rem; }
.product-card-price strong { font-family: var(--font-display); }
.product-card-price small { color: var(--muted); font-size: var(--text-sm); }
.product-card-price .price-note { font-size: var(--text-sm); }
.product-card .badge { align-self: flex-start; }
.swatches { display: flex; gap: 6px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #b5b7bd; background: #888; }
.swatch-black { background: #1b1b1b; }
.swatch-white { background: #fff; }

/* Legacy card (content listings) */
.card { display: block; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-7); align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: var(--space-5); } }
.product-buy .brand { font-size: var(--text-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: var(--space-2); }
.product-buy h1 { margin-bottom: var(--space-3); }
.product-buy .summary { color: var(--muted); }
/* Buy box: sticky beside the photos on wide screens. */
@media (min-width: 861px) { .product-buy { position: sticky; top: var(--space-4); } }
.buy-form { margin: var(--space-4) 0; padding: var(--space-4) var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.finish-picker { border: 0; padding: 0; margin: 0 0 var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.finish-picker legend { font-weight: 700; padding: 0; margin-bottom: var(--space-2); }
.finish-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.finish-picker label { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap); padding: 0 var(--space-4) 0 var(--space-3);
  border: 2px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; }
.finish-picker label:hover { border-color: #b5b7bd; }
.finish-picker input:checked + label { border-color: var(--ink); background: var(--surface); }
.finish-picker input:focus-visible + label { outline: 3px solid var(--accent-bright); outline-offset: 2px; }
.finish-picker .swatch { width: 20px; height: 20px; }
.vpanel { display: flex; flex-direction: column; gap: var(--space-1); }
.buy-form.multi [data-v] { display: none; }
@supports not selector(:has(*)) { .buy-form.multi [data-v] { display: flex; } }
.price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-3); }
.price-block .price-was { display: inline; font-size: 1.05rem; }
.price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.1; }
.badge-save { background: var(--ok-soft); color: var(--ok); align-self: center; }
.price-hidden, .price-unavailable { color: var(--muted); font-weight: 600; }
.variant-meta { font-size: var(--text-sm); color: var(--muted); margin: 0; }
.add-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.add-row .qty input { width: 4.5em; text-align: center; }
.add-row .add-button { flex: 1 1 200px; }
.buy-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-weight: 600; }
.ask-engineer { font-size: 0.95rem; color: var(--muted); }
.product-section { margin-top: var(--space-7); }
.product-section > h2 { margin-top: 0; }
.spec-groups { columns: 2 360px; column-gap: var(--space-7); }
.spec-group { break-inside: avoid; margin-bottom: var(--space-5); }
.spec-group h3 { margin-top: 0; }
.download-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.download-list a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.download-list a::before { content: "PDF"; font-size: 0.7rem; font-weight: 800; color: #fff; background: var(--error); border-radius: 4px; padding: 2px 5px; margin-right: var(--space-2); }
.pricing-contact { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); margin: var(--space-4) 0; }
.pricing-contact p:last-child { margin-bottom: 0; }
.shipping-note { font-size: 0.95rem; color: var(--muted); margin-top: var(--space-4); }
.shipping-note.free-freight { color: var(--ok); background: var(--ok-soft); padding: var(--space-3) var(--space-4); border-radius: var(--radius); }
.product-body { max-width: 80ch; }
.specs table { border-collapse: collapse; width: 100%; }
.specs th, .specs td { text-align: left; padding: 10px var(--space-3); border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 45%; font-weight: 500; color: var(--muted); }
.specs tr:nth-child(even) td, .specs tr:nth-child(even) th { background: #fafaf8; }

/* Product photo carousel: scroll-snap, thumbnails are in-page links (no JavaScript). */
.product-media { min-width: 0; }
.carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; border-radius: var(--radius-lg); background: var(--surface); scrollbar-width: thin; }
.carousel .slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: flex; padding: var(--space-5);
  align-items: center; justify-content: center; aspect-ratio: 1 / 1; scroll-margin-top: 1rem; }
.carousel .slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.carousel-thumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.carousel-thumbs a { display: block; width: 68px; height: 68px; border: 2px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface); padding: 4px; }
.carousel-thumbs a:hover, .carousel-thumbs a:focus-visible { border-color: var(--ink); }
.carousel-thumbs img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
@media (prefers-reduced-motion: reduce) { .carousel { scroll-behavior: auto; } * { transition: none !important; } }

/* Product body blocks */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-3); }
.gallery figure { margin: 0; }

/* ---------- Cart, checkout, totals ---------- */
.cart-lines { width: 100%; border-collapse: collapse; margin-bottom: var(--space-5); }
.cart-lines th { font-size: var(--text-sm); color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.cart-lines th, .cart-lines td { text-align: left; padding: var(--space-3); border-bottom: 1px solid var(--line); vertical-align: top; }
.cart-lines .num { text-align: right; font-variant-numeric: tabular-nums; }
.cart-lines input[type=number] { width: 5em; }
.cart-lines .line-qty { white-space: nowrap; }
.cart-lines .line-remove { margin-left: var(--space-2); font-size: var(--text-sm); }
.cart-lines .line-meta, .cart-lines .line-problem { display: block; }
.cart-lines tr.problem td { background: var(--error-soft); }
.cart-lines tfoot td { border-bottom: 0; padding-top: var(--space-2); }
/* Phones: each line becomes a small card. */
@media (max-width: 700px) {
  .cart-lines thead { display: none; }
  .cart-lines, .cart-lines tbody, .cart-lines tfoot, .cart-lines tr, .cart-lines td { display: block; width: 100%; }
  .cart-lines tbody tr { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-3); margin-bottom: var(--space-3); }
  .cart-lines td { border: 0; padding: var(--space-1) 0; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); text-align: right; }
  .cart-lines td.line-item { display: block; text-align: left; padding-bottom: var(--space-2); }
  .cart-lines td:not(.line-item)::before { content: attr(data-label); color: var(--muted); font-size: var(--text-sm); text-align: left; margin-right: auto; }
  .cart-lines tfoot td:empty { display: none; }
  .cart-lines tfoot td { justify-content: flex-end; }
  .cart-lines tfoot td::before { content: none !important; }
}
.cart-summary { max-width: 440px; margin: 0 0 var(--space-5) auto; padding: var(--space-4) var(--space-5); background: var(--surface); border-radius: var(--radius-lg); }
.totals { display: grid; grid-template-columns: max-content auto; gap: var(--space-2) var(--space-6); margin: 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.totals .totals-grand { border-top: 1px solid var(--line); padding-top: var(--space-2); color: var(--ink); }
.promo { margin: var(--space-4) 0 0; padding-top: var(--space-4); border-top: 1px solid var(--line); }
.promo label { display: block; margin-bottom: var(--space-1); font-size: var(--text-sm); }
.promo-row { display: flex; gap: var(--space-2); }
.promo-row input { flex: 1; min-width: 0; background: var(--bg); }
.promo .note { width: 100%; margin: 0; }
.cart-blocked { text-align: center; }
.cart-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin: var(--space-6) 0; }
.cart-actions > * { min-width: 200px; }
.accept-terms label { font-weight: 400; }
.cart-lines.assisted input[type=text], .cart-lines.assisted input:not([type]) { max-width: 100%; }

/* ---------- Content pages and home ---------- */
/* Content pages: centred and wide, text kept to a comfortable line length. */
.content-page { max-width: 1040px; margin-inline: auto; font-size: 1.0625rem; }
.content-page > h1 { margin-top: var(--space-2); }
.content-page .hero-image { max-height: 480px; }
.content-page ul { columns: 2 280px; column-gap: var(--space-7); }
.content-page li { break-inside: avoid; margin-bottom: var(--space-1); }
.content-page figure, main > figure { margin: var(--space-6) 0; }
.content-page figure img, main > figure img { max-width: 100%; height: auto; border-radius: var(--radius-lg); }
.hero-image { display: block; width: 100%; height: auto; max-height: 440px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: var(--space-5); }

.category-list { columns: 2 220px; }

/* ---------- Account and auth pages ---------- */
.account-nav { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }

/* ---------- Brands ---------- */
.brand-grid { list-style: none; padding: 0; margin: var(--space-4) 0 var(--space-6); display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--space-4); columns: auto; }
.brand-grid li { margin: 0; }
.brand-tile { display: flex; align-items: center; justify-content: center; height: 112px; padding: var(--space-4);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s; }
.brand-tile:hover { border-color: #c9cad0; box-shadow: var(--shadow); }
.brand-tile img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
.brand-tile-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; text-align: center; }
.brand-section { margin: var(--space-6) 0; }
.brand-header { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: center; margin-bottom: var(--space-5); }
.brand-header-logo { flex: 0 0 auto; padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.brand-header-logo img { display: block; max-height: 96px; width: auto; }
.brand-header > div:last-child { flex: 1 1 360px; }
.brand-header .badge { margin: 0 0 var(--space-3); }
.product-buy .brand a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.product-buy .brand a:hover { color: var(--accent); border-color: var(--accent); }
.product-card-media .product-card-brandlogo { max-width: 70%; max-height: 40%; opacity: .85; mix-blend-mode: normal; }
.carousel-placeholder .slide img { max-width: 60%; max-height: 40%; mix-blend-mode: normal; }

/* ---------- Listings: filters, sort, pagination ---------- */
.listing.has-facets { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.facets-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-2); }
.facets-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0; }
.facets-clear { font-size: var(--text-sm); font-weight: 600; }
.facet { border-top: 1px solid var(--line); padding: var(--space-3) 0; }
.facet-label { font-weight: 700; margin-bottom: var(--space-2); }
.facet-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.facet-option { display: flex; align-items: center; gap: var(--space-2); min-height: 36px; padding: 2px var(--space-2); margin-inline: calc(-1 * var(--space-2));
  border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.facet-option:hover { background: var(--surface); color: var(--ink); }
.facet-check { flex: 0 0 18px; width: 18px; height: 18px; border: 2px solid #9a9ca3; border-radius: 4px; background: var(--bg); }
.facet-option.is-selected .facet-check { background: var(--accent) center / 14px no-repeat; border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.facet-option.is-selected { font-weight: 600; }
.facet-text { flex: 1; }
.facet-count { color: var(--muted); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.listing-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-4); }
.sort-links { display: flex; align-items: center; gap: var(--space-1); flex-wrap: wrap; font-size: var(--text-sm); }
.sort-label { color: var(--muted); margin-right: var(--space-1); }
.sort-links a { padding: 6px var(--space-3); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.sort-links a:hover { background: var(--surface); }
.sort-links a.is-selected { background: var(--ink); color: #fff; }
.active-filters { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip-active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-hover); min-height: 34px; }
.empty { grid-column: 1 / -1; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-2) var(--space-4); margin-top: var(--space-7); }
.page-numbers { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.pagination a, .page-current, .page-gap { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap); min-height: var(--tap); padding: 0 var(--space-3);
  border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.pagination a { border: 1px solid var(--line); color: var(--ink); }
.pagination a:hover { border-color: var(--ink); }
.page-current { background: var(--ink); color: #fff; }
.page-gap { min-width: 0; padding: 0; color: var(--muted); }
/* Tablets and phones: filters move above the products. Every filter stays open (no extra
   taps); its options scroll sideways as a row of chips. */
@media (max-width: 900px) {
  .listing.has-facets { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .facet { padding: var(--space-2) 0; }
  .facet-label { margin-bottom: var(--space-1); font-size: var(--text-sm); }
  .facet-options { display: flex; gap: var(--space-2); overflow-x: auto; padding-bottom: var(--space-1); scrollbar-width: thin; }
  .facet-option { flex: 0 0 auto; margin: 0; border: 1px solid var(--line); border-radius: 999px; padding: 2px var(--space-3); min-height: 40px; white-space: nowrap; }
  .facet-option.is-selected { border-color: var(--accent); background: var(--accent-soft); }
  .facet-check { display: none; }
  .listing-bar { flex-direction: column; align-items: flex-start; }
  .sort-links { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
  .sort-links a { white-space: nowrap; }
}
.search-page-form { display: flex; gap: var(--space-2); max-width: 640px; margin: var(--space-3) 0; }
.search-page-form input { flex: 1; min-width: 0; }

/* ---------- Home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); align-items: center; margin-bottom: var(--space-7); }
.hero.has-image { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); max-width: 18ch; }
.hero p { font-size: var(--text-lg); color: var(--muted); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-media img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); aspect-ratio: 9 / 6.4; object-fit: cover; }
@media (max-width: 860px) { .hero.has-image { grid-template-columns: minmax(0, 1fr); } .hero-media { order: -1; } }
.home-section { margin: var(--space-8) 0; }
.home-section > h2 { margin-top: 0; }
.home-text { max-width: 80ch; }
.home-figure { margin: var(--space-6) 0; }
.home-figure img { border-radius: var(--radius-lg); }
.category-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-4); }
.category-tile { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.category-tile:hover { box-shadow: var(--shadow); border-color: #c9cad0; color: var(--ink); }
.category-tile-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--surface); padding: var(--space-4); }
.category-tile-media img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.category-tile-title { padding: var(--space-3) var(--space-4); font-weight: 700; font-family: var(--font-display); }
@media (max-width: 560px) { .category-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); } }
.card-grid { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4); }
.info-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); transition: box-shadow .15s, border-color .15s; }
.info-card:not(.has-image) { border-top: 4px solid var(--accent); }
.info-card:hover { box-shadow: var(--shadow); border-color: #c9cad0; }
.info-card-media img { display: block; width: 100%; height: auto; }
.info-card-body { display: flex; flex-direction: column; flex: 1; padding: var(--space-4) var(--space-5) var(--space-5); }
.info-card h3 { margin: 0 0 var(--space-2); font-size: 1.15rem; }
.info-card h3 a { color: var(--ink); text-decoration: none; }
.info-card h3 a::after { content: ""; position: absolute; inset: 0; } /* the whole card is the link */
.info-card p { color: var(--muted); margin-bottom: var(--space-3); }
.info-card-link { margin-top: auto; font-weight: 600; color: var(--accent); }
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-4) var(--space-6); margin: var(--space-8) 0;
  padding: var(--space-6); background: var(--ink); color: #fff; border-radius: var(--radius-lg); }
.cta-band h2 { margin: 0 0 var(--space-2); color: #fff; }
.cta-band p { margin: 0; color: #c9cbd0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.cta-band .cta-secondary { color: #fff; border-color: #50545e; }
.cta-band .cta-secondary:hover { background: #2b2e36; color: #fff; border-color: #fff; }
@media (max-width: 560px) { .cta-band { padding: var(--space-5); } .cta-actions, .cta-actions > * { width: 100%; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: var(--space-7); align-items: start; max-width: 1100px; margin-inline: auto; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); } }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
.form-grid .field { display: flex; flex-direction: column; gap: var(--space-1); margin: 0; }
.form-grid .field input, .form-grid .field select, .form-grid .field textarea { width: 100%; max-width: none; }
.contact-form .lead, .contact-main .lead { max-width: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.optional { font-weight: 400; color: var(--muted); font-size: var(--text-sm); }
.form-actions { margin-top: var(--space-5); }
.contact-form .cf-turnstile { margin-top: var(--space-4); }
.contact-thanks { padding: var(--space-5); background: var(--ok-soft); border-radius: var(--radius-lg); }
.contact-aside { display: grid; gap: var(--space-4); }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); }
.contact-card p:last-child, .contact-card ol:last-child { margin-bottom: 0; }
.contact-card-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: var(--space-2); }
.contact-card-big { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.contact-card-big a { color: var(--ink); text-decoration: none; }
.steps { padding-left: 1.2em; }
.steps li { margin-bottom: var(--space-2); }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--space-7); align-items: start; }
.legal-toc { position: sticky; top: var(--space-4); max-height: calc(100vh - 32px); overflow-y: auto; font-size: var(--text-sm); }
.legal-toc-title { font-weight: 700; margin-bottom: var(--space-2); }
.legal-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.legal-toc a { display: block; padding: 4px var(--space-2); border-radius: var(--radius); color: var(--muted); text-decoration: none; }
.legal-toc a:hover { background: var(--surface); color: var(--ink); }
.legal-body { max-width: 78ch; }
.legal-body h2 { scroll-margin-top: var(--space-4); font-size: 1.35rem; margin-top: var(--space-6); }
.legal-body li { margin-bottom: var(--space-2); }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .legal-toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4); }
  .legal-toc ol { columns: 2 200px; display: block; }
}

/* ---------- Used / B-stock ---------- */
.badge-condition { background: var(--warn-soft); color: var(--warn); }
.condition { margin: 0; font-size: 0.95rem; }
.condition .badge { margin-right: var(--space-2); }
.price-alt { font-size: var(--text-sm); color: var(--warn); font-weight: 600; }

/* ---------- Newsletter ---------- */
.newsletter-signup { margin-top: var(--space-5); }
.newsletter-title { font-weight: 700; margin-bottom: var(--space-1); }
.newsletter-note { font-size: var(--text-sm); margin-bottom: var(--space-2); }
.newsletter-form { display: flex; flex-wrap: wrap; gap: var(--space-2); max-width: 420px; }
.newsletter-form input[type=email] { flex: 1 1 200px; min-width: 0; }
.newsletter-footer .newsletter-note { color: #a3a6ad; }
.newsletter-footer .newsletter-title { color: #fff; }
.newsletter-page { margin: var(--space-6) 0; padding: var(--space-5); background: var(--surface); border-radius: var(--radius-lg); }
.issue-list { list-style: none; padding: 0; columns: auto !important; }
.issue-list li { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }

/* ---------- Product names: "Brand Model" + description ---------- */
.product-description { font-size: var(--text-lg); color: var(--muted); margin: calc(-1 * var(--space-2)) 0 var(--space-3); }
.product-card-desc { font-size: var(--text-sm); color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-lines .line-name { font-weight: 600; }
.cart-lines .line-desc { display: block; color: var(--muted); font-size: var(--text-sm); }

/* ---------- Service area (About page) ---------- */
.service-area { margin: var(--space-7) 0; }
.service-area-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr); gap: var(--space-6); align-items: start; }
@media (max-width: 860px) { .service-area-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); } }
.content-page .service-area-map { margin: 0; }
.service-area-map img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.service-area-map figcaption { font-size: 0.75rem; color: var(--muted); margin-top: var(--space-1); text-align: right; }
.service-area-map figcaption a { color: inherit; }
.service-area-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: var(--space-1); }
.service-area address { font-style: normal; font-size: var(--text-lg); line-height: 1.5; margin-bottom: var(--space-4); }
.service-area-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); }
.service-towns { margin-top: var(--space-5); }
.service-towns h3 { margin-top: 0; }
.service-towns p { margin-bottom: var(--space-2); color: var(--muted); }
.service-towns strong { color: var(--ink); }

/* ---------- Account address book ---------- */
.address-book { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-4); }
.address-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.address-card p { margin: 0; }
.address-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.address-tags .tag { font-size: 0.75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft, #e8eefc); color: var(--ink); }
.address-tags .tag-muted { background: var(--surface-2, #f1f2f4); color: var(--muted); }
.address-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: auto; }
.address-actions form { margin: 0; }

/* ---------- Address forms (checkout ship-to, account address book) ---------- */
.address-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr) minmax(0, 1.6fr); gap: var(--space-4); margin: 0; }
.address-grid > .field { display: flex; flex-direction: column; gap: var(--space-1); margin: 0; }
.address-grid .field input, .address-grid .field select { width: 100%; max-width: none; }
.address-grid .address-wide { grid-column: 1 / -1; }
.address-grid .address-phone { grid-column: 1 / 2; }
@media (max-width: 640px) {
  .address-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .address-grid .address-city, .address-grid .address-phone { grid-column: 1 / -1; }
}
label.check { display: flex; align-items: center; gap: var(--space-2); font-weight: 400; margin: 0; min-height: var(--tap); }
label.check input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.address-form { max-width: 720px; }
.address-form .form-actions { display: flex; gap: var(--space-3); align-items: center; }
.address-remove { color: var(--muted); }

/* Saved addresses as selectable cards; the radio is the card. */
.address-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--space-3); margin: 0 0 var(--space-4); }
.address-option { position: relative; display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); cursor: pointer; font-weight: 400;
  transition: border-color .15s, box-shadow .15s, background .15s; }
.address-option:hover { border-color: #b9bbc2; }
.address-option input[type=radio] { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.address-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.address-option:has(input:focus-visible) { outline: 3px solid var(--accent-bright); outline-offset: 2px; }
.address-option-body { display: flex; flex-direction: column; gap: 1px; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.address-option-title { font-weight: 600; }
.address-option-muted { color: var(--muted); font-size: var(--text-sm); }
.address-option .tag { align-self: flex-start; margin-top: var(--space-1); font-size: 0.72rem; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.address-option-new { border-style: dashed; }
.address-option-new strong { color: var(--accent); }
.new-address { padding: var(--space-4) 0 0; }
/* Show the new-address fields only while "A new address" is picked (always shown without :has). */
.ship-to:has(.address-option-new input:not(:checked)) .new-address { display: none; }
/* Only "a new address" to choose: no card, just the fields. */
.ship-to-new-only .address-options { display: none; }
.ship-to-new-only .new-address { padding-top: 0; }
.ship-to-new-only:has(.address-option-new input:not(:checked)) .new-address { display: block; }
.delivery-details { border-top: 1px solid var(--line); margin-top: var(--space-5); padding-top: var(--space-4); display: grid; gap: var(--space-2); }
.delivery-details-title { font-weight: 700; margin: 0 0 var(--space-1); }
.delivery-options { margin-bottom: var(--space-2); }
.delivery-details .field { display: flex; flex-direction: column; gap: var(--space-1); margin-top: var(--space-2); }
.delivery-details textarea { width: 100%; max-width: none; }
.new-address .address-grid, .delivery-details { max-width: 760px; }

/* ---------- Curated product summary ---------- */
.at-a-glance { margin: var(--space-5) 0; padding: var(--space-4) var(--space-5); background: var(--surface); border-radius: var(--radius-lg); border-left: 4px solid var(--accent); }
.at-a-glance h2 { font-size: var(--text-lg); margin: 0 0 var(--space-3); }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.highlights li { position: relative; padding-left: 28px; }
.highlights li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232f5bea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.best-for { margin-top: var(--space-4); }
.best-for h3 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: var(--space-2); }
.best-for ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.best-for li { padding: 2px var(--space-3); border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: var(--text-sm); font-weight: 600; }
.glance-more { margin: var(--space-3) 0 0; font-size: var(--text-sm); }
.our-take { max-width: 780px; }
.our-take-body { font-size: var(--text-lg); }
.our-take .byline { color: var(--muted); font-size: var(--text-sm); margin-top: var(--space-3); }

/* ---------- FAQ ---------- */
.faq { margin: var(--space-7) 0; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: var(--space-4) 0; font-weight: 600; min-height: var(--tap); }
.faq .faq-answer { padding: 0 0 var(--space-4); color: var(--ink); }

