/*
Theme Name: Candle Craftsman
Theme URI: https://candlecraftsman.com
Author: Antigravity
Author URI: https://candlecraftsman.com
Description: A premium, luxury e-commerce theme for handcrafted candles.
Version: 1.0.0
Text Domain: candle-craftsman
*/

:root {
  /* Brand Colors */
  --color-rich-walnut: #5C3A1E;
  --color-warm-chestnut: #7A4E2D;
  --color-champagne-gold: #D4B483;
  --color-warm-ivory: #E8D5B0;
  --color-cream-linen: #F5EFE4;
  --color-soft-parchment: #EDE0CC;
  --color-dark-espresso: #3A2210;
  --color-caramel-oak: #9E7B4F;
  
  /* Theme Variables (Dark Mode Default) */
  --bg-primary: var(--color-cream-linen);
  --bg-secondary: var(--color-soft-parchment);
  --bg-dark: var(--color-dark-espresso);
  --bg-dark-alt: var(--color-rich-walnut);
  --text-primary: var(--color-rich-walnut);
  --text-inverse: var(--color-warm-ivory);
  --glass-bg: rgba(237, 224, 204, 0.6);
  --glass-border: rgba(212, 180, 131, 0.4);

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
}

/* Light Theme Overrides */
html[data-theme="light"] {
  --bg-dark: var(--color-soft-parchment);
  --bg-dark-alt: var(--color-soft-parchment);
  --text-inverse: var(--color-dark-espresso);
  --bg-primary: var(--color-soft-parchment); /* Was Cream Linen, now Soft Parchment */
  --glass-bg: #F5EFE4; /* Solid Cream Linen */
  --glass-border: #D4B483; /* 1px solid */
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { transition: background-color 0.6s ease, color 0.6s ease; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.6s ease, color 0.6s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--bg-dark);
  letter-spacing: 0.08em;
  font-weight: 600;
  transition: color 0.6s ease;
}

/* Light Mode Overrides for Headings */
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6 {
  color: var(--color-dark-espresso);
  font-weight: 600;
}

a { text-decoration: none; color: var(--text-primary); transition: color 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

/* Custom Cursor & Preloader */
.preloader-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: #1A0F08;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader-content { display: flex; flex-direction: column; align-items: center; }
/* Typography Preloader */
.text-preloader { text-align: center; opacity: 0; animation: fadeInPreloader 0.5s ease forwards 0.2s; }
.preloader-title { font-family: 'Cormorant Garamond', serif; font-size: 70px; font-weight: 700; line-height: 1; letter-spacing: 0.05em; margin-bottom: 25px; }
.preloader-title .text-white { color: #E8D5B0; padding-right: 15px; }
.preloader-title .text-gold { color: #D4B483; }
.preloader-subtitle { font-family: var(--font-sans); font-size: 13px; color: #9E7B4F; letter-spacing: 0.25em; text-transform: uppercase; }
.preloader-subtitle .italic-bold { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 700; font-size: 16px; color: #E8D5B0; }
@keyframes fadeInPreloader { to { opacity: 1; } }

body.preloader-active .site-header,
body.preloader-active main,
body.preloader-active .site-footer {
  opacity: 0;
}
.site-header, main, .site-footer {
  transition: opacity 0.8s ease;
}

#custom-cursor {
  position: fixed; width: 15px; height: 15px; border: 1px solid var(--color-champagne-gold);
  border-radius: 50%; pointer-events: none; z-index: 99999; transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s; mix-blend-mode: difference;
}
.cursor-hover { width: 40px !important; height: 40px !important; background-color: rgba(212, 180, 131, 0.2); }

#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; background: var(--color-champagne-gold);
  z-index: 10001; width: 0%; transition: width 0.1s ease-out;
}

/* Utilities */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 2px;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer;
  transition: all 0.3s ease; border: 1px solid transparent; position: relative; overflow: hidden;
}
.btn-primary { background-color: var(--color-warm-chestnut); color: var(--color-warm-ivory); }
.btn-primary:hover { background-color: var(--color-caramel-oak); color: var(--color-cream-linen); }
.btn-outline { background-color: transparent; border-color: var(--color-champagne-gold); color: var(--color-champagne-gold); }
.btn-outline:hover { background-color: var(--color-champagne-gold); color: var(--color-dark-espresso); }

.fade-in-section { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-section.is-visible { opacity: 1; transform: translateY(0); }

/* Clip Paths */
.clip-path-section { clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%); padding: 120px 0; margin-top: -4vw; z-index: 1; position: relative; }
.clip-path-section-reverse { clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 calc(100% - 4vw)); padding: 120px 0; margin-top: -4vw; z-index: 2; position: relative; }

/* Header */
.site-header {
  background-color: transparent; background-image: linear-gradient(to bottom, rgba(58,34,16,0.6), transparent);
  position: fixed; top: 0; width: 100%; z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, background-image 0.4s ease;
}
.site-header.scrolled { background-color: #3A2210; background-image: none; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); }
html[data-theme="light"] .site-header { background-color: #3A2210; background-image: none; }
.nav-container { display: flex; justify-content: space-between; align-items: center; min-height: 100px; padding: 10px 20px; }
.site-logo { display: flex; align-items: center; }
.site-logo a.site-title { font-family: var(--font-serif); color: #D4B483 !important; font-size: 1.8rem; letter-spacing: 0.08em; font-weight: 700; }
.site-logo img, .site-logo .custom-logo { max-height: 65px !important; width: auto !important; object-fit: contain; display: block; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-header .site-nav a.nav-link { color: #E8D5B0 !important; font-family: 'Inter', sans-serif !important; font-size: 1rem !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.3s ease; text-shadow: 0 1px 4px rgba(0,0,0,0.6) !important; }
.site-header .site-nav a.nav-link:hover { color: #D4B483 !important; }
.mobile-menu-toggle { display: none; background: none; border: none; color: var(--color-champagne-gold); font-size: 1.5rem; cursor: pointer; }

/* Theme Toggle Pill */
.theme-toggle-pill {
  background-color: #3A2210;
  border: 1px solid #D4B483;
  border-radius: 20px;
  width: 80px; height: 30px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; margin-right: 15px;
  transition: all 0.3s ease;
  animation: pulse-glow 3s infinite;
}
.theme-toggle-pill .pill-text {
  color: #9E7B4F; font-family: var(--font-sans);
  font-size: 10px; letter-spacing: 0.1em; font-weight: 600;
}
.theme-toggle-pill .pill-icon { font-size: 12px; }

html[data-theme="light"] .theme-toggle-pill {
  background-color: #D4B483; border-color: transparent;
}
html[data-theme="light"] .theme-toggle-pill .pill-text { color: #3A2210; }

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(212, 180, 131, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(212, 180, 131, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 180, 131, 0); }
}

/* ==========================================================================
   SPLIT-SCREEN CANDLE SLIDER HERO
   ========================================================================== */
.hero-split {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
}

.hero-right-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 60% 40%, #4A1A0A 0%, #1A0800 100%);
  transition: opacity 0.6s ease;
  z-index: 0;
}

.hero-floats {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.float-item {
  position: absolute;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.25;
  filter: blur(8px);
  animation: floatDrift 10s infinite alternate ease-in-out;
}
@keyframes floatDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -20px) scale(1.1); }
}

.hero-content-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 2;
}

.hero-left-panel {
  width: 50%;
  height: 100%;
  background: #F5EFE4;
  display: flex;
  align-items: center;
  padding-left: 8%;
  transition: background 0.4s ease;
}

.hero-left-content {
  position: relative;
  max-width: 420px;
  z-index: 5;
}

.hero-slide-number {
  color: #9E7B4F;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  margin-bottom: 15px;
}

.hero-product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  color: #3A2210;
  line-height: 1;
  margin-top: 8px;
  margin-bottom: 20px;
}

.hero-description {
  color: #5C3A1E;
  font-size: 15px;
  line-height: 1.8;
  max-width: 420px;
  margin-top: 20px;
}

.hero-cta-btn {
  display: inline-block;
  background: #7A4E2D;
  color: #F5EFE4;
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: 0.2em;
  border-radius: 0;
  text-decoration: none;
  margin-top: 28px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s ease;
}
.hero-cta-btn:hover {
  background: #5C3A1E;
}

.hero-right-panel {
  width: 50%;
  height: 100%;
}

.hero-center-jar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.hero-jar-img {
  width: clamp(280px, 30vw, 420px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.4));
}

.hero-nav {
  position: absolute;
  bottom: 5%;
  right: 5%;
  z-index: 10;
}

.hero-nav-text {
  background: none;
  border: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: #E8D5B0;
  letter-spacing: 0.15em;
  cursor: pointer;
  text-transform: uppercase;
  padding: 5px;
}
.hero-nav-sep {
  color: #E8D5B0;
  font-size: 13px;
}

.hero-socials {
  position: absolute;
  top: 5%;
  right: 3%;
  z-index: 10;
  display: flex;
  gap: 15px;
}
.hero-socials a {
  color: #9E7B4F;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.hero-socials a:hover {
  color: #E8D5B0;
}

/* MOBILE LAYOUT */
@media (max-width: 768px) {
  .hero-split {
    flex-direction: column;
    min-height: 100svh;
    height: auto;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
  }

  /* Full screen gradient background */
  .hero-right-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  /* Full screen floats */
  .hero-floats {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .hero-content-wrapper {
    width: 100%;
    height: auto;
    z-index: 2;
    margin-top: 15px;
    display: flex;
    justify-content: center;
  }

  /* The Inset Cream Card */
  .hero-left-panel {
    width: 100%;
    height: auto;
    background: #F5EFE4;
    border-radius: 8px;
    padding: 40px 20px 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .hero-left-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-slide-number {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .hero-product-name {
    font-size: clamp(32px, 9vw, 42px);
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.1;
  }

  .hero-description {
    font-size: 14px;
    margin-top: 0;
    max-width: 90%;
  }

  .hero-cta-btn {
    margin-top: 24px;
    border-radius: 4px;
    padding: 12px 28px;
  }

  /* Jar overlapping the card and background */
  .hero-center-jar {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    text-align: center;
    margin-top: -120px; /* Pull up to overlap */
    z-index: 5;
  }

  .hero-jar-img {
    width: 200px;
    max-width: 55vw;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
  }

  .hero-right-panel { display: none; }

  /* Navigation at bottom of the screen */
  .hero-nav {
    position: absolute;
    bottom: 25px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    z-index: 10;
  }
  
  .hero-nav-text {
    font-size: 14px;
    padding: 10px 15px;
    color: #E8D5B0;
    font-weight: 700;
  }
  .hero-nav-sep { 
    color: #E8D5B0; 
  }

  .hero-socials { 
    display: none; 
  }
}



/* Marquee Strip */
.marquee-strip {
  background-color: var(--color-champagne-gold);
  padding: 15px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(58, 34, 16, 0.1);
  border-bottom: 1px solid rgba(58, 34, 16, 0.1);
}
.marquee-content {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--color-dark-espresso);
  text-transform: uppercase;
  animation: marquee 30s linear infinite;
}
.marquee-strip:hover .marquee-content {
  animation-play-state: paused;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* About Us Editorial Section */
.about-editorial {
  min-height: 100vh;
  background-color: var(--bg-dark);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: background-color 0.6s ease;
}
.editorial-watermark {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-15deg);
  font-family: var(--font-serif); font-size: 15vw; color: var(--color-champagne-gold);
  opacity: 0.03; white-space: nowrap; pointer-events: none; font-weight: 700; z-index: -1;
}
.about-label {
  position: absolute; top: 80px; left: 80px; font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 0.2em; color: var(--color-caramel-oak); z-index: 3;
}

/* Wax Seal Stamp */
.wax-seal {
  position: absolute; z-index: 4; transform: rotate(-15deg);
  display: flex; align-items: center; justify-content: center;
}
.seal-large { top: 80px; right: 80px; width: 90px; height: 90px; }
.seal-small { position: relative; margin: 0 auto 20px; width: 60px; height: 60px; transform: rotate(0); }
.seal-outer {
  position: absolute; width: 100%; height: 100%;
  border: 2px solid var(--color-champagne-gold); border-radius: 50%;
}
.seal-outer svg {
  position: absolute; top: -2px; left: -2px; width: calc(100% + 4px); height: calc(100% + 4px);
  animation: spin 30s linear infinite;
}
.seal-outer svg text {
  font-family: var(--font-sans); font-size: 11px; fill: var(--color-champagne-gold); letter-spacing: 2px;
}
.seal-small .seal-outer svg text { font-size: 15px; letter-spacing: 1px; }
@keyframes spin { 100% { transform: rotate(360deg); } }
.seal-inner {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 20px); height: calc(100% - 20px);
  border: 1px solid var(--color-champagne-gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.seal-monogram {
  font-family: var(--font-serif); color: var(--color-champagne-gold);
}
.seal-large .seal-monogram { font-size: 22px; }
.seal-small .seal-monogram { font-size: 16px; }

.editorial-headline {
  position: relative; z-index: 3; font-size: 76px; line-height: 1.2;
  margin-top: 50px;
}
.editorial-headline .line { overflow: hidden; }
.reveal-line {
  --text-reveal-color: var(--color-dark-espresso);
  color: var(--text-reveal-color);
  display: inline-block;
}
.italic-gold {
  --text-italic-color: var(--color-warm-chestnut);
  font-style: italic; color: var(--text-italic-color); font-size: 1.1em;
}


/* Sections */
section:not(.clip-path-section):not(.clip-path-section-reverse) { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.8rem; margin-bottom: 15px; }
.section-divider { height: 1px; background-color: var(--color-champagne-gold); width: 100px; margin: 0 auto; }

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border); border-radius: 2px; overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, background-color 0.4s ease; position: relative;
}
.glass-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(58, 34, 16, 0.15); border-color: var(--color-champagne-gold); }

/* Featured Collections */
.featured-collections { background-color: var(--bg-primary); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-badge { position: absolute; top: 15px; right: 15px; background: var(--color-warm-chestnut); color: var(--color-warm-ivory); padding: 5px 12px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; z-index: 3; }
.product-card { display: flex; flex-direction: column; }
.product-image { height: 400px; position: relative; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.product-card:hover .product-image img { transform: scale(1.05); }
.quick-view-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(58, 34, 16, 0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.product-card:hover .quick-view-overlay { opacity: 1; }
.product-info { padding: 25px; text-align: center; background: rgba(255,255,255,0.1); flex-grow: 1; }
.product-title { font-size: 1.6rem; margin-bottom: 10px; color: var(--color-warm-ivory); }
html[data-theme="light"] .product-title { color: var(--color-dark-espresso); }
.product-price { color: var(--color-warm-chestnut); font-weight: 600; font-size: 1.1rem; }
html[data-theme="light"] .product-price { color: var(--color-dark-espresso); }

/* Why Us */
.why-us { background-color: var(--bg-dark-alt); transition: background-color 0.6s ease; }
.why-us .section-header h2, .why-us h3 { color: var(--text-inverse); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.feature-block .icon { color: var(--color-champagne-gold); width: 60px; height: 60px; margin: 0 auto 20px; }
.feature-block h3 { font-size: 2rem; margin-bottom: 15px; font-family: var(--font-serif); }
.feature-block p { color: var(--color-soft-parchment); }
html[data-theme="light"] .feature-block p { color: var(--color-dark-espresso); }


/* Bestsellers Carousel */
.bestsellers { background-color: var(--bg-primary); }
.carousel-wrapper { display: flex; align-items: center; position: relative; }
.carousel-viewport { overflow: hidden; position: relative; padding: 20px 0; }
.carousel-track { display: flex; gap: 30px; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.carousel-item { flex: 0 0 calc((100% - 90px) / 4); min-width: 280px; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(58, 34, 16, 0.7); color: #D4B483;
  border: 1px solid #D4B483; cursor: pointer; font-size: 20px; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.carousel-arrow:hover { background: #D4B483; color: #3A2210; }
.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

.flame-flicker-bg { position: relative; }
.flame-flicker-bg::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 50%, rgba(212, 180, 131, 0.2), transparent 60%); opacity: 0.5; animation: bgFlicker 3s infinite alternate ease-in-out; pointer-events: none; }
@keyframes bgFlicker { 0% { opacity: 0.3; transform: scale(0.95); } 100% { opacity: 0.7; transform: scale(1.05); } }

/* The Craft Process */
.craft-process { background-color: #2A1508 !important; }
.craft-process h2 { color: #E8D5B0; font-size: 42px; }
.craft-process .section-divider { width: 60px; border-top: 1px solid #D4B483; background: transparent; }

.timeline { display: flex; justify-content: space-between; position: relative; max-width: 1000px; margin: 0 auto; padding-top: 20px; }
.timeline::before { content: ''; position: absolute; top: 40px; left: 5%; width: 90%; height: 1px; background-color: #7A4E2D; opacity: 0.6; z-index: 1; }

.timeline-step { text-align: center; position: relative; z-index: 2; flex: 1; cursor: pointer; }
.step-circle { width: 40px; height: 40px; background: transparent; border: 2px solid #D4B483; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; transition: all 0.3s ease; }
.step-number { color: #D4B483; font-family: 'Cormorant Garamond', serif; font-size: 16px; transition: color 0.3s ease; }
.step-label { color: #E8D5B0; font-size: 13px; letter-spacing: 0.1em; transition: color 0.3s ease; margin: 0; }

.timeline-step:hover .step-circle { background: #D4B483; }
.timeline-step:hover .step-number { color: #1A0F08; }
.timeline-step:hover .step-label { color: #D4B483; }

html[data-theme="light"] .craft-process { background: #EDE0CC !important; }
html[data-theme="light"] .craft-process h2 { color: #3A2210; }
html[data-theme="light"] .step-label { color: #5C3A1E; }
html[data-theme="light"] .step-circle { border-color: #7A4E2D; }
html[data-theme="light"] .step-number { color: #7A4E2D; }

/* Testimonials */
.testimonials { background-color: var(--color-dark-espresso); text-align: center; color: var(--color-warm-ivory); }
.decorative-quote { font-family: var(--font-serif); font-size: 10rem; color: var(--color-champagne-gold); line-height: 0.5; margin-bottom: 20px; opacity: 0.3; }
.testimonial-slider { position: relative; max-width: 1000px; margin: 0 auto; display: flex; gap: 30px; }
.testimonial-slide { flex: 1; background: rgba(255,255,255,0.05); padding: 40px; border-radius: 4px; border: 1px solid rgba(212, 180, 131, 0.2); transition: opacity 1s ease; opacity: 0.5; }
.testimonial-slide.active { opacity: 1; }
.stars { color: var(--color-champagne-gold); font-size: 1.5rem; margin-bottom: 20px; letter-spacing: 5px; }
.testimonial-text { font-family: var(--font-serif); font-size: 1.4rem; font-style: italic; margin-bottom: 30px; line-height: 1.4; }
.testimonial-author { color: var(--color-champagne-gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 1rem; font-family: var(--font-sans); }

/* Newsletter */
.newsletter { background-color: var(--color-rich-walnut); text-align: center; }
.newsletter h2, .newsletter p { color: var(--color-warm-ivory) !important; }
.newsletter-form { max-width: 500px; margin: 0 auto; display: flex; gap: 10px; }
.newsletter-form input { flex-grow: 1; padding: 15px 20px; background: transparent; border: 1px solid var(--color-champagne-gold); border-radius: 2px; font-family: var(--font-sans); color: var(--color-warm-ivory); }
.newsletter-form input:focus { outline: none; box-shadow: 0 0 0 1px var(--color-champagne-gold); }

/* Footer */
.site-footer { background-color: var(--color-dark-espresso) !important; color: var(--color-warm-ivory); padding: 80px 0 30px; position: relative; overflow: hidden; border-top: 1px solid rgba(212, 180, 131, 0.2); }
.footer-watermark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-serif); font-size: 12vw; color: var(--color-warm-ivory); opacity: 0.05; white-space: nowrap; pointer-events: none; font-weight: 700; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 60px; position: relative; z-index: 2; }
.footer-col h4 { color: var(--color-champagne-gold); margin-bottom: 25px; font-size: 1.2rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--color-warm-ivory); opacity: 0.8; }
.footer-links a:hover { color: var(--color-champagne-gold); opacity: 1; }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a { width: 40px; height: 40px; border: 1px solid var(--color-warm-chestnut); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--color-warm-ivory); transition: all 0.3s ease; }
.social-icons a:hover { border-color: var(--color-champagne-gold); color: var(--color-champagne-gold); transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(212, 180, 131, 0.2); font-size: 0.9rem; opacity: 0.7; position: relative; z-index: 2; color: var(--color-warm-ivory); }

/* Responsive Adjustments */
@media (max-width: 992px) {
  .product-grid, .features-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-item { flex: 0 0 calc((100% - 30px) / 2); }
  .hero h1 { font-size: 4rem; }
  .editorial-headline { font-size: 40px; margin-top: 20px; }
  .about-label, .stamp-badge { display: none; }
  .timeline::before { display: none; }
  .timeline { flex-direction: column; gap: 30px; }
  .timeline-step { display: flex; align-items: center; gap: 20px; text-align: left; }
  .timeline-icon { margin: 0; }
  .testimonial-slider { flex-direction: column; height: auto; }
}
@media (max-width: 768px) {


  /* Preloader Mobile Fix */
  .preloader-title { display: flex; flex-direction: column; font-size: 42px; gap: 5px; margin-bottom: 20px; }
  .preloader-title .text-white { padding-right: 0; }
  .preloader-subtitle { font-size: 10px; max-width: 280px; margin: 0 auto; line-height: 1.6; }
  .preloader-subtitle .italic-bold { font-size: 12px; }

  .clip-path-section, .clip-path-section-reverse { clip-path: none; margin-top: 0; padding: 60px 0; }
  .hero h1 { font-size: 3rem; }
  .about-editorial { min-height: auto; padding: 60px 0; }
  .editorial-headline { font-size: 32px; margin-top: 20px; }
  .seal-large { width: 60px; height: 60px; top: 20px; right: 20px; }
  .product-grid, .features-grid, .footer-grid { grid-template-columns: 1fr; }
  .carousel-item { flex: 0 0 calc(100% / 1.2); min-width: 0; }
  .carousel-arrow { display: none; }
  .newsletter-form { flex-direction: column; }
  .site-nav { display: none; position: absolute; top: 100px; left: 0; width: 100%; background: var(--bg-dark); flex-direction: column; padding: 20px; gap: 15px; border-bottom: 1px solid var(--color-champagne-gold); }
  .site-nav.active { display: flex; }
  .mobile-menu-toggle { display: block; }
}

/* ==========================================================================
   PORTFOLIO SINGLE PRODUCT STYLES
   ========================================================================== */
.portfolio-single { background-color: #1A0F08; color: #E8D5B0; position: relative; }
.product-price { display: none !important; } /* Hide prices globally for portfolio */

/* Sticky Progress Indicator */
.scroll-progress-indicator { position: fixed; right: 30px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 15px; z-index: 100; }
.scroll-progress-indicator::before { content: ''; position: absolute; top: 0; bottom: 0; left: 5px; width: 1px; background: rgba(212,180,131,0.2); z-index: -1; }
.scroll-progress-indicator .dot { width: 11px; height: 11px; border-radius: 50%; background: #1A0F08; border: 1px solid rgba(212,180,131,0.5); transition: all 0.3s ease; }
.scroll-progress-indicator .dot.active { background: #D4B483; border-color: #D4B483; box-shadow: 0 0 10px rgba(212,180,131,0.5); }

/* SECTION 1 - Product Hero */
.portfolio-hero { min-height: 100vh; display: flex; align-items: center; width: 100%; overflow: hidden; background: #1A0F08; }
.ph-left { width: 50%; height: 100vh; }
.ph-main-img { width: 100%; height: 100%; object-fit: cover; }
.ph-right { width: 50%; display: flex; align-items: center; justify-content: center; padding: 0 50px; }
.ph-content { max-width: 500px; width: 100%; }
.ph-label { color: #9E7B4F; font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.2em; margin-bottom: 20px; text-transform: uppercase; }
.ph-title { font-family: 'Cormorant Garamond', serif; font-size: 64px; color: #E8D5B0; line-height: 1.1; margin-bottom: 25px; }
.ph-divider { width: 60px; height: 1px; background: #D4B483; margin-bottom: 25px; }
.ph-desc { color: #9E7B4F; font-size: 16px; line-height: 1.9; margin-bottom: 30px; font-family: var(--font-serif); }
.ph-specs { color: #D4B483; font-size: 12px; letter-spacing: 0.1em; font-family: var(--font-sans); margin-bottom: 40px; }
.btn-enquire { background: #D4B483; color: #3A2210; padding: 14px 36px; border-radius: 0; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.05em; display: inline-block; transition: all 0.3s ease; text-transform: uppercase; }
.btn-enquire:hover { background: #E8D5B0; color: #3A2210; }
.ph-email { color: #7A4E2D; font-size: 12px; margin-top: 15px; font-family: var(--font-sans); }

/* SECTION 2 - Fragrance Story */
.fragrance-story { background: #F5EFE4; padding: 100px 0; color: #3A2210; text-align: center; }
.fs-title { font-family: 'Cormorant Garamond', serif; font-size: 48px; color: #3A2210; margin-bottom: 60px; }
.fs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 900px; margin: 0 auto; }
.fs-icon { color: #D4B483; font-size: 24px; margin-bottom: 15px; }
/* ==========================================================================
   PORTFOLIO SINGLE PAGE REWRITE (7 SECTIONS)
   ========================================================================== */
.portfolio-single { background: #1A0F08; color: #E8D5B0; font-family: 'Inter', sans-serif; overflow-x: hidden; }

/* Sticky Progress Indicator */
.scroll-progress-indicator { position: fixed; right: 30px; top: 50%; transform: translateY(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 15px; }
.scroll-progress-indicator .dot { width: 6px; height: 6px; border-radius: 50%; border: 1px solid #7A4E2D; background: transparent; cursor: pointer; transition: all 0.3s ease; position: relative; }
.scroll-progress-indicator .dot.active { width: 10px; height: 10px; border-color: #D4B483; background: #D4B483; }
.scroll-progress-indicator .dot::before { content: attr(data-tooltip); position: absolute; right: 25px; top: 50%; transform: translateY(-50%); background: rgba(26,15,8,0.9); color: #D4B483; font-size: 10px; padding: 4px 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; border: 1px solid #7A4E2D; letter-spacing: 0.1em; text-transform: uppercase; }
.scroll-progress-indicator .dot:hover::before { opacity: 1; }

/* SECTION 1 - PRODUCT HERO */
.pp-section-1 { display: flex; min-height: 100vh; padding: 0 !important; }
.pp-hero-left { width: 50%; background: #2A1508; position: relative; }
.pp-hero-image-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 20px; }
.pp-image-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, rgba(212,180,131,0.05) 0%, transparent 80%); pointer-events: none; z-index: 2; }
.pp-hero-image-sticky img#main-product-image { background: #2A1508; min-height: 420px; border: 1px solid rgba(212,180,131,0.15); width: 100%; max-width: 80%; max-height: 60vh; object-fit: cover; z-index: 1; position: relative; transition: opacity 0.3s ease; }
.pp-thumbnails { display: flex; gap: 8px; margin-top: 40px; z-index: 3; }
.pp-thumb { width: 70px; height: 70px; background: #3A2210; border: 1px solid rgba(212,180,131,0.3); object-fit: cover; cursor: pointer; opacity: 0.6; transition: all 0.3s ease; }
.pp-thumb.active, .pp-thumb:hover { opacity: 1; border-color: #D4B483; }

.pp-hero-right { width: 50%; background: #1A0F08; padding: 80px 60px; display: flex; flex-direction: column; justify-content: center; }
.pp-breadcrumb { color: #7A4E2D; font-size: 11px; letter-spacing: 0.1em; margin-bottom: 30px; text-transform: uppercase; }
.pp-collection-label { color: #9E7B4F; font-size: 11px; letter-spacing: 0.22em; margin-bottom: 15px; }
.pp-product-name { font-family: 'Cormorant Garamond', serif; font-size: 58px; color: #E8D5B0; line-height: 1.1; margin-bottom: 20px; text-shadow: 0 0 1px rgba(232,213,176,0.2); }
.pp-divider-line { width: 40px; height: 1px; background: #D4B483; margin: 20px 0; }
.pp-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; color: #9E7B4F; font-size: 17px; line-height: 1.9; margin-bottom: 30px; }
.pp-specs-row { display: flex; align-items: center; gap: 15px; color: #D4B483; font-size: 12px; letter-spacing: 0.1em; margin-bottom: 30px; flex-wrap: wrap; }
.pp-specs-row .dot-sep { color: #7A4E2D; }
.pp-scent-badge { display: inline-block; background: rgba(212,180,131,0.1); border: 1px solid #D4B483; color: #D4B483; font-size: 11px; padding: 6px 16px; border-radius: 20px; letter-spacing: 0.1em; margin-bottom: 50px; align-self: flex-start; }
.pp-enquire-btn { width: 100%; background: #D4B483; color: #1A0F08; font-family: 'Cormorant Garamond', serif; font-size: 14px; letter-spacing: 0.2em; padding: 16px; text-align: center; display: block; text-transform: uppercase; font-weight: 600; transition: background 0.3s ease; text-decoration: none; }
.pp-enquire-btn:hover { background: #E8D5B0; }
.pp-email-text { color: #7A4E2D; font-size: 11px; text-align: center; margin-top: 15px; margin-bottom: 40px; }
.pp-share-row { display: flex; align-items: center; gap: 15px; color: #9E7B4F; font-size: 11px; letter-spacing: 0.1em; }
.pp-share-row .share-icon { color: #9E7B4F; text-decoration: none; border-bottom: 1px solid transparent; transition: all 0.3s ease; }
.pp-share-row .share-icon:hover { color: #D4B483; border-color: #D4B483; }

/* SECTION 2 - SCENT STORY */
.pp-section-2 { background: #F5EFE4; padding: 100px 0; text-align: center; }
.ss-heading { font-family: 'Cormorant Garamond', serif; font-size: 42px; color: #3A2210; margin-bottom: 20px; }
.ss-divider { width: 60px; height: 1px; background: #D4B483; margin: 0 auto 60px; }
.ss-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1200px; margin: 0 auto 60px; gap: 30px; padding: 0 20px; }
.ss-col { padding: 40px 20px; transition: background 0.4s ease; border-radius: 2px; }
.ss-col:hover { background: #EDE0CC; }
.ss-label { color: #9E7B4F; font-size: 10px; letter-spacing: 0.2em; margin-bottom: 15px; font-weight: 600; }
.ss-name { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: #3A2210; margin-bottom: 15px; }
.ss-desc { color: #7A4E2D; font-size: 14px; line-height: 1.6; margin-bottom: 20px; height: 45px; }
.ss-bottom-line { width: 100%; height: 1px; background: #D4B483; opacity: 0.3; }
.ss-quote { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: #9E7B4F; font-style: italic; max-width: 800px; margin: 0 auto; padding: 0 20px; }

/* SECTION 3 - CRAFT DETAILS */
.pp-section-3 { background: #1A0F08; padding: 50px 0; }
.cd-row { display: flex; align-items: center; justify-content: space-between; min-height: 280px; padding: 80px 40px; border-bottom: 1px solid rgba(212,180,131,0.1); max-width: 1200px; margin: 0 auto; }
.cd-row:last-child { border-bottom: none; }
.cd-text-left, .cd-text-right { width: 50%; }
.cd-eyebrow { color: #9E7B4F; font-size: 11px; letter-spacing: 0.1em; margin-bottom: 15px; font-weight: 600; }
.cd-heading { font-family: 'Cormorant Garamond', serif; font-size: 42px; color: #D4B483; margin-bottom: 20px; }
.cd-body { color: #9E7B4F; font-size: 15px; line-height: 2; }
.cd-number-right, .cd-number-left { width: 40%; font-size: 160px; font-weight: 700; font-family: 'Inter', sans-serif; -webkit-text-stroke: 1px rgba(212,180,131,0.35); color: transparent; text-align: right; line-height: 1; }
.cd-number-left { text-align: left; }

/* SECTION 4 - MOOD GALLERY */
.pp-section-4 { background: #1A0F08; padding: 0 !important; }
.mg-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 280px 280px; width: 100%; gap: 3px; }
.mg-cell { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 280px; }
.mg-cell:nth-child(odd) { background: #D4B483; }
.mg-cell:nth-child(even) { background: #EDE0CC; }
.mg-tall { grid-column: 1; grid-row: 1 / span 2; }
.mg-sq-1 { grid-column: 2; grid-row: 1; }
.mg-sq-2 { grid-column: 3; grid-row: 1; }
.mg-wide { grid-column: 2 / span 2; grid-row: 2; }
.mg-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #3A2210; opacity: 0; transition: opacity 0.4s ease; z-index: 2; }
.mg-text { position: relative; z-index: 3; color: #D4B483; letter-spacing: 0.3em; font-size: 11px; opacity: 0; transition: opacity 0.4s ease; text-align: center; }
.mg-text::after { content: ' — ROYAL OUDH'; opacity: 0.3; }
.mg-cell:hover .mg-overlay { opacity: 0.35; }
.mg-cell:hover .mg-text { opacity: 1; }

/* SECTION 5 - PRODUCT SPECS STRIP */
.pp-section-5 { background: #D4B483; padding: 25px 0 !important; overflow: hidden; white-space: nowrap; }
.specs-strip-container { width: 100%; max-width: 1400px; margin: 0 auto; text-align: center; overflow: hidden; }
.specs-strip-track span { color: #1A0F08; font-family: 'Cormorant Garamond', serif; font-size: 16px; letter-spacing: 0.1em; display: inline-block; vertical-align: middle; white-space: nowrap; min-width: max-content; padding: 0 40px; }
.specs-strip-track .sep { margin: 0; padding: 0 40px; font-weight: bold; }
.mobile-clone { display: none; }

/* SECTION 6 - BURNING GUIDE */
.pp-section-6 { background: #F5EFE4; padding: 100px 0; }
.bg-container { display: flex; max-width: 1200px; margin: 0 auto; gap: 60px; padding: 0 40px; }
.bg-left { width: 40%; }
.bg-heading { font-family: 'Cormorant Garamond', serif; font-size: 38px; color: #3A2210; margin-bottom: 20px; line-height: 1.2; }
.bg-subtext { color: #7A4E2D; font-size: 15px; line-height: 1.8; }
.bg-right { width: 60%; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.bg-step { display: flex; gap: 20px; }
.bg-number { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: #D4B483; line-height: 1; }
.bg-title { color: #3A2210; font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.bg-desc { color: #7A4E2D; font-size: 14px; line-height: 1.8; }

/* SECTION 7 - MORE FROM THE COLLECTION */
.pp-section-7 { background: #1A0F08; padding: 100px 0; }
.mc-heading { font-family: 'Cormorant Garamond', serif; font-size: 38px; color: #E8D5B0; text-align: center; margin-bottom: 60px; }
.mc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.pp-section-7 .product-card { background: #2A1508; border: 1px solid rgba(212,180,131,0.2); border-radius: 4px; overflow: hidden; padding: 0; }
.pp-section-7 .product-image { height: 300px; background: rgba(0,0,0,0.2); }
.pp-section-7 .product-info { padding: 25px; text-align: center; }
.pp-section-7 .product-info h3 { color: #E8D5B0; font-family: 'Cormorant Garamond', serif; font-size: 24px; margin-bottom: 10px; }
.pp-section-7 .scent-tag { color: #D4B483; font-size: 11px; letter-spacing: 0.1em; }

/* Fade in animation override */
.fade-in-section { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; will-change: opacity, transform; }
.fade-in-section.is-visible { opacity: 1; transform: none; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .pp-section-1 { flex-direction: column; }
    .pp-hero-left, .pp-hero-right { width: 100%; }
    .pp-hero-image-sticky { position: relative; height: auto; min-height: 60vh; padding: 40px 20px; }
    .pp-hero-right { padding: 40px 24px; }
    
    .ss-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .cd-row { flex-direction: column; padding: 60px 24px; text-align: center; }
    .cd-text-left, .cd-text-right { width: 100%; }
    .cd-number-left, .cd-number-right { display: none; }
    
    .mg-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; }
    .mg-tall { grid-column: 1 / span 2; grid-row: 1; }
    .mg-sq-1 { grid-column: 1; grid-row: 2; }
    .mg-sq-2 { grid-column: 2; grid-row: 2; }
    .mg-wide { display: none; }
    
    .specs-strip-container { max-width: none; width: 100vw; overflow: hidden; padding: 0; }
    .specs-strip-track { display: inline-block; white-space: nowrap; animation: marquee 20s linear infinite; }
    .mobile-clone { display: inline-block; }
    .specs-strip-track .sep { margin: 0 20px; padding: 0; }
    
    .bg-container { flex-direction: column; }
    .bg-left, .bg-right { width: 100%; }
    .bg-right { grid-template-columns: 1fr; gap: 30px; }
    
    .mc-grid { grid-template-columns: 1fr; }
    .scroll-progress-indicator { display: none; }
}

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* LIGHT THEME OVERRIDES FOR PORTFOLIO SINGLE */
html[data-theme="light"] .portfolio-single { background: #F5EFE4; }
html[data-theme="light"] .pp-section-1 { background: transparent; }
html[data-theme="light"] .pp-hero-left { background: #EDE0CC; }
html[data-theme="light"] .pp-hero-right { background: #F5EFE4; }
html[data-theme="light"] .pp-product-name { color: #1A0F08; }
html[data-theme="light"] .pp-tagline { color: #5C3A1E; }
html[data-theme="light"] .pp-section-3 { background: #F5EFE4; }
html[data-theme="light"] .cd-heading { color: #3A2210; }
html[data-theme="light"] .cd-body { color: #5C3A1E; }
html[data-theme="light"] .cd-number-right,
html[data-theme="light"] .cd-number-left { -webkit-text-stroke: 1px rgba(92,58,30,0.2); }
html[data-theme="light"] .pp-section-7 { background: #EDE0CC; }
html[data-theme="light"] .pp-section-7 .product-card { background: #F5EFE4; border: 1px solid rgba(122,78,45,0.2); }
html[data-theme="light"] .pp-section-7 .product-info h3 { color: #3A2210; }
html[data-theme="light"] .mc-heading { color: #3A2210; }

/* ==========================================================================
   BESTSELLERS MOBILE FIX & PRODUCT CARD STYLES
   ========================================================================== */
.product-image { min-height: 220px; background-color: #EDE0CC; }
.product-title { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: #E8D5B0; }
html[data-theme="light"] .product-title { color: #3A2210; }
.product-notes, .product-price { color: #9E7B4F; font-size: 11px; }
.quick-view-btn { border-color: #D4B483; }

@media (max-width: 768px) {
    .carousel-track { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .carousel-track::-webkit-scrollbar { display: none; }
    .carousel-track .carousel-item { min-width: 72vw; flex-shrink: 0; scroll-snap-align: start; }
    .carousel-arrow { display: none !important; }
}

/* ==========================================================================
   GLIMPSE OF THE CRAFT VIDEO SHOWCASE
   ========================================================================== */
.glimpse-section { background: #1A0F08 !important; overflow: hidden; }
html[data-theme="light"] .glimpse-section { background: #1A0F08 !important; }

/* MARQUEE */
.glimpse-marquee { background: #D4B483; overflow: hidden; white-space: nowrap; padding: 5px 0; }
.glimpse-marquee-content { display: inline-block; animation: marqueeScroll 20s linear infinite; color: #1A0F08; font-size: 11px; letter-spacing: 0.1em; font-weight: 500; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* HEADER */
.glimpse-header { margin-bottom: 60px; text-align: left; }
.glimpse-eyebrow { color: #9E7B4F; font-size: 10px; letter-spacing: 0.2em; margin-bottom: 15px; text-transform: uppercase; }
.glimpse-headline { font-family: 'Cormorant Garamond', serif; font-size: 64px; line-height: 1.1; margin: 0; }
.g-line-1 { color: #E8D5B0; font-style: italic; }
.g-line-2 { color: transparent; -webkit-text-stroke: 1px #D4B483; }

/* ASYMMETRIC GRID */
.glimpse-grid { display: flex; gap: 2px; margin-bottom: 60px; }
.glimpse-left { width: 60%; }
.glimpse-right { width: calc(40% - 2px); display: flex; flex-direction: column; gap: 2px; }
.glimpse-split { display: flex; gap: 2px; height: 50%; }

.glimpse-card { position: relative; overflow: hidden; cursor: pointer; background: #0D0805; outline: 1px solid rgba(212,180,131,0.15); outline-offset: -1px; }
.glimpse-card-thumb { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.6s ease; opacity: 0.7; }
.glimpse-card:hover .glimpse-card-thumb { transform: scale(1.05); opacity: 0.9; }

.glimpse-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; z-index: 2; pointer-events: none; }
.glimpse-tag { color: #9E7B4F; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }

/* PLAY BUTTONS */
.ghost-play-large, .ghost-play-small { border-radius: 50%; border: 1px solid #D4B483; background: transparent; display: flex; align-items: center; justify-content: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: all 0.3s ease; pointer-events: auto; }
.ghost-play-large { width: 40px; height: 40px; }
.ghost-play-small { width: 30px; height: 30px; }
.ghost-play-large::after { content: ''; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #D4B483; margin-left: 3px; }
.ghost-play-small::after { content: ''; width: 0; height: 0; border-style: solid; border-width: 4px 0 4px 8px; border-color: transparent transparent transparent #D4B483; margin-left: 2px; }
.glimpse-card:hover .ghost-play-large, .glimpse-card:hover .ghost-play-small { transform: translate(-50%, -50%) scale(1.1); background: rgba(212,180,131,0.1); }

/* SPECIFIC CARDS */
.featured-card { height: 520px; }
.portrait-card { height: calc(50% - 1px); }
.square-card { width: calc(50% - 1px); height: 100%; aspect-ratio: 1; }

.glimpse-info-slide { transform: translateY(100%); opacity: 0; transition: all 0.4s ease; display: flex; justify-content: space-between; align-items: flex-end; width: 100%; }
.glimpse-card:hover .glimpse-info-slide { transform: translateY(0); opacity: 1; }
.glimpse-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: #E8D5B0; margin: 0; }
.glimpse-duration { color: #D4B483; font-size: 12px; }

/* CTA */
.glimpse-cta { text-align: center; color: #7A4E2D; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; }

/* LIGHTBOX */
.im-lightbox { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(10,6,3,0.95); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
.im-lightbox.active { opacity: 1; visibility: visible; }
.im-lightbox-content { width: 100%; max-width: 900px; aspect-ratio: 16 / 9; position: relative; }
.im-lightbox-content video { width: 100%; height: 100%; outline: none; }
.im-lightbox-close { position: absolute; top: 30px; right: 40px; background: transparent; border: none; color: #D4B483; font-size: 40px; cursor: pointer; transition: transform 0.3s ease; }
.im-lightbox-close:hover { transform: scale(1.1); }

/* MOBILE overrides for Glimpse */
@media (max-width: 768px) {
    .glimpse-grid { flex-direction: row; gap: 20px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; flex-wrap: nowrap; padding-bottom: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .glimpse-grid::-webkit-scrollbar { display: none; }
    .glimpse-left, .glimpse-right { width: auto; flex-direction: row; display: flex; gap: 20px; }
    .glimpse-split { flex-direction: row; gap: 20px; width: auto; height: auto; }
    
    .glimpse-card { flex: 0 0 85vw; scroll-snap-align: center; aspect-ratio: 16/9; height: auto !important; width: 85vw !important; }
    .glimpse-info-slide { transform: translateY(0); opacity: 1; }
    .glimpse-headline { font-size: 48px; }
    .im-lightbox-content { max-width: 100%; aspect-ratio: auto; height: 100vh; display: flex; align-items: center; }
    .im-lightbox-content video { object-fit: contain; }
    .im-lightbox-close { top: 20px; right: 20px; }
}

/* ==========================================================================
   FIND YOUR FLAME SECTION
   ========================================================================== */
.find-your-flame { background: #1A0F08; color: #E8D5B0; }
.fyf-header { padding: 0 0 40px 0; }
.fyf-eyebrow { color: #9E7B4F; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 20px; }
.fyf-heading { font-family: 'Cormorant Garamond', serif; font-size: 72px; line-height: 1.1; margin-bottom: 20px; }
.fyf-line1 { color: #E8D5B0; font-style: italic; }
.fyf-line2 { color: transparent; -webkit-text-stroke: 1px #D4B483; }
.fyf-subtext { color: #9E7B4F; font-size: 15px; max-width: 400px; margin-bottom: 40px; }

/* Tabs */
.mood-tabs-container { margin-bottom: 50px; }
.mood-tabs { display: flex; gap: 15px; flex-wrap: wrap; }
.mood-tab { background: transparent; border: 1px solid rgba(212,180,131,0.25); color: #9E7B4F; font-size: 11px; letter-spacing: 0.15em; padding: 10px 24px; border-radius: 30px; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; }
.mood-tab:hover, .mood-tab.active { background: #D4B483; color: #1A0F08; border-color: #D4B483; }

/* Content Area */
.fyf-content-area { display: flex; min-height: 400px; gap: 40px; transition: all 0.4s ease; position: relative; }
.fyf-col-left { width: 45%; position: relative; display: flex; align-items: center; }
.fyf-large-num { -webkit-text-stroke: 1px rgba(212,180,131,0.15); font-size: 180px; color: transparent; position: absolute; top: -40px; left: -20px; z-index: 0; font-family: 'Inter', sans-serif; font-weight: 700; line-height: 1; pointer-events: none; }
.fyf-info-wrap { position: relative; z-index: 1; }
.fyf-mood-name { font-family: 'Cormorant Garamond', serif; font-size: 52px; color: #E8D5B0; margin-bottom: 20px; }
.fyf-mood-desc { color: #9E7B4F; font-size: 15px; line-height: 2; max-width: 380px; margin-bottom: 30px; }
.fyf-perfect-for { color: #7A4E2D; font-size: 11px; text-transform: uppercase; display: block; margin-bottom: 10px; letter-spacing: 0.1em; }
.fyf-scenario-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.scenario-tag { background: rgba(212,180,131,0.08); border: 1px solid rgba(212,180,131,0.2); color: #D4B483; font-size: 10px; padding: 6px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.1em; }
.tag-sep { display: none; }

.fyf-col-right { width: 55%; display: flex; align-items: center; }
.fyf-candle-card { width: 100%; border-top: 2px solid #D4B483; padding-top: 30px; display: flex; gap: 30px; }
.fyf-card-image { background: #2A1508; min-height: 300px; width: 40%; }
.fyf-card-content { width: 60%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.fyf-product-name { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: #E8D5B0; margin-bottom: 15px; }
.fyf-scent-tags { color: #D4B483; font-size: 12px; margin-bottom: 20px; letter-spacing: 0.1em; text-transform: uppercase; }
.fyf-why-quote { font-style: italic; color: #9E7B4F; font-size: 14px; line-height: 1.8; margin-bottom: 30px; }
.fyf-btn { border: 1px solid #D4B483; color: #D4B483; padding: 12px 28px; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; transition: all 0.3s ease; }
.fyf-btn:hover { background: #D4B483; color: #1A0F08; }

/* Light Theme */
html[data-theme="light"] .find-your-flame { background: #F5EFE4; }
html[data-theme="light"] .mood-tab { border-color: rgba(92,58,30,0.25); color: #7A4E2D; }
html[data-theme="light"] .mood-tab.active, html[data-theme="light"] .mood-tab:hover { background: #7A4E2D; color: #F5EFE4; border-color: #7A4E2D; }
html[data-theme="light"] .fyf-mood-name, html[data-theme="light"] .fyf-product-name, html[data-theme="light"] .fyf-line1 { color: #3A2210; }
html[data-theme="light"] .fyf-mood-desc, html[data-theme="light"] .fyf-subtext, html[data-theme="light"] .fyf-why-quote { color: #5C3A1E; }
html[data-theme="light"] .fyf-candle-card { border-top-color: #7A4E2D; }
html[data-theme="light"] .fyf-card-image { background: #EDE0CC; }

/* Mobile */
@media (max-width: 768px) {
    .mood-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
    .mood-tab { width: 100%; text-align: center; padding: 12px; }
    .fyf-content-area { flex-direction: column; }
    .fyf-col-left, .fyf-col-right { width: 100%; }
    .fyf-candle-card { flex-direction: column; }
    .fyf-card-image { width: 100%; }
    .fyf-card-content { width: 100%; }
    .fyf-heading { font-size: 48px; }
    .fyf-large-num { display: none; }
}



