/* Helios Research — storefront styles. No build step. */
:root {
  --navy: #00276A;
  --blue: #0061F3;
  --blue-dark: #004fcc;
  --ink: #0b1b3a;
  --text: #24324d;
  --muted: #5a6b87;
  --line: #e1e8f2;
  --surface: #f4f7fb;
  --surface-2: #eaf1fb;
  --white: #fff;
  --ok: #0c7a4d;
  --warn: #b25a00;
  --err: #c0262d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 39, 106, .08);
  --shadow-lg: 0 24px 60px rgba(0, 39, 106, .18);
  --wrap: 1200px;
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--white);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(0, 97, 243, .55); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }

/* Age gate: nothing behind it is visible or interactable until it is passed. */
html.age-pending { overflow: hidden; }
html.age-pending body > *:not(.age-gate) { visibility: hidden; }

/* ---------- buttons / pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none !important;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0, 97, 243, .25); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #001c4d; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.link-arrow { font-weight: 600; color: var(--navy); }
.link-arrow::after { content: ' →'; }
.pill {
  display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; font-size: .85rem;
}
button.pill:hover { border-color: var(--blue); }
.pill[aria-pressed="true"], .pill.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.badge-soft { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--navy); font-size: .72rem; font-weight: 700; }
.badge-out { background: #fdecec; color: var(--err); }

/* ---------- announcement + header ---------- */
.announce { background: var(--navy); color: #fff; text-align: center; font-size: .8rem; font-weight: 500; padding: 8px 16px; letter-spacing: .02em; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.brand-sub { font-size: .62rem; font-weight: 700; letter-spacing: .32em; color: var(--blue); text-transform: uppercase; margin-left: 10px; align-self: flex-end; padding-bottom: 9px; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: static; display: flex; align-items: center; min-height: 76px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  background: none; border: 0; font-weight: 600; font-size: .92rem; color: var(--navy); text-decoration: none !important;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { background: var(--surface); color: var(--blue); }
.caret { width: 10px; height: 10px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn {
  position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 0; background: none; color: var(--navy);
}
.icon-btn:hover { background: var(--surface); color: var(--blue); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--blue); color: #fff; font-size: .7rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; }

/* dropdown panels */
.dropdown { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.dropdown.narrow { left: 0; right: auto; min-width: 230px; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); padding: 10px; }
.nav-item.has-menu.narrow-parent { position: relative; }
.nav-item.open > .dropdown { display: block; }
.mega-inner { display: grid; grid-template-columns: 2.1fr 1fr 1fr 1fr; gap: 28px; padding: 28px 24px 30px; max-height: calc(100vh - 140px); overflow: auto; }
.mega-col h4 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.mega-col h4 a { color: var(--blue); }
.mega-col ul { list-style: none; margin: 0 0 18px; padding: 0; }
.mega-col.wide ul { columns: 3; column-gap: 20px; }
.mega-col li { break-inside: avoid; }
.mega-col li a { display: block; padding: 4px 0; color: var(--text); font-size: .86rem; font-weight: 500; }
.mega-col li a:hover { color: var(--blue); text-decoration: none; }
.mega-col .view-all { font-weight: 700; color: var(--navy); }
.dropdown.narrow a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--navy); font-weight: 600; font-size: .9rem; }
.dropdown.narrow a:hover { background: var(--surface); text-decoration: none; }
.search-bar { display: none; border-top: 1px solid var(--line); background: #fff; padding: 14px 0; }
.search-bar.open { display: block; }
.search-bar form { display: flex; gap: 10px; }
.input, .select, .textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 97, 243, .12); }
.input.pill-input { border-radius: 999px; padding-left: 20px; }
.textarea { min-height: 130px; resize: vertical; }

@media (max-width: 960px) {
  .header-row { min-height: 64px; gap: 8px; }
  .brand img { height: 38px; }
  .brand-sub { display: none; }
  .nav-toggle { display: inline-flex; order: 3; }
  .header-actions { margin-left: auto; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 100px); overflow: auto; padding: 8px 16px 20px; }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); display: block; min-height: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 6px; border-radius: 0; font-size: 1rem; }
  .nav-link:hover, .nav-link[aria-expanded="true"] { background: none; }
  .dropdown, .dropdown.narrow { position: static; box-shadow: none; border: 0; padding: 0 0 12px; min-width: 0; }
  .mega-inner { display: block; padding: 0 6px; max-height: none; }
  .mega-col.wide ul { columns: 2; }
  .mega-col ul { margin-bottom: 14px; }
  .mega-col li a { padding: 7px 0; font-size: .92rem; }
}
@media (max-width: 420px) { .wrap { padding: 0 16px; } }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--surface); }
.section.tight { padding: 56px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.eyebrow .num { color: var(--navy); }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--blue); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.two-tone span { color: var(--blue); }
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g-4 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-3, .g-2 { grid-template-columns: 1fr; } .section { padding: 56px 0; } }
@media (max-width: 440px) { .g-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--surface-2); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card .ico svg { width: 24px; height: 24px; }
.card .k { font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--blue); text-transform: uppercase; margin-bottom: 10px; display: block; }

/* hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--surface) 100%); padding: 72px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 480px; width: 100%; margin-left: auto; }
.hero-visual .orb { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff 0%, #dbe8ff 45%, #b9d2ff 100%); box-shadow: inset 0 0 60px rgba(0, 97, 243, .18); }
.hero-visual .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(0, 97, 243, .35); animation: spin 60s linear infinite; }
.hero-visual .ring.r2 { inset: 14%; border-style: solid; border-color: rgba(0, 39, 106, .12); animation: none; }
.hero-visual img.mark { position: absolute; left: 50%; top: 50%; height: 58%; width: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 30px rgba(0, 39, 106, .25)); }
.hero-visual .chip { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: .78rem; font-weight: 700; color: var(--navy); box-shadow: var(--shadow); white-space: nowrap; }
.hero-visual .chip::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-right: 8px; }
.hero-visual .c1 { top: 12%; left: -2%; } .hero-visual .c2 { top: 46%; right: -4%; } .hero-visual .c3 { bottom: 10%; left: 6%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-visual .ring { animation: none; } html { scroll-behavior: auto; } }
.stat-strip { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; }
.stat { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat span { font-size: .82rem; color: var(--muted); font-weight: 500; }
@media (max-width: 900px) {
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 320px; margin: 0 auto; }
  .hero-visual .c1 { left: -4%; } .hero-visual .c2 { right: -6%; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat { padding: 18px 16px; } .stat b { font-size: 1.35rem; }
}
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, #013a9c 60%, var(--blue) 130%); color: #fff; padding: 56px 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 640px; margin: 0; }
.page-hero .eyebrow { color: #9cc4ff; } .page-hero .eyebrow::before { background: #9cc4ff; }
.crumbs { font-size: .82rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }

/* benefits strip */
.benefits { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.benefit { padding: 24px 18px; border-right: 1px solid var(--line); text-align: center; }
.benefit:last-child { border-right: 0; }
.benefit svg { width: 28px; height: 28px; color: var(--blue); margin: 0 auto 12px; }
.benefit b { display: block; color: var(--navy); font-size: .9rem; line-height: 1.3; margin-bottom: 4px; }
.benefit span { font-size: .78rem; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 1000px) { .benefits { grid-template-columns: repeat(3, 1fr); } .benefit:nth-child(3) { border-right: 0; } .benefit:nth-child(-n+3) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .benefits { grid-template-columns: repeat(2, 1fr); } .benefit { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); } .benefit:nth-child(2n) { border-right: 0 !important; } .benefit:nth-last-child(-n+2) { border-bottom: 0; } }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; position: relative; }
.timeline::before { content: ''; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--line); }
.timeline li { position: relative; counter-increment: step; padding-top: 62px; }
.timeline li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; border: 4px solid var(--surface); }
.timeline h3 { font-size: 1rem; margin-bottom: 6px; }
.timeline p { font-size: .88rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .timeline li { padding: 0 0 0 66px; min-height: 46px; }
}

/* purity explainer */
.grade { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grade-panel { background: var(--navy); color: #fff; border-radius: 24px; padding: 36px; }
.grade-panel h3 { color: #fff; }
.bar-row { margin-top: 18px; }
.bar-row .lbl { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: rgba(255, 255, 255, .85); }
.bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #5aa2ff, #fff); }
.grade-panel .note { font-size: .78rem; color: rgba(255, 255, 255, .7); margin: 20px 0 0; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { position: relative; padding: 0 0 12px 30px; color: var(--text); }
.checklist li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230061F3' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
@media (max-width: 860px) { .grade { grid-template-columns: 1fr; gap: 28px; } .grade-panel { padding: 26px; } }

/* accordion */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; background: none; border: 0; padding: 22px 4px; font-weight: 600; font-size: 1.02rem; color: var(--navy); }
.acc-btn:hover { color: var(--blue); }
.acc-btn .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: transform .2s, background .2s; }
.acc-btn .plus::before, .acc-btn .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); }
.acc-btn .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s; }
.acc-btn[aria-expanded="true"] .plus { background: var(--surface-2); transform: rotate(180deg); }
.acc-btn[aria-expanded="true"] .plus::after { opacity: 0; }
.acc-panel { padding: 0 44px 22px 4px; color: var(--muted); }
.acc-panel p:last-child { margin-bottom: 0; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; gap: 20px; } }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), #013a9c 70%, var(--blue) 140%); color: #fff; border-radius: 28px; padding: 56px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 520px; }
@media (max-width: 640px) { .cta-band { padding: 36px 24px; border-radius: 20px; } }

/* ---------- product cards ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.products.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .products { grid-template-columns: repeat(3, 1fr); } .products.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .products, .products.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 400px) { .products, .products.cols-3 { grid-template-columns: 1fr; } }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #c9d8ee; }
.pcard-media { display: block; background: var(--surface); aspect-ratio: 1 / 1; position: relative; }
.pcard-media img, .pcard-media svg { width: 100%; height: 100%; object-fit: cover; }
.pcard-media .badge-soft { position: absolute; left: 12px; top: 12px; }
.pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-name { font-weight: 700; color: var(--navy); font-size: 1rem; line-height: 1.3; }
.pcard-name:hover { color: var(--blue); text-decoration: none; }
.pcard-size { font-size: .8rem; color: var(--muted); font-weight: 500; }
.pcard-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.price small { font-weight: 600; color: var(--muted); font-size: .75rem; }
@media (max-width: 760px) { .pcard-body { padding: 12px; } .pcard-foot .btn { width: 100%; } }

/* ---------- catalog ---------- */
.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.cat-side { position: sticky; top: 100px; }
.cat-side h2 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.cat-side ul { list-style: none; margin: 0; padding: 0; }
.cat-side button { width: 100%; display: flex; justify-content: space-between; gap: 10px; background: none; border: 0; padding: 10px 12px; border-radius: 10px; font-weight: 600; color: var(--navy); text-align: left; font-size: .92rem; }
.cat-side button:hover { background: var(--surface); }
.cat-side button[aria-pressed="true"] { background: var(--surface-2); color: var(--blue); }
.cat-side button span { color: var(--muted); font-weight: 500; }
.side-note { margin-top: 24px; padding: 18px; background: var(--surface); border-radius: var(--radius); font-size: .82rem; color: var(--muted); }
.side-note b { color: var(--navy); display: block; margin-bottom: 4px; }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .search { flex: 1; min-width: 200px; position: relative; }
.toolbar .search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.toolbar .search .input { padding-left: 44px; border-radius: 999px; }
.toolbar .select { width: auto; border-radius: 999px; padding-right: 36px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.result-count { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.empty { text-align: center; padding: 60px 20px; background: var(--surface); border-radius: var(--radius); color: var(--muted); }
@media (max-width: 900px) { .catalog-layout { grid-template-columns: 1fr; gap: 0; } .cat-side { display: none; } }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 28px 0 64px; align-items: start; }
.pdp-media { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; aspect-ratio: 1 / 1; position: sticky; top: 100px; }
.pdp-media img, .pdp-media svg { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 6px 0 8px; }
.pdp-price { font-size: 1.9rem; font-weight: 800; color: var(--navy); margin: 14px 0 4px; }
.pdp-price s { font-size: 1.1rem; color: var(--muted); font-weight: 500; margin-left: 8px; }
.pdp-short { color: var(--muted); margin: 10px 0 0; }
.field-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin: 22px 0 8px; }
.variant-row { display: flex; gap: 8px; flex-wrap: wrap; }
.variant-row .pill { cursor: pointer; }
.buy-row { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 180px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 1.2rem; color: var(--navy); font-weight: 600; }
.qty button:hover { background: var(--surface); }
.qty input { width: 48px; height: 44px; border: 0; text-align: center; font-weight: 700; color: var(--navy); background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm button { width: 32px; height: 34px; } .qty.sm input { width: 38px; height: 34px; font-size: .9rem; }
.tier-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .9rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tier-table th, .tier-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.tier-table th { background: var(--surface); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tier-table tr:last-child td { border-bottom: 0; }
.tier-table tr.current td { background: var(--surface-2); font-weight: 700; color: var(--navy); }
.tier-table td:last-child, .tier-table th:last-child { text-align: right; }
.ruo { margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: #fff8ec; border: 1px solid #f3dfb8; color: #6b4a06; font-size: .82rem; }
.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 4px; margin-top: 34px; overflow-x: auto; }
.tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 16px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--blue); }
.tab-panel { padding: 22px 0 0; color: var(--text); }
.tab-panel p { white-space: pre-line; }
.spec { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec th, .spec td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 40%; color: var(--muted); font-weight: 600; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 24px; padding-top: 16px; } .pdp-media { position: static; max-width: 420px; margin: 0 auto; width: 100%; } }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0, 20, 60, .5); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100vw); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.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: 1.15rem; margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; background: var(--surface); }
.ship-meter { font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.ship-meter .bar { background: #dfe7f3; height: 6px; margin-top: 6px; }
.ship-meter .bar i { background: var(--blue); }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line:last-child { border-bottom: 0; }
.line-thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.line-thumb img, .line-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-weight: 700; color: var(--navy); font-size: .92rem; line-height: 1.3; display: block; }
.line-meta { font-size: .78rem; color: var(--muted); }
.line-tier { font-size: .74rem; font-weight: 700; color: var(--ok); }
.line-controls { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.line-remove { background: none; border: 0; color: var(--muted); font-size: .78rem; text-decoration: underline; padding: 4px; }
.line-remove:hover { color: var(--err); }
.line-total { font-weight: 700; color: var(--navy); text-align: right; white-space: nowrap; }
.line-total s { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .92rem; }
.sum-row.total { font-size: 1.15rem; font-weight: 800; color: var(--navy); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.sum-row .neg { color: var(--ok); font-weight: 600; }

/* ---------- cart / checkout page ---------- */
.checkout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: start; padding: 36px 0 72px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; }
.panel h2 { font-size: 1.2rem; margin-bottom: 4px; }
.panel .sub { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.summary { position: sticky; top: 100px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid.three { grid-template-columns: 2fr 1fr 1fr; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field .req { color: var(--err); }
.field .err-msg { display: none; color: var(--err); font-size: .78rem; margin-top: 5px; }
.field.invalid .input, .field.invalid .textarea, .field.invalid .select { border-color: var(--err); }
.field.invalid .err-msg { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; margin-top: 12px; font-size: .9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.check.invalid { border-color: var(--err); background: #fff6f6; }
.promo-row { display: flex; gap: 8px; }
.promo-row .input { text-transform: uppercase; }
.promo-msg { font-size: .82rem; margin-top: 8px; }
.promo-msg.ok { color: var(--ok); } .promo-msg.bad { color: var(--err); }
.alert { padding: 14px 16px; border-radius: 12px; font-size: .9rem; margin-bottom: 16px; }
.alert.err { background: #fdecec; color: #8f1c22; border: 1px solid #f5c6c8; }
.alert.ok { background: #e8f7ef; color: #0a5d3a; border: 1px solid #bfe6d1; }
.alert.info { background: var(--surface-2); color: var(--navy); border: 1px solid #cfe0fa; }
.no-pay { display: flex; gap: 12px; align-items: flex-start; }
.no-pay svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.confirm { max-width: 720px; margin: 0 auto; padding: 64px 0 88px; text-align: center; }
.confirm .tick { width: 76px; height: 76px; border-radius: 50%; background: #e8f7ef; color: var(--ok); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.confirm .tick svg { width: 38px; height: 38px; }
.confirm .ordno { display: inline-block; font-size: 1.5rem; font-weight: 800; color: var(--navy); background: var(--surface-2); padding: 10px 26px; border-radius: 999px; margin: 8px 0 22px; letter-spacing: .04em; }
.confirm .panel { text-align: left; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 560px) { .form-grid, .form-grid.three { grid-template-columns: 1fr; } .panel { padding: 20px 16px; } .line { grid-template-columns: 52px 1fr auto; } .line-thumb { width: 52px; height: 52px; } }

/* ---------- prose pages ---------- */
.prose { max-width: 800px; padding: 48px 0 80px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: 48px 0 80px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 64px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 48px; width: auto; margin-bottom: 16px; }
.site-footer h3 { color: #fff; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.disclaimer { margin-top: 44px; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); font-size: .8rem; line-height: 1.6; color: rgba(255, 255, 255, .7); }
.disclaimer b { color: #fff; }
.footer-bottom { margin-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- modals: age gate + promo ---------- */
.age-gate { position: fixed; inset: 0; z-index: 1000; background: linear-gradient(135deg, #001a47, var(--navy) 55%, #013a9c); display: flex; align-items: center; justify-content: center; padding: 20px; overflow: auto; visibility: visible; }
.age-card { background: #fff; border-radius: 24px; padding: 40px 36px; max-width: 460px; width: 100%; text-align: center; box-shadow: var(--shadow-lg); }
.age-card img { height: 56px; width: auto; margin: 0 auto 22px; }
.age-card h1 { font-size: 1.7rem; margin-bottom: 10px; }
.age-card p { color: var(--muted); font-size: .92rem; }
.age-actions { display: flex; gap: 12px; margin-top: 24px; }
.age-actions .btn { flex: 1; }
.age-card .fine { font-size: .74rem; margin: 20px 0 0; }
@media (max-width: 420px) { .age-card { padding: 30px 20px; } .age-actions { flex-direction: column; } }
.promo-pop { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 20, 60, .55); }
.promo-card { position: relative; background: #fff; border-radius: 24px; max-width: 440px; width: 100%; overflow: hidden; box-shadow: var(--shadow-lg); text-align: center; }
.promo-top { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; padding: 34px 28px 28px; }
.promo-top .big { font-size: 3.4rem; font-weight: 800; line-height: 1; }
.promo-top h2 { color: #fff; font-size: 1.25rem; margin: 10px 0 0; }
.promo-bottom { padding: 24px 28px 28px; }
.promo-code { display: inline-block; border: 2px dashed var(--blue); color: var(--navy); font-weight: 800; letter-spacing: .14em; font-size: 1.25rem; padding: 10px 22px; border-radius: 12px; background: var(--surface); margin-bottom: 12px; }
.promo-bottom p { font-size: .86rem; color: var(--muted); }
.promo-close { position: absolute; top: 10px; right: 10px; color: #fff; background: rgba(255, 255, 255, .16); }
.promo-close:hover { background: rgba(255, 255, 255, .3); color: #fff; }
.promo-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: .88rem; font-weight: 600; z-index: 300; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* grid children must be allowed to shrink below their content width on narrow screens */
.checkout > *, .catalog-layout > *, .pdp > *, .contact-grid > *, .grade > *, .hero-grid > *, .faq-layout > *, .line > *, .form-grid > * { min-width: 0; }
.line-name, .pcard-name, .pdp h1 { overflow-wrap: anywhere; }
