/* =====================================================================
   Nuragen — design system + site styles
   Brand: Nuragen Brand Standards v2.0. Warm-bone editorial base, genomic
   teal authority, jade action, bio-lime signal (used sparingly). Newsreader
   for display, Manrope for interface/body, IBM Plex Mono for labels/metadata.
   Mobile-first. 8-point spacing. WCAG 2.1 AA colour pairs.
   ===================================================================== */

/* ---------- tokens ---------- */
:root {
  /* core palette */
  --genomic-teal: #123B36;
  --regenerative-jade: #1B9C78;
  --jade-text: #116A4E;     /* AA-safe jade for small text on light (≥4.5:1 on bone/white/mist) */
  --bio-lime: #B9E36A;
  --warm-bone: #F4F0E7;
  --cool-mist: #DDEAE5;
  --near-black: #14201D;

  /* applied roles */
  --bg: var(--warm-bone);
  --surface: #FFFFFF;
  --surface-mist: var(--cool-mist);
  --ink: var(--near-black);
  --ink-soft: #3C4C48;
  --ink-muted: #61726D;
  --line: #E4DFD3;          /* subtle border on bone */
  --line-mist: #C7DBD4;
  --line-teal: rgba(244,240,231,.16);
  --focus: #1B9C78;

  /* type */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Code", monospace;

  /* radius */
  --r-lg: 20px;
  --r-md: 13px;
  --r-sm: 9px;

  /* spacing (8-point) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 16px; --sp-4: 24px;
  --sp-5: 32px; --sp-6: 48px; --sp-7: 64px; --sp-8: 96px;

  /* shadow — restrained */
  --sh-sm: 0 1px 2px rgba(18,59,54,.05);
  --sh-md: 0 8px 24px rgba(18,59,54,.08), 0 1px 3px rgba(18,59,54,.05);
  --sh-lg: 0 22px 54px rgba(18,59,54,.14), 0 4px 12px rgba(18,59,54,.07);

  /* motion — orient/progress/confirm */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-orient: .16s;
  --t-progress: .32s;
  --t-confirm: .6s;

  --wrap: 1200px;
  --header-h: 68px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 1.125rem;          /* 18 */
  line-height: 1.62;            /* ~28 */
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
main { display: block; }
section { scroll-margin-top: calc(var(--header-h) + 16px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .75rem; line-height: 1.5; letter-spacing: .14em;
  text-transform: uppercase; color: var(--jade-text);
  margin: 0 0 var(--sp-3);
}
.mono { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; }
.serif { font-family: var(--font-display); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-sans); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
  border-radius: 999px; border: 1.5px solid transparent;
  transition: transform var(--t-orient) var(--ease), background-color var(--t-progress) var(--ease), border-color var(--t-progress) var(--ease), color var(--t-progress) var(--ease);
  text-align: center;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--regenerative-jade); color: var(--near-black); }
.btn-primary:hover { background: #178a6a; }
.btn-primary:active { transform: translateY(1px); }
.btn-dark { background: var(--genomic-teal); color: var(--warm-bone); }
.btn-dark:hover { background: #0d2c28; }
.btn-ghost { background: transparent; color: var(--genomic-teal); border-color: var(--line-mist); }
.btn-ghost:hover { border-color: var(--genomic-teal); background: rgba(18,59,54,.04); }
.btn-outline-bone { background: transparent; color: var(--warm-bone); border-color: var(--line-teal); }
.btn-outline-bone:hover { border-color: var(--warm-bone); }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }

/* ---------- announcement strip ---------- */
.announce {
  background: var(--genomic-teal); color: var(--warm-bone);
  font-family: var(--font-sans); font-size: .9rem; font-weight: 600; letter-spacing: 0; text-transform: none;
  text-align: center; padding: 11px 16px 10px;
  padding-top: calc(11px + env(safe-area-inset-top, 0px));
}
.announce b { color: var(--bio-lime); font-weight: 600; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h); padding: 10px 20px;
  background: rgba(244,240,231,.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 34px; height: 38px; flex: none; }
.brand-word {
  font-family: var(--font-sans); font-weight: 700; font-size: 1.5rem;
  letter-spacing: -0.045em; color: var(--genomic-teal); line-height: 1;
}
.header-nav { display: none; gap: 26px; margin-left: auto; }
.header-nav a { font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
.header-nav a:hover { color: var(--genomic-teal); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 15px; border-radius: 999px;
  border: 1.5px solid var(--line-mist); color: var(--genomic-teal);
  font-weight: 600; font-size: .92rem;
  transition: border-color var(--t-progress) var(--ease), background-color var(--t-progress) var(--ease);
}
.cart-btn:hover { border-color: var(--genomic-teal); background: rgba(18,59,54,.04); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--regenerative-jade); color: var(--near-black);
  border-radius: 999px; font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
}

/* ---------- hero ---------- */
.hero { padding: var(--sp-3) 0 var(--sp-3); }
.hero-grid { display: grid; gap: var(--sp-5); align-items: center; }
.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.06; letter-spacing: -0.02em;
  color: var(--genomic-teal); margin-bottom: 0;
}
.hero-sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 34ch; margin-bottom: var(--sp-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: var(--sp-4); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.hero-meta span::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--regenerative-jade); }

/* node-field brand graphic */
.node-field {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg);
  background: var(--genomic-teal); overflow: hidden; box-shadow: var(--sh-md);
}
.node-field svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- featured cards ---------- */
.featured { display: grid; gap: var(--sp-3); padding-bottom: var(--sp-3); }
.feat-card {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--sh-sm);
  transition: transform var(--t-progress) var(--ease), box-shadow var(--t-progress) var(--ease);
}
.feat-card .feat-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.feat-card img, .feat-card svg.pv { width: 100%; height: 100%; object-fit: cover; }
.feat-copy { position: absolute; left: 22px; bottom: 20px; display: grid; gap: 2px; color: var(--warm-bone); z-index: 2; }
.feat-copy strong { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.01em; }
.feat-copy span { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; opacity: .92; }
.feat-card .feat-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,59,54,0) 42%, rgba(18,59,54,.72) 100%); z-index: 1; }
.feat-arrow {
  position: absolute; right: 18px; bottom: 18px; z-index: 2;
  width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center;
  background: var(--bio-lime); color: var(--near-black);
  transition: transform var(--t-progress) var(--ease);
}
.feat-arrow svg { width: 20px; height: 20px; }
@media (hover: hover) {
  .feat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
  .feat-card:hover .feat-arrow { transform: translateX(3px); }
}

/* ---------- category tiles ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); padding-bottom: var(--sp-5); }
.cat-tile {
  position: relative; display: block; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--surface); box-shadow: var(--sh-sm);
  transition: transform var(--t-progress) var(--ease), box-shadow var(--t-progress) var(--ease);
}
.cat-tile .pv, .cat-tile img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,59,54,0) 45%, rgba(18,59,54,.66) 100%); }
.cat-label { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: var(--warm-bone); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.cat-label i { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--bio-lime); }
.cat-arrow { position: absolute; right: 12px; top: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: rgba(244,240,231,.9); color: var(--genomic-teal); }
.cat-arrow svg { width: 17px; height: 17px; }
@media (hover: hover) { .cat-tile:hover { transform: translateY(-3px); box-shadow: var(--sh-md); } }

/* ---------- stats band ---------- */
.stats-band {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line-mist); border: 1px solid var(--line-mist);
  border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--sp-6);
}
.stats-band > div { background: var(--surface); padding: var(--sp-4) var(--sp-3); text-align: center; }
.stats-band b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 2.1rem; color: var(--genomic-teal); letter-spacing: -0.01em; line-height: 1; }
.stats-band span { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }

/* ---------- lineup (dark full-width) ---------- */
.lineup { background: var(--genomic-teal); color: var(--warm-bone); padding: var(--sp-7) 0; margin-bottom: var(--sp-7); position: relative; overflow: hidden; }
.lineup::before { /* cropped pathway arch, decorative */
  content: ""; position: absolute; right: -80px; top: -60px; width: 320px; height: 320px;
  border: 30px solid rgba(27,156,120,.16); border-bottom: 0; border-radius: 260px 260px 0 0; opacity: .8;
}
.lineup-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: var(--sp-4); position: relative; z-index: 1; }
.lineup .eyebrow { color: var(--bio-lime); }
.lineup-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.4rem); color: var(--warm-bone); }
.lineup-nav { display: flex; align-items: center; gap: 16px; flex: none; }
.lineup-seeall { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--bio-lime); font-size: .95rem; }
.lineup-seeall svg { width: 17px; height: 17px; }
.lineup-arrows { display: none; gap: 8px; }
.lineup-arrows button { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line-teal); color: var(--warm-bone); display: grid; place-items: center; transition: border-color var(--t-progress) var(--ease), background-color var(--t-progress) var(--ease); }
.lineup-arrows button:hover { border-color: var(--warm-bone); background: rgba(244,240,231,.08); }
.lineup-arrows button svg { width: 20px; height: 20px; }
.lineup-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-left: 20px; padding: 4px 20px 12px; margin: 0 -20px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.lineup-track::-webkit-scrollbar { display: none; }

/* product card (lineup + related + catalogue) */
.pcard {
  scroll-snap-align: start; background: var(--surface); color: var(--ink);
  border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--sh-sm); transition: transform var(--t-progress) var(--ease), box-shadow var(--t-progress) var(--ease);
}
.pcard-media { position: relative; aspect-ratio: 1 / 1; background: var(--cool-mist); }
.pcard-media .pv, .pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--bio-lime); color: var(--near-black); padding: 4px 8px; border-radius: 999px;
}
.pcard-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pcard-cat { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--jade-text); }
.pcard-name { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--genomic-teal); }
.pcard-desc { font-size: .86rem; color: var(--ink-muted); line-height: 1.45; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.pcard-price { font-family: var(--font-mono); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.pcard-price s { color: var(--ink-muted); font-weight: 400; margin-right: 6px; }
.pcard-go { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--cool-mist); color: var(--genomic-teal); transition: background-color var(--t-progress) var(--ease); }
.pcard-go svg { width: 16px; height: 16px; }
@media (hover: hover) { .pcard:hover { transform: translateY(-3px); box-shadow: var(--sh-md); } .pcard:hover .pcard-go { background: var(--bio-lime); } }

/* ---------- section head (generic light) ---------- */
.sec-head { max-width: 60ch; margin-bottom: var(--sp-4); }
.sec-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.35rem); color: var(--genomic-teal); }
.sec-lead { margin-top: 12px; color: var(--ink-soft); }

/* ---------- lab verification / purity ---------- */
.labverify {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-5); margin-bottom: var(--sp-6);
  display: grid; gap: var(--sp-4); align-items: center;
}
.labverify-title { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; color: var(--genomic-teal); }
.labverify-text { color: var(--ink-soft); font-size: 1rem; }
.labverify-foot { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--jade-text); display: inline-flex; align-items: center; gap: 8px; }
.labverify-foot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--regenerative-jade); }
.purity-gauge { position: relative; width: 168px; height: 168px; }
.purity-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: var(--cool-mist); stroke-width: 10; }
.gauge-fill { fill: none; stroke: var(--regenerative-jade); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset var(--t-confirm) var(--ease); }
.gauge-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-num { font-family: var(--font-mono); font-weight: 600; font-size: 1.4rem; color: var(--genomic-teal); }
.gauge-label { font-size: .72rem; color: var(--ink-muted); }
.gauge-pending .gauge-fill { stroke: var(--line-mist); }
.labverify-pending {
  display: inline-flex; align-items: center; gap: 10px; align-self: start;
  background: var(--cool-mist); color: var(--near-black); border-radius: 999px; padding: 8px 16px;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em;
}
.labverify-pending svg { width: 16px; height: 16px; color: var(--regenerative-jade); }
.labverify-coa-label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }

/* certificate carousel */
.certs-carousel { display: flex; align-items: center; gap: 10px; }
.certs-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.certs-track::-webkit-scrollbar { display: none; }
.cert-chip { scroll-snap-align: start; display: grid; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--warm-bone); text-align: left; transition: border-color var(--t-progress) var(--ease); }
.cert-chip:hover { border-color: var(--regenerative-jade); }
.cert-chip-thumb { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--cool-mist); display: grid; place-items: center; }
.cert-chip-thumb svg { width: 46px; height: 46px; color: var(--regenerative-jade); }
.cert-chip-name { font-weight: 600; font-size: .82rem; color: var(--genomic-teal); }
.cert-chip small { font-family: var(--font-mono); font-size: .66rem; color: var(--ink-muted); }
.certs-arrow { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line-mist); color: var(--genomic-teal); display: grid; place-items: center; }
.certs-arrow svg { width: 18px; height: 18px; }

/* ---------- reviews ---------- */
.reviews { margin-bottom: var(--sp-7); }
.reviews-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-bottom: var(--sp-4); }
.reviews-stats div { text-align: center; }
.reviews-stats b { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 1.4rem; color: var(--genomic-teal); }
.reviews-stats span { font-size: .8rem; color: var(--ink-muted); }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin: 0 -20px; padding-inline: 20px; scrollbar-width: none; }
.review-track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-4); display: flex; flex-direction: column; gap: 12px; }
.review-person { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 42px; height: 42px; border-radius: 999px; background: var(--cool-mist); color: var(--genomic-teal); display: grid; place-items: center; font-weight: 700; }
.review-person strong { display: block; font-size: .95rem; }
.review-person small { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-muted); }
.review-stars { color: var(--regenerative-jade); letter-spacing: 2px; }
.review p { font-size: .95rem; color: var(--ink-soft); }
.reviews-pending {
  border: 1px dashed var(--line-mist); border-radius: var(--r-lg); padding: var(--sp-6) var(--sp-4);
  text-align: center; color: var(--ink-muted); background: var(--surface);
}
.reviews-pending .mono { color: var(--jade-text); display: block; margin-bottom: 10px; }

/* ---------- catalogue ---------- */
.catalog { padding: var(--sp-6) 0 var(--sp-7); }
.catalog-head { margin-bottom: var(--sp-5); }
.catalog-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 6vw, 3rem); color: var(--genomic-teal); }
.catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }

/* ---------- breadcrumb ---------- */
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-muted); padding: var(--sp-4) 0 0; }
.crumb a:hover { color: var(--genomic-teal); }
.crumb svg { width: 13px; height: 13px; }

/* ---------- product detail ---------- */
.detail { padding: var(--sp-4) 0 var(--sp-6); display: grid; gap: var(--sp-5); }
.gallery { display: grid; gap: 12px; }
.gallery-main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.gallery-main .pv, .gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-zoom { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 999px; background: rgba(244,240,231,.92); color: var(--genomic-teal); display: grid; place-items: center; box-shadow: var(--sh-sm); }
.gallery-zoom svg { width: 18px; height: 18px; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.gthumb { border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; width: 78px; height: 78px; flex: none; background: var(--surface); transition: border-color var(--t-progress) var(--ease); }
.gthumb .pv, .gthumb img { width: 100%; height: 100%; object-fit: cover; }
.gthumb.is-active { border-color: var(--regenerative-jade); }

.info-card { align-self: start; }
.info-cat { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--jade-text); margin-bottom: 10px; }
.info-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 5vw, 2.7rem); color: var(--genomic-teal); line-height: 1.05; }
.info-subtitle { color: var(--ink-soft); margin-top: 8px; font-size: 1.05rem; }
.info-price-row { display: flex; align-items: baseline; gap: 12px; margin: var(--sp-4) 0 var(--sp-3); }
.info-price { font-family: var(--font-mono); font-weight: 600; font-size: 1.9rem; color: var(--ink); }
.info-price s { color: var(--ink-muted); font-weight: 400; font-size: 1.2rem; }
.info-save { font-family: var(--font-mono); font-size: .72rem; background: var(--bio-lime); color: var(--near-black); padding: 4px 10px; border-radius: 999px; }
.info-preorder { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--jade-text); }

.variants { margin: var(--sp-3) 0 var(--sp-4); }
.variants-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px; }
.variant-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-opt {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line-mist);
  font-weight: 700; color: var(--genomic-teal); background: var(--surface);
  transition: border-color var(--t-orient) var(--ease), background-color var(--t-orient) var(--ease), color var(--t-orient) var(--ease);
}
.variant-opt[aria-pressed="true"] { background: var(--genomic-teal); color: var(--warm-bone); border-color: var(--genomic-teal); }
.variant-opt:hover:not([aria-pressed="true"]) { border-color: var(--genomic-teal); }

.buy-actions { display: grid; gap: 10px; margin-bottom: var(--sp-3); }
.stock { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--ink-soft); margin-bottom: 6px; }
.stock::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--regenerative-jade); flex: none; }
.stock.is-preorder::before { background: var(--bio-lime); }
.deliver { font-size: .88rem; color: var(--ink-muted); }
.info-note { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--sp-3); padding: 12px 14px; background: var(--cool-mist); border-radius: var(--r-sm); font-size: .84rem; color: var(--near-black); }
.info-note svg { width: 18px; height: 18px; color: var(--genomic-teal); flex: none; margin-top: 1px; }

/* info detail tabs / accordion */
.pinfo { padding-bottom: var(--sp-6); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--cool-mist); border-radius: var(--r-md); padding: 5px; margin-bottom: var(--sp-4); }
.tab { min-height: 44px; border-radius: var(--r-sm); font-weight: 700; font-size: .92rem; color: var(--ink-soft); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--genomic-teal); box-shadow: var(--sh-sm); }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fade var(--t-progress) var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.prose p { margin-bottom: var(--sp-3); color: var(--ink-soft); }
.prose h3 { font-size: 1.15rem; color: var(--genomic-teal); margin: var(--sp-4) 0 8px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: var(--sp-3); }
.spec-table th, .spec-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.spec-table th { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
.spec-table td.mono { font-family: var(--font-mono); font-size: .8rem; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; padding: 18px 4px; font-weight: 700; font-size: 1.02rem; color: var(--genomic-teal); }
.faq-q svg { width: 20px; height: 20px; flex: none; transition: transform var(--t-progress) var(--ease); color: var(--regenerative-jade); }
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-progress) var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 4px 18px; color: var(--ink-soft); }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }

/* editorial education */
.edu { background: var(--genomic-teal); color: var(--warm-bone); border-radius: var(--r-lg); padding: var(--sp-6) var(--sp-5); margin-bottom: var(--sp-6); position: relative; overflow: hidden; }
.edu .eyebrow { color: var(--bio-lime); }
.edu h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 12px; color: var(--warm-bone); }
.edu p { color: var(--cool-mist); max-width: 58ch; }

/* related */
.related { padding-bottom: var(--sp-7); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }

/* ---------- footer ---------- */
footer { background: var(--genomic-teal); color: var(--cool-mist); padding: var(--sp-7) 0 calc(var(--sp-6) + env(safe-area-inset-bottom, 0px)); margin-top: var(--sp-7); }
.foot-grid { display: grid; gap: var(--sp-5); }
.foot-brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: var(--sp-3); }
.foot-brand .brand-word { color: var(--warm-bone); }
.foot-tagline { color: var(--cool-mist); max-width: 40ch; margin-bottom: var(--sp-3); font-size: .96rem; }
.foot-descriptor { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bio-lime); }
.foot-links { display: grid; gap: 10px; }
.foot-links a { color: var(--warm-bone); font-weight: 600; font-size: .95rem; }
.foot-links a:hover { color: var(--bio-lime); }
.foot-col h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cool-mist); font-weight: 500; margin-bottom: 14px; }
.foot-country { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.foot-country button { font-family: var(--font-mono); font-size: .75rem; color: var(--cool-mist); padding: 6px 12px; border: 1px solid var(--line-teal); border-radius: 999px; min-height: 40px; }
.foot-country button.is-active { border-color: var(--bio-lime); color: var(--bio-lime); }
.foot-contact a { color: var(--warm-bone); font-weight: 600; }
.foot-legal { font-size: .78rem; line-height: 1.6; color: rgba(221,234,229,.72); border-top: 1px solid var(--line-teal); padding-top: var(--sp-4); margin-top: var(--sp-5); }
.foot-copy { font-family: var(--font-mono); font-size: .7rem; color: rgba(221,234,229,.6); margin-top: var(--sp-3); }

/* ---------- age gate ---------- */
.agegate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); background: rgba(18,59,54,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.agegate[hidden] { display: none; }
.agegate-card { width: 100%; max-width: 460px; max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--warm-bone); border-radius: var(--r-lg); padding: var(--sp-5) var(--sp-4); box-shadow: var(--sh-lg); text-align: center; }
.agegate-mark { width: 52px; height: 58px; margin: 0 auto var(--sp-3); }
.agegate-eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--jade-text); margin-bottom: 10px; }
.agegate h1, .agegate-h1 { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; line-height: 1.1; color: var(--genomic-teal); margin-bottom: 12px; }
.agegate-text { font-size: .92rem; color: var(--ink-soft); margin-bottom: var(--sp-4); text-align: left; }
.agegate-text strong { color: var(--near-black); }
.agegate-country-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px; text-align: left; }
.country-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: var(--sp-4); }
.country-opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 52px; border: 1.5px solid var(--line-mist); border-radius: var(--r-sm); background: var(--surface); font-weight: 600; font-size: .9rem; color: var(--genomic-teal); text-align: left; transition: border-color var(--t-orient) var(--ease), box-shadow var(--t-orient) var(--ease); }
.country-opt .co-flag { width: 26px; height: 18px; border-radius: 3px; overflow: hidden; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.country-opt.is-active { border-color: var(--regenerative-jade); box-shadow: 0 0 0 2px rgba(27,156,120,.22); }
.country-opt .co-check { margin-left: auto; width: 18px; height: 18px; color: var(--regenerative-jade); opacity: 0; }
.country-opt.is-active .co-check { opacity: 1; }
.agegate-actions { display: grid; gap: 10px; }
.agegate-foot { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .05em; color: var(--ink-muted); margin-top: var(--sp-3); }
.agegate-restricted h1 { margin-bottom: 8px; }
.agegate-restricted p { color: var(--ink-soft); text-align: center; }

/* ---------- cart drawer ---------- */
.cart-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(18,59,54,.5); opacity: 0; visibility: hidden; transition: opacity var(--t-progress) var(--ease), visibility var(--t-progress) var(--ease); }
.cart-backdrop.is-open { opacity: 1; visibility: visible; }
.cart {
  position: fixed; top: 0; right: 0; z-index: 100; height: 100dvh; width: min(420px, 100vw);
  background: var(--warm-bone); box-shadow: var(--sh-lg); transform: translateX(100%);
  transition: transform var(--t-progress) var(--ease); display: flex; flex-direction: column;
}
.cart.is-open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-4); border-bottom: 1px solid var(--line); }
.cart-head strong { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--genomic-teal); }
.cart-close { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; font-size: 1.6rem; color: var(--ink-soft); line-height: 1; }
.cart-close:hover { background: rgba(18,59,54,.06); }
.cart-items { flex: 1; overflow-y: auto; padding: var(--sp-3) var(--sp-4); display: flex; flex-direction: column; gap: 14px; }
.cart-empty { text-align: center; color: var(--ink-muted); padding: var(--sp-7) var(--sp-3); }
.cart-empty svg { width: 44px; height: 44px; color: var(--line-mist); margin: 0 auto var(--sp-3); }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }
.cart-line-media { width: 64px; height: 64px; border-radius: var(--r-sm); overflow: hidden; background: var(--cool-mist); }
.cart-line-media .pv, .cart-line-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-name { font-weight: 700; font-size: .92rem; color: var(--genomic-teal); }
.cart-line-sub { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-muted); }
.cart-qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; border: 1px solid var(--line-mist); border-radius: 999px; }
.cart-qty button { width: 36px; height: 36px; display: grid; place-items: center; color: var(--genomic-teal); font-size: 1.1rem; }
.cart-qty span { min-width: 24px; text-align: center; font-family: var(--font-mono); font-size: .82rem; }
.cart-line-end { text-align: right; display: grid; gap: 6px; }
.cart-line-price { font-family: var(--font-mono); font-weight: 600; font-size: .92rem; }
.cart-remove { font-size: .74rem; color: var(--ink-muted); text-decoration: underline; }
.cart-remove:hover { color: #b5462f; }
.cart-foot { border-top: 1px solid var(--line); padding: var(--sp-4); display: grid; gap: 12px; padding-bottom: calc(var(--sp-4) + env(safe-area-inset-bottom, 0px)); }
.cart-subtotal { display: flex; align-items: baseline; justify-content: space-between; }
.cart-subtotal b { font-family: var(--font-mono); font-size: 1.2rem; color: var(--ink); }
.cart-note { font-size: .78rem; color: var(--ink-muted); }

/* ---------- mobile sticky CTA (PDP) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(244,240,231,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); transform: translateY(120%);
  transition: transform var(--t-progress) var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta-info { display: grid; gap: 1px; }
.sticky-cta-name { font-weight: 700; font-size: .9rem; color: var(--genomic-teal); }
.sticky-cta-price { font-family: var(--font-mono); font-size: .82rem; color: var(--ink); }
.sticky-cta .btn { margin-left: auto; flex: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; display: none; place-items: center; padding: 24px; background: rgba(18,59,54,.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox.is-open { display: grid; }
.lightbox-inner { max-width: 900px; width: 100%; max-height: 90dvh; background: var(--warm-bone); border-radius: var(--r-md); overflow: hidden; position: relative; }
.lightbox-inner img, .lightbox-inner .pv { width: 100%; height: 100%; max-height: 90dvh; object-fit: contain; background: var(--warm-bone); }
.lightbox-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 999px; background: var(--warm-bone); color: var(--genomic-teal); display: grid; place-items: center; font-size: 1.5rem; box-shadow: var(--sh-sm); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 180;
  background: var(--genomic-teal); color: var(--warm-bone); padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: .9rem; box-shadow: var(--sh-lg); transition: transform var(--t-progress) var(--ease); max-width: calc(100vw - 32px);
}
.toast.is-visible { transform: translate(-50%, 0); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: var(--sp-8) 20px; }
.notfound h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 8vw, 4rem); color: var(--genomic-teal); }
.notfound p { color: var(--ink-soft); margin: var(--sp-3) auto var(--sp-4); max-width: 44ch; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (min-width: 700px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-band { grid-template-columns: repeat(4, 1fr); }
  .related-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-tiles { grid-template-columns: repeat(4, 1fr); }
  .cat-tile { aspect-ratio: 2.3 / 1; }
  .featured { grid-template-columns: repeat(2, 1fr); }
  .lineup-track { grid-auto-columns: 42%; }
  .review-track { grid-auto-columns: 46%; }
}

@media (min-width: 768px) {
  :root { --header-h: 74px; }
  .wrap { padding-inline: 32px; }
  .header { padding: 12px 32px; }
  .lineup-track { margin: 0 -32px; padding-inline: 32px; }
  .review-track { margin: 0 -32px; padding-inline: 32px; }
  .brand-mark { width: 38px; height: 42px; }
  .brand-word { font-size: 1.65rem; }
  .agegate h1 { font-size: 2.1rem; }
  .labverify { grid-template-columns: auto 1fr; column-gap: var(--sp-6); }
  .foot-grid { grid-template-columns: 1fr 1.5fr; gap: var(--sp-6); align-items: start; }
}

@media (min-width: 900px) {
  .header-nav { display: flex; }
  .hero { padding: var(--sp-4) 0 var(--sp-3); }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .lineup-arrows { display: flex; }
  .lineup-track { grid-auto-columns: 30%; }
  .review-track { grid-auto-columns: 31%; }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(4, 1fr); }

  /* PDP two-column */
  .detail { grid-template-columns: 1.1fr .9fr; gap: var(--sp-6); align-items: start; }
  /* gallery stacks: main image with a thumbnail row beneath */
  .info-card { position: sticky; top: calc(var(--header-h) + 20px); }
  .tabs { max-width: 560px; }
}

@media (min-width: 1024px) {
  .catalog-grid { grid-template-columns: repeat(4, 1fr); }
  .lineup-track { grid-auto-columns: 23.5%; }
}

/* small phones */
@media (max-width: 360px) {
  body { font-size: 1.06rem; }
  .country-toggle { grid-template-columns: 1fr; }
  .feat-copy strong { font-size: 1.45rem; }
}

/* hide mobile sticky on desktop */
@media (min-width: 900px) { .sticky-cta { display: none !important; } }

/* ---------- gate pre-paint state (set synchronously by inline head script) ---------- */
html.ng-lock, html.ng-lock body { overflow: hidden; }
html.ng-ok .agegate { display: none; }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), var(--sh-sm); }

/* reference-parity: header consultation CTA (white pill, teal text) + heading-only hero */
.consult-cta { background: #fff; color: var(--genomic-teal); border-color: var(--line-mist); box-shadow: var(--sh-sm); }
.consult-cta:hover { background: #fff; color: var(--genomic-teal); border-color: var(--genomic-teal); }
.consult-cta svg { color: var(--regenerative-jade); }
.consult-cta .cart-count { background: var(--regenerative-jade); color: var(--near-black); }
.hero-title { max-width: 18ch; }

/* Source photography is graded cooler; shift the webp imagery toward the
   Nuragen teal-green so cards read on-brand green. */
img[src$=".webp"] { filter: hue-rotate(-48deg) saturate(1.12); }
@media (max-width: 560px) {
  .consult-cta .consult-label { display: none; }
  .consult-cta { padding: 11px; }
}

/* PDP purchase panel (light-green) */
.buy-panel { background: var(--cool-mist); border-radius: var(--r-md); padding: var(--sp-4); margin: var(--sp-4) 0 var(--sp-3); }
.buy-panel .info-price-row { margin: 0 0 var(--sp-3); }
.buy-panel .variants { margin: 0 0 var(--sp-3); }
.buy-panel .stock { margin-bottom: 10px; }
.buy-panel .deliver { margin: 10px 0 0; }
