/* ==========================================================================
   ÉLYSIAN BOTANIQUE - LUXURY CLEAN BEAUTY DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Palette - Cashmere Pearl, Champagne Gold & Botanical Sage */
  --bg-main: #FAF7F2;
  --bg-cream: #F4EFE6;
  --bg-pearl: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-dark: #191412;
  --bg-dark-card: #241D1A;
  
  --gold-primary: #C5A880;
  --gold-dark: #A6875C;
  --gold-light: #E8DCC9;
  --gold-shimmer: linear-gradient(135deg, #DFCAAE 0%, #C5A880 50%, #A6875C 100%);
  
  --sage-green: #6D7E6C;
  --sage-light: #E2E8E1;
  --rose-blush: #D8AFA6;
  --rose-light: #FBF2EF;
  
  --text-dark: #1C1614;
  --text-muted: #665A54;
  --text-light: #9B8E87;
  --text-on-dark: #FBF8F5;
  
  --border-subtle: rgba(197, 168, 128, 0.22);
  --border-light: rgba(28, 22, 20, 0.08);
  --border-gold: rgba(197, 168, 128, 0.5);
  
  /* Typography */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-cursive: 'Italianno', 'Playfair Display', cursive, serif;
  
  /* Transitions & Shadows */
  --transition-fast: 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-smooth: 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  
  --shadow-soft: 0 10px 30px -5px rgba(102, 90, 84, 0.08);
  --shadow-luxe: 0 20px 45px -10px rgba(197, 168, 128, 0.25);
  --shadow-card: 0 15px 35px -5px rgba(28, 22, 20, 0.06);
  --shadow-drawer: -15px 0 40px rgba(28, 22, 20, 0.15);
  
  --container-max: 1320px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-dark);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-muted);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Luxury Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

::selection {
  background: var(--gold-light);
  color: var(--text-dark);
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.cursive-accent {
  font-family: var(--font-cursive);
  font-size: 1.6em;
  color: var(--gold-dark);
  display: inline-block;
  font-weight: 400;
  line-height: 1;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #1C1614 20%, #A6875C 60%, #C5A880 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-luxe {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid var(--border-subtle);
  padding: 6px 16px;
  border-radius: 40px;
}

.badge-luxe.sage {
  color: var(--sage-green);
  background: rgba(109, 126, 108, 0.12);
  border-color: rgba(109, 126, 108, 0.25);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
  animation: pulse-soft 2.5s infinite ease-in-out;
}

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* ==========================================================================
   BUTTONS & LUXURY CONTROLS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 14px 32px;
  border-radius: 40px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-luxe-gold {
  background: var(--text-dark);
  color: #FAF7F2;
  border: 1px solid var(--text-dark);
  box-shadow: 0 8px 25px -5px rgba(28, 22, 20, 0.25);
}

.btn-luxe-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-luxe);
}

.btn-outline-gold {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--gold-primary);
}

.btn-outline-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-dark);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.78rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-smooth);
}

.header-nav.scrolled {
  background: rgba(250, 247, 242, 0.98);
  box-shadow: var(--shadow-soft);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon-svg {
  width: 36px;
  height: 36px;
  color: var(--gold-primary);
}

.brand-name-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--text-dark);
}

.brand-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--gold-dark);
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--gold-primary);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--text-dark);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-action-btn {
  background: none;
  border: 1px solid var(--border-light);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  transition: all var(--transition-fast);
  position: relative;
}

.icon-action-btn:hover {
  border-color: var(--gold-primary);
  background: var(--bg-cream);
  color: var(--gold-dark);
}

.cart-count-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-dark);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION & PETAL CANVAS
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: hidden;
  background: radial-gradient(circle at 75% 30%, rgba(226, 232, 225, 0.4) 0%, rgba(250, 247, 242, 0.9) 70%);
}

#petal-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-text-content {
  max-width: 680px;
}

.hero-heading {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.08;
  margin-top: 18px;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.hero-mini-stat {
  display: flex;
  flex-direction: column;
}

.hero-mini-stat .val {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-dark);
}

.hero-mini-stat .lbl {
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero Visual Card */
.hero-visual-card {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-luxe);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-product-bottle-visual {
  width: 220px;
  height: 280px;
  margin: 10px 0 20px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottle-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.3) 0%, transparent 70%);
  filter: blur(25px);
}

.bottle-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 15px 25px rgba(102, 90, 84, 0.15));
}

.hero-card-tag {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.hero-card-sub {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 500;
}

/* ==========================================================================
   MARQUEE BOTANICAL ACCREDITATION BAR
   ========================================================================== */

.luxe-marquee-bar {
  background: var(--bg-cream);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.luxe-marquee-bar:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.marquee-item svg {
  color: var(--gold-dark);
}

/* ==========================================================================
   SECTION COMMON BLOCKS
   ========================================================================== */

.section-luxe {
  padding: 120px 0;
  position: relative;
}

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

.section-header-luxe.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title-luxe {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  margin-top: 14px;
  margin-bottom: 18px;
  font-weight: 600;
}

.section-desc-luxe {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ==========================================================================
   SECTION 1: INTERACTIVE 4-STEP AI SKIN DIAGNOSTIC
   ========================================================================== */

.diagnostic-card-wrapper {
  background: var(--bg-pearl);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--shadow-card);
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.diagnostic-step-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}

.diagnostic-step-nav::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  height: 1.5px;
  background: var(--bg-cream);
  z-index: 1;
}

.diag-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.diag-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 2px solid var(--gold-light);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.diag-step-node.active .diag-step-circle {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(197, 168, 128, 0.5);
}

.diag-step-node.completed .diag-step-circle {
  background: var(--sage-green);
  border-color: var(--sage-green);
  color: #FFFFFF;
}

.diag-step-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
}

.diag-step-node.active .diag-step-label {
  color: var(--text-dark);
}

.diag-question-step {
  display: none;
}

.diag-question-step.active {
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: fadeIn 0.4s ease;
}

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

.diag-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.diag-option-box {
  background: var(--bg-main);
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 24px 20px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.diag-option-box:hover {
  border-color: var(--gold-primary);
  background: var(--bg-cream);
  transform: translateY(-3px);
}

.diag-option-box.selected {
  border-color: var(--gold-dark);
  background: var(--gold-light);
  box-shadow: var(--shadow-soft);
}

.diag-option-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
}

.diag-option-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Diagnostic Result Card */
.diag-result-card {
  background: radial-gradient(circle at 10% 20%, rgba(226, 232, 225, 0.4) 0%, rgba(255, 255, 255, 0.9) 80%);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px;
  margin-top: 10px;
}

.diag-routine-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.diag-step-product-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   SECTION 2: BOTANICAL INGREDIENT LAB & MOLECULAR MATRIX
   ========================================================================== */

.ingredient-lab-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-pearl);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.ingredient-cards-selector {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ing-selector-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.ing-selector-card:hover {
  border-color: var(--gold-primary);
  transform: translateX(4px);
}

.ing-selector-card.active {
  background: var(--bg-cream);
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-soft);
}

.ing-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
}

.ing-origin {
  font-size: 0.8rem;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ing-detail-screen {
  background: radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.15) 0%, var(--bg-cream) 80%);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.efficacy-bars-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.eff-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eff-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.eff-track {
  height: 8px;
  background: rgba(28, 22, 20, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.eff-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-dark));
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================================================
   SECTION 3: LUXURY PRODUCT CATALOG
   ========================================================================== */

.products-filter-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.prod-filter-btn {
  background: var(--bg-pearl);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.prod-filter-btn:hover {
  border-color: var(--gold-primary);
  color: var(--text-dark);
}

.prod-filter-btn.active {
  background: var(--text-dark);
  color: #FFFFFF;
  border-color: var(--text-dark);
}

.luxe-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.luxe-product-card {
  background: var(--bg-pearl);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
}

.luxe-product-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-luxe);
}

.prod-img-box {
  height: 280px;
  background: radial-gradient(circle at 50% 50%, rgba(244, 239, 230, 0.8) 0%, rgba(250, 247, 242, 0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.prod-badge-floating {
  position: absolute;
  top: 16px;
  left: 16px;
}

.prod-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.prod-category {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 6px;
}

.prod-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.prod-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.prod-actives-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.active-pill {
  font-size: 0.72rem;
  background: var(--bg-cream);
  border: 1px solid var(--border-subtle);
  padding: 3px 10px;
  border-radius: 20px;
  color: var(--text-muted);
}

.prod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.prod-price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   SECTION 4: 28-DAY RADIANCE BEFORE/AFTER COMPARISON SLIDER
   ========================================================================== */

.comparison-wrapper-luxe {
  background: var(--bg-pearl);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.before-after-container {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  user-select: none;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-image.before {
  background: linear-gradient(135deg, #E6DDD8 0%, #D8CCC4 100%);
}

.ba-image.after {
  background: linear-gradient(135deg, #FFF6F0 0%, #F5E6DC 100%);
  width: 50%;
  border-right: 2px solid #FFFFFF;
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  z-index: 10;
}

/* ==========================================================================
   LUXURY CART DRAWER
   ========================================================================== */

.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 22, 20, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.cart-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 460px;
  height: 100%;
  background: var(--bg-pearl);
  box-shadow: var(--shadow-drawer);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  padding: 32px;
}

.cart-drawer-backdrop.open .cart-drawer-panel {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.cart-threshold-box {
  background: var(--bg-cream);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px;
  margin: 18px 0;
}

.threshold-track {
  height: 6px;
  background: rgba(28, 22, 20, 0.08);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.threshold-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-dark));
  border-radius: 3px;
  transition: width var(--transition-smooth);
}

.cart-items-scroll {
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 10px 0;
}

.cart-item-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: var(--bg-main);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.cart-footer {
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer-luxe {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding-top: 90px;
  padding-bottom: 40px;
}

.footer-grid-luxe {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-title-luxe {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

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

.footer-links-luxe a {
  color: #BDB3AC;
  font-size: 0.9rem;
}

.footer-links-luxe a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom-luxe {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #8C8079;
}

/* ==========================================================================
   DEDICATED PRODUCT PAGE (PDP) & GALLERY STYLING
   ========================================================================== */

.pdp-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 90px;
}

.pdp-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 110px;
}

.pdp-main-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-cream);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-card);
}

.pdp-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pdp-main-image-wrap:hover .pdp-main-img {
  transform: scale(1.04);
}

.pdp-gallery-thumbs {
  display: flex;
  gap: 14px;
}

.gallery-thumb-btn {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  background: var(--bg-cream);
  border: 2px solid var(--border-light);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

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

.gallery-thumb-btn.active, .gallery-thumb-btn:hover {
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

/* PDP Information Panel */
.pdp-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.star-gold {
  color: #D4AF37;
  font-size: 1.1rem;
}

.pdp-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  color: var(--text-dark);
  line-height: 1.15;
}

.pdp-subtitle {
  font-size: 1.05rem;
  color: var(--gold-dark);
  font-weight: 500;
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.pdp-price-current {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.pdp-price-original {
  font-size: 1.2rem;
  color: var(--text-light);
  text-decoration: line-through;
}

/* Volume Size Switcher */
.volume-options-group {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.volume-select-btn {
  flex: 1;
  background: var(--bg-pearl);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.volume-select-btn:hover {
  border-color: var(--gold-primary);
}

.volume-select-btn.active {
  border-color: var(--gold-dark);
  background: var(--bg-cream);
  box-shadow: var(--shadow-soft);
}

.volume-name {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.volume-price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Purchase Options Card (One-time vs Subscription) */
.purchase-options-box {
  background: var(--bg-cream);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.purchase-radio-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.purchase-radio-label input[type="radio"] {
  accent-color: var(--gold-dark);
  margin-top: 4px;
  width: 18px;
  height: 18px;
}

.purchase-radio-text {
  flex-grow: 1;
}

.purchase-radio-title {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
}

.purchase-radio-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Quantity & Add to Bag Group */
.pdp-action-row {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--bg-pearl);
  border: 1px solid var(--border-light);
  border-radius: 40px;
  padding: 4px;
  height: 52px;
}

.qty-btn {
  background: none;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background: var(--bg-cream);
  color: var(--gold-dark);
}

.qty-value {
  width: 32px;
  text-align: center;
  font-weight: 700;
  color: var(--text-dark);
}

.btn-add-pdp {
  flex-grow: 1;
  height: 52px;
  font-size: 0.95rem;
}

/* Accordions */
.pdp-accordions-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.pdp-accordion-item {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: var(--bg-pearl);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.pdp-accordion-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.pdp-accordion-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.pdp-accordion-icon {
  color: var(--gold-dark);
  font-size: 1.2rem;
  transition: transform var(--transition-smooth);
}

.pdp-accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.pdp-accordion-item.open .pdp-accordion-icon {
  transform: rotate(45deg);
}

.pdp-accordion-item.open .pdp-accordion-body {
  max-height: 500px;
  padding: 0 20px 20px 20px;
}

/* Reviews Section */
.reviews-section {
  padding-top: 80px;
  border-top: 1px solid var(--border-light);
}

.review-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.review-filter-pill {
  background: var(--bg-pearl);
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.review-filter-pill:hover, .review-filter-pill.active {
  background: var(--text-dark);
  color: #FFF;
  border-color: var(--text-dark);
}

.reviews-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.review-card-item {
  background: var(--bg-pearl);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-author-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-author-name {
  font-weight: 700;
  color: var(--text-dark);
}

.review-author-tag {
  font-size: 0.72rem;
  color: var(--gold-dark);
  background: var(--bg-cream);
  padding: 2px 8px;
  border-radius: 12px;
}

/* ==========================================================================
   SCIENCE, ABOUT & CONTACT PAGE ENHANCEMENTS
   ========================================================================== */

.editorial-hero-banner {
  height: 440px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin-bottom: 60px;
}

.editorial-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,22,20,0.2) 0%, rgba(28,22,20,0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  color: #FFFFFF;
}

.science-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}

.science-pillar-card {
  background: var(--bg-pearl);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.boutique-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.boutique-card {
  background: var(--bg-pearl);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   OUTNUMBERED / CAPACITY ALLOCATION MODAL WIDGET
   ========================================================================== */

.outnumbered-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 22, 20, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.outnumbered-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.outnumbered-modal-card {
  background: var(--bg-pearl);
  border: 1.5px solid var(--border-gold);
  border-radius: 28px;
  max-width: 560px;
  width: 100%;
  padding: 44px 36px;
  box-shadow: 0 30px 60px -10px rgba(28, 22, 20, 0.25), 0 0 35px rgba(197, 168, 128, 0.2);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-smooth);
}

.outnumbered-modal-backdrop.open .outnumbered-modal-card {
  transform: translateY(0) scale(1);
}

.outnumbered-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.outnumbered-modal-close:hover {
  background: var(--gold-dark);
  color: #FFFFFF;
}

.outnumbered-icon-bubble {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-light) 0%, var(--bg-cream) 100%);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .pdp-main-grid {
    grid-template-columns: 1fr;
  }
  .pdp-gallery-container {
    position: static;
  }
  .science-pillar-grid {
    grid-template-columns: 1fr;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text-content {
    margin: 0 auto;
  }
  .hero-btn-group, .hero-badges-row {
    justify-content: center;
  }
  .ingredient-lab-grid {
    grid-template-columns: 1fr;
  }
  .comparison-wrapper-luxe {
    grid-template-columns: 1fr;
  }
  .footer-grid-luxe {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .diag-options-grid {
    grid-template-columns: 1fr;
  }
  .diag-routine-timeline {
    grid-template-columns: 1fr;
  }
  .footer-grid-luxe {
    grid-template-columns: 1fr;
  }
  .footer-bottom-luxe {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .pdp-action-row {
    flex-direction: column;
  }
}

