/* ================================================
   STUDFORCE SUGAR GUARD — Design System & Styles
   Red & Black Theme | Glassmorphism Premium
   Landing Page + E-Commerce Product Page Unified
   ================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Bebas Neue', sans-serif;

  /* Brand Core */
  --brand-red: #cf0707;
  --brand-red-bright: #e81212;
  --brand-red-dark: #8b0000;
  --brand-red-glow: rgba(207, 7, 7, 0.15);
  --brand-black: #111827;
  --brand-black-light: #1f2937;

  /* Section Palettes (Light Mode) */
  --s1-bg: #ffffff;
  --s1-bg-gradient: linear-gradient(180deg, #ffffff 0%, #fcf8f8 50%, #f9f1f1 100%);
  --s1-text: #111827;
  --s1-text-muted: #4b5563;
  --s1-accent: var(--brand-red);

  --s2-bg-gradient: linear-gradient(180deg, #f9f1f1 0%, #fff5f5 40%, #fcf0f0 100%);
  --s2-text: #111827;
  --s2-text-muted: #4b5563;
  --s2-accent: var(--brand-red);

  --s3-bg-gradient: linear-gradient(180deg, #fcf0f0 0%, #ffffff 50%, #fcf5f5 100%);
  --s3-text: #111827;
  --s3-text-muted: #4b5563;
  --s3-accent: var(--brand-red);

  --s4-bg-gradient: linear-gradient(180deg, #fcf5f5 0%, #ffffff 50%, #f9f1f1 100%);
  --s4-text: #111827;
  --s4-text-muted: #4b5563;
  --s4-accent: var(--brand-red);

  --s5-bg-gradient: linear-gradient(180deg, #f9f1f1 0%, #fff9f5 50%, #ffffff 100%);
  --s5-text: #111827;
  --s5-text-muted: #4b5563;
  --s5-accent: #b8860b;

  /* Shared Buttons */
  --cta-gradient: linear-gradient(135deg, #cf0707 0%, #a00505 50%, #8b0000 100%);
  --cta-gradient-hover: linear-gradient(135deg, #e81212 0%, #cf0707 50%, #a00505 100%);
  --cta-gold: linear-gradient(135deg, #d4a017 0%, #b8860b 50%, #8B6914 100%);
  --cta-gold-hover: linear-gradient(135deg, #e6b422 0%, #d4a017 50%, #b8860b 100%);

  /* Glassmorphism (Light Mode) */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-border-red: rgba(207, 7, 7, 0.2);
  --glass-blur: 20px;
  --glass-bg-scroll: rgba(255, 255, 255, 0.92);

  /* Spacing */
  --section-padding-y: 120px;
  --section-padding-x: 24px;
  --max-width: 1200px;
  --nav-height: 72px;

  /* Animation */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-reveal: 0.9s;
  --duration-stagger: 0.12s;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--s1-text);
  background-color: var(--s1-bg);
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
}

::selection {
  background: rgba(207, 7, 7, 0.35);
  color: #fff;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
  width: 100%;
  box-sizing: border-box;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.glass-card-red {
  background: rgba(207, 7, 7, 0.04);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border-red);
  border-radius: 16px;
}

/* ================================================
   NAVIGATION
   ================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease-out-quart), border-color 0.4s var(--ease-out-quart);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: var(--glass-bg-scroll);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--cta-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(207, 7, 7, 0.3);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  color: #111827;
  line-height: 1;
}

.nav-logo-text span {
  color: var(--brand-red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-red);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--cta-gradient);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 2px;
  border-radius: 50px;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(207, 7, 7, 0.2);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(207, 7, 7, 0.4);
  background: var(--cta-gradient-hover);
}

/* ================================================
   STORY SECTIONS (LANDING PAGE)
   ================================================ */
.story-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--section-padding-y) 0;
}

.section-content {
  position: relative;
  z-index: 2;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-reveal) var(--ease-out-expo), transform var(--duration-reveal) var(--ease-out-expo);
}

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

.reveal-delay-1 { transition-delay: calc(var(--duration-stagger) * 1); }
.reveal-delay-2 { transition-delay: calc(var(--duration-stagger) * 2); }
.reveal-delay-3 { transition-delay: calc(var(--duration-stagger) * 3); }
.reveal-delay-4 { transition-delay: calc(var(--duration-stagger) * 4); }
.reveal-delay-5 { transition-delay: calc(var(--duration-stagger) * 5); }
.reveal-delay-6 { transition-delay: calc(var(--duration-stagger) * 6); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 1.1s var(--ease-out-expo), transform 1.1s var(--ease-out-expo);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Section 1 — Hero (Light Mode) */
#section-wakeup {
  background: var(--s1-bg-gradient);
  min-height: 100vh;
  position: relative;
}

.hero-bg, .hope-bg, .moments-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-img, .hope-bg-img, .moments-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.92) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.92) 75%, #ffffff 100%),
              linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(207,7,7,0.03) 50%, #ffffff 100%);
}

.diabetes-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 200px);
  letter-spacing: 20px;
  color: rgba(207, 7, 7, 0.06);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.wakeup-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.wakeup-label {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 24px;
  font-weight: 700;
}

.wakeup-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: 2px;
  color: #111827;
  margin-bottom: 40px;
}

.wakeup-headline em {
  font-style: normal;
  color: var(--brand-red);
}

.wakeup-body p {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.8;
  color: #374151;
  margin-bottom: 16px;
  font-weight: 500;
}

.wakeup-body .emphasis {
  color: #111827;
  font-weight: 600;
  font-style: italic;
}

/* Scroll indicator */
.scroll-indicator, .scroll-indicator-dark {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.scroll-indicator span, .scroll-indicator-dark span {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(207, 7, 7, 0.5);
  border-bottom: 2px solid rgba(207, 7, 7, 0.5);
  transform: rotate(45deg);
  animation: scrollBounce 2s var(--ease-out-quart) infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* Section 2 — Family */
#section-family {
  background: var(--s2-bg-gradient);
}

.family-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.family-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .family-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
  }
}

.family-image-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 30px rgba(207,7,7,0.15);
  border: 1px solid var(--glass-border-red);
}

.family-image {
  width: 100%;
  height: auto;
  display: block;
}

.family-label {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 24px;
  font-weight: 700;
}

.family-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: 2px;
  color: #111827;
  margin-bottom: 32px;
}

.family-body p {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.9;
  color: #374151;
  margin-bottom: 12px;
}

.family-body .someone-line {
  color: #111827;
  font-weight: 600;
  padding: 14px 20px;
  margin: 12px 0;
  font-style: italic;
  background: rgba(207, 7, 7, 0.04);
  backdrop-filter: blur(12px);
  border-left: 3px solid var(--brand-red);
  border-radius: 0 12px 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-right: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* Section 3 — Hope (Light Mode) */
#section-hope {
  background: var(--s3-bg-gradient);
  position: relative;
}

.hope-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.95) 100%);
}

.hope-content {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.hope-label {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 24px;
  font-weight: 700;
}

.hope-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: 2px;
  color: #111827;
  margin-bottom: 40px;
}

.hope-steps {
  list-style: none;
  max-width: 600px;
}

.hope-steps li {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.8;
  color: #374151;
  padding: 12px 16px 12px 48px;
  position: relative;
  margin-bottom: 8px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.hope-steps li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--brand-red);
}

.hope-steps li.revealed::before {
  background: var(--brand-red);
  box-shadow: 0 0 10px rgba(207, 7, 7, 0.4);
}

.hope-closing {
  margin-top: 40px;
}

.hope-closing p {
  color: #374151;
}

.hope-closing .responsibility {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: #111827;
  letter-spacing: 2px;
  margin-top: 12px;
}

/* Section 4 — Product Reveal (Light Mode) */
#section-product {
  background: var(--s4-bg-gradient);
}

.product-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.product-label {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 16px;
  font-weight: 700;
  text-align: center;
}

.product-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: 2px;
  color: #111827;
  margin-bottom: 16px;
  text-align: center;
}

.product-headline .brand {
  color: var(--brand-red);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-image {
  max-width: 420px;
  width: 100%;
  border-radius: 16px;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.6));
}

.product-subtitle {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 24px;
}

.product-points p {
  font-size: clamp(16px, 2vw, 18px);
  color: #111827;
  margin-bottom: 8px;
  font-weight: 600;
  padding-left: 16px;
  border-left: 3px solid var(--brand-red);
}

.product-wellness-note {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin-top: 24px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.product-manifesto {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  color: #111827;
  letter-spacing: 1px;
  margin: 24px 0 32px;
}

/* CTA Buttons */
.cta-button, .cta-button-gold {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--cta-gradient);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 3px;
  border-radius: 60px;
  text-transform: uppercase;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
  box-shadow: 0 0 25px rgba(207, 7, 7, 0.2);
}

.cta-button-gold {
  background: var(--cta-gold);
  box-shadow: 0 0 25px rgba(212, 160, 23, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(207, 7, 7, 0.35);
  background: var(--cta-gradient-hover);
}

.cta-button-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212, 160, 23, 0.35);
  background: var(--cta-gold-hover);
}

.product-disclaimer {
  font-size: 12px;
  color: #6b7280;
  margin-top: 20px;
}

/* Section 5 — Moments (Light Mode) */
#section-moments {
  background: var(--s5-bg-gradient);
  position: relative;
}

.moments-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.96) 100%);
}

.moments-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
  text-align: center;
}

.moments-label {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 24px;
  font-weight: 700;
}

.moments-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: 2px;
  color: #111827;
  margin-bottom: 40px;
}

.moments-list {
  list-style: none;
  margin-bottom: 48px;
}

.moments-list li {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #4b5563;
  padding: 10px 20px;
  margin-bottom: 6px;
  border-radius: 10px;
}

.moments-list li.revealed {
  color: #111827;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.moments-list li em {
  font-style: normal;
  color: var(--brand-red);
  font-weight: 600;
}

.moments-closing p {
  font-size: clamp(16px, 2vw, 19px);
  color: #4b5563;
}

.moments-brand {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: 4px;
  color: #111827;
  margin: 24px 0 12px;
}

.moments-tagline {
  font-size: clamp(16px, 2vw, 20px);
  color: #4b5563;
  margin-bottom: 40px;
}

/* ================================================
   E-COMMERCE PRODUCT PAGE STYLES (product.html)
   ================================================ */
.ecom-main {
  padding-top: var(--nav-height);
  background-color: #ffffff;
  color: #111827;
}

.ecom-breadcrumb-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px var(--section-padding-x) 10px;
}

.ecom-breadcrumb {
  font-size: 13px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ecom-breadcrumb a {
  color: #374151;
}

.ecom-breadcrumb a:hover {
  color: var(--brand-red);
}

.ecom-breadcrumb .sep {
  color: #d1d5db;
}

.ecom-breadcrumb .current {
  color: #111827;
  font-weight: 600;
}

/* Hero Section: 2 Columns */
.ecom-product-hero {
  padding: 20px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, #fcf8f8 100%);
}

.ecom-hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .ecom-hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.ecom-gallery-sticky {
  position: relative;
}

@media (min-width: 992px) {
  .ecom-gallery-sticky {
    position: sticky;
    top: calc(var(--nav-height) + 20px);
    height: fit-content;
  }
}

.ecom-main-stage {
  position: relative;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06), 0 0 20px rgba(207,7,7,0.08);
  background: #ffffff;
}

.ecom-badge-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 4px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(207,7,7,0.3);
}

.ecom-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #111827;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ecom-nav-arrow:hover {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
  transform: translateY(-50%) scale(1.1);
}

.ecom-arrow-prev {
  left: 12px;
}

.ecom-arrow-next {
  right: 12px;
}

.ecom-stage-img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ecom-thumb-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.ecom-thumb-btn {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  border: 2px solid transparent;
  opacity: 0.7;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.ecom-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecom-thumb-btn:hover {
  opacity: 0.95;
}

.ecom-thumb-btn.active {
  opacity: 1;
  border-color: var(--brand-red);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(207,7,7,0.25);
}

.ecom-buy-panel {
  display: flex;
  flex-direction: column;
}

.ecom-brand-sub {
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--brand-red);
  font-weight: 700;
  margin-bottom: 8px;
}

.ecom-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: 1.5px;
  color: #111827;
  margin-bottom: 12px;
}

.ecom-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.ecom-stars {
  color: #d97706;
  letter-spacing: 2px;
  font-size: 16px;
}

.ecom-rating-score {
  font-weight: 700;
  color: #111827;
}

.ecom-rating-count {
  font-size: 13px;
  color: #6b7280;
}

.ecom-price-row {
  margin-bottom: 24px;
  padding: 16px 20px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.ecom-price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b7280;
}

.ecom-price-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.ecom-price-current {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  color: #111827;
}

.ecom-badge-stock {
  font-size: 12px;
  color: #059669;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ecom-badge-stock::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #059669;
  border-radius: 50%;
  box-shadow: 0 0 8px #059669;
}

.ecom-highlights {
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 28px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.ecom-highlight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ecom-highlight-list li {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ecom-highlight-list .icon {
  font-size: 16px;
  flex-shrink: 0;
}

.ecom-actions {
  margin-bottom: 32px;
}

.ecom-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 32px;
  background: var(--cta-gradient);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(207, 7, 7, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ecom-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(207, 7, 7, 0.4);
  background: var(--cta-gradient-hover);
}

.ecom-guarantee-note {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  margin-top: 12px;
}

.ecom-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border-top: 1px solid #e5e7eb;
  padding-top: 24px;
}

.ecom-trust-item {
  text-align: center;
}

.ecom-trust-item .t-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.ecom-trust-item .t-text {
  font-size: 11px;
  color: #4b5563;
  line-height: 1.2;
  font-weight: 500;
}

/* Tabs Section */
.ecom-details-section {
  padding: 60px 0 80px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.ecom-tab-nav {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.ecom-tab-btn {
  background: transparent;
  border: none;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1.5px;
  color: #9ca3af;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.ecom-tab-btn:hover {
  color: #374151;
}

.ecom-tab-btn.active {
  color: var(--brand-red);
}

.ecom-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-red);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(207, 7, 7, 0.4);
}

.ecom-tab-content {
  display: none;
  animation: fadeInTab 0.4s ease forwards;
}

.ecom-tab-content.active {
  display: block;
}

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

.ecom-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.ecom-card {
  padding: 28px 24px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.ecom-card .card-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.ecom-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  color: #111827;
  margin-bottom: 10px;
}

.ecom-card p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

.ecom-ingr-intro {
  margin-bottom: 30px;
}

.ecom-ingr-intro h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: #111827;
  letter-spacing: 1px;
}

.ecom-ingr-intro p {
  color: #6b7280;
  font-size: 15px;
}

.ecom-herb-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.ecom-h-card {
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.ecom-h-card .h-title {
  font-weight: 600;
  color: #111827;
  font-size: 16px;
}

.ecom-h-card .h-sub {
  font-size: 12px;
  font-style: italic;
  color: #6b7280;
  margin-top: 2px;
}

.ecom-usage-flex {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .ecom-usage-flex {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.ecom-usage-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.u-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.u-num {
  width: 36px;
  height: 36px;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.u-step h4 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
  color: #111827;
  margin-bottom: 4px;
}

.u-step p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
}

.ecom-usage-photo {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.ecom-usage-photo .u-img {
  width: 100%;
  height: auto;
  display: block;
}

.ecom-comp-wrapper {
  padding: 30px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.ecom-comp-wrapper .table-header h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: #111827;
  letter-spacing: 1px;
}

.ecom-comp-wrapper .table-header p {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 20px;
}

.ecom-table-scroll {
  overflow-x: auto;
}

.ecom-comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.ecom-comp-table th {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--brand-red);
  padding: 10px;
  border-bottom: 2px solid rgba(207, 7, 7, 0.3);
}

.ecom-comp-table td {
  padding: 10px;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
}

.mfg-card {
  padding: 28px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.mfg-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--brand-red);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.mfg-card .mfg-name {
  font-weight: 700;
  color: #111827;
  font-size: 16px;
}

.mfg-card p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

.mfg-card .mfg-lic {
  margin-top: 12px;
  font-size: 12px;
  color: #9ca3af;
}

.ecom-community-section {
  padding: 60px 0 80px;
}

.ecom-community-section .section-heading {
  font-family: var(--font-display);
  font-size: 36px;
  text-align: center;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 40px;
}

.ecom-community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.c-card {
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
}

.c-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sticky Buy Bar */
.ecom-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border-red);
  padding: 12px 0;
  z-index: 99;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.ecom-sticky-bar.visible {
  transform: translateY(0);
}

.bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bar-product {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bar-product img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: #111;
}

.bar-title {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}

.bar-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.bar-btn {
  padding: 10px 28px;
  background: var(--cta-gradient);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1.5px;
  border-radius: 50px;
}

/* Footer */
.site-footer {
  background: #040404;
  border-top: 1px solid rgba(207, 7, 7, 0.1);
  padding: 60px 0 32px;
  position: relative;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 3px;
  color: #fff;
}

.footer-brand span {
  color: var(--brand-red);
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--brand-red);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207, 7, 7, 0.15), transparent);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

.footer-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.15);
  max-width: 600px;
  line-height: 1.6;
}

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out-expo);
}

.page-loader.loaded {
  opacity: 0;
  pointer-events: none;
}

.loader-text {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: 6px;
  color: #fff;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-text span {
  color: var(--brand-red);
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .ecom-hero-container {
    gap: 30px;
  }

  .ecom-main-stage {
    min-height: 300px;
    padding: 16px;
  }

  .ecom-stage-img {
    max-height: 300px;
  }

  .ecom-title {
    font-size: 32px;
  }

  .ecom-btn-primary {
    font-size: 18px;
    padding: 14px 24px;
  }

  .ecom-tab-btn {
    font-size: 16px;
    padding: 10px 16px;
  }

  .bar-title {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding-y: 80px;
    --section-padding-x: 16px;
    --nav-height: 60px;
  }

  .nav-logo-text {
    font-size: 16px;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 11px;
    letter-spacing: 1px;
  }

  .ecom-trust-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .ecom-comp-wrapper {
    padding: 16px;
  }
}

