/* ============================================================
   FORMULA — design system
   Clinical / minimal, inspired by The Ordinary + the Grade template
   ============================================================ */
:root{
  --bone:#EFEFED;
  --bone-2:#E9E9E6;
  --ink:#141414;
  --ink-soft:#5A5A57;
  --accent:#3A3A38;
  --accent-light:#C7C6C1;
  --line:#D4D3CE;
  --card:#F8F8F6;
  --smoke1:#2B2B2A;
  --smoke2:#5A5A58;
  --pad:56px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bone);
  color:var(--ink);
  font-family:'Archivo', system-ui, sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
a{color:inherit;}
img{max-width:100%; display:block;}
.mono{ font-family:'JetBrains Mono', ui-monospace, monospace; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 var(--pad); }

/* ---------- HEADER ---------- */
header.site{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px var(--pad);
  border-bottom:1px solid var(--line);
  position:sticky; top:0; background:var(--bone); z-index:50; gap:24px;
}
.logo{ display:flex; align-items:center; gap:10px; line-height:0.95; flex-shrink:0; text-decoration:none; }
.logo-star{ width:27px; height:27px; flex-shrink:0; align-self:flex-start; margin-top:-3px; }
.logo-text{ display:flex; flex-direction:column; }
.logo .main{ display:block; font-size:22px; font-weight:700; letter-spacing:-0.02em; }
.logo .pre{ display:block; font-size:11px; font-weight:400; color:var(--ink-soft); letter-spacing:0.16em; margin-top:3px; text-transform:uppercase; }
nav.main{ display:flex; gap:28px; flex:1; justify-content:center; flex-wrap:wrap; }
nav.main a{
  text-decoration:none; color:var(--ink); font-size:14px; font-weight:500;
  white-space:nowrap; padding-bottom:2px; border-bottom:1px solid transparent;
  transition:border-color .18s, opacity .18s;
}
nav.main a:hover{ opacity:.62; }
nav.main a.active{ border-bottom-color:var(--ink); }
.head-right{ display:flex; align-items:center; gap:16px; flex-shrink:0; }
.cart-btn{
  border:1px solid var(--ink); border-radius:999px; padding:10px 18px;
  font-size:13px; font-weight:500; background:none; cursor:pointer; color:var(--ink);
  display:inline-flex; align-items:center; gap:8px; white-space:nowrap;
  transition:background .18s, color .18s;
}
.cart-btn:hover{ background:var(--ink); color:var(--bone); }
.cart-btn .count{
  font-family:'JetBrains Mono',monospace; font-size:12px; min-width:18px; height:18px;
  display:inline-flex; align-items:center; justify-content:center;
}
.menu-toggle{ display:none; background:none; border:none; cursor:pointer; font-size:22px; }

/* search in header */
.search-wrap{ position:relative; }
.search{ position:relative; display:flex; align-items:center; }
.search input{
  font-family:'Archivo',sans-serif; font-size:13px; color:var(--ink);
  border:1px solid var(--line); background:var(--card); border-radius:999px;
  padding:9px 16px 9px 34px; width:180px; outline:none; transition:border-color .18s, width .2s;
}
.search input:focus{ border-color:var(--ink); width:220px; }
.search input::placeholder{ color:var(--ink-soft); }
.search .ico{ position:absolute; left:13px; top:50%; transform:translateY(-50%); width:13px; height:13px; opacity:.55; pointer-events:none; }

/* live search suggestions */
.suggest{ position:absolute; top:calc(100% + 8px); right:0; width:310px; max-width:82vw;
  background:var(--bone); border:1px solid var(--line); box-shadow:0 16px 40px rgba(20,20,20,0.14); z-index:60; }
.suggest[hidden]{ display:none; }
.suggest-row{ display:flex; align-items:center; gap:10px; padding:11px 14px; text-decoration:none; color:var(--ink); border-bottom:1px solid var(--line); }
.suggest-row:hover{ background:var(--card); }
.suggest-row .s-code{ font-size:11px; color:var(--ink-soft); width:46px; flex-shrink:0; }
.suggest-row .s-name{ flex:1; font-size:14px; font-weight:500; }
.suggest-row .s-price{ font-size:13px; color:var(--ink-soft); white-space:nowrap; }
.suggest-empty{ padding:16px 14px; font-size:13px; color:var(--ink-soft); }
.suggest-more{ display:block; padding:12px 14px; font-size:12.5px; letter-spacing:0.02em; text-decoration:none; color:var(--ink); background:var(--card); font-weight:600; }
.suggest-more:hover{ background:var(--accent-light); }

/* full search page */
.search-hero{ max-width:1180px; margin:0 auto; padding:34px var(--pad) 0; }
.search-hero input{
  width:100%; font-family:'Archivo',sans-serif; font-size:22px; color:var(--ink);
  border:none; border-bottom:1px solid var(--ink); background:none; padding:12px 4px; outline:none;
}
.search-hero input::placeholder{ color:var(--accent-light); }
.search-count{ font-size:12px; color:var(--ink-soft); letter-spacing:0.05em; margin-top:14px; }
.search-empty{ color:var(--ink-soft); font-size:15px; padding:40px 0; }

/* ---------- HERO ---------- */
.hero{
  display:flex; align-items:center; min-height:560px;
  padding:0 var(--pad); overflow:hidden; position:relative;
}
.hero-left{ flex:1; max-width:480px; z-index:2; padding:64px 0; }
.eyebrow{
  font-size:12px; letter-spacing:0.16em; text-transform:uppercase; color:var(--accent);
  margin-bottom:22px; display:inline-flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:24px; height:1px; background:var(--accent); display:inline-block; }
.hero-left h1{ font-size:44px; font-weight:700; line-height:1.1; letter-spacing:-0.02em; margin-bottom:22px; }
.hero-left p{ font-size:16px; line-height:1.65; color:var(--ink-soft); margin-bottom:34px; max-width:420px; }
.btn-dark{
  display:inline-block; background:var(--ink); color:var(--bone); padding:14px 34px;
  font-size:13px; letter-spacing:0.08em; text-transform:uppercase; text-decoration:none;
  border:1px solid var(--ink); cursor:pointer; transition:opacity .18s;
}
.btn-dark:hover{ opacity:.85; }
.btn-outline{
  display:inline-block; background:none; color:var(--ink); padding:14px 34px;
  font-size:13px; letter-spacing:0.08em; text-transform:uppercase; text-decoration:none;
  border:1px solid var(--ink); cursor:pointer; transition:background .18s,color .18s;
}
.btn-outline:hover{ background:var(--ink); color:var(--bone); }

.hero-right{ flex:1; position:relative; display:flex; align-items:center; justify-content:center; height:600px; }
.hero-circle{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:560px; height:560px; border-radius:50%; overflow:hidden;
  background:radial-gradient(circle at 42% 36%, #ECEBE8 0%, #E0DFDB 55%, #D2D1CC 100%);
  box-shadow:0 24px 60px rgba(20,20,20,0.08);
}
/* splash clipped to the circle; sized so the whole vial sits inside with margin */
.hero-vial{ position:absolute; width:470px; height:auto; left:45px; top:95px; display:block; }
@media (max-width:900px){
  .hero-circle{ width:360px; height:360px; }
  .hero-vial{ width:302px; left:29px; top:61px; }
}
.orb{
  position:absolute; width:470px; height:470px; border-radius:50%;
  right:-20px; top:50%; transform:translateY(-50%);
  background:radial-gradient(circle at 38% 32%, var(--smoke2) 0%, var(--smoke1) 55%, #16150F 100%);
  filter:blur(0.4px);
}
.flagship-bottle{
  position:relative; z-index:2; width:126px; height:270px;
  background:linear-gradient(180deg,#ffffff 0%,#E7E4DA 100%);
  border:1px solid #C9C6BA; border-radius:6px 6px 20px 20px;
  display:flex; align-items:flex-start; justify-content:center;
  box-shadow:0 30px 60px rgba(0,0,0,0.35);
}
.flagship-bottle::before{
  content:""; position:absolute; top:-26px; left:50%; transform:translateX(-50%);
  width:52px; height:30px; background:var(--ink); border-radius:3px 3px 0 0;
}
.flagship-label{ margin-top:46px; text-align:center; padding:0 12px; }
.flagship-label .tag{ font-size:9px; letter-spacing:0.1em; color:var(--ink-soft); text-transform:uppercase; display:block; margin-bottom:8px; }
.flagship-label .name{ font-size:13px; font-weight:700; display:block; margin-bottom:4px; }
.flagship-label .code{ font-size:16px; font-weight:700; color:var(--accent); display:block; margin-bottom:6px; }
.flagship-label .desc{ font-size:9.5px; color:var(--ink-soft); line-height:1.45; }

/* ---------- BANNER ---------- */
.banner{
  background:var(--ink); color:var(--bone); padding:44px var(--pad);
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.banner-text{ max-width:560px; }
.banner-text .tag{ font-size:12px; letter-spacing:0.12em; text-transform:uppercase; color:var(--accent-light); margin-bottom:10px; display:block; }
.banner-text h3{ font-size:22px; font-weight:500; line-height:1.35; }
.banner-stats{ display:flex; gap:48px; }
.stat{ text-align:right; }
.stat .num{ font-size:28px; font-weight:500; color:var(--accent-light); display:block; }
.stat .label{ font-size:11px; color:#B8B6AC; letter-spacing:0.05em; text-transform:uppercase; }

/* ---------- SECTION / PRODUCTS ---------- */
.section{ max-width:1180px; margin:0 auto; padding:72px var(--pad); }
.section.tight{ padding-top:40px; }
.section-head{
  display:flex; justify-content:space-between; align-items:baseline;
  margin-bottom:30px; border-bottom:1px solid var(--line); padding-bottom:16px; gap:16px;
}
.section-head h2{ font-size:22px; font-weight:600; letter-spacing:-0.01em; }
.section-head .meta{ font-size:12px; color:var(--ink-soft); letter-spacing:0.05em; }
.section-intro{ max-width:640px; color:var(--ink-soft); font-size:15px; line-height:1.7; margin:-14px 0 34px; }

.grid{
  display:flex; flex-wrap:wrap; justify-content:center; gap:20px;
}
.card{
  background:var(--card); display:flex; flex-direction:column; position:relative;
  text-decoration:none; color:inherit; border:1px solid var(--line);
  flex:0 1 340px; max-width:360px; min-width:280px;
  transition:box-shadow .25s ease, transform .25s ease;
}
.card-link:hover{ box-shadow:0 14px 34px rgba(20,20,20,0.10); transform:translateY(-3px); }
.card-link{ cursor:pointer; }
.card.featured{ border-color:var(--ink); z-index:1; }

/* thumbnail overlay: code + status badge, both upper-left */
.thumb-tags{ position:absolute; top:10px; left:10px; z-index:2; display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.thumb-code{ font-size:11px; letter-spacing:0.06em; color:#2b2b2b; background:rgba(246,245,242,0.85); padding:3px 7px; border:1px solid rgba(0,0,0,0.06); }
.thumb-badge{ font-size:10px; font-weight:500; letter-spacing:0.08em; text-transform:uppercase; padding:4px 8px; color:var(--bone); background:var(--ink); }
.thumb-badge.new{ background:var(--accent); }
.thumb-badge.bestseller{ background:#6E6E69; }
.thumb-badge.flagship{ background:var(--ink); }
.thumb-badge.set{ background:var(--ink); }
.card-media{
  aspect-ratio:1/1; background:#F6F5F2; overflow:hidden;
  position:relative; display:flex; align-items:center; justify-content:center;
  border-bottom:1px solid var(--line);
}
.label-tile{ width:100%; height:100%; display:block; }
.card-media img.bottle-img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.card-link:hover .card-media img.bottle-img{ transform:scale(1.04); }
.card-body{ padding:20px 22px 24px; flex:1; display:flex; flex-direction:column; }
.card-conc{ font-size:11.5px; color:var(--accent); margin-bottom:8px; letter-spacing:0.03em; text-transform:uppercase; }
.card-body h3{ font-size:17px; font-weight:600; margin-bottom:6px; line-height:1.3; letter-spacing:-0.01em; }
.card-body p{ font-size:13px; color:var(--ink-soft); line-height:1.55; margin-bottom:18px; flex:1; }
.card-foot{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:auto; }
.price{ font-size:15px; font-weight:600; }
.price .from{ font-size:11px; color:var(--ink-soft); font-weight:400; margin-right:4px; }
.add{
  font-size:12px; letter-spacing:0.06em; text-transform:uppercase; color:var(--ink);
  background:none; border:1px solid var(--ink); padding:9px 16px; cursor:pointer;
  transition:background .18s,color .18s; white-space:nowrap;
}
.add:hover{ background:var(--ink); color:var(--bone); }
.card.featured .add{ background:var(--ink); color:var(--bone); }
.card.featured .add:hover{ opacity:.85; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ---------- BREADCRUMB / PAGE HEAD ---------- */
.crumb{ font-size:12px; color:var(--ink-soft); letter-spacing:0.04em; padding:26px var(--pad) 0; max-width:1180px; margin:0 auto; }
.crumb a{ text-decoration:none; } .crumb a:hover{ text-decoration:underline; }
.page-head{ padding:30px var(--pad) 8px; max-width:1180px; margin:0 auto; }
.page-head .eyebrow{ margin-bottom:16px; }
.page-head h1{ font-size:38px; font-weight:700; letter-spacing:-0.02em; margin-bottom:14px; }
.page-head p{ max-width:620px; color:var(--ink-soft); font-size:15px; line-height:1.7; }

/* ---------- PRODUCT PAGE ---------- */
.pdp{ display:grid; grid-template-columns:1fr 1fr; gap:0; border:1px solid var(--line); max-width:1180px; margin:28px auto 0; }
.pdp-media{
  background:#F6F5F2; overflow:hidden;
  min-height:520px; display:flex; align-items:center; justify-content:center; position:relative;
}
.pdp-media img.bottle-img{ width:100%; height:100%; object-fit:cover; display:block; }
.pdp-info{ padding:44px 46px; border-left:1px solid var(--line); }
.pdp-info .conc{ font-size:12px; letter-spacing:0.06em; text-transform:uppercase; color:var(--accent); margin-bottom:14px; }
.pdp-info h1{ font-size:32px; font-weight:700; letter-spacing:-0.02em; margin-bottom:8px; }
.pdp-info .sub{ font-size:15px; color:var(--ink-soft); margin-bottom:22px; }
.pdp-price{ font-size:24px; font-weight:600; margin-bottom:26px; }
.pdp-desc{ font-size:15px; line-height:1.7; color:var(--ink); margin-bottom:30px; }
.field-label{ font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:12px; display:block; }
.sizes{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:30px; }
.size-chip{
  border:1px solid var(--line); background:var(--bone); padding:10px 15px; cursor:pointer;
  font-size:13px; font-family:'JetBrains Mono',monospace; transition:border-color .15s, background .15s;
}
.size-chip:hover{ border-color:var(--accent); }
.size-chip.sel{ border-color:var(--ink); background:var(--ink); color:var(--bone); }
.pdp-actions{ display:flex; gap:12px; align-items:center; margin-bottom:34px; }
.pdp-actions .btn-dark{ flex:1; text-align:center; }
.spec{ border-top:1px solid var(--line); }
.spec-row{ display:flex; justify-content:space-between; gap:16px; padding:13px 0; border-bottom:1px solid var(--line); font-size:13px; }
.spec-row .k{ color:var(--ink-soft); letter-spacing:0.03em; }
.spec-row .v{ font-weight:500; text-align:right; }

/* product-page stacked content rows (fade in one by one) */
.pdp-row{ max-width:1180px; margin:0 auto; padding:56px var(--pad); border-top:1px solid var(--line); }
.pdp-row .row-head{ font-size:12px; letter-spacing:0.12em; text-transform:uppercase; color:var(--accent); margin-bottom:20px; }
.pdp-row h2{ font-size:26px; font-weight:600; letter-spacing:-0.01em; max-width:760px; line-height:1.3; }
.pdp-row .lead{ font-size:16px; line-height:1.75; color:var(--ink); max-width:720px; }
.pdp-two{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.spec-grid{ border-top:1px solid var(--line); }
@media (max-width:820px){ .pdp-two{ grid-template-columns:1fr; gap:28px; } }

/* ---------- CONTENT / ARTICLE PAGES ---------- */
.article-hero{ max-width:1180px; margin:0 auto; padding:18px var(--pad) 10px; display:grid; grid-template-columns:1.25fr 1fr; gap:44px; align-items:center; }
.article-hero .eyebrow{ margin-bottom:16px; }
.article-hero h1{ font-size:40px; font-weight:700; letter-spacing:-0.02em; margin-bottom:16px; line-height:1.1; }
.article-hero .lead{ font-size:16px; line-height:1.75; color:var(--ink-soft); max-width:520px; }
.article-hero-media{ display:flex; justify-content:center; align-items:center; min-height:360px; }
.article-hero-media img{ height:360px; width:auto; }
.article{ max-width:920px; margin:0 auto; padding:44px var(--pad) 90px; }
.article > .reveal:first-child h2{ margin-top:0; }
.article h2{ font-size:24px; font-weight:600; letter-spacing:-0.01em; margin:12px 0 14px; }
.article p{ font-size:15.5px; line-height:1.8; color:var(--ink); margin-bottom:16px; max-width:740px; }
.article .row-head{ margin-top:8px; }
.steps{ counter-reset:step; display:grid; gap:1px; background:var(--line); border:1px solid var(--line); margin:22px 0 8px; }
.step{ background:var(--card); padding:22px 24px 22px 68px; position:relative; }
.step::before{ counter-increment:step; content:counter(step,decimal-leading-zero); position:absolute; left:24px; top:23px; font-family:'JetBrains Mono',monospace; font-size:13px; color:var(--accent); }
.step h3{ font-size:16px; font-weight:600; margin-bottom:5px; }
.step p{ font-size:14px; color:var(--ink-soft); margin:0; max-width:none; }
.info-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin:22px 0; }
.info-card{ border:1px solid var(--line); background:var(--card); padding:24px; }
.info-card .k{ font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--accent); margin-bottom:10px; }
.info-card h3{ font-size:17px; font-weight:600; margin-bottom:8px; }
.info-card p{ font-size:14px; color:var(--ink-soft); margin:0; max-width:none; }
.spec-table{ width:100%; border-collapse:collapse; margin:18px 0; font-size:14px; }
.spec-table th, .spec-table td{ text-align:left; padding:12px 14px; border-bottom:1px solid var(--line); }
.spec-table th{ font-size:11px; letter-spacing:0.06em; text-transform:uppercase; color:var(--ink-soft); font-weight:500; }
.spec-table td.mono{ font-family:'JetBrains Mono',monospace; }
.callout{ border-left:3px solid var(--ink); background:var(--card); padding:18px 22px; margin:22px 0; font-size:14px; color:var(--ink-soft); line-height:1.75; }
@media (max-width:820px){
  .article-hero{ grid-template-columns:1fr; }
  .article-hero-media{ min-height:auto; order:-1; }
  .article-hero-media img{ height:230px; }
  .info-grid{ grid-template-columns:1fr; }
}

/* ---------- COLLECTIONS ---------- */
.coll-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:20px; }
.coll-card{
  background:var(--card); text-decoration:none; color:inherit; display:flex; flex-direction:column;
  border:1px solid var(--line); flex:0 1 340px; max-width:360px; min-width:280px;
  transition:box-shadow .25s ease, transform .25s ease;
}
.coll-card:hover{ box-shadow:0 14px 34px rgba(20,20,20,0.12); transform:translateY(-3px); }
.coll-media{
  aspect-ratio:1/1; background:#EDECE9; overflow:hidden;
  display:flex; align-items:center; justify-content:center; position:relative;
  border-bottom:1px solid var(--line);
}
.coll-media img.bottle-img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.coll-card:hover .coll-media img.bottle-img{ transform:scale(1.04); }
.coll-body{ padding:22px 24px 26px; }
.coll-body .kind{ font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--accent); margin-bottom:8px; }
.coll-body h3{ font-size:20px; font-weight:600; letter-spacing:-0.01em; margin-bottom:8px; }
.coll-body .items{ font-size:13px; color:var(--ink-soft); line-height:1.55; margin-bottom:16px; }
.coll-body .foot{ display:flex; justify-content:space-between; align-items:center; }

/* ---------- CART DRAWER ---------- */
.overlay{ position:fixed; inset:0; background:rgba(20,20,20,.4); opacity:0; pointer-events:none; transition:opacity .25s; z-index:90; }
.overlay.open{ opacity:1; pointer-events:auto; }
.drawer{
  position:fixed; top:0; right:0; height:100%; width:400px; max-width:90vw; background:var(--bone);
  border-left:1px solid var(--line); transform:translateX(100%); transition:transform .3s cubic-bezier(.2,.6,.2,1);
  z-index:100; display:flex; flex-direction:column;
}
.drawer.open{ transform:none; }
.drawer-head{ display:flex; justify-content:space-between; align-items:center; padding:22px 24px; border-bottom:1px solid var(--line); }
.drawer-head h3{ font-size:16px; font-weight:600; }
.drawer-close{ background:none; border:none; font-size:22px; cursor:pointer; line-height:1; }
.drawer-body{ flex:1; overflow-y:auto; padding:8px 24px; }
.drawer-empty{ color:var(--ink-soft); font-size:14px; padding:40px 0; text-align:center; }
.line{ display:flex; gap:14px; padding:18px 0; border-bottom:1px solid var(--line); }
.line-thumb{ width:60px; height:66px; object-fit:contain; background:#F0EFEC; border:1px solid var(--line); flex-shrink:0; display:block; }
.line-info{ flex:1; }
.line-info h4{ font-size:14px; font-weight:600; margin-bottom:3px; }
.line-info .meta{ font-size:12px; color:var(--ink-soft); font-family:'JetBrains Mono',monospace; }
.line-info .qty{ display:flex; align-items:center; gap:10px; margin-top:8px; }
.qty button{ width:22px; height:22px; border:1px solid var(--line); background:var(--bone); cursor:pointer; font-size:14px; line-height:1; }
.line-price{ font-weight:600; font-size:14px; white-space:nowrap; }
.line-remove{ background:none; border:none; color:var(--ink-soft); font-size:11px; cursor:pointer; text-decoration:underline; margin-top:6px; padding:0; }
.drawer-foot{ padding:22px 24px; border-top:1px solid var(--line); }
.drawer-foot .row{ display:flex; justify-content:space-between; margin-bottom:16px; font-size:15px; }
.drawer-foot .row .total{ font-weight:700; }
.drawer-foot .note{ font-size:11px; color:var(--ink-soft); margin-top:12px; line-height:1.5; }

/* ---------- FOOTER ---------- */
footer.site{ background:var(--ink); color:var(--bone); margin-top:20px; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding:60px var(--pad) 44px; max-width:1180px; margin:0 auto; }
.footer-brand .brand-row{ display:flex; align-items:center; gap:9px; }
.footer-brand .brand-row .logo-star{ width:24px; height:24px; }
.footer-brand .main{ font-size:22px; font-weight:700; letter-spacing:-0.02em; }
.footer-brand p{ color:#9B9A93; font-size:13px; line-height:1.7; margin-top:14px; max-width:280px; }
.footer-col h4{ font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:var(--accent-light); margin-bottom:16px; }
.footer-col a{ display:block; color:#C9C8C1; text-decoration:none; font-size:13.5px; margin-bottom:11px; transition:color .15s; }
.footer-col a:hover{ color:var(--bone); }
.footer-bot{ border-top:1px solid #2E2E2C; padding:22px var(--pad); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; max-width:1180px; margin:0 auto; }
.footer-bot span{ font-size:12px; color:#8C8B84; }
.disclaimer{ background:#0F0F0D; color:#8C8B84; font-size:11.5px; line-height:1.6; padding:16px var(--pad); text-align:center; }

/* ---------- TOAST ---------- */
.toast{
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--ink); color:var(--bone); padding:13px 22px; font-size:13px;
  opacity:0; pointer-events:none; transition:opacity .25s, transform .25s; z-index:120; letter-spacing:0.02em;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width:1000px){
  .footer-top{ grid-template-columns:1fr 1fr; gap:32px; }
}
@media (max-width:900px){
  :root{ --pad:24px; }
  .hero{ flex-direction:column; padding:32px 24px; min-height:auto; }
  .hero-left{ max-width:100%; padding:24px 0; }
  .hero-right{ height:auto; width:100%; padding:8px 0 24px; }
  .hero-vial{ height:300px; }
  .pdp{ grid-template-columns:1fr; }
  .pdp-info{ border-left:none; border-top:1px solid var(--line); padding:32px 24px; }
  .pdp-media{ min-height:360px; }
}
@media (max-width:820px){
  nav.main{
    display:none; position:absolute; top:100%; left:0; right:0; background:var(--bone);
    flex-direction:column; align-items:flex-start; padding:16px 24px; border-bottom:1px solid var(--line); gap:4px;
  }
  nav.main.open{ display:flex; }
  nav.main a{ padding:10px 0; width:100%; }
  .menu-toggle{ display:block; }
  header.site{ flex-wrap:wrap; }
  .banner{ flex-direction:column; align-items:flex-start; }
  .banner-stats{ gap:32px; } .stat{ text-align:left; }
  .grid, .coll-grid{ grid-template-columns:1fr; }
  .hero-left h1{ font-size:34px; }
}

/* ---------- HELP button + modal ---------- */
.help-btn{ border:none; background:none; cursor:pointer; font-family:'Archivo',sans-serif; font-size:14px; font-weight:500; color:var(--ink); padding:9px 8px; white-space:nowrap; }
.help-btn:hover{ opacity:.6; }
.modal-overlay{ position:fixed; inset:0; background:rgba(20,20,20,.42); opacity:0; pointer-events:none; transition:opacity .25s; z-index:110; }
.modal-overlay.open{ opacity:1; pointer-events:auto; }
.modal{ position:fixed; top:50%; left:50%; transform:translate(-50%,-46%); width:440px; max-width:92vw; max-height:90vh; overflow-y:auto;
  background:var(--bone); border:1px solid var(--line); box-shadow:0 30px 70px rgba(20,20,20,0.22); z-index:120;
  opacity:0; pointer-events:none; transition:opacity .25s, transform .25s; }
.modal.open{ opacity:1; pointer-events:auto; transform:translate(-50%,-50%); }
.modal-head{ display:flex; justify-content:space-between; align-items:center; padding:22px 24px; border-bottom:1px solid var(--line); }
.modal-head h3{ font-size:17px; font-weight:600; }
.modal-body{ padding:22px 24px 24px; }
.modal-body .field-label{ margin-bottom:7px; display:block; }
.fld{ width:100%; font-family:'Archivo',sans-serif; font-size:14px; color:var(--ink); background:var(--card); border:1px solid var(--line); padding:11px 13px; margin-bottom:16px; outline:none; transition:border-color .15s; }
.fld:focus{ border-color:var(--ink); }
textarea.fld{ resize:vertical; }
.modal-msg{ font-size:13px; line-height:1.5; }
.modal-msg:not(:empty){ margin-bottom:14px; }
.modal-msg.ok{ color:#2f6f3e; }
.modal-msg.err{ color:#a33; }
.modal-msg a{ color:inherit; }

/* ---------- CHECKOUT ---------- */
.checkout{ max-width:1180px; margin:0 auto; padding:16px var(--pad) 90px; }
.checkout-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:36px; align-items:start; }
.checkout-summary, .checkout-pay{ border:1px solid var(--line); background:var(--card); padding:26px 28px; }
.checkout .row-head{ margin-bottom:16px; }
.co-line{ display:flex; align-items:center; gap:14px; padding:12px 0; border-bottom:1px solid var(--line); }
.co-thumb{ width:52px; height:60px; object-fit:contain; background:#F0EFEC; border:1px solid var(--line); flex-shrink:0; display:block; }
.co-info{ flex:1; } .co-info h4{ font-size:15px; font-weight:600; margin-bottom:3px; }
.co-info .meta{ font-size:12.5px; color:var(--ink-soft); font-family:'JetBrains Mono',monospace; }
.co-price{ font-weight:600; font-size:15px; white-space:nowrap; }
.co-total{ display:flex; justify-content:space-between; align-items:center; padding:18px 0 4px; font-size:20px; font-weight:700; }
.pay-methods{ display:flex; gap:8px; margin:6px 0 18px; flex-wrap:wrap; }
.pay-methods .chip{ font-size:12px; letter-spacing:0.03em; border:1px solid var(--line); background:var(--bone); padding:7px 12px; color:var(--ink-soft); }
.pay-btn{ width:100%; text-align:center; font-size:14px; }
.checkout-thanks{ max-width:520px; margin:10px auto 90px; text-align:center; padding:40px 24px; }
.co-check{ width:64px; height:64px; border-radius:50%; background:var(--ink); color:var(--bone); font-size:30px; display:flex; align-items:center; justify-content:center; margin:0 auto 22px; }
.checkout-thanks h2{ font-size:26px; font-weight:600; margin-bottom:12px; }
.checkout-thanks p{ color:var(--ink-soft); line-height:1.7; margin-bottom:26px; }
.checkout-empty{ text-align:center; padding:56px 24px 100px; color:var(--ink-soft); }
.checkout-empty p{ margin-bottom:18px; }
@media (max-width:820px){ .checkout-grid{ grid-template-columns:1fr; gap:20px; } }

/* ---------- SALE price (flagship / bestseller) ---------- */
.pdp-price .was{ text-decoration:line-through; color:var(--ink-soft); font-weight:400; font-size:18px; margin-right:10px; }
.pdp-price .now{ color:var(--ink); }
.card-foot .price .was{ text-decoration:line-through; color:var(--ink-soft); font-weight:400; font-size:12px; margin-right:5px; }
.sp-price .was{ text-decoration:line-through; color:var(--ink-soft); font-weight:400; font-size:16px; margin-right:9px; }

/* ---------- SIZE PICKER modal ---------- */
.sp-top{ display:flex; gap:14px; align-items:center; margin-bottom:20px; }
.sp-img{ width:60px; height:72px; object-fit:contain; background:#F0EFEC; border:1px solid var(--line); flex-shrink:0; display:block; }
.sp-name{ font-size:16px; font-weight:600; margin-bottom:4px; }
.sp-conc{ font-size:11.5px; color:var(--ink-soft); letter-spacing:0.04em; }
.sizepick .sizes{ margin-bottom:4px; }

/* ---------- PROMO BAR (under header) ---------- */
.promo-bar{
  position:sticky; top:0; z-index:49;
  background:var(--ink); color:var(--bone);
  border-bottom:1px solid #000;
}
.promo-inner{
  max-width:1180px; margin:0 auto; padding:8px var(--pad);
  text-align:center; font-size:11px; letter-spacing:0.14em; text-transform:uppercase;
  color:#E9E8E3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
@media (max-width:640px){ .promo-inner{ font-size:9.5px; letter-spacing:0.06em; } }

/* ---------- ACCOUNT button (header) ---------- */
.acct-btn{
  display:inline-flex; align-items:center; gap:8px; cursor:pointer;
  border:1px solid var(--line); border-radius:999px; background:var(--card);
  padding:9px 15px 9px 12px; font-family:'Archivo',sans-serif; font-size:13px; font-weight:500;
  color:var(--ink); white-space:nowrap; transition:border-color .18s, background .18s;
}
.acct-btn:hover{ border-color:var(--ink); }
.acct-ico{ width:18px; height:18px; flex-shrink:0; }
.acct-btn span{ max-width:120px; overflow:hidden; text-overflow:ellipsis; }

/* ---------- AUTH modal extras ---------- */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.two-col .field-label{ margin-bottom:7px; }
.agree{ display:flex; gap:10px; align-items:flex-start; font-size:12.5px; line-height:1.55; color:var(--ink-soft); margin:2px 0 16px; cursor:pointer; }
.agree input{ margin-top:2px; width:16px; height:16px; flex-shrink:0; accent-color:var(--ink); }
.agree a{ color:var(--ink); text-decoration:underline; }
.auth-switch{ text-align:center; margin-top:14px; }
.auth-switch a{ color:var(--ink); font-weight:600; text-decoration:underline; }

/* ---------- AGE GATE ---------- */
.age-gate{ position:fixed; inset:0; z-index:2000; display:none; align-items:center; justify-content:center;
  background:radial-gradient(circle at 50% 40%, #26251f 0%, #121210 70%, #0b0b09 100%); padding:24px; }
.age-gate.show{ display:flex; }
.age-card{ max-width:560px; width:100%; text-align:center; color:var(--bone); }
.age-star{ display:inline-flex; align-items:center; gap:9px; margin-bottom:26px; }
.age-star .logo-star{ width:30px; height:30px; }
.age-star span{ font-size:24px; font-weight:700; letter-spacing:-0.02em; }
.age-eyebrow{ font-size:12px; letter-spacing:0.22em; text-transform:uppercase; color:#B9B7AE; margin-bottom:16px; }
.age-card h2{ font-size:34px; font-weight:700; letter-spacing:-0.02em; margin-bottom:18px; line-height:1.12; }
.age-card p{ font-size:15px; line-height:1.7; color:#C9C7BE; max-width:460px; margin:0 auto 30px; }
.age-card p a{ color:var(--bone); text-decoration:underline; }
.btn-light{ display:block; width:100%; max-width:420px; margin:0 auto 12px; background:var(--bone); color:var(--ink);
  border:1px solid var(--bone); padding:16px 24px; font-size:13px; letter-spacing:0.08em; text-transform:uppercase; font-weight:600; cursor:pointer; transition:opacity .18s; }
.btn-light:hover{ opacity:.9; }
.age-exit{ display:block; width:100%; max-width:420px; margin:0 auto; background:none; color:#C9C7BE; border:1px solid #3a3a35;
  padding:15px 24px; font-size:13px; letter-spacing:0.06em; cursor:pointer; transition:border-color .18s, color .18s; }
.age-exit:hover{ color:var(--bone); border-color:#6a6a62; }
.age-badges{ margin-top:30px; font-size:10.5px; letter-spacing:0.14em; color:#87857c; }
@media (max-width:560px){ .age-card h2{ font-size:26px; } }

/* ---------- CHECKOUT: gate + payment ---------- */
.checkout-gate{ max-width:520px; margin:20px auto 90px; text-align:center; padding:44px 24px; border:1px solid var(--line); background:var(--card); }
.co-check.gate{ background:var(--card); border:1px solid var(--ink); }
.co-check.gate .acct-ico{ width:30px; height:30px; color:var(--ink); }
.checkout-gate h2{ font-size:24px; font-weight:600; margin-bottom:12px; }
.checkout-gate p{ color:var(--ink-soft); line-height:1.7; margin-bottom:24px; }
.gate-actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.co-rows{ margin-top:6px; }
.co-subrow{ display:flex; justify-content:space-between; font-size:14px; color:var(--ink-soft); padding:6px 0; }
.co-subrow.disc{ color:#2f6f3e; }
.co-line.freebac .co-thumb.gift{ display:flex; align-items:center; justify-content:center; font-size:24px; background:var(--bone); }
.co-line.freebac .co-price{ color:#2f6f3e; }
.ship-to{ margin-bottom:20px; }
.ship-card{ position:relative; border:1px solid var(--line); background:var(--bone); padding:14px 16px; font-size:13.5px; line-height:1.6; }
.ship-edit{ position:absolute; top:12px; right:14px; font-size:12px; color:var(--ink); text-decoration:underline; }
.pay-select{ display:flex; flex-direction:column; gap:10px; margin-bottom:18px; }
.pay-opt{ display:flex; justify-content:space-between; align-items:center; gap:12px; text-align:left; cursor:pointer;
  border:1px solid var(--line); background:var(--bone); padding:15px 16px; transition:border-color .15s, box-shadow .15s; }
.pay-opt:hover{ border-color:var(--accent); }
.pay-opt.sel{ border-color:var(--ink); box-shadow:inset 0 0 0 1px var(--ink); }
.po-name{ font-size:14px; font-weight:600; }
.po-name em{ font-style:normal; color:#2f6f3e; font-weight:600; }
.po-tag{ font-size:11px; color:var(--ink-soft); letter-spacing:0.02em; }
.pay-panel{ margin-bottom:14px; }
.stripe-box{ min-height:44px; }
.stripe-placeholder{ display:flex; flex-direction:column; gap:10px; }
.stripe-placeholder .sp-row{ height:44px; border:1px solid var(--line); background:var(--bone); border-radius:2px; }
.stripe-placeholder .sp-row.two{ display:flex; gap:10px; border:none; height:44px; }
.stripe-placeholder .sp-row.two span{ flex:1; border:1px solid var(--line); background:var(--bone); border-radius:2px; }

/* ---------- MY ACCOUNT ---------- */
.account{ max-width:1180px; margin:0 auto; padding:16px var(--pad) 90px; }
.acct-grid{ display:grid; grid-template-columns:280px 1fr; gap:28px; align-items:start; }
.acct-side{ border:1px solid var(--line); background:var(--card); padding:24px; position:sticky; top:120px; }
.acct-hi{ display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.acct-avatar{ width:44px; height:44px; border-radius:50%; border:1px solid var(--ink); display:flex; align-items:center; justify-content:center; }
.acct-avatar .acct-ico{ width:24px; height:24px; }
.acct-hi b{ font-size:15px; display:block; } .acct-hi span{ font-size:12.5px; color:var(--ink-soft); }
.acct-logout{ width:100%; text-align:center; padding:11px; font-size:12px; }
.acct-main{ display:flex; flex-direction:column; gap:22px; }
.acct-block{ border:1px solid var(--line); background:var(--card); padding:24px 26px; }
.acct-block .row-head{ margin-bottom:16px; }
.acct-empty{ color:var(--ink-soft); font-size:14px; } .acct-empty a{ color:var(--ink); text-decoration:underline; }
.ord{ padding:14px 0; border-bottom:1px solid var(--line); }
.ord:last-child{ border-bottom:none; }
.ord-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:5px; }
.ord-status{ font-size:10px; letter-spacing:0.08em; text-transform:uppercase; padding:3px 9px; border-radius:999px; background:var(--accent-light); color:var(--ink); }
.ord-status.paid{ background:#20472c; color:#DFF4E6; } .ord-status.pending{ background:#5A5A58; color:var(--bone); }
.ord-meta{ font-size:12px; color:var(--ink-soft); }
@media (max-width:820px){ .acct-grid{ grid-template-columns:1fr; } .acct-side{ position:static; } }

/* ---------- LEGAL / POLICY pages ---------- */
.legal-eff{ font-size:12px; color:var(--ink-soft); letter-spacing:0.04em; margin-top:12px; }
.article.legal h2{ font-size:19px; margin:30px 0 10px; }
.article.legal h2:first-of-type{ margin-top:0; }
.article.legal p{ font-size:15px; line-height:1.75; }
.article.legal a{ color:var(--ink); }

/* ---------- ADDRESS AUTOCOMPLETE ---------- */
.addr-ac{ position:relative; margin-bottom:16px; }
.addr-ac .fld{ margin-bottom:0; }
.addr-suggest{ position:absolute; top:calc(100% + 3px); left:0; right:0; z-index:130;
  background:var(--bone); border:1px solid var(--ink); box-shadow:0 16px 40px rgba(20,20,20,0.18); max-height:230px; overflow-y:auto; }
.addr-suggest[hidden]{ display:none; }
.addr-row{ display:block; width:100%; text-align:left; background:none; border:none; border-bottom:1px solid var(--line);
  padding:10px 13px; font-family:'Archivo',sans-serif; font-size:13px; color:var(--ink); cursor:pointer; line-height:1.4; }
.addr-row:last-child{ border-bottom:none; }
.addr-row:hover{ background:var(--card); }
.auth-forgot{ text-align:right; margin:-8px 0 14px; }
.auth-forgot a{ color:var(--ink-soft); text-decoration:underline; font-size:12.5px; }

/* ---------- ACCOUNT edit ---------- */
.acct-dethead{ display:flex; justify-content:space-between; align-items:center; }
.acct-edit-btn{ background:none; border:1px solid var(--line); padding:6px 13px; font-size:11px; letter-spacing:0.06em;
  text-transform:uppercase; cursor:pointer; color:var(--ink); transition:border-color .15s; }
.acct-edit-btn:hover{ border-color:var(--ink); }
.ed-actions{ display:flex; gap:10px; margin-top:4px; }
.ed-actions .btn-dark, .ed-actions .btn-outline{ padding:12px 22px; }
