/**
 * NAZEK PERFUME - Master Luxury Stylesheet
 * Haute Parfumerie Design System (Obsidian Gold & Champagne Marble)
 */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Cinzel:wght@400;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  /* Dark Luxury (Default) */
  --bg-primary: #0a0907;
  --bg-secondary: #13110e;
  --bg-card: #191612;
  --bg-card-hover: #221f19;
  --bg-glass: rgba(19, 17, 14, 0.85);
  --bg-overlay: rgba(5, 4, 3, 0.82);
  
  --gold-primary: #d4af37;
  --gold-light: #f5e4a8;
  --gold-dark: #997d2c;
  --gold-gradient: linear-gradient(135deg, #f7e7a9 0%, #d4af37 50%, #997d2c 100%);
  --gold-text-gradient: linear-gradient(135deg, #fff2cc 0%, #d4af37 50%, #aa8830 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-border: rgba(212, 175, 55, 0.28);
  --gold-border-subtle: rgba(212, 175, 55, 0.12);

  --text-primary: #faf6ee;
  --text-secondary: #b8b09d;
  --text-muted: #7e7667;
  
  --accent-red: #c0392b;
  --accent-green: #27ae60;
  
  --font-ar: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en-serif: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-en-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.18);
  
  --header-height: 85px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Champagne Theme */
[data-theme="light"] {
  color-scheme: light;
  --bg-primary: #f8f5ee;
  --bg-secondary: #ede7dc;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfbfa;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --bg-overlay: rgba(25, 22, 18, 0.7);

  --gold-primary: #b08a28;
  --gold-light: #e0be6c;
  --gold-dark: #7a5e16;
  --gold-gradient: linear-gradient(135deg, #dfbe6d 0%, #b08a28 50%, #7a5e16 100%);
  --gold-text-gradient: linear-gradient(135deg, #7a5e16 0%, #b08a28 70%, #d4af37 100%);
  --gold-glow: rgba(176, 138, 40, 0.2);
  --gold-border: rgba(176, 138, 40, 0.3);
  --gold-border-subtle: rgba(176, 138, 40, 0.15);

  --text-primary: #1c1813;
  --text-secondary: #574f44;
  --text-muted: #8c8273;

  --shadow-sm: 0 4px 12px rgba(90, 80, 70, 0.08);
  --shadow-md: 0 8px 24px rgba(90, 80, 70, 0.12);
  --shadow-lg: 0 16px 40px rgba(90, 80, 70, 0.16);
  --shadow-gold: 0 8px 24px rgba(176, 138, 40, 0.15);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-overflow-scrolling: touch;
}

/* Luxury Smooth Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.3) var(--bg-primary);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-ar);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: clip;
  transition: background-color 0.4s ease, color 0.4s ease;
}

[dir="ltr"] body {
  font-family: var(--font-en-sans);
}

[dir="ltr"] h1, 
[dir="ltr"] h2, 
[dir="ltr"] h3, 
[dir="ltr"] .font-serif {
  font-family: var(--font-en-serif);
  letter-spacing: 0.04em;
}

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

button, input, select, textarea {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
  transition: var(--transition);
}

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

/* Golden Gradients & Utilities */
.gold-text {
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-btn {
  background: var(--gold-gradient);
  color: #0b0906;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gold-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
  filter: brightness(1.08);
}

.gold-btn:active {
  transform: translateY(1px);
}

.outline-gold-btn {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  font-weight: 600;
  padding: 11px 26px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.outline-gold-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-controls-desktop {
  display: none;
}

@media (min-width: 768px) {
  .header-controls-desktop {
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

/* ============================================================
   2. MAIN HEADER & NAVIGATION (CENTERED LOGO)
   ============================================================ */
.main-header {
  position: sticky;
  top: 0;
  z-index: 150;
  background: rgba(10, 9, 7, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-border-subtle);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  will-change: background-color, box-shadow, border-color;
}

.main-header.header-scrolled {
  background: rgba(13, 11, 8, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
}

[data-theme="light"] .main-header {
  background: rgba(253, 250, 245, 0.88);
  border-bottom-color: rgba(160, 125, 40, 0.2);
}

[data-theme="light"] .main-header.header-scrolled {
  background: rgba(253, 250, 245, 0.96);
  border-bottom-color: rgba(160, 125, 40, 0.35);
  box-shadow: 0 8px 30px rgba(90, 75, 55, 0.12);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 24px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.header-scrolled .header-container {
  height: 64px;
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.header-left {
  justify-content: flex-start;
}

.header-right {
  justify-content: flex-end;
}

/* Centered Logo */
.header-center {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.brand-logo-link:hover {
  transform: scale(1.02);
}

.brand-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
}

.main-header.header-scrolled .brand-logo-img {
  height: 48px;
}

/* Icon Buttons */
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid var(--gold-border-subtle);
  position: relative;
  transition: var(--transition);
}

.icon-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold-primary);
  color: #0b0906;
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .cart-badge {
  right: auto;
  left: -4px;
}

/* Header Text Nav Links (Desktop) */
.header-nav {
  display: none;
  gap: 24px;
  align-items: center;
}

@media (min-width: 992px) {
  .header-nav {
    display: flex;
  }
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.3s ease;
}

[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

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

/* Quick Control Pills */
.switch-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-border-subtle);
  background: rgba(212, 175, 55, 0.05);
  color: var(--text-primary);
}

.switch-pill-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* ============================================================
   3. HERO SECTION (IMMERSIVE FULL-SCREEN BACKDROP WITH o.jpg)
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(10, 9, 7, 0.94) 0%, rgba(10, 9, 7, 0.78) 36%, rgba(10, 9, 7, 0.20) 55%, rgba(10, 9, 7, 0) 75%), url('../images/hero/o.jpg');
  background-size: cover;
  background-position: right 2% center;
  background-repeat: no-repeat;
  padding: 70px 0 90px;
  transition: background 0.3s ease;
}

/* Seamless Bottom Blend: eliminates harsh cutoff line into next section */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 130px;
  background: linear-gradient(to bottom, rgba(19, 17, 14, 0) 0%, var(--bg-secondary) 100%);
  pointer-events: none;
  z-index: 2;
}

[data-theme="light"] .hero-section::after {
  background: linear-gradient(to bottom, rgba(237, 231, 220, 0) 0%, var(--bg-secondary) 100%);
}

[dir="rtl"] .hero-section {
  background-image: linear-gradient(270deg, rgba(10, 9, 7, 0.96) 0%, rgba(10, 9, 7, 0.82) 34%, rgba(10, 9, 7, 0.20) 48%, rgba(10, 9, 7, 0) 58%), url('../images/hero/o.jpg');
  background-position: left 2% center;
}

/* Refined Light Mode: Directional warm champagne scrim cradling typography while preserving pure deep gold & black bottle */
[data-theme="light"] .hero-section {
  background-image: linear-gradient(90deg, rgba(248, 245, 238, 0.98) 0%, rgba(248, 245, 238, 0.92) 34%, rgba(248, 245, 238, 0.35) 48%, rgba(248, 245, 238, 0) 58%), url('../images/hero/o.jpg');
  background-position: right 2% center;
}

[data-theme="light"][dir="rtl"] .hero-section {
  background-image: linear-gradient(270deg, rgba(248, 245, 238, 0.98) 0%, rgba(248, 245, 238, 0.92) 34%, rgba(248, 245, 238, 0.35) 48%, rgba(248, 245, 238, 0) 58%), url('../images/hero/o.jpg');
  background-position: left 2% center;
}

/* Modern Hardware-Accelerated Smooth Video Backdrop */
.hero-video-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
  opacity: 0.88;
  transition: opacity 0.5s ease;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 9, 7, 0.94) 0%, rgba(10, 9, 7, 0.78) 36%, rgba(10, 9, 7, 0.20) 55%, rgba(10, 9, 7, 0) 75%);
  z-index: 1;
  pointer-events: none;
}

[dir="rtl"] .hero-video-overlay {
  background: linear-gradient(270deg, rgba(10, 9, 7, 0.94) 0%, rgba(10, 9, 7, 0.78) 36%, rgba(10, 9, 7, 0.20) 55%, rgba(10, 9, 7, 0) 75%);
}

[data-theme="light"] .hero-video-overlay {
  background: linear-gradient(90deg, rgba(248, 245, 238, 0.96) 0%, rgba(248, 245, 238, 0.90) 36%, rgba(248, 245, 238, 0.45) 50%, rgba(248, 245, 238, 0) 65%);
}

[data-theme="light"][dir="rtl"] .hero-video-overlay {
  background: linear-gradient(270deg, rgba(248, 245, 238, 0.96) 0%, rgba(248, 245, 238, 0.90) 36%, rgba(248, 245, 238, 0.45) 50%, rgba(248, 245, 238, 0) 65%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.hero-text-col {
  max-width: 560px;
  position: relative;
  z-index: 3;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(1.8rem, 2.85vw, 2.85rem);
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-primary);
}

/* English (LTR) Hero Typography & Layout Harmony */
[dir="ltr"] .hero-text-col {
  max-width: 620px;
}

[dir="ltr"] .hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.0rem, 2.6vw, 2.85rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

[dir="ltr"] .hero-title br {
  display: none;
}

.hero-desc {
  font-size: 1.0rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 520px;
  font-weight: 400;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-features-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--gold-border-subtle);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-feature-item svg.feature-icon {
  color: var(--gold-primary);
  flex-shrink: 0;
  stroke: var(--gold-primary);
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.35));
  transition: transform var(--transition-base);
}

.hero-feature-item:hover svg.feature-icon {
  transform: scale(1.15);
}

.hero-floating-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.1);
  max-width: 380px;
  margin-left: auto;
}

[dir="rtl"] .hero-floating-card {
  margin-left: 0;
  margin-right: auto;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-border);
  background: var(--bg-card);
}

.hero-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-visual-card:hover .hero-img {
  transform: scale(1.03);
}

.hero-visual-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-badge-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.hero-badge-sub {
  font-size: 0.82rem;
  color: var(--gold-light);
}

.hero-badge-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-primary);
}

/* ============================================================
   4. BRAND VALUE PILLARS
   ============================================================ */
.values-section {
  padding: 40px 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--gold-border-subtle);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--gold-border-subtle);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-primary);
}

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

/* ============================================================
   5. CATEGORIES BAR (DYNAMIC & ICONS)
   ============================================================ */
.categories-bar-wrapper {
  padding: 24px 0 14px 0;
  position: static;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--gold-border-subtle);
  transition: var(--transition);
}

.categories-scroll {
  display: flex;
  gap: 10px;
  align-items: center;
  scrollbar-width: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  transition: var(--transition);
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

/* Desktop: Symmetrically centered with no cutoffs or blocking columns */
@media (min-width: 1100px) {
  .categories-scroll {
    justify-content: center;
    overflow-x: visible;
    padding: 2px 0 8px 0;
  }
}

/* Mobile & Tablet: Smooth horizontal momentum scrolling with soft luxury edge feathering */
@media (max-width: 1099px) {
  .categories-scroll {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 4px 16px 10px 16px;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 24px,
      black calc(100% - 24px),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 24px,
      black calc(100% - 24px),
      transparent 100%
    );
  }
}

.category-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--gold-border-subtle);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: var(--transition);
  scroll-snap-align: start;
  flex-shrink: 0;
  user-select: none;
  cursor: pointer;
}

.category-tab-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--gold-border);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.category-tab-btn.active {
  background: var(--gold-gradient);
  color: #0b0906;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
  font-weight: 700;
  transform: translateY(-2px);
}

.category-tab-badge {
  font-size: 0.68rem;
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* ============================================================
   6. PRODUCTS SHOWCASE SECTION
   ============================================================ */
.products-section {
  padding: 30px 0 80px 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  font-weight: 700;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.search-input-wrapper {
  position: relative;
  min-width: 280px;
}

.search-input {
  width: 100%;
  padding: 10px 42px 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

[dir="ltr"] .search-input {
  padding: 10px 18px 10px 42px;
}

.search-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-glow);
}

.search-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

[dir="ltr"] .search-icon {
  right: auto;
  left: 14px;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border-subtle);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(212, 175, 55, 0.08);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1.12;
  overflow: hidden;
  background: #151310;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold-gradient);
  color: #0b0906;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

[dir="ltr"] .product-badge {
  right: auto;
  left: 12px;
}

.quick-view-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translate(-50%, 15px);
  opacity: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  border: 1px solid var(--gold-border);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  z-index: 3;
}

.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translate(-50%, 0);
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-name {
  font-size: 0.76rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
  line-height: 1.35;
}

.product-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Size Selector Pills */
.sizes-container {
  margin-top: auto;
  margin-bottom: 16px;
}

.sizes-label {
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 600;
}

.sizes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.size-pill {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--gold-border-subtle);
  transition: var(--transition);
}

.size-pill:hover {
  border-color: var(--gold-border);
  color: var(--text-primary);
}

.size-pill.active {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Card Footer: Price & Add to Cart */
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--gold-border-subtle);
}

.product-price-wrapper {
  display: flex;
  flex-direction: column;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.add-cart-btn {
  background: var(--gold-gradient);
  color: #0b0906;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.add-cart-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.add-cart-btn:active {
  transform: scale(0.96);
}

/* Old Price & Promotional Discount */
.old-price {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
  opacity: 0.75;
  margin-bottom: 2px;
  display: inline-block;
}

.qv-price-display .old-price {
  font-size: 1.05rem;
  margin-left: 8px;
}

/* Out of Stock Variations & Buttons */
.size-pill.out-of-stock {
  opacity: 0.45;
  position: relative;
  text-decoration: line-through;
  border-color: rgba(255, 255, 255, 0.08);
}

.add-cart-btn:disabled,
.gold-btn:disabled,
.qv-add-btn:disabled {
  opacity: 0.52;
  cursor: not-allowed !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  color: var(--text-muted) !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}

.product-badge.out-of-stock-badge {
  background: rgba(18, 16, 13, 0.9) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: var(--text-muted) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(6px);
  letter-spacing: 0.3px;
}

[data-theme="light"] .product-badge.out-of-stock-badge {
  background: rgba(244, 240, 232, 0.95) !important;
  border-color: rgba(180, 145, 45, 0.35) !important;
  color: #6d6457 !important;
}

.cart-item.item-unavailable {
  opacity: 0.7;
  border-color: rgba(212, 175, 55, 0.25);
  background: rgba(255, 255, 255, 0.02);
}

.cart-item-out-of-stock-notice {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 6px;
  font-weight: 600;
}

/* ============================================================
   7. DAILY DEAL & COUNTDOWN SECTION
   ============================================================ */
.deal-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--gold-border-subtle);
}

.deal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 992px) {
  .deal-card {
    grid-template-columns: 1fr 1.2fr;
  }
}

.deal-media {
  position: relative;
  min-height: 380px;
}

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

.deal-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.deal-tag {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.deal-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.deal-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* Countdown Clock Boxes */
.countdown-wrapper {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
}

.countdown-box {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  text-align: center;
  min-width: 70px;
}

.countdown-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
}

.countdown-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 600;
}

/* ============================================================
   8. EDITORIAL JOURNAL / HERITAGE STORY
   ============================================================ */
.journal-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--gold-border-subtle);
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.journal-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border-subtle);
  background: var(--bg-card);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.journal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: 1;
}

.journal-card:hover .journal-bg {
  transform: scale(1.05);
}

.journal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 9, 7, 0.1) 0%, rgba(10, 9, 7, 0.88) 100%);
  z-index: 2;
}

.journal-content {
  position: relative;
  z-index: 3;
}

.journal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.journal-snippet {
  font-size: 0.9rem;
  color: #e2dac9;
  line-height: 1.6;
}

/* ============================================================
   9. SHOPPING CART DRAWER
   ============================================================ */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
  backdrop-filter: blur(6px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border-left: 1px solid var(--gold-border);
  z-index: 210;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  right: 0;
  transform: translateX(100%);
}

[dir="rtl"] .cart-drawer {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--gold-border);
  transform: translateX(-100%);
}

.cart-drawer.active {
  transform: translateX(0);
}

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

.cart-header-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gold-border-subtle);
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.cart-item-size {
  font-size: 0.78rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-border-subtle);
}

.stepper-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1rem;
}

.stepper-btn:hover {
  color: var(--gold-primary);
}

.stepper-num {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0 8px;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.cart-item-remove {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.cart-item-remove:hover {
  color: var(--accent-red);
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--gold-border-subtle);
  background: var(--bg-card);
}


.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.cart-summary-row.total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--gold-border-subtle);
}

.cart-checkout-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  font-size: 1.05rem;
}

/* Empty Cart State */
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cart-empty-icon {
  width: 70px;
  height: 70px;
  color: var(--gold-border);
  margin-bottom: 16px;
}

/* ============================================================
   10. MODALS (WHATSAPP, QUICK VIEW, VIDEO AD, ADMIN LOGIN)
   ============================================================ */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-box {
  transform: scale(1);
}

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

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-close-btn {
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.modal-close-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 24px;
}

/* Form inputs in Modals */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gold-border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-select {
  cursor: pointer;
  color-scheme: dark;
}

[data-theme="light"] .form-select {
  color-scheme: light;
}

select option,
.form-select option {
  background-color: #191612 !important;
  color: #faf6ee !important;
  padding: 12px 16px;
  font-size: 0.92rem;
}

[data-theme="light"] select option,
[data-theme="light"] .form-select option {
  background-color: #ffffff !important;
  color: #1c1813 !important;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-glow);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea,
[data-theme="light"] .form-select {
  background: #ffffff;
  border-color: rgba(176, 138, 40, 0.3);
  color: #1c1813;
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus,
[data-theme="light"] .form-select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(176, 138, 40, 0.2);
}

/* WhatsApp Preview Order Box */
.whatsapp-order-preview {
  background: rgba(212, 175, 55, 0.06);
  border: 1px dashed var(--gold-border);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.whatsapp-btn {
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
  background: #22bf5b;
  transform: translateY(-2px);
}

/* Video Ad Modal specifics */
.video-modal-box {
  max-width: 800px;
  padding: 0;
  background: #000000;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.video-player-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* ============================================================
/* ============================================================
   11. HAMBURGER MENU DRAWER (ROYAL LUXURY SIDEBAR)
   ============================================================ */
/* Hamburger Button Micro-Interaction */
#hamburgerBtn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.22);
  color: var(--gold-primary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#hamburgerBtn:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-primary);
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.22);
}

#hamburgerBtn svg line {
  transition: all 0.3s ease;
  transform-origin: center;
}

#hamburgerBtn:hover svg line:nth-child(2) {
  transform: scaleX(0.75);
}

/* Luxury Drawer Shell */
.hamburger-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 325px;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  /* Seamless invisible scrollbar - pure luxury with zero intrusive lines */
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: linear-gradient(180deg, #13100c 0%, #0d0b08 60%, #080605 100%);
  border-right: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.6);
  z-index: 220;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  left: 0;
}

.hamburger-drawer::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

[dir="rtl"] .hamburger-drawer {
  left: auto;
  right: 0;
  border-right: none;
  border-left: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
}

.hamburger-drawer.active {
  transform: translateX(0);
}

/* Drawer Header */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.drawer-brand-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-logo-glow-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.drawer-logo-glow-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, transparent 70%);
  filter: blur(6px);
  pointer-events: none;
  animation: logoAura 4s ease-in-out infinite alternate;
}

.drawer-logo-img {
  height: 42px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.drawer-logo-img:hover {
  transform: scale(1.05);
}

.drawer-brand-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.drawer-brand-title {
  font-family: var(--font-primary, 'Cairo', sans-serif);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, #fff7d6 0%, #d4af37 60%, #aa820a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.drawer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.08);
  color: #e5c358;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.25);
  width: fit-content;
}

.close-drawer-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.close-drawer-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
  transform: rotate(90deg) scale(1.05);
}

/* Drawer Section Titles */
.drawer-group-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(212, 175, 55, 0.7);
  padding: 14px 10px 4px;
  margin-top: 6px;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.2), transparent);
}

[dir="rtl"] .drawer-group-title::after {
  background: linear-gradient(270deg, rgba(212, 175, 55, 0.2), transparent);
}

/* Drawer Links */
.hamburger-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0 20px;
}

.hamburger-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.hamburger-link::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 3.5px;
  border-radius: 4px 0 0 4px;
  background: var(--gold-primary);
  opacity: 0;
  transform: scaleY(0.4);
  transition: all 0.25s ease;
}

[dir="ltr"] .hamburger-link::before {
  right: auto;
  left: 0;
  border-radius: 0 4px 4px 0;
}

.drawer-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.14);
  color: rgba(212, 175, 55, 0.85);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.drawer-link-text {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hamburger-link:hover {
  background: rgba(212, 175, 55, 0.08);
  color: #ffffff;
  border-color: rgba(212, 175, 55, 0.28);
  transform: translateX(-4px);
}

[dir="ltr"] .hamburger-link:hover {
  transform: translateX(4px);
}

.hamburger-link:hover .drawer-link-icon {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-primary);
  border-color: rgba(212, 175, 55, 0.45);
  transform: scale(1.06);
}

.hamburger-link:hover::before {
  opacity: 1;
  transform: scaleY(1);
  box-shadow: 0 0 10px var(--gold-primary);
}

/* Drawer Footer */
.drawer-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-actions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.drawer-pill-btn {
  justify-content: center;
  padding: 8px 10px;
  font-size: 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.drawer-pill-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.drawer-brand-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  padding-top: 4px;
  user-select: none;
}

/* Drawer Light Theme Adaptations */
[data-theme="light"] .hamburger-drawer {
  background: linear-gradient(180deg, #fdfaf5 0%, #f4ede0 60%, #ece2d0 100%);
  border-color: rgba(160, 125, 40, 0.35);
  box-shadow: -6px 0 30px rgba(90, 75, 55, 0.12);
}

[data-theme="light"] .drawer-header,
[data-theme="light"] .drawer-footer {
  border-color: rgba(160, 125, 40, 0.25);
}

[data-theme="light"] .drawer-brand-title {
  background: linear-gradient(135deg, #443216 0%, #8c6a1e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .drawer-status-badge {
  background: rgba(160, 125, 40, 0.12);
  color: #7b590e;
  border-color: rgba(160, 125, 40, 0.35);
}

[data-theme="light"] .drawer-group-title {
  color: #8c6a1e;
}

[data-theme="light"] .drawer-group-title::after {
  background: linear-gradient(90deg, rgba(160, 125, 40, 0.25), transparent);
}

[dir="rtl"][data-theme="light"] .drawer-group-title::after {
  background: linear-gradient(270deg, rgba(160, 125, 40, 0.25), transparent);
}

[data-theme="light"] .hamburger-link {
  color: #3b3022;
}

[data-theme="light"] .hamburger-link .drawer-link-icon {
  background: #ffffff;
  border-color: rgba(160, 125, 40, 0.28);
  color: #8c6a1e;
}

[data-theme="light"] .hamburger-link:hover {
  background: rgba(160, 125, 40, 0.12);
  color: #1a150f;
  border-color: rgba(160, 125, 40, 0.35);
}

[data-theme="light"] .hamburger-link:hover .drawer-link-icon {
  background: rgba(160, 125, 40, 0.2);
  color: #634a10;
}

[data-theme="light"] .drawer-pill-btn {
  background: #ffffff;
  border-color: rgba(160, 125, 40, 0.28);
  color: #1c1813;
}

[data-theme="light"] .drawer-pill-btn:hover {
  background: rgba(160, 125, 40, 0.15);
  border-color: #8c6a1e;
}

[data-theme="light"] .drawer-brand-tag {
  color: #8c7f70;
}

/* ============================================================
   12. FOOTER
   ============================================================ */
.main-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border-subtle);
  padding: 60px 0 30px 0;
  color: var(--text-secondary);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

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

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
}

.footer-desc {
  max-width: 360px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--gold-border-subtle);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Anchor Scroll Offset for Fixed/Sticky Header (P3 Fix) */
#collection,
#deal,
#journal {
  scroll-margin-top: calc(var(--header-height, 70px) + 16px);
}

/* Dedicated Quick View Mobile Footer hidden on desktop by default */
#quickViewFooter {
  display: none;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

[dir="rtl"] .toast-container {
  left: auto;
  right: 24px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--gold-primary);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  animation: fadeIn 0.3s ease;
}

/* ============================================================
   13. PRODUCT DETAILS GALLERY & SOCIAL LINKS
   ============================================================ */
.qv-gallery-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  background: #14120e;
}

.qv-gallery-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.qv-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
}

.qv-gallery-arrow:hover {
  background: var(--gold-gradient);
  color: #0b0906;
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.qv-gallery-arrow.prev {
  left: 12px;
}

.qv-gallery-arrow.next {
  right: 12px;
}

[dir="rtl"] .qv-gallery-arrow.prev {
  left: auto;
  right: 12px;
}

[dir="rtl"] .qv-gallery-arrow.next {
  right: auto;
  left: 12px;
}

.qv-gallery-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--gold-border-subtle);
  z-index: 4;
}

[dir="rtl"] .qv-gallery-counter {
  right: auto;
  left: 12px;
}

.qv-thumbnails-strip {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.qv-thumbnail-btn {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--gold-border-subtle);
  background: #14120e;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.qv-thumbnail-btn:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.qv-thumbnail-btn.active {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-glow);
}

.qv-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Instagram and Social Buttons in Footer */
.footer-social-wrapper {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  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);
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: var(--gold-gradient);
  color: #0b0906;
  border-color: transparent;
  transform: translateY(-3px) scale(1.08);
  box-shadow: var(--shadow-gold);
}

/* Enhanced Light Mode Clarity & Contrast */
[data-theme="light"] .product-card {
  border: 1px solid rgba(176, 138, 40, 0.28);
  box-shadow: 0 4px 16px rgba(120, 100, 70, 0.08);
}

[data-theme="light"] .product-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 10px 28px rgba(120, 100, 70, 0.14), 0 0 15px rgba(176, 138, 40, 0.12);
}

[data-theme="light"] .product-media {
  background: var(--bg-secondary);
}

[data-theme="light"] .hero-floating-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(176, 138, 40, 0.35);
  box-shadow: 0 12px 32px rgba(120, 100, 70, 0.15);
}

[data-theme="light"] .deal-card {
  border: 1px solid rgba(176, 138, 40, 0.32);
  box-shadow: 0 10px 30px rgba(120, 100, 70, 0.1);
}

[data-theme="light"] .category-tab-btn {
  background: #ffffff;
  border: 1px solid rgba(176, 138, 40, 0.22);
  color: var(--text-primary);
}

[data-theme="light"] .category-tab-btn:hover {
  border-color: var(--gold-primary);
  background: #fdfbf7;
}

[data-theme="light"] .category-tab-btn.active {
  background: var(--gold-gradient);
  color: #12100d;
  border-color: transparent;
}

[data-theme="light"] .search-input {
  background: #ffffff;
  border: 1px solid rgba(176, 138, 40, 0.25);
  color: var(--text-primary);
}

[data-theme="light"] .search-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(176, 138, 40, 0.12);
}

[data-theme="light"] .size-pill {
  background: #f5f1e8;
  border: 1px solid rgba(176, 138, 40, 0.22);
  color: var(--text-secondary);
}

[data-theme="light"] .size-pill.active {
  background: var(--gold-primary);
  color: #ffffff;
  border-color: var(--gold-primary);
}

[data-theme="light"] .cart-drawer {
  background: #ffffff;
  border-left: 1px solid rgba(176, 138, 40, 0.25);
}

[data-theme="light"][dir="rtl"] .cart-drawer {
  border-left: none;
  border-right: 1px solid rgba(176, 138, 40, 0.25);
}

[data-theme="light"] .cart-item {
  border-bottom: 1px solid rgba(176, 138, 40, 0.15);
}

[data-theme="light"] .cart-qty-stepper {
  background: #f5f1e8;
  border: 1px solid rgba(176, 138, 40, 0.25);
}

[data-theme="light"] .stepper-btn {
  color: var(--text-primary);
}

[data-theme="light"] .stepper-num {
  color: var(--text-primary);
}

[data-theme="light"] .modal-container {
  background: #ffffff;
  border: 1px solid rgba(176, 138, 40, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

