/* ═══════════════════════════════════════════════
 *  Unified CSS Variables — Remy Peptides
 *  Single source of truth for colors, radii,
 *  transitions, and typography tokens.
 *  Version: 1
 * ═══════════════════════════════════════════════ */

:root {
  /* ── Backgrounds ── */
  --bg: #080808;
  --black: #080808;              /* alias → --bg */
  --surface: #0e0e0e;
  --deep: #0e0e0e;               /* alias → --surface */
  --bg2: #0e0e0e;                /* alias → --surface */
  --surface-2: #141414;
  --surface2: #141414;           /* alias → --surface-2 */
  --bg3: #141414;                /* alias → --surface-2 */

  /* ── Borders ── */
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.12);
  --border2: rgba(255,255,255,0.12); /* alias → --border-hover */
  --border-strong: rgba(255,255,255,0.14);

  /* ── Pink palette ── */
  --pink: #db266c;
  --accent: #db266c;             /* alias → --pink */
  --pink-hover: #c01f5c;
  --pink-text: #ff5a9e;
  --pink-soft: rgba(219,38,108,0.15);
  --accent-soft: rgba(219,38,108,0.15); /* alias → --pink-soft */
  --pink-glow: rgba(219,38,108,0.08);
  --accent-glow: rgba(219,38,108,0.08); /* alias → --pink-glow */
  --pink-dim: rgba(219,38,108,0.10);    /* alias (calculator) */
  --border-pink: rgba(219,38,108,0.3);  /* alias (calculator) */

  /* ── Green palette ── */
  --green: #107f38;
  --green-hover: #13993f;
  --green-soft: rgba(0,230,118,0.1);

  /* ── Neutrals ── */
  --white: #f8f8f8;
  --text: #f8f8f8;               /* alias → --white */
  --gray: #aaa;
  --muted: #aaa;                 /* alias → --gray */
  --gray-light: #bbb;
  --gray2: #b3b3b3;              /* alias (legacy) */
  --gray-2: #aaa;                /* alias (wholesale) */
  --gray-dark: #777;
  --muted2: #777;                /* alias → --gray-dark */

  /* ── Status colors ── */
  --error: #e07070;
  --success: #8fb8a8;
  --tether: #db266c;               /* USDT — matched to brand pink */

  /* ── Radii ── */
  --radius-sm: 3px;
  --radius: 6px;
  --radius-lg: 10px;

  /* ── Transitions ── */
  --transition-fast: 0.15s ease;
  --transition: 0.3s ease;

  /* ── Layout ── */
  --max: 1240px;                   /* wholesale max-width */

  /* ── Typography ── */
  --mono: 'DM Mono', monospace;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Outfit', sans-serif;
  --line-height: 1.7;

  /* ── Spacing Scale (4px base) ── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* ── Type Scale ── */
  --text-xs: 10px;
  --text-sm: 12px;
  --text-base: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --text-4xl: 40px;
  --text-5xl: 48px;
}

/* ═══════════════════════════════════════════════
 *  UNIFIED NAV — Shell v2
 *  Desktop: 80px | Mobile: 64px
 *  Pill aesthetic throughout
 * ═══════════════════════════════════════════════ */
:root {
  --nav-h-desktop: 80px;
  --nav-h-mobile: 64px;
  --transition-shell: 0.25s ease-in-out;
  --z-nav: 100;
  --z-mega: 300;
  --z-search: 400;
  --z-drawer-scrim: 490;
  --z-drawer: 500;
}

/* ── NAV BAR ── */
body > nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  height: var(--nav-h-desktop);
  padding: 0 clamp(20px, 3.5vw, 40px);
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition-shell), border-color var(--transition-shell), transform 0.3s ease;
}
body > nav.nav-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}
body > nav.nav-scrolled {
  background: rgba(8, 8, 8, 0.92);
  border-bottom-color: rgba(255,255,255,0.10);
}
body > nav .nav-logo,
body > nav .nav-link,
body > nav .nav-cta,
body > nav .nav-icon { color: inherit; text-decoration: none; }

/* ── LOGO ── */
body > nav .nav-logo {
  display: flex;
  align-items: center;
  min-height: 46px;
  gap: 12px;
  font-family: var(--mono);
  font-size: clamp(19px, 1vw + 10px, 24px);
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  flex: 0 0 auto;
}
body > nav .logo-mark {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  flex-shrink: 0;
}
body > nav .nav-logo .logo-mark { color: var(--pink); }
body > nav .logo-mark svg { width: 26px; height: 19px; }

/* ── NAV LINKS (left group) ── */
.nav-left {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
}
body > nav .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
  padding: 0 2px;
  white-space: nowrap;
  position: relative;
}
body > nav .nav-link:hover { color: #fff; }
body > nav .nav-link:visited { color: #fff; }
body > nav .nav-link:visited:hover { color: #fff; }
body > nav .nav-link.active { color: var(--pink-text); }
body > nav .nav-link[aria-expanded="true"] { color: #fff; }

/* Products dropdown caret */
.nav-link .nav-caret {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border: none;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition-shell);
}
body > nav .nav-link[aria-expanded="true"] .nav-caret {
  transform: rotate(-135deg) translateY(-2px);
}

/* ── RIGHT GROUP (icons + CTA) ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex: 0 0 auto;
}
.nav-right > * { flex-shrink: 0; }

/* ── ICON BUTTONS (search, account, cart) — identical 44x44 circles ── */
body > nav .nav-icon {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  text-decoration: none;
  flex: 0 0 auto;
  background: transparent;
  color: #fff;
  padding: 0;
}
body > nav .nav-icon:hover {
  border-color: var(--pink);
  background: var(--pink-soft);
}
body > nav .nav-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body > nav .nav-icon:hover svg { stroke: var(--pink); }

/* ── CART BADGE ── */
.cart-count {
  position: absolute;
  top: -4px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
}
.cart-count.show { display: inline-flex; }

/* ── CTA PILL ── */
body > nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  border: none;
  white-space: nowrap;
}
body > nav .nav-cta:hover { background: #ff0060; transform: translateY(-2px); }
body > nav .nav-cta:visited { color: #fff; }

/* ── PT NAV LINKS (research/article pages) ── */
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray-light);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--pink); }
.nav-links a:visited { color: var(--gray-light); }
.nav-links a:visited:hover { color: var(--pink); }
.nav-links a.active { color: var(--pink); }

/* ── HAMBURGER ── */
body > nav .nav-hamburger {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  transition: border-color .2s;
}
body > nav .nav-hamburger:hover { border-color: var(--pink); }
body > nav .nav-hamburger .ham-top,
body > nav .nav-hamburger .ham-mid,
body > nav .nav-hamburger .ham-bot {
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
body > nav .nav-hamburger.open .ham-top { transform: translate(0,6px) rotate(45deg); }
body > nav .nav-hamburger.open .ham-mid { opacity: 0; }
body > nav .nav-hamburger.open .ham-bot { transform: translate(0,-6px) rotate(-45deg); }

/* ═══════════════════════════════════════════════
 *  MEGA MENU — Products dropdown
 * ═══════════════════════════════════════════════ */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1060px, calc(100vw - 48px));
  background: linear-gradient(180deg, #111 0%, var(--surface) 100%);
  border: 1px solid rgba(219,38,108,0.18);
  border-top: 1px solid rgba(219,38,108,0.35);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 28px 36px 32px;
  z-index: var(--z-mega);
  display: none;
  gap: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55), 0 0 40px rgba(219,38,108,0.06);
}
.mega-menu.open {
  display: grid;
  grid-template-columns: 1fr 320px 1fr 1fr;
}
.mega-col--featured { order: 2; }
.mega-menu > .mega-col:nth-child(2) { order: 1; }
.mega-menu > .mega-col:nth-child(3) { order: 3; }
.mega-menu > .mega-col:nth-child(4) { order: 4; }

/* ── Mega menu column headers ── */
.mega-col-header {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--pink-text);
  letter-spacing: .14em;
  margin-bottom: 12px;
  line-height: 1;
}
.mega-col--featured .mega-col-header {
  text-align: center;
}

/* ── Mega menu links (columns 2-4) ── */
.mega-menu .mega-col a {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  line-height: 1.4;
  padding: 8px 0;
  transition: color .2s, padding-left .2s;
}
.mega-menu .mega-col a:hover { color: #fff; padding-left: 4px; }
.mega-menu .mega-col a:visited { color: rgba(255,255,255,0.75); }
.mega-menu .mega-col a:visited:hover { color: #fff; }

/* ── Product cards (column 1) ── */
.mega-product-card {
  display: block;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(219,38,108,0.08) 0%, rgba(219,38,108,0.02) 100%);
  border: 1px solid rgba(219,38,108,0.25);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color .25s, transform .25s, background .25s, box-shadow .25s;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.mega-product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--pink-text), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.mega-product-card:hover {
  border-color: var(--pink);
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(219,38,108,0.14) 0%, rgba(219,38,108,0.04) 100%);
  box-shadow: 0 8px 24px rgba(219,38,108,0.12);
}
.mega-product-card:hover::before { opacity: 1; }
.mega-product-card:visited { color: inherit; }
.mega-product-card .mega-card-title {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
}
.mega-product-card .mega-card-sub {
  font-family: var(--sans);
  font-size: 12px;
  color: #ccc;
  margin-bottom: 10px;
}
.mega-product-card .mega-card-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ── Trust chips ── */
.trust-chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}
.trust-chip--verified {
  background: rgba(16,185,80,0.1);
  color: #5ddb8d;
  border: 1px solid rgba(16,185,80,0.3);
}
.trust-chip--pending {
  background: rgba(219,38,108,0.08);
  color: var(--pink-text);
  border: 1px solid rgba(219,38,108,0.25);
}

/* ── "View All" link ── */
.mega-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: rgba(219,38,108,0.06);
  border: 1px solid rgba(219,38,108,0.3);
  border-radius: var(--radius-lg);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--pink-text);
  text-decoration: none;
  transition: color .2s, border-color .2s, background .2s;
}
.mega-view-all:hover { color: #fff; border-color: var(--pink); background: rgba(219,38,108,0.12); }
.mega-view-all:visited { color: var(--pink-text); }

/* ═══════════════════════════════════════════════
 *  GLOBAL SEARCH OVERLAY
 * ═══════════════════════════════════════════════ */
.search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: var(--z-search);
  padding: 20px 0 24px;
  display: none;
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}
.search-overlay.open { display: block; }
.search-overlay__inner {
  width: min(640px, calc(100vw - 48px));
  margin: 0 auto;
}
.search-overlay__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-overlay__input {
  width: 100%;
  height: 52px;
  padding: 0 44px 0 44px;
  font-family: var(--sans);
  font-size: 15px;
  color: #fff;
  background: var(--bg);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  outline: none;
  transition: border-color .2s;
}
.search-overlay__input:focus { border-color: var(--border-pink); }
.search-overlay__input::placeholder { color: var(--gray-dark); }
.search-overlay__icon {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 20px;
  color: var(--gray-dark);
  pointer-events: none;
}
.search-overlay__clear {
  position: absolute;
  right: 10px;
  width: 32px;
  height: 32px;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--gray);
  cursor: pointer;
  border-radius: 50%;
  transition: color .2s;
}
.search-overlay__clear:hover { color: #fff; }
.search-overlay__clear.show { display: inline-flex; }
.search-overlay__results {
  margin-top: 12px;
  max-height: 400px;
  overflow-y: auto;
}
.search-overlay__group-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray-dark);
  padding: 8px 0 4px;
}
.search-overlay__result {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--gray-light);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 14px;
  transition: background .15s, color .15s;
}
.search-overlay__result:hover,
.search-overlay__result.focused {
  background: rgba(255,255,255,0.04);
  color: #fff;
}
.search-overlay__result:visited { color: var(--gray-light); }
.search-overlay__result-cat {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-dark);
  margin-left: auto;
  flex-shrink: 0;
  padding-left: 12px;
}
.search-overlay__empty {
  text-align: center;
  padding: 20px 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--gray-dark);
}

/* ═══════════════════════════════════════════════
 *  MOBILE DRAWER
 * ═══════════════════════════════════════════════ */
.drawer-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: var(--z-drawer-scrim);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-shell);
}
.drawer-scrim.open { opacity: 1; pointer-events: auto; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  z-index: var(--z-drawer);
  transform: translateX(100%);
  transition: transform var(--transition-shell);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: var(--nav-h-mobile);
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.drawer-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: border-color .2s;
}
.drawer-close:hover { border-color: var(--pink); }
.drawer-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; }

.drawer-search {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.drawer-search input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: #fff;
  background: var(--bg);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  outline: none;
  transition: border-color .2s;
}
.drawer-search input:focus { border-color: var(--border-pink); }
.drawer-search input::placeholder { color: var(--gray-dark); }

.drawer-links {
  flex: 1;
  padding: 8px 0;
}
.drawer-link {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 20px;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.drawer-link:hover { color: var(--pink-text); }
.drawer-link:visited { color: #fff; }
.drawer-link--cta {
  color: var(--pink-text);
  font-weight: 500;
}
.drawer-link--cta:visited { color: var(--pink-text); }

/* Drawer accordion */
.drawer-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 52px;
  padding: 0 20px;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: color .2s;
  text-align: left;
}
.drawer-accordion-toggle:hover { color: var(--pink-text); }
.drawer-accordion-chevron {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform .2s;
  flex-shrink: 0;
}
.drawer-accordion-toggle[aria-expanded="true"] .drawer-accordion-chevron {
  transform: rotate(180deg);
}
.drawer-accordion-panel {
  display: none;
  padding: 0 20px 8px 32px;
  background: rgba(255,255,255,0.02);
}
.drawer-accordion-panel.open { display: block; }
.drawer-accordion-panel a {
  display: block;
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--gray-light);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.drawer-accordion-panel a:last-child { border-bottom: none; }
.drawer-accordion-panel a:hover { color: #fff; }
.drawer-accordion-panel a:visited { color: var(--gray-light); }

/* Suppression while drawer open */
body.drawer-open { overflow: hidden; }
body.drawer-open .whatsapp-float,
body.drawer-open .cookie-bar {
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

/* ── NAV RESPONSIVE ── */
@media (max-width: 980px) {
  body > nav {
    height: var(--nav-h-mobile);
    gap: 8px;
    padding: 0 16px;
  }
  body > nav .nav-logo {
    gap: 10px;
    font-size: 16px;
    letter-spacing: .11em;
  }
  body > nav .logo-mark svg { width: 20px; height: 15px; }
  .nav-left { display: none; }
  .nav-right .nav-cta { display: none; }
  .nav-right .nav-icon--account { display: none; }
  .nav-right .nav-icon--search { width: 44px; height: 44px; }
  .nav-right .nav-icon--cart { width: 44px; height: 44px; }
  body > nav .nav-hamburger { display: inline-flex; }
  .mega-menu { display: none !important; }
  .search-overlay { display: none !important; }
  .nav-links { gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
  .nav-links a { font-size: 9px; letter-spacing: .12em; }
}

/* ── MEGA MENU RESPONSIVE ── */
@media (max-width: 1080px) and (min-width: 981px) {
  .mega-menu.open { grid-template-columns: 1fr 260px 1fr 1fr; }
}

/* ── SITEWIDE ANNOUNCEMENT BAR ── */

/* ── ORDER PAGE BUNDLE BANNER ── */

/* ── VALUE ANCHOR BADGE (used everywhere) ── */

/* ── SAVINGS BREAKDOWN (order page banner) ── */

.savings-row {
  display: flex;
  justify-content: space-between;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--gray-light);
  letter-spacing: 0.03em;
  padding: 4px 0;
}

.savings-row s {
  color: var(--gray);
  text-decoration: line-through;
}

.savings-free {
  color: var(--pink);
}

.savings-free strong {
  color: var(--pink);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.savings-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 6px 0;
}

.savings-total {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}

.savings-total strong {
  color: var(--pink);
}

/* ── CART SIDEBAR BUNDLE LINE ── */

/* ── SOCIAL PROOF TOAST ── */

@keyframes toastPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── EXIT-INTENT OVERLAY (desktop only) ── */

/* Hide exit popup on mobile/tablet */

/* ═══════════════════════════════════════════════
 *  Article Table of Contents
 * ═══════════════════════════════════════════════ */
.article-toc {
  margin: 0 0 32px;
  border: 1px solid var(--border, #222);
  border-radius: var(--radius-sm, 6px);
  background: var(--surface2, #111);
  overflow: hidden;
}
.toc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: none;
  border: none;
  color: var(--white, #fff);
  font-size: 14px;
  font-family: var(--mono, monospace);
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: left;
}
.toc-icon { font-size: 16px; opacity: 0.6; }
.toc-arrow { margin-left: auto; font-size: 10px; opacity: 0.5; }
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0 20px 16px;
}
.toc-list li {
  border-bottom: 1px solid var(--border, #222);
}
.toc-list li:last-child { border-bottom: none; }
.toc-list li a {
  display: block;
  padding: 10px 0;
  color: var(--gray-light, #bbb);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  transition: color 0.15s;
}
.toc-list li a:hover { color: var(--pink, #db266c); }
.toc-list li.toc-sub a { padding-left: 16px; font-size: 12px; color: var(--gray, #888); }

/* ═══════════════════════════════════════════════
 *  Mobile: Reduce nav height on small screens
 * ═══════════════════════════════════════════════ */
@media (max-width: 640px) {
  body > nav {
    gap: 10px;
    padding: 10px 14px;
  }
  body > nav .nav-logo {
    gap: 10px;
    font-size: 15px;
    letter-spacing: .11em;
  }
  body > nav .logo-mark svg {
    width: 20px;
    height: 15px;
  }
  body > nav .nav-right {
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    padding: 16px;
    border-radius: 20px;
  }
  body > nav .nav-right > a.nav-link { min-height: 46px; font-size: 12px; }
  body > nav .nav-right > a.nav-cta { min-height: 48px; font-size: 11px; }
}

/* ═══════════════════════════════════════════════
 *  Mobile: Improve table readability
 * ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  table { font-size: 13px; }
  tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
}

/* ═══════════════════════════════════════════════
 *  Footer — Shell v2
 *  Trust strip + 4-col grid + email capture + compliance
 * ═══════════════════════════════════════════════ */

/* ── TRUST STRIP ── */
.footer-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 52px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.footer-trust-strip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.footer-trust-strip__item svg {
  width: 16px;
  height: 16px;
  stroke: var(--pink);
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
}
.footer-trust-strip__item span {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-light, #ccc);
}

/* ── FOOTER GRID ── */
body > footer {
  border-top: none;
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
  text-align: left;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px clamp(20px, 4vw, 40px) 40px;
}
.footer-col-header {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--gray-dark);
  letter-spacing: .14em;
  margin-bottom: 16px;
  line-height: 1;
}
.footer-col a {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  line-height: 1.4;
  padding: 6px 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--pink-text); }
.footer-col a:visited { color: var(--gray); }
.footer-col a:visited:hover { color: var(--pink-text); }

/* ── EMAIL CAPTURE ── */
.footer-capture {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px clamp(20px, 4vw, 40px) 36px;
  text-align: center;
}
.footer-capture__heading {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}
.footer-capture__sub {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.footer-capture__form {
  display: flex;
  gap: 0;
}
.footer-capture__input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  font-family: var(--sans);
  font-size: 13px;
  color: #fff;
  background: var(--surface);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 999px 0 0 999px;
  outline: none;
  transition: border-color .2s;
}
.footer-capture__input:focus { border-color: var(--border-pink); }
.footer-capture__input::placeholder { color: var(--gray-dark); }
.footer-capture__btn {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 24px;
  background: var(--pink);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: none;
  border-radius: 0 999px 999px 0;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.footer-capture__btn:hover { background: var(--pink-hover); }

/* ── SOCIAL + COMPLIANCE ── */
.footer-bottom {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 40px) 32px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-social a {
  color: var(--gray);
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
}
.footer-social a:hover { color: var(--pink); border-color: var(--pink); }
.footer-social a svg { width: 18px; height: 18px; fill: currentColor; }

.footer-compliance {
  font-family: var(--sans);
  font-size: var(--text-sm);
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}
.footer-copyright {
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--gray);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Legacy footer class compat */
body > footer.confirmed-footer,
body > footer.failed-footer {
  padding-top: 28px;
  padding-bottom: 36px;
}
body > footer .footer-formerly,
body > footer .footer-brand,
body > footer .footer-note {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray2);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.7;
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
}
body > footer .footer-ruo {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray2);
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.7;
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
}

/* ── FOOTER RESPONSIVE ── */
@media (max-width: 768px) {
  .footer-trust-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
    padding: 12px 16px;
    gap: 8px;
  }
  .footer-trust-strip__item { justify-content: center; min-height: 36px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
    padding: 32px 20px 28px;
  }
  .footer-capture__form {
    flex-direction: column;
    gap: 8px;
  }
  .footer-capture__input {
    border: 1px solid var(--border) !important;
    border-radius: 999px !important;
    min-height: 52px !important;
    height: 52px !important;
    font-size: 15px !important;
    padding: 0 20px !important;
    background: rgba(255,255,255,0.04) !important;
  }
  .footer-capture__btn {
    border-radius: 999px !important;
    min-height: 52px !important;
    height: 52px !important;
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 16px 20px;
  }
  .footer-trust-strip__item span { font-size: 9px; }
  .footer-social a { width: 44px; height: 44px; }
  .footer-compliance { font-size: 11px; }
}

/* Skip navigation */
/* Screen reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--pink);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:visited { color: #fff; }
.skip-link:focus {
  top: 0;
}
body > footer .footer-col a:visited { color: var(--gray); }
.footer-social a:visited { color: var(--gray); }

/* Reduced motion */
/* ── Language switcher ── */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; margin-left: 8px; }
.lang-switch a { color: var(--gray); text-decoration: none; padding: 4px 6px; border-radius: 3px; transition: color .2s; }
.lang-switch a:hover, .lang-switch a.active { color: #fff; }
.lang-switch .sep { color: var(--border); font-size: 8px; }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 95;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}
@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
  }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

/* ── BACK TO TOP (bottom-left) ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 44px;
  height: 44px;
  background: var(--surface, #111);
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, border-color .3s, background .3s;
  z-index: 95;
  text-decoration: none;
  color: inherit;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
  border-color: var(--pink, #db266c);
  background: rgba(219,38,108,0.08);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: var(--gray, #888);
  transition: stroke .3s;
}
.back-to-top:hover svg { stroke: var(--pink, #db266c); }
@media (max-width: 480px) {
  .back-to-top { bottom: 18px; left: 18px; width: 40px; height: 40px; }
  .back-to-top svg { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
