/* ============================================
   PEP2U — Landing Page Styles
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0a0a0a;
  --navy-mid: #111111;
  --navy-card: #181818;
  --gold: #39ff14;
  --gold-light: #5aff3a;
  --gold-dim: #27b30e;
  --silver: #b8bdc7;
  --white: #f4f6f8;
  --gray: #8a919e;
  --border: rgba(57, 255, 20, 0.25);
  --glow: rgba(57, 255, 20, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--navy);
  color: var(--white);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: #27b30e; border-radius: 3px; }

/* ============================================
   INTRO OVERLAY (15-second animation)
   ============================================ */
#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050505;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

#intro-overlay.fade-out {
  animation: introFadeOut 1s ease forwards;
}

@keyframes introFadeOut {
  to { opacity: 0; pointer-events: none; }
}

/* Particle canvas */
#particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Green grid overlay */
.intro-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57,255,20,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,20,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 3s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Concentric rings */
.intro-rings {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
  animation: ringExpand 2s ease forwards;
}
.ring:nth-child(1) { width: 200px; height: 200px; animation-delay: 0.2s; }
.ring:nth-child(2) { width: 320px; height: 320px; animation-delay: 0.4s; opacity: 0; }
.ring:nth-child(3) { width: 480px; height: 480px; animation-delay: 0.6s; opacity: 0; }

@keyframes ringExpand {
  from { opacity: 0; transform: scale(0.5); }
  30% { opacity: 0.6; }
  to { opacity: 0.15; transform: scale(1); }
}

/* Intro logo lockup */
.intro-logo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* The actual brand image cropped to show just the shield */
.intro-shield {
  width: 160px;
  height: 160px;
  opacity: 0;
  animation: shieldReveal 0.8s cubic-bezier(0.34,1.56,0.64,1) 0.8s forwards;
  filter: drop-shadow(0 0 30px rgba(57,255,20,0.6)) drop-shadow(0 0 60px rgba(57,255,20,0.2));
}

/* Exact PEP2U logo — full clean image, no crop needed */
.intro-shield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0;
}

@keyframes shieldReveal {
  from { opacity: 0; transform: scale(0.6) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.intro-brand-name {
  opacity: 0;
  animation: textReveal 0.7s ease 1.4s forwards;
  text-align: center;
}

.intro-brand-name .k-letter {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.04em;
  line-height: 1;
}

.intro-brand-name .rest {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
}

.intro-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(12px, 2vw, 16px);
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--silver);
  text-transform: uppercase;
  opacity: 0;
  animation: textReveal 0.6s ease 1.9s forwards;
}

.intro-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(11px, 1.5vw, 14px);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
  text-transform: uppercase;
  opacity: 0;
  animation: textReveal 0.6s ease 2.4s forwards;
}

@keyframes textReveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Status bar */
.intro-status {
  margin-top: 12px;
  font-family: 'Rajdhani', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0;
  animation: textReveal 0.5s ease 2.5s forwards;
  min-height: 18px;
}

/* Progress bar */
.intro-progress-wrap {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: min(380px, 80vw);
  z-index: 3;
}

.intro-progress-bar {
  width: 100%;
  height: 2px;
  background: rgba(57,255,20,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.intro-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--gold);
}

.intro-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.intro-pct {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.intro-skip {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gray);
  text-transform: uppercase;
  opacity: 0;
  animation: textReveal 0.4s ease 2.5s forwards;
}

/* ============================================
   CURSOR TRAIL
   ============================================ */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  box-shadow: 0 0 8px var(--gold);
}

/* ============================================
   HEADER / NAV
   ============================================ */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 13, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

#main-header.scrolled {
  background: rgba(8, 13, 26, 0.97);
  height: 60px;
}

/* ── LOGO AREA ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Logo — exact PEP2U logo, no cropping needed */
.nav-logo-shield {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(57,255,20,0.45));
  transition: filter 0.3s ease;
}

.nav-logo-shield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-logo:hover .nav-logo-shield {
  filter: drop-shadow(0 0 14px rgba(57,255,20,0.7));
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-text .wordmark {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
}

.nav-logo-text .wordmark span {
  color: var(--gold);
}

.nav-logo-text .sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--silver);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── NAV LINKS ── */
nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--gold);
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy) !important;
  background: var(--gold);
  padding: 9px 22px;
  border-radius: 3px;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--silver);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(5,5,5,0.98);
  border-bottom: 1px solid var(--border);
  padding: 24px 40px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--gold);
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

/* Video background */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ── Hero cinematic background layer (Ken Burns pan/zoom) */
.hero-bg-layer {
  position: absolute;
  inset: -8%;
  background: url('../images/pep2u-hero-bg.jpg') center center / cover no-repeat;
  transform-origin: center center;
  transition: transform 0.1s linear;
  will-change: transform;
  animation: kenBurns 18s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0%   { transform: scale(1.08) translate(-1.5%, 0%); }
  25%  { transform: scale(1.12) translate(1%, -1.5%); }
  50%  { transform: scale(1.06) translate(0.5%, 1.5%); }
  75%  { transform: scale(1.10) translate(-1%, 0.5%); }
  100% { transform: scale(1.08) translate(1.5%, -0.5%); }
}

/* Canvas overlays the bg for particles/effects */
#hero-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  display: block;
  z-index: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(2, 8, 2, 0.55) 50%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

/* Hero inner layout */
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* Left: text */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  justify-content: center;
}

.hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.hero-h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.hero-h1 em {
  font-style: normal;
  color: var(--gold);
}

/* ── PEP2U DEFINITION ── */
.brand-definition {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
  padding: 10px 20px;
  border-left: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  background: rgba(57,255,20,0.04);
  border-radius: 3px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.def-word {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.def-divider {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.04em;
  font-style: italic;
}

.def-pos {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--gray);
  font-style: italic;
}

.def-meaning {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--silver);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--silver);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 15px;
  color: rgba(244,246,248,0.65);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: none;
  padding: 14px 32px;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(57,255,20,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(57,255,20,0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: var(--glow);
  transform: translateY(-2px);
}

/* Right: product vial */
.hero-product {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-vial-platform {
  position: relative;
  width: 380px;
  height: 480px;
}

/* Platform glow rings */
.platform-ring {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: platformPulse 3s ease-in-out infinite;
}

.platform-ring:nth-child(1) { width: 120px; height: 30px; animation-delay: 0s; }
.platform-ring:nth-child(2) { width: 180px; height: 45px; animation-delay: 0.5s; opacity: 0.5; }
.platform-ring:nth-child(3) { width: 240px; height: 60px; animation-delay: 1s; opacity: 0.25; }

@keyframes platformPulse {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  50% { box-shadow: 0 0 12px 4px rgba(57,255,20,0.1); }
}

.hero-vial-img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: auto;
  /* mix-blend-mode blends the dark navy edges into the page background */
  mix-blend-mode: lighten;
  filter:
    drop-shadow(0 0 40px rgba(57,255,20,0.22))
    drop-shadow(0 0 80px rgba(57,255,20,0.08));
  animation: vialFloat 4s ease-in-out infinite;
}

@keyframes vialFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}

/* Data tags */
.data-tag {
  position: absolute;
  background: rgba(5,5,5,0.9);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.data-tag .val {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 2px;
}

.data-tag .lbl {
  color: var(--gray);
}

.data-tag.left {
  left: -20px;
  top: 30%;
}

.data-tag.right {
  right: -20px;
  top: 55%;
}

/* ============================================
   STATS STRIP
   ============================================ */
#stats {
  background: var(--navy-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 40px;
}

.stats-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ============================================
   RESEARCH CATEGORIES
   ============================================ */
#categories {
  padding: 100px 40px;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.categories-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.category-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover {
  border-color: rgba(57,255,20,0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.category-card:hover::before {
  opacity: 1;
}

.category-icon {
  width: 56px;
  height: 56px;
  background: rgba(57,255,20,0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  background: rgba(57,255,20,0.18);
  border-color: var(--gold);
  transform: scale(1.08);
}

.category-icon svg {
  width: 28px;
  height: 28px;
}

.category-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.category-card p {
  font-size: 14px;
  color: rgba(244,246,248,0.5);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

/* Peptide list in category cards */
.category-peptides {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
  line-height: 1.7;
}

.category-arrow {
  font-size: 20px;
  color: var(--gold);
  align-self: flex-start;
  transition: transform 0.3s ease;
  font-weight: 300;
}

.category-card:hover .category-arrow {
  transform: translateX(6px);
}

/* Featured card - Essentials */
.category-card-featured {
  border-color: rgba(57,255,20,0.35);
  background: linear-gradient(135deg, rgba(57,255,20,0.06) 0%, var(--navy-card) 60%);
  position: relative;
}

.category-card-featured::after {
  content: 'POPULAR';
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--navy);
  background: var(--gold);
  padding: 3px 10px;
  border-radius: 2px;
}

.category-card-featured .category-icon {
  background: rgba(57,255,20,0.15);
  border-color: rgba(57,255,20,0.4);
}

.category-card-featured h3 {
  color: var(--gold);
}

/* Responsive */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }

  #categories {
    padding: 70px 20px;
  }
}

/* ============================================
   CATEGORY PAGES
   ============================================ */

/* Category page hero */
.category-hero {
  padding: 140px 40px 80px;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.category-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.category-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s ease;
}

.category-back:hover {
  color: var(--gold);
}

.category-icon-large {
  width: 80px;
  height: 80px;
  background: rgba(57,255,20,0.1);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.category-icon-large svg {
  width: 40px;
  height: 40px;
}

.category-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 20px;
}

.category-hero-desc {
  font-size: 15px;
  color: rgba(244,246,248,0.6);
  line-height: 1.75;
}

/* Products grid */
.category-products {
  padding: 80px 40px;
  background: var(--navy-mid);
}

.category-products-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.product-item {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-item:hover {
  border-color: rgba(57,255,20,0.5);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.product-item-image {
  padding: 40px;
  background: radial-gradient(ellipse at center, rgba(57,255,20,0.06) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.product-item-image img {
  width: 100%;
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
}

.product-item-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-item-content h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 6px;
}

/* Clickable title & image links — inherit styles, no underline */
.product-item-content h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.product-item-content h3 a:hover {
  color: var(--gold);
}
a.product-item-image {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
a.product-item-image:hover img {
  transform: scale(1.04) translateY(-4px);
}

.product-item-dose {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--silver);
  margin-bottom: 4px;
  text-transform: uppercase;
}

/* Price display — prominent green, right under dose */
.product-item-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.product-item-price .price-note {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0;
  display: block;
  margin-top: 2px;
}

/* Multi-size option rows */
.size-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.size-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-radius: 6px;
  border: 1px solid rgba(57,255,20,0.18);
  background: rgba(57,255,20,0.03);
  cursor: pointer;
  transition: all 0.2s ease;
}
.size-option:hover,
.size-option.selected {
  border-color: var(--gold);
  background: rgba(57,255,20,0.09);
}
.size-option-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--silver);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.size-option-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

.product-item-desc {
  font-size: 14px;
  color: rgba(244,246,248,0.5);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.product-item-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.spec-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(57,255,20,0.1);
  border: 1px solid rgba(57,255,20,0.25);
  padding: 4px 10px;
  border-radius: 3px;
}

.btn-product-view {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: none;
  border-radius: 4px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.btn-product-view:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57,255,20,0.35);
  color: var(--navy);
}

@media (max-width: 768px) {
  .category-hero {
    padding: 120px 20px 60px;
  }

  .category-products {
    padding: 60px 20px;
  }

  .category-products-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SCIENCE SECTION
   ============================================ */
#science {
  padding: 100px 40px;
}

.section-header {
  max-width: 1240px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.section-title em {
  font-style: normal;
  color: var(--gold);
}

.section-desc {
  font-size: 15px;
  color: rgba(244,246,248,0.55);
  max-width: 540px;
  margin: 0 auto;
}

/* Feature cards */
.feature-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(57,255,20,0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(57,255,20,0.1);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: rgba(244,246,248,0.5);
  line-height: 1.65;
}

/* ============================================
   PURITY SECTION
   ============================================ */
#purity {
  padding: 80px 40px;
  background: var(--navy-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.purity-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.purity-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.purity-bar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.purity-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.purity-bar-label span:first-child { color: var(--silver); }
.purity-bar-label span:last-child { color: var(--gold); }

.purity-bar-track {
  height: 6px;
  background: rgba(57,255,20,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.purity-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
  border-radius: 3px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 8px rgba(57,255,20,0.3);
}

.purity-text h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.purity-text h2 em {
  font-style: normal;
  color: var(--gold);
}

.purity-text p {
  font-size: 15px;
  color: rgba(244,246,248,0.55);
  line-height: 1.75;
  margin-bottom: 24px;
}

.purity-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(57,255,20,0.08);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 4px;
}

.purity-badge-icon {
  width: 32px;
  height: 32px;
  background: rgba(57,255,20,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.purity-badge-text {
  display: flex;
  flex-direction: column;
}

.purity-badge-text strong {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
}

.purity-badge-text span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ============================================
   FEATURED PRODUCT
   ============================================ */
/* ============================================
   FEATURED PRODUCT — Full-screen animated bg
   ============================================ */
#product {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

/* Molecular canvas fills the section */
#mol-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Dark overlay so text is readable */
.product-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5,5,5,0.82) 0%,
    rgba(5,5,5,0.60) 50%,
    rgba(5,5,5,0.82) 100%
  );
  z-index: 1;
}

/* Content sits above canvas */
.product-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 40px;
  text-align: center;
}

.product-content .section-eyebrow {
  justify-content: center;
  margin-bottom: 0;
}

/* Two-column card layout */
.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 56px;
  background: rgba(5,5,5,0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
}

.product-card-left .eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.product-card-left .eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.product-card-left h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--white);
}

.product-body {
  font-size: 15px;
  color: rgba(244,246,248,0.6);
  line-height: 1.8;
  margin-top: 16px;
}

.product-info .eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.product-info .eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.product-info h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.product-dose {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 20px;
}

.product-info p {
  font-size: 15px;
  color: rgba(244,246,248,0.55);
  line-height: 1.75;
  margin-bottom: 28px;
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.spec-item {
  background: var(--navy-card);
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: 4px;
}

.spec-item .spec-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}

.spec-item .spec-val {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
}

.product-disclaimer {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.05em;
  margin-top: 16px;
  opacity: 0.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
#cta {
  padding: 100px 40px;
  background: var(--navy-card);
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(57,255,20,0.05) 0%, transparent 65%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.cta-inner h2 em {
  font-style: normal;
  color: var(--gold);
}

.cta-inner p {
  font-size: 16px;
  color: rgba(244,246,248,0.55);
  line-height: 1.75;
  margin-bottom: 36px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 48px 40px 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-shield {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(57,255,20,0.35));
}

.footer-shield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-brand-text .wordmark {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.footer-brand-text .wordmark span {
  color: var(--gold);
}

.footer-brand-text .sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gray);
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(244,246,248,0.4);
  max-width: 280px;
  line-height: 1.65;
}

.footer-links h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 14px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links ul li a {
  font-size: 13px;
  color: rgba(244,246,248,0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(244,246,248,0.3);
  letter-spacing: 0.05em;
}

.footer-disclaimer {
  font-size: 11px;
  color: rgba(244,246,248,0.2);
  max-width: 480px;
  line-height: 1.5;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SHOPPING CART — NAV BUTTON, DRAWER, ITEMS
   ============================================ */

/* ── Cart icon button in nav ── */
.nav-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(57,255,20,0.25);
  background: rgba(57,255,20,0.04);
  color: var(--silver);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-right: 8px;
}
.nav-cart-btn svg {
  width: 20px;
  height: 20px;
  transition: stroke 0.2s ease;
}
.nav-cart-btn:hover {
  border-color: var(--gold);
  background: rgba(57,255,20,0.1);
  color: var(--gold);
}

/* Badge count bubble */
.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--gold);
  color: #050505;
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.34,1.6,0.64,1);
}
.cart-count.bump {
  transform: scale(1.4);
}

/* ── Backdrop overlay ── */
#cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 18000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ── Drawer panel ── */
#cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100vw);
  background: #0e0e0e;
  border-left: 1px solid rgba(57,255,20,0.2);
  box-shadow: -20px 0 60px rgba(0,0,0,0.6), 0 0 40px rgba(57,255,20,0.04);
  z-index: 18001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
}
#cart-drawer.open {
  transform: translateX(0);
}

/* Drawer header */
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(57,255,20,0.12);
  flex-shrink: 0;
}
.cart-drawer-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
}
.cart-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(57,255,20,0.25);
  background: transparent;
  color: var(--silver);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.cart-close-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(57,255,20,0.08);
}

/* ── Empty state ── */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  padding: 40px 24px;
  text-align: center;
}
.cart-empty svg {
  width: 56px;
  height: 56px;
  opacity: 0.6;
}
.cart-empty p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}
.cart-empty span {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--gray);
}

/* ── Cart items list ── */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: #111; }
.cart-items::-webkit-scrollbar-thumb { background: #27b30e; border-radius: 4px; }

/* Individual cart item row */
.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(57,255,20,0.07);
  animation: cartItemIn 0.3s ease;
}
@keyframes cartItemIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.cart-item-img {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(57,255,20,0.15);
  flex-shrink: 0;
  background: #111;
}
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-dose {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--gray);
  margin-top: 2px;
}
.cart-item-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  color: var(--gold);
  margin-top: 4px;
}

/* Qty controls */
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid rgba(57,255,20,0.25);
  background: rgba(57,255,20,0.04);
  color: var(--silver);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  line-height: 1;
}
.cart-qty-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(57,255,20,0.1);
}
.cart-qty-num {
  width: 28px;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.cart-item-remove {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid rgba(255,60,60,0.2);
  background: transparent;
  color: #ff6b6b;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  margin-left: 8px;
}
.cart-item-remove:hover {
  background: rgba(255,60,60,0.12);
  border-color: #ff4444;
}

/* ── Cart footer ── */
.cart-footer {
  border-top: 1px solid rgba(57,255,20,0.15);
  padding: 20px 24px 24px;
  flex-shrink: 0;
  background: #0a0a0a;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.cart-subtotal span:first-child {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--gray);
}
#cart-subtotal {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
}
.cart-shipping-note {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 16px;
}
.cart-checkout-btn {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #27b30e, #39ff14);
  color: #050505;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(57,255,20,0.25);
}
.cart-checkout-btn:hover {
  background: linear-gradient(135deg, #39ff14, #5aff3a);
  box-shadow: 0 6px 28px rgba(57,255,20,0.4);
  transform: translateY(-1px);
}
.cart-continue-btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(57,255,20,0.25);
  background: transparent;
  color: var(--silver);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cart-continue-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(57,255,20,0.05);
}

/* ── Quantity Selector ── */
.product-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.product-qty-row label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--silver);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid rgba(212,166,42,0.4);
  border-radius: 6px;
  overflow: hidden;
}
.qty-btn {
  width: 32px;
  height: 32px;
  background: rgba(212,166,42,0.08);
  border: none;
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover {
  background: rgba(212,166,42,0.22);
}
.qty-input {
  width: 40px;
  height: 32px;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(212,166,42,0.25);
  border-right: 1px solid rgba(212,166,42,0.25);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ── Add to Cart button on product cards ── */
.product-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.btn-add-cart {
  flex: 1;
  min-width: 120px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-add-cart:hover {
  background: var(--gold);
  color: #050505;
  box-shadow: 0 4px 16px rgba(57,255,20,0.3);
  transform: translateY(-1px);
}
.btn-add-cart.added {
  background: var(--gold);
  color: #050505;
  border-color: var(--gold);
}

/* "Added!" flash animation */
@keyframes addedFlash {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.btn-add-cart.flash {
  animation: addedFlash 0.35s ease;
}

/* ── Back Order button ── */
.btn-out-of-stock {
  flex: 1;
  min-width: 120px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(212,166,42,0.45);
  background: rgba(212,166,42,0.08);
  color: #D4A62A;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  opacity: 1;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-out-of-stock:hover {
  background: rgba(212,166,42,0.18);
  color: #f0c040;
  box-shadow: 0 0 10px rgba(212,166,42,0.3);
}

/* ── Mobile responsive ── */
@media (max-width: 600px) {
  #cart-drawer {
    width: 100vw;
  }
  .product-btn-row {
    flex-direction: column;
  }
  .btn-add-cart {
    width: 100%;
  }
}

/* ============================================
   AGE VERIFICATION GATE
   ============================================ */

#age-gate-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 20000;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

#age-gate-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

#age-gate {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.95);
  z-index: 20001;
  width: min(520px, 94vw);
  max-height: 92vh;
  overflow-y: auto;
  background: #0e0e0e;
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 14px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.85),
    0 0 80px rgba(57, 255, 20, 0.08),
    0 0 0 1px rgba(57, 255, 20, 0.1);
  padding: 0 0 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

#age-gate.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: all;
}

/* Green accent bar at top */
.age-gate-accent-bar {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #27b30e, #39ff14, #27b30e);
  border-radius: 14px 14px 0 0;
  margin-bottom: 32px;
}

/* Logo row */
.age-gate-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.age-gate-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.age-gate-brand {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.15em;
}

/* Warning triangle icon */
.age-gate-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 12px rgba(57, 255, 20, 0.4));
}

.age-gate-icon svg {
  width: 100%;
  height: 100%;
}

/* Heading */
#age-gate h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(17px, 3vw, 22px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  padding: 0 28px;
}

/* Subtext */
.age-gate-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 28px;
  padding: 0 32px;
}

/* Checkbox list */
.age-gate-checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 0 28px;
  margin-bottom: 22px;
}

/* Individual checkbox row */
.age-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(57, 255, 20, 0.12);
  background: rgba(57, 255, 20, 0.03);
  transition: border-color 0.25s ease, background 0.25s ease;
  user-select: none;
}

.age-check-item:hover {
  border-color: rgba(57, 255, 20, 0.3);
  background: rgba(57, 255, 20, 0.06);
}

.age-check-item.checked {
  border-color: rgba(57, 255, 20, 0.5);
  background: rgba(57, 255, 20, 0.08);
}

/* Hide native checkbox */
.age-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Custom checkbox box */
.age-check-box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 2px solid rgba(57, 255, 20, 0.35);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-top: 1px;
}

.age-check-item.checked .age-check-box {
  background: #39ff14;
  border-color: #39ff14;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

/* Tick mark inside box */
.age-check-tick {
  width: 13px;
  height: 13px;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.34, 1.6, 0.64, 1);
}

.age-check-item.checked .age-check-tick {
  opacity: 1;
  transform: scale(1);
}

/* Checkbox label text */
.age-check-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--silver);
  line-height: 1.55;
}

.age-check-text strong {
  color: var(--white);
  font-weight: 600;
}

/* Error message */
.age-gate-error {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #ff4444;
  min-height: 16px;
  margin-bottom: 8px;
  padding: 0 28px;
}

/* Enter button */
.age-gate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc(100% - 56px);
  padding: 15px 24px;
  border-radius: 8px;
  border: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #27b30e, #39ff14);
  color: #050505;
  box-shadow: 0 6px 24px rgba(57, 255, 20, 0.3);
}

.age-gate-btn:disabled {
  background: #1e1e1e;
  color: #444;
  box-shadow: none;
  cursor: not-allowed;
}

.age-gate-btn:not(:disabled):hover {
  background: linear-gradient(135deg, #39ff14, #5aff3a);
  box-shadow: 0 8px 32px rgba(57, 255, 20, 0.45);
  transform: translateY(-1px);
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */

body.checkout-page {
  background: #080D1A;
  min-height: 100vh;
}

/* Secure badge in header */
.checkout-secure-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  border: 1px solid rgba(212,166,42,0.35);
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(212,166,42,0.06);
}

/* Main layout */
.checkout-main {
  padding: 100px 24px 60px;
  max-width: 1180px;
  margin: 0 auto;
}
.checkout-container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}

/* ── Section cards ── */
.co-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,166,42,0.15);
  border-radius: 12px;
  padding: 28px 28px 32px;
  margin-bottom: 24px;
}
.co-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(212,166,42,0.12);
}
.co-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4A62A, #E8C54A);
  color: #050505;
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.co-section-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  margin: 0;
}

/* ── Form grid ── */
.co-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.co-field {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.co-field-half {
  grid-column: span 1;
}
.co-field-third {
  grid-column: span 1;
}
.co-field label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--silver);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}
.co-required {
  color: #ff5a5a;
}
.co-field input,
.co-field select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,166,42,0.25);
  border-radius: 7px;
  padding: 11px 14px;
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.co-field input::placeholder {
  color: rgba(183,187,193,0.4);
}
.co-field input:focus,
.co-field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,166,42,0.12);
}
.co-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D4A62A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
  color: var(--white);
}
.co-field select option {
  background: #0d1425;
  color: var(--white);
}
.co-input-error {
  border-color: #ff5a5a !important;
  box-shadow: 0 0 0 3px rgba(255,90,90,0.12) !important;
}

/* Input with icon */
.co-input-icon-wrap {
  position: relative;
}
.co-input-icon-wrap input {
  padding-left: 42px;
}
.co-input-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(183,187,193,0.5);
  pointer-events: none;
  width: 18px;
  height: 18px;
}

/* Card brand icons */
.co-card-icons {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.co-card-icon {
  padding: 4px 10px;
  border: 1px solid rgba(212,166,42,0.3);
  border-radius: 5px;
  font-family: 'Orbitron', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  background: rgba(212,166,42,0.05);
}

/* CVV tooltip */
.co-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
}
.co-tooltip {
  display: none;
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: #1a2540;
  border: 1px solid rgba(212,166,42,0.3);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--silver);
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}
.co-tooltip-wrap:hover .co-tooltip {
  display: block;
}

/* Billing same-as-shipping checkbox */
.co-billing-toggle {
  margin-top: 16px;
}
.co-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--silver);
  user-select: none;
}
.co-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Right column: Summary card ── */
.co-summary-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,166,42,0.2);
  border-radius: 12px;
  padding: 28px;
  position: sticky;
  top: 90px;
}
.co-summary-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.07em;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(212,166,42,0.12);
}

/* Item rows */
.co-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212,166,42,0.1);
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,166,42,0.3) transparent;
}
.co-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.co-item-img-wrap {
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}
.co-item-img-wrap img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,166,42,0.15);
}
.co-item-qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: #050505;
  font-family: 'Orbitron', sans-serif;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.co-item-details {
  flex: 1;
  min-width: 0;
}
.co-item-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.co-item-dose {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  color: var(--silver);
  margin-top: 2px;
}
.co-item-line-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.co-empty-note {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: var(--silver);
  text-align: center;
  padding: 20px 0;
}
.co-empty-note a {
  color: var(--gold);
  text-decoration: none;
}

/* Discount code */
.co-discount-row {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212,166,42,0.1);
}
.co-discount-row label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--silver);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.co-discount-wrap {
  display: flex;
  gap: 8px;
}
.co-discount-wrap input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,166,42,0.25);
  border-radius: 7px;
  padding: 10px 13px;
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.2s;
}
.co-discount-wrap input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,166,42,0.1);
}
.co-discount-apply-btn {
  padding: 10px 16px;
  border-radius: 7px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.co-discount-apply-btn:hover {
  background: var(--gold);
  color: #050505;
}
.co-discount-msg {
  margin-top: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  min-height: 18px;
}
.co-msg-success { color: #39ff14; }
.co-msg-error   { color: #ff5a5a; }

/* Totals */
.co-totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.co-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--silver);
}
.co-shipping-val {
  color: var(--white);
}
.co-discount-value {
  color: #39ff14;
}
.co-grand-total {
  padding-top: 12px;
  border-top: 1px solid rgba(212,166,42,0.2);
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}
.co-grand-total span:last-child {
  color: var(--gold);
}

/* Place Order button */
.co-place-order-btn {
  width: 100%;
  padding: 15px 20px;
  border-radius: 9px;
  border: none;
  background: linear-gradient(135deg, #D4A62A, #E8C54A);
  color: #050505;
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 24px rgba(212,166,42,0.3);
  margin-bottom: 10px;
}
.co-place-order-btn:hover {
  background: linear-gradient(135deg, #E8C54A, #FFD966);
  box-shadow: 0 8px 32px rgba(212,166,42,0.45);
  transform: translateY(-1px);
}
.co-place-order-btn:active {
  transform: translateY(0);
}
.co-ssl-note {
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  color: var(--silver);
  margin: 0 0 14px;
}
.co-disclaimer {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  color: rgba(183,187,193,0.5);
  text-align: center;
  line-height: 1.5;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(212,166,42,0.08);
}

/* Mobile place order button */
.co-place-order-mobile {
  display: none;
}

/* Order complete screen */
.order-complete-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.order-complete-inner {
  text-align: center;
  max-width: 480px;
}
.order-complete-icon {
  margin-bottom: 24px;
}
.order-complete-screen h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.order-complete-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  color: var(--silver);
  line-height: 1.6;
  margin-bottom: 20px;
}
.order-complete-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  color: var(--gold);
  background: rgba(212,166,42,0.08);
  border: 1px solid rgba(212,166,42,0.25);
  border-radius: 8px;
  padding: 12px 24px;
  display: inline-block;
  letter-spacing: 0.1em;
}
.co-btn-primary {
  padding: 14px 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #D4A62A, #E8C54A);
  color: #050505;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: all 0.2s ease;
}
.co-btn-primary:hover {
  background: linear-gradient(135deg, #E8C54A, #FFD966);
  transform: translateY(-1px);
}

/* ── Checkout Responsive ── */
@media (max-width: 900px) {
  .checkout-container {
    grid-template-columns: 1fr;
  }
  .checkout-right {
    order: -1; /* Show summary on top on mobile */
  }
  .co-summary-card {
    position: static;
  }
  .co-place-order-mobile {
    display: block;
  }
  .checkout-secure-badge {
    display: none;
  }
}
@media (max-width: 600px) {
  .checkout-main {
    padding: 80px 16px 40px;
  }
  .co-section {
    padding: 20px 16px 24px;
  }
  .co-form-grid {
    grid-template-columns: 1fr;
  }
  .co-field,
  .co-field-half,
  .co-field-third {
    grid-column: span 1;
  }
  .co-summary-card {
    padding: 20px 16px;
  }
  .co-grand-total {
    font-size: 15px;
  }
}

.age-gate-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

/* ============================================
   CONTACT US MODAL
   ============================================ */

#contact-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 18000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#contact-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.contact-modal {
  background: #0d1425;
  border: 1px solid rgba(212,166,42,0.3);
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,166,42,0.08);
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
#contact-backdrop.active .contact-modal {
  transform: translateY(0) scale(1);
}

/* Modal header band */
.contact-modal-header {
  background: linear-gradient(135deg, rgba(212,166,42,0.12), rgba(212,166,42,0.04));
  border-bottom: 1px solid rgba(212,166,42,0.15);
  padding: 22px 26px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contact-modal-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-modal-icon {
  width: 36px;
  height: 36px;
  background: rgba(212,166,42,0.12);
  border: 1px solid rgba(212,166,42,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-modal-title h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
  margin: 0;
}
.contact-modal-title p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  color: var(--silver);
  margin: 2px 0 0;
}
.contact-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: var(--silver);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
  flex-shrink: 0;
}
.contact-modal-close:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

/* Modal body */
.contact-modal-body {
  padding: 26px 26px 28px;
}

/* Email display bar */
.contact-email-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(212,166,42,0.07);
  border: 1px solid rgba(212,166,42,0.2);
  border-radius: 8px;
  padding: 11px 14px;
  margin-bottom: 22px;
}
.contact-email-bar svg { flex-shrink: 0; }
.contact-email-bar span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* Form fields */
.contact-field {
  margin-bottom: 16px;
}
.contact-field label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--silver);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,166,42,0.2);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(183,187,193,0.35);
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,166,42,0.1);
}
.contact-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D4A62A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.contact-field select option { background: #0d1425; }
.contact-field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}
.contact-field input.contact-error,
.contact-field textarea.contact-error {
  border-color: #ff5a5a;
  box-shadow: 0 0 0 3px rgba(255,90,90,0.1);
}

/* Two-column row */
.contact-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

/* Submit button */
.contact-submit-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 9px;
  border: none;
  background: linear-gradient(135deg, #D4A62A, #E8C54A);
  color: #050505;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 24px rgba(212,166,42,0.25);
  margin-top: 4px;
}
.contact-submit-btn:hover {
  background: linear-gradient(135deg, #E8C54A, #FFD966);
  box-shadow: 0 8px 32px rgba(212,166,42,0.4);
  transform: translateY(-1px);
}
.contact-submit-btn:active { transform: translateY(0); }
.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Success state */
.contact-success {
  display: none;
  text-align: center;
  padding: 30px 20px;
}
.contact-success.visible { display: block; }
.contact-success-icon {
  margin-bottom: 16px;
}
.contact-success h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.contact-success p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  color: var(--silver);
  line-height: 1.6;
}
.contact-success-email {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(212,166,42,0.08);
  border: 1px solid rgba(212,166,42,0.2);
  border-radius: 6px;
  padding: 6px 14px;
  margin-top: 12px;
}

/* Footer email link */
.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
  margin-bottom: 6px;
}
.footer-email-link:hover { color: var(--gold-light); }

/* Nav contact link */
a.nav-contact {
  color: var(--silver);
  transition: color 0.2s ease;
}
a.nav-contact:hover { color: var(--gold); }

@media (max-width: 560px) {
  .contact-modal-body { padding: 20px 18px 22px; }
  .contact-modal-header { padding: 18px 18px 16px; }
  .contact-field-row { grid-template-columns: 1fr; gap: 0; }
}

.age-gate-btn:not(:disabled):hover svg {
  transform: translateX(3px);
}

/* Exit link */
.age-gate-exit {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 20px;
  transition: color 0.2s ease;
}

.age-gate-exit:hover {
  color: #ff6b6b;
}

/* Fine print */
.age-gate-fine {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: #444;
  line-height: 1.55;
  padding: 0 32px;
}

/* ── Mobile tweaks ── */
@media (max-width: 480px) {
  #age-gate {
    padding: 0 0 28px;
  }
  .age-gate-checks {
    padding: 0 16px;
    gap: 10px;
  }
  .age-check-item {
    padding: 12px 12px;
    gap: 10px;
  }
  .age-gate-btn {
    width: calc(100% - 32px);
  }
  .age-gate-sub,
  .age-gate-fine {
    padding: 0 20px;
  }
}

/* ============================================
   SMS POPUP MODAL
   ============================================ */

/* Backdrop */
#sms-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 18, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

#sms-popup-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

/* Modal container */
#sms-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  z-index: 10001;
  width: min(900px, 94vw);
  max-height: 92vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.7),
    0 0 0 1px rgba(57,255,20,0.2),
    0 0 60px rgba(57,255,20,0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34,1.4,0.64,1);
}

#sms-popup.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: all;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(57,255,20,0.25);
  background: rgba(5,5,5,0.8);
  color: var(--silver);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.popup-close:hover {
  background: rgba(57,255,20,0.15);
  color: var(--gold);
  border-color: var(--gold);
}

/* ── LEFT PANEL ── */
.popup-left {
  background: linear-gradient(160deg, #0d1a2e 0%, #0b1220 60%, #0d1a2e 100%);
  border-right: 1px solid rgba(57,255,20,0.18);
  padding: 44px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle grid overlay on left panel */
.popup-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57,255,20,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,20,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.popup-logo {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 16px rgba(57,255,20,0.45));
}

.popup-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.popup-badge {
  position: relative;
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.popup-discount {
  position: relative;
  font-family: 'Orbitron', sans-serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 0.95;
  color: var(--gold);
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px rgba(57,255,20,0.4);
}

.popup-discount span {
  font-size: 36px;
  vertical-align: super;
}

.popup-left-sub {
  position: relative;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 8px;
}

.popup-divider {
  position: relative;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto;
}

.popup-left-fine {
  position: relative;
  font-size: 12px;
  color: rgba(244,246,248,0.4);
  line-height: 1.6;
}

/* ── RIGHT PANEL ── */
.popup-right {
  background: var(--navy-card);
  padding: 44px 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.popup-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.popup-right h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 14px;
}

.popup-right h2 em {
  font-style: normal;
  color: var(--gold);
}

.popup-desc {
  font-size: 14px;
  color: rgba(244,246,248,0.55);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* Perks checklist */
.popup-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.popup-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--silver);
}

.popup-perks li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Phone input */
.popup-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(5,5,5,0.8);
  border: 1px solid rgba(57,255,20,0.3);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
  transition: border-color 0.2s ease;
}

.popup-input-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(57,255,20,0.1);
}

.popup-flag {
  font-size: 13px;
  padding: 0 14px;
  color: var(--silver);
  border-right: 1px solid rgba(57,255,20,0.2);
  white-space: nowrap;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.05em;
  height: 48px;
  display: flex;
  align-items: center;
}

#sms-phone {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0 16px;
  height: 48px;
}

#sms-phone::placeholder {
  color: rgba(244,246,248,0.25);
}

.popup-input-error {
  font-size: 11px;
  color: #e05a5a;
  min-height: 16px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

/* Submit button */
.popup-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  border: none;
  border-radius: 4px;
  padding: 15px 24px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 24px rgba(57,255,20,0.3);
}

.popup-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.popup-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(57,255,20,0.45);
}

.popup-submit:hover svg {
  transform: translateX(4px);
}

/* SMS terms */
.popup-terms {
  font-size: 10px;
  color: rgba(244,246,248,0.25);
  line-height: 1.55;
  margin-top: 10px;
  letter-spacing: 0.03em;
}

/* Skip link */
.popup-skip {
  background: none;
  border: none;
  color: rgba(244,246,248,0.25);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  margin-top: 14px;
  text-align: center;
  transition: color 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: 'Inter', sans-serif;
}

.popup-skip:hover {
  color: rgba(244,246,248,0.5);
}

/* ── SUCCESS STATE ── */
.popup-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0;
  animation: fadeInUp 0.5s ease forwards;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 16px rgba(57,255,20,0.4));
}

.success-icon svg {
  width: 100%;
  height: 100%;
}

.popup-success h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.popup-success p {
  font-size: 14px;
  color: rgba(244,246,248,0.6);
  line-height: 1.65;
  margin-bottom: 20px;
}

.success-code {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.18em;
  background: rgba(57,255,20,0.1);
  border: 1px dashed var(--gold);
  padding: 14px 32px;
  border-radius: 4px;
  margin-bottom: 14px;
  text-shadow: 0 0 20px rgba(57,255,20,0.3);
}

.success-note {
  font-size: 13px;
  color: rgba(244,246,248,0.45);
}

.success-note strong {
  color: var(--gold);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── MOBILE ── */
@media (max-width: 640px) {
  #sms-popup {
    grid-template-columns: 1fr;
    width: 94vw;
    max-height: 90vh;
    overflow-y: auto;
  }

  .popup-left {
    padding: 32px 24px 24px;
    border-right: none;
    border-bottom: 1px solid rgba(57,255,20,0.18);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
  }

  .popup-logo { width: 48px; height: 48px; margin-bottom: 0; }
  .popup-badge { margin-bottom: 0; }
  .popup-discount { font-size: 44px; }
  .popup-left-sub, .popup-divider, .popup-left-fine { display: none; }

  .popup-right {
    padding: 28px 24px 24px;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #main-header {
    padding: 0 20px;
  }

  nav {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 20px;
    text-align: center;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-label {
    justify-content: center;
  }

  .hero-ctas {
    justify-content: center;
  }



  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-right: 1px solid var(--border);
    border-top: 1px solid var(--border);
  }

  .stat-item:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .purity-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .product-content {
    padding: 80px 20px;
  }

  .footer-top {
    flex-direction: column;
  }

  #science, #product, #cta {
    padding: 70px 20px;
  }

  #purity {
    padding: 60px 20px;
  }

  #stats {
    padding: 40px 20px;
  }

  footer {
    padding: 40px 20px 24px;
  }
}

@media (max-width: 480px) {
  .stats-inner {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none !important;
    border-top: 1px solid var(--border);
  }

  .stat-item:first-child {
    border-top: none;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   SITE SEARCH
   ============================================ */

/* Search icon button in header */
#site-search-wrap {
  display: flex;
  align-items: center;
}

#search-open-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(57,255,20,0.07);
  border: 1px solid rgba(57,255,20,0.2);
  border-radius: 8px;
  color: rgba(244,246,248,0.7);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  margin-right: 8px;
}
#search-open-btn:hover {
  background: rgba(57,255,20,0.15);
  border-color: rgba(57,255,20,0.45);
  color: #39ff14;
}

/* Full-screen overlay */
#search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 18, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 30000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
#search-overlay.active {
  opacity: 1;
  pointer-events: all;
}

#search-modal {
  width: min(680px, 100%);
  background: #0d1425;
  border: 1px solid rgba(57,255,20,0.2);
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 0 1px rgba(57,255,20,0.05), 0 0 60px rgba(57,255,20,0.04);
  overflow: hidden;
  transform: translateY(-16px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.34,1.3,0.64,1);
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
}
#search-overlay.active #search-modal {
  transform: translateY(0) scale(1);
}

/* Input row */
#search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(57,255,20,0.1);
  flex-shrink: 0;
}

#search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #f4f6f8;
  caret-color: #39ff14;
}
#search-input::placeholder {
  color: rgba(244,246,248,0.3);
}

#search-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(244,246,248,0.1);
  background: rgba(244,246,248,0.05);
  color: rgba(244,246,248,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
#search-close-btn:hover {
  background: rgba(255,60,60,0.15);
  color: #ff6b6b;
  border-color: rgba(255,60,60,0.3);
}

/* Results container */
#search-results {
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(57,255,20,0.2) transparent;
  max-height: 500px;
}

/* Section heading */
.search-section {
  padding: 0;
}
.search-section-header {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,246,248,0.3);
  padding: 14px 18px 8px;
  position: sticky;
  top: 0;
  background: #0d1425;
  z-index: 1;
}

/* Result item */
.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  text-decoration: none;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.search-result-item:hover,
.search-result-item.active {
  background: rgba(57,255,20,0.05);
  border-left-color: var(--cat-color, #39ff14);
}

.sri-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sri-cat {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sri-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #f4f6f8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sri-sub {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(244,246,248,0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sri-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid;
  border-radius: 5px;
  padding: 4px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Empty state */
.search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  gap: 10px;
  text-align: center;
}
.search-empty p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  color: rgba(244,246,248,0.5);
}
.search-empty strong { color: rgba(244,246,248,0.8); }
.search-empty span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(244,246,248,0.25);
}

/* Footer hint bar */
#search-footer {
  display: flex;
  gap: 20px;
  padding: 10px 18px;
  border-top: 1px solid rgba(244,246,248,0.06);
  flex-shrink: 0;
}
#search-footer span {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(244,246,248,0.25);
}

/* Ctrl+K hint on search button — desktop only */
@media (min-width: 769px) {
  #search-open-btn::after {
    content: 'Ctrl K';
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: rgba(244,246,248,0.35);
    margin-left: 6px;
    white-space: nowrap;
  }
  #search-open-btn {
    width: auto;
    padding: 0 10px 0 8px;
    gap: 6px;
  }
}

@media (max-width: 768px) {
  #search-overlay { padding: 70px 12px 20px; }
  #search-input { font-size: 16px; }
  .sri-title { font-size: 15px; }
  #search-footer { display: none; }
}

/* ============================================
   PEPTIDE DETAIL POPUP
   ============================================ */

#peptide-detail-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 18, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 19000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#peptide-detail-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.peptide-detail-modal {
  position: relative;
  width: min(680px, 96vw);
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(160deg, #0d1425 0%, #080d1a 100%);
  border: 1px solid rgba(212,166,42,0.3);
  border-radius: 18px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 0 1px rgba(57,255,20,0.06), 0 0 60px rgba(212,166,42,0.05);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34,1.3,0.64,1), opacity 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,166,42,0.3) transparent;
}
#peptide-detail-backdrop.active .peptide-detail-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.peptide-detail-close {
  position: sticky;
  top: 14px;
  float: right;
  margin: 14px 14px 0 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(244,246,248,0.15);
  background: rgba(13,20,37,0.9);
  color: rgba(244,246,248,0.7);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  z-index: 2;
}
.peptide-detail-close:hover {
  background: rgba(212,166,42,0.15);
  color: var(--gold);
  border-color: rgba(212,166,42,0.4);
}

.pdm-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(212,166,42,0.12);
  margin-top: -34px;
  padding-top: 54px;
}
.pdm-emoji {
  font-size: 42px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(212,166,42,0.3));
}
.pdm-category {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 4px;
}
.pdm-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 6px;
  letter-spacing: 0.04em;
}
.pdm-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  margin: 0;
}

.pdm-body {
  padding: 24px 28px 28px;
}

.pdm-section {
  margin-bottom: 22px;
}
.pdm-section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(244,246,248,0.5);
  text-transform: uppercase;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(244,246,248,0.06);
}
.pdm-section-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  color: rgba(244,246,248,0.82);
  line-height: 1.7;
  margin: 0;
}

.pdm-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.pdm-benefits li {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  color: rgba(244,246,248,0.85);
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
}
.pdm-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

.pdm-badges-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0 16px;
}
.pdm-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212,166,42,0.35);
  background: rgba(212,166,42,0.07);
  border-radius: 5px;
  padding: 5px 10px;
}

.pdm-disclaimer {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: rgba(244,246,248,0.3);
  line-height: 1.6;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(244,246,248,0.06);
}

@media (max-width: 500px) {
  .pdm-header {
    flex-direction: column;
    gap: 12px;
    padding: 50px 20px 18px;
  }
  .pdm-body { padding: 20px; }
  .pdm-emoji { font-size: 32px; }
}

/* ============================================
   UNDER CONSTRUCTION POPUP (checkout.html)
   ============================================ */

.uc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 18, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 20000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.uc-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.uc-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.95);
  z-index: 20001;
  width: min(480px, 92vw);
  background: #0d1425;
  border: 1px solid rgba(212,166,42,0.35);
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(212,166,42,0.08);
  padding: 40px 36px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.34,1.4,0.64,1);
}
.uc-popup.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.uc-icon {
  margin-bottom: 18px;
  filter: drop-shadow(0 0 18px rgba(212,166,42,0.35));
}

.uc-popup h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}

.uc-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  color: rgba(244,246,248,0.6);
  line-height: 1.6;
  margin: 0 0 18px;
}

.uc-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 18px;
}

.uc-instructions {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: rgba(244,246,248,0.5);
  line-height: 1.65;
  margin: 0 0 22px;
}

.uc-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #D4A62A, #E8C54A);
  color: #050505;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(212,166,42,0.3);
  transition: all 0.25s ease;
  margin-bottom: 14px;
}
.uc-email-btn:hover {
  background: linear-gradient(135deg, #E8C54A, #FFD966);
  box-shadow: 0 8px 32px rgba(212,166,42,0.45);
  transform: translateY(-2px);
}

.uc-close-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(244,246,248,0.4);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 9px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.uc-close-btn:hover {
  border-color: rgba(255,255,255,0.25);
  color: rgba(244,246,248,0.7);
  background: rgba(255,255,255,0.04);
}

@media (max-width: 480px) {
  .uc-popup {
    padding: 30px 22px 26px;
  }
  .uc-popup h2 {
    font-size: 17px;
  }
  .uc-email-btn {
    font-size: 10px;
    padding: 13px 18px;
  }
}
