/* BioRelix — site.css
   Design system for the homepage, area pages and price list.
   Light, editorial, clinical. Newsreader (display) + DM Sans (body). */

:root {
  --ink: oklch(23% 0.025 230);
  --ink-2: oklch(41% 0.02 230);
  --ink-3: oklch(56% 0.015 230);
  --paper: oklch(98.6% 0.005 90);
  --paper-2: oklch(96.4% 0.009 95);
  --sand: oklch(93.5% 0.014 90);
  --sage: oklch(93% 0.028 150);
  --sage-ink: oklch(38% 0.05 160);
  --line: oklch(90.5% 0.01 90);
  --line-2: oklch(84% 0.012 90);
  --brand: oklch(44% 0.08 228);       /* #1B5F7A logo teal */
  --brand-2: oklch(36% 0.07 228);
  --brand-soft: oklch(95% 0.02 228);
  --ok: oklch(55% 0.13 155);
  --wa: #1fa855;
  --wa-2: #178a45;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px oklch(20% 0.02 230 / .06), 0 8px 24px -12px oklch(20% 0.02 230 / .18);
  --shadow-lg: 0 24px 60px -20px oklch(20% 0.03 230 / .35);
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ── Type ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px oklch(55% 0.13 155 / .15); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; line-height: 1.08; color: var(--ink); }
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4.2vw, 48px); }
h3 { font-size: 22px; line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--brand); }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--ink-3); }
.prose p + p { margin-top: 14px; }
.prose a, .faq a, .link { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover, .faq a:hover, .link:hover { color: var(--brand-2); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-2); }
.btn-block { width: 100%; }

/* ── Announcement ── */
.announce {
  background: var(--ink); color: oklch(92% 0.01 90);
  font-size: 13px; text-align: center; padding: 9px var(--gutter);
}
.announce strong { color: #fff; font-weight: 600; }
.announce a { color: #fff; text-underline-offset: 3px; }
.ref-banner { background: var(--brand); color: #fff; font-size: 13px; text-align: center; padding: 9px var(--gutter); }

/* ── Header ── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: oklch(98.6% 0.005 90 / .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 28px; height: 34px; object-fit: contain; }
.brand span { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.main-nav { display: none; gap: 4px; margin-left: 12px; }
.main-nav a { padding: 8px 12px; border-radius: 8px; font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
.main-nav a:hover { color: var(--ink); background: var(--paper-2); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  text-decoration: none;
}
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
  display: none; align-items: center; justify-content: center; line-height: 1;
}
.cart-count.on { display: inline-flex; }
.head-wa { display: none; }
.menu-btn { display: inline-flex; }
@media (min-width: 960px) {
  .main-nav { display: flex; }
  .head-wa { display: inline-flex; min-height: 44px; padding: 0 18px; font-size: 14px; }
  .menu-btn { display: none; }
}

/* Mobile menu */
.mnav { position: fixed; inset: 0; z-index: 90; display: none; }
.mnav.open { display: block; }
.mnav-bg { position: absolute; inset: 0; background: oklch(20% 0.02 230 / .45); }
.mnav-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
  background: var(--paper); padding: 20px 24px 32px; overflow-y: auto;
  animation: slideIn .25s ease-out;
}
.mnav-panel nav { display: grid; margin-top: 12px; }
.mnav-panel nav a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 24px; }
.mnav-panel .btn { margin-top: 24px; }
.mnav-close { margin-left: auto; display: flex; }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Hero ── */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-media { position: relative; border-radius: 22px; overflow: hidden; background: var(--sage); aspect-ratio: 4 / 3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-chip {
  position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 330px;
  background: oklch(99% 0.004 90 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow);
  display: flex; gap: 12px; align-items: center; text-decoration: none;
}
.hero-chip .seal { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.hero-chip .seal svg { width: 20px; height: 20px; }
.hero-chip strong { display: block; font-size: 14px; }
.hero-chip span { font-size: 13px; color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 36px; }
.stat { background: var(--paper); padding: 16px 18px; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--ink-3); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .hero-media { aspect-ratio: 5 / 6; }
}

/* ── Trust strip ── */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; padding: 20px 0; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.trust svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(5, auto); justify-content: space-between; } }

/* ── Sections ── */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--ink); color: var(--paper); }
.section.dark h2, .section.dark h3 { color: var(--paper); }
.section.dark .lede, .section.dark .muted { color: oklch(80% 0.01 90); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.sec-head.row { max-width: none; }
@media (min-width: 900px) {
  .sec-head.row { grid-template-columns: 1fr auto; align-items: end; }
}

/* ── Shop toolbar ── */
.shop-bar {
  position: sticky; top: 70px; z-index: 20; background: var(--paper);
  padding: 12px 0; margin-bottom: 20px; border-bottom: 1px solid var(--line);
  display: grid; gap: 12px;
}
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--white); font-size: 14px; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px;
}
.chip small { font-size: 12px; color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] small { color: oklch(80% 0.01 90); }
.search { position: relative; }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); }
.search input {
  width: 100%; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white);
  padding: 0 18px 0 44px; font-size: 15px; outline: none;
}
.search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
@media (min-width: 900px) {
  .shop-bar { grid-template-columns: 1fr 300px; align-items: center; }
  .chips { margin: 0; padding: 0; flex-wrap: wrap; overflow: visible; }
}

/* ── Product grid ── */
.cat-block { margin-bottom: 44px; }
.cat-block[hidden] { display: none; }
.cat-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.cat-title h3 { font-size: 26px; }
.cat-title p { font-size: 14px; color: var(--ink-3); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card[hidden] { display: none; }
.card-media { position: relative; display: block; background: oklch(97.5% 0.003 250); aspect-ratio: 1 / 1; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 6% 14%; transition: transform .4s; mix-blend-mode: multiply; }
.card:hover .card-media img { transform: scale(1.04); }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 4px 9px; border-radius: 999px;
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
}
.badge.hot { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 16px; flex: 1; }
.card-spec { font-size: 12px; color: var(--ink-3); line-height: 1.35; min-height: 2.7em; }
.card-name { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: -.005em; line-height: 1.25; }
.card-name a { text-decoration: none; }
.card-name a:hover { color: var(--brand); }
.card-name .dose { font-weight: 500; color: var(--ink-3); }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { font-weight: 700; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.per-mg { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.add {
  flex: none; height: 40px; min-width: 40px; padding: 0 14px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.add:hover { background: var(--brand-2); }
.add svg { width: 16px; height: 16px; }
.stepper { display: inline-flex; align-items: center; height: 40px; border-radius: 999px; border: 1px solid var(--ink); overflow: hidden; }
.stepper button { width: 36px; height: 100%; font-size: 18px; line-height: 1; }
.stepper button:hover { background: var(--paper-2); }
.stepper output { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.quick { font-size: 12.5px; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-align: left; margin-top: 2px; width: fit-content; }
@media (max-width: 420px) {
  .card-body { padding: 12px 12px 14px; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .add, .stepper { width: 100%; }
  .stepper { justify-content: space-between; }
}
.no-results { display: none; padding: 32px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-2); }
.no-results.on { display: block; }

/* ── Feature split ── */
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-media { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.flip .split-media { order: 2; }
}
.ticks { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--ink-2); }
.ticks li strong { color: var(--ink); }
.ticks svg { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.split .btn { margin-top: 28px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { margin-top: 28px; }

/* ── Timeline ── */
.timeline { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 28px; }
.timeline li { background: var(--paper); padding: 16px 18px; display: grid; grid-template-columns: 74px 1fr; gap: 12px; }
.section.alt .timeline li { background: var(--paper-2); }
.timeline b { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--brand); }
.timeline span { color: var(--ink-2); font-size: 15px; }

/* ── Areas ── */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1080px) { .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.area {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff;
  aspect-ratio: 4 / 3; background: var(--ink);
}
.area img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.area:hover img { transform: scale(1.05); }
.area::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, oklch(15% 0.02 230 / .78)); }
.area-txt { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; }
.area-txt strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.1; }
.area-txt span { font-size: 12.5px; opacity: .9; }
.area-note { margin-top: 20px; font-size: 14px; color: var(--ink-3); }
.pill-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill-links a { font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; background: var(--white); }
.pill-links a:hover { border-color: var(--ink); }

/* ── Steps ── */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 26px; border-radius: var(--radius); border: 1px solid oklch(40% 0.02 230); }
.step b { font-family: var(--serif); font-size: 15px; color: oklch(75% 0.06 228); font-weight: 500; }
.step h3 { margin: 12px 0 8px; font-size: 24px; }
.step p { color: oklch(82% 0.01 90); font-size: 15px; }

/* ── Library ── */
.lib { display: grid; gap: 12px; }
@media (min-width: 720px) { .lib { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .lib { grid-template-columns: repeat(3, 1fr); } }
.lib a {
  display: grid; gap: 6px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--white); text-decoration: none; transition: border-color .2s, transform .2s;
}
.lib a:hover { border-color: var(--ink); }
.lib small { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.lib strong { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.2; }
.lib span { font-size: 14px; color: var(--ink-2); }

/* ── FAQ ── */
.faq-grid { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 360px 1fr; } .faq-grid .sec-head { position: sticky; top: 100px; align-self: start; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 16.5px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.6px solid var(--ink-2); border-bottom: 1.6px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .ans { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }

/* ── CTA band ── */
.cta-band { display: grid; gap: 20px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 24px; background: var(--sage); }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ── Footer ── */
.site-foot { background: var(--ink); color: oklch(82% 0.01 90); padding: 64px 0 28px; font-size: 14.5px; }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .foot-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.foot-brand .brand span { color: #fff; }
.foot-brand .brand img { filter: brightness(0) invert(1); }
.foot-brand p { margin-top: 16px; max-width: 34ch; }
.foot-col h4 { color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.foot-col ul { list-style: none; display: grid; gap: 8px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.compliance { margin-top: 44px; padding: 18px 20px; border: 1px solid oklch(38% 0.02 230); border-radius: var(--radius); font-size: 13px; line-height: 1.6; }
.foot-bottom { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 13px; color: oklch(68% 0.01 90); }
.foot-bottom a { text-decoration: none; }

/* ── Cart drawer ── */
.drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: oklch(20% 0.02 230 / .45); animation: fade .2s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw);
  background: var(--paper); display: flex; flex-direction: column; animation: slideIn .25s ease-out;
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 26px; }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 64px; object-fit: contain; background: oklch(97.5% 0.003 250); border-radius: 10px; mix-blend-mode: multiply; }
.line-name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.line-price { font-size: 13.5px; color: var(--ink-3); }
.line .stepper { height: 34px; }
.line .stepper button { width: 30px; }
.drawer-empty { padding: 48px 8px; text-align: center; color: var(--ink-2); }
.drawer-empty .btn { margin-top: 18px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--paper-2); }
.sum-row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.sum-row.total { font-size: 18px; font-weight: 700; margin: 10px 0 4px; }
.sum-row .disc { color: var(--ok); }
.drawer-note { font-size: 12.5px; color: var(--ink-3); margin: 8px 0 14px; }
.drawer-alt { display: block; text-align: center; font-size: 13px; margin-top: 12px; color: var(--ink-2); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Mobile sticky cart bar */
.cartbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--ink); color: var(--paper);
  box-shadow: var(--shadow-lg); transform: translateY(140%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s;
  max-width: 560px; margin: 0 auto;
}
.cartbar.on { transform: none; visibility: visible; transition: transform .3s ease; }
.cartbar-txt { font-size: 14px; }
.cartbar-txt strong { font-size: 15px; }
.cartbar .btn { min-height: 44px; padding: 0 18px; background: var(--wa); color: #fff; }
.cartbar .btn:hover { background: var(--wa-2); }

/* ── Modals (quick view, gate) ── */
.modal { position: fixed; inset: 0; z-index: 110; display: none; align-items: flex-end; justify-content: center; padding: 0; }
.modal.open { display: flex; }
.modal-bg { position: absolute; inset: 0; background: oklch(20% 0.02 230 / .5); animation: fade .2s; }
.modal-card {
  position: relative; width: 100%; max-width: 760px; max-height: 92vh; overflow-y: auto;
  background: var(--paper); border-radius: 22px 22px 0 0; animation: rise .25s ease-out;
}
@media (min-width: 720px) { .modal { align-items: center; padding: 24px; } .modal-card { border-radius: 22px; } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 2; }
.qv { display: grid; }
@media (min-width: 720px) { .qv { grid-template-columns: 300px 1fr; } }
.qv-media { background: oklch(97.5% 0.003 250); display: grid; place-items: center; padding: 24px; }
.qv-media img { max-height: 320px; width: auto; mix-blend-mode: multiply; }
.qv-body { padding: 28px; display: grid; gap: 12px; align-content: start; }
.qv-body h2 { font-size: 32px; }
.qv-body .price { font-size: 22px; }
.qv-body p { color: var(--ink-2); font-size: 15px; }
.qv-meta { list-style: none; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 14px; }
.qv-meta li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.qv-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

.gate .modal-card { max-width: 460px; padding: 32px 26px 24px; text-align: center; }
.gate img { width: 46px; height: 58px; margin: 0 auto 14px; object-fit: contain; }
.gate h2 { font-size: 28px; margin-bottom: 10px; }
.gate p { color: var(--ink-2); font-size: 14.5px; }
.gate ul { list-style: none; display: grid; gap: 8px; text-align: left; margin: 20px 0 22px; }
.gate li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 14px; color: var(--ink-2); padding: 10px 12px; background: var(--paper-2); border-radius: 10px; }
.gate li b { color: var(--ink); }
.gate li svg { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; }
.gate .leave { display: block; margin: 12px auto 0; font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.gate small { display: block; margin-top: 14px; font-size: 11.5px; color: var(--ink-3); }

.toast {
  position: fixed; left: 50%; bottom: 84px; z-index: 120; transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-size: 14px;
  transition: opacity .25s, transform .25s; pointer-events: none;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
body.locked { overflow: hidden; }

/* ── Sub pages (area, price list) ── */
.crumbs { font-size: 13.5px; color: var(--ink-3); padding-top: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-hero { position: relative; margin-top: 18px; border-radius: 24px; overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; background: var(--ink); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(15% 0.02 230 / .1) 20%, oklch(15% 0.02 230 / .82)); }
.page-hero-txt { position: relative; z-index: 1; padding: clamp(24px, 4vw, 48px); max-width: 780px; }
.page-hero h1 { color: #fff; font-size: clamp(40px, 6vw, 68px); margin: 12px 0 14px; }
.page-hero .eyebrow { color: #fff; }
.page-hero p { color: oklch(94% 0.01 90); font-size: clamp(16px, 1.6vw, 18.5px); max-width: 60ch; }
.page-hero .hero-ctas { margin-top: 24px; }
.page-hero .btn-ghost { background: transparent; color: #fff; border-color: oklch(100% 0 0 / .5); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 24px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { background: var(--paper); padding: 18px; }
.facts small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.facts b { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; margin-top: 4px; line-height: 1.2; }
.cols { display: grid; gap: 28px; }
@media (min-width: 900px) { .cols { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.cols h3 { margin-bottom: 10px; }
.cols p { color: var(--ink-2); font-size: 15.5px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag-list li { list-style: none; font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: var(--sage); color: var(--sage-ink); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.prices { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
table.prices th, table.prices td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.prices thead th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2); font-weight: 600; }
table.prices tbody th { font-weight: 600; }
table.prices td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.prices tr.group th { background: var(--paper); font-family: var(--serif); font-size: 19px; font-weight: 500; padding-top: 22px; }
table.prices a { color: var(--brand); text-underline-offset: 3px; }
table.prices .add { height: 34px; font-size: 13px; padding: 0 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ── Product guides ── */
.guide-hero { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(20px, 4vw, 48px) 0 clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .guide-hero { grid-template-columns: 1.15fr .85fr; } }
.guide-hero h1 { font-size: clamp(40px, 5.6vw, 66px); margin: 14px 0 16px; }
.guide-hero .from { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.guide-hero .from strong { font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.guide-media { background: oklch(97.5% 0.003 250); border-radius: 22px; display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden; }
.guide-media img { width: 70%; height: auto; mix-blend-mode: multiply; }
.article { max-width: 760px; }
.article h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 56px 0 16px; }
.article h3 { font-size: 20px; margin: 22px 0 6px; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.article p { color: var(--ink-2); font-size: 17px; }
.article p + p { margin-top: 14px; }
.article a { color: var(--brand); text-underline-offset: 3px; }
.research { display: grid; gap: 4px; }
.research div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.research div:first-child { border-top: 1px solid var(--line); }
.research h3 { margin: 0 0 4px; }
.research p { font-size: 15.5px; }
table.spec { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.spec th, table.spec td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th { width: 34%; color: var(--ink-3); font-weight: 500; }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 0; }
.note { margin-top: 28px; padding: 16px 18px; border-radius: var(--radius); background: var(--sand); font-size: 14px; color: var(--ink-2); }
.grid.few { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
