:root {
  --black: #000;
  --ink: #111;
  --text: #666;
  --muted: #999;
  --light: #f7f7f7;
  --line: #eaeaea;
  --gold-1: #aa742d;
  --gold-2: #bc9857;
  --gold-3: #e9d29a;
  --gold: linear-gradient(90deg, #aa742d 0%, #c8a265 55%, #e9d29a 100%);
  --pink: #cc3882;
  --radius: 999px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.gold-text {
  background: var(--gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(0,0,0,.05); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--black); }
.logo-word { font-weight: 800; font-size: 26px; letter-spacing: -.5px; line-height: 1; }
.logo-word span { display: block; font-size: 11px; letter-spacing: 4.6px; font-weight: 700; margin-top: 3px; }
.logo-mark { width: 34px; height: 34px; }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px;
  color: var(--ink); transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-2); }
.header-tools { display: flex; align-items: center; gap: 18px; }
.search {
  display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; height: 38px; background: #fff;
}
.search input { border: 0; outline: 0; padding: 0 16px; font: inherit; font-size: 13px; width: 190px; }
.search button {
  border: 0; height: 100%; width: 42px; cursor: pointer; background: var(--gold); color: #fff;
  display: grid; place-items: center;
}
.icon-btn { position: relative; color: var(--ink); display: grid; place-items: center; }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--gold-1); color: #fff; font-size: 10px; font-weight: 700; border-radius: 9px;
  display: grid; place-items: center; line-height: 1;
}
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius); border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .3px;
  background: var(--gold); color: #fff; background-size: 160% 100%; background-position: 0 0;
  transition: background-position .4s, transform .15s, box-shadow .2s;
  box-shadow: 0 6px 18px rgba(170,116,45,.25);
}
.btn:hover { background-position: 100% 0; transform: translateY(-1px); }
.btn-dark { background: var(--black); box-shadow: none; }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); box-shadow: none; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: var(--light);
  position: relative; overflow: hidden; isolation: isolate;
  padding: 90px 0 150px;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px; width: 620px; height: 620px;
  background: radial-gradient(circle at center, rgba(233,210,154,.45), rgba(233,210,154,0) 65%);
  pointer-events: none; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; position: relative; }
.hero h1 {
  color: var(--black); font-size: 44px; line-height: 1.15; font-weight: 700; text-transform: uppercase;
  letter-spacing: -.5px;
}
.hero h1 small { display: block; font-size: 30px; font-weight: 600; margin-bottom: 6px; }
.hero .lead { color: #333; font-size: 24px; font-weight: 600; line-height: 1.35; margin: 22px 0 34px; max-width: 470px; }
.hero-vials { display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.hero-vials .vial { width: 190px; }
.hero-vials .vial:nth-child(1) { transform: translateX(30px) scale(.86) rotate(-6deg); }
.hero-vials .vial:nth-child(2) { z-index: 2; }
.hero-vials .vial:nth-child(3) { transform: translateX(-30px) scale(.86) rotate(6deg); }

/* ---------- Feature pill bar ---------- */
.features-wrap { margin-top: -75px; position: relative; z-index: 3; }
.features {
  background: var(--black); border-radius: 80px; padding: 34px 70px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature svg { flex: 0 0 38px; width: 38px; height: 38px; color: var(--gold-2); }
.feature h2 { font-size: 15px; font-weight: 700; text-transform: uppercase; line-height: 1.3; margin-bottom: 4px; }
.feature p { color: #fff; font-size: 13px; font-style: italic; line-height: 1.5; }
.feature p a { color: var(--gold-2); }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 18px; }
.section-title h2 { color: var(--black); font-size: 30px; font-weight: 700; line-height: 1.25; }
.section-title p { max-width: 820px; margin: 14px auto 0; }
.divider { width: 70px; height: 3px; background: var(--gold); margin: 18px auto 0; border-radius: 2px; }

/* ---------- Product grid ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 30px 0; flex-wrap: wrap; }
.toolbar .count { font-size: 13px; }
.toolbar select, .toolbar input {
  font: inherit; font-size: 13px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; outline: 0;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font: inherit; font-size: 12px; font-weight: 600; text-transform: uppercase; padding: 8px 16px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink);
}
.chip.active { background: var(--black); color: #fff; border-color: var(--black); }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 30px; }
.product-card { text-align: center; position: relative; }
.product-card .thumb {
  background: #fff; border-radius: 6px; aspect-ratio: 1 / 1.05; display: grid; place-items: center;
  position: relative; overflow: hidden; transition: transform .25s;
}
.product-card .thumb > a { display: grid; place-items: center; width: 100%; height: 100%; }
.product-card .thumb .vial { width: 50%; transition: transform .35s; }
.product-card:hover .thumb .vial { transform: translateY(-6px) scale(1.03); }
.badge {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 2;
  background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 4px;
}
.product-card h3 { color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.4; margin-top: 14px; padding: 0 6px; }
.price { font-family: Oswald, Helvetica, Arial, sans-serif; color: var(--pink); font-size: 16px; font-weight: 500; margin-top: 4px; }
.price del { color: var(--muted); margin-right: 6px; font-size: .9em; }
.quick-add {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 20px); opacity: 0;
  transition: .25s; padding: 10px 22px; font-size: 12px; white-space: nowrap;
}
.product-card:hover .quick-add { opacity: 1; transform: translate(-50%, 0); }
.center { text-align: center; margin-top: 50px; }

/* ---------- Split / promo ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split h2 { color: var(--black); font-size: 30px; line-height: 1.25; margin-bottom: 18px; }
.split p + p { margin-top: 14px; }
.panel-dark {
  background: var(--black); color: #ddd; border-radius: 30px; padding: 50px; position: relative; overflow: hidden;
}
.panel-dark::before {
  content: ""; position: absolute; inset: auto -80px -120px auto; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(188,152,87,.5), transparent 65%);
}
.panel-dark h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 18px; }
.check-list { list-style: none; display: grid; gap: 12px; position: relative; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: 0 0 20px; height: 20px; border-radius: 50%; margin-top: 3px;
  background: var(--gold) ; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E");
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-size: 40px; font-weight: 800; line-height: 1.1; }
.stat span { font-size: 13px; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.bg-light { background: var(--light); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary {
  cursor: pointer; list-style: none; color: var(--ink); font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-2); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--black); border-radius: 30px; padding: 50px 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.newsletter h2 { font-size: 26px; text-transform: uppercase; }
.newsletter p { color: #bbb; }
.newsletter form { display: flex; gap: 10px; flex: 1; max-width: 480px; }
.newsletter input { flex: 1; border: 0; border-radius: var(--radius); padding: 0 22px; font: inherit; outline: 0; }

/* ---------- Page header ---------- */
.page-hero { background: var(--light); padding: 60px 0; text-align: center; }
.page-hero h1 { color: var(--black); font-size: 38px; text-transform: uppercase; font-weight: 700; }
.crumbs { font-size: 13px; margin-top: 6px; }
.crumbs a { color: var(--gold-1); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.pdp-media { background: var(--light); border-radius: 20px; display: grid; place-items: center; padding: 60px; position: sticky; top: 140px; }
.pdp-media .vial { width: 62%; }
.pdp h1 { color: var(--black); font-size: 32px; line-height: 1.2; }
.pdp .price { font-size: 26px; margin: 10px 0 18px; }
.pdp .short { margin-bottom: 24px; }
.variant-label { color: var(--ink); font-weight: 700; font-size: 13px; text-transform: uppercase; margin-bottom: 8px; }
.variants { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.variants button {
  font: inherit; font-weight: 600; padding: 10px 20px; border-radius: var(--radius); border: 2px solid var(--line); background: #fff; cursor: pointer;
}
.variants button.active { border-color: var(--gold-2); color: var(--gold-1); }
.buy-row { display: flex; gap: 14px; margin-bottom: 26px; }
.qty { display: flex; align-items: center; border: 2px solid var(--line); border-radius: var(--radius); }
.qty button { width: 40px; height: 46px; border: 0; background: none; font-size: 18px; cursor: pointer; }
.qty input { width: 40px; border: 0; text-align: center; font: inherit; font-weight: 700; outline: 0; }
.spec { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: 14px; }
.spec th, .spec td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec th { color: var(--ink); width: 40%; }
.notice { background: #fff8ec; border-left: 4px solid var(--gold-2); padding: 14px 18px; font-size: 13px; border-radius: 4px; }
.tabs { margin-top: 70px; }
.tab-btns { display: flex; gap: 30px; border-bottom: 1px solid var(--line); }
.tab-btns button {
  background: none; border: 0; font: inherit; font-weight: 700; text-transform: uppercase; font-size: 14px;
  padding: 14px 0; cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.tab-btns button.active { color: var(--ink); border-color: var(--gold-2); }
.tab-panel { padding: 30px 0; display: none; }
.tab-panel.active { display: block; }
.tab-panel p + p { margin-top: 14px; }

/* ---------- Cart ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 13px; text-transform: uppercase; color: var(--ink); padding: 14px 10px; border-bottom: 2px solid var(--ink); }
.cart-table td { padding: 18px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; align-items: center; gap: 16px; color: var(--ink); }
.cart-item .vial { width: 44px; }
.remove { background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 20px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.summary { background: var(--light); border-radius: 20px; padding: 30px; }
.summary h3 { color: var(--ink); text-transform: uppercase; font-size: 16px; margin-bottom: 16px; }
.summary .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary .total { font-weight: 800; color: var(--ink); font-size: 18px; border: 0; }
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin: 8px 0 18px; }
.progress div { height: 100%; background: var(--gold); }
.empty { text-align: center; padding: 60px 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; padding: 13px 18px; border: 1px solid var(--line); border-radius: 14px; outline: 0; background: #fff;
}
.field input:focus, .field textarea:focus { border-color: var(--gold-2); }
.contact-cards { display: grid; gap: 18px; }
.contact-card { background: var(--black); color: #ccc; border-radius: 20px; padding: 26px 30px; }
.contact-card h3 { font-size: 15px; text-transform: uppercase; margin-bottom: 4px; }
.form-ok { display: none; margin-top: 16px; color: #2c7a3f; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #fff; padding: 80px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.site-footer .legal p { font-size: 13px; line-height: 1.65; margin-bottom: 14px; color: #fff; }
.site-footer .legal strong { color: #fff; }
.site-footer .legal em { font-weight: 700; }
.site-footer h4, .site-footer .footer-h { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a { font-size: 13px; font-weight: 600; color: #fff; }
.site-footer ul a:hover { color: var(--gold-2); }
.pay { display: flex; gap: 8px; flex-wrap: wrap; }
.pay span { background: #fff; color: #1a1f71; font-size: 10px; font-weight: 800; border-radius: 4px; padding: 6px 8px; }
.copyright { border-top: 1px solid #222; margin-top: 60px; padding: 22px 0; text-align: center; font-size: 13px; color: var(--gold-1); }
.footer-logo { margin-bottom: 26px; }
.footer-logo .logo { color: #fff; }

/* ---------- Floating ---------- */
.save-tab {
  position: fixed; left: 18px; bottom: 18px; z-index: 40; background: var(--pink); color: #fff;
  font-weight: 700; font-size: 13px; padding: 10px 18px; border-radius: 6px; display: flex; gap: 14px; align-items: center; cursor: pointer;
  box-shadow: 0 8px 20px rgba(204,56,130,.35);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s;
}
.save-tab.show { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 600px) { .save-tab { left: 12px; bottom: 12px; font-size: 12px; padding: 8px 14px; } }
.save-tab button { background: none; border: 0; color: #fff; font-size: 16px; cursor: pointer; }
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 40px; height: 40px; border-radius: 6px;
  background: #444; color: #fff; border: 0; cursor: pointer; opacity: 0; pointer-events: none; transition: .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.toast {
  position: fixed; top: 100px; right: 24px; z-index: 100; background: var(--black); color: #fff; padding: 14px 22px;
  border-radius: 12px; border-left: 4px solid var(--gold-2); font-size: 14px;
  transform: translateX(130%); transition: transform .3s;
}
.toast.show { transform: translateX(0); }
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 200; display: none; place-items: center; padding: 20px;
}
.modal.show { display: grid; }
.modal-box { background: #fff; border-radius: 24px; max-width: 520px; padding: 40px; text-align: center; }
.modal-box h2 { color: var(--black); font-size: 22px; text-transform: uppercase; margin: 12px 0; }
.modal-box .actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .search { display: none; }
  .features { padding: 30px 40px; }
}
@media (max-width: 860px) {
  .main-nav {
    display: none; position: absolute; top: 84px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0;
    border-top: 1px solid var(--line); box-shadow: 0 10px 20px rgba(0,0,0,.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 16px 24px; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .hero { padding: 50px 0 130px; }
  .hero-grid, .split, .pdp, .cart-layout, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; } .hero h1 small { font-size: 22px; }
  .hero .lead { font-size: 19px; }
  .hero-vials .vial { width: 120px; }
  .features { grid-template-columns: 1fr; border-radius: 30px; padding: 30px; gap: 24px; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pdp-media { position: static; padding: 30px; }
  .pdp-media .vial { width: 68%; }
  .newsletter { padding: 36px 28px; }
  .newsletter form { flex-direction: column; max-width: none; }
  .newsletter input { padding: 14px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table td { display: block; border: 0; padding: 6px 0; }
  .cart-table tr { display: block; border-bottom: 1px solid var(--line); padding: 14px 0; }
  .quick-add { display: none; }
}

/* ---------- v2 additions ---------- */
.topbar { background: var(--black); color: #ddd; text-align: center; font-size: 12px; font-weight: 600; padding: 7px 16px; letter-spacing: .2px; }
.topbar a { color: var(--gold-3); text-decoration: underline; }
.badge-coa { left: auto; right: 10px; transform: none; background: var(--black); color: var(--gold-3); }
.chip small { opacity: .55; font-weight: 700; margin-left: 2px; }
.price del { color: var(--muted); }
.facts { list-style: none; font-size: 14px; margin-bottom: 20px; display: grid; gap: 4px; }
.facts strong { color: var(--ink); }
.facts a, .muted-note a { color: var(--gold-1); text-decoration: underline; }
.bulk { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 13px; border: 1px solid var(--line); }
.bulk th { background: var(--black); color: var(--gold-3); text-transform: uppercase; font-size: 11px; letter-spacing: .4px; padding: 10px 14px; text-align: left; }
.bulk td { padding: 9px 14px; border-top: 1px solid var(--line); }
.bulk .price { margin: 0; font-size: 14px; }
.trust-row { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.trust-row span { display: flex; align-items: center; gap: 8px; }
.trust-row svg { width: 22px; height: 22px; color: var(--gold-2); }
.desc-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: start; }
.desc-grid h3, .tab-panel h3 { color: var(--ink); font-size: 18px; margin: 22px 0 8px; }
.desc-grid h3:first-child, .tab-panel > h3:first-child { margin-top: 0; }
.table-scroll { overflow-x: auto; }
.coa-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.coa-table th, .coa-table td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: middle; }
.coa-table tr:first-child th { background: var(--light); color: var(--ink); }
.coa-table th { color: var(--ink); width: 200px; }
.coa-link { display: inline-flex; align-items: center; gap: 6px; color: var(--pink); font-weight: 600; font-size: 13px; }
.coa-link svg { width: 16px; height: 16px; flex: 0 0 16px; }
.coa-link:hover { text-decoration: underline; }
.pending { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: #f2f2f2; color: #888; }
.cert-pass { color: #1d8a4a; }
.muted-note { font-size: 13px; margin-top: 16px; }

@media (max-width: 860px) {
  .desc-grid { grid-template-columns: 1fr; }
  .topbar { font-size: 11px; }
}

/* ---------- v3: static pages, inline certificates ---------- */
.skip-link { position: absolute; left: -9999px; }
.footer-h { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.product-card img.vial, .hero-vials img.vial { height: auto; }
.inline-link { color: var(--gold-1); font-weight: 600; text-decoration: underline; }
.shop-intro { max-width: 900px; margin-bottom: 6px; }
.pdp-section { padding-top: 40px; }
.pdp-section > .container > .crumbs { margin-bottom: 26px; }
.crumbs span { color: var(--ink); }
.variants[hidden] { display: none; }
.tab-h { color: var(--ink); font-size: 22px; line-height: 1.3; margin-bottom: 14px; }
.spec-h { margin-top: 0 !important; }
.tab-panel > h3 { color: var(--ink); font-size: 18px; margin: 34px 0 6px; }
.faq-left { margin: 0; max-width: none; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 30px; }
.cert-figure { margin: 0; }
.cert-figure img { display: block; width: 100%; max-width: 760px; margin: 0 auto; height: auto; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.cert-figure figcaption { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink); text-align: center; }
.cert-frame { width: 100%; height: 640px; border: 1px solid var(--line); border-radius: 10px; }
.cert-placeholder {
  border: 2px dashed #ddd; border-radius: 14px; padding: 34px 24px; min-height: 360px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--light);
}
.cert-placeholder img { width: 70px; border: 0; box-shadow: none; opacity: .9; }
.cert-placeholder strong { color: var(--ink); }
.cert-placeholder span { font-size: 13px; max-width: 280px; }
.cert-placeholder .btn { margin-top: 6px; padding: 11px 24px; font-size: 12px; }
.coa-table thead th { background: var(--light); color: var(--ink); }
.coa-table tbody th { color: var(--ink); width: 200px; }

/* ---------- v4: checkout ---------- */
.checkout-section { padding: 50px 0 90px; }
.co-h1 { color: var(--black); font-size: 40px; font-weight: 800; text-transform: uppercase; letter-spacing: -.5px; margin: 8px 0 28px; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 50px; align-items: start; }
.fs { border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px 28px; margin-bottom: 22px; background: #fff; }
.fs legend { display: flex; align-items: center; gap: 12px; padding: 0 10px; margin-left: -10px; color: var(--ink); font-weight: 800; text-transform: uppercase; font-size: 15px; letter-spacing: .3px; }
.fs legend i { font-style: normal; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--gold-3); font-size: 12px; font-weight: 800; }
.field.full { grid-column: 1 / -1; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center; }
.field input.is-invalid { border-color: #d2334f; background: #fff6f7; }
.opt { display: flex; gap: 14px; align-items: flex-start; border: 2px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 0 0 12px; cursor: pointer; font-weight: 500; transition: border-color .2s, background .2s; }
.opt:last-child { margin-bottom: 0; }
.opt:hover { border-color: #d9d9d9; }
.opt:has(input:checked) { border-color: var(--gold-2); background: #fffaf1; }
.opt input { accent-color: var(--gold-1); width: 18px; height: 18px; margin-top: 2px; flex: 0 0 18px; }
.opt b { display: flex; justify-content: space-between; gap: 10px; color: var(--ink); font-size: 14px; }
.opt span { font-size: 13px; line-height: 1.5; }
.opt b span { font-size: 14px; }
.checks { display: grid; gap: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 14px; color: var(--text); margin: 0; cursor: pointer; }
.check input { accent-color: var(--gold-1); width: 18px; height: 18px; margin-top: 3px; flex: 0 0 18px; }
.check b { color: var(--ink); }
.check a { color: var(--gold-1); text-decoration: underline; }
.err-msg { color: #d2334f; font-weight: 600; font-size: 13px; margin-top: 14px; }
.place-order { min-height: 62px; font-size: 16px; }
.place-order:disabled { opacity: .7; cursor: wait; }
.help { font-size: 13px; margin-top: 12px; }
.center { text-align: center; }
.co-summary { background: var(--black); color: #ccc; border-radius: 24px; padding: 28px; position: sticky; top: 140px; }
.co-summary h2 { color: #fff; font-size: 18px; text-transform: uppercase; margin-bottom: 14px; }
.co-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid #222; }
.co-thumb { position: relative; width: 56px; height: 64px; background: #fff; border-radius: 10px; display: grid; place-items: center; }
.co-thumb img { width: 30px; height: auto; }
.co-thumb .cart-count { top: -7px; right: -7px; }
.co-name { color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; }
.co-meta { font-size: 12px; color: #999; }
.co-price { color: #fff; font-weight: 700; font-size: 14px; }
.promo-row { display: flex; gap: 8px; margin-top: 18px; }
.promo-row input { flex: 1; min-width: 0; font: inherit; font-size: 13px; padding: 11px 16px; border-radius: 999px; border: 1px solid #333; background: #111; color: #fff; outline: 0; text-transform: uppercase; }
.promo-row .btn { padding: 11px 20px; font-size: 12px; border: 1px solid #444; }
.promo-msg { font-size: 12px; margin-top: 8px; min-height: 1px; }
.promo-msg.ok { color: var(--gold-3); }
.promo-msg.bad { color: #ff7b93; }
.co-totals { margin-top: 14px; }
.co-totals > div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.co-totals b { color: #fff; }
.co-totals .gold, .co-totals .gold b { color: var(--gold-3); }
.co-totals .grand { border-top: 1px solid #333; margin-top: 8px; padding-top: 16px; color: #fff; font-size: 20px; font-weight: 800; }
.co-summary .help { color: #aaa; }
.co-summary.static { position: static; margin-top: 30px; }
.co-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid #222; font-size: 14px; }
.co-row b { color: #fff; }
.confirm { max-width: 760px; margin: 0 auto; }
.eyebrow { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.lead-sm { font-size: 17px; color: #333; margin-bottom: 24px; }
.confirm .notice { margin-bottom: 30px; font-size: 14px; }
.timeline { list-style: none; border-left: 2px solid var(--line); margin-left: 10px; padding-left: 26px; display: grid; gap: 22px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -35px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #ccc; }
.timeline li.done::before { background: var(--gold-2); border-color: var(--gold-2); }
.timeline b { display: block; color: var(--ink); }
.timeline span { font-size: 13px; }
.confirm-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

@media (max-width: 960px) {
  .checkout { grid-template-columns: 1fr; gap: 10px; }
  .co-summary { position: static; order: -1; margin-bottom: 20px; }
  .co-h1 { font-size: 30px; }
  .fs { padding: 20px 18px 22px; }
}

/* ---------- v5: wider vial artwork ---------- */
.product-card .thumb .vial { width: 64%; }
.pdp-media .vial { width: 66%; }
.hero-vials .vial { width: 190px; }
.cart-item .vial { width: 50px; height: auto; }
.co-thumb img { width: 40px; }
.cert-placeholder img { width: 80px; height: auto; }
@media (max-width: 860px) {
  .hero-vials .vial { width: 130px; }
  .pdp-media .vial { width: 78%; }
}

/* ---------- v6: contact preference ---------- */
.contact-pref { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-pref .check { border: 2px solid var(--line); border-radius: 999px; padding: 10px 20px; align-items: center; }
.contact-pref .check:has(input:checked) { border-color: var(--gold-2); background: #fffaf1; color: var(--ink); font-weight: 700; }
.contact-pref .check input { margin-top: 0; }

/* ---------- v7: footer payment list ---------- */
.site-footer .pay-list { list-style: none; display: grid; gap: 8px; }
.site-footer .pay-list li { font-size: 13px; font-weight: 600; color: #fff; padding-left: 18px; position: relative; }
.site-footer .pay-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); }
.site-footer .pay-note { font-size: 12px; color: #aaa; margin-top: 12px; }
.site-footer .pay-note a { color: var(--gold-3); }

/* ---------- v8 ---------- */
.next-h { color: var(--ink); font-size: 18px; text-transform: uppercase; margin: 6px 0 18px; }
.promo-msg b { color: var(--gold-3); }

/* ---------- v9: COA pending notice ---------- */
.coa-pending { background: #fffaf1; border-left: 4px solid var(--gold-2); border-radius: 8px; padding: 18px 22px; margin-bottom: 24px; }
.coa-pending p + p { margin-top: 12px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--ink); font-weight: 600; }
.coa-pending .btn { padding: 10px 22px; font-size: 12px; }

/* visually hidden, still read by screen readers and search engines */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* legal pages, footer legal links, 404 */
.legal-page { max-width: 820px; }
.legal-page h2 { color: var(--black); font-size: 24px; margin: 36px 0 12px; }
.legal-page h3 { font-size: 18px; margin: 22px 0 8px; }
.legal-page p, .legal-page li { line-height: 1.7; margin-bottom: 10px; }
.legal-page ul { padding-left: 22px; margin-bottom: 14px; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 10px; }
.legal-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lead-404 { margin: 14px auto 24px; max-width: 560px; }
.search-404 { display: flex; max-width: 420px; margin: 0 auto 24px; }
.search-404 input { flex: 1; }


.components { padding-left: 20px; margin: 0 0 16px; }
.components li { margin-bottom: 8px; line-height: 1.6; }

/* vial photos have a white background: multiply makes it disappear on light backgrounds */
img.vial { mix-blend-mode: multiply; height: auto; }
