/* ═══════════════════════════════════════════════════════
   LFAdN — Lycée Français Anna de Noailles
   Vente de Vêtements — Main Stylesheet
   ═══════════════════════════════════════════════════════ */

:root {
  --navy: #0c1445;
  --navy-light: #1a2266;
  --navy-dark: #060a2e;
  --gold: #c8a951;
  --gold-light: #e4cc7a;
  --gold-dark: #a88b3a;
  --cream: #faf6ed;
  --cream-dark: #f0e8d5;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #868e96;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --success: #2ecc71;
  --danger: #e74c3c;
  --warning: #f39c12;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(12,20,69,0.06);
  --shadow-md: 0 8px 30px rgba(12,20,69,0.1);
  --shadow-lg: 0 20px 60px rgba(12,20,69,0.15);
  --shadow-xl: 0 30px 80px rgba(12,20,69,0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Particles Canvas ─── */

#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ─── Navbar ─── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(12, 20, 69, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
}

.logo-emblem {
  width: 48px;
  height: 48px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
}

.logo-emblem::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(200, 169, 81, 0.3);
  border-radius: 50%;
}

.logo-emblem.small {
  width: 40px;
  height: 40px;
}

.logo-letters {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 1px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--white);
}

.logo-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  color: var(--gold-light);
  opacity: 0.9;
}

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

.nav-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

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

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

.nav-admin {
  background: rgba(200, 169, 81, 0.15);
  border: 1px solid rgba(200, 169, 81, 0.3);
  padding: 8px 20px;
  border-radius: 100px;
  color: var(--gold-light);
}

.nav-admin::after {
  display: none;
}

.nav-admin:hover {
  background: rgba(200, 169, 81, 0.25);
  color: var(--gold);
}

/* ─── Language Switcher ─── */

.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 3px;
}

.lang-switcher.mobile-lang {
  margin-top: 8px;
}

.lang-btn {
  padding: 5px 12px;
  border: none;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.lang-btn:hover {
  color: rgba(255,255,255,0.8);
}

.lang-btn.active {
  background: var(--gold);
  color: var(--navy-dark);
}

.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-btn span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  color: var(--white);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  transition: var(--transition);
}

.mobile-link:hover {
  color: var(--gold);
}

.mobile-cart-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(200, 169, 81, 0.15);
  border: 1px solid rgba(200, 169, 81, 0.3);
  padding: 14px 28px;
  border-radius: 100px;
  color: var(--gold-light);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.mobile-cart-btn:hover {
  background: rgba(200, 169, 81, 0.25);
  color: var(--gold);
}

.mobile-cart-badge {
  position: static;
  width: 22px;
  height: 22px;
  font-size: 12px;
}

/* ─── Hero ─── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200, 169, 81, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(200, 169, 81, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(26, 34, 102, 0.3) 0%, transparent 50%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(200, 169, 81, 0.08);
  border-radius: 50%;
  animation: heroOrb 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 800px;
  height: 800px;
  border: 1px solid rgba(200, 169, 81, 0.05);
  border-radius: 50%;
  animation: heroOrb 25s ease-in-out infinite reverse;
}

@keyframes heroOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  background: rgba(200, 169, 81, 0.12);
  border: 1px solid rgba(200, 169, 81, 0.25);
  color: var(--gold-light);
  padding: 8px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-line {
  display: block;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
}

.hero-accent {
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
}

.hero-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(200, 169, 81, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 169, 81, 0.4);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

/* ─── Animations ─── */

.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── About Section ─── */

.about-section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
  position: relative;
  padding-left: 40px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-description {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.anna-quote {
  background: linear-gradient(135deg, rgba(12,20,69,0.03) 0%, rgba(200,169,81,0.05) 100%);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.anna-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 8px;
}

.anna-quote cite {
  font-size: 13px;
  color: var(--gold-dark);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 1px;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(200, 169, 81, 0.1);
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy));
}

.card-ornament {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(200, 169, 81, 0.2);
}

.card-ornament.top-left { top: 20px; left: 20px; border-right: none; border-bottom: none; }
.card-ornament.top-right { top: 20px; right: 20px; border-left: none; border-bottom: none; }
.card-ornament.bottom-left { bottom: 20px; left: 20px; border-right: none; border-top: none; }
.card-ornament.bottom-right { bottom: 20px; right: 20px; border-left: none; border-top: none; }

.about-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.about-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
}

.about-card p {
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 20px;
}

.card-detail {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

/* ─── Biography Section ─── */

.biography-section {
  padding: 100px 0 120px;
  position: relative;
  z-index: 1;
  background: var(--navy-dark);
  overflow: hidden;
}

.biography-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.biography-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.biography-section .section-tag {
  color: var(--gold-light);
}

.biography-section .section-tag::before {
  background: var(--gold-light);
}

.biography-section .section-title {
  color: var(--white);
}

.biography-section .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.bio-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 60px;
}

.bio-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(200, 169, 81, 0.2));
}

.bio-event {
  position: relative;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.bio-event.visible {
  opacity: 1;
  transform: translateX(0);
}

.bio-event:last-child {
  margin-bottom: 0;
}

.bio-year {
  position: absolute;
  left: -60px;
  top: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-dark);
  z-index: 2;
  box-shadow: 0 0 0 6px var(--navy-dark), 0 0 20px rgba(200, 169, 81, 0.3);
}

.bio-content {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 169, 81, 0.12);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  transition: var(--transition);
}

.bio-content:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(200, 169, 81, 0.25);
  transform: translateX(4px);
}

.bio-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.bio-content p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
  .bio-timeline {
    padding-left: 48px;
  }

  .bio-timeline::before {
    left: 14px;
  }

  .bio-year {
    left: -48px;
    width: 32px;
    height: 32px;
    font-size: 10px;
  }

  .bio-content {
    padding: 20px 24px;
  }

  .bio-content h3 {
    font-size: 17px;
  }

  .bio-content p {
    font-size: 14px;
  }
}

/* ─── Collection Section ─── */

.collection-section {
  padding: 100px 0 120px;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 50%, var(--cream) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  margin-top: 12px;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

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

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

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

/* ─── Product Card ─── */

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  animation: cardAppear 0.5s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4) { animation-delay: 0.3s; }
.product-card:nth-child(5) { animation-delay: 0.4s; }
.product-card:nth-child(6) { animation-delay: 0.5s; }

@keyframes cardAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f5f5f3;
}

.product-image .img-front,
.product-image .img-back {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  transition: opacity 0.4s ease, transform 0.6s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.product-image .img-front {
  opacity: 1;
  z-index: 1;
}

.product-image .img-back {
  opacity: 0;
  z-index: 0;
}

.product-image.has-back:hover .img-front {
  opacity: 0;
}

.product-image.has-back:hover .img-back {
  opacity: 1;
}

.product-card:hover .product-image .img-front,
.product-card:hover .product-image .img-back {
  transform: scale(1.03);
}

.image-flip-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  background: rgba(12,20,69,0.7);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 3;
  opacity: 0.6;
  transition: var(--transition);
}

.product-card:hover .image-flip-hint {
  opacity: 1;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  gap: 12px;
}

.product-image-placeholder svg {
  opacity: 0.5;
}

.product-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(12, 20, 69, 0.85);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-info {
  padding: 24px;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.product-description {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-dark);
}

.product-price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-500);
  margin-left: 4px;
}

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

.size-badge {
  padding: 4px 10px;
  background: var(--gray-100);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
}

.size-badge.out-of-stock {
  opacity: 0.4;
  text-decoration: line-through;
}

/* ─── Product Color Swatches ─── */

.product-color-swatches {
  position: absolute;
  bottom: 12px;
  left: 16px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.color-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.9);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  padding: 0;
  outline: none;
}

.color-swatch.active {
  border-color: var(--gold);
  transform: scale(1.2);
  box-shadow: 0 2px 12px rgba(200,169,81,0.4);
}

.color-swatch:hover {
  transform: scale(1.15);
}

.product-color-names {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.product-image img:not(.img-front):not(.img-back) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  transition: opacity 0.15s ease, transform 0.6s ease;
}

/* ─── Size Guide ─── */

.size-guide-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 8px;
}

.size-guide-toggle:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.size-guide-table {
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.size-guide-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.size-guide-table th {
  background: var(--gray-50);
  padding: 8px 12px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--gray-200);
}

.size-guide-table td {
  padding: 8px 12px;
  text-align: center;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.size-guide-table tbody tr:last-child td {
  border-bottom: none;
}

.size-guide-table tbody tr:hover {
  background: var(--gray-50);
}

.product-actions {
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.btn-reserve {
  width: 100%;
  padding: 12px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-reserve:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(12, 20, 69, 0.3);
}

.btn-reserve:disabled {
  background: var(--gray-300);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ─── Empty State ─── */

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray-500);
}

.empty-icon {
  margin-bottom: 24px;
  opacity: 0.4;
}

.empty-state h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
}

/* ─── Modal ─── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 46, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: var(--transition);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-500);
}

.modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}

.modal-product {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}

.modal-product-images {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.modal-product-images img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--gray-200);
}

.modal-product-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 4px;
}

.modal-product-price {
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 16px;
}

.modal-header {
  margin-bottom: 28px;
}

.modal-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ─── Form ─── */

.reservation-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.1);
}

.form-group input::placeholder {
  color: var(--gray-400);
}

.form-section-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: -8px;
}

.form-hint {
  font-size: 13px;
  color: var(--gray-500);
  font-style: italic;
  line-height: 1.5;
  margin: -4px 0 0;
}

.product-composition {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}

.product-composition strong {
  color: var(--gray-600);
  font-weight: 600;
}

#childrenContainer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.child-row {
  position: relative;
  padding: 12px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

.child-row .form-row {
  margin: 0;
}

.btn-remove-child {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--danger);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;
}

.btn-remove-child:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.btn-add-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px dashed var(--gold);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-start;
}

.btn-add-child:hover {
  background: rgba(200, 169, 81, 0.08);
  border-color: var(--gold-dark);
}

.modal-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  color: var(--success);
  margin-bottom: 20px;
  animation: successPop 0.5s ease;
}

@keyframes successPop {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.modal-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 12px;
}

.modal-success p {
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ─── Footer ─── */

.footer {
  background: var(--navy-dark);
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%;
}

.footer-copy p {
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}

/* ─── Responsive ─── */

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .mobile-menu { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row-3 {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 28px;
    margin: 16px;
  }

  .hero-description {
    font-size: 16px;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0 16px;
  }

  .product-image {
    aspect-ratio: 3 / 4;
  }

  .section-title {
    font-size: 28px;
  }

  .cart-drawer {
    width: 100% !important;
  }
}

/* ─── Nav Cart Button ─── */

.nav-cart-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 6px;
  transition: var(--transition);
}

.navbar.scrolled .nav-cart-btn {
  color: var(--navy);
}

.nav-cart-btn:hover {
  color: var(--gold);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Cart Drawer ─── */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 46, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: var(--white);
  z-index: 2501;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
}

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

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

.cart-drawer-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--navy);
  margin: 0;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-drawer-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-400);
  padding: 40px;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.cart-total-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-dark);
}

/* ─── Cart Items ─── */

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-100);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.cart-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-detail {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}

.cart-item-price {
  font-weight: 700;
  font-size: 13px;
  color: var(--gold-dark);
  margin-top: 2px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: var(--transition);
  flex-shrink: 0;
}

.cart-item-remove:hover {
  color: var(--danger);
  background: rgba(220,53,69,0.08);
}

/* ─── Checkout Summary ─── */

.checkout-summary {
  margin-bottom: 20px;
}

.checkout-items {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 8px;
}

.checkout-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 13px;
}

.checkout-item:last-child {
  border-bottom: none;
}

.checkout-item-name {
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-item-size {
  color: var(--gray-500);
  font-size: 12px;
}

.checkout-item-price {
  font-weight: 600;
  color: var(--gold-dark);
  text-align: right;
}

.checkout-item-total {
  font-weight: 700;
  font-size: 14px;
  border-top: 2px solid var(--navy);
  padding-top: 10px;
  margin-top: 4px;
  color: var(--navy);
}

/* ─── Toast Notification ─── */

.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
