/* ============================================================
   EDGECHEMS MAIN STYLESHEET
   Clinical-aggressive dark theme for research peptide DTC shop
   ============================================================ */

/* ── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Surface scale */
  --se-black: #06060E;
  --se-d1:    #0C0D1B;
  --se-d2:    #12142B;
  --se-d3:    #1C1F38;
  --se-d4:    #2A2E50;

  /* Silver scale */
  --se-s4:    #4E5366;
  --se-s5:    #8A8E9C;
  --se-s6:    #B6BAC4;
  --se-s7:    #D2D5DC;
  --se-s8:    #E6E8ED;
  --se-white: #F4F6FA;

  /* Accent */
  --se-elec:  #C0CDD8;

  /* Semantic badge colours */
  --badge-purity-bg:     #1C1F38;
  --badge-purity-color:  #C0CDD8;
  --badge-purity-border: #2A2E50;

  --badge-coa-bg:     #1C1F38;
  --badge-coa-color:  #7EC8A0;
  --badge-coa-border: #2A4A3A;

  --badge-tested-bg:     #1C1F38;
  --badge-tested-color:  #A0B8D4;
  --badge-tested-border: #2A3A4A;

  --badge-sale-bg:     #3A1A0A;
  --badge-sale-color:  #F0A060;
  --badge-sale-border: #5A2A10;

  /* Typography */
  --font-display: 'Rajdhani', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Layout */
  --container:    1280px;
  --section-pad:  100px;
  --radius:       10px;
  --radius-sm:    6px;
  --radius-lg:    16px;

  /* Shadows / depth */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.3);
  --shadow-hover: 0 12px 48px rgba(0,0,0,0.7), 0 2px 8px rgba(192,205,216,0.08);
  --shadow-inset: inset 0 1px 0 rgba(192,205,216,0.06);

  /* Transitions */
  --t-fast:   150ms ease;
  --t-base:   250ms ease;
  --t-slow:   400ms ease;
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Force dark background on the html element — prevents
   WordPress admin bar and WooCommerce wrappers from showing
   a light background behind our theme. */
html {
  background-color: #06060E; /* --se-black hardcoded as fallback */
  background-color: var(--se-black);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
}

body {
  background-color: #06060E;
  background-color: var(--se-black);
  color: var(--se-s6);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* WordPress admin bar offset — prevents header overlap when
   logged in as admin. WP adds margin-top: 32px to html. */
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

a {
  color: var(--se-elec);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--se-white); }

img, svg { display: block; max-width: 100%; }

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--se-s8);
  line-height: 1.2;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── 3. UTILITY CLASSES ───────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: var(--section-pad); }
.section--sm { padding-block: 60px; }
.section--lg { padding-block: 140px; }

.text-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--se-elec);
}

.label-overline {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--se-s5);
  font-family: var(--font-body);
  font-weight: 600;
}

.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;
}

/* ── 4. TYPOGRAPHY SCALE ──────────────────────────────────── */
.display-xl {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.10em;
}
.display-lg {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.12em;
}
.display-md {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: 0.12em;
}
.display-sm {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: 0.10em;
}

.body-lg { font-size: 1.125rem; line-height: 1.75; }
.body-sm { font-size: 0.875rem; line-height: 1.6; }

/* ── 5. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--se-d4) 0%, var(--se-s4) 100%);
  color: var(--se-white);
  border-color: var(--se-s4);
  box-shadow: 0 2px 12px rgba(192,205,216,0.12), var(--shadow-inset);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--se-s4) 0%, var(--se-s6) 100%);
  color: var(--se-black);
  border-color: var(--se-s6);
  box-shadow: 0 4px 24px rgba(192,205,216,0.25);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--se-s7);
  border-color: var(--se-d4);
}
.btn-secondary:hover {
  background: var(--se-d2);
  color: var(--se-white);
  border-color: var(--se-s4);
}

.btn-ghost {
  background: transparent;
  color: var(--se-s5);
  border-color: transparent;
  padding-inline: 12px;
}
.btn-ghost:hover {
  color: var(--se-s8);
  background: var(--se-d2);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

/* ── 6. BADGES / TRUST SIGNALS ────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  border: 1px solid;
  white-space: nowrap;
}

.badge-purity {
  background: var(--badge-purity-bg);
  color: var(--badge-purity-color);
  border-color: var(--badge-purity-border);
}
.badge-coa {
  background: var(--badge-coa-bg);
  color: var(--badge-coa-color);
  border-color: var(--badge-coa-border);
}
.badge-tested {
  background: var(--badge-tested-bg);
  color: var(--badge-tested-color);
  border-color: var(--badge-tested-border);
}
.badge-sale {
  background: var(--badge-sale-bg);
  color: var(--badge-sale-color);
  border-color: var(--badge-sale-border);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

/* ── 7. CARDS ─────────────────────────────────────────────── */
.card {
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,205,216,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px) perspective(600px) rotateX(1deg);
  box-shadow: var(--shadow-hover);
  border-color: var(--se-d4);
}

/* ── 8. FORMS ─────────────────────────────────────────────── */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--se-s5);
  font-weight: 600;
}
.form-input,
.form-select,
.form-textarea {
  background: var(--se-d1);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-sm);
  color: var(--se-s7);
  padding: 10px 14px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--se-s4);
  box-shadow: 0 0 0 3px rgba(192,205,216,0.08);
}
.form-input::placeholder { color: var(--se-s4); }

/* ── 9. HEADER ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6,6,14,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--se-d3);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  height: 72px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.site-logo__wordmark {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.site-logo__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  color: var(--se-s8);
  line-height: 1;
  text-transform: uppercase;
}
.site-logo__tagline {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  color: var(--se-s5);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 3px;
}

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.primary-nav__item {
  position: relative;
}
.primary-nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--se-s6);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.primary-nav__link:hover,
.primary-nav__item.current-menu-item .primary-nav__link {
  color: var(--se-white);
  background: var(--se-d2);
}
.primary-nav__link .chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--t-fast);
}
.primary-nav__item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--se-d1);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-fast), visibility var(--t-fast), transform var(--t-fast);
  z-index: 100;
}
.primary-nav__item:hover .nav-dropdown,
.primary-nav__item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown__link {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--se-s6);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-dropdown__link:hover {
  background: var(--se-d2);
  color: var(--se-white);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-sm);
  color: var(--se-s7);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: all var(--t-fast);
  text-decoration: none;
}
.header-cart:hover {
  border-color: var(--se-s4);
  color: var(--se-white);
}
.header-cart__count {
  background: var(--se-elec);
  color: var(--se-black);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu-toggle span {
  display: block;
  height: 2px;
  background: var(--se-s6);
  border-radius: 2px;
  transition: all var(--t-fast);
}
.mobile-menu-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: rgba(6,6,14,0.97);
  backdrop-filter: blur(8px);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-overlay.is-open { display: flex; }
.mobile-overlay .primary-nav__link {
  font-size: 1rem;
  padding: 14px 16px;
}
.mobile-overlay .nav-dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: var(--se-d2);
  border-color: var(--se-d4);
  margin-top: 4px;
  padding: 4px;
}

/* ── 10. HERO SECTION ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--se-black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(28,31,56,0.7) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(192,205,216,0.04) 0%, transparent 60%),
    linear-gradient(180deg, var(--se-black) 0%, var(--se-d1) 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(192,205,216,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,205,216,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__overline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.hero__overline-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--se-elec);
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  color: var(--se-white);
}
.hero__title span {
  background: linear-gradient(135deg, var(--se-s6) 0%, var(--se-elec) 50%, var(--se-white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__body {
  font-size: 1.125rem;
  color: var(--se-s5);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Stretch the container to full width inside the flex hero */
.hero > .container {
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
}

/* Three-column hero layout */
.hero__columns {
  display: grid;
  grid-template-columns: 1fr 1fr 200px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__image-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-vial-svg {
  max-width: 480px;
  width: 100%;
  filter: drop-shadow(0 8px 32px rgba(192,205,216,0.08));
}

.hero__stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: center;
}
.hero-stat {
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 160px;
  box-shadow: var(--shadow-card);
}
.hero-stat__value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: var(--se-elec);
  line-height: 1;
}
.hero-stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--se-s5);
  margin-top: 4px;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--se-s4);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── 11. FEATURE STRIP ────────────────────────────────────── */
.feature-strip {
  background: var(--se-d1);
  border-top: 1px solid var(--se-d3);
  border-bottom: 1px solid var(--se-d3);
  padding-block: 28px;
}
.feature-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
}
.feature-strip__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-right: 1px solid var(--se-d3);
}
.feature-strip__item:last-child { border-right: none; }
.feature-strip__icon {
  width: 36px;
  height: 36px;
  background: var(--se-d2);
  border: 1px solid var(--se-d4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--se-elec);
}
.feature-strip__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--se-s8);
  font-weight: 700;
}
.feature-strip__text span {
  font-size: 0.75rem;
  color: var(--se-s5);
}

/* ── 12. SECTION HEADERS ──────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header--left { text-align: left; }

.section-header__overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-header__overline::before,
.section-header__overline::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--se-elec);
  opacity: 0.5;
}
.section-header--left .section-header__overline::before { display: none; }

.section-header__title {
  margin-bottom: 16px;
}

.section-header__body {
  color: var(--se-s5);
  max-width: 560px;
  margin-inline: auto;
}
.section-header--left .section-header__body { margin-inline: 0; }

/* ── 13. PRODUCT CARDS ────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,205,216,0.025) 0%, transparent 50%);
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-6px) perspective(800px) rotateX(1.5deg);
  box-shadow: var(--shadow-hover);
  border-color: var(--se-d4);
}

.product-card__badge-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}
.product-card__sale-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.product-card__image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--se-d1) 0%, var(--se-d3) 100%);
  position: relative;
  overflow: hidden;
}
.product-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 40px;
  background: linear-gradient(transparent, var(--se-d2));
}

/* Vial SVG icon */
.vial-icon {
  width: 64px;
  height: 100px;
  opacity: 0.7;
  transition: opacity var(--t-base), transform var(--t-base);
}
.product-card:hover .vial-icon {
  opacity: 0.9;
  transform: scale(1.05);
}

.product-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card__category {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--se-s4);
  font-weight: 600;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--se-s8);
  line-height: 1.3;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-card__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--se-d3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card__price {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--se-white);
  line-height: 1;
}
.product-card__price del {
  font-size: 0.85rem;
  color: var(--se-s4);
  text-decoration: line-through;
  margin-right: 6px;
}

.product-card__atc {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--se-d4) 0%, var(--se-s4) 100%);
  color: var(--se-white);
  border: 1px solid var(--se-s4);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
}
.product-card__atc:hover {
  background: linear-gradient(135deg, var(--se-s4) 0%, var(--se-s6) 100%);
  color: var(--se-black);
  box-shadow: 0 4px 16px rgba(192,205,216,0.2);
}

/* ── 14. CATEGORY GRID ────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(192,205,216,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.category-card:hover {
  border-color: var(--se-d4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.category-card__icon {
  width: 44px;
  height: 44px;
  background: var(--se-d3);
  border: 1px solid var(--se-d4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--se-elec);
  font-size: 1.25rem;
}

.category-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--se-s8);
}
.category-card__count {
  font-size: 0.75rem;
  color: var(--se-s5);
  font-family: var(--font-mono);
}
.category-card__arrow {
  margin-top: auto;
  color: var(--se-s4);
  font-size: 1rem;
  transition: transform var(--t-fast), color var(--t-fast);
}
.category-card:hover .category-card__arrow {
  transform: translateX(4px);
  color: var(--se-elec);
}

/* ── 15. PROMO BANNER ─────────────────────────────────────── */
.promo-banner {
  background: linear-gradient(135deg, var(--se-d2) 0%, var(--se-d3) 100%);
  border: 1px solid var(--se-d4);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 90% 50%, rgba(192,205,216,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.promo-banner__label {
  display: inline-block;
  background: var(--badge-sale-bg);
  color: var(--badge-sale-color);
  border: 1px solid var(--badge-sale-border);
  border-radius: 4px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.promo-banner__title {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.promo-banner__body {
  color: var(--se-s5);
  max-width: 480px;
}
.promo-banner__cta { flex-shrink: 0; }

/* ── 16. TESTIMONIALS ─────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: var(--badge-sale-color);
  font-size: 0.85rem;
}
.testimonial-card__quote {
  color: var(--se-s6);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--se-d3);
  padding-top: 16px;
}
.testimonial-card__avatar {
  width: 36px;
  height: 36px;
  background: var(--se-d4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--se-elec);
  font-weight: 700;
}
.testimonial-card__name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--se-s7);
  font-weight: 700;
}
.testimonial-card__role {
  font-size: 0.72rem;
  color: var(--se-s4);
}

/* ── 17. NEWSLETTER ───────────────────────────────────────── */
.newsletter {
  background: var(--se-d1);
  border-top: 1px solid var(--se-d3);
  border-bottom: 1px solid var(--se-d3);
  padding-block: 72px;
}
.newsletter__inner {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}
.newsletter__title { margin-bottom: 12px; }
.newsletter__body {
  color: var(--se-s5);
  margin-bottom: 28px;
}
.newsletter__form {
  display: flex;
  gap: 10px;
}
.newsletter__input {
  flex: 1;
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-sm);
  color: var(--se-s7);
  padding: 12px 16px;
  transition: border-color var(--t-fast);
}
.newsletter__input:focus {
  outline: none;
  border-color: var(--se-s4);
}
.newsletter__input::placeholder { color: var(--se-s4); }
.newsletter__disclaimer {
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--se-s4);
  letter-spacing: 0.04em;
}

/* ── 18. FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: var(--se-d1);
  border-top: 1px solid var(--se-d3);
  padding-top: 72px;
  padding-bottom: 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand__desc {
  color: var(--se-s5);
  font-size: 0.875rem;
  line-height: 1.7;
}
.footer-trust-badges { display: flex; flex-direction: column; gap: 8px; }

.footer-col__title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--se-s8);
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  color: var(--se-s5);
  font-size: 0.875rem;
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--se-s8); }

.footer-bottom {
  border-top: 1px solid var(--se-d3);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom__legal {
  font-size: 0.78rem;
  color: var(--se-s4);
  letter-spacing: 0.04em;
}
.footer-bottom__disclaimer {
  font-size: 0.72rem;
  color: var(--se-s4);
  max-width: 560px;
  text-align: right;
  line-height: 1.5;
}

/* ── 19. AGE GATE ─────────────────────────────────────────── */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(6,6,14,0.98);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.age-gate__box {
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-hover);
}
.age-gate__logo { margin-inline: auto; margin-bottom: 28px; }
.age-gate__title { margin-bottom: 12px; font-size: 1.5rem; }
.age-gate__body { color: var(--se-s5); font-size: 0.9rem; margin-bottom: 28px; }
.age-gate__buttons { display: flex; gap: 12px; justify-content: center; }
.age-gate__deny {
  font-size: 0.78rem;
  color: var(--se-s4);
  margin-top: 16px;
}

/* ── 20. SHOP / ARCHIVE PAGE ──────────────────────────────── */
.shop-header {
  background: var(--se-d1);
  border-bottom: 1px solid var(--se-d3);
  padding-block: 48px;
}
.shop-header__title { margin-bottom: 8px; }
.shop-header__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shop-filter-btn {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-sm);
  color: var(--se-s5);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
}
.shop-filter-btn:hover,
.shop-filter-btn.active {
  background: var(--se-d2);
  border-color: var(--se-s4);
  color: var(--se-white);
}

.shop-sort {
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-sm);
  color: var(--se-s6);
  padding: 8px 12px;
  font-size: 0.82rem;
}

/* ── 21. SINGLE PRODUCT PAGE ──────────────────────────────── */
.product-single {
  padding-block: 80px;
}
.product-single__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.product-gallery {
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
}
.product-gallery__badge-stack {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-info { display: flex; flex-direction: column; gap: 24px; }

.product-info__category { color: var(--se-s4); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.product-info__name {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 0;
}
.product-info__short-desc { color: var(--se-s5); line-height: 1.75; }

.product-info__price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.product-info__price {
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--se-white);
}
.product-info__price del {
  font-size: 1.1rem;
  color: var(--se-s4);
  text-decoration: line-through;
}

.product-info__variations { display: flex; flex-direction: column; gap: 8px; }
.product-info__var-label {
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--se-s5);
  font-weight: 600;
}
.product-info__var-options { display: flex; flex-wrap: wrap; gap: 8px; }
.var-option {
  padding: 8px 18px;
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-sm);
  color: var(--se-s6);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--t-fast);
}
.var-option:hover,
.var-option.selected {
  border-color: var(--se-s4);
  color: var(--se-white);
  background: var(--se-d3);
}

.product-info__qty-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.qty-input-wrap {
  display: flex;
  align-items: center;
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 36px;
  height: 44px;
  background: none;
  border: none;
  color: var(--se-s6);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--t-fast);
}
.qty-btn:hover { background: var(--se-d3); }
.qty-input {
  width: 50px;
  height: 44px;
  background: none;
  border: none;
  border-left: 1px solid var(--se-d3);
  border-right: 1px solid var(--se-d3);
  color: var(--se-s7);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.qty-input:focus { outline: none; }

.product-info__trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--se-d3);
}

.product-info__disclaimer {
  background: var(--se-d1);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.78rem;
  color: var(--se-s4);
  letter-spacing: 0.03em;
  line-height: 1.6;
}

/* Product tabs */
.product-tabs {
  margin-top: 80px;
}
.product-tabs__nav {
  display: flex;
  border-bottom: 1px solid var(--se-d3);
  gap: 0;
  margin-bottom: 32px;
}
.product-tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--se-s5);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-fast);
  font-weight: 700;
}
.product-tab-btn:hover { color: var(--se-s7); }
.product-tab-btn.active {
  color: var(--se-elec);
  border-bottom-color: var(--se-elec);
}
.product-tab-panel { display: none; color: var(--se-s5); line-height: 1.8; }
.product-tab-panel.active { display: block; }

/* ── 22. PAGINATION ───────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
}
.page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-sm);
  color: var(--se-s5);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: all var(--t-fast);
  text-decoration: none;
}
.page-link:hover,
.page-link.current {
  background: var(--se-d3);
  border-color: var(--se-s4);
  color: var(--se-white);
}

/* ── 23. BREADCRUMBS ──────────────────────────────────────── */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--se-s4);
  margin-bottom: 24px;
}
.breadcrumbs a { color: var(--se-s5); }
.breadcrumbs a:hover { color: var(--se-s8); }
.breadcrumbs span[aria-current] { color: var(--se-s6); }
.breadcrumbs-sep { color: var(--se-d4); }

/* ── 24. BLOG / SINGLE POST ───────────────────────────────── */
.post-header {
  background: var(--se-d1);
  border-bottom: 1px solid var(--se-d3);
  padding-block: 60px;
}
.post-header__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.post-cat-badge {
  background: var(--se-d3);
  color: var(--se-elec);
  border: 1px solid var(--se-d4);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.post-date {
  font-size: 0.78rem;
  color: var(--se-s4);
  font-family: var(--font-mono);
}
.post-header__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.06em;
  max-width: 800px;
}

.post-content {
  max-width: 760px;
  margin-inline: auto;
  padding-block: 60px;
}
.post-content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
}
.post-content h3 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 12px;
}
.post-content p { margin-bottom: 1.25rem; }
.post-content ul,
.post-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 1.25rem;
  color: var(--se-s5);
}
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 6px; }
.post-content strong { color: var(--se-s8); font-weight: 600; }
.post-content code {
  font-family: var(--font-mono);
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.88em;
  color: var(--se-elec);
}
.post-content blockquote {
  border-left: 3px solid var(--se-elec);
  padding: 16px 24px;
  background: var(--se-d2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-block: 28px;
  color: var(--se-s6);
  font-style: italic;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 24px;
  font-size: 0.9rem;
}
.post-content th {
  background: var(--se-d2);
  color: var(--se-s8);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--se-d3);
  font-size: 0.82rem;
}
.post-content td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--se-d3);
  color: var(--se-s5);
}
.post-content tr:nth-child(even) td { background: rgba(18,20,43,0.5); }

/* ── 25. RELATED PRODUCTS ─────────────────────────────────── */
.related-products { padding-block: 72px; background: var(--se-d1); }

/* ── 26. CART & CHECKOUT OVERRIDES ───────────────────────── */
.woocommerce-cart-form,
.woocommerce-checkout {
  color: var(--se-s6);
}

/* ── 27. NOTICES ──────────────────────────────────────────── */
.notice,
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 0.88rem;
  margin-bottom: 20px;
  border: 1px solid;
}
.notice--success,
.woocommerce-message {
  background: rgba(126,200,160,0.08);
  color: #7EC8A0;
  border-color: #2A4A3A;
}
.notice--error,
.woocommerce-error {
  background: rgba(240,100,80,0.08);
  color: #F06450;
  border-color: #4A2A2A;
}
.notice--info,
.woocommerce-info {
  background: rgba(160,184,212,0.08);
  color: var(--badge-tested-color);
  border-color: var(--badge-tested-border);
}

/* ── 28. LOADING / SPINNER ────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--se-d4);
  border-top-color: var(--se-elec);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 29. VIAL SVG COMPONENT ───────────────────────────────── */
.vial-svg-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── 30. RESEARCH DISCLAIMER BAR ──────────────────────────── */
.research-bar {
  background: var(--se-d2);
  border-bottom: 1px solid var(--se-d3);
  padding: 8px 0;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--se-s4);
  text-transform: uppercase;
}
.research-bar strong { color: var(--se-s5); }

/* ── 31. TOPBAR / PROMO STRIP ─────────────────────────────── */
.topbar {
  background: var(--se-d3);
  padding: 8px 0;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--se-s6);
  border-bottom: 1px solid var(--se-d4);
}
.topbar strong { color: var(--se-white); }
.topbar a { color: var(--se-elec); text-decoration: underline; }

/* ── Protocol Designer Section ───────────────────────────── */
.protocol-designer__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
.protocol-designer__title {
  margin-bottom: 16px;
  color: var(--se-white);
}
.protocol-designer__body {
  color: var(--se-s5);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 480px;
}
.protocol-designer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.goal-pill {
  padding: 6px 16px;
  border: 1px solid var(--se-d4);
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--se-s6);
  background: var(--se-d2);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.goal-pill:hover {
  border-color: var(--se-elec);
  color: var(--se-elec);
  background: rgba(192,205,216,0.06);
}
.protocol-designer__card {
  background: #12142B;
  border: 1px solid var(--se-d3);
  border-radius: 10px;
  padding: 24px;
}
.protocol-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.protocol-stack__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--se-d1);
  border: 1px solid var(--se-d3);
  border-radius: 8px;
}
.protocol-stack__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.protocol-stack__name {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--se-s8);
  letter-spacing: 0.04em;
}
.protocol-stack__role {
  font-size: 0.75rem;
  color: var(--se-s4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.protocol-stack__footer {
  border-top: 1px solid var(--se-d3);
  padding-top: 16px;
  text-align: center;
}
.badge-primary-compound {
  background: rgba(42,46,80,0.8);
  color: var(--se-elec);
  border: 1px solid var(--se-d4);
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.badge-support-compound {
  background: rgba(26,31,40,0.8);
  color: var(--se-s5);
  border: 1px solid var(--se-d3);
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Capsules teal CTA button */
.btn-capsules {
  background: transparent;
  color: #7EC8A0;
  border-color: #2A4A3A;
}
.btn-capsules:hover {
  background: rgba(42,74,58,0.25);
  color: #A0DDB8;
  border-color: #3A6A50;
}

/* ── Capsules Archive Page ────────────────────────────────── */
.capsules-header {
  background: var(--se-d1);
  border-bottom: 1px solid var(--se-d3);
  padding-block: 60px 40px;
}
.capsules-header__overline { margin-bottom: 12px; }
.capsules-header__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 12px;
}
.capsules-header__sub {
  color: var(--se-s5);
  font-size: 1rem;
  letter-spacing: 0.03em;
  max-width: 540px;
  margin-bottom: 0;
}

/* Capsules sticky filter bar */
.capsules-filter-bar {
  position: sticky;
  top: 72px;
  z-index: 100;
  background: rgba(12,13,27,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--se-d3);
  padding: 12px 0;
}
.capsules-filter-bar__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.capsules-filter-btn {
  padding: 7px 18px;
  background: transparent;
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-sm);
  color: var(--se-s5);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-fast);
}
.capsules-filter-btn:hover,
.capsules-filter-btn.active {
  background: var(--se-d2);
  border-color: var(--se-s4);
  color: var(--se-white);
}
.capsules-filter-btn[data-filter="all"].active {
  border-color: #7EC8A0;
  color: #7EC8A0;
}

/* Hidden product cards when filtered */
.product-card[data-cap-tag].is-hidden {
  display: none;
}

/* ── SEARCH ────────────────────────────────────────────────── */
.header-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--se-s6);
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.header-search-toggle:hover,
.header-search-toggle.is-active {
  color: var(--se-white);
  border-color: var(--se-d4);
  background: var(--se-d2);
}

/* Collapsible search row inside the sticky header */
.search-overlay {
  overflow: hidden;
  max-height: 0;
  border-top: 1px solid transparent;
  transition: max-height 0.28s ease, border-color 0.28s ease;
}
.search-overlay.is-open {
  max-height: 64px;
  border-top-color: var(--se-d3);
}
.search-overlay__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
}
.search-overlay__form {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.search-overlay__form:focus-within { border-color: var(--se-elec); }
.search-overlay__icon {
  flex-shrink: 0;
  margin-left: 14px;
  color: var(--se-s4);
}
.search-overlay__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 14px;
  height: 44px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--se-white);
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}
.search-overlay__input::placeholder { color: var(--se-s4); }
.search-overlay__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--se-d3);
  border: none;
  border-left: 1px solid var(--se-d4);
  color: var(--se-s6);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
  flex-shrink: 0;
}
.search-overlay__btn:hover { background: var(--se-d4); color: var(--se-white); }
.search-overlay__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-sm);
  color: var(--se-s5);
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.search-overlay__close:hover {
  color: var(--se-white);
  border-color: var(--se-s5);
  background: var(--se-d2);
}

.hero__search {
  display: flex;
  align-items: center;
  max-width: 520px;
  margin-top: 28px;
  background: rgba(12,13,27,0.8);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-sm);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: border-color var(--t-fast);
}
.hero__search:focus-within { border-color: var(--se-elec); }
.hero__search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--se-white);
  min-width: 0;
}
.hero__search-input::placeholder { color: var(--se-s4); font-size: 0.88rem; }
.hero__search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  background: var(--se-d3);
  border: none;
  color: var(--se-s6);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.hero__search-btn:hover { background: var(--se-d4); color: var(--se-white); }

.shop-search {
  display: flex;
  align-items: center;
  background: var(--se-d2);
  border: 1px solid var(--se-d3);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--t-fast);
  max-width: 380px;
  margin-bottom: 20px;
}
.shop-search:focus-within { border-color: var(--se-elec); }
.shop-search__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 9px 14px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--se-white);
  min-width: 0;
}
.shop-search__input::placeholder { color: var(--se-s4); }
.shop-search__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  border-left: 1px solid var(--se-d3);
  color: var(--se-s5);
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
  flex-shrink: 0;
}
.shop-search__btn:hover { background: var(--se-d3); color: var(--se-white); }

/* ── 32. RESPONSIVE — 1024px ──────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }

  .hero__stats { display: none; }
  .hero__image-col { display: none; }
  .hero__columns { grid-template-columns: 1fr; }
  .hero__actions { flex-wrap: wrap; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .product-single__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .promo-banner {
    grid-template-columns: 1fr;
  }
  .promo-banner__cta { align-self: flex-start; }
}

/* ── 33. RESPONSIVE — 768px ───────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad: 56px; }

  .primary-nav { display: none; }
  .mobile-menu-toggle { display: flex; }

  .hero { min-height: 80vh; }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  .feature-strip__grid { grid-template-columns: 1fr 1fr; }
  .feature-strip__item { border-right: none; border-bottom: 1px solid var(--se-d3); }
  .feature-strip__item:nth-child(odd) { border-right: 1px solid var(--se-d3); }
  .feature-strip__item:last-child,
  .feature-strip__item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .protocol-designer__grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom__disclaimer { text-align: center; }

  .newsletter__form { flex-direction: column; }

  .promo-banner { padding: 36px 24px; }

  .product-tabs__nav { flex-wrap: wrap; }
  .product-tab-btn { padding: 10px 16px; font-size: 0.78rem; }

  .age-gate__box { padding: 36px 24px; }
  .age-gate__buttons { flex-direction: column; }

  .hero__search { max-width: 100%; }
  .shop-search { max-width: 100%; }
}

/* ── 34. PRINT ────────────────────────────────────────────── */
@media print {
  .site-header,
  .site-footer,
  .hero__scroll,
  .age-gate { display: none !important; }
  body { background: white; color: black; }
}


/* ── Research Library card grid (dynamic posts) ────────────────────────────── */
.research-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.research-card {
  background: #0C0D1B;
  border: 1px solid #1C1F38;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.research-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #E6E8ED;
  line-height: 1.4;
}
.research-card h3 a {
  color: #E6E8ED;
  text-decoration: none;
}
.research-card h3 a:hover {
  color: #C0CDD8;
}
.research-card p {
  font-size: 13px;
  color: #8A8E9C;
  line-height: 1.7;
  flex: 1;
}
.research-cat-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5DCAA5;
  font-family: 'JetBrains Mono', monospace;
}
.research-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #4E5366;
  border-top: 1px solid #1C1F38;
  padding-top: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.research-card-footer a {
  color: #C0CDD8;
  text-decoration: none;
  letter-spacing: 0.06em;
}
@media (max-width: 768px) {
  .research-card-grid {
    grid-template-columns: 1fr;
  }
}
