/*
Theme Name: PeptidePharm
Theme URI: https://peptidepharm.com
Author: PeptidePharm
Author URI: https://peptidepharm.com
Description: Custom WooCommerce theme for PeptidePharm — dark/magenta brand, multi-variant PDPs, RUO-compliant regwall, GoAffPro integration. Hand-built to match the original custom HTML site pixel-for-pixel.
Version: 1.0.0
License: Proprietary
Text Domain: peptidepharm
Tags: ecommerce, woocommerce, dark-mode, custom-colors
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
*/

/* ============================================================ */
/*  BASE — Brand variables                                       */
/* ============================================================ */
:root {
  /* Brand accent colors */
  --ruby: #E91E63;
  --ruby-deep: #B0124B;
  --ruby-light: #FF4D85;
  --ruby-1: #FF4D85;
  --ruby-0: rgba(233, 30, 99, 0.4);
  --ruby-glow: rgba(233, 30, 99, 0.18);
  --magenta-deep: #B0124B;

  /* Background ladder — TRUE BLACK canvas with stepped paper surfaces (HTML build parity) */
  --page: #000000;
  --bg-base: #000000;
  --paper: #0E0F13;
  --paper-2: #16181D;
  --paper-3: #1E2026;
  --bg-elevated: #0E0F13;
  --bg-panel: #16181D;
  --bg-surface: #1E2026;
  --ink-surface: #16181D;

  /* Ink ladder */
  --ink-2: #F5F5F7;
  --ink-1: #C8CACE;
  --silver-1: #E0E2E6;
  --silver-2: #BFC2C7;
  --silver-3: #9DA0A6;
  --silver-4: #6E7178;

  /* Lines */
  --line-1: #262830;
  --line-2: #3A3D43;
  --line-3: #52555C;
  --chrome-line: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  --chrome-grad: linear-gradient(180deg, #FAFAFA 0%, #E0E0E2 50%, #C8C8CC 100%);

  /* Type system — 2 fonts: Manrope for everything narrative + UI,
     JetBrains Mono for specs/labels/lab-data. Playfair Display was
     removed; --font-display now aliases to Manrope (heavy weight applied
     at the selector level) so any legacy references stay in-brand. */
  --font-display: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing — 8-step editorial scale (20 instead of 16 for air, fluid section token) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 20px;
  --s-5: 32px;
  --s-6: 48px;
  --s-7: 80px;
  --s-8: 128px;
  --s-section: clamp(72px, 10vh, 140px);
  /* Legacy aliases for existing markup */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radii — 3 levels only. Pills reserved for status badges, NOT CTAs */
  --r-sharp: 2px;
  --r-soft: 4px;
  --r-pill: 999px;
  --radius-sm: 2px;
  --radius: 2px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --radius-pill: 999px;

  /* Shadow system — 3 elevations, color-tinted, never single-layer */
  --shadow-soft: 0 1px 2px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.45);
  --shadow-mid: 0 2px 4px rgba(0,0,0,.45), 0 12px 32px rgba(0,0,0,.55);
  --shadow-ruby: 0 0 0 1px var(--ruby), 0 12px 32px -4px var(--ruby-glow);

  /* Motion — slow-strong-out for "lab equipment" feel, spring for hover bounces */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 0.18s;
  --dur-default: 0.32s;
  --dur-scene: 0.6s;
}

/* ============================================================ */
/*  RESET / BASE                                                 */
/* ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

/* ============================================================ */
/*  GLOBAL OVERFLOW GUARD                                         */
/* ============================================================ */
/* Off-canvas elements (cart drawer, mobile menu) are positioned
   `position: fixed` with `transform: translateX(...)` to hide them
   off-screen. iOS Safari still includes them in scrollWidth, which
   makes the page render zoomed-out on mobile. Clip the html/body
   to viewport so the off-canvas elements can't bleed into scroll. */
html, body { overflow-x: clip; }
/* `overflow-x: clip` is modern; fall back to hidden for older Safari */
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
/* Make sure no element accidentally pushes wider than viewport */
img, table, video, iframe, pre { max-width: 100%; }

/* WP standard screen-reader-only utility — used by the skip-to-content link */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--bg-elevated);
  border-radius: 4px;
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: var(--ink-1);
  display: block;
  font-size: 14px;
  font-weight: 600;
  height: auto;
  left: 6px;
  padding: 12px 18px;
  text-decoration: none;
  top: 6px;
  width: auto;
  z-index: 100001;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg-base);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

a { color: var(--ruby); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--ruby-light); }

/* ============================================================ */
/*  TYPOGRAPHY                                                   */
/* ============================================================ */
/* Display headings: Playfair Display UPRIGHT (not italic) — editorial pharma feel.
   Body / meta / nav / buttons keep Manrope for sans precision. */
h1, h2 {
  font-family: var(--font-display);
  color: var(--ink-2);
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  margin: 0 0 var(--s-4);
}
h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-2);
  font-weight: 500;
  font-style: normal;
  line-height: 1.1;
  margin: 0 0 var(--s-3);
}
h1 { font-size: clamp(36px, 4.6vw, 76px); letter-spacing: -0.015em; }
h2 { font-size: clamp(32px, 4.4vw, 64px); letter-spacing: -0.035em; line-height: 1.02; }
h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; }
h4 { font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.015em; }

p { margin: 0 0 var(--s-4); color: var(--ink-1); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--silver-4);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  display: block;
}
.eyebrow.ruby { color: var(--ruby); }
/* Removed `.eyebrow::before { content: '— '; }` — markup already includes the em-dash, was rendering "— — Catalog" everywhere. */

.ruby { color: var(--ruby); }

/* ============================================================ */
/*  LAYOUT — 1400 max, fluid gutters                              */
/* ============================================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

.section { padding: var(--s-section) 0; }
.section--tight { padding: var(--s-6) 0; }
.section--alt { background: var(--paper); }

/* ============================================================ */
/*  BUTTONS — flat, sharp (2px radius), sans body font            */
/*  Pills are NOT default. .btn--pill opt-in for status badges    */
/* ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sharp);
  cursor: pointer;
  transition: background var(--dur-default) var(--ease), border-color var(--dur-default) var(--ease), color var(--dur-default) var(--ease), transform var(--dur-default) var(--ease-spring), box-shadow var(--dur-default) var(--ease);
  white-space: nowrap;
}
.btn:hover {
  border-color: var(--ruby);
  color: var(--ruby);
  background: rgba(233, 30, 99, 0.05);
}
.btn--ruby {
  background: var(--ruby);
  color: #FFFFFF;
  border-color: var(--ruby);
  box-shadow: var(--shadow-ruby);
}
.btn--ruby:hover {
  background: var(--ruby-deep);
  color: #FFFFFF;
  border-color: var(--ruby-deep);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--ruby-deep), 0 16px 36px -6px var(--ruby-glow);
}
/* Liquid chrome button — the standout from the HTML build */
/* Liquid chrome — clean brushed metallic finish, no fuzzy/torn artifacts */
.btn--liquid {
  background: linear-gradient(180deg, #F4F4F6 0%, #E0E0E4 48%, #C8C8CE 52%, #ECECEF 100%);
  color: #0E0F13;
  border: 1px solid #9A9AA2;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(0,0,0,0.12),
    0 1px 2px rgba(0,0,0,0.5),
    0 4px 12px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}
/* Polished highlight sweep on hover — crisp, not fuzzy */
.btn--liquid::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 30%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.65) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}
.btn--liquid:hover {
  color: #0E0F13;
  border-color: #6E6E78;
  background: linear-gradient(180deg, #FFFFFF 0%, #EAEAEE 48%, #D4D4DA 52%, #F0F0F4 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(0,0,0,0.14),
    0 2px 4px rgba(0,0,0,0.55),
    0 12px 28px rgba(0,0,0,0.4);
}
.btn--liquid:hover::after { left: 110%; }

.btn--lg { padding: 17px 34px; font-size: 15px; }
.btn--sm { padding: 11px 22px; font-size: 13px; }
.btn .arr { display: inline-block; transition: transform var(--dur-default) var(--ease-spring); }
.btn:hover .arr { transform: translateX(4px); }

/* ============================================================ */
/*  HEADER / NAV                                                 */
/* ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-1);
  padding: var(--space-md) 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--ink-1);
  font-family: var(--font-display);
  font-style: normal;
  font-size: 22px;
}
.nav__logo img { width: 32px; height: 32px; }
.nav__logo .sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--silver-4);
  text-transform: uppercase;
  font-style: normal;
  margin-top: 2px;
}
.nav__links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav__links a:hover, .nav__links a.active { color: var(--ruby); }
.nav__cta { display: flex; gap: var(--space-sm); align-items: center; }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-base);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--line-1);
    transform: translateY(-200%);
    transition: transform 0.3s ease;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__toggle { display: block; padding: var(--space-sm); }
}

/* ============================================================ */
/*  FOOTER                                                       */
/* ============================================================ */
.site-footer {
  background: #08080A;
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--line-1);
}
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.footer__brand p { color: var(--silver-3); font-size: 13px; max-width: 340px; }
.footer__logo { display: inline-block; margin-bottom: var(--space-md); }
.footer__logo-img {
  width: auto;
  height: 80px;
  max-width: 260px;
  display: block;
  object-fit: contain;
}
@media (max-width: 900px) {
  .footer__logo-img { height: 64px; max-width: 220px; }
}
.footer__brand .addr {
  margin-top: var(--space-md);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--silver-4);
  text-transform: uppercase;
}
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--ruby);
  text-transform: uppercase;
  margin: 0 0 var(--space-md);
  font-weight: 700;
  font-style: normal;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: var(--space-sm); }
.footer__col a {
  color: var(--silver-3);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--ink-1); }
.footer__disclaimer { border-top: 1px solid var(--line-1); padding-top: var(--space-lg); margin-top: var(--space-lg); }
.footer__disclaimer h5 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--ruby);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.footer__disclaimer p { font-size: 11px; color: var(--silver-4); line-height: 1.6; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line-1);
  margin-top: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--silver-4);
  text-transform: uppercase;
}
.footer__bottom .ruo { color: var(--ruby); }

@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================================ */
/*  ANIMATIONS — Reveal on scroll                                */
/* ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ============================================================ */
/*  LEGAL CALLOUT BOX                                            */
/* ============================================================ */
.legal-callout {
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.08) 0%, rgba(176, 18, 75, 0.04) 100%);
  border: 1px solid rgba(233, 30, 99, 0.4);
  border-left-width: 3px;
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-lg) 0;
}
.legal-callout strong:first-child {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--ruby);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

/* ============================================================ */
/*  WOOCOMMERCE OVERRIDES — Loaded separately in woocommerce.css */
/* ============================================================ */

/* ============================================================ */
/*  REGWALL OVERLAY                                              */
/* ============================================================ */
.regwall {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-base);
  backdrop-filter: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  overflow-y: auto;
}
/* Hex molecule pattern fills the full regwall background — not just inside the panel */
.regwall::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='45' viewBox='0 0 26 45'><defs><radialGradient id='b' cx='0.30' cy='0.25'><stop offset='0%25' stop-color='%23FFFFFF'/><stop offset='55%25' stop-color='%23FFFFFF'/><stop offset='85%25' stop-color='%23FFD0E0'/><stop offset='100%25' stop-color='%23FFB0CC'/></radialGradient></defs><g fill='none' stroke='%23FFC8DC' stroke-width='1.0' stroke-opacity='0.4'><path d='M13 0 L26 7.5 L26 22.5 L13 30 L0 22.5 L0 7.5 Z'/><path d='M0 22.5 L13 30 L13 45 L0 52.5 L-13 45 L-13 30 Z'/><path d='M26 22.5 L39 30 L39 45 L26 52.5 L13 45 L13 30 Z'/></g><g><circle cx='13' cy='0' r='2.6' fill='url(%23b)'/><circle cx='26' cy='7.5' r='2.6' fill='url(%23b)'/><circle cx='0' cy='7.5' r='2.6' fill='url(%23b)'/><circle cx='26' cy='22.5' r='2.6' fill='url(%23b)'/><circle cx='0' cy='22.5' r='2.6' fill='url(%23b)'/><circle cx='13' cy='30' r='2.6' fill='url(%23b)'/><circle cx='13' cy='45' r='2.6' fill='url(%23b)'/></g></svg>");
  background-repeat: repeat;
  background-size: 110px 190px;
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 0%, transparent 18%, #000 70%);
  mask-image: radial-gradient(ellipse at center, transparent 0%, transparent 18%, #000 70%);
}
.regwall__panel {
  max-width: 560px;
  width: 100%;
  background: rgba(15, 16, 22, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-1);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  z-index: 1;
}
/* No more decor INSIDE the panel — the page background handles it */
.regwall__decor { display: none; }
.regwall__panel h2 { margin-bottom: var(--space-md); }
.regwall__heading {
  font-family: var(--font-body) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-size: clamp(28px, 3.5vw, 36px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.5px !important;
  position: relative;
  z-index: 1;
  color: var(--ink-1);
}
.regwall__panel p { font-size: 14px; color: var(--ink-2); position: relative; z-index: 1; }
.regwall__sub { color: var(--silver-3); font-size: 13px; margin-bottom: var(--space-lg); position: relative; z-index: 1; }
.regwall__form { position: relative; z-index: 1; }
.regwall__feats { display: flex; gap: var(--space-md); justify-content: center; margin: var(--space-lg) 0; position: relative; z-index: 1; }
.regwall__feat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; color: var(--silver-4); text-transform: uppercase; text-align: center; }
.regwall__feat .ft { color: var(--ruby); font-size: 13px; font-weight: 700; display: block; margin-bottom: 4px; }
.regwall__feat .fs { color: var(--silver-4); font-size: 9px; }

/* Hex molecule decoration inside regwall panel — subtle backdrop */
.regwall__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='45' viewBox='0 0 26 45'><defs><radialGradient id='b' cx='0.30' cy='0.25'><stop offset='0%25' stop-color='%23FFFFFF'/><stop offset='55%25' stop-color='%23FFFFFF'/><stop offset='85%25' stop-color='%23FFD0E0'/><stop offset='100%25' stop-color='%23FFB0CC'/></radialGradient></defs><g fill='none' stroke='%23FFC8DC' stroke-width='1.0' stroke-opacity='0.45'><path d='M13 0 L26 7.5 L26 22.5 L13 30 L0 22.5 L0 7.5 Z'/><path d='M0 22.5 L13 30 L13 45 L0 52.5 L-13 45 L-13 30 Z'/><path d='M26 22.5 L39 30 L39 45 L26 52.5 L13 45 L13 30 Z'/></g><g><circle cx='13' cy='0' r='2.6' fill='url(%23b)'/><circle cx='26' cy='7.5' r='2.6' fill='url(%23b)'/><circle cx='0' cy='7.5' r='2.6' fill='url(%23b)'/><circle cx='26' cy='22.5' r='2.6' fill='url(%23b)'/><circle cx='0' cy='22.5' r='2.6' fill='url(%23b)'/><circle cx='13' cy='30' r='2.6' fill='url(%23b)'/><circle cx='13' cy='45' r='2.6' fill='url(%23b)'/></g></svg>");
  background-repeat: repeat;
  background-size: 100px 173px;
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 0%, transparent 25%, #000 90%);
  mask-image: radial-gradient(ellipse at center, transparent 0%, transparent 25%, #000 90%);
}

/* Topbar removed per request — was pushing hero content down. */
.topbar { display: none !important; }

/* ============================================================ */
/*  CART DRAWER — slide-in from right when nav cart is clicked  */
/* ============================================================ */
.cart-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(8, 8, 10, 0.6);
  backdrop-filter: blur(6px);
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.cart-drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  background: var(--bg-elevated);
  border-left: 1px solid var(--line-1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
  z-index: 9100;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  display: flex;
  flex-direction: column;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 24px;
  border-bottom: 1px solid var(--line-1);
}
.cart-drawer__title {
  font-family: var(--font-body); font-weight: 700;
  font-size: 24px; color: var(--ink-1); margin: 6px 0 0;
}
.cart-drawer__close {
  background: transparent; border: 0; color: var(--silver-3); cursor: pointer;
  padding: 4px; transition: color 0.2s;
}
.cart-drawer__close:hover { color: var(--ruby); }
.cart-drawer__compliance {
  padding: 12px 24px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 1.5px;
  color: var(--silver-4); text-transform: uppercase;
  background: var(--bg-panel); border-bottom: 1px solid var(--line-1);
}
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-drawer__loading {
  text-align: center; padding: 40px 0; color: var(--silver-4);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
}
.cart-drawer__body .woocommerce-mini-cart, .cart-drawer__body ul.cart_list {
  list-style: none; margin: 0; padding: 0;
}
.cart-drawer__body .woocommerce-mini-cart__total,
.cart-drawer__body .woocommerce-mini-cart__buttons,
.cart-drawer__body .total { display: none; }
.cart-drawer__body li.mini_cart_item {
  display: flex; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--line-1); align-items: flex-start;
}
.cart-drawer__body li.mini_cart_item img {
  width: 60px; height: 60px; object-fit: contain;
  background: var(--bg-panel); border-radius: var(--radius); padding: 6px; flex-shrink: 0;
}
.cart-drawer__body li.mini_cart_item a:not(.remove) {
  color: var(--ink-1); text-decoration: none; font-family: var(--font-display);
  font-style: normal; font-size: 16px; display: block;
}
.cart-drawer__body li.mini_cart_item .quantity {
  color: var(--silver-3); font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 1px; margin-top: 4px;
}
.cart-drawer__body li.mini_cart_item .remove {
  position: absolute; right: 0; color: var(--silver-4); font-size: 18px; line-height: 1;
}
.cart-drawer__body li.mini_cart_item { position: relative; padding-right: 28px; }
.cart-drawer__foot {
  padding: 20px 24px;
  border-top: 1px solid var(--line-1);
  background: var(--bg-panel);
}
@media (max-width: 480px) {
  .cart-drawer { width: 100vw; }
}

/* BW water suggestion banner inside the cart drawer */
.pp-drawer-suggest {
  background: linear-gradient(135deg, rgba(233,30,99,0.10) 0%, rgba(176,18,75,0.04) 100%);
  border: 1px solid rgba(233,30,99,0.32);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 0 0 16px;
}
.pp-drawer-suggest__eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--ruby);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.pp-drawer-suggest__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pp-drawer-suggest__thumb {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  background: #FFFFFF;
  border-radius: 6px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 6px;
}
.pp-drawer-suggest__thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  padding: 0 !important;
  background: transparent !important;
  margin: 0 !important;
  display: block;
}
.pp-drawer-suggest__body { flex: 1; min-width: 0; }
.pp-drawer-suggest__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-1);
  line-height: 1.2;
}
.pp-drawer-suggest__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--silver-3);
  margin-top: 4px;
  text-transform: uppercase;
}
.pp-drawer-suggest__sub .amount { color: var(--ruby); font-weight: 700; }
.pp-drawer-suggest__btn {
  flex-shrink: 0;
  background: var(--ruby);
  color: #FFFFFF !important;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.pp-drawer-suggest__btn:hover {
  background: var(--ruby-light);
  transform: translateY(-1px);
}

/* Hide WC default stock count text on PDP — replaced via filter */
.woocommerce .stock {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--silver-3) !important;
}
.woocommerce .stock.in-stock { color: #52C41A !important; }
.woocommerce .stock.out-of-stock { color: var(--ruby) !important; }

/* ============================================================ */
/*  PILL NAV — floating rounded nav bar matching HTML build      */
/* ============================================================ */
.site-header--pill,
header.site-header,
header.site-header--pill {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  padding: 12px 0 !important;
  margin: 0 !important;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  will-change: transform;
  /* Force a new stacking context so no other transformed ancestor can break the fixed positioning */
  isolation: isolate;
}
.site-header--pill .nav, .site-header--pill .nav--pill,
.site-header--pill .site-header__inner,
.site-header--pill a, .site-header--pill button { pointer-events: auto; }
/* Nav floats on top of content — no body padding so hero gradient fills to top edge.
   Sections that come right under the nav handle their own padding-top. */
body { padding-top: 0 !important; }
@media (max-width: 900px) {
  .site-header--pill { padding: 8px 0 !important; background: rgba(10, 11, 14, 0.95); }
  .site-header--pill .site-header__inner { padding: 0 12px; }
}
/* First-section clearance for the floating nav */
.hero, .page-head, body > main > section:first-child {
  padding-top: 120px !important;
}
@media (max-width: 900px) {
  .hero, .page-head, body > main > section:first-child {
    padding-top: 80px !important;
  }
}
.site-header--pill .site-header__inner {
  display: flex;
  justify-content: center;
}
.nav--pill {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 8px 12px 8px 18px;
  background: rgba(15, 16, 22, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  max-width: calc(100vw - 32px);
  position: relative;
  z-index: 200;
}
.nav--pill a, .nav--pill button { position: relative; z-index: 1; }
.nav--pill .nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-1);
  flex-shrink: 0;
}
.nav--pill .nav__logo img { width: 36px; height: 36px; }

/* Full-wordmark logo variant (used in nav pill + footer brand) */
.nav__logo--full { gap: 0 !important; padding: 4px 0; }
.nav--pill .nav__logo--full .nav__logo-img,
.nav--pill .nav__logo--full img {
  width: auto !important;
  height: 52px !important;
  max-height: 52px;
  display: block;
  object-fit: contain;
}
@media (max-width: 900px) {
  .nav--pill .nav__logo--full .nav__logo-img,
  .nav--pill .nav__logo--full img { height: 36px !important; max-height: 36px; }
}
.nav--pill .nav__logo span:not(.sub) {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink-2);
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.nav--pill .nav__logo .sub {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--silver-4);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav--pill .nav__links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  position: static;
  background: transparent;
  flex-direction: row;
  height: auto;
  transform: none;
}
.nav--pill .nav__links li { list-style: none; }
.nav--pill .nav__links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav--pill .nav__links a:hover,
.nav--pill .nav__links a.active {
  color: var(--ink-1);
  background: rgba(255, 255, 255, 0.06);
}
.nav--pill .nav__cta {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  margin-left: 4px;
}
.nav--pill .nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--ink-2);
  text-decoration: none;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
.nav--pill .nav__icon:hover {
  color: var(--ink-1);
  background: rgba(255, 255, 255, 0.06);
}
.nav--pill .nav__cart-link .nav__cart-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--ruby);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0F1016;
}
.nav--pill .nav__toggle { display: none; }
@media (max-width: 900px) {
  /* Mobile menu drawer — full-screen panel that slides in from the right.
     Hidden by default via visibility + opacity so cascading left:0 from the
     base .nav__links rule can't leak the panel into view. */
  .nav--pill .nav__links {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(85vw, 360px) !important;
    height: 100dvh !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 88px 28px 32px !important;
    background: #0A0B0E !important;
    border-left: 1px solid var(--line-1);
    box-shadow: -24px 0 60px rgba(0,0,0,0.6);
    transform: translateX(110%) !important;
    transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 320ms;
    z-index: 1000;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
  }
  .nav--pill .nav__links.open {
    transform: translateX(0) !important;
    visibility: visible;
    pointer-events: auto;
    transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 0s;
  }
  .nav--pill .nav__links li { list-style: none; width: 100%; border-bottom: 1px solid var(--line-1); }
  .nav--pill .nav__links li:last-child { border-bottom: 0; }
  .nav--pill .nav__links a {
    display: block !important;
    width: 100% !important;
    padding: 22px 4px !important;
    font-family: var(--font-body) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--ink-2) !important;
    text-decoration: none;
    background: transparent !important;
    border-radius: 0 !important;
    letter-spacing: -0.01em;
  }
  .nav--pill .nav__links a:hover,
  .nav--pill .nav__links a.active { color: var(--ruby) !important; background: transparent !important; }

  /* Backdrop overlay — fades in when menu is open */
  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
    z-index: 999;
  }
  .mobile-menu-backdrop.is-visible { opacity: 1; pointer-events: auto; }

  .nav--pill .nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: transparent; border: 0; color: var(--ink-2); cursor: pointer; }
  .nav--pill .nav__toggle.is-open svg path:nth-child(1) { transform: rotate(45deg) translate(4px, -4px); transform-origin: center; }
  .nav--pill .nav__logo span:not(.sub) { font-size: 16px; }
  .nav--pill .nav__logo .sub { display: none; }
  .nav--pill { gap: 8px; padding: 6px 8px 6px 12px; }

  /* Lock body scroll while menu is open */
  body.menu-open { overflow: hidden; }
}

/* Bottom magenta CTA strip — repeats trust signals as a footer band */
.cta-strip {
  background: linear-gradient(90deg, #C2185B 0%, #E91E63 50%, #C2185B 100%);
  color: #FFFFFF;
  padding: 24px 0;
  position: relative;
  z-index: 2;
}
.cta-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.cta-strip__cell {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cta-strip__icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-strip__title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0;
  text-transform: none;
  display: block;
}
.cta-strip__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  margin-top: 2px;
  display: block;
}
@media (max-width: 900px) {
  .cta-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .cta-strip__grid { grid-template-columns: 1fr; }
}

/* Hex side decor stays on every page — content paints above via z-index, decor itself shrinks
   on mid-range viewports so we don't have to crush container padding. */
.container { position: relative; z-index: 2; }
main, .site-header, .site-footer { position: relative; z-index: 2; }
@media (min-width: 769px) and (max-width: 1480px) {
  /* Shrink decor instead of padding container — keeps shop grid + PDP at full width */
  .side-decor { width: clamp(72px, 9vw, 128px) !important; background-size: clamp(72px, 9vw, 128px) clamp(125px, 15vw, 222px) !important; opacity: 0.85; }
}
@media (min-width: 1481px) {
  .side-decor { opacity: 1; }
}
.regwall__form input[type="email"],
.regwall__form input[type="password"],
.regwall__form input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--ink-1);
  font-family: inherit;
  font-size: 14px;
  margin-bottom: var(--space-md);
  letter-spacing: 0;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.regwall__form input[type="email"]::placeholder,
.regwall__form input[type="password"]::placeholder,
.regwall__form input[type="text"]::placeholder { color: var(--silver-4); opacity: 1; }
.regwall__form input[type="email"]:focus,
.regwall__form input[type="password"]:focus,
.regwall__form input[type="text"]:focus { outline: 0; border-color: var(--ruby); }
.regwall__error {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.regwall__form label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  text-align: left;
  font-size: 12px;
  color: var(--silver-3);
  margin: var(--space-md) 0;
  cursor: pointer;
}
.regwall__form label input { margin-top: 4px; flex-shrink: 0; accent-color: var(--ruby); }

/* ============================================================ */
/*  UTILITY                                                      */
/* ============================================================ */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.hidden { display: none; }
@media (max-width: 768px) {
  .hidden-mobile { display: none; }
}

/* ============================================================ */
/*  PORTED FROM HTML BUILD — section-head, cats, process, dual,  */
/*  quote, hero-watermark, plus scroll-driven hex decor reveal.  */
/* ============================================================ */

/* Hero watermark — larger, brighter molecule SVG anchored bottom-right of hero */
.hero-watermark {
  position: absolute;
  top: -10%;
  right: -8%;
  width: min(820px, 60vw);
  height: 130%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  filter: drop-shadow(0 24px 60px rgba(233, 30, 99, 0.18));
}
.hero-watermark svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-watermark .watermark__ball {
  transition: transform 0.8s var(--ease);
  will-change: transform;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}
.hero-watermark .watermark__ball.ruby {
  filter: saturate(1.6) drop-shadow(0 4px 18px rgba(233, 30, 99, 0.4));
}
.hero-watermark .watermark__path {
  fill: none;
  stroke: #7E7E88;
  stroke-width: 4;
  opacity: 0.65;
  stroke-linecap: round;
}
@media (max-width: 768px) { .hero-watermark { width: 65vw; right: -10%; opacity: 0.45; } }
@media (max-width: 560px) { .hero-watermark { width: 55vw; right: -8%; opacity: 0.4; } }

/* Section heads (two-column eyebrow+headline / paragraph) */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head__l { max-width: 720px; }
.section-head h2 { margin-top: 16px; }
.section-head__r { color: var(--silver-4); max-width: 360px; font-size: 14px; font-family: var(--font-body); }

/* — Categories block (3 cat cards, magenta band variant) — */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
@media (max-width: 760px) { .cats { grid-template-columns: 1fr; max-width: 480px; } }
.cat {
  background: var(--paper);
  border: 1px solid var(--line-1);
  padding: 32px 24px 28px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  position: relative;
  border-radius: var(--radius-md);
  text-decoration: none;
}
.cat:hover { border-color: var(--line-3); box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.cat:hover .cat__num { color: var(--ruby); }
.cat:hover .cat__arr { transform: translateX(6px); color: var(--ruby); }
.cat__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: var(--silver-3); transition: color 0.3s var(--ease); }
.cat__name { font-family: var(--font-display); font-size: clamp(22px, 1.9vw, 28px); font-weight: 600; color: var(--ink-1); letter-spacing: -0.015em; margin-top: auto; line-height: 1.05; font-style: normal; }
.cat__count { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; color: var(--silver-3); text-transform: uppercase; }
.cat__arr { position: absolute; bottom: 24px; right: 24px; color: var(--silver-3); transition: transform 0.4s var(--ease), color 0.4s var(--ease); }

.section--pink {
  background: var(--ruby);
  color: #fff;
  border-top: 1px solid var(--ruby-0);
  border-bottom: 1px solid var(--ruby-0);
  padding: 28px 0 32px;
}
.section--pink .container { max-width: 980px; }
.section--pink .section-head { margin-bottom: 18px; text-align: center; justify-content: center; }
.section--pink .section-head__l { display: inline-block; text-align: center; max-width: none; }
.section--pink h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; color: #fff; }
.section--pink .eyebrow { color: rgba(255, 255, 255, 0.78); }
.section--pink .eyebrow.ruby { color: rgba(255, 255, 255, 0.95); }
.section--pink .cat { background: rgba(255, 255, 255, 0.96); border-color: rgba(255, 255, 255, 0.6); flex-direction: row; align-items: center; min-height: auto; padding: 16px 18px; gap: 16px; }
.section--pink .cat:hover { background: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28); border-color: #fff; }
.section--pink .cat__num { color: var(--ruby); font-weight: 700; font-size: 11px; flex-shrink: 0; }
.section--pink .cat__name { color: #0E0F13; font-family: var(--font-display); font-weight: 700; font-style: normal; font-size: 16px; flex: 1; margin: 0; }
.section--pink .cat__count { color: #6E7178; font-weight: 600; font-size: 10px; flex-shrink: 0; }
.section--pink .cat__arr { color: var(--ruby); position: static; flex-shrink: 0; }

/* New .pp-cat cards inside the pink band — BRUSHED CHROME pill cards (matches .btn--liquid) */
.section--pink .pp-cats { gap: 12px; max-width: 980px; }
.section--pink .pp-cat {
  background: linear-gradient(180deg, #F4F4F6 0%, #E0E0E4 48%, #C8C8CE 52%, #ECECEF 100%) !important;
  border: 1px solid #9A9AA2 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(0,0,0,0.12),
    0 2px 4px rgba(0,0,0,0.35),
    0 8px 20px rgba(0,0,0,0.25) !important;
  flex-direction: row;
  align-items: center;
  min-height: auto;
  padding: 18px 20px !important;
  gap: 16px;
  display: flex !important;
}
.section--pink .pp-cat::before { display: none; }
.section--pink .pp-cat:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #EAEAEE 48%, #D4D4DA 52%, #F0F0F4 100%) !important;
  border-color: #6E6E78 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(0,0,0,0.14),
    0 4px 8px rgba(0,0,0,0.5),
    0 16px 32px rgba(0,0,0,0.4) !important;
  transform: translateY(-3px);
}
.section--pink .pp-cat__top { display: contents; }
.section--pink .pp-cat__num { color: var(--ruby); font-weight: 700; font-size: 11px; flex-shrink: 0; order: 1; }
.section--pink .pp-cat__count { color: #6E7178; font-weight: 600; font-size: 10px; flex-shrink: 0; order: 4; margin-left: auto; }
.section--pink .pp-cat__icon { display: none; }
.section--pink .pp-cat__body { flex: 1; order: 2; padding: 0 0 0 12px; }
.section--pink .pp-cat__name { color: #0E0F13 !important; font-family: var(--font-display); font-weight: 500; font-style: normal; font-size: 16px; margin: 0; line-height: 1.15; }
.section--pink .pp-cat__desc { display: none; }
.section--pink .pp-cat__cta { display: none; }
.section--pink .pp-cat::after {
  content: '→';
  color: var(--ruby);
  font-size: 18px;
  margin-left: 4px;
  order: 5;
  flex-shrink: 0;
}

/* — Quality Pipeline 4-step process — */
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .process__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process__steps { grid-template-columns: 1fr; } }
.step {
  background: var(--paper);
  border: 1px solid var(--line-1);
  padding: 36px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 320px;
  position: relative;
  border-radius: var(--radius-md);
  transition: all 0.4s var(--ease);
}
.step:hover { box-shadow: var(--shadow-soft); border-color: var(--line-2); transform: translateY(-4px); }
.step__no { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2.5px; color: var(--ruby); }
.step__title { font-family: var(--font-body); font-weight: 700; font-size: clamp(22px, 2vw, 28px); font-weight: 600; color: var(--ink-1); letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
.step__sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; color: var(--silver-3); text-transform: uppercase; margin-top: -10px; }
.step__desc { font-size: 13px; color: var(--silver-4); line-height: 1.6; margin-top: auto; font-family: var(--font-body); }
.step__icon {
  width: 54px;
  height: 54px;
  background: var(--chrome-grad);
  border: 1px solid #A0A0A0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ruby);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
}
.step__icon svg { width: 26px; height: 26px; }

/* — Dual CTA panes (Wholesale + Affiliate) — */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .dual { grid-template-columns: 1fr; } }
.dual__pane {
  background: var(--paper);
  border: 1px solid var(--line-2);
  padding: clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: var(--radius-md);
  transition: all 0.4s var(--ease);
  cursor: pointer;
  text-decoration: none;
}
.dual__pane:hover { box-shadow: var(--shadow-mid); border-color: var(--ruby); transform: translateY(-4px); }
.dual__pane.dark { background: var(--ink-surface); border-color: var(--line-2); box-shadow: inset 0 1px 0 rgba(245,245,247,.04); }
.dual__pane.dark h3, .dual__pane.dark .eyebrow { color: #fff; }
.dual__pane.dark p { color: rgba(255, 255, 255, 0.7); }
.dual__pane.dark .arrow { color: var(--ruby-1); }
.dual__pane h3 { font-size: clamp(28px, 3vw, 44px); margin-top: 12px; max-width: 14ch; line-height: 1.05; font-family: var(--font-body); font-weight: 700; color: var(--ink-1); letter-spacing: -0.02em; }
.dual__pane p { font-size: 14px; font-family: var(--font-body); color: var(--silver-3); }
.dual__pane .arrow { margin-top: auto; padding-top: 32px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; color: var(--ruby); transition: gap 0.3s var(--ease); }
.dual__pane:hover .arrow { gap: 16px; }

/* — Customer quote — cleaner sans-serif, more professional, less busy than italic Playfair */
.quote { padding: clamp(40px, 6vh, 80px) 0; text-align: left; max-width: 900px; margin: 0 auto; }
.quote q {
  font-family: var(--font-body);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 400;
  font-style: normal;
  color: var(--ink-1);
  letter-spacing: -0.01em;
  line-height: 1.4;
  display: block;
  quotes: none;
  position: relative;
  padding-left: 32px;
  border-left: 3px solid var(--ruby);
}
.quote q::before, .quote q::after { content: none; }
.quote .who { margin-top: 24px; padding-left: 32px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: var(--silver-4); text-transform: uppercase; }
.quote .who .name { color: var(--ink-1); font-weight: 600; }

.section--alt { background: var(--paper-2); }

/* ============================================================ */
/*  PP-CATS — dark format-category cards w/ ruby glow on hover   */
/*  Replaces the white-card .cats look that didn't match the     */
/*  rest of the site's dark aesthetic.                            */
/* ============================================================ */
.pp-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
}
@media (max-width: 900px) { .pp-cats { grid-template-columns: 1fr; max-width: 540px; } }

.pp-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 28px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--line-1);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pp-cat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(233, 30, 99, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.pp-cat:hover {
  transform: translateY(-6px);
  border-color: var(--ruby);
  box-shadow: 0 24px 60px rgba(233, 30, 99, 0.18), 0 0 0 1px rgba(233, 30, 99, 0.3) inset;
}
.pp-cat:hover::before { opacity: 1; }

.pp-cat__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.pp-cat__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--ruby);
  font-weight: 700;
}
.pp-cat__count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--silver-4);
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.pp-cat:hover .pp-cat__count { border-color: var(--ruby); color: var(--ruby); }

.pp-cat__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(233, 30, 99, 0.08);
  border: 1px solid rgba(233, 30, 99, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ruby);
  transition: background 0.3s var(--ease), transform 0.4s var(--ease);
  position: relative;
  z-index: 1;
}
.pp-cat:hover .pp-cat__icon { background: rgba(233, 30, 99, 0.18); transform: scale(1.05); }

.pp-cat__body { position: relative; z-index: 1; }
.pp-cat__name {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--ink-1);
  letter-spacing: -0.3px;
  line-height: 1.1;
  margin: 0 0 10px;
}
.pp-cat__desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--silver-3);
  margin: 0;
}

.pp-cat__cta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--ruby);
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.pp-cat__arr {
  transition: transform 0.3s var(--ease);
  display: inline-block;
}
.pp-cat:hover .pp-cat__arr { transform: translateX(6px); }

/* ============================================================ */
/*  Heavier Playfair weight axes for display headings + nums     */
/* ============================================================ */
.hero h1, .pp-pdp__title, .quote q, .dual__pane h3, .cat__name, .step__title {
  font-weight: 700;
}
.hero__metric .num { font-weight: 700; }

/* ============================================================ */
/*  Hex side decor only appears after user scrolls below fold    */
/*  on the homepage. Other pages still get it on page load.      */
/* ============================================================ */
body.home .side-decor { opacity: 0 !important; transition: opacity 0.6s ease; }
body.home.scrolled-past-hero .side-decor { opacity: 1 !important; }

/* ============================================================ */
/*  MOBILE — hero + page-head + product card sizing               */
/* ============================================================ */
@media (max-width: 900px) {
  .hero { min-height: 0 !important; padding-top: 16px !important; padding-bottom: 16px !important; }
  /* HTML reference layout: text FIRST, vials BELOW. Single-column stack. */
  .hero__grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .hero__copy { order: 1; max-width: 100%; width: 100%; }
  .hero__visual {
    order: 2;
    width: 100% !important;
    max-height: 280px;
    margin-top: 8px;
    overflow: visible;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__visual.reveal { opacity: 1 !important; transform: none !important; }

  /* Eyebrow visible, ruby with leading dash already in markup */
  .hero__eyebrow { display: block !important; font-size: 10px !important; letter-spacing: 2.5px !important; margin-bottom: 14px !important; }
  .hero__eyebrow::before { content: "— "; }

  /* h1: "High-Purity" bold sans / "Research Peptides." italic Playfair ruby (HTML build) */
  .hero h1, .hero__h1 {
    font-family: var(--font-body) !important;
    font-weight: 800 !important;
    font-style: normal !important;
    font-size: clamp(34px, 9vw, 48px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 16px !important;
    color: var(--ink-2) !important;
  }
  .hero h1 .ruby, .hero__h1 .ruby {
    font-family: var(--font-display) !important;
    font-style: normal !important;
    font-weight: 500 !important;
    color: var(--ruby) !important;
    letter-spacing: -0.01em !important;
  }

  /* Lede: visible, tightened */
  .hero__lede { display: block !important; font-size: 14px !important; line-height: 1.55 !important; margin-bottom: 20px !important; color: var(--silver-3) !important; }

  /* Hide authority strip on mobile — lede covers same info */
  .hero__authority { display: none !important; }
  .hero__divider { display: none !important; }

  /* Single primary CTA, secondary hidden */
  .hero__ctas { display: flex !important; gap: 0 !important; margin-bottom: 22px !important; }
  .hero__cta-primary { width: auto !important; padding: 14px 28px !important; font-size: 11px !important; letter-spacing: 1.6px !important; }
  .hero__cta-secondary { display: none !important; }

  /* Metrics: INLINE text (no card chrome) — matches HTML build */
  .hero__metrics {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    margin: 0 0 4px 0 !important;
  }
  .hero__metric {
    padding: 0 !important;
    text-align: left;
    border: none !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__metric-num { font-family: var(--font-body) !important; font-weight: 800 !important; font-size: 28px !important; line-height: 1 !important; color: var(--ink-2) !important; display: block !important; letter-spacing: -0.02em; }
  .hero__metric-num .ruby { color: var(--ruby) !important; }
  .hero__metric-lbl { font-family: var(--font-mono) !important; font-size: 9px !important; letter-spacing: 1.4px !important; color: var(--silver-4) !important; text-transform: uppercase; margin-top: 6px !important; }

  .hero-watermark { display: none; }
  .page-head { padding-bottom: 18px !important; }
  .page-head h1 { font-size: clamp(32px, 7vw, 48px) !important; }
  .cta-strip { padding: 14px 0 !important; }
  .cta-strip__grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .cta-strip__cell { gap: 8px; }
  .cta-strip__title { font-size: 12px !important; }
  .section { padding-block: 40px !important; }
  .section--tight { padding-block: 20px !important; }
  /* Nav-pill clearance: any first section on the page (or page-head) must clear the
     fixed nav pill. This MUST come after .section / .section--tight so shorthand
     padding doesn't blow away the top clearance. */
  .hero,
  .page-head,
  .page-head.section,
  .page-head.section--tight,
  body > main > section:first-child,
  body.woocommerce-page > main > section:first-child,
  body > main > article > section:first-child {
    padding-top: 96px !important;
  }
}
@media (max-width: 560px) {
  .cta-strip__grid { grid-template-columns: 1fr !important; }
  /* Keep metrics as 3 across — they're compact cards now */
  .hero__metrics { grid-template-columns: repeat(3, 1fr) !important; }
  .pp-cats { grid-template-columns: 1fr !important; }
  .process__steps { grid-template-columns: 1fr !important; }
  .dual { grid-template-columns: 1fr !important; }
}

/* ============================================================ */
/*  .page-head — shared component for editorial / legal pages    */
/*  Eyebrow + giant H1 + lede, centered with consistent spacing  */
/* ============================================================ */
.page-head {
  padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 64px);
  border-bottom: 1px solid var(--line-1);
  position: relative;
  background: transparent;
  text-align: left;
}
.page-head::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--chrome-line);
}
.page-head .container { max-width: 980px; }
.page-head .eyebrow {
  margin-bottom: var(--space-md);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--ruby);
  text-transform: uppercase;
}
.page-head h1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink-1);
  margin: 0;
  max-width: 18ch;
}
.page-head h1 .ruby { color: var(--ruby); }
.page-head .lede {
  margin-top: var(--space-lg);
  max-width: 56ch;
  color: var(--silver-3);
  font-size: clamp(15px, 1.2vw, 17px);
  font-family: var(--font-body);
  line-height: 1.7;
}

/* ============================================================ */
/*  HERO — luxury overhaul: tight grid, no dead space, layered   */
/* ============================================================ */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  width: 100%;
}
.hero__copy {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

/* Status pill — small editorial credibility marker */
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 12px;
  background: rgba(82, 196, 26, 0.08);
  border: 1px solid rgba(82, 196, 26, 0.25);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #52C41A;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero__status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #52C41A;
  box-shadow: 0 0 8px #52C41A;
  animation: heroPulse 2s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.4); }
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3.5px;
  color: var(--ruby);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero__h1 {
  font-family: var(--font-body) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  font-size: clamp(40px, 5.5vw, 72px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
  color: var(--ink-1);
  margin: 0;
}
.hero__h1 .ruby { color: var(--ruby); }

.hero__lede {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--silver-2);
  line-height: 1.6;
  margin: 24px 0 0;
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px 16px 28px;
  background: #FFFFFF;
  color: #0A0B0E;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3), 0 12px 32px -8px rgba(255, 255, 255, 0.2);
}
.hero__cta-primary svg { width: 18px; height: 11px; transition: transform 0.3s ease; }
.hero__cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 0 18px 40px -10px rgba(255, 255, 255, 0.3);
  color: #0A0B0E;
}
.hero__cta-primary:hover svg { transform: translateX(4px); }

.hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 26px;
  background: transparent;
  color: var(--ink-1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  transition: all 0.3s ease;
}
.hero__cta-secondary:hover {
  border-color: var(--ruby);
  color: var(--ruby);
}

/* Thin ruby divider above metrics — visual separator */
.hero__divider {
  height: 1px;
  width: 56px;
  background: linear-gradient(90deg, var(--ruby) 0%, transparent 100%);
  margin: 40px 0 24px;
}

/* Metrics — refined typography, hairline column dividers */
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  max-width: 520px;
}
.hero__metric {
  padding: 0 28px;
  border-right: 1px solid var(--line-1);
}
.hero__metric:first-child { padding-left: 0; }
.hero__metric:last-child { border-right: 0; padding-right: 0; }
.hero__metric-num {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 44px);
  color: var(--ink-1);
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero__metric-num .ruby { color: var(--ruby); }
.hero__metric-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--silver-4);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 10px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr !important; }
  .hero__copy { max-width: none; }
  .hero__metrics { max-width: none; }
  .hero__metric { padding: 0 16px; }
}
@media (max-width: 560px) {
  .hero__metrics { grid-template-columns: 1fr; gap: 0; }
  .hero__metric { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line-1); display: flex; align-items: baseline; gap: 16px; }
  .hero__metric:last-child { border-bottom: 0; }
  .hero__metric-num { font-size: 36px; }
  .hero__metric-lbl { margin-top: 0; }
}

/* ============================================================ */
/*  CART DRAWER — uniform item images                            */
/* ============================================================ */
.cart-drawer__body li.mini_cart_item,
.cart-drawer__body .woocommerce-mini-cart__item,
.cart-drawer__body .mini_cart_item {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--line-1) !important;
  position: relative;
  padding-right: 30px !important;
}
.cart-drawer__body li.mini_cart_item img,
.cart-drawer__body .mini_cart_item img,
.cart-drawer__body img {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  object-fit: contain !important;
  background: var(--bg-base) !important;
  border-radius: 8px !important;
  padding: 6px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  float: none !important;
}
.cart-drawer__body li.mini_cart_item a:not(.remove) {
  flex: 1;
  min-width: 0;
  color: var(--ink-1) !important;
  font-family: var(--font-body) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.cart-drawer__body .quantity {
  color: var(--silver-3) !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  letter-spacing: 1px !important;
  margin-top: 4px !important;
  display: block !important;
}
.cart-drawer__body .remove {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%);
  color: var(--silver-4) !important;
  font-size: 18px !important;
  text-decoration: none !important;
  line-height: 1 !important;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-drawer__body .remove:hover { color: var(--ruby) !important; }

/* ============================================================ */
/*  CATALOG / SHOP PAGE — tightened page-head, products up top   */
/* ============================================================ */
.woocommerce-page .page-head,
.tax-product_cat .page-head,
body.archive .page-head {
  /* Top padding handled by nav-pill clearance rule (~120px desktop / 96px mobile).
     Only set the bottom here so the floating pill never overlaps the H1. */
  padding-top: 120px !important;
  padding-bottom: 24px !important;
}
@media (max-width: 900px) {
  .woocommerce-page .page-head,
  .tax-product_cat .page-head,
  body.archive .page-head {
    padding-top: 96px !important;
    padding-bottom: 18px !important;
  }
}
.woocommerce-page .page-head h1 {
  font-size: clamp(36px, 5vw, 60px) !important;
  max-width: 18ch;
}
.woocommerce-page .page-head p,
.woocommerce-page .page-head .lede {
  margin-top: 12px !important;
  font-size: 14px !important;
  max-width: 56ch;
}
.woocommerce-page section.section {
  padding-top: 16px !important;
}

/* ============================================================ */
/*  MOBILE — additional tightening for product pages + hero      */
/* ============================================================ */
@media (max-width: 900px) {
  /* PDP - the sticky stage must NOT be sticky on mobile (was eating the whole screen) */
  .pp-pdp__stage {
    position: static !important;
    height: 320px !important;
    min-height: 320px !important;
    margin-bottom: 24px;
  }
  .pp-pdp__grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .pp-pdp__title { font-size: 36px !important; }
  .pp-pdp__h2 { font-size: 22px !important; }
  .pp-pdp__pricebar { padding: 18px !important; }
  .pkg-stage { min-height: 320px !important; }
  /* No scroll-driven anim on mobile — disable pkg overlays */
  .pkg--open, .pkg--closed { display: none !important; }
  .pkg-stage__cue { display: none; }

  /* Page head heading sizing — top padding handled by the nav-pill clearance rule */
  .page-head { padding-bottom: 16px !important; }
  .page-head h1 { font-size: clamp(32px, 7vw, 44px) !important; max-width: none; }
  .page-head p { font-size: 13px !important; margin-top: 10px !important; }

  /* Tighten hero bottom space and ensure vials fit */
  .hero { padding-top: 12px !important; padding-bottom: 16px !important; }
  .hero__visual { max-height: 260px !important; min-height: 220px !important; }
  .hero__vials { height: 240px !important; }
  .vial-3 img { max-height: 240px; }
  body { padding-top: 60px; }
  .site-header--pill { padding: 6px 0 !important; }
}

@media (max-width: 480px) {
  .pp-pdp__stage { height: 240px !important; min-height: 240px !important; }
  .pkg-stage { min-height: 240px !important; }
}

/* ============================================================ */
/*  QUALITY PAGE — credentials stat grid                          */
/* ============================================================ */
.quality-creds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .quality-creds { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.quality-cred {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line-1);
  border-radius: var(--r-soft);
  transition: border-color var(--dur-default) var(--ease), transform var(--dur-default) var(--ease-spring);
}
.quality-cred:hover {
  border-color: var(--line-3);
  transform: translateY(-3px);
}
.quality-cred__num {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  color: var(--ink-2);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.quality-cred__num .ruby { color: var(--ruby); }
.quality-cred__lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ruby);
  margin-bottom: 12px;
}
.quality-cred__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--silver-3);
}

/* ============================================================ */
/*  CONTACT PAGE — form + accordion FAQ                          */
/* ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  max-width: 1140px;
  margin: 0 auto;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line-1);
  border-radius: var(--r-soft);
  padding: 32px;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: 28px;
  color: var(--ink-2);
  margin: 0 0 8px;
  letter-spacing: -0.025em;
}
.contact-form .lede {
  font-size: 14px;
  color: var(--silver-3);
  margin: 0 0 24px;
}
.contact-form__field { margin-bottom: 16px; }
.contact-form__field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-3);
  margin-bottom: 6px;
  font-weight: 700;
}
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-panel);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sharp);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color var(--dur-default) var(--ease);
}
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: 0;
  border-color: var(--ruby);
}
.contact-form__field textarea { min-height: 120px; resize: vertical; }
.contact-form__submit {
  width: 100%;
  padding: 14px 28px;
  background: var(--ruby);
  color: #FFFFFF;
  border: 0;
  border-radius: var(--r-sharp);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background var(--dur-default) var(--ease);
}
.contact-form__submit:hover { background: var(--ruby-deep); }
.contact-form__success {
  background: rgba(82, 196, 26, 0.08);
  border: 1px solid rgba(82, 196, 26, 0.3);
  color: #52C41A;
  padding: 14px 18px;
  border-radius: var(--r-sharp);
  font-size: 13px;
  display: none;
}
.contact-form__success.is-shown { display: block; }

.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line-1);
  border-radius: var(--r-soft);
  padding: 22px;
}
.contact-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ruby);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-card__email {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-2);
  display: block;
  margin-bottom: 4px;
  text-decoration: none;
  letter-spacing: -0.015em;
}
.contact-card__email:hover { color: var(--ruby); }
.contact-card__desc {
  font-size: 12px;
  color: var(--silver-4);
  font-family: var(--font-body);
}

.contact-faq { margin-top: var(--s-7); max-width: 880px; margin-left: auto; margin-right: auto; }
.contact-faq__head { text-align: left; margin-bottom: 32px; }
.contact-faq details {
  border-top: 1px solid var(--line-1);
  padding: 20px 0;
}
.contact-faq details:last-of-type { border-bottom: 1px solid var(--line-1); }
.contact-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink-2);
  font-weight: 500;
}
.contact-faq summary::-webkit-details-marker { display: none; }
.contact-faq summary::after {
  content: '+';
  color: var(--ruby);
  font-family: var(--font-mono);
  font-size: 22px;
  transition: transform var(--dur-default) var(--ease);
}
.contact-faq details[open] summary::after { content: '−'; }
.contact-faq details[open] summary { color: var(--ruby); }
.contact-faq__body {
  padding-top: 12px;
  color: var(--silver-3);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================================ */
/*  ARTICLE DETAIL SIDEBAR (Research Library single)              */
/* ============================================================ */
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 980px) { .article-grid { grid-template-columns: 1fr; } }
.article-aside { position: sticky; top: 120px; align-self: start; }
.article-cta {
  background: var(--paper);
  border: 1px solid var(--line-1);
  border-radius: var(--r-soft);
  padding: 22px;
}
.article-cta__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ruby);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.article-cta__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-2);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.article-cta__price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.article-cta img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: var(--paper-2);
  border-radius: var(--r-sharp);
  margin: 0 0 14px;
}
.article-cta__btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--ruby);
  color: #FFFFFF;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  border-radius: var(--r-sharp);
  transition: background var(--dur-default) var(--ease);
}
.article-cta__btn:hover { background: var(--ruby-deep); color: #FFFFFF; }

/* ============================================================ */
/*  HERO AUTHORITY STRIP — institutional credentials line        */
/*  Sits between lede and CTAs. Within first 200ms of pageload.  */
/* ============================================================ */
.hero__authority {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--ruby);
  border-radius: var(--r-soft);
}
.hero__authority-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--silver-2);
  text-transform: uppercase;
  font-weight: 600;
}
.hero__authority-item svg { color: var(--ruby); flex-shrink: 0; }
.hero__authority-dot { color: var(--silver-4); font-size: 10px; }
@media (max-width: 720px) {
  .hero__authority-dot { display: none; }
  .hero__authority { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============================================================ */
/*  PDP COA PREVIEW CARD — the single highest-leverage trust     */
/*  signal in this category. Shown BEFORE price.                  */
/* ============================================================ */
.pp-pdp__coa {
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(15,16,22,1) 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--r-soft);
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
}
.pp-pdp__coa::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(233,30,99,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.pp-pdp__coa-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-1);
}
.pp-pdp__coa-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ruby);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}
.pp-pdp__coa-title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-1);
  letter-spacing: -0.015em;
  line-height: 1;
}
.pp-pdp__coa-title .lot-id {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ruby);
  margin-left: 2px;
}
.pp-pdp__coa-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(233, 30, 99, 0.1);
  border: 1px solid rgba(233, 30, 99, 0.35);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ruby);
  text-transform: uppercase;
  font-weight: 700;
  flex-shrink: 0;
}
.pp-pdp__coa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
@media (max-width: 720px) { .pp-pdp__coa-grid { grid-template-columns: repeat(2, 1fr); } }
.pp-pdp__coa-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.pp-pdp__coa-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--silver-4);
  text-transform: uppercase;
  font-weight: 600;
}
.pp-pdp__coa-val {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  line-height: 1;
}
.pp-pdp__coa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ruby);
  text-decoration: none;
  transition: gap var(--dur-default) var(--ease);
}
.pp-pdp__coa-link:hover { gap: 14px; color: var(--ruby-light); }
.pp-pdp__coa-link svg { transition: transform var(--dur-default) var(--ease); }
.pp-pdp__coa-link:hover svg { transform: translateX(2px); }

/* Lot-specific microcopy line in PDP buy box */
.pp-pdp__lot-line {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--silver-3);
}
.pp-pdp__lot-line strong {
  color: var(--ink-2);
  font-weight: 600;
}

/* ============================================================ */
/*  CART DRAWER — Free shipping progress bar                     */
/* ============================================================ */
.pp-drawer-shipping {
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(233,30,99,0.06) 0%, rgba(233,30,99,0.02) 100%);
  border: 1px solid rgba(233, 30, 99, 0.22);
  border-radius: var(--r-soft);
  margin: 0 0 14px;
}
.pp-drawer-shipping__msg {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--silver-2);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pp-drawer-shipping__msg strong { color: var(--ink-2); font-weight: 700; }
.pp-drawer-shipping__msg .woocommerce-Price-amount,
.pp-drawer-shipping__msg bdi {
  color: var(--ruby) !important;
  font-family: var(--font-mono) !important;
  font-weight: 700 !important;
}
.pp-drawer-shipping__bar {
  height: 4px;
  background: var(--line-1);
  border-radius: 999px;
  overflow: hidden;
}
.pp-drawer-shipping__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ruby-deep) 0%, var(--ruby) 50%, var(--ruby-light) 100%);
  border-radius: 999px;
  transition: width var(--dur-scene) var(--ease);
}
.pp-drawer-shipping--qualified {
  background: linear-gradient(135deg, rgba(82,196,26,0.06) 0%, rgba(82,196,26,0.02) 100%);
  border-color: rgba(82, 196, 26, 0.3);
}
.pp-drawer-shipping--qualified .pp-drawer-shipping__msg { color: #52C41A; margin-bottom: 0; }
.pp-drawer-shipping--qualified .pp-drawer-shipping__msg strong { color: #52C41A; }
.pp-drawer-shipping--qualified .pp-drawer-shipping__msg svg { color: #52C41A; }

/* ============================================================ */
/*  MOBILE — STICKY ADD-TO-CART (thumb-zone CTA on PDP)          */
/* ============================================================ */
.pp-pdp__sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(14,15,19,0.92) 0%, rgba(14,15,19,0.98) 60%, rgba(0,0,0,1) 100%);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-top: 1px solid rgba(255,255,255,0.06);
  transform: translateY(120%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.pp-pdp__sticky.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.pp-pdp__sticky-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.pp-pdp__sticky-meta {
  flex: 1;
  min-width: 0;
}
.pp-pdp__sticky-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-1);
  line-height: 1.2;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pp-pdp__sticky-price {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ruby);
  font-weight: 600;
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.pp-pdp__sticky-price .amount,
.pp-pdp__sticky-price bdi { color: var(--ruby); }
.pp-pdp__sticky-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--ruby) 0%, var(--ruby-deep) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(233,30,99,0.32), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 140ms var(--ease), box-shadow 200ms var(--ease);
}
.pp-pdp__sticky-cta:active {
  transform: scale(0.97);
  box-shadow: 0 3px 10px rgba(233,30,99,0.28), inset 0 1px 0 rgba(255,255,255,0.18);
}

@media (max-width: 900px) {
  .pp-pdp__sticky { display: block; }
  /* Reserve scroll space so footer/last section isn't hidden by the bar */
  .pp-pdp { padding-bottom: 72px; }
}

/* ============================================================ */
/*  MOBILE — Shop grid 2-column + tighter cards                  */
/* ============================================================ */
@media (max-width: 720px) {
  ul.products.columns-3,
  ul.products.columns-4,
  ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  /* Tighter card padding on mobile */
  ul.products li.product,
  ul.products li.product .pp-card {
    padding: 0 !important;
  }
  .pp-card__media { aspect-ratio: 4/5; }
  .pp-card__body { padding: 12px 12px 14px !important; }
  .pp-card__title { font-size: 14px !important; line-height: 1.25 !important; }
  .pp-card__price, .pp-card__price .amount { font-size: 13px !important; }
  .pp-card__cta { font-size: 9px !important; padding: 8px 10px !important; letter-spacing: 0.14em !important; }
  /* Shop archive header tightening */
  .page-head h1.italic-display,
  .page-head h1 { font-family: var(--font-display) !important; font-style: normal !important; }
}

/* ============================================================ */
/*  MOBILE — PDP image shrink so price + COA visible above fold  */
/* ============================================================ */
@media (max-width: 560px) {
  .pp-pdp__stage,
  .pp-pdp__stage .pkg-stage { height: 200px !important; min-height: 200px !important; max-height: 200px !important; }
  .pp-pdp__stage .pkg-stage img.pkg--bottle { max-height: 200px !important; object-fit: contain; }
  .pp-pdp__title { font-size: 28px !important; line-height: 1.05 !important; }
  .pp-pdp__head { margin-bottom: 8px; }
  .pp-pdp__excerpt { font-size: 14px !important; line-height: 1.5 !important; }
  /* COA card more compact */
  .pp-pdp__coa { padding: 16px !important; }
  .pp-pdp__coa-grid { gap: 10px !important; }
  .pp-pdp__coa-cell { padding: 10px !important; }
  .pp-pdp__coa-val { font-size: 14px !important; }
}

/* ============================================================ */
/*  MOBILE — Nav icon tap targets (Apple HIG min 44x44)          */
/* ============================================================ */
@media (max-width: 900px) {
  .site-header__pill-actions a,
  .site-header__pill-actions button,
  .pill-icon,
  .menu-toggle,
  .header-cart-link,
  .header-account-link,
  .header-search-link {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}
