/* ==========================================================================
   LAVISH DESIGNS — LUXURY JEWELLERY BRAND DESIGN SYSTEM
   "Elegance Forged to Last" | Fine Lab-Grown Diamonds & Bespoke Atelier
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0..1,0&display=swap');

:root {
  /* Brand Tokens - New Luxury Palette */
  --color-primary: #E8D8C3;
  /* Main Background */
  --color-secondary: #F2E6D5;
  /* Section Background */
  --color-accent: #B89052;
  /* Gold Accent */
  --color-accent-hover: #9E7B42;
  /* Deep Gold */
  --color-accent-soft: #D2B27A;
  /* Soft Gold */
  --color-accent-light: #F2E6D5;
  /* Section Light Wash */
  --color-text: #33241E;
  /* Primary Text */
  --color-text-muted: #6B554B;
  /* Muted Warm Brown */
  --color-border: #D8C7B0;
  /* Delicate Line */
  --color-border-dark: #B89052;
  /* Gold Border */
  --color-white: #FAF4EA;
  /* White/Cream */
  --color-surface: #FAF4EA;
  /* Card / Surface */
  --color-dark-bg: #1C120F;
  /* Deep Espresso */
  --color-dark-coffee: #2B1B16;
  /* Dark Coffee */
  --color-whatsapp: #25D366;
  /* Official WhatsApp Brand */
  --color-whatsapp-dark: #1EBE5D;

  /* Typography Stacks */
  --font-serif-headline: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-serif-editorial: 'Cormorant Garamond', Garamond, Georgia, serif;
  --font-sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevations */
  --shadow-subtle: 0 4px 20px -2px rgba(43, 27, 22, 0.05);
  --shadow-luxury: 0 12px 36px -4px rgba(43, 27, 22, 0.10);
  --shadow-dropdown: 0 20px 40px -8px rgba(43, 27, 22, 0.14);

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Base Reset & Smoothness */
html {
  scroll-behavior: auto !important;
  /* Managed by Lenis for silky, fluid inertia without browser stutter */
  background-color: var(--color-primary);
  color: var(--color-text);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-primary);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Lenis Smooth Scroll Framework Styles */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Luxury Layout Responsive Gutters */
.px-gutter {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}
@media (min-width: 640px) {
  .px-gutter {
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
  }
}
@media (min-width: 1024px) {
  .px-gutter {
    padding-left: 4rem !important;
    padding-right: 4rem !important;
  }
}
@media (min-width: 1280px) {
  .px-gutter {
    padding-left: 5rem !important;
    padding-right: 5rem !important;
  }
}

/* Luxury Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-primary);
}

::-webkit-scrollbar-thumb {
  background: #D8C7B0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Selection Color */
::selection {
  background-color: #D2B27A;
  color: #1C120F;
}

/* Typography Utilities */
.font-headline {
  font-family: var(--font-serif-headline);
}

.font-editorial {
  font-family: var(--font-serif-editorial);
}

.font-sans {
  font-family: var(--font-sans);
}

/* Gold Accent Lines */
.gold-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-divider::before,
.gold-divider::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  flex-grow: 1;
}

/* Luxury Card Hover States */
.luxury-card {
  background: #FAF4EA;
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.luxury-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-luxury);
}

/* Luxury Buttons */
.btn-primary-luxury {
  background-color: var(--color-dark-coffee);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.875rem 1.75rem;
  border: 1px solid var(--color-dark-coffee);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary-luxury:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #FAF4EA;
}

.btn-secondary-luxury {
  background-color: transparent;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.875rem 1.75rem;
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-secondary-luxury:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-hover);
  background-color: var(--color-secondary);
}

.btn-gold-luxury {
  background: linear-gradient(135deg, #D2B27A 0%, #B89052 100%);
  color: #1C120F;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border: none;
  box-shadow: 0 4px 14px rgba(184, 144, 82, 0.35);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-gold-luxury:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 144, 82, 0.45);
  filter: brightness(1.05);
}

/* WhatsApp Conversion Button */
.btn-whatsapp-luxury {
  background-color: #25D366;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.8125rem 1.5rem;
  border-radius: 9999px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-whatsapp-luxury:hover {
  background-color: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.38);
  color: #FFFFFF;
}

/* Sticky Navbar Styles */
.luxury-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(232, 216, 195, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: transform 0.35s ease, background 0.35s ease;
}

.luxury-navbar.nav-scrolled {
  background: rgba(232, 216, 195, 0.98);
  box-shadow: 0 4px 20px rgba(43, 27, 22, 0.06);
}

/* Image Zoom on Hover Container */
.img-zoom-wrapper {
  overflow: hidden;
  position: relative;
}

.img-zoom-wrapper img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card:hover .img-zoom-wrapper img,
.img-zoom-wrapper:hover img {
  transform: scale(1.05);
}

/* Product Tag Badges */
.badge-gold {
  background-color: rgba(184, 144, 82, 0.15);
  color: #B89052;
  border: 1px solid rgba(184, 144, 82, 0.4);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  font-weight: 600;
}

/* Floating WhatsApp Concierge Button - Fixed Right Bottom Corner */
.whatsapp-floating-widget {
  display: flex !important;
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  z-index: 9999 !important;
  align-items: center !important;
  gap: 12px !important;
  flex-direction: row !important;
}

.whatsapp-floating-btn {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
  position: relative !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  order: 2 !important;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55) !important;
}

.whatsapp-pulse {
  position: absolute !important;
  inset: -4px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(37, 211, 102, 0.6) !important;
  animation: waPulse 2.4s infinite ease-out !important;
  z-index: -1 !important;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.whatsapp-tooltip {
  order: 1 !important;
  background: #1C120F !important;
  color: #FAF4EA !important;
  border: 1px solid rgba(197, 168, 128, 0.35) !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  font-family: var(--font-sans);
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transform: translateX(8px) !important;
  transition: all 0.3s ease !important;
}

.whatsapp-floating-widget:hover .whatsapp-tooltip {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

@media (max-width: 640px) {
  .whatsapp-floating-widget {
    bottom: 20px !important;
    right: 18px !important;
    left: auto !important;
  }
  .whatsapp-floating-btn {
    width: 48px !important;
    height: 48px !important;
  }
  .whatsapp-tooltip {
    display: none !important;
  }
}

/* Mobile Drawer Overlay handled by mega-menu.css */


/* Interactive Accordion */
.faq-header {
  cursor: pointer;
  user-select: none;
}

.faq-header .faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-header .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-body {
  max-height: 500px;
  opacity: 1;
}

/* Interactive Tabs */
.tab-btn.active {
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-text);
  font-weight: 600;
}

/* ==========================================================================
   MINIMALIST TWO-ROW LUXURY NAVIGATION
   Row 1: logo.png in center
   Row 2: Navigation menu in center
   And nothing else.
   ========================================================================== */
.site-header-luxury {
  width: 100%;
  z-index: 50;
  color: #FAF4EA;
  padding: 0;
  background-color: #2B1B16;
  border-bottom: 1px solid rgba(184, 144, 82, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header-subpage {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(253, 251, 247, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 16px rgba(26, 25, 24, 0.04);
}

.header-two-row-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.header-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.header-logo-img {
  height: 68px;
  max-height: 74px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(26, 25, 24, 0.08));
}

.header-logo-img:hover {
  transform: scale(1.025);
}

.header-menu-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  flex-wrap: wrap;
  width: 100%;
}

.header-menu-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  padding: 0.2rem 0.15rem;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.header-menu-link:hover {
  color: var(--color-accent);
}

.header-menu-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background-color: var(--color-accent);
  transition: width 0.3s ease, left 0.3s ease;
}

.header-menu-link:hover::after,
.header-menu-link.active::after {
  width: 100%;
  left: 0;
}

.header-menu-link.active {
  color: var(--color-accent-hover);
  font-weight: 600;
}

@media (max-width: 768px) {
  .site-header-luxury {
    padding: 0.75rem 0.75rem 0.35rem 0.75rem;
  }

  .header-two-row-container {
    gap: 0.35rem;
  }

  .header-logo-img {
    height: 48px;
    max-height: 52px;
  }

  .header-menu-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.85rem;
    width: 100%;
    padding: 0;
  }

  .header-menu-link {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    padding: 0.15rem 0.2rem;
    flex-shrink: 0;
  }
}

/* ==========================================================
   MEGA MENU & DIAMOND SHAPES DEFENSIVE STYLING (FALLBACK)
   ========================================================== */
.shape-menu-link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  font-family: 'Work Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #2B1B16 !important;
  padding: 12px 6px 10px 6px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.4) !important;
  border: 1px solid rgba(216, 199, 176, 0.6) !important;
  box-sizing: border-box !important;
}

.shape-diamond-img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  flex-shrink: 0 !important;
}

.site-header-coffee .mega-menu-dropdown,
.site-header-luxury .mega-menu-dropdown {
  top: 76px !important;
}

/* ==========================================================
   HEADER COFFEE ROW SINGLE-LINE ENFORCEMENT & RESPONSIVE RULES
   ========================================================== */
.header-coffee-row,
.site-header-coffee .header-coffee-row,
.site-header-luxury .header-coffee-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 76px !important;
  position: relative !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.header-coffee-row > div:first-child {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.header-coffee-row > div:last-child {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
}


/* DESKTOP (>= 1024px): Full luxury navigation row */
@media (min-width: 1024px) {
  .header-coffee-row nav,
  .site-header-coffee nav,
  .site-header-luxury nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    align-items: center !important;
  }
  .header-coffee-row #mobile-menu-toggle {
    display: none !important;
  }
  .header-brand-center {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 1rem !important;
  }
  .header-search-trigger,
  button.header-search-trigger {
    display: inline-flex !important;
  }
}

/* MOBILE & TABLET (< 1024px): Strictly hide desktop nav, center logo, clean hamburger & whatsapp */
@media (max-width: 1023px) {
  .header-coffee-row nav,
  .site-header-coffee nav,
  .site-header-luxury nav {
    display: none !important;
  }
  .header-coffee-row {
    height: 64px !important;
    position: relative !important;
  }
  .header-coffee-row #mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    min-height: 44px !important;
    cursor: pointer !important;
    z-index: 10 !important;
  }
  .header-brand-center {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
  }
  .header-brand-center img {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
  }
  .header-coffee-row > div:first-child {
    flex: 0 0 auto !important;
    z-index: 10 !important;
  }
  .header-coffee-row > div:last-child {
    flex: 0 0 auto !important;
    z-index: 10 !important;
  }
  .header-coffee-row > div:last-child .header-action-btn {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .header-search-trigger,
  button.header-search-trigger {
    display: inline-flex !important;
  }
}


.nav-link-coffee {
  white-space: nowrap !important;
}

@media (max-width: 1280px) {
  .header-coffee-row {
    height: 70px !important;
  }
  .nav-link-coffee {
    font-size: 10px !important;
    letter-spacing: 0.08em !important;
    padding: 22px 0 !important;
  }
  .site-header-coffee nav,
  .site-header-luxury nav,
  .header-coffee-row nav {
    gap: 0.75rem !important;
  }
  .site-header-coffee .header-coffee-row > div:first-child,
  .site-header-coffee .header-coffee-row > div:last-child,
  .header-coffee-row > div:first-child,
  .header-coffee-row > div:last-child {
    gap: 0.75rem !important;
  }
  .header-brand-center img {
    height: 46px !important;
    max-height: 46px !important;
  }
  .header-brand-center {
    margin: 0 8px !important;
  }
}

@media (max-width: 1120px) {
  .nav-link-coffee {
    font-size: 9px !important;
    letter-spacing: 0.05em !important;
  }
  .site-header-coffee nav,
  .site-header-luxury nav,
  .header-coffee-row nav {
    gap: 0.5rem !important;
  }
  .site-header-coffee .header-coffee-row > div:first-child,
  .site-header-coffee .header-coffee-row > div:last-child,
  .header-coffee-row > div:first-child,
  .header-coffee-row > div:last-child {
    gap: 0.5rem !important;
  }
  .header-brand-center img {
    height: 40px !important;
    max-height: 40px !important;
  }
  .header-brand-center {
    margin: 0 4px !important;
  }
}

/* Accessibility & High-Contrast Typography (WCAG AA Compliance - Audit Fix 3.03, 5.09, B.14) */
.font-label-sm {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.text-accent-gold {
  color: #7A5B27 !important;
}

.bg-\[\#1C120F\] .text-accent-gold,
.bg-\[\#2B1B16\] .text-accent-gold,
.bg-\[\#231713\] .text-accent-gold,
header .text-accent-gold,
footer .text-accent-gold,
[class*="bg-primary"] .text-accent-gold,
[class*="bg-neutral-charcoal"] .text-accent-gold {
  color: #D2B27A !important;
}

a[href="#main-content"] {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999999;
  background: #2B1B16;
  color: #FAF4EA;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid #D2B27A;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

a[href="#main-content"]:not(:focus) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* ==========================================================================
   HERO CAROUSEL ENGINE
   ========================================================================== */
  
    /* Top Announcement Bar */
    .top-announcement-bar {
      background-color: #FAF4EA;
      color: #2B1B16;
      border-bottom: 1px solid #D8C7B0;
      font-family: 'Work Sans', sans-serif;
    }

    /* Navigation styles handled by criticalHeaderCSS and mega-menu.css */

    /* Ensure mega menu dropdown connects seamlessly below coffee header */
    .site-header-coffee .mega-menu-dropdown {
      top: 76px !important;
    }

    .site-header-coffee .simple-dropdown-menu {
      top: 76px !important;
    }

    /* Reference 1 & 2: Ultra Luxury Editorial Carousel */
    .luxury-hero-carousel {
      position: relative;
      width: 100%;
      background-color: #FAF4EA;
      overflow: hidden;
    }

    .carousel-track {
      position: relative;
      width: 100%;
      height: 540px;
      overflow: hidden;
    }

    @media (max-width: 1024px) {
      .carousel-track {
        height: 480px;
      }
    }

    @media (max-width: 640px) {
      .carousel-track {
        height: 440px;
      }
    }

    .carousel-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.9s ease;
      z-index: 1;
      pointer-events: none;
    }

    .carousel-slide.active {
      opacity: 1;
      visibility: visible;
      z-index: 2;
      pointer-events: auto;
    }

    .carousel-slide .slide-bg-img {
      transform: scale(1);
      transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1);
      will-change: transform;
    }

    .carousel-slide.active .slide-bg-img {
      transform: scale(1.06);
    }

    /* Staggered entrance for slide content */
    .carousel-slide .anim-stagger {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform, opacity;
    }

    .carousel-slide.active .anim-stagger-1 {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 0.15s;
    }

    .carousel-slide.active .anim-stagger-2 {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 0.28s;
    }

    .carousel-slide.active .anim-stagger-3 {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 0.42s;
    }

    .carousel-slide.active .anim-stagger-4 {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 0.55s;
    }

    /* Diamond Sparkle Lens Flare */
    .diamond-sparkle-fx {
      position: absolute;
      pointer-events: none;
      z-index: 12;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      animation: diamondGlint 3.6s ease-in-out infinite;
    }

    .sparkle-delay-1 {
      animation-delay: 0.2s;
    }

    .sparkle-delay-2 {
      animation-delay: 1.4s;
    }

    .sparkle-delay-3 {
      animation-delay: 2.2s;
    }

    @keyframes diamondGlint {

      0%,
      100% {
        opacity: 0.15;
        transform: scale(0.65) rotate(0deg);
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
      }

      50% {
        opacity: 1;
        transform: scale(1.25) rotate(90deg);
        filter: drop-shadow(0 0 8px rgba(255, 245, 220, 1)) drop-shadow(0 0 18px rgba(210, 178, 122, 0.85));
      }
    }

    /* Minimal Floating Corner Arrows */
    .carousel-arrow-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.88);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(43, 27, 22, 0.08);
      color: #2B1B16;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 20px rgba(43, 27, 22, 0.12);
      cursor: pointer;
      z-index: 25;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .carousel-arrow-btn:hover {
      background: #FFFFFF;
      color: #B89052;
      transform: translateY(-50%) scale(1.08);
      box-shadow: 0 10px 28px rgba(43, 27, 22, 0.2);
    }

    /* Minimal Bottom Indicator Dots */
    .carousel-dot-btn {
      padding: 6px;
      cursor: pointer;
      background: transparent;
      border: none;
      display: flex;
      align-items: center;
    }

    .carousel-dot-btn .dot-pill {
      width: 8px;
      height: 8px;
      border-radius: 9999px;
      background: rgba(43, 27, 22, 0.25);
      transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .carousel-dot-btn.active .dot-pill {
      width: 28px;
      background: #B89052;
      box-shadow: 0 2px 8px rgba(184, 144, 82, 0.45);
    }

    /* Shop Button with Luxury Sheen */
    .btn-carousel-shop {
      position: relative;
      overflow: hidden;
      transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn-carousel-shop::after {
      content: '';
      position: absolute;
      top: 0;
      left: -120%;
      width: 70%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
      transform: skewX(-25deg);
      transition: left 0.75s ease;
    }

    .btn-carousel-shop:hover::after {
      left: 140%;
    }

    .btn-carousel-shop:hover {
      background-color: #B89052;
      color: #1C120F;
      transform: translateY(-2px);
      box-shadow: 0 10px 24px rgba(43, 27, 22, 0.2);
    }

    /* R.07 FIX: Mobile Sticky Buy Bar desktop visibility constraint */
    @media (min-width: 768px) {
      #mobile-sticky-buy-bar,
      .md\:hidden {
        display: none !important;
      }
    }

    /* R.08 / C.08 / C.17 FIX: Mobile 16px input font-size rule preventing iOS auto-zoom */
    @media screen and (max-width: 767px) {
      input[type="text"],
      input[type="search"],
      input[type="email"],
      input[type="tel"],
      select,
      textarea {
        font-size: 16px !important;
      }
    }

/* ==========================================================================
   AMAZON-STYLE HIGH-PRECISION PRODUCT HOVER ZOOM SYSTEM
   ========================================================================== */
#mainProductViewWrapper {
  cursor: crosshair;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

#productZoomLens {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(184, 144, 82, 0.85);
  background-color: rgba(184, 144, 82, 0.14);
  box-shadow: inset 0 0 10px rgba(184, 144, 82, 0.2), 0 2px 10px rgba(0, 0, 0, 0.12);
  z-index: 25;
  transition: opacity 0.15s ease;
  border-radius: 2px;
}

#productZoomResult {
  position: absolute;
  top: 0;
  left: calc(100% + 1rem);
  background-color: #FFFFFF;
  border: 1px solid #D8C7B0;
  box-shadow: 0 16px 40px -8px rgba(43, 27, 22, 0.22);
  overflow: hidden;
  pointer-events: none;
  z-index: 60;
  border-radius: 4px;
  will-change: top, left, width, height;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#productZoomImage {
  position: absolute;
  max-width: none !important;
  max-height: none !important;
  pointer-events: none;
  will-change: left, top, width, height;
}

/* Hide lens and flyout on screens smaller than desktop (lg breakpoint: 1024px) */
@media (max-width: 1023px) {
  #productZoomLens,
  #productZoomResult {
    display: none !important;
  }
}




