@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=Playfair+Display:ital@1&display=swap');

/* ==========================================================================
   DESIGN SYSTEM — CHIC AHMED
   Dark Luxury Fashion Store
   ========================================================================== */
:root {
  /* === COULEURS === */
  --bg-0: #080808;
  --bg-1: #0f0f0f;
  --bg-2: #161616;
  --bg-3: #1e1e1e;
  --bg-4: #262626;
  --bg-hover: #2a2a2a;

  --gold-100: #f0ddb0;
  --gold-200: #e8c882;
  --gold-300: #c9a96e;
  --gold-400: #aa8a50;
  --gold-500: #8b6d34;

  --cream: #fcf9f2;
  --cream-dim: #e0d9cc;

  --text-100: #f5edd8; /* Warm champagne white */
  --text-200: #e0d9cc; /* Warm cream-gold text */
  --text-300: #b8af9f; /* Warm dim text */
  --text-400: #7a7266;
  --text-500: #423e38;

  --border-gold: rgba(201, 169, 110, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.12);

  --success: #4ade80;
  --error: #f87171;
  --whatsapp: #25d366;

  /* === TYPOGRAPHIE === */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-italic: 'Playfair Display', Georgia, serif;

  /* === LAYOUT === */
  --max-w: 1440px;
  --nav-h: 80px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* === EFFETS === */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition: all 0.35s var(--ease-out);
  --transition-fast: all 0.18s ease-out;
  --transition-slow: all 0.6s var(--ease-out);

  /* Ombres */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 0 40px rgba(201, 169, 110, 0.12);

  /* Glassmorphism */
  --glass: rgba(15, 15, 15, 0.75);
  --glass-border: rgba(201, 169, 110, 0.18);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-0);
  color: var(--text-200);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul, ol { list-style: none; }

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

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

button { cursor: pointer; }

/* ==========================================================================
   TYPOGRAPHIE
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-100);
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-300);
  font-weight: 300;
  line-height: 1.75;
}

.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-300);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header .label {
  display: block;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ==========================================================================
   BOUTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Shimmer effect */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn:hover::after { transform: translateX(100%); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-200) 100%);
  color: var(--bg-0);
  border-color: var(--gold-300);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-200) 0%, var(--gold-100) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold-200);
  border-color: var(--gold-300);
}
.btn-outline:hover {
  background: var(--gold-300);
  color: var(--bg-0);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-200);
  border-color: var(--border-light);
}
.btn-ghost:hover {
  background: var(--bg-3);
  border-color: var(--border-gold);
  color: var(--gold-200);
}

.btn-dark {
  background: var(--bg-3);
  color: var(--text-100);
  border-color: var(--border-subtle);
}
.btn-dark:hover {
  background: var(--bg-4);
  border-color: var(--gold-400);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
}
.btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.header.scrolled {
  height: 64px;
  background: rgba(8, 8, 8, 0.95);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-100);
  flex-shrink: 0;
}

.logo span {
  color: var(--gold-300);
}

/* Nav Links Desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-300);
  padding: 0.4rem 0;
  position: relative;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-200));
  transition: width 0.3s var(--ease-out);
}

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

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

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--text-300);
  transition: var(--transition-fast);
}

.nav-icon-btn:hover {
  background: var(--bg-3);
  color: var(--gold-200);
}

.nav-icon-btn svg {
  flex-shrink: 0;
}

/* Badge */
.badge-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--gold-300);
  color: var(--bg-0);
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  font-family: var(--font-body);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}
.menu-toggle:hover { background: var(--bg-3); }

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text-200);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  z-index: 998;
  transition: var(--transition);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  height: 100dvh;
  background: var(--bg-1);
  border-left: 1px solid var(--border-gold);
  z-index: 999;
  padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: right 0.4s var(--ease-out);
  overflow-y: auto;
}
.mobile-nav.active { right: 0; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-200);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}
.mobile-nav-link:hover { color: var(--gold-200); padding-left: 0.5rem; }

.mobile-nav-actions {
  display: flex;
  gap: 1rem;
  padding-top: 1.5rem;
  margin-top: auto;
}

/* ==========================================================================
   SEARCH MODAL
   ========================================================================== */
.search-modal {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  z-index: 1100;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  padding: 3rem 0 2rem;
  transition: top 0.4s var(--ease-out);
}
.search-modal.active { top: 0; }

.search-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1.5px solid var(--border-light);
  padding-bottom: 0.75rem;
  transition: border-color 0.3s;
}
.search-field:focus-within { border-color: var(--gold-300); }

.search-input {
  flex: 1;
  font-size: 1.4rem;
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--text-100);
  background: none;
}
.search-input::placeholder { color: var(--text-400); }

.search-close {
  color: var(--text-400);
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: flex-end;
}
.search-close button {
  color: var(--text-400);
  font-size: 1.8rem;
  transition: color 0.2s;
}
.search-close button:hover { color: var(--text-100); }

.search-results {
  position: absolute;
  top: calc(100% + 1rem);
  left: var(--gutter);
  right: var(--gutter);
  background: var(--bg-2);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 10;
}
.search-results.active { display: block; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.2s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-3); }

.search-result-item img {
  width: 44px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.search-result-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-100);
}
.search-result-price { font-size: 0.78rem; color: var(--gold-300); margin-top: 2px; }

/* ==========================================================================
   CART SIDEBAR
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  z-index: 1090;
  transition: var(--transition);
}
.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -460px;
  width: 440px;
  max-width: 100vw;
  height: 100dvh;
  background: var(--bg-1);
  border-left: 1px solid var(--border-gold);
  z-index: 1091;
  display: flex;
  flex-direction: column;
  transition: right 0.4s var(--ease-out);
}
.cart-sidebar.active { right: 0; }

.cart-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.cart-header h3 {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.cart-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-300);
  transition: var(--transition-fast);
}
.cart-close:hover { background: var(--bg-3); color: var(--text-100); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Custom scrollbar for cart */
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 2px; }

.cart-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

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

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

.cart-item-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-100);
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--text-400);
  margin-bottom: 0.6rem;
}

.cart-item-price {
  font-size: 0.9rem;
  color: var(--gold-300);
  font-weight: 500;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  color: var(--text-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-fast);
}
.qty-btn:hover { border-color: var(--gold-400); color: var(--gold-200); }

.qty-value {
  font-size: 0.85rem;
  min-width: 20px;
  text-align: center;
  color: var(--text-100);
}

.cart-item-remove {
  color: var(--text-400);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: var(--error); }

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-400);
  text-align: center;
  padding: 2rem;
}

.cart-empty svg { opacity: 0.3; }
.cart-empty p { font-size: 0.9rem; }

.cart-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.cart-subtotal span:first-child {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-400);
}

.cart-subtotal-price {
  font-size: 1.1rem;
  font-family: var(--font-display);
  color: var(--gold-200);
}

.cart-footer .btn {
  width: 100%;
  margin-bottom: 0.75rem;
}

.cart-note {
  font-size: 0.72rem;
  text-align: center;
  color: var(--text-400);
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg-3);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  color: var(--text-100);
  white-space: nowrap;
  animation: toastIn 0.4s var(--ease-out) forwards;
  pointer-events: all;
}

.toast.out { animation: toastOut 0.3s ease-in forwards; }
.toast-icon { color: var(--gold-300); flex-shrink: 0; }

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

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

/* ==========================================================================
   PRODUCT CARDS (PARTAGÉ)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  margin-bottom: 1.1rem;
}

.product-img-primary,
.product-img-secondary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out);
}

.product-img-secondary { opacity: 0; }

.product-card:hover .product-img-primary {
  transform: scale(1.06);
  opacity: 0;
}
.product-card:hover .product-img-secondary {
  opacity: 1;
  transform: scale(1.06);
}

/* Badges */
.product-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 3;
}

.p-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
}

.p-badge-new { background: var(--gold-300); color: var(--bg-0); }
.p-badge-sale { background: #c0392b; color: #fff; }
.p-badge-hot { background: var(--bg-3); color: var(--gold-200); border: 1px solid var(--border-gold); }

/* Wishlist btn */
.product-wishlist-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(8,8,8,0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-300);
  transition: var(--transition-fast);
  opacity: 0;
  transform: scale(0.8);
}

.product-card:hover .product-wishlist-btn {
  opacity: 1;
  transform: scale(1);
}

.product-wishlist-btn:hover,
.product-wishlist-btn.active {
  background: var(--gold-300);
  color: var(--bg-0);
}

.product-wishlist-btn.active svg {
  fill: var(--bg-0);
}

/* Action Overlay */
.product-action-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 0.75rem 0.75rem;
  display: flex;
  gap: 0.4rem;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  z-index: 3;
}

.product-card:hover .product-action-overlay {
  transform: translateY(0);
}

.product-add-btn {
  flex: 1;
  padding: 0.65rem 0.5rem;
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(12px);
  color: var(--text-100);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  transition: var(--transition-fast);
}
.product-add-btn:hover {
  background: var(--gold-300);
  color: var(--bg-0);
}

.product-icon-btn {
  width: 40px;
  height: 40px;
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(12px);
  color: var(--text-200);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.product-icon-btn:hover { border-color: var(--border-gold); color: var(--gold-200); }
.product-icon-btn.whatsapp:hover { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }

/* Product Info */
.product-info { padding: 0 0.1rem; }

.product-cat {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-400);
  margin-bottom: 0.35rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-100);
  line-height: 1.3;
  margin-bottom: 0.5rem;
  display: block;
  transition: color 0.2s;
}
.product-name:hover { color: var(--gold-200); }

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.stars {
  display: flex;
  gap: 1px;
  color: var(--gold-300);
}
.stars svg { width: 11px; height: 11px; fill: currentColor; }

.rating-count {
  font-size: 0.72rem;
  color: var(--text-400);
}

.product-prices {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.price-new {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-100);
}

.price-old {
  font-size: 0.85rem;
  color: var(--text-400);
  text-decoration: line-through;
}

/* ==========================================================================
   TICKER (BANDE DÉFILANTE)
   ========================================================================== */
.ticker {
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400), var(--gold-300), var(--gold-400), var(--gold-500));
  background-size: 200% auto;
  animation: tickerBg 4s linear infinite;
  padding: 0.55rem 0;
  overflow: hidden;
  position: relative;
  z-index: 999;
}

@keyframes tickerBg {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.ticker-track {
  display: flex;
  animation: tickerScroll 22s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bg-0);
  padding: 0 3rem;
  flex-shrink: 0;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-logo {
  display: block;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-300);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--gold-300);
  color: var(--bg-0);
  border-color: var(--gold-300);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-300);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-400);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-200);
  padding-left: 4px;
}

/* Newsletter footer */
.footer-newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 1rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.footer-newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: var(--text-100);
  background: var(--bg-2);
}
.footer-newsletter-input::placeholder { color: var(--text-400); }

.footer-newsletter-btn {
  padding: 0.75rem 1.25rem;
  background: var(--gold-300);
  color: var(--bg-0);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: background 0.2s;
  flex-shrink: 0;
}
.footer-newsletter-btn:hover { background: var(--gold-200); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.copyright {
  font-size: 0.78rem;
  color: var(--text-400);
}

.payment-methods {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-400);
  text-transform: uppercase;
}

/* ==========================================================================
   WHATSAPP FLOATING
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  color: #fff;
  transition: var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
  animation: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-gold { color: var(--gold-300); }
.text-center { text-align: center; }
.italic { font-style: italic; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-500); }

/* Selection */
::selection {
  background: rgba(201, 169, 110, 0.25);
  color: var(--gold-100);
}

/* ==========================================================================
   THEME SWITCHING (LIGHT THEME OVERRIDES)
   ========================================================================== */
body.light-theme {
  --bg-0: #eae1cc;       /* Warm champagne gold background */
  --bg-1: #dfd7c0;
  --bg-2: #d4cbb2;
  --bg-3: #c9bfa5;
  --bg-4: #beb498;
  --bg-hover: #d2c8b0;
  
  --text-100: #080808;   /* Black text */
  --text-200: #1a1a1a;
  --text-300: #4a4845;
  --text-400: #706c66;
  --text-500: #b0aca6;
  
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.15);
  
  --cream: #080808;
  --cream-dim: #3a3835;
  --glass: rgba(234, 225, 204, 0.85);
  --glass-border: rgba(160, 132, 79, 0.25);
  
  /* Gold adjustments for contrast */
  --gold-100: #8b6d34;
  --gold-200: #aa8a50;
  --gold-400: #e8c882;
}

/* Header scrolled and button hover overrides for Light Theme */
body.light-theme .header.scrolled {
  background: rgba(234, 225, 204, 0.98) !important;
  border-bottom-color: rgba(160, 132, 79, 0.4) !important;
}
body.light-theme .nav-icon-btn:hover {
  background: rgba(0, 0, 0, 0.06) !important;
}

/* Complete Text & Typography Visibility Overrides for Light Theme */
body.light-theme {
  color: #111111 !important;
}

body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6,
body.light-theme .section-title,
body.light-theme .product-name,
body.light-theme .product-title,
body.light-theme .cart-title,
body.light-theme .page-title,
body.light-theme .why-title,
body.light-theme .welcome-title,
body.light-theme .footer-col h4,
body.light-theme .hero-title {
  color: #0a0a0a !important;
}

body.light-theme p,
body.light-theme span,
body.light-theme div:not(.logo-img):not(.social-btn),
body.light-theme li,
body.light-theme a:not(.btn):not(.social-btn):not(.logo),
body.light-theme .section-sub,
body.light-theme .product-desc,
body.light-theme .why-card p,
body.light-theme .testimonial-quote,
body.light-theme .testimonial-author span,
body.light-theme .footer p,
body.light-theme .footer a,
body.light-theme .footer-bottom p,
body.light-theme .mobile-nav-link,
body.light-theme .contact-info-item p,
body.light-theme .contact-info-item span,
body.light-theme .form-group label,
body.light-theme .form-group input,
body.light-theme .form-group textarea,
body.light-theme .newsletter-text,
body.light-theme .stat-label {
  color: #222222 !important;
}

body.light-theme .form-group input::placeholder,
body.light-theme .form-group textarea::placeholder,
body.light-theme .newsletter-field input::placeholder {
  color: #666666 !important;
}

body.light-theme .stat-number,
body.light-theme .product-price,
body.light-theme .price,
body.light-theme .section-tag,
body.light-theme .welcome-ornament {
  color: #8b6d34 !important;
}

body.light-theme .why-card,
body.light-theme .testimonial-card,
body.light-theme .product-card,
body.light-theme .cat-card,
body.light-theme .contact-form,
body.light-theme .contact-info-card,
body.light-theme .welcome-box,
body.light-theme .cart-sidebar,
body.light-theme .mobile-nav {
  background: rgba(255, 255, 255, 0.75) !important;
  border-color: rgba(160, 132, 79, 0.3) !important;
  color: #111111 !important;
}

body.light-theme .social-btn {
  background: rgba(0, 0, 0, 0.06) !important;
  color: #111111 !important;
  border-color: rgba(160, 132, 79, 0.3) !important;
}

body.light-theme .social-btn:hover {
  background: #8b6d34 !important;
  color: #ffffff !important;
}

/* Logo visibility */
.logo-img-dark {
  display: none !important;
}
.logo-img-light {
  display: block !important;
}

body.light-theme .logo-img-dark {
  display: block !important;
}
body.light-theme .logo-img-light {
  display: none !important;
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.03);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .logo-img {
    height: 38px;
    max-width: 140px;
  }
}

/* Footer & Auth logo adjustments */
.footer-logo .logo-img,
.auth-logo .logo-img {
  height: 36px;
}

/* Theme Toggle Button Styling */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-200);
  border: 1px solid var(--border-gold);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-right: 0.5rem;
}
.theme-toggle-btn:hover {
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold-300);
  border-color: var(--gold-300);
}

/* Toggle icon display */
.theme-toggle-btn .theme-icon-sun {
  display: none;
}
.theme-toggle-btn .theme-icon-moon {
  display: block;
}

body.light-theme .theme-toggle-btn .theme-icon-sun {
  display: block;
}
body.light-theme .theme-toggle-btn .theme-icon-moon {
  display: none;
}

/* ==========================================================================
   TIKTOK PRÊT-À-PORTER BANNER & SECTION
   ========================================================================== */
.tiktok-section {
  padding: 4rem 0;
  position: relative;
}

.tiktok-card {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.98));
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 169, 110, 0.12);
}

.tiktok-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(201, 169, 110, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.tiktok-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 169, 110, 0.15);
  color: var(--gold-200);
  border: 1px solid rgba(201, 169, 110, 0.3);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.tiktok-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-100);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.btn-tiktok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: #ffffff !important;
  border: 1px solid var(--gold-300);
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(201, 169, 110, 0.2);
  margin-bottom: 1.5rem;
}

.btn-tiktok:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-200));
  color: #080808 !important;
  border-color: var(--gold-200);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.4);
}

.tiktok-description {
  font-size: clamp(0.92rem, 2vw, 1.08rem);
  color: var(--text-200);
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.75;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 169, 110, 0.15);
}

body.light-theme .tiktok-card {
  background: linear-gradient(135deg, rgba(245, 237, 216, 0.98), rgba(234, 225, 204, 0.95));
  border-color: rgba(160, 132, 79, 0.35);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

body.light-theme .tiktok-title {
  color: #111111;
}

body.light-theme .tiktok-description {
  color: #222222;
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(160, 132, 79, 0.2);
}

/* ==========================================================================
   BOUTIQUE PHYSIQUE SHOWROOM SECTION
   ========================================================================== */
.store-section {
  padding: 5rem 0;
  position: relative;
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .store-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.store-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 169, 110, 0.15);
  border: 1px solid var(--border-gold);
}

.store-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.store-image-wrap:hover .store-image {
  transform: scale(1.03);
}

.store-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  color: var(--gold-200);
  border: 1px solid var(--border-gold);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.store-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.store-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-200);
}

.store-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.store-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--text-200);
}

.store-detail-item svg {
  color: var(--gold-300);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.store-detail-item strong {
  display: block;
  color: var(--text-100);
  font-size: 0.95rem;
}

.store-detail-item span {
  font-size: 0.9rem;
}

body.light-theme .store-image-wrap {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(160, 132, 79, 0.35);
}

body.light-theme .store-badge {
  background: rgba(245, 237, 216, 0.9);
  color: #8b6d34;
  border-color: rgba(160, 132, 79, 0.4);
}

body.light-theme .store-desc {
  color: #222222;
}

body.light-theme .store-details {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(160, 132, 79, 0.25);
}

body.light-theme .store-detail-item strong {
  color: #0a0a0a;
}

body.light-theme .store-detail-item span {
  color: #333333;
}


