/* =========================================================================
   Site stylesheet. One file, no framework, no external fonts, no gradients.
   Loaded from the same origin so the strict CSP (style-src 'self') holds and
   there is no inline style attribute anywhere in the templates.
   ========================================================================= */

:root {
  --ink: #14171a;
  --ink-2: #2b3138;
  --muted: #5a636d;
  --paper: #ffffff;
  --bg: #f3f4f6;
  --bg-2: #e9ebee;
  --line: #d5d9de;
  --line-strong: #b6bcc4;
  --accent: #8c2f14;
  --accent-hover: #6f2510;
  --accent-ink: #ffffff;
  --ok: #1f5c3d;
  --warn: #7a4a05;
  --warn-bg: #fdf6e6;
  --focus: #0b57d0;
  --radius: 3px;
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #143a6b; }
a:hover { color: #0b2748; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Respect users who ask for less motion. There are no scroll animations here,
   but transitions are still disabled for them. */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.stack > * + * { margin-top: 16px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------- utility bar */

.utility {
  background: var(--ink); color: #c7cdd4; font-size: 13px;
  border-bottom: 1px solid #23282e;
}
.utility .wrap { display: flex; gap: 20px; align-items: center; justify-content: space-between; min-height: 38px; flex-wrap: wrap; }
.utility a { color: #dfe4e9; text-decoration: none; }
.utility a:hover { text-decoration: underline; color: #fff; }
.utility-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- header */

.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead .wrap {
  display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand svg { flex: none; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.brand-sub { font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }

.searchbar { flex: 1 1 320px; display: flex; min-width: 260px; }
.searchbar label { position: absolute; left: -9999px; }
.searchbar input[type="search"] {
  flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 10px 12px; font-size: 15px; font-family: inherit; background: var(--paper); color: var(--ink);
}
.searchbar button {
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  border-radius: 0 var(--radius) var(--radius) 0; padding: 10px 18px;
  font-size: 15px; font-family: inherit; cursor: pointer;
}
.searchbar button:hover { background: #000; }

.header-actions { display: flex; align-items: center; gap: 10px; }

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

.mainnav { background: var(--ink-2); }
.mainnav ul { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; }
.mainnav a {
  display: block; color: #e6e9ec; text-decoration: none; padding: 12px 16px;
  font-size: 14.5px; border-right: 1px solid #3a4048;
}
.mainnav a:hover, .mainnav a[aria-current="page"] { background: #000; color: #fff; }
.nav-toggle { display: none; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-block; font-family: inherit; font-size: 15px; line-height: 1.2;
  padding: 12px 20px; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center; font-weight: 600;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--bg-2); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #000; color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 14px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* ----------------------------------------------------------------- hero */

.hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 40px 0 44px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.hero h1 { font-size: 34px; line-height: 1.16; margin: 0 0 14px; letter-spacing: -0.015em; }
.hero p.lede { font-size: 17px; color: var(--ink-2); margin: 0 0 22px; max-width: 54ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-figure { border: 1px solid var(--line); background: #fff; padding: 14px; }
.hero-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }

.factbar { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--paper); margin-top: 30px; }
.factbar div { padding: 14px 16px; border-right: 1px solid var(--line); }
.factbar div:last-child { border-right: 0; }
.factbar dt { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.factbar dd { margin: 0; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- section */

.section { padding: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: 22px; margin: 0; letter-spacing: -0.01em; }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }

/* ----------------------------------------------------------- breadcrumbs */

.breadcrumbs { font-size: 13.5px; padding: 14px 0; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li::after { content: "/"; margin-left: 8px; color: var(--line-strong); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--muted); }

/* ----------------------------------------------------------- card grids */

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden;
}
.card:hover { border-color: var(--line-strong); }
.card-media { background: #fff; border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 10px; }
.card-media img { max-height: 100%; width: auto; object-fit: contain; }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-eyebrow { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: 15px; margin: 0; line-height: 1.35; font-weight: 600; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-specs { list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.card-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-was { font-size: 13px; color: var(--muted); text-decoration: line-through; margin-left: 6px; font-weight: 400; }

.tile {
  display: block; background: var(--paper); border: 1px solid var(--line); padding: 16px;
  text-decoration: none; color: var(--ink); border-radius: var(--radius);
}
.tile:hover { border-color: var(--ink); color: var(--ink); }
.tile strong { display: block; font-size: 16px; }
.tile span { font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------- badges */

.badge {
  display: inline-block; font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--muted);
  background: var(--bg-2);
}
.badge-stock { color: var(--ok); border-color: #b9d5c6; background: #eef6f1; }
.badge-out { color: var(--muted); }

/* -------------------------------------------------------- listing layout */

.listing { display: block; padding-bottom: 20px; }
.facets-below-wrap { margin-top: 40px; border-top: 2px solid var(--line); padding-top: 24px; }
.facets-below-wrap .facets { display: grid; grid-template-columns: repeat(4, 1fr); }
.facets-below-wrap .facets h2 { grid-column: 1 / -1; }
.facets { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.facets h2 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.facets section { border-bottom: 1px solid var(--line); padding: 12px 14px; }
.facets section:last-child { border-bottom: 0; }
.facets h3 { font-size: 14px; margin: 0 0 8px; }
.facets ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; max-height: 320px; overflow-y: auto; }
.facets a { font-size: 14px; text-decoration: none; color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.facets a:hover { text-decoration: underline; }
.facets a[aria-current="true"] { font-weight: 700; color: var(--accent); }
.facets .count { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }

.listing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.listing-head h1 { margin: 0 0 6px; font-size: 27px; letter-spacing: -0.015em; }
.listing-head p { margin: 0; color: var(--muted); font-size: 15px; max-width: 70ch; }
.sortform { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sortform select { font-family: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); color: var(--ink); }

.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin: 28px 0 0; list-style: none; padding: 0; }
.pagination a, .pagination span {
  display: block; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); background: var(--paper); font-size: 14px; font-variant-numeric: tabular-nums;
}
.pagination a:hover { background: var(--bg-2); }
.pagination [aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .ellipsis { border-color: transparent; background: transparent; color: var(--muted); }

/* ------------------------------------------------------------------- pdp */

.pdp { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: start; padding-bottom: 30px; }
.gallery-main { background: #fff; border: 1px solid var(--line); padding: 18px; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.gallery-main img { max-height: 460px; width: auto; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; padding: 0; list-style: none; }
.gallery-thumbs a { display: block; border: 1px solid var(--line); background: #fff; padding: 5px; width: 78px; height: 62px; }
.gallery-thumbs a[aria-current="true"] { border-color: var(--ink); border-width: 2px; }
.gallery-thumbs img { max-height: 100%; width: auto; margin: 0 auto; object-fit: contain; }

.pdp-info h1 { font-size: 26px; margin: 0 0 8px; line-height: 1.25; letter-spacing: -0.015em; }
.pdp-meta { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; display: flex; gap: 16px; flex-wrap: wrap; }
.pdp-price { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; margin: 0 0 4px; }
.pdp-buy { border: 1px solid var(--line); background: var(--paper); padding: 18px; margin: 18px 0; border-radius: var(--radius); }
.qty-row { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; padding: 10px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); color: var(--ink);
}
.field input[type="number"] { width: 92px; }
.field .hint { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.field-error { color: #8a1c1c; font-size: 13px; font-weight: 600; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #8a1c1c; border-width: 2px; }

.spectable { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--paper); border: 1px solid var(--line); }
.spectable caption { text-align: left; font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.spectable th, .spectable td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spectable th { width: 42%; font-weight: 600; color: var(--ink-2); }
.spectable tr:last-child th, .spectable tr:last-child td { border-bottom: 0; }

.prose { max-width: 72ch; }
.prose h2 { font-size: 20px; margin: 30px 0 10px; }
.prose h3 { font-size: 16.5px; margin: 24px 0 8px; }
.prose p, .prose li { font-size: 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--bg-2); }

/* ---------------------------------------------------------------- notes */

.note {
  border: 1px solid var(--line); border-left: 4px solid var(--ink-2);
  background: var(--paper); padding: 14px 16px; border-radius: var(--radius); font-size: 14.5px;
}
.note h3 { margin: 0 0 6px; font-size: 15px; }
.note p:last-child { margin-bottom: 0; }
.note-pending { border-left-color: var(--warn); background: var(--warn-bg); }
.note-legal { border-left-color: var(--accent); }

.devbar {
  background: #452a05; color: #ffe9bd; font-size: 13px; padding: 8px 0; border-bottom: 1px solid #6b4409;
}
.devbar code { font-family: var(--mono); color: #ffd382; }

/* --------------------------------------------------------------- forms */

.formcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 640px; }
.formgrid { display: grid; gap: 16px; }
.formgrid-2 { grid-template-columns: 1fr 1fr; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0; }
legend { font-size: 14px; font-weight: 700; padding: 0 6px; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14.5px; }
.check + .check { margin-top: 12px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; }
.check label { line-height: 1.45; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { border: 2px solid #8a1c1c; background: #fdf1f1; padding: 14px 16px; border-radius: var(--radius); }
.form-errors h2 { margin: 0 0 8px; font-size: 16px; color: #8a1c1c; }
.form-errors ul { margin: 0; padding-left: 20px; }
.form-ok { border: 1px solid #b9d5c6; background: #eef6f1; padding: 16px; border-radius: var(--radius); }

/* ---------------------------------------------------------------- cart */

.cart-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); }
.cart-table th, .cart-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: 14.5px; }
.cart-table th { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.cart-table img { width: 76px; height: auto; }
.cart-line-form { display: flex; gap: 8px; align-items: center; }
.cart-line-form input { width: 68px; padding: 7px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-family: inherit; }
.cart-summary { background: var(--paper); border: 1px solid var(--line); padding: 18px; border-radius: var(--radius); }
.cart-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0 0 16px; font-size: 15px; }
.cart-summary dt { color: var(--muted); }
.cart-summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.cart-count { background: var(--accent); color: #fff; font-size: 12px; padding: 1px 7px; border-radius: 2px; margin-left: 6px; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- footer */

.sitefoot { background: var(--ink); color: #b9c0c8; margin-top: 50px; padding: 40px 0 24px; font-size: 14px; }
.sitefoot a { color: #dfe4e9; text-decoration: none; }
.sitefoot a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid h2 { font-size: 12.5px; letter-spacing: 0.09em; text-transform: uppercase; color: #8d97a1; margin: 0 0 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-legal { border-top: 1px solid #2a3037; margin-top: 30px; padding-top: 18px; font-size: 13px; color: #8d97a1; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-addr { font-style: normal; line-height: 1.7; }

/* ------------------------------------------------------- cookie banner */

.cookiebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--paper); border-top: 2px solid var(--ink); padding: 16px 0;
}
.cookiebar[hidden] { display: none; }
.cookiebar .wrap { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookiebar p { margin: 0; font-size: 14px; max-width: 68ch; }
.cookiebar .actions { display: flex; gap: 10px; flex-wrap: wrap; }

.agebar { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 14px; padding: 10px 0; }
.agebar .wrap { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.agebar p { margin: 0; }
.agebar[hidden] { display: none; }

/* ----------------------------------------------------------- age gate modal */

.agegate { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.agegate[hidden] { display: none; }
.agegate-backdrop { position: absolute; inset: 0; background: rgba(20,23,26,0.78); backdrop-filter: blur(2px); }
.agegate-box { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; max-width: 520px; width: 100%; padding: 28px 28px 22px; box-shadow: 0 20px 60px rgba(0,0,0,0.32); }
.agegate-close { position: absolute; top: 8px; right: 10px; background: transparent; border: 0; font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted); width: 36px; height: 36px; border-radius: var(--radius); }
.agegate-close:hover { color: var(--ink); background: var(--bg); }
.agegate-box h2 { margin: 0 0 12px; font-size: 22px; letter-spacing: -0.01em; }
.agegate-box p { margin: 0 0 12px; font-size: 15px; color: var(--ink-2); }
.agegate-box .small { font-size: 13px; color: var(--muted); }
.agegate-actions { display: flex; gap: 12px; margin: 18px 0 14px; flex-wrap: wrap; }
.cookiebar .wrap { position: relative; }
.cookiebar-close { position: absolute; top: -6px; right: -4px; background: transparent; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); width: 32px; height: 32px; border-radius: var(--radius); }
.cookiebar-close:hover { color: var(--ink); background: var(--bg-2); }
.agegate-under-note { margin-top: 16px; }

/* --------------------------------------------------------------- misc */

.empty { background: var(--paper); border: 1px solid var(--line); padding: 40px; text-align: center; border-radius: var(--radius); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pagehead { background: var(--paper); border-bottom: 1px solid var(--line); padding: 28px 0; }
.pagehead h1 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.015em; }
.pagehead p { margin: 0; color: var(--muted); max-width: 70ch; }
.meta-updated { font-size: 13.5px; color: var(--muted); }

/* ---------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .pdp { grid-template-columns: 1fr; gap: 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .listing { grid-template-columns: 1fr; }
  .facets ul { max-height: none; }
}

@media (max-width: 720px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .factbar { grid-template-columns: 1fr 1fr; }
  .factbar div:nth-child(2) { border-right: 0; }
  .factbar div:nth-child(1), .factbar div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .formgrid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 27px; }
  .nav-toggle {
    display: inline-block; background: var(--ink); color: #fff; border: 1px solid var(--ink);
    padding: 10px 14px; font-family: inherit; font-size: 14px; border-radius: var(--radius); cursor: pointer;
  }
  .mainnav ul { flex-direction: column; }
  .mainnav a { border-right: 0; border-bottom: 1px solid #3a4048; }
  .mainnav[data-collapsible="true"] ul[hidden] { display: none; }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 90px 1fr; gap: 0 12px; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .cart-table td { border: 0; padding: 4px 14px; }
}

@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

@media print {
  .utility, .mainnav, .cookiebar, .agebar, .sitefoot, .searchbar { display: none; }
  body { background: #fff; }
}

/* Link lists used on the 404 page and in content cards. */
.linklist { list-style: none; margin: 0 0 12px; padding: 0; }
.linklist li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.linklist li:last-child { border-bottom: 0; }
.linklist .meta-updated { margin-left: 6px; }

/* ------------------------------------------------- home page additions */

.hero-eyebrow {
  font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin: 0 0 10px;
}
.hero-search { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 460px; }
.hero-search label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.hero-search-row { display: flex; gap: 8px; }
.hero-search-row input { flex: 1 1 auto; min-width: 0; }

.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li {
  counter-increment: step; background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--accent); padding: 18px 18px 20px;
}
.steps li::before {
  content: "Step " counter(step); display: block; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.steps h3 { font-size: 16px; margin: 0 0 8px; }
.steps p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 30px; }
.faq-item { border-left: 3px solid var(--line-strong); padding-left: 16px; }
.faq-item h3 { font-size: 16px; margin: 0 0 6px; }
.faq-item p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

.contact-detail { list-style: none; margin: 0; padding: 0; }
.contact-detail li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.contact-detail li:last-child { border-bottom: 0; }
.contact-detail strong { display: block; font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .hero-search-row { flex-direction: column; }
}

/* =========================================================================
   Home page colour.
   A flat six colour palette, no gradients. Every pair below was checked for
   contrast: text on a coloured field is at least 4.5:1, and the large hero
   heading is far above that.
   ========================================================================= */

:root {
  --accent-light: #e2714b;   /* rust, lightened for use on the dark hero */
  --steel: #1f3a5f;
  --steel-bg: #e9eef6;
  --brass: #7a5c0f;
  --brass-bg: #faf2dc;
  --forest: #1f5c3d;
  --forest-bg: #e8f2ec;
  --rust-bg: #fbece6;
  --teal: #14545c;
  --teal-bg: #e6f1f2;
  --clay: #6d3218;
  --clay-bg: #f7ede8;
}

/* ------------------------------------------------------------ dark hero */

.hero-dark { background: var(--ink); border-bottom: 4px solid var(--accent); color: #fff; }
.hero-dark h1 { color: #fff; }
.hero-dark .hero-eyebrow { color: var(--accent-light); }
.hero-dark p.lede { color: #ced5dc; }
.hero-dark .hero-search { border-top-color: #333b44; }
.hero-dark .hero-search label { color: #aeb7c0; }
.hero-dark .hero-figure { background: var(--paper); border-color: #333b44; }
.hero-dark .hero-figure figcaption { color: var(--ink-2); border-top-color: var(--line); }
.hero-dark .hero-figure a { color: var(--steel); }
.hero-dark .btn-secondary { background: transparent; color: #fff; border-color: #6d7883; }
.hero-dark .hero-search-row .btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hero-dark .hero-search-row .btn-secondary:hover { background: var(--bg-2); }
.hero-dark .btn-secondary:hover { background: #232930; color: #fff; border-color: #96a1ab; }
.hero-dark :focus-visible { outline-color: #8ab4f8; }

.hero-dark .factbar { border: 0; background: transparent; gap: 12px; }
.hero-dark .factbar div {
  background: #1c2127; border: 1px solid #333b44; border-left: 4px solid var(--accent);
  padding: 14px 16px;
}
.hero-dark .factbar div:nth-child(2) { border-left-color: var(--steel-bg); }
.hero-dark .factbar div:nth-child(3) { border-left-color: #c9a227; }
.hero-dark .factbar div:nth-child(4) { border-left-color: #4f9e75; }
.hero-dark .factbar dt { color: #a8b1ba; }
.hero-dark .factbar dd { color: #fff; }

/* --------------------------------------------------- colour coded tiles */

.tile { border-top: 3px solid var(--line-strong); }
.tile:hover { border-top-color: var(--accent); }

.tile-c1 { border-top-color: var(--accent); }
.tile-c1:hover { background: var(--rust-bg); border-color: var(--accent); }
.tile-c2 { border-top-color: var(--steel); }
.tile-c2:hover { background: var(--steel-bg); border-color: var(--steel); }
.tile-c3 { border-top-color: var(--forest); }
.tile-c3:hover { background: var(--forest-bg); border-color: var(--forest); }
.tile-c4 { border-top-color: var(--brass); }
.tile-c4:hover { background: var(--brass-bg); border-color: var(--brass); }
.tile-c5 { border-top-color: var(--teal); }
.tile-c5:hover { background: var(--teal-bg); border-color: var(--teal); }
.tile-c6 { border-top-color: var(--clay); }
.tile-c6:hover { background: var(--clay-bg); border-color: var(--clay); }

/* --------------------------------------------------------------- panels */

.section-alt { background: var(--steel-bg); border-color: #cfd9e8; }
.section-tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head h2 { border-left: 4px solid var(--accent); padding-left: 12px; }
.section-alt .section-head h2 { border-left-color: var(--steel); }

/* ---------------------------------------------------------------- steps */

.steps li { border-top-width: 3px; }
.steps li:nth-child(1) { border-top-color: var(--accent); }
.steps li:nth-child(2) { border-top-color: var(--steel); }
.steps li:nth-child(3) { border-top-color: var(--brass); }
.steps li:nth-child(4) { border-top-color: var(--forest); }
.steps li::before { color: var(--paper); background: var(--ink); display: inline-block; padding: 3px 9px; border-radius: var(--radius); }
.steps li:nth-child(1)::before { background: var(--accent); }
.steps li:nth-child(2)::before { background: var(--steel); }
.steps li:nth-child(3)::before { background: var(--brass); }
.steps li:nth-child(4)::before { background: var(--forest); }

/* ------------------------------------------------------------------ faq */

.faq-item { border-left-color: var(--steel); }
.faq-item:nth-child(even) { border-left-color: var(--accent); }

/* --------------------------------------------------------- notes on home */

.note-legal { border-left: 4px solid var(--accent); background: var(--rust-bg); }
.home-note-plain { border-left: 4px solid var(--steel); background: var(--steel-bg); }


.facets-below-wrap .facets section { border-bottom: 0; border-right: 1px solid var(--line); }
.facets-below-wrap .facets section:last-child { border-right: 0; }
@media (max-width: 1000px) {
  .facets-below-wrap .facets { grid-template-columns: repeat(2, 1fr); }
  .facets-below-wrap .facets section:nth-child(2) { border-right: 0; }
  .facets-below-wrap .facets section:nth-child(1),
  .facets-below-wrap .facets section:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .facets-below-wrap .facets { grid-template-columns: 1fr; }
  .facets-below-wrap .facets section { border-right: 0; border-bottom: 1px solid var(--line); }
  .facets-below-wrap .facets section:last-child { border-bottom: 0; }
}


/* ---------------------------------------------------------- about page visuals */
.about-wide { max-width: 1100px; }
.about-hero-media { margin: 0 0 28px; border: 1px solid var(--line); background: var(--paper); }
.about-hero-media img { width: 100%; height: 420px; object-fit: cover; }
.about-hero-media figcaption { font-size: 13px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin: 28px 0; }
.about-grid figure { margin: 0; border: 1px solid var(--line); background: var(--paper); }
.about-grid img { width: 100%; height: 300px; object-fit: cover; }
.about-grid figcaption { font-size: 13px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); }
.about-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: start; margin: 32px 0; }
.about-split img { width: 100%; height: auto; border: 1px solid var(--line); }
@media (max-width: 820px) {
  .about-hero-media img { height: 300px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { height: 260px; }
  .about-split { grid-template-columns: 1fr; }
}


/* ---------------------------------------------------- payment methods checkout */
.payment-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.payment-option { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: var(--paper); cursor: pointer; }
.payment-option:hover { border-color: var(--line-strong); background: var(--bg-2); }
.payment-option.selected { border-color: var(--ink); border-width: 2px; background: var(--paper); }
.payment-option input[type="radio"] { width: 18px; height: 18px; flex: none; }
.payment-option img { width: 48px; height: 32px; flex: none; border-radius: 3px; }
.payment-name { font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.payment-option .hint { font-size: 12px; color: var(--muted); margin-left: auto; text-align: right; }
.payment-crypto { grid-column: 1 / -1; }
.badge-discount { background: #1f5c3d; color: #fff; border: 0; font-size: 11px; padding: 2px 6px; }
.hint.no-top { margin-top: 0; }
@media (max-width: 560px) {
  .payment-methods { grid-template-columns: 1fr; }
  .payment-option .hint { display: none; }
}

/* -------------------------------------------------- responsive overrides - mobile + tablet */

@media (max-width: 1100px) {
  .wrap { padding: 0 16px; }
  .masthead .wrap { gap: 16px; }
  .searchbar { flex: 1 1 260px; min-width: 200px; }
}

@media (max-width: 820px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .btn { min-height: 44px; }
  .mainnav a { padding: 14px 16px; min-height: 44px; display: flex; align-items: center; }
  .pagehead h1 { font-size: 24px; }
  .listing-head h1 { font-size: 22px; }
}

@media (max-width: 720px) {
  .utility .wrap { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .masthead .wrap { flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .brand-name { font-size: 17px; }
  .searchbar { flex: 1 1 100%; min-width: 0; width: 100%; order: 3; }
  .searchbar input[type="search"] { font-size: 16px; padding: 12px; }
  .header-actions { margin-left: auto; }
  .agegate-box { padding: 22px 18px 18px; margin: 12px; }
  .agegate-actions { flex-direction: column; }
  .agegate-actions .btn { width: 100%; }
  .cookiebar .wrap { flex-direction: column; align-items: stretch; }
  .cookiebar .actions { width: 100%; }
  .cookiebar .actions .btn { flex: 1; }
  .prose table { display: block; overflow-x: auto; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 14px; }
  .hero h1 { font-size: 24px; line-height: 1.2; }
  .hero p.lede { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .factbar { grid-template-columns: 1fr; }
  .factbar div { border-right: 0; border-bottom: 1px solid var(--line); }
  .factbar div:last-child { border-bottom: 0; }
  .section { padding: 28px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .pdp-price { font-size: 24px; }
  .gallery-main { min-height: 240px; padding: 10px; }
  .foot-grid { grid-template-columns: 1fr; }
  .agegate { padding: 10px; }
}

@media (max-width: 360px) {
  .brand-sub { display: none; }
}
