/* ==========================================================================
   CHICAHMED — style.css
   Design premium inspiré Zara / Massimo Dutti / Hugo Boss / COS / Armani
   Palette : Noir · Blanc · Doré · Gris clair
   ========================================================================== */

/* ── GOOGLE FONTS ALREADY LOADED IN HTML ── */

/* ==========================================================================
   VARIABLES
   ========================================================================== */
:root {
  /* Couleurs */
  --black:   #080808;
  --dark:    #111111;
  --dark-2:  #1a1a1a;
  --dark-3:  #252525;
  --gray:    #888888;
  --gray-l:  #e0d9cc; /* Warm cream-gold text */
  --white:   #f5edd8; /* Warm champagne white */
  --off-white: #fcf9f2;
  --gold:    #c9a96e;
  --gold-l:  #e8c882;
  --gold-d:  #a0844f;
  --wa-green: #25d366;

  /* Typographie */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Mise en page */
  --max-w:   1340px;
  --nav-h:   80px;
  --gap:     clamp(1rem, 3vw, 2rem);
  --r-sm:    4px;
  --r-md:    8px;
  --r-lg:    16px;

  /* Transitions */
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --tr:      all 0.38s var(--ease);
  --tr-fast: all 0.18s ease-out;
  --tr-slow: all 0.65s var(--ease);

  /* Ombres */
  --shadow-sm: 0 2px 16px rgba(0,0,0,.35);
  --shadow-md: 0 8px 40px rgba(0,0,0,.5);
  --shadow-lg: 0 20px 70px rgba(0,0,0,.65);
}

/* ==========================================================================
   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: var(--black);
  color: var(--gray-l);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--tr-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; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--dark-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-d); }

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

/* ==========================================================================
   TYPOGRAPHIE
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--white);
}

h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); }
h4 { font-size: 1.05rem; font-weight: 500; }

p { font-weight: 300; line-height: 1.75; }

.section-tag {
  display: block;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--gold);
  margin-bottom: .9rem;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

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

.section-title { margin-bottom: .9rem; }

.section-sub {
  max-width: 520px;
  margin: 0 auto;
  font-size: .95rem;
  color: var(--gray);
}

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

/* Shimmer on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);
  transition: left .55s ease;
}
.btn:hover::before { left: 100%; }

.btn-light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-light:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,169,110,.35);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-l) 100%);
  color: var(--black);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-l) 0%, #f5d88a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,169,110,.4);
}

.btn-full { width: 100%; }

/* WhatsApp Bouton (header) */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  background: var(--wa-green);
  color: var(--white) !important;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-radius: var(--r-sm);
  transition: var(--tr);
  white-space: nowrap;
}
.btn-wa:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
}

/* WhatsApp inline contact */
.btn-wa-inline {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.1rem;
  background: var(--wa-green);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  margin-top: .75rem;
  transition: var(--tr-fast);
}
.btn-wa-inline:hover { background: #128c7e; }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none !important; display: none !important; }

.preloader-inner { text-align: center; }

.preloader-logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: .1em;
  margin-bottom: 2rem;
  animation: logoPulse 1.5s ease-in-out infinite alternate;
}

@keyframes logoPulse {
  from { opacity: .5; }
  to   { opacity: 1; color: var(--gold); }
}

.preloader-bar {
  width: 180px;
  height: 1.5px;
  background: var(--dark-3);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  width: 0;
  animation: fillBar 1.8s var(--ease) forwards;
}

@keyframes fillBar {
  to { width: 100%; }
}

/* ==========================================================================
   MODAL DE BIENVENUE
   ========================================================================== */
.welcome-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 8000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}
.welcome-modal.visible { display: flex; opacity: 1; pointer-events: auto; }
.welcome-modal.hiding {
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}

.welcome-box {
  background: var(--dark);
  border: 1px solid rgba(201,169,110,.3);
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 3.5rem);
  max-width: 560px;
  width: 100%;
  text-align: center;
  transform: translateY(30px) scale(.96);
  transition: transform .55s var(--ease);
  box-shadow: var(--shadow-lg);
}
.welcome-modal.visible .welcome-box {
  transform: translateY(0) scale(1);
}

.welcome-ornament {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}

.welcome-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: .06em;
}

.welcome-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 2rem;
}

.welcome-text {
  font-size: .95rem;
  color: var(--gray-l);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}
.welcome-text strong { color: var(--gold); }

.welcome-btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-l));
  color: var(--black);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: var(--tr);
}
.welcome-btn:hover {
  background: linear-gradient(135deg, var(--gold-l), #f5d88a);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201,169,110,.45);
}
.welcome-btn svg { transition: transform .3s ease; }
.welcome-btn:hover svg { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(8,8,8,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,169,110,.15);
  transition: var(--tr);
}
.header.scrolled {
  height: 64px;
  background: rgba(8,8,8,.96);
  border-bottom-color: rgba(201,169,110,.3);
  box-shadow: 0 4px 30px rgba(0,0,0,.6);
}

.header-inner {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--white);
  flex-shrink: 0;
  transition: color .2s;
}
.logo span { color: var(--gold); }
.logo:hover { color: var(--gold-l); }

/* Nav Desktop */
.nav,
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.2rem);
  flex-wrap: nowrap;
}

.nav-link {
  font-size: .76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.75);
  padding: .4rem .6rem;
  white-space: nowrap;
  position: relative;
  transition: color .25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav-link:hover { color: var(--gold-l); }
.nav-link:hover::after { width: 100%; }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* ── LOGO OFFICIEL CHICAHMED ── */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
}

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

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

.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;
}

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

.header-wa-icon {
  color: var(--wa-green);
  display: flex;
  align-items: center;
  transition: transform .25s, color .25s;
}
.header-wa-icon:hover { color: var(--white); transform: scale(1.15); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 9px;
  border-radius: var(--r-md);
  transition: background .2s;
}
.hamburger:hover { background: rgba(255,255,255,.08); }
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--tr);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

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

.mobile-nav {
  position: fixed;
  top: 0; right: -340px;
  width: 310px; height: 100dvh;
  background: var(--dark);
  border-left: 1px solid rgba(201,169,110,.2);
  z-index: 999;
  padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: right .4s var(--ease);
  overflow-y: auto;
}
.mobile-nav.active { right: 0; }

.mobile-nav-link {
  display: block;
  padding: .9rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s, padding-left .2s;
}
.mobile-nav-link:hover { color: var(--gold-l); padding-left: .5rem; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s var(--ease);
  animation: heroBgZoom 12s ease-out forwards;
}
@keyframes heroBgZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,8,8,.9) 0%,
    rgba(8,8,8,.6) 45%,
    rgba(8,8,8,.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 4vw, 2.5rem) 5rem;
  width: 100%;
}

.hero-tag {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp .7s .3s var(--ease) forwards;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.02;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp .75s .5s var(--ease) forwards;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  max-width: 480px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(25px);
  animation: slideUp .7s .7s var(--ease) forwards;
}

.hero-actions {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp .7s .9s var(--ease) forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: clamp(1.25rem, 4vw, 2.5rem);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: 0;
  animation: fadeIn .8s 1.4s ease forwards;
}
.hero-scroll-text {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(255,255,255,.4);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}
.hero-scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   ANIMATIONS DE BASE
   ========================================================================== */
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats-section {
  background: var(--dark);
  border-top: 1px solid rgba(201,169,110,.12);
  border-bottom: 1px solid rgba(201,169,110,.12);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item { padding: 1rem; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .5rem;
}

.stat-label {
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gray);
}

/* ==========================================================================
   CATÉGORIES
   ========================================================================== */
.categories-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.cat-card {
  position: relative;
  display: block;
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
}

.cat-img-wrap {
  position: absolute;
  inset: 0;
}
.cat-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .85s var(--ease);
}
.cat-card:hover .cat-img-wrap img { transform: scale(1.07); }

.cat-grad {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,8,8,.92) 0%,
    rgba(8,8,8,.35) 50%,
    rgba(8,8,8,.05) 100%
  );
  transition: background .4s;
}
.cat-card:hover .cat-grad {
  background: linear-gradient(
    to top,
    rgba(8,8,8,.95) 0%,
    rgba(8,8,8,.5) 55%,
    rgba(8,8,8,.1) 100%
  );
}

.cat-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.25rem;
  z-index: 2;
}

.cat-body h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: .5rem;
  transition: color .25s;
}
.cat-card:hover .cat-body h3 { color: var(--gold-l); }

.cat-btn {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.cat-btn span { transition: transform .25s; }
.cat-card:hover .cat-btn { opacity: 1; transform: translateY(0); }
.cat-card:hover .cat-btn span { transform: translateX(5px); }

/* ==========================================================================
   PRODUITS
   ========================================================================== */
.products-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: var(--dark);
}

.products-grid, .cat-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.product-card {
  background: var(--dark-2);
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
  transition: var(--tr), border-color .35s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: rgba(201,169,110,.25);
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0,0,0,.55);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .85s var(--ease);
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

/* Overlay quick order */
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s;
}
.product-card:hover .product-overlay { opacity: 1; }

.product-quick-btn {
  padding: .7rem 1.8rem;
  background: var(--gold);
  color: var(--black);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  border-radius: var(--r-sm);
  transform: translateY(12px);
  transition: background .25s, transform .35s var(--ease);
}
.product-card:hover .product-quick-btn { transform: translateY(0); }
.product-quick-btn:hover { background: var(--gold-l); }

/* Badge */
.product-badge {
  position: absolute;
  top: .85rem; left: .85rem;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .3rem .75rem;
  background: var(--gold);
  color: var(--black);
  border-radius: 2px;
  z-index: 2;
}
.product-badge.sale {
  background: #c0392b;
  color: var(--white);
}

/* Product Info */
.product-info {
  padding: 1.4rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--gold-d);
  margin-bottom: .4rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--white);
  margin-bottom: .4rem;
  line-height: 1.3;
  transition: color .2s;
}
.product-card:hover .product-name { color: var(--gold-l); }

.product-stars {
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: .05em;
  margin-bottom: .65rem;
}

.product-desc {
  font-size: .82rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1.1rem;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1rem;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold);
}

.product-old-price {
  font-size: .82rem;
  color: var(--gray);
  text-decoration: line-through;
  display: block;
}

/* Bouton WhatsApp produit */
.btn-product-wa {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1rem;
  background: var(--wa-green);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.btn-product-wa:hover { background: #128c7e; transform: translateY(-2px); }

/* ==========================================================================
   POURQUOI CHICAHMED
   ========================================================================== */
.why-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--black);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,.06), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.why-card:hover {
  border-color: rgba(201,169,110,.3);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.why-card:hover::before { opacity: 1; }

.why-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 1px solid rgba(201,169,110,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--gold);
  transition: background .35s, border-color .35s;
}
.why-card:hover .why-icon {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.why-card h3 {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--white);
  margin-bottom: .75rem;
}

.why-card p { font-size: .82rem; line-height: 1.65; }

/* ==========================================================================
   TÉMOIGNAGES
   ========================================================================== */
.testimonials-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--dark);
}

.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .6s var(--ease);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-md);
  padding: 2.5rem 2rem;
  transition: border-color .3s, transform .3s;
}
.testimonial-card:hover {
  border-color: rgba(201,169,110,.25);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-weight: 300;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-d), var(--gold));
  color: var(--black);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: .88rem;
  color: var(--white);
  font-weight: 600;
}
.testimonial-author span {
  font-size: .75rem;
  color: var(--gray);
}

/* Controls témoignages */
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.t-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--gray-l);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr-fast);
}
.t-arrow:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.testimonials-dots {
  display: flex;
  gap: .5rem;
}

.t-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--dark-3);
  cursor: pointer;
  border: none;
  transition: background .3s, transform .2s;
}
.t-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ==========================================================================
   GALERIE
   ========================================================================== */
.gallery-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--black);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-sm);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .85s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(8,8,8,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(201,169,110,.9);
  color: var(--black);
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(.7);
  transition: transform .35s var(--ease);
}
.gallery-item:hover .gallery-overlay span { transform: scale(1); }

/* Gallery label under icon */
.gallery-label {
  position: absolute;
  bottom: 1rem;
  left: 0; right: 0;
  text-align: center;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s, transform .35s;
}
.gallery-item:hover .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* Professional tagline under gallery */
.gallery-tagline {
  margin-top: 3.5rem;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.gallery-tagline-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto 1.8rem;
}

.gallery-quote-icon {
  color: var(--gold);
  font-size: 1.3rem;
  margin-top: .25rem;
  flex-shrink: 0;
  opacity: .8;
}

.gallery-tagline-text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-muted);
  font-style: italic;
}

.gallery-tagline-text strong {
  color: var(--gold);
  font-style: normal;
}

.gallery-tagline-sub {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.gallery-tagline-sub strong {
  color: var(--text-primary);
}

.btn-visite {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  letter-spacing: .03em;
  transition: transform .25s var(--ease), box-shadow .25s;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-visite:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,.45);
}


.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.lightbox.active { opacity: 1; visibility: visible; }

.lightbox-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}
.lightbox-content img,
.lightbox-content video {
  max-height: 80dvh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: #000;
  border-radius: var(--r-md);
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  color: var(--gray-l);
  font-size: .88rem;
  margin-top: 1rem;
  font-style: italic;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 2.2rem;
  color: rgba(255,255,255,.6);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color .2s, transform .2s;
}
.lightbox-close:hover { color: var(--white); transform: rotate(90deg); }

.lightbox-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 3rem;
  color: rgba(255,255,255,.5);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .2s, transform .25s;
  padding: 1rem;
  line-height: 1;
}
.lightbox-arrow:hover { color: var(--gold); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-4px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(4px); }

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--dark);
  border-top: 1px solid rgba(201,169,110,.1);
}

.newsletter-box {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding: 4rem 3rem;
  background: var(--dark-2);
  border: 1px solid rgba(201,169,110,.25);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.newsletter-box::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,169,110,.07), transparent 70%);
  pointer-events: none;
}

.newsletter-box h2 { margin-bottom: .85rem; }
.newsletter-box p { color: var(--gray); margin-bottom: 2rem; font-size: .92rem; }

.newsletter-form { display: flex; flex-direction: column; align-items: center; gap: .75rem; }

.newsletter-field {
  display: flex;
  width: 100%;
  max-width: 460px;
  border: 1px solid rgba(201,169,110,.3);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color .3s;
}
.newsletter-field:focus-within { border-color: var(--gold); }

.newsletter-field input {
  flex: 1;
  padding: .9rem 1.25rem;
  font-size: .9rem;
  color: var(--white);
  background: var(--dark-3);
}
.newsletter-field input::placeholder { color: rgba(255,255,255,.3); }

.newsletter-field button {
  padding: .9rem 1.5rem;
  background: var(--gold);
  color: var(--black);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  flex-shrink: 0;
  transition: background .2s;
}
.newsletter-field button:hover { background: var(--gold-l); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 1px solid rgba(201,169,110,.25);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: .35rem;
}
.contact-info-item p { font-size: .88rem; color: var(--gray-l); line-height: 1.7; }

.contact-map {
  margin-top: 1.5rem;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.contact-map iframe {
  width: 100%; height: 240px;
  border: none;
  display: block;
  filter: grayscale(60%) invert(85%);
}

/* Formulaire Contact */
.contact-form {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-lg);
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: .55rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  color: var(--white);
  font-size: .9rem;
  transition: border-color .3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 130px; }

.field-error {
  display: block;
  font-size: .72rem;
  color: #f87171;
  margin-top: .35rem;
}

.form-message {
  text-align: center;
  font-size: .82rem;
  margin-top: .75rem;
  min-height: 1.2em;
}
.form-message.success { color: #4ade80; }
.form-message.error   { color: #f87171; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--dark); border-top: 1px solid rgba(201,169,110,.15); }

.footer-top { padding: 5rem 0 3.5rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .06em;
  display: inline-block;
  margin-bottom: 1.1rem;
}
.footer-logo span { color: var(--gold); }
.footer-logo:hover { color: var(--gold-l); }

.footer-brand p {
  font-size: .86rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

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

.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--gray-l);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr-fast);
}
.social-btn:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-3px);
}

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

.footer-col ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-col ul li a {
  font-size: .86rem;
  color: var(--gray);
  transition: color .2s, padding-left .2s;
}
.footer-col ul li a:hover { color: var(--gold-l); padding-left: 4px; }

.footer-col p { font-size: .86rem; color: var(--gray); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.75rem 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.3); }
.footer-payment {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
}

/* ==========================================================================
   BOUTON RETOUR EN HAUT
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 7rem; right: 1.75rem;
  width: 44px; height: 44px;
  background: var(--dark-2);
  border: 1px solid rgba(201,169,110,.3);
  border-radius: 50%;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s, transform .4s, background .2s;
  pointer-events: none;
  box-shadow: var(--shadow-sm);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ==========================================================================
   WHATSAPP FLOTTANT
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 2rem; right: 1.75rem;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--wa-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: var(--tr);
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
  animation: none;
}
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 4px 30px rgba(37,211,102,.65); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablette large (≤1100px) */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid .cat-card:nth-child(4),
  .categories-grid .cat-card:nth-child(5) { aspect-ratio: 4/3; }

  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* Tablette (≤900px) */
@media (max-width: 900px) {
  :root { --nav-h: 68px; }

  /* Header */
  .nav, .nav-links, .header-actions .btn-wa { display: none !important; }
  .hamburger { display: flex !important; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }

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

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Categories */
  .categories-grid { grid-template-columns: repeat(2, 1fr); }

  /* Products */
  .products-grid, .cat-products-grid { grid-template-columns: repeat(2, 1fr); }

  /* Why */
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  /* Testimonials : 1 card */
  .testimonial-card { flex: 0 0 100%; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Mobile (≤580px) */
@media (max-width: 580px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  input, select, textarea {
    font-size: 16px !important;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .hero-title { font-size: clamp(2.2rem, 8.5vw, 3.2rem); }
  .hero-actions { flex-direction: column; gap: .75rem; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; min-height: 44px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; }

  .products-grid, .cat-products-grid { 
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 0.65rem !important; 
  }
  
  .product-card {
    padding: 0;
  }

  .product-name, .product-title { 
    font-size: 0.82rem !important; 
    line-height: 1.3 !important;
  }
  
  .product-price { 
    font-size: 0.88rem !important; 
  }

  .btn-product-wa, .product-add-btn {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.68rem !important;
    min-height: 40px;
    justify-content: center;
  }

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

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }

  .welcome-box { padding: 2rem 1.25rem; width: 92vw; max-height: 90vh; overflow-y: auto; }
  .welcome-title { font-size: 1.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { padding: 3rem 0 2rem; }

  .newsletter-box { padding: 2rem 1.25rem; }
  .newsletter-field { flex-direction: column; gap: 0.5rem; }
  .newsletter-field input, .newsletter-field button { width: 100%; border-radius: var(--r-sm); min-height: 44px; }

  .contact-form { padding: 1.75rem 1.25rem; }
  
  .wa-float {
    bottom: 1.5rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }
  
  .back-to-top {
    bottom: 5.5rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
  }
}

/* Très petit mobile (≤360px) */
@media (max-width: 360px) {
  .categories-grid, .products-grid, .cat-products-grid { 
    grid-template-columns: 1fr !important; 
  }
}

/* ==========================================================================
   THEME SWITCHING (LIGHT THEME OVERRIDES)
   ========================================================================== */
body.light-theme {
  --black: #eae1cc;       /* Warm champagne gold background */
  --dark: #dfd7c0;
  --dark-2: #d4cbb2;
  --dark-3: #c9bfa5;
  --gray: #555555;
  --gray-l: #111111;      /* Dark text color */
  --white: #080808;       /* Elements that were white become dark */
  --off-white: #0a0a0a;
  --gold-l: #8b6d34;      /* High contrast dark gold for readability on light */
  --gold-d: #a0844f;
}

/* Header & Nav overrides for Light Theme */
body.light-theme .header {
  background: rgba(234, 225, 204, 0.92) !important;
  border-bottom-color: rgba(139, 109, 52, 0.25) !important;
}
body.light-theme .header.scrolled {
  background: rgba(234, 225, 204, 0.98) !important;
  border-bottom-color: rgba(139, 109, 52, 0.4) !important;
}
body.light-theme .nav-link {
  color: #111111 !important;
  font-weight: 600 !important;
}
body.light-theme .nav-link:hover {
  color: #8b6d34 !important;
}
body.light-theme .header-wa-icon {
  color: #128c7e !important;
}
body.light-theme .header-wa-icon:hover {
  color: #080808 !important;
}
body.light-theme .hamburger:hover {
  background: rgba(0, 0, 0, 0.08) !important;
}
body.light-theme .hamburger span {
  background: #111111 !important;
}

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

/* Headings in Light Theme */
body.light-theme h1:not(.hero-title),
body.light-theme h2:not(.hero-title),
body.light-theme h3:not(.hero-title),
body.light-theme h4:not(.hero-title),
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 .why-title,
body.light-theme .welcome-title,
body.light-theme .footer-col h4,
body.light-theme .cat-page-title,
body.light-theme .gallery-tagline-text {
  color: #080808 !important;
}

/* Body Text & Paragraphs in Light Theme */
body.light-theme p:not(.hero-sub):not(.cat-page-sub),
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,
body.light-theme .gallery-label,
body.light-theme .filter-group h4,
body.light-theme .filter-option label,
body.light-theme .cat-count,
body.light-theme .cat-sort label {
  color: #222222 !important;
}

/* Placeholders in Light Theme */
body.light-theme .form-group input::placeholder,
body.light-theme .form-group textarea::placeholder,
body.light-theme .newsletter-field input::placeholder,
body.light-theme select {
  color: #444444 !important;
}

/* Dark-background Hero sections MUST keep crisp white & gold text even in Light Theme */
body.light-theme .hero .hero-title,
body.light-theme .hero .hero-sub,
body.light-theme .cat-hero .cat-page-title,
body.light-theme .cat-hero .cat-page-sub,
body.light-theme .about-hero h1,
body.light-theme .about-hero p {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
body.light-theme .hero .hero-tag,
body.light-theme .cat-hero .cat-page-tag {
  color: var(--gold-l, #c9a96e) !important;
}

/* Accent Colors & Prices in Light Theme */
body.light-theme .stat-number,
body.light-theme .product-price,
body.light-theme .price-new,
body.light-theme .section-tag,
body.light-theme .welcome-ornament,
body.light-theme .product-modal-price,
body.light-theme .product-cat,
body.light-theme .product-brand {
  color: #8b6d34 !important;
  font-weight: 700;
}

/* Card Backgrounds & Borders in Light Theme */
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 .mobile-nav,
body.light-theme .filter-group,
body.light-theme .cat-toolbar {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(139, 109, 52, 0.35) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05) !important;
  color: #111111 !important;
}

/* Buttons Contrast Overrides for Light Theme */
body.light-theme .btn-gold,
body.light-theme .btn-primary {
  background: #a0844f !important;
  color: #ffffff !important;
  border-color: #8b6d34 !important;
}
body.light-theme .btn-gold:hover,
body.light-theme .btn-primary:hover {
  background: #8b6d34 !important;
  color: #ffffff !important;
}

body.light-theme .btn-light {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid rgba(0, 0, 0, 0.25) !important;
}
body.light-theme .btn-light:hover {
  background: #111111 !important;
  color: #ffffff !important;
}

body.light-theme .btn-wa,
body.light-theme .btn-product-wa,
body.light-theme .product-add-btn,
body.light-theme .product-modal-btn-wa {
  background: #25d366 !important;
  color: #ffffff !important;
}

body.light-theme .btn-tiktok,
body.light-theme .product-modal-btn-tiktok {
  background: #080808 !important;
  color: #ffffff !important;
}

/* Badges Visibility in Light Theme */
body.light-theme .p-badge,
body.light-theme .product-badge {
  color: #ffffff !important;
}
body.light-theme .p-badge-new { background: #1e3a8a !important; color: #ffffff !important; }
body.light-theme .p-badge-sale { background: #b91c1c !important; color: #ffffff !important; }
body.light-theme .p-badge-hot { background: #b45309 !important; color: #ffffff !important; }

/* Social Buttons in Light Theme */
body.light-theme .social-btn {
  background: rgba(0, 0, 0, 0.08) !important;
  color: #111111 !important;
  border-color: rgba(139, 109, 52, 0.3) !important;
}
body.light-theme .social-btn:hover {
  background: #8b6d34 !important;
  color: #ffffff !important;
}

body.light-theme .btn-outline-light {
  border-color: #111111 !important;
  color: #111111 !important;
}
body.light-theme .btn-outline-light:hover {
  background: #111111 !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: 42px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}
.logo:hover .logo-img {
  opacity: 0.8;
}

/* 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(--gray-l);
  border: 1px solid rgba(201, 169, 110, 0.2);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: var(--tr-fast);
  margin-right: 0.5rem;
}
.theme-toggle-btn:hover {
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold);
  border-color: var(--gold);
}

/* 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);
  border-radius: var(--r-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-l);
  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(--white);
  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);
  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), var(--gold-l));
  color: #080808 !important;
  border-color: var(--gold-l);
  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(--gray-l);
  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(--r-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(--r-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-l);
  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(--gray-l);
}

.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(--r-md);
  padding: 1.25rem 1.5rem;
}

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

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

.store-detail-item strong {
  display: block;
  color: var(--white);
  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;
}


/* ==========================================================================
   PRODUCT CARD — Enriched: Colors, Sizes, Video indicator, Gallery
   ========================================================================== */

/* ── Color Dots ────────────────────────────────────────────── */
.product-colors {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  flex-wrap: wrap;
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,169,110,0.35);
  cursor: pointer;
  transition: var(--tr-fast);
  box-shadow: 0 0 0 0 transparent;
}

.color-dot:hover {
  transform: scale(1.3);
  box-shadow: 0 0 0 2px var(--gold);
}

/* ── Size Badges ───────────────────────────────────────────── */
.product-sizes {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}

.size-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 0.35rem;
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: 3px;
  font-size: 0.62rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--gray-l);
  letter-spacing: 0.03em;
  transition: var(--tr-fast);
  cursor: default;
  background: rgba(201,169,110,0.06);
}

.size-badge:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,169,110,0.12);
}

/* ── Video Indicator on card ───────────────────────────────── */
.product-video-indicator {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.6rem;
  z-index: 3;
  pointer-events: none;
}

/* ── Gallery Thumbnails (on product detail / card expand) ── */
.gallery-thumbs {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark-2);
  transition: var(--tr-fast);
  padding: 0;
  position: relative;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.gallery-thumb-video {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark-3), var(--dark));
}

.video-play-icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

/* ── Product Detail Page — Enhanced Gallery ─────────────── */
.product-gallery {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--dark-2);
}

.product-gallery-main {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.product-gallery-main.is-video {
  aspect-ratio: 9 / 16;
  max-height: 600px;
}

.product-gallery video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
}

.product-detail-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.25rem 0;
}

.product-detail-thumbs::-webkit-scrollbar {
  display: none;
}

.product-detail-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 6px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  transition: var(--tr-fast);
  position: relative;
  background: var(--dark-3);
  padding: 0;
}

.product-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-thumb.active {
  border-color: var(--gold);
}

.product-detail-thumb:hover {
  border-color: var(--gold-l);
}

.product-detail-thumb-video {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-thumb-video .video-play-icon {
  width: 22px;
  height: 22px;
}

/* ── Product Detail — Sizes & Colors selectors ─────────── */
.product-detail-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.product-detail-sizes .size-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 36px;
  padding: 0 0.75rem;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--gray-l);
  cursor: pointer;
  transition: var(--tr-fast);
  background: transparent;
}

.product-detail-sizes .size-option:hover,
.product-detail-sizes .size-option.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,169,110,0.1);
}

.product-detail-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.product-detail-colors .color-option {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--tr-fast);
  position: relative;
}

.product-detail-colors .color-option:hover,
.product-detail-colors .color-option.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,169,110,0.3);
}

.product-detail-colors .color-option::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: inherit;
}

/* ── Lightbox ──────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease);
}

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

.lightbox-overlay img,
.lightbox-overlay video {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--tr-fast);
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(201,169,110,0.3);
  border-color: var(--gold);
}

/* ── Category page product card — enhanced with gallery ─── */
.cat-product-gallery {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: var(--dark-2);
  aspect-ratio: 3 / 4;
}

.cat-product-gallery img.cat-product-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease), opacity 0.3s ease;
}

.cat-product-gallery:hover img.cat-product-main-img {
  transform: scale(1.05);
}

.cat-product-thumbstrip {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  z-index: 3;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-product-thumbstrip::-webkit-scrollbar {
  display: none;
}

.cat-product-thumb {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.3);
  overflow: hidden;
  cursor: pointer;
  transition: var(--tr-fast);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  padding: 0;
}

.cat-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-product-thumb.active,
.cat-product-thumb:hover {
  border-color: var(--gold);
}

.cat-product-thumb-video {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-product-thumb-video .video-play-icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

/* ── Product card info — subcategory & brand ───────────── */
.product-brand {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

/* ── Light theme overrides for new components ─────────── */
body.light-theme .size-badge {
  border-color: rgba(160,132,79,0.3);
  color: #555;
  background: rgba(160,132,79,0.08);
}

body.light-theme .size-badge:hover {
  border-color: var(--gold-d);
  color: var(--gold-d);
}

body.light-theme .color-dot {
  border-color: rgba(160,132,79,0.4);
}

body.light-theme .product-video-indicator {
  background: rgba(255,255,255,0.85);
  border-color: rgba(160,132,79,0.5);
  color: var(--gold-d);
}

body.light-theme .gallery-thumb {
  background: #f0ece0;
}

body.light-theme .gallery-thumb-video {
  background: linear-gradient(135deg, #e8e2d4, #ddd6c4);
}

body.light-theme .cat-product-thumb {
  background: rgba(255,255,255,0.6);
  border-color: rgba(0,0,0,0.15);
}

body.light-theme .product-detail-sizes .size-option {
  border-color: rgba(160,132,79,0.3);
  color: #444;
}

body.light-theme .product-detail-sizes .size-option:hover,
body.light-theme .product-detail-sizes .size-option.active {
  border-color: var(--gold-d);
  color: var(--gold-d);
  background: rgba(160,132,79,0.1);
}

/* ==========================================================================
   PRODUCT POP-UP MODAL (GALERIE PHOTOS & VIDÉOS REGROUPÉES)
   ========================================================================== */
.product-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.product-modal-container {
  background: var(--dark-2, #161616);
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 14px;
  max-width: 980px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
}

@media (max-width: 820px) {
  .product-modal-container {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }
}

.product-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}

.product-modal-close:hover {
  background: var(--gold);
  color: #000;
  transform: scale(1.1);
}

.product-modal-media {
  background: #080808;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 820px) {
  .product-modal-media {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.product-modal-main-view {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 460px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 169, 110, 0.2);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.product-modal-main-view img,
.product-modal-main-view video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

.product-modal-thumbs-label {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  width: 100%;
  margin-bottom: -0.4rem;
}

.product-modal-thumbs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  width: 100%;
  padding: 0.4rem 0;
  scrollbar-width: thin;
}

.product-modal-thumb {
  position: relative;
  flex: 0 0 64px;
  height: 76px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.25s, transform 0.25s;
  background: #1a1a1a;
}

.product-modal-thumb img,
.product-modal-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal-thumb:hover,
.product-modal-thumb.active {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.product-modal-thumb-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.85);
  color: var(--gold);
  font-size: 0.6rem;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: bold;
  border: 1px solid rgba(201, 169, 110, 0.4);
}

.product-modal-info {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
}

.product-modal-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 600;
}

.product-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  line-height: 1.2;
  margin: 0.3rem 0;
}

.product-modal-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-l);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.product-modal-old-price {
  font-size: 1rem;
  color: var(--gray);
  text-decoration: line-through;
  font-weight: 400;
}

.product-modal-badge-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 30px;
  color: var(--gold-l);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.4rem;
}

.product-modal-desc {
  font-size: 0.95rem;
  color: var(--gray-l);
  line-height: 1.7;
}

.product-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.product-modal-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  background: var(--wa-green);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 6px;
  transition: var(--tr);
  text-decoration: none;
}

.product-modal-btn-wa:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.product-modal-btn-tiktok {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--tr);
}

.product-modal-btn-tiktok:hover {
  border-color: var(--gold);
  color: var(--gold);
}

