/* ==========================================================================
   OUD KAMBOTSHYA (عود كمبوتشيا) - Ultra-Luxury Design System
   Aesthetic: Japandi Quiet Luxury meets Imperial Oriental Perfumery
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cinzel:wght@400;500;600;700;800&family=Noto+Kufi+Arabic:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Obsidian Dark Palette */
  --bg-darkest: #050505;
  --bg-obsidian: #0A0A0A;
  --bg-card: #121110;
  --bg-card-hover: #191715;
  --bg-elevated: #1F1C18;
  --bg-glass: rgba(12, 11, 10, 0.78);
  
  /* Champagne Gold & Amber Palette */
  --gold-primary: #D4AF37;
  --gold-light: #F4E7BD;
  --gold-dark: #9A7727;
  --gold-shimmer: linear-gradient(135deg, #ECC876 0%, #D4AF37 50%, #A88126 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-border: rgba(212, 175, 55, 0.22);
  --gold-border-hover: rgba(212, 175, 55, 0.55);
  
  --amber-resin: #C5A059;
  --amber-deep: #5A381E;
  
  /* Alabaster & Neutral Typography */
  --text-primary: #FAF8F5;
  --text-secondary: #D1CBC0;
  --text-muted: #8E877D;
  --text-gold: #E5C378;
  
  /* Layout & Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Font Stacks */
  --font-editorial-en: 'Playfair Display', 'Cinzel', serif;
  --font-serif-en: 'Cinzel', serif;
  --font-body-en: 'Plus Jakarta Sans', sans-serif;
  
  --font-editorial-ar: 'Noto Kufi Arabic', 'Amiri', -apple-system, sans-serif;
  --font-kufi-ar: 'Noto Kufi Arabic', -apple-system, sans-serif;
  --font-body-ar: 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

/* Universal Media Responsive Engine - Prevents 100% of overflow blowouts */
img, video, iframe, embed, object, svg {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-body-ar);
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  min-height: 100vh;
}

/* Bilingual Typography & RTL Support */
[dir="ltr"] {
  font-family: var(--font-body-en);
}
[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3, [dir="ltr"] .font-editorial {
  font-family: var(--font-editorial-en);
  letter-spacing: 0.04em;
}
[dir="ltr"] .font-serif {
  font-family: var(--font-serif-en);
  letter-spacing: 0.08em;
}

[dir="rtl"] {
  font-family: var(--font-body-ar);
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .font-editorial {
  font-family: var(--font-editorial-ar);
  letter-spacing: 0;
  line-height: 1.4;
  font-weight: 700;
}
[dir="rtl"] .font-serif {
  font-family: var(--font-editorial-ar);
}

/* Canvas Background */
#smokeCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
}

/* App Container */
.app-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* Selection */
::selection {
  background: rgba(212, 175, 55, 0.35);
  color: #FFFFFF;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Gold Text & Shimmer */
.gold-gradient-text {
  background: var(--gold-shimmer);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-foil-border {
  border: 1px solid var(--gold-border);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.05);
  transition: all var(--transition-smooth);
}
.gold-foil-border:hover {
  border-color: var(--gold-border-hover);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
}

/* Pill Badges */
.luxury-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  background: var(--gold-shimmer);
  color: #080808;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.25);
  text-decoration: none;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.45);
  filter: brightness(1.08);
}
.btn-gold:active {
  transform: translateY(0);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  background: rgba(10, 10, 10, 0.4);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition-smooth);
  text-decoration: none;
}
.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-border);
  z-index: 100;
  transition: all var(--transition-smooth);
}
.site-header.scrolled {
  background: rgba(8, 8, 8, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: transform var(--transition-smooth);
}
.brand-logo-link:hover {
  transform: translateY(-1px);
}
.brand-logo-emblem-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.brand-logo-emblem {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.45);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.brand-logo-link:hover .brand-logo-emblem {
  transform: rotate(3deg) scale(1.05);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.7);
}
.brand-logo-texts {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-logo-header-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-logo-main {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  line-height: 1.2;
}
.brand-logo-sub {
  font-size: 0.7rem;
  color: var(--gold-primary);
  letter-spacing: 0.04em;
  opacity: 0.95;
}
.badge-kuwait-edition {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.6rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(15, 15, 15, 0.75));
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}
.badge-kuwait-edition::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 6px #2ecc71;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.3rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--gold-primary);
  transition: width var(--transition-smooth);
}
.nav-link:hover {
  color: var(--gold-light);
}
.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.action-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gold-border);
  color: var(--text-primary);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}
.action-control:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
}

.audio-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
}
.audio-toggle-btn.is-active {
  background: var(--gold-primary);
  color: #0A0A0A;
  box-shadow: 0 0 15px var(--gold-glow);
}
.audio-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-primary);
  animation: audioPulseAnim 2s infinite ease-out;
  display: none;
}
.audio-toggle-btn.is-active .audio-pulse {
  display: block;
}

@keyframes audioPulseAnim {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.cart-toggle-btn {
  position: relative;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all var(--transition-smooth);
}
.cart-toggle-btn:hover {
  background: var(--gold-shimmer);
  color: #0A0A0A;
}
.cart-badge {
  background: var(--gold-primary);
  color: #0A0A0A;
  font-size: 0.72rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-toggle-btn:hover .cart-badge {
  background: #0A0A0A;
  color: var(--gold-primary);
}

/* ==========================================================================
   HERO SENSORY SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(30, 25, 20, 0.4) 0%, rgba(5, 5, 5, 0.95) 100%);
}

.hero-bg-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(1.2) contrast(1.1);
  transform: scale(1.05);
  transition: transform 12s ease-out;
}
.hero-section:hover .hero-bg-visual {
  transform: scale(1.1);
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(10, 10, 10, 0.2) 0%, rgba(5, 5, 5, 0.88) 85%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==========================================================================
   MANIFESTO & HERITAGE
   ========================================================================== */
.manifesto-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-darkest) 0%, var(--bg-obsidian) 50%, var(--bg-darkest) 100%);
  position: relative;
}

.manifesto-card {
  background: rgba(18, 17, 16, 0.6);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(12px);
  padding: 4rem 3rem;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.manifesto-card::before {
  content: '“';
  font-family: var(--font-editorial-en);
  font-size: 8rem;
  color: rgba(212, 175, 55, 0.12);
  position: absolute;
  top: -2rem;
  left: 3rem;
  pointer-events: none;
}

.manifesto-quote {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--gold-light);
  line-height: 1.5;
  margin-bottom: 2rem;
  font-weight: 500;
}

.manifesto-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 780px;
  margin: 0 auto;
}

/* ==========================================================================
   PRODUCT CATALOG & COLLECTIONS
   ========================================================================== */
.catalog-section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.cat-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.cat-tab-btn:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
}
.cat-tab-btn.active {
  background: var(--gold-shimmer);
  color: #080808;
  border-color: var(--gold-primary);
  font-weight: 600;
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.12);
}

.product-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
}
.product-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-thumb-img {
  transform: scale(1.08);
}

.product-badge-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  font-weight: 600;
}
[dir="rtl"] .product-badge-overlay {
  left: auto;
  right: 1rem;
}

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.8rem;
}

.product-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.product-card-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.product-notes-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.3rem;
}
.note-chip {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.product-card-footer {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.product-actions-btn-group {
  display: flex;
  gap: 0.5rem;
}

.btn-icon-square {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-icon-square:hover {
  background: var(--gold-primary);
  color: #0A0A0A;
  border-color: var(--gold-primary);
}

/* ==========================================================================
   INTERACTIVE OLFACTORY PYRAMID & SCENT FINDER
   ========================================================================== */
.scent-finder-section {
  padding: 6rem 0;
  background: radial-gradient(circle at top, rgba(25, 20, 15, 0.6) 0%, var(--bg-darkest) 100%);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

.finder-tab-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.finder-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  color: var(--text-secondary);
  padding: 0.8rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
}
.finder-tab-btn.active {
  background: var(--gold-shimmer);
  color: #080808;
  border-color: var(--gold-primary);
}

.pyramid-visual-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.pyramid-tier {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: all var(--transition-smooth);
  position: relative;
}
.pyramid-tier.tier-top {
  max-width: 500px;
}
.pyramid-tier.tier-heart {
  max-width: 650px;
}
.pyramid-tier.tier-base {
  max-width: 800px;
}
.pyramid-tier:hover {
  border-color: var(--gold-border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.tier-title {
  font-size: 1.1rem;
  color: var(--gold-light);
  font-weight: 600;
}
.tier-duration {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.tier-notes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.tier-note-card {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.tier-note-card:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

/* Scent Quiz Consultant */
.scent-quiz-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.quiz-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--gold-shimmer);
  transition: width var(--transition-smooth);
}

.quiz-question-title {
  font-size: 1.4rem;
  margin-bottom: 1.8rem;
  color: var(--text-primary);
  font-weight: 600;
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quiz-option-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: left;
  color: var(--text-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
[dir="rtl"] .quiz-option-btn {
  text-align: right;
}
.quiz-option-btn:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  color: var(--text-primary);
  transform: translateX(4px);
}
[dir="rtl"] .quiz-option-btn:hover {
  transform: translateX(-4px);
}

/* ==========================================================================
   THE RITUAL OF LAYERING
   ========================================================================== */
.layering-section {
  padding: 6rem 0;
}

.layering-timeline,
.layering-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  position: relative;
}

.layer-step-card,
.layering-step-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: all var(--transition-smooth);
}
.layer-step-card:hover,
.layering-step-card:hover {
  border-color: var(--gold-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.12);
}

.layer-step-num,
.step-num-pill {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-light);
}

.layer-step-title,
.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.4;
}

.layer-step-desc,
.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.layering-mixer-box {
  background: linear-gradient(135deg, rgba(25, 22, 18, 0.8) 0%, rgba(12, 11, 10, 0.95) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mixer-selector-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mixer-item-check {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.mixer-item-check.active {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
}

.mixer-stats-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--gold-border);
  padding: 2.5rem;
  border-radius: var(--radius-md);
}
.stat-big-val {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

/* ==========================================================================
   360 FLACON STAGE & MODAL
   ========================================================================== */
.flacon-360-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, #1C1915 0%, #080808 80%);
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  overflow: hidden;
  cursor: grab;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flacon-360-stage.is-grabbing {
  cursor: grabbing;
}

.flacon-light-rim {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.flacon-body-wrapper {
  position: relative;
  width: 75%;
  height: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.08s ease-out;
  transform-style: preserve-3d;
}
.flacon-body-wrapper.is-zoomed {
  transform: scale(1.4) !important;
}

.flacon-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.9));
}

.flacon-specular-sheen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: overlay;
  transition: background 0.1s ease-out;
}

.flacon-engraving-plate {
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(230, 200, 120, 0.9) 0%, rgba(180, 140, 50, 0.9) 100%);
  padding: 0.25rem 0.8rem;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 235, 180, 0.8);
  pointer-events: none;
}
.engraving-text {
  font-family: var(--font-editorial-ar);
  font-size: 0.85rem;
  font-weight: 700;
  color: #2A1C06;
  white-space: nowrap;
}

.flacon-compass-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
[dir="rtl"] .flacon-compass-badge {
  left: auto;
  right: 1rem;
}

.flacon-zoom-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
[dir="rtl"] .flacon-zoom-btn {
  right: auto;
  left: 1rem;
}
.flacon-zoom-btn:hover {
  background: var(--gold-primary);
  color: #0A0A0A;
}

/* ==========================================================================
   BESPOKE GIFTING & VIP MAJLIS
   ========================================================================== */
.gifting-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-darkest) 0%, #110F0D 50%, var(--bg-darkest) 100%);
}

.gifting-grid,
.gifting-feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.gifting-visual-col,
.gift-preview-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  max-width: 100%;
}
.gifting-hero-img,
.gift-preview-img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.gifting-content-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gifting-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
}
.gifting-perks-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.vip-tier-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 2rem;
}
.vip-tier-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  margin: 1rem 0;
  overflow: hidden;
}
.vip-tier-progress-fill {
  height: 100%;
  background: var(--gold-shimmer);
}

/* ==========================================================================
   HERITAGE & ROYAL SEAL OF AUTHENTICITY
   ========================================================================== */
.heritage-section {
  padding: 6rem 0;
  background: radial-gradient(circle at center, rgba(20, 16, 12, 0.5) 0%, var(--bg-darkest) 100%);
  border-top: 1px solid var(--gold-border);
}

.heritage-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.heritage-story-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.heritage-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.heritage-seal-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.royal-seal-emblem {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, #201A12 0%, #0A0A0A 100%);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 40px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  transition: all var(--transition-smooth);
}
.royal-seal-emblem:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.4);
}

.seal-inner-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
}

.seal-icon {
  font-size: 2.2rem;
}

.seal-title {
  font-size: 1.15rem;
  color: var(--gold-light);
  font-weight: 700;
}

.seal-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   MODALS, DRAWERS & CHECKOUT
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}
.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}
.modal-backdrop.is-open .modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 1.5rem;
}
.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #0A0A0A;
}

/* Slide-Over Cart Drawer */
.cart-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 210;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}
.cart-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: var(--bg-obsidian);
  border-left: 1px solid var(--gold-border);
  z-index: 220;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}
[dir="rtl"] .cart-drawer {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--gold-border);
  transform: translateX(-100%);
}
.cart-drawer-backdrop.is-open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer-body {
  padding: 1.5rem 2rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.cart-drawer-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--gold-border);
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item-row {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--gold-border);
}
.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040404;
  border-top: 1px solid var(--gold-border);
  padding: 5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col-title {
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}
.footer-links-list a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
[dir="rtl"] .toast-container {
  right: auto;
  left: 2rem;
}
.toast-msg {
  background: var(--bg-card);
  border: 1px solid var(--gold-primary);
  color: var(--text-primary);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: toastFadeIn 0.3s ease-out;
}
@keyframes toastFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .layering-mixer-box {
    grid-template-columns: 1fr;
  }
  .gifting-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .header-inner {
    height: 70px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .modal-dialog {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   ADMIN DASHBOARD & CMS CONTROL PANEL
   ========================================================================== */
.admin-modal-dialog {
  max-width: 1100px;
  width: 95%;
  max-height: 92vh;
  padding: 2rem;
  background: #0D0C0B;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.95), 0 0 30px rgba(212, 175, 55, 0.15);
}

.admin-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 1.2rem;
  margin-bottom: 1.8rem;
}

.admin-nav-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.8rem;
}

.admin-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gold-border);
  color: var(--text-secondary);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-tab-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border-color: var(--gold-primary);
}
.admin-tab-btn.active {
  background: var(--gold-shimmer);
  color: #0A0A0A;
  border-color: var(--gold-primary);
  font-weight: 700;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.88rem;
}
[dir="ltr"] .admin-table {
  text-align: left;
}
.admin-table th {
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold-light);
  font-weight: 600;
  border-bottom: 1px solid var(--gold-border);
}
.admin-table td {
  padding: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}
.admin-table tr:hover td {
  background: rgba(212, 175, 55, 0.04);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.admin-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.admin-field-label {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 600;
}
.admin-input {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--gold-border);
  color: #FFFFFF;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}
.admin-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-glow);
}

.admin-btn-delete {
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #FF7B88;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.admin-btn-delete:hover {
  background: #DC3545;
  color: #FFFFFF;
}

.admin-btn-edit {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.admin-btn-edit:hover {
  background: var(--gold-primary);
  color: #0A0A0A;
}

/* ==========================================================================
   DYNAMIC LIVING LUXURY UI & MICRO-INTERACTIONS
   ========================================================================== */

/* Ambient Cursor Follower Glow */
.cursor-ambient-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(197, 160, 89, 0.04) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform 0.08s ease-out, opacity 0.3s ease;
  mix-blend-mode: screen;
}

/* Dynamic Live Search Bar */
.catalog-search-wrapper {
  max-width: 540px;
  margin: 0 auto 2.5rem;
  position: relative;
}
.catalog-search-input {
  width: 100%;
  background: rgba(18, 17, 16, 0.85);
  border: 1px solid var(--gold-border);
  color: #FFFFFF;
  padding: 0.9rem 1.4rem;
  padding-left: 3rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-family: inherit;
  backdrop-filter: blur(12px);
  transition: all var(--transition-smooth);
}
[dir="rtl"] .catalog-search-input {
  padding-left: 1.4rem;
  padding-right: 3rem;
}
.catalog-search-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
  background: rgba(25, 23, 20, 0.95);
}
.search-icon-inside {
  position: absolute;
  top: 50%;
  left: 1.2rem;
  transform: translateY(-50%);
  color: var(--gold-primary);
  pointer-events: none;
}
[dir="rtl"] .search-icon-inside {
  left: auto;
  right: 1.2rem;
}

/* Live Delivery & Limited Batch Counter */
.delivery-timer-strip {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.18) 50%, rgba(212, 175, 55, 0.08) 100%);
  border: 1px solid var(--gold-border);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: var(--gold-light);
  margin-bottom: 2rem;
  animation: pulseGlow 3s infinite ease-in-out;
}
@keyframes pulseGlow {
  0%, 100% { border-color: rgba(212, 175, 55, 0.2); }
  50% { border-color: rgba(212, 175, 55, 0.6); box-shadow: 0 0 15px rgba(212, 175, 55, 0.15); }
}

.countdown-digits {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--gold-border);
}

/* Live Layering Alchemy Chamber */
.alchemy-chamber-visual {
  position: relative;
  width: 100%;
  height: 180px;
  background: radial-gradient(circle at center, #221D17 0%, #0A0A0A 85%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.alchemy-aura-bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  mix-blend-mode: screen;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  animation: floatBubble 4s infinite alternate ease-in-out;
}
@keyframes floatBubble {
  0% { transform: scale(0.9) translate(-5px, 5px); }
  100% { transform: scale(1.15) translate(5px, -5px); }
}

.accord-dominance-bars {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.accord-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}
.accord-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.accord-bar-fill {
  height: 100%;
  background: var(--gold-shimmer);
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Calligraphy Style Picker */
.calligraphy-font-picker {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}
.font-choice-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--text-secondary);
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.font-choice-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}
.font-choice-btn.active {
  background: var(--gold-primary);
  color: #0A0A0A;
  font-weight: 700;
  border-color: var(--gold-primary);
}

/* Floating WhatsApp Concierge Button */
.floating-concierge-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 150;
  background: linear-gradient(135deg, #1C1A17 0%, #0A0A0A 100%);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-smooth);
}
[dir="rtl"] .floating-concierge-btn {
  right: auto;
  left: 2rem;
}
.floating-concierge-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.95), 0 0 30px rgba(212, 175, 55, 0.45);
  background: var(--gold-shimmer);
  color: #0A0A0A;
}

/* Animated Note Radar SVG */
.radar-chart-container {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radar-polygon {
  fill: rgba(212, 175, 55, 0.25);
  stroke: var(--gold-primary);
  stroke-width: 2;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   DYNAMIC VIP TICKER, EQUALIZER, WISHLIST, REVIEWS & INTERACTIVE ENGINES
   ========================================================================== */

/* Top VIP Announcement & Real-Time Delivery Ticker */
.vip-top-ticker-bar {
  background: #080706;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
  font-size: 0.78rem;
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 110;
  overflow: hidden;
}
.vip-ticker-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0 auto;
  transition: opacity 0.4s ease;
}
.vip-ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28a745;
  box-shadow: 0 0 10px #28a745;
  animation: liveBlink 1.5s infinite ease-in-out;
}
@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* Audio Visualizer Wave Equalizer in Header */
.audio-equalizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  margin-left: 4px;
}
[dir="rtl"] .audio-equalizer {
  margin-left: 0;
  margin-right: 4px;
}
.equalizer-bar {
  width: 2.5px;
  background: var(--gold-primary);
  border-radius: 1px;
  height: 4px;
  transition: height 0.15s ease;
}
.is-playing .equalizer-bar:nth-child(1) { animation: eqJump 0.8s infinite ease-in-out; }
.is-playing .equalizer-bar:nth-child(2) { animation: eqJump 0.6s infinite ease-in-out 0.15s; }
.is-playing .equalizer-bar:nth-child(3) { animation: eqJump 0.9s infinite ease-in-out 0.3s; }
.is-playing .equalizer-bar:nth-child(4) { animation: eqJump 0.7s infinite ease-in-out 0.2s; }
@keyframes eqJump {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

/* Wishlist Heart Button on Cards */
.wishlist-heart-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition-smooth);
}
[dir="rtl"] .wishlist-heart-btn {
  right: auto;
  left: 1rem;
}
.wishlist-heart-btn:hover {
  transform: scale(1.15);
  border-color: var(--gold-primary);
  color: #FF5A5F;
  box-shadow: 0 0 15px rgba(255, 90, 95, 0.4);
}
.wishlist-heart-btn.is-active {
  background: rgba(212, 175, 55, 0.2);
  border-color: #FF5A5F;
  color: #FF5A5F;
}

/* Dynamic Multi-Filter Suite & Price Slider */
.filter-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  background: rgba(18, 17, 16, 0.6);
  border: 1px solid var(--gold-border);
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}
.filter-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.filter-toolbar-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}
.price-slider-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 260px;
}
.custom-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  outline: none;
}
.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-shimmer);
  cursor: pointer;
  border: 2px solid #000;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}
.sort-select {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
}

/* Bottle Cap & Finish Swatches */
.flacon-finish-picker {
  display: flex;
  gap: 0.8rem;
  margin: 0.8rem 0;
}
.finish-swatch-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}
.finish-swatch-btn:hover {
  transform: scale(1.12);
}
.finish-swatch-btn.active {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

/* Interactive Spray Mist Simulation */
.spray-action-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.spray-btn {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
}

/* ==========================================================================
   DYNAMIC HERO SLIDER & SHORT VIDEO STYLES
   ========================================================================== */
.hero-slider-container {
  position: relative;
  width: 100%;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.04);
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.45) contrast(1.1);
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(8, 8, 8, 0.3) 0%, rgba(5, 5, 5, 0.85) 85%),
              linear-gradient(to top, #050505 0%, transparent 40%, rgba(5,5,5,0.4) 100%);
  z-index: 2;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  animation: heroTextReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.hero-slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 10;
  pointer-events: none;
}

.slider-arrow-btn {
  pointer-events: auto;
  background: rgba(18, 17, 16, 0.7);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.slider-arrow-btn:hover {
  background: var(--gold-shimmer);
  color: #0A0A0A;
  border-color: var(--gold-primary);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.hero-slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.7rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot.is-active {
  width: 32px;
  border-radius: var(--radius-full);
  background: var(--gold-shimmer);
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

/* Announcement Top Bar */
.site-announcement-bar {
  background: linear-gradient(90deg, #12100C 0%, #201A0E 50%, #12100C 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
  font-size: 0.82rem;
  text-align: center;
  padding: 0.45rem 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1001;
}

/* ==========================================================================
   MOBILE FLOATING BOTTOM NAVIGATION BAR
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--gold-border);
  padding: 0.5rem 1rem env(safe-area-inset-bottom, 0.5rem);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -5px 25px rgba(0,0,0,0.8);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.72rem;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
  font-family: inherit;
  padding: 0.3rem 0.6rem;
}

.mobile-nav-item i, .mobile-nav-item svg {
  font-size: 1.15rem;
  width: 20px;
  height: 20px;
}

.mobile-nav-item:hover, .mobile-nav-item.is-active {
  color: var(--gold-light);
}

.mobile-nav-item.is-active::after {
  content: '';
  position: absolute;
  top: -0.5rem;
  width: 20px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.mobile-nav-badge {
  position: absolute;
  top: 0;
  right: 6px;
  background: var(--gold-shimmer);
  color: #070707;
  font-size: 0.65rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }
  .site-footer {
    padding-bottom: 5rem !important;
  }
  .hero-slide-content {
    padding: 4.5rem 1rem 3rem;
  }
  .hero-title {
    font-size: 1.85rem !important;
  }
}

/* Coupon Active Badge in Cart */
.coupon-active-box {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.8rem 0;
  font-size: 0.85rem;
}

.coupon-active-title {
  color: #2ecc71;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.coupon-remove-btn {
  background: transparent;
  border: none;
  color: #ff6b6b;
  cursor: pointer;
  font-size: 0.8rem;
}

.discount-amount-val {
  color: #2ecc71;
  font-weight: 700;
}

/* ==========================================================================
   KUWAIT EDITION ENHANCEMENTS
   ========================================================================== */
.kuwait-flag-icon {
  display: inline-block;
  font-size: 1.1em;
  vertical-align: middle;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.payment-method-card {
  background: rgba(25, 23, 21, 0.6);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.payment-method-card:hover,
.payment-method-card.is-selected {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.payment-method-card .pay-logo-knet {
  background: #0070ba;
  color: #fff;
  font-weight: 900;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  display: inline-block;
}

.payment-method-card .pay-logo-apple {
  font-size: 1.35rem;
  color: #fff;
}

.payment-method-card .pay-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}

.payment-method-card .pay-sub {
  font-size: 0.65rem;
  color: var(--gold-light);
}

/* Kuwait Express Delivery Badge */
.delivery-kuwait-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.4);
  border-radius: var(--radius-full);
  color: #2ecc71;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Royal Kuwait Certificate Seal */
.cert-seal-wrap {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.2rem;
  position: relative;
}

.cert-seal-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
  animation: sealPulse 3s infinite ease-in-out;
}

@keyframes sealPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  }
  50% {
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.8);
  }
}

/* Floating WhatsApp Concierge Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 5.5rem;
  left: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.45);
  z-index: 99;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 25px rgba(18, 140, 126, 0.7);
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .floating-whatsapp-btn {
    bottom: 4.8rem;
    left: 0.8rem;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
}

/* ==========================================================================
   HAUTE LUXURY MOBILE MASTER SYSTEM (iOS & ANDROID OPTIMIZED)
   Refined for iPhone (Safari/WebKit), Android (Chrome/Blink), & Foldables
   ========================================================================== */

/* 1. Global Touch Dynamics & Elimination of 300ms Delay */
html, body {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button, a, input, select, textarea, .cat-tab-btn, .mobile-nav-item, .product-card, .payment-method-card {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* 2. Scroll Lock & Modal Isolation for Mobile */
body.has-modal-open {
  overflow: hidden !important;
  touch-action: none;
}

body.has-modal-open .mobile-bottom-nav {
  transform: translateY(140%) !important;
  opacity: 0;
  pointer-events: none;
}

body.has-modal-open .floating-whatsapp-btn {
  transform: scale(0) !important;
  opacity: 0;
  pointer-events: none;
}

/* 3. Universal Mobile Form Engine - ZERO Auto-Zoom on iOS */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.form-control,
input.form-control,
select.form-control,
textarea.form-control {
  width: 100%;
  background: rgba(18, 17, 16, 0.92);
  border: 1px solid var(--gold-border);
  color: #FFFFFF;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  /* 16px is mandatory on iOS Safari to prevent disruptive viewport zoom on focus */
  font-size: 16px !important;
  min-height: 48px;
  box-sizing: border-box;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-control:focus,
input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 14px var(--gold-glow);
  background: rgba(28, 25, 22, 0.98);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.8rem center;
  padding-left: 2.2rem;
}
[dir="ltr"] select.form-control {
  background-position: right 0.8rem center;
  padding-right: 2.2rem;
  padding-left: 1rem;
}

/* 4. Luxury Modal Dialog & Bottom Sheet Engine */
.modal-dialog-lux,
.modal-pdp-dialog {
  background: #0E0D0C;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  padding: 2.2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(212, 175, 55, 0.15);
  transform: translateY(20px);
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.modal-backdrop.is-open .modal-dialog-lux,
.modal-backdrop.is-open .modal-pdp-dialog {
  transform: translateY(0);
}

.modal-close-icon {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 20;
  transition: all var(--transition-fast);
}
[dir="ltr"] .modal-close-icon {
  left: auto;
  right: 1.2rem;
}

.modal-close-icon:hover,
.modal-close-icon:active {
  background: var(--gold-primary);
  color: #070707;
  transform: scale(1.08);
}

/* Sheet Pull Grabber Indicator for Touch Screens */
.modal-sheet-grabber {
  display: none;
  width: 44px;
  height: 5px;
  border-radius: 3px;
  background: rgba(212, 175, 55, 0.35);
  margin: 0 auto 1rem;
}

/* 5. Product Detail (PDP) Modal Architecture */
.pdp-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2rem;
  align-items: start;
}

.pdp-image-stage {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  border: 1px solid var(--gold-border);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-main-flacon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.pdp-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.pdp-price-hero {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gold-primary);
  display: inline-block;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.03) 100%);
  border: 1px solid var(--gold-border);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
}

.pdp-meta-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.stat-val {
  display: block;
  font-size: 0.92rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-top: 0.2rem;
}

.size-options-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.size-pill-option {
  display: block;
  cursor: pointer;
}

.size-pill-option input[type="radio"] {
  display: none;
}

.size-pill-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.size-pill-option input[type="radio"]:checked + .size-pill-box {
  background: rgba(212, 175, 55, 0.14);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.pdp-story-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.pdp-cta-actions {
  display: flex;
  gap: 0.75rem;
}

/* 6. Mobile Navigation Drawer (Sleek Frosted Glass) */
.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

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

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, #100F0D 0%, #070707 100%);
  border-left: 1px solid var(--gold-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9);
  z-index: 2210;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  padding: env(safe-area-inset-top, 1rem) 0 env(safe-area-inset-bottom, 1rem);
  overscroll-behavior: contain;
}

[dir="rtl"] .mobile-nav-drawer {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--gold-border);
  transform: translateX(-100%);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.9);
}

.mobile-drawer-backdrop.is-open .mobile-nav-drawer {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-body {
  padding: 1.2rem 1.4rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.mobile-drawer-nav-item i {
  color: var(--gold-primary);
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.mobile-drawer-nav-item:active,
.mobile-drawer-nav-item:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.mobile-drawer-footer {
  padding: 1.2rem 1.4rem;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Mobile Header Hamburger Button */
.mobile-hamburger-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-hamburger-btn:active {
  background: var(--gold-shimmer);
  color: #070707;
  transform: scale(0.92);
}

/* Direct Kuwait WhatsApp 1-Tap Order Button */
.btn-whatsapp-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  margin-top: 0.6rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  min-height: 48px;
}

.btn-whatsapp-order:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINT AUDIT & REFINEMENTS (TABLETS & SMARTPHONES)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-slide-content {
    max-width: 90%;
    padding: 5rem 1rem 3rem;
  }
  
  .pdp-modal-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Show hamburger button and hide full desktop nav items */
  .mobile-hamburger-btn {
    display: flex;
  }

  .nav-links {
    display: none !important;
  }

  .header-inner {
    height: 64px;
    padding: 0 0.5rem;
  }

  /* Compact brand logo for mobile headers */
  .brand-logo-emblem {
    width: 38px !important;
    height: 38px !important;
  }

  .brand-logo-main {
    font-size: 1.15rem !important;
  }

  .brand-logo-sub {
    font-size: 0.65rem !important;
    display: none; /* Keep header super clean on small mobile */
  }

  .header-actions {
    gap: 0.5rem;
  }

  .action-control#currencySelect,
  .action-control#langSwitchBtn,
  .action-control#audioToggleBtn,
  .header-actions a[title="لوحة التحكم الملكية"] {
    display: none !important; /* Accessible inside sleek Mobile Menu Drawer instead */
  }

  .cart-toggle-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
    min-height: 40px;
  }

  /* Hero Section Typography and Touch Controls */
  .hero-slider-container {
    min-height: 82vh;
  }

  .hero-slide-content {
    padding: 4.5rem 1rem 3rem;
  }

  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.35 !important;
  }

  .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.4rem !important;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta-group .btn-gold,
  .hero-cta-group .btn-outline-gold {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .hero-slider-arrows {
    display: none; /* Handled via silky smooth Touch Swiping gestures */
  }

  /* Horizontal Scrollable Category Tabs on Phones */
  .category-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 0.6rem !important;
    padding: 0.5rem 0.5rem 1rem !important;
    margin-bottom: 1.5rem !important;
    scroll-snap-type: x mandatory !important;
    justify-content: flex-start !important;
  }

  .category-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .cat-tab-btn {
    flex: 0 0 auto !important;
    scroll-snap-align: center !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    padding: 0.55rem 1.1rem !important;
    min-height: 42px !important;
  }

  /* Container Mobile Padding */
  .container {
    padding: 0 1rem !important;
  }

  /* Section Spacing Balance on Phones */
  .manifesto-section,
  .catalog-section,
  .scent-finder-section,
  .layering-section,
  .gifting-section,
  .heritage-section {
    padding: 2.8rem 0 !important;
  }

  .section-header {
    margin-bottom: 2rem !important;
  }
  .section-title {
    font-size: 1.55rem !important;
  }
  .section-subtitle {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
  }

  /* Hero Section Mobile Polish */
  .hero-section {
    padding: 0 !important;
    min-height: auto !important;
  }
  .hero-slide-media {
    filter: brightness(0.68) contrast(1.08) !important;
  }

  /* Products Grid on Mobile Phones: Ultra-Luxury 2-Column Boutique Grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .product-card {
    border-radius: var(--radius-sm) !important;
    display: flex !important;
    flex-direction: column !important;
    background: #0E0D0B !important;
  }

  .product-thumb-wrapper {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    background: #14120F !important;
    position: relative !important;
  }

  .product-badge-overlay {
    top: 0.4rem !important;
    right: 0.4rem !important;
    left: auto !important;
    font-size: 0.6rem !important;
    padding: 0.2rem 0.5rem !important;
    letter-spacing: 0 !important;
  }
  [dir="ltr"] .product-badge-overlay {
    right: auto !important;
    left: 0.4rem !important;
  }

  .product-card-body {
    padding: 0.8rem 0.65rem !important;
    gap: 0.35rem !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .product-origin-tag {
    font-size: 0.64rem !important;
    margin-bottom: 0 !important;
    color: var(--amber-resin) !important;
  }

  .product-card-title {
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
    min-height: 2.7em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
  }

  .product-card-tagline {
    font-size: 0.7rem !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 0.2rem !important;
    color: var(--text-muted) !important;
  }

  .product-notes-summary {
    display: none !important; /* Kept clean for uniform, gorgeous 2-column mobile cards */
  }

  .product-card-footer {
    padding-top: 0.5rem !important;
    margin-top: auto !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
    align-items: stretch !important;
  }

  .product-price-wrap {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .price-from {
    font-size: 0.65rem !important;
    color: var(--text-muted) !important;
  }

  .product-card-price {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--gold-light) !important;
  }

  .btn-quick-buy {
    width: 100% !important;
    height: 38px !important;
    min-width: unset !important;
    border-radius: var(--radius-sm) !important;
    font-size: 0.8rem !important;
    gap: 0.4rem !important;
    background: var(--gold-shimmer) !important;
    color: #070707 !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    cursor: pointer !important;
  }

  .btn-card-inspect {
    display: none !important; /* Tapping product card opens flacon view directly */
  }

  /* Scent Finder on Mobile */
  .finder-tab-nav {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding: 0.3rem 0.5rem 0.8rem !important;
    gap: 0.6rem !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .finder-tab-nav::-webkit-scrollbar {
    display: none !important;
  }
  .finder-tab-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    padding: 0.55rem 1.2rem !important;
  }
  .pyramid-tier {
    padding: 1.2rem 1rem !important;
  }

  /* Layering Masterclass on Mobile */
  .layering-timeline,
  .layering-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 1.1rem !important;
    margin-bottom: 2rem !important;
  }
  .layer-step-card,
  .layering-step-card {
    padding: 1.3rem 1.1rem !important;
  }

  /* Bespoke Gifting on Mobile */
  .gifting-grid,
  .gifting-feature-card {
    grid-template-columns: 1fr !important;
    padding: 1.5rem 1.1rem !important;
    gap: 1.5rem !important;
  }
  .gifting-hero-img,
  .gift-preview-img {
    min-height: 200px !important;
    max-height: 240px !important;
    width: 100% !important;
    border-radius: var(--radius-sm) !important;
  }
  .gifting-content-col h2,
  .gifting-content-col p {
    text-align: right !important;
  }

  /* Heritage Section on Mobile */
  .heritage-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center !important;
  }
  .heritage-story-col h2 {
    text-align: center !important;
  }
  .heritage-seal-col {
    order: -1 !important;
  }
  .royal-seal-emblem {
    width: 190px !important;
    height: 190px !important;
    margin: 0 auto !important;
  }
  .seal-inner-circle {
    padding: 1rem 0.8rem !important;
  }
  .seal-icon {
    font-size: 1.7rem !important;
  }
  .seal-title {
    font-size: 0.92rem !important;
  }
  .seal-sub {
    font-size: 0.68rem !important;
    line-height: 1.35 !important;
  }

  /* Footer on Mobile */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.2rem !important;
    text-align: center !important;
  }
  .footer-brand-col div,
  .footer-contact-info {
    align-items: center !important;
    text-align: center !important;
  }
  .footer-boutiques-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.6rem !important;
  }
  .footer-boutiques-list li {
    list-style: none !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
  }
  .footer-bottom-bar {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.8rem !important;
  }

  /* Mobile Bottom Sheet Modals (Native App Experience) */
  .modal-dialog-lux,
  .modal-pdp-dialog,
  .modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 92vh !important;
    max-height: 92dvh !important;
    border-radius: 24px 24px 0 0 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 1.2rem 1.2rem calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
    border-bottom: none !important;
    transform: translateY(100%) !important;
    overscroll-behavior: contain;
  }

  .modal-sheet-grabber {
    display: block;
  }

  .modal-backdrop.is-open .modal-dialog-lux,
  .modal-backdrop.is-open .modal-pdp-dialog,
  .modal-backdrop.is-open .modal-dialog {
    transform: translateY(0) !important;
  }

  /* Full Width Cart Drawer on Mobile */
  .cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
  }

  .cart-drawer-header,
  .cart-drawer-body,
  .cart-drawer-footer {
    padding: 1.1rem 1.2rem;
  }

  .cart-drawer-footer {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  /* Mobile Checkout Layout */
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .payment-methods-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .payment-method-card {
    min-height: 78px;
    padding: 0.6rem 0.4rem;
  }

  /* Footer Padding to never be hidden under bottom navigation */
  .site-footer {
    padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Extra Small Phones (iPhone SE, 320px-375px) */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.5rem !important;
  }
  
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-bottom-nav {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
  
  .mobile-nav-item span {
    font-size: 0.66rem;
  }
}

/* Admin Dashboard Mobile Adaptation */
@media (max-width: 768px) {
  .admin-modal-dialog {
    padding: 1.2rem 1rem !important;
    width: 96% !important;
  }
  .admin-header-bar {
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
  }
  .admin-nav-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.6rem;
    scrollbar-width: none;
  }
  .admin-nav-tabs::-webkit-scrollbar {
    display: none;
  }
  .admin-tab-btn {
    white-space: nowrap;
    flex: 0 0 auto;
    font-size: 0.8rem;
    padding: 0.5rem 0.9rem;
  }
  .admin-form-grid {
    grid-template-columns: 1fr !important;
  }
  .table-responsive,
  .admin-table-wrap,
  .admin-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-sm);
  }
  .admin-table {
    min-width: 580px;
  }
}


