/* ============================================================================
   Oryvex Research — CRIMSON / near-black design system
   Outfit is the single type family (headings, body, UI); IBM Plex Mono is used
   only for the promo countdown chip. Loaded via <link> in base.html.
   ========================================================================== */
:root {
  /* page + cards */
  --page: #fbf9f9;
  --card: #ffffff;
  --chip: #fdf3f4;
  --border: #ececec;
  /* text */
  --ink: #181818;
  --muted: #6b6b76;
  /* near-blacks (dark bands, footer, trust strip) */
  --deep: #181818;
  --deep2: #0f0f12;
  --band: #2b2b30;
  /* crimson accents */
  --royal: #e33548;
  --royal-dark: #c62a38;
  --indigo: #c62a38;
  --violet: #c62a38;
  --violet-2: #e33548;
  --amber: #ffa832;
  /* status */
  --green: #22c55e;
  --danger: #e33548;

  --shadow-sm: 0 6px 20px rgba(24, 24, 24, 0.05);
  --shadow-md: 0 10px 30px rgba(24, 24, 24, 0.09);
  --shadow-lg: 0 18px 48px rgba(15, 15, 18, 0.20);
  --radius: 14px;
  --radius-lg: 18px;
  --maxw: 1180px;
  --head: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --body: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--page);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4, .head { font-family: var(--head); font-weight: 800; letter-spacing: -0.015em; }
a { color: var(--indigo); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--head); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 30px; border: 1px solid transparent;
  cursor: pointer; transition: background .18s, color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn-primary { background: var(--royal); color: #fff; }
.btn-primary:hover { background: var(--violet); color: #fff; transform: translateY(-1px); }
.btn-outline-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-dark:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: #fff; color: var(--indigo); border-color: var(--border); }
.btn-outline:hover { border-color: var(--violet); color: var(--violet); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ─── Announcement / coupon bar ───────────────────────────────── */
.announce {
  background: linear-gradient(90deg, var(--violet), var(--violet-2));
  color: #fff; text-align: center; padding: 9px 40px 9px 16px; font-size: 13.5px;
  font-weight: 600; position: relative;
}
.announce a { color: #fff; text-decoration: underline; }
.announce-x {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; line-height: 1;
}

/* ─── Coupon code box + calculator ────────────────────────────── */
.code-box {
  font-family: var(--head); font-weight: 700; font-size: 22px; letter-spacing: .12em;
  color: var(--indigo); background: var(--chip); border: 1px dashed var(--violet);
  border-radius: 10px; padding: 12px; margin: 10px auto 8px; display: inline-block;
}
.calc-out { margin-top: 8px; }
.calc-out .co-line {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px solid var(--border); font-size: 14px;
}
.calc-out .co-line:last-child { border-bottom: none; }
.calc-out .co-line b { font-family: var(--head); color: var(--indigo); }
.calc-out .co-hint { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ─── Coupon field (checkout) ─────────────────────────────────── */
.coupon-row { display: flex; gap: 8px; margin: 6px 0 4px; }
.coupon-row input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; text-transform: uppercase; }
.coupon-msg { font-size: 12.5px; margin: 4px 0 0; }
.coupon-msg.ok { color: var(--green); }
.coupon-msg.err { color: var(--danger); }
.summary-row.discount span { color: var(--green); }

/* ─── Top strip ───────────────────────────────────────────────── */
.topstrip {
  background: var(--band); color: #fff; font-size: 12.5px; letter-spacing: .04em;
  text-align: center; padding: 8px 16px; text-transform: uppercase; font-weight: 500;
}
.topstrip span { opacity: .95; }

/* ─── Main nav ────────────────────────────────────────────────── */
.nav {
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 40;
}
.nav-inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand {
  font-family: var(--head); font-weight: 700; font-size: 21px; letter-spacing: .06em;
  color: var(--indigo); text-transform: uppercase; white-space: nowrap;
}
.nav-links { display: flex; gap: 26px; margin-left: 8px; flex: 1; }
.nav-links a { color: var(--ink); font-family: var(--head); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.nav-links a:hover { color: var(--violet); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; color: var(--ink); display: inline-flex; align-items: center;
  justify-content: center; cursor: pointer; position: relative; font-size: 16px;
  transition: background .15s, border-color .15s, color .15s;
}
.icon-btn:hover { background: var(--chip); color: var(--violet); border-color: var(--violet); }
.cart-badge {
  position: absolute; top: -4px; right: -4px; background: var(--violet); color: #fff;
  font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.nav-toggle { display: none; }

/* ─── Marquee / trust band ────────────────────────────────────── */
.marquee {
  background: var(--band); color: #fff; overflow: hidden; white-space: nowrap;
  padding: 11px 0; font-size: 13px; letter-spacing: .05em; text-transform: uppercase;
}
.marquee-track { display: inline-block; animation: marquee 26s linear infinite; }
.marquee-track span { padding: 0 10px; }
.marquee-track .sep { color: var(--violet-2); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.trustbar {
  background: #fff; border-bottom: 1px solid var(--border);
  display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
  padding: 12px 16px; font-size: 13.5px; color: var(--ink); font-weight: 500;
}
.trustbar .tick { color: var(--violet); font-weight: 700; margin-right: 6px; }

/* ─── Category chips ──────────────────────────────────────────── */
.chips { display: flex; gap: 10px; flex-wrap: wrap; padding: 18px 0; }
.chip {
  border: 1px solid var(--border); background: #fff; color: var(--ink);
  border-radius: 30px; padding: 8px 16px; font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--violet); color: var(--violet); }
.chip.active { background: var(--royal); color: #fff; border-color: var(--royal); }

/* ─── Sections / bands ────────────────────────────────────────── */
.section { padding: 56px 0; }
.section h2 { font-size: 30px; margin: 0 0 6px; text-transform: uppercase; }
.section .lead { color: var(--muted); margin: 0 0 28px; max-width: 640px; }
.band-dark {
  background: linear-gradient(165deg, var(--deep) 0%, var(--deep2) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.band-dark::after {
  content: ""; position: absolute; top: -120px; right: -80px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(227,53,72,.25), transparent 68%);
  pointer-events: none;
}
.band-dark h1, .band-dark h2, .band-dark h3 { color: #fff; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 30px;
  padding: 7px 15px; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }

/* ─── Product grid + cards ────────────────────────────────────── */
.grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.pcard {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pcard-img {
  position: relative; aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #fdf3f4, #fdf7f8);
  display: flex; align-items: center; justify-content: center;
}
.pcard-img img { width: 72%; height: 72%; object-fit: contain; mix-blend-mode: multiply; }
.sale-flag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--royal); color: #fff; font-family: var(--head);
  font-weight: 700; font-size: 11.5px; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 999px; text-transform: none;
  box-shadow: 0 4px 12px rgba(227,53,72,.28);
}
.purity-badge {
  position: absolute; top: 12px; right: 12px; width: 54px; height: 54px; border-radius: 50%;
  background: var(--violet); color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-family: var(--head); font-weight: 700;
  line-height: 1; box-shadow: 0 4px 12px rgba(227,53,72,.4);
}
.purity-badge .n { font-size: 16px; }
.purity-badge .l { font-size: 9px; letter-spacing: .08em; margin-top: 2px; }
.oos-overlay {
  position: absolute; inset: 0; background: rgba(26,15,51,.55); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--head);
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 15px;
}
.pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard-class { color: var(--violet); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pcard-name { font-family: var(--head); font-weight: 700; font-size: 18px; margin: 5px 0 10px; color: var(--ink); }
.variant-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.vpill {
  border: 1px solid var(--border); background: var(--chip); color: var(--indigo);
  border-radius: 30px; padding: 5px 11px; font-size: 12px; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s;
}
.vpill:hover { background: var(--violet); color: #fff; }
.vpill.active { background: var(--violet); color: #fff; border-color: var(--violet); }

/* Product-detail size dropdown */
.size-select {
  width: 100%; max-width: 440px; display: block; padding: 14px 44px 14px 16px;
  border: 1px solid var(--border); border-radius: 12px; font-size: 15px;
  font-family: var(--body); color: var(--ink); background-color: #fff; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b83a3' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 15px center;
}
.size-select:focus { outline: 2px solid var(--violet); border-color: var(--violet); }
.size-selected { margin: 10px 0 0; font-size: 14px; }
.size-selected .muted { text-transform: uppercase; letter-spacing: .06em; font-size: 11px; margin-right: 4px; }
.ruo-line { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); margin: 4px 0 12px; }
.divider { height: 1px; background: var(--border); margin: 4px 0 12px; }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
.price .from { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price .amt { font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--indigo); }
.price .strike { font-size: 13px; color: var(--muted); text-decoration: line-through; margin-left: 6px; }
.pcard-actions { display: flex; gap: 8px; align-items: center; }
.coa-eye {
  width: 40px; height: 40px; min-width: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; color: var(--indigo); display: inline-flex; align-items: center;
  justify-content: center; cursor: pointer; font-size: 16px; transition: background .15s, color .15s, border-color .15s;
}
.coa-eye:hover { background: var(--chip); color: var(--violet); border-color: var(--violet); }
.coa-status { font-size: 11.5px; font-weight: 600; }
.coa-ok { color: var(--green); }
.coa-pending { color: var(--muted); }

/* ─── Category tiles ──────────────────────────────────────────── */
.cat-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cat-tile {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-sm);
  transition: transform .16s, box-shadow .16s;
}
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cat-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--chip);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.cat-tile .cat-name { font-family: var(--head); font-weight: 600; color: var(--ink); }
.cat-tile .cat-count { font-size: 12.5px; color: var(--muted); }

/* ─── Feature / trust cards ───────────────────────────────────── */
.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; text-align: center; box-shadow: var(--shadow-sm);
}
.feature .ficon { font-size: 26px; }
.feature h3 { font-size: 16px; margin: 10px 0 6px; }
.feature p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ─── Stat row ────────────────────────────────────────────────── */
.stat-row { display: flex; flex-wrap: wrap; gap: 34px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 26px; margin-top: 30px; }
.stat .num { font-family: var(--head); font-weight: 700; font-size: 30px; color: #fff; }
.stat .lbl { font-size: 12.5px; color: #d4c4c7; letter-spacing: .03em; }

/* ─── Steps ───────────────────────────────────────────────────── */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--violet); color: #fff;
  font-family: var(--head); font-weight: 700; display: flex; align-items: center;
  justify-content: center; margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin: 0 0 6px; }
.step p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ─── FAQ accordion ───────────────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 16px 20px; font-family: var(--head); font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q .plus { color: var(--violet); font-size: 20px; transition: transform .2s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 20px; color: var(--muted); font-size: 14px; }
.faq-item.open .faq-a { max-height: 320px; padding: 0 20px 18px; }

/* ─── CTA band ────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(120deg, var(--royal), var(--violet));
  color: #fff; border-radius: var(--radius-lg); padding: 40px; text-align: center;
}
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0 0 20px; }

/* ─── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--deep2); color: #cfc4c6; padding: 48px 0 28px; font-size: 14px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: 30px; }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 14px; }
.footer a { color: #cfc4c6; display: block; margin-bottom: 8px; font-size: 13.5px; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; font-size: 20px; }
.footer-grid.four { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  align-items: center; border-top: 1px solid rgba(255,255,255,.10);
  padding: 18px 0; font-size: 12.5px; color: #9a9aa5;
}
.footer-bottom .fb-pay { color: #b9b9c2; }
.footer .disclaimer {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; color: #9a9aa5;
  font-size: 12.5px; line-height: 1.7;
}

/* ─── Cart drawer ─────────────────────────────────────────────── */
.overlay {
  position: fixed; inset: 0; background: rgba(26,15,51,.5); z-index: 60;
  opacity: 0; visibility: hidden; transition: opacity .2s;
}
.overlay.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 400px; max-width: 92vw;
  background: #fff; z-index: 70; transform: translateX(100%); transition: transform .25s;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.show { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { margin: 0; font-size: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 20px; }
.drawer-foot { border-top: 1px solid var(--border); padding: 18px 20px; }
.close-x { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--muted); line-height: 1; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item .ci-img { width: 54px; height: 54px; border-radius: 10px; background: var(--chip); flex: none; object-fit: contain; padding: 6px; }
.cart-item .ci-name { font-weight: 600; font-size: 14px; }
.cart-item .ci-meta { font-size: 12px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.qty button { border: none; background: #fff; width: 26px; height: 26px; cursor: pointer; color: var(--indigo); font-size: 15px; }
.qty span { min-width: 26px; text-align: center; font-size: 13px; }
.ci-remove { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 12px; }
.cart-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.summary-row.total { font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--indigo); }

/* ─── Modals ──────────────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 80; display: none; align-items: center;
  justify-content: center; padding: 20px; background: rgba(26,15,51,.55);
}
.modal.show { display: flex; }
.modal-card {
  background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 480px;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-card.wide { max-width: 760px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.modal-head h3 { margin: 0; font-size: 19px; }
.modal-body { padding: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px;
  font-family: var(--body); font-size: 14px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--violet); border-color: var(--violet); }
.field textarea { min-height: 90px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.coa-viewer img, .coa-viewer iframe { width: 100%; border-radius: 10px; border: 1px solid var(--border); }
.coa-viewer iframe { height: 560px; }

/* ─── Age gate ────────────────────────────────────────────────── */
.agegate {
  position: fixed; inset: 0; z-index: 200; background: linear-gradient(165deg, var(--deep), var(--deep2));
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.agegate-card {
  background: #fff; border-radius: var(--radius-lg); max-width: 460px; width: 100%;
  padding: 34px 30px; text-align: center; box-shadow: var(--shadow-lg);
}
.agegate-card .brand { color: var(--indigo); font-size: 20px; margin-bottom: 14px; }
.agegate-card h2 { font-size: 22px; margin: 0 0 12px; text-transform: uppercase; }
.agegate-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
.agegate-actions { display: flex; gap: 12px; }
.agegate-actions .btn { flex: 1; }

/* ─── Toast ───────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(24px);
  background: var(--deep2); color: #fff; padding: 13px 22px; border-radius: 30px;
  font-size: 14px; z-index: 300; opacity: 0; transition: opacity .2s, transform .2s;
  box-shadow: var(--shadow-lg); pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── Floating discount pill ──────────────────────────────────── */
.float-discount {
  position: fixed; bottom: 22px; left: 22px; right: auto; z-index: 50; background: var(--royal);
  color: #fff; border: none; border-radius: 30px; padding: 13px 20px; font-family: var(--head);
  font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: 0 10px 26px rgba(24,24,24,.45);
  display: inline-flex; align-items: center; gap: 8px; transition: background .18s, transform .18s;
}
.float-discount:hover { background: var(--violet); transform: translateY(-2px); }

/* ─── Hero ────────────────────────────────────────────────────── */
.hero { padding: 72px 0 60px; }
.hero .pill { margin-bottom: 20px; }
.hero h1 { font-size: 52px; line-height: 1.02; text-transform: uppercase; margin: 0 0 18px; }
.hero .sub { color: #d7d7de; font-size: 17px; max-width: 560px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── Product detail ──────────────────────────────────────────── */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pd-media { position: sticky; top: 92px; align-self: start; }
.pd-imgwrap { position: relative; background: linear-gradient(160deg, #fdf3f4, #fdf7f8); border-radius: var(--radius-lg); border: 1px solid var(--border); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.pd-imgwrap img { width: 70%; height: 70%; object-fit: contain; mix-blend-mode: multiply; }
.pd-class { color: var(--violet); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pd-title { font-size: 34px; text-transform: uppercase; margin: 6px 0 14px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.spec-table td { padding: 9px 0; border-bottom: 1px solid var(--border); }
.spec-table td:first-child { color: var(--muted); width: 42%; }
.ruo-banner {
  background: var(--chip); border: 1px solid var(--border); border-left: 4px solid var(--violet);
  border-radius: 10px; padding: 12px 16px; font-size: 13px; color: var(--ink); margin: 18px 0;
}
.notes-list { padding-left: 18px; color: #2b2b30; }
.notes-list li { margin-bottom: 8px; }
.coa-section { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-top: 30px; }

/* ─── Checkout ────────────────────────────────────────────────── */
.co-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.co-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.co-summary { position: sticky; top: 92px; }
.checkbox-line { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; background: var(--chip); padding: 14px; border-radius: 10px; border: 1px solid transparent; transition: border-color .15s, background .15s; }
.checkbox-line input { margin-top: 3px; }
.checkbox-line.invalid { border-color: var(--danger); background: #fdecef; color: var(--danger); animation: shakeX .32s 2; }
@keyframes shakeX { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.notice { background: #fff7ed; border: 1px solid #fed7aa; color: #92400e; border-radius: 10px; padding: 14px; font-size: 13.5px; margin: 16px 0; }

/* ─── Filters ─────────────────────────────────────────────────── */
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.filters input, .filters select { padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; background: #fff; }
.filters input { flex: 1; min-width: 220px; }
.hidden { display: none !important; }

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero h1 { font-size: 38px; }
  .pd-grid, .co-grid { grid-template-columns: 1fr; }
  .pd-media, .co-summary { position: static; }
  .footer-grid, .footer-grid.four { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 0; }
  .mobile-menu { display: block; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 31px; }
  .section h2 { font-size: 24px; }
  .footer-grid, .footer-grid.four { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .float-discount { padding: 11px 16px; font-size: 13px; }
}

/* Mobile menu panel */
.mobile-menu { display: none; background: #fff; border-bottom: 1px solid var(--border); }
.mobile-menu.show { display: block; }
.mobile-menu a { display: block; padding: 12px 24px; border-bottom: 1px solid var(--border); color: var(--ink); }

/* ============================================================================
   Reference-match visual layer (light hero, promo bar, feature bar, etc.)
   ========================================================================== */

/* Promo bar + countdown */
.promobar {
  background: linear-gradient(90deg, #c62a38, #e33548); color: #fff; text-align: center;
  padding: 9px 16px; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap;
  text-transform: uppercase;
}
.promo-star { color: #ffd166; }
.promo-ends { font-size: 11.5px; opacity: .9; }
.promo-chip {
  background: #181818; color: #fff; border-radius: 8px; padding: 3px 12px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}

/* Dark trust strip (overrides earlier .topstrip) */
.topstrip { background: #101013; color: #cfc4c6; padding: 9px 0; text-transform: none; letter-spacing: 0; }
.topstrip-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12.5px; }
.ts-left { display: flex; gap: 24px; flex-wrap: wrap; text-transform: uppercase; letter-spacing: .04em; }
.topstrip .tick { color: var(--violet-2); font-weight: 700; margin-right: 6px; }
.ts-right { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.ts-contact { color: #fff; font-weight: 600; letter-spacing: .01em; display: inline-flex; align-items: center; gap: 5px; }
.ts-contact:hover { color: var(--violet-2); }
.ts-ic { font-size: 13px; }

/* Centered nav links */
.nav-links { justify-content: center; }

/* Light hero */
.hero-light {
  background: radial-gradient(1100px 520px at 74% 32%, #fbe6e9 0%, #fdf3f4 52%, #fdf5f6 100%);
  border-bottom: 1px solid var(--border); overflow: hidden; position: relative;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; padding: 62px 24px 66px; }
.hero-copy { max-width: 560px; }
.pill-light {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border);
  color: var(--indigo); border-radius: 30px; padding: 8px 16px; font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.hero-title {
  font-family: var(--head); font-weight: 900; font-size: clamp(38px, 6vw, 68px); line-height: 1.0;
  letter-spacing: -0.028em; color: var(--ink); text-transform: uppercase; margin: 20px 0 18px;
}
.hero-title .accent { color: var(--violet); }
.hero-sub { color: #5b5560; font-size: 16.5px; max-width: 480px; margin: 0 0 26px; }
.hero-badges { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 30px; }
.hb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink); }
.hb-stars { color: #f5b301; letter-spacing: 2px; font-size: 15px; }
.hb-ic { font-size: 20px; }
.hb b { font-size: 13.5px; }
.hb-sub { color: var(--muted); font-size: 12px; }

/* Hero floating vials */
.hero-art { position: relative; min-height: 440px; }
.hero-art .hv { position: absolute; filter: drop-shadow(0 26px 38px rgba(24,24,24,.30)); }
/* PNGs are pre-tilted -12°; CSS adds variety on top */
.hv1 { width: 240px; left: 2%;  top: 22%; rotate: 0deg;  animation: floaty 6s ease-in-out infinite; z-index: 2; }
.hv2 { width: 270px; left: 31%; top: 0;   rotate: 16deg; animation: floaty 6s ease-in-out infinite .8s; z-index: 3; }
.hv3 { width: 225px; right: 2%; top: 32%; rotate: 26deg; animation: floaty 6s ease-in-out infinite 1.6s; z-index: 1; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }

/* Feature bar (5) */
.trust-features {
  background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 20px 14px; margin: 26px 0 6px;
}
.tf { display: flex; gap: 12px; align-items: flex-start; padding: 6px 14px; border-right: 1px solid var(--border); }
.tf:last-child { border-right: none; }
.tf-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--chip); display: flex; align-items: center; justify-content: center; font-size: 19px; flex: none; }
.tf b { font-family: var(--head); font-size: 14px; }
.tf span { font-size: 11.5px; color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }

/* Marquee — white pills */
.marquee-pills { padding: 20px 0; overflow: hidden; white-space: nowrap; }
.mp-track { display: inline-flex; gap: 16px; animation: marquee 34s linear infinite; }
.mp {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border);
  border-radius: 40px; padding: 8px 24px 8px 10px; font-size: 13.5px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.mp img { width: 34px; height: 34px; object-fit: contain; }

/* About band — copy + cards */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-title { font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; line-height: 1.06; margin: 16px 0 16px; }
.about-cards { display: flex; flex-direction: column; gap: 16px; }
.ac { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 22px 24px; }
.ac h4 { color: #fff; font-size: 16px; margin: 0 0 8px; }
.ac p { color: #d4c4c7; font-size: 13.5px; margin: 0; line-height: 1.6; }

/* Floating pill (gradient) + icon */
.float-discount { background: linear-gradient(90deg, var(--royal), var(--violet)); z-index: 75; }
.float-discount:hover { background: linear-gradient(90deg, var(--violet), var(--violet-2)); }
.fd-ic { font-size: 17px; }

/* Vial PNGs are transparent — don't multiply-blend them */
.pcard-img img { width: 84%; height: 84%; mix-blend-mode: normal; }
.pd-imgwrap img { width: 74%; height: 74%; mix-blend-mode: normal; }

/* Scroll-reveal statement */
.reveal-section {
  position: relative; height: 200vh;
  background: radial-gradient(1000px 600px at 60% 40%, #fbe6e9 0%, #fdf3f4 55%, #fdf6f7 100%);
}
.reveal-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.reveal-eyebrow {
  font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: .3em;
  text-transform: uppercase; color: var(--indigo); position: relative; z-index: 3;
}
.reveal-text {
  font-family: var(--head); font-weight: 900; font-size: clamp(46px, 12vw, 168px);
  line-height: .95; text-align: center; text-transform: uppercase; letter-spacing: -0.03em;
  margin: 0; max-width: 92vw; position: relative; z-index: 3;
}
.rv-word {
  color: #ececec; -webkit-text-stroke: 1px #e0d5d7;
  transition: color .35s ease, -webkit-text-stroke-color .35s ease; display: inline;
}
.rv-word.on { color: var(--violet); -webkit-text-stroke-color: var(--violet); }
.rv-vial {
  position: absolute; z-index: 1; filter: drop-shadow(0 20px 30px rgba(24,24,24,.22));
  animation: floaty 6s ease-in-out infinite;
}
.rv-v1 { width: 150px; left: 5%;  top: 16%;  opacity: .85; rotate: -8deg; }
.rv-v2 { width: 120px; right: 7%; bottom: 12%; opacity: .8;  rotate: 10deg; animation-delay: .9s; }
.rv-v3 { width: 100px; right: 16%; top: 14%;  opacity: .55; rotate: 16deg; animation-delay: 1.7s; }
@media (max-width: 640px) {
  .reveal-section { height: 160vh; }
  .rv-v1 { width: 90px; } .rv-v2 { width: 72px; } .rv-v3 { display: none; }
}

/* Shipping method + insurance (checkout) */
.ship-block { margin: 16px 0 8px; }
.ship-title { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.ship-opt {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.ship-opt[hidden] { display: none; }   /* class display:flex would otherwise override [hidden] */
.ship-opt input { accent-color: var(--royal); flex: none; }
.ship-opt.on { border-color: var(--violet); background: var(--chip); }
.ship-info { flex: 1; display: flex; flex-direction: column; }
.ship-info b { font-size: 13.5px; }
.ship-info small { font-size: 11.5px; color: var(--muted); }
.ship-price { font-family: var(--head); color: var(--indigo); white-space: nowrap; font-size: 14px; }

.ins-box {
  display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--border);
  border-radius: 12px; padding: 14px; margin: 6px 0 14px; cursor: pointer;
  transition: border-color .15s, background .15s; position: relative;
}
.ins-box input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ins-box.on { border-color: var(--green); background: #f0fdf4; }
.ins-check {
  width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--border);
  flex: none; display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.ins-box.on .ins-check { background: var(--green); border-color: var(--green); }
.ins-box.on .ins-check::after { content: "✓"; color: #fff; font-size: 14px; font-weight: 700; }
.ins-text { display: flex; flex-direction: column; }
.ins-text b { font-size: 13.5px; }
.ins-text small { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.ins-plus { color: var(--green); font-size: 12.5px; }

/* Customer reviews */
.reviews-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.reviews-summary { font-size: 15px; }
.rev-stars { color: #f5b301; letter-spacing: 1px; }
.rev-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.rev-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.rev-item-head { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.rev-meta { font-size: 12.5px; color: var(--muted); margin: 4px 0 0; }
.rev-body { font-size: 14px; color: #2b2b30; margin: 8px 0 0; }
.rev-form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.star-input { display: inline-flex; gap: 4px; }
.star-input .star { background: none; border: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--border); padding: 0 2px; transition: color .1s; }
.star-input .star.on { color: #f5b301; }
.rev-msg { font-size: 13px; margin: 12px 0 0; }
.rev-msg.ok { color: var(--green); }
.rev-msg.err { color: var(--danger); }

/* Product-page trust elements */
.pd-verified { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: -6px 0 16px; }
.verified-badge {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(34,197,94,.12);
  color: #15803d; border: 1px solid rgba(34,197,94,.35); border-radius: 30px;
  padding: 6px 14px; font-family: var(--head); font-weight: 700; font-size: 12.5px;
}
.pd-rating-note { font-size: 12.5px; color: var(--muted); }
.pd-trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 6px;
}
.pd-trust-item {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 12px;
}
.ptt-ic { font-size: 18px; flex: none; }
.pd-trust-item b { font-family: var(--head); font-size: 12.5px; display: block; line-height: 1.15; }
.pd-trust-item span { font-size: 11px; color: var(--muted); }
.quality-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.quality-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.quality-card b { font-family: var(--head); font-size: 14px; color: var(--ink); }
.quality-card p { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; line-height: 1.55; }
@media (max-width: 640px) {
  .pd-trust { grid-template-columns: repeat(2, 1fr); }
  .quality-grid { grid-template-columns: 1fr; }
}

/* Payment method picker (checkout) */
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.pay-opt { position: relative; display: inline-flex; }
.pay-opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.pay-opt span {
  display: inline-flex; align-items: center; border: 1px solid var(--border); background: #fff;
  color: var(--ink); border-radius: 30px; padding: 10px 16px; font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.pay-opt span:hover { border-color: var(--violet); }
.pay-opt input:checked + span { background: var(--royal); color: #fff; border-color: var(--royal); }
.pay-opt input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }

/* Catalog page (All Peptides) */
.catalog-search { position: relative; max-width: 560px; margin: 10px 0 16px; }
.catalog-search input {
  width: 100%; padding: 14px 18px 14px 46px; border: 1px solid var(--border);
  border-radius: 30px; font-size: 14.5px; background: #fff;
}
.catalog-search .cs-ico {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 18px; pointer-events: none;
}
.catalog-count {
  font-family: var(--head); font-weight: 700; font-size: 12.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--indigo); margin: 20px 0 16px;
}

/* COA gallery page */
.coa-page-hero { margin-bottom: 20px; }
.coa-filters { margin: 6px 0 12px; }
.coa-filters input {
  width: 100%; max-width: 540px; padding: 13px 18px; border: 1px solid var(--border);
  border-radius: 30px; font-size: 14px; background: #fff;
}
.coa-count {
  font-family: var(--head); font-weight: 700; font-size: 12.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--indigo); margin: 20px 0 16px;
}
.coa-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.coa-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .16s, box-shadow .16s;
}
.coa-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.coa-card-head {
  background: linear-gradient(120deg, var(--royal), var(--indigo)); color: #fff;
  padding: 18px 20px; display: flex; align-items: center; gap: 12px; position: relative;
}
.coa-ico {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center; font-size: 19px; flex: none;
}
.coa-card-name { font-family: var(--head); font-weight: 800; font-size: 18px; line-height: 1.1; }
.coa-card-cat { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.82); margin-top: 2px; }
.coa-badge {
  position: absolute; top: 16px; right: 18px; background: rgba(255,255,255,.2); color: #fff;
  font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 20px; letter-spacing: .05em;
}
.coa-card-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.coa-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.coa-trust b { font-family: var(--head); font-size: 12.5px; display: block; color: var(--ink); }
.coa-trust span { font-size: 10.5px; color: var(--muted); }
.coa-thumb {
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden; cursor: pointer;
  background: var(--chip); height: 210px; display: flex; align-items: flex-start; justify-content: center;
}
.coa-thumb img { width: 100%; object-fit: cover; object-position: top center; transition: transform .25s; }
.coa-thumb:hover img { transform: scale(1.03); }
.coa-card-actions { display: flex; gap: 8px; align-items: center; margin-top: auto; }
.coa-card-actions .btn-primary { flex: 1; }

/* Best Sellers carousel */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.sec-eyebrow { font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--indigo); }
h2.sec-title { font-family: var(--head); font-weight: 800; font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.03em; margin: 6px 0 10px; text-transform: none; }
.sec-sub { color: var(--muted); font-size: 15px; max-width: 420px; margin: 0; }
.sec-side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.seeall {
  background: var(--chip); color: var(--indigo); border-radius: 30px; padding: 13px 24px;
  font-family: var(--head); font-weight: 700; font-size: 12.5px; letter-spacing: .12em;
  text-transform: uppercase; white-space: nowrap;
}
.seeall:hover { background: var(--violet); color: #fff; }
.bs-arrows { display: flex; gap: 10px; }
.bs-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: #fff;
  color: var(--ink); font-size: 17px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s, border-color .15s;
}
.bs-arrow:hover { background: var(--chip); color: var(--violet); border-color: var(--violet); }
.bs-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 14px; scrollbar-width: none;
}
.bs-track::-webkit-scrollbar { display: none; }
.bs-card {
  scroll-snap-align: start; background: linear-gradient(180deg, #fdf2f4 0%, #fdfafa 100%);
  border: 1px solid var(--border); border-radius: 22px; padding: 20px; display: flex;
  flex-direction: column; transition: transform .16s, box-shadow .16s, border-color .16s;
}
.bs-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--violet); }
.bs-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.bs-name { font-family: var(--head); font-weight: 700; font-size: 17px; color: var(--ink); }
.bs-price { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.bs-price .fr { font-weight: 500; color: var(--muted); }
.bs-img { display: flex; align-items: center; justify-content: center; padding: 18px 0 10px; min-height: 250px; }
.bs-img img { width: 190px; filter: drop-shadow(0 20px 26px rgba(24,24,24,.22)); transition: transform .2s; }
.bs-card:hover .bs-img img { transform: scale(1.04) rotate(-2deg); }
.bs-foot { display: flex; gap: 10px; align-items: center; margin-top: auto; }
.bs-cart {
  width: 46px; height: 46px; min-width: 46px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; font-size: 17px; cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: background .15s, border-color .15s;
}
.bs-cart:hover { background: var(--chip); border-color: var(--violet); }
.bs-view {
  flex: 0 0 auto; background: #fff; border: 1px solid var(--border); color: var(--ink);
  border-radius: 30px; padding: 12px 24px; font-family: var(--head); font-weight: 600; font-size: 14px;
}
.bs-view:hover { border-color: var(--violet); color: var(--violet); }

/* Reference-match responsive */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 48px; }
  .hero-art { min-height: 340px; margin-top: 8px; }
  .trust-features { grid-template-columns: repeat(2, 1fr); }
  .tf { border-right: none; }
  .about-grid { grid-template-columns: 1fr; }
  .ts-left { display: none; }                 /* hide ticks, keep the contact numbers visible */
  .ts-right { flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 11.5px; }
  .topstrip-inner { justify-content: center; }
}
@media (max-width: 560px) {
  .trust-features { grid-template-columns: 1fr; }
  .hero-badges { gap: 16px; }
  .hv1 { width: 150px; } .hv2 { width: 170px; } .hv3 { width: 140px; }
}

/* ============================================================================
   MOBILE HARDENING — prevent horizontal overflow; tune layout for phones
   ========================================================================== */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, iframe, video { max-width: 100%; }

/* Grids can never exceed the viewport width (min() caps the track) */
.grid       { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.coa-grid   { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.cat-grid   { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .section { padding: 38px 0; }
  .nav-inner { gap: 10px; height: 60px; }
  .brand { font-size: 17px; letter-spacing: .04em; }
  /* declutter the top bar — these move into the ☰ menu */
  #askBtn, #calcBtn, #searchBtn { display: none; }
  .nav-actions { gap: 8px; }

  .promobar { font-size: 11.5px; gap: 8px; padding: 8px 12px; }
  .promo-chip { font-size: 11px; padding: 2px 8px; }
  .topstrip-inner { justify-content: center; }
  .ts-left { gap: 14px; font-size: 11.5px; }

  .hero-grid { grid-template-columns: 1fr; padding: 30px 16px 40px; }
  .hero-art { min-height: 300px; }
  .hero-badges { gap: 16px; }

  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sec-side { align-items: flex-start; }
  .bs-track { grid-auto-columns: 82vw; }

  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-features { grid-template-columns: 1fr 1fr; }
  .footer-grid, .footer-grid.four { grid-template-columns: 1fr 1fr; }

  .co-grid, .pd-grid { grid-template-columns: 1fr; }
  .co-summary, .pd-media { position: static; }
  .co-card { padding: 20px; }

  .modal { padding: 12px; align-items: flex-start; }
  .modal-card { margin-top: 24px; }
  .coa-viewer iframe { height: 70vh; }
  .drawer { width: 100%; max-width: 100%; }

  .reveal-section { height: 150vh; }
  .reveal-text { font-size: clamp(38px, 14vw, 90px); }
}

@media (max-width: 460px) {
  .trust-features { grid-template-columns: 1fr; }
  .footer-grid, .footer-grid.four { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(34px, 12vw, 52px); }
  .pd-title, .sec-title { font-size: 30px; }
  .hb { font-size: 12px; }
  .pay-opt span, .chip { font-size: 12.5px; padding: 8px 13px; }
  .btn { padding: 12px 20px; }
  .float-discount { padding: 11px 15px; font-size: 13px; bottom: 16px; left: 16px; }
  .coa-thumb { height: 240px; }
}

/* ============================================================================
   Oryvex homepage sections — dark hero, "independently tested" band, trust trio
   ========================================================================== */
.hero-dark {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 78% 12%, rgba(227,53,72,.30) 0%, rgba(227,53,72,0) 62%),
    linear-gradient(160deg, #181818 0%, #101013 58%, #1c1418 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(680px 340px at 12% 96%, rgba(227,53,72,.16) 0%, rgba(227,53,72,0) 70%);
}
.hero-dark-inner { position: relative; z-index: 1; padding: 86px 24px 92px; max-width: 900px; }
.pill-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  color: #f3d9dd; border-radius: 30px; padding: 8px 16px; font-size: 12px;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.hero-dark-title {
  font-family: var(--head); font-weight: 900; font-size: clamp(40px, 7vw, 82px);
  line-height: .98; letter-spacing: -0.03em; color: #fff; text-transform: uppercase;
  margin: 22px 0 20px;
}
.hero-dark-title .accent { color: var(--royal); }
.hero-dark-sub { color: #d7d7de; font-size: 17px; max-width: 560px; margin: 0 0 30px; }
.hero-dark .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* "Independently Tested Research Compounds" */
.tested-band { background: var(--chip); border-bottom: 1px solid var(--border); }
.tested-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; text-align: left;
}
.tc {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.tc-ic {
  width: 46px; height: 46px; border-radius: 14px; background: var(--chip);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.tc h3 { margin: 0 0 10px; font-size: 21px; }
.tc p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.tc-link { font-weight: 600; font-size: 14px; color: var(--royal); }

/* Trust trio */
.trio-band { background: var(--deep); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tr { color: #fff; }
.tr-ic {
  width: 50px; height: 50px; border-radius: 14px; background: rgba(227,53,72,.16);
  border: 1px solid rgba(227,53,72,.35);
  display: flex; align-items: center; justify-content: center; font-size: 23px; margin-bottom: 16px;
}
.tr h3 {
  color: #fff; margin: 0 0 10px; font-size: 17px;
  text-transform: uppercase; letter-spacing: .04em;
}
.tr p { color: #b9b9c2; font-size: 14px; margin: 0; }

/* Sale flag sits over the best-seller thumbnail too */
.bs-img { position: relative; }

@media (max-width: 900px) {
  .tested-cards { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; gap: 30px; }
  .hero-dark-inner { padding: 62px 24px 66px; }
}

/* ============================================================================
   SITE CHROME — matched to the reference storefront layout
   These rules come last, so they override the generic components above.
   ========================================================================== */
:root { --maxw: 1280px; --nav-h: 76px; }

body { background: #fff; }

/* ─── Announcement bar (sale + countdown + flag) ──────────────── */
.promobar {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #12040a 0%, #3a0a14 42%, #2a070f 72%, #12040a 100%);
  color: #fff; text-align: center; padding: 12px 60px; font-size: 13px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  letter-spacing: .06em; border: 0;
}
.promobar .pb-sale { font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.promobar .pb-div { opacity: .45; }
.promobar .pb-offer { font-weight: 700; color: #fff; letter-spacing: .02em; font-size: 14.5px; }
.promobar .pb-scope { letter-spacing: .16em; font-size: 11.5px; opacity: .9; text-transform: uppercase; }
.promobar .pb-ends { letter-spacing: .16em; font-size: 11.5px; opacity: .75; text-transform: uppercase; }
.promo-chip {
  background: #fff; color: #181818; border-radius: 30px; padding: 4px 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0; font-weight: 600;
}
.promobar .pb-flag { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; line-height: 1; }
.promobar .pb-spark { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(1.5px 1.5px at 12% 30%, #fff 40%, transparent 41%),
                    radial-gradient(1.5px 1.5px at 27% 70%, #fff 40%, transparent 41%),
                    radial-gradient(1.5px 1.5px at 44% 22%, #fff 40%, transparent 41%),
                    radial-gradient(1.5px 1.5px at 68% 74%, #fff 40%, transparent 41%),
                    radial-gradient(1.5px 1.5px at 83% 34%, #fff 40%, transparent 41%),
                    radial-gradient(1.5px 1.5px at 94% 64%, #fff 40%, transparent 41%); }

/* the dark tick strip from the old theme is not part of this layout */
.topstrip { display: none; }

/* ─── Header ──────────────────────────────────────────────────── */
.nav { background: #fff; border-bottom: 1px solid #f0f0f0; position: sticky; top: 0; z-index: 90; }
.nav-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--nav-h); gap: 20px;
}
.brand { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand .bd-main {
  font-family: var(--head); font-weight: 700; font-size: 27px; letter-spacing: .12em;
  color: var(--royal); text-transform: uppercase;
}
.brand .bd-sub {
  font-family: var(--head); font-weight: 500; font-size: 11.5px; letter-spacing: .42em;
  color: #181818; text-transform: uppercase; margin-top: 4px; padding-left: 2px;
}
.nav-links { display: flex; gap: 38px; justify-content: center; align-items: center; }
.nav-links a {
  font-family: var(--head); font-size: 16px; font-weight: 500; color: #181818;
  text-decoration: none; transition: color .15s;
}
.nav-links a:hover { color: var(--royal); }
.nav-links a.active { color: var(--amber); }
.nav-actions { display: flex; align-items: center; gap: 22px; justify-content: flex-end; }
.icon-btn {
  background: none; border: 0; padding: 0; width: auto; height: auto; border-radius: 0;
  font-size: 21px; color: #181818; cursor: pointer; position: relative; line-height: 1;
}
.icon-btn:hover { background: none; color: var(--royal); border: 0; }
.icon-btn svg { display: block; width: 21px; height: 21px; }
.cart-badge {
  position: absolute; top: -8px; right: -9px; background: var(--royal); color: #fff;
  min-width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.nav-actions .btn { display: none; }        /* reference header has icons only */
.nav-toggle { display: none; }
.chips { display: none; }                    /* category chips are not in this layout */

/* ─── Hero ────────────────────────────────────────────────────── */
.hero-dark {
  background: #1a0408; border: 0; min-height: 660px;
  display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero-dark::after { display: none; }
.hero-dark-inner { padding: 40px 24px; max-width: var(--maxw); width: 100%; margin: 0 auto; }
.hero-dark-title {
  font-family: var(--head); font-weight: 700; font-size: clamp(44px, 5.6vw, 78px);
  line-height: 1.06; letter-spacing: -0.005em; color: #fff; text-transform: uppercase;
  margin: 0 0 22px; max-width: 9ch;
}
.hero-dark-title .accent { color: #fff; }
.hero-eyebrow {
  color: #fff; font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
  margin: 0 0 34px; font-weight: 400;
}
.hero-dark .btn-primary {
  background: var(--royal); border-radius: 40px; padding: 17px 38px; font-size: 15px;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.hero-dark .btn-primary:hover { background: var(--royal-dark); transform: none; }

/* ─── Section rhythm ──────────────────────────────────────────── */
.section { padding: 84px 0; }
.sec-title, .section h2, .band h2 {
  font-family: var(--head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .005em; color: #181818; font-size: clamp(26px, 2.5vw, 34px); margin: 0 0 14px;
}
.section .lead, .sec-sub { color: #666; font-size: 15.5px; max-width: 860px; margin: 0 0 8px; }

/* "Independently tested" — stacked headings, exactly like the reference */
.tested-band { background: #fff; border: 0; padding-bottom: 30px; }
.tested-stack h2 { font-size: clamp(22px, 2.1vw, 29px); margin: 0 0 10px; }
.tested-stack .tb-block { margin-bottom: 34px; }
.tested-stack p { color: #666; font-size: 15.5px; margin: 0; max-width: 820px; }

/* ─── Product grid + card ─────────────────────────────────────── */
.grid, .bs-track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  overflow: visible; scroll-snap-type: none;
}
.pcard {
  background: #fff; border: 0; border-radius: 0; box-shadow: none; overflow: visible;
}
.pcard:hover { box-shadow: none; transform: none; }
.pcard-img {
  background: #ececec; aspect-ratio: 1 / 1; border-radius: 0; overflow: hidden;
  position: relative;
}
.pcard-img img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: normal; }
.purity-badge { display: none; }
.sale-flag {
  top: 14px; left: 14px; background: var(--royal); color: #fff; border-radius: 4px;
  font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: .04em;
  padding: 5px 12px; box-shadow: none; text-transform: uppercase;
}
.pcard-hover {
  position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateX(8px); transition: opacity .2s, transform .2s; z-index: 3;
}
.pcard:hover .pcard-hover { opacity: 1; transform: none; }
.ph-btn {
  width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 16px; color: #181818;
  box-shadow: 0 3px 12px rgba(0,0,0,.13);
}
.ph-btn:hover { background: var(--royal); color: #fff; }
.pcard-bag {
  position: absolute; right: 0; bottom: 0; width: 54px; height: 54px; border: 0; cursor: pointer;
  background: #181818; color: #fff; font-size: 17px; display: flex; align-items: center;
  justify-content: center; opacity: 0; transition: opacity .2s; z-index: 3;
}
.pcard:hover .pcard-bag { opacity: 1; }
.pcard-bag:hover { background: var(--royal); }
.pcard-body { padding: 16px 0 0; }
.pcard-class {
  color: #999; font-size: 11px; font-weight: 400; letter-spacing: .1em;
  text-transform: uppercase; display: block; margin-bottom: 7px;
}
.pcard-name {
  font-family: var(--head); font-weight: 500; font-size: 17px; color: #181818;
  text-transform: uppercase; letter-spacing: .01em; display: block; margin-bottom: 9px;
}
.pcard-name:hover { color: var(--royal); }
.variant-pills, .ruo-line, .divider, .pcard-actions, .coa-status { display: none; }
.price-row { display: block; margin: 0; padding: 0; border: 0; }
.price { display: flex; align-items: baseline; gap: 9px; }
.price .from { display: none; }
.price .amt { font-family: var(--head); font-size: 16px; font-weight: 500; color: #181818; }
.price .strike { font-size: 16px; color: #999; text-decoration: line-through; font-weight: 400; order: -1; }
.oos-overlay {
  position: absolute; inset: auto 0 0 0; background: rgba(255,255,255,.9); color: #181818;
  font-size: 12.5px; text-align: center; padding: 8px; letter-spacing: .04em;
}

/* ─── Crimson feature band ────────────────────────────────────── */
.trio-band { background: var(--royal); padding: 66px 0; }
.trio { grid-template-columns: repeat(3, 1fr); gap: 44px; text-align: center; }
.tr { color: #fff; }
.tr-ic {
  width: 56px; height: 56px; margin: 0 auto 18px; border: 0; background: none;
  display: flex; align-items: center; justify-content: center;
}
.tr-ic svg { width: 52px; height: 52px; stroke: #fff; fill: none; }
.tr h3 {
  color: #fff; font-family: var(--head); font-weight: 700; font-size: 19px;
  text-transform: uppercase; letter-spacing: .02em; margin: 0 0 12px;
}
.tr p { color: #fff; font-size: 14px; line-height: 1.65; max-width: 360px; margin: 0 auto; }

/* ─── About band (light, two-column with image) ───────────────── */
.about-band { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 0 24px; }
.about-band h2 { margin-bottom: 26px; }
.about-band h4 { font-family: var(--head); font-size: 16px; font-weight: 600; margin: 0 0 8px; color: #181818; }
.about-band p { color: #666; font-size: 15.5px; margin: 0 0 26px; }
.about-photo { border-radius: 4px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ─── FAQ accordion ───────────────────────────────────────────── */
.faq { border-top: 1px solid #e6e6e6; margin-top: 30px; }
.faq-item { border: 0; border-bottom: 1px solid #e6e6e6; border-radius: 0; background: #fff; }
.faq-q {
  font-family: var(--head); font-weight: 400; font-size: 16px; color: #181818;
  padding: 20px 4px; display: flex; align-items: center; gap: 14px; cursor: pointer;
}
.faq-q .plus { color: #181818; font-size: 17px; order: -1; width: 16px; }
.faq-item.open .faq-q .plus { transform: none; }
.faq-a { color: #666; font-size: 15px; padding: 0 4px 22px 34px; }

/* ─── Closing CTA + footer share one crimson→black gradient ───── */
.closing {
  background: linear-gradient(180deg, var(--royal) 0%, var(--royal) 34%, #7c1220 62%, #16070a 100%);
  color: #fff; text-align: center; padding: 96px 24px 20px;
}
.closing h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 16px; }
.closing p { color: rgba(255,255,255,.92); font-size: 16px; margin: 0 0 30px; }
.closing .btn {
  background: #fff; color: #181818; border-radius: 40px; padding: 15px 34px;
  font-weight: 600; font-size: 15px;
}
.closing .btn:hover { background: #181818; color: #fff; }

.footer { background: #16070a; color: #fff; padding: 60px 0 0; font-size: 14px; }
.footer.footer-joined { background: linear-gradient(180deg, #16070a 0%, #0d0406 100%); padding-top: 30px; }
.footer-grid.four { grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; margin-bottom: 44px; }
.footer h4 {
  color: #fff; font-family: var(--head); font-weight: 700; font-size: 17px;
  text-transform: uppercase; letter-spacing: .04em; margin: 0 0 18px;
}
.footer a { color: #fff; display: block; margin-bottom: 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.footer a:hover { color: #ffb9c1; }
.footer p { color: #fff; }
.footer .f-mark {
  width: 54px; height: 54px; border-radius: 50%; background: #16070a; border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  font-family: var(--head); font-weight: 700; font-size: 20px; color: #fff;
}
.footer .f-blurb { font-size: 14.5px; line-height: 1.7; margin: 0 0 18px; text-transform: none; }
.footer .f-mail { text-transform: none; }
.nl-inline { display: flex; background: #fff; border-radius: 4px; overflow: hidden; max-width: 370px; }
.nl-inline input { flex: 1; border: 0; padding: 15px 16px; font-family: var(--body); font-size: 14px; outline: none; }
.nl-inline button { border: 0; background: #fff; color: #181818; padding: 0 16px; cursor: pointer; font-size: 18px; }
.nl-inline button:hover { color: var(--royal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0; display: flex;
  flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center;
  font-size: 13.5px; color: #fff;
}
.fb-pay { display: flex; gap: 20px; align-items: center; color: #fff; font-size: 12px;
  font-weight: 600; letter-spacing: .04em; opacity: .92; }
.footer .disclaimer {
  border: 0; background: none; color: #fff; font-size: 12.5px; line-height: 1.75;
  padding: 4px 0 40px; opacity: .92;
}
.footer .disclaimer strong { letter-spacing: .04em; }

/* ─── Breadcrumb + product detail ─────────────────────────────── */
.crumb { color: #999; font-size: 14px; margin: 26px 0 22px; }
.crumb a { color: #999; }
.crumb a:hover { color: var(--royal); }
.pd-imgwrap { background: #ececec; border-radius: 0; position: relative; aspect-ratio: 1/1; }
.pd-imgwrap img { width: 76%; height: 76%; object-fit: contain; }
.pd-title { font-family: var(--head); font-weight: 700; font-size: 40px; text-transform: uppercase; margin: 0 0 12px; }
.pd-class, .pd-verified { display: none; }
.pd-range { font-family: var(--head); font-size: 21px; color: #181818; margin: 0 0 24px; }
.coa-box {
  background: #f5f5f5; border-radius: 4px; padding: 18px 20px; display: flex;
  align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px;
}
.coa-box b { display: block; font-family: var(--head); font-size: 16px; font-weight: 600; }
.coa-box span { color: #888; font-size: 13.5px; }
.coa-box .btn { border-radius: 4px; padding: 11px 26px; font-size: 14px; letter-spacing: .04em; }
.pd-strength-label { font-family: var(--head); font-weight: 600; font-size: 15.5px; margin: 0 0 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.swatch {
  border: 1px solid #e0e0e0; background: #f4f4f4; color: #181818; border-radius: 3px;
  padding: 9px 18px; font-family: var(--head); font-size: 14px; cursor: pointer; transition: .15s;
}
.swatch:hover { border-color: var(--royal); color: var(--royal); }
.swatch.active { background: var(--royal); border-color: var(--royal); color: #fff; }
.swatch-clear { background: none; border: 0; color: #181818; font-size: 13px; cursor: pointer;
  letter-spacing: .06em; text-transform: uppercase; padding: 0; margin-bottom: 18px; }
.pd-price { display: flex; align-items: baseline; gap: 14px; margin: 0 0 16px; }
.pd-price .was { font-size: 27px; color: #999; text-decoration: line-through; }
.pd-price .now { font-family: var(--head); font-size: 32px; font-weight: 600; color: var(--royal); }
.pd-stock { color: #2e9e5b; font-size: 14px; margin: 0 0 22px; }
.pd-buy { display: flex; gap: 14px; align-items: stretch; margin-bottom: 26px; }
.qty { display: flex; align-items: center; border: 1px solid #e0e0e0; border-radius: 3px; }
.qty button { border: 0; background: none; width: 40px; height: 100%; font-size: 18px; cursor: pointer; color: #181818; }
.qty input { width: 44px; border: 0; text-align: center; font-family: var(--body); font-size: 15px; outline: none; }
.pd-buy .btn-primary { border-radius: 3px; padding: 15px 40px; letter-spacing: .08em; text-transform: uppercase; }
.promo-card {
  background: linear-gradient(120deg, #1a0508, #3a0a14); color: #fff; border-radius: 6px;
  padding: 20px 24px; margin-bottom: 26px;
}
.promo-card b { font-family: var(--head); font-size: 18px; display: block; margin-bottom: 6px; }
.promo-card span { font-size: 13.5px; color: rgba(255,255,255,.82); }
.pd-meta { font-size: 15px; color: #444; line-height: 1.8; }
.pd-meta b { color: #181818; }
.pd-trust { display: none; }

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .grid, .bs-track { grid-template-columns: repeat(3, 1fr); }
  .nav-links { gap: 24px; }
}
@media (max-width: 900px) {
  .nav-inner { grid-template-columns: auto 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid, .bs-track { grid-template-columns: repeat(2, 1fr); }
  .trio { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .promobar { font-size: 11.5px; gap: 8px; padding: 10px 40px; flex-wrap: wrap; }
  .promobar .pb-scope, .promobar .pb-ends { display: none; }
  .hero-dark { min-height: 520px; background-position: 72% center; }
}
@media (max-width: 560px) {
  .grid, .bs-track { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-grid.four { grid-template-columns: 1fr; }
  .pd-title { font-size: 30px; }
}

/* ── Chrome fixes: reset inherited rules the reference layout doesn't use ── */
.nav-links a { text-transform: none; letter-spacing: 0; }

.faq { max-width: none; margin: 30px 0 0; }
.faq-q { justify-content: flex-start; }
.faq-a { max-height: 0; overflow: hidden; padding: 0 4px 0 34px; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 420px; padding: 0 4px 22px 34px; }

.closing h2 { text-transform: uppercase; letter-spacing: .01em; }

/* the footer's legal strip sits on flat black, below the gradient */
.footer.footer-joined { background: #16070a; }
.footer-legal { background: #000; margin-top: 8px; }
.footer-legal .wrap { padding-top: 4px; }
.footer-legal .footer-bottom { border-top: 0; }

/* the reference header carries no floating discount pill */
.float-discount { display: none; }

/* hero: match the reference's scale */
.hero-dark { min-height: 740px; }
.hero-dark-title { font-size: clamp(46px, 4.4vw, 74px); max-width: 11ch; }
.hero-eyebrow { font-size: 16px; letter-spacing: .06em; }

/* announcement bar type sizes */
.promobar { font-size: 13.5px; padding: 13px 60px; }
.promobar .pb-offer { font-size: 15.5px; }
.promo-chip { font-size: 12.5px; padding: 5px 15px; }

@media (max-width: 900px) { .hero-dark { min-height: 520px; } }

/* ─── Checkout, reference layout ──────────────────────────────── */
.co-h1 {
  font-family: var(--head); font-weight: 700; font-size: 36px; color: #181818;
  margin: 34px 0 22px;
}
.co-h2 {
  font-family: var(--head); font-weight: 700; font-size: 24px; color: #181818;
  margin: 32px 0 16px;
}
.co-card { border: 0; box-shadow: none; padding: 0; background: none; }
.co-summary { background: #fafafa; border: 1px solid #ececec; border-radius: 8px; padding: 26px; }
.acct-box { border: 1px solid #e4e4e4; border-radius: 8px; padding: 22px; margin-bottom: 8px; }
.acct-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.acct-head b { font-family: var(--head); font-size: 17px; display: block; }
.acct-head span { color: #777; font-size: 14px; }
.checkout-page .field input,
.checkout-page .field select,
.checkout-page .field textarea {
  border: 1px solid #dcdcdc; border-radius: 6px; padding: 15px 16px; font-size: 15px;
}
.add-link {
  background: none; border: 0; color: var(--royal); font-family: var(--body);
  font-size: 14.5px; cursor: pointer; padding: 0 0 14px; display: inline-flex;
  align-items: center; gap: 9px;
}
.add-link:hover { text-decoration: underline; }
.al-ic { font-size: 16px; }

.prot-box {
  display: flex; align-items: center; gap: 14px; background: #fdeef0;
  border: 1px solid #f6d4d9; border-radius: 8px; padding: 18px 20px; margin: 8px 0 6px;
  cursor: pointer;
}
.prot-ic { font-size: 20px; color: var(--royal); }
.prot-text { flex: 1; }
.prot-text b { font-family: var(--head); font-size: 16px; display: block; }
.prot-text small { color: #777; font-size: 13.5px; }
.prot-box input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch {
  width: 52px; height: 29px; border-radius: 30px; background: #cfcfcf; position: relative;
  flex: none; transition: background .18s;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 23px; height: 23px;
  border-radius: 50%; background: #fff; transition: transform .18s;
}
.prot-box input:checked ~ .switch { background: var(--royal); }
.prot-box input:checked ~ .switch::after { transform: translateX(23px); }

.cert-box { border: 1px solid #e4e4e4; border-radius: 8px; padding: 20px; margin: 22px 0 20px; }
.cert-box .checkbox-line { display: flex; gap: 13px; align-items: flex-start; }
.cert-box label { font-size: 14.5px; color: #444; font-weight: 400; margin: 0; line-height: 1.6; }
.co-submit {
  border-radius: 6px; padding: 20px; font-size: 17px; font-weight: 600;
  letter-spacing: .01em; text-transform: none;
}
.pay-methods { gap: 10px; }
.pay-opt { border: 1px solid #dcdcdc; border-radius: 6px; padding: 14px 16px; }

/* ─── Motion: entrance reveals + hover states ─────────────────── */
@media (prefers-reduced-motion: no-preference) {
  [data-anim] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1),
                transform .7s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
  }
  [data-anim="left"]  { transform: translateX(-34px); }
  [data-anim="right"] { transform: translateX(34px); }
  [data-anim="zoom"]  { transform: scale(.94); }
  [data-anim].in { opacity: 1; transform: none; }

  /* hero copy drifts up on load */
  .hero-dark-inner > * { animation: heroIn .9s cubic-bezier(.22,.61,.36,1) both; }
  .hero-dark-title     { animation-delay: .10s; }
  .hero-eyebrow        { animation-delay: .22s; }
  .hero-dark .btn      { animation-delay: .34s; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
}

/* product card: image lifts and zooms, name shifts to crimson */
.pcard-img img { transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.pcard:hover .pcard-img img { transform: scale(1.07) translateY(-4px); }
.pcard-img::after {
  content: ""; position: absolute; inset: 0; background: rgba(24,24,24,.05);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.pcard:hover .pcard-img::after { opacity: 1; }
.pcard-name { transition: color .2s; }

/* nav links grow an underline */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--royal); transform: scaleX(0); transform-origin: right;
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* buttons + icons */
.btn { transition: background .22s, color .22s, transform .22s, box-shadow .22s; }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(227,53,72,.32); transform: translateY(-2px); }
.closing .btn:hover { transform: translateY(-2px); }
.icon-btn { transition: color .2s, transform .2s; }
.icon-btn:hover { transform: translateY(-2px); }
.tr, .tc { transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.tr:hover, .tc:hover { transform: translateY(-5px); }

/* the sale bar's countdown ticks with a soft pulse */
@media (prefers-reduced-motion: no-preference) {
  .promo-chip { animation: chipPulse 2.6s ease-in-out infinite; }
  @keyframes chipPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 55% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } }
}

/* the hero image drifts very slowly — the "fluid" feel of the reference */
@media (prefers-reduced-motion: no-preference) {
  .hero-dark { animation: heroDrift 26s ease-in-out infinite alternate; }
  @keyframes heroDrift {
    from { background-position: center right; background-size: cover; }
    to   { background-position: 46% center;   background-size: 112%; }
  }
}

/* ─── Hero: two drifting layers instead of a static background ─── */
.hero-bg {
  position: absolute; inset: -6%;            /* bleed, so motion never shows an edge */
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
}
.hero-dark-inner { position: relative; z-index: 2; }
/* a soft light that drifts across the molecules — motion without ghosting */
.hero-sheen {
  position: absolute; inset: -20%; z-index: 1; pointer-events: none;
  background:
    radial-gradient(46% 52% at 62% 38%, rgba(255,120,132,.20) 0%, rgba(255,120,132,0) 62%),
    radial-gradient(38% 44% at 32% 74%, rgba(227,53,72,.16) 0%, rgba(227,53,72,0) 66%);
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg   { animation: heroFloatA 21s ease-in-out infinite alternate; }
  .hero-sheen { animation: heroSheen 14s ease-in-out infinite alternate; }
  @keyframes heroFloatA {
    from { transform: scale(1.08) translate3d(0, 0, 0) rotate(0deg); }
    35%  { transform: scale(1.15) translate3d(-3.6%, -2.6%, 0) rotate(.8deg); }
    70%  { transform: scale(1.11) translate3d(2.8%, 2.0%, 0) rotate(-.7deg); }
    to   { transform: scale(1.17) translate3d(4.0%, -2.2%, 0) rotate(.5deg); }
  }
  @keyframes heroSheen {
    from { transform: translate3d(-4%, -2%, 0) scale(1);    opacity: .75; }
    50%  { transform: translate3d(3%, 2.5%, 0) scale(1.12); opacity: 1; }
    to   { transform: translate3d(5%, -3%, 0) scale(1.05);  opacity: .8; }
  }
}
/* the old background-position animation is superseded by the layers above */
.hero-dark { animation: none !important; }

/* ─── Product imagery ─────────────────────────────────────────────
   Tiles are square and already flat-filled to the panel grey (#ECECEC) by
   scripts/import_photos.py, so they fill the panel edge-to-edge — no inset,
   no visible tile boundary, no double background. */
.pcard-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.pd-imgwrap img { width: 100%; height: 100%; object-fit: contain; }
