/* =========================================================
   DESIGN SYSTEM — Lilas & Résine
   Palette : aubergine profond, lavande poudrée, ivoire chaud,
   touches dorées. Inspiration : bijouterie artisanale moderne.
   ========================================================= */
:root {
  /* Couleurs principales */
  --aubergine: #3d1f47;
  --aubergine-deep: #2a1431;
  --violet: #6b3d7a;
  --violet-soft: #9b7fa8;
  --lavande: #d4c5dc;
  --lavande-pale: #ece4f0;
  --ivoire: #faf6f2;
  --ivoire-chaud: #f3ebe2;
  --or: #c9a35c;
  --or-clair: #e0c690;
  --rose-poudre: #e8c8d4;

  /* Typographie */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;

  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;

  /* Rayons */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(61, 31, 71, 0.08);
  --shadow-md: 0 8px 24px rgba(61, 31, 71, 0.12);
  --shadow-lg: 0 20px 60px rgba(61, 31, 71, 0.18);

  /* Transitions */
  --t-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivoire);
  color: var(--aubergine-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-weight: 400;
}

/* Texture noise subtile sur le fond */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
  z-index: 1;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* =========================================================
   HEADER — mobile first
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 242, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(61, 31, 71, 0.08);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  max-width: 1400px;
  margin: 0 auto;
  gap: var(--space-sm);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--aubergine);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-style: italic;
}
.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--aubergine), var(--violet));
  border-radius: 50%;
  display: grid; place-items: center;
  font-style: normal;
  color: var(--or-clair);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.2), 0 2px 8px rgba(61,31,71,0.3);
}

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

.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--aubergine);
  transition: var(--t-fast);
  position: relative;
}
.icon-btn:hover { background: var(--lavande-pale); }
.icon-btn svg { width: 22px; height: 22px; }

.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--aubergine);
  color: var(--or-clair);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  padding: 0 4px;
  border: 2px solid var(--ivoire);
}

/* Menu desktop */
.nav-desktop {
  display: none;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
    justify-content: center;
  }
  .nav-link {
    position: relative;
    padding: 0.6rem 0.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--aubergine);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--or);
    transition: var(--t-base);
  }
  .nav-link:hover::after { width: 100%; }
  .nav-link-arrow {
    width: 10px; height: 10px;
    transition: var(--t-fast);
  }
  .nav-link:hover .nav-link-arrow { transform: rotate(180deg); }

  /* Dropdown au hover */
  .nav-item { position: relative; }
  .nav-dropdown {
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--ivoire);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: var(--t-base);
    border: 1px solid var(--lavande-pale);
  }
  .nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown-item {
    display: block;
    padding: 0.6rem var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--aubergine);
    transition: var(--t-fast);
  }
  .nav-dropdown-item:hover {
    background: var(--lavande-pale);
    color: var(--violet);
    padding-left: calc(var(--space-sm) + 4px);
  }
  .nav-dropdown-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--violet-soft);
    padding: 0.4rem var(--space-sm) 0.3rem;
    margin-top: 0.4rem;
    border-top: 1px solid var(--lavande-pale);
  }
  .nav-dropdown-title:first-child {
    margin-top: 0;
    border-top: none;
  }

  .burger { display: none; }
}

.burger {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--aubergine);
}
.burger svg { width: 24px; height: 24px; }

/* =========================================================
   MENU MOBILE OVERLAY
   ========================================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ivoire);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--lavande-pale);
}
.mobile-menu-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--aubergine);
}

.mobile-menu-list {
  list-style: none;
  padding: var(--space-md);
  flex: 1;
}

.mobile-menu-item {
  border-bottom: 1px solid var(--lavande-pale);
}
.mobile-menu-item:last-child { border-bottom: none; }

.mobile-menu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--aubergine);
  width: 100%;
  text-align: left;
}
.mobile-menu-link .chevron {
  transition: var(--t-base);
  color: var(--violet-soft);
}
.mobile-menu-item.expanded .chevron { transform: rotate(90deg); }

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-menu-item.expanded .mobile-submenu { max-height: 600px; }

.mobile-submenu-inner {
  padding: 0 0 var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.mobile-submenu-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--violet-soft);
  padding: 0.6rem 0 0.3rem;
}
.mobile-submenu-item {
  padding: 0.7rem var(--space-sm);
  font-size: 1rem;
  color: var(--aubergine);
  background: var(--lavande-pale);
  border-radius: var(--radius-sm);
  transition: var(--t-fast);
  cursor: pointer;
}
.mobile-submenu-item:hover {
  background: var(--lavande);
  transform: translateX(4px);
}

.mobile-menu-footer {
  padding: var(--space-md);
  background: var(--aubergine);
  color: var(--ivoire);
}
.mobile-menu-footer-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--or-clair);
  margin-bottom: 0.3rem;
}
.mobile-menu-footer-text {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: var(--space-sm);
}
.mobile-menu-footer-btn {
  background: var(--or);
  color: var(--aubergine-deep);
  padding: 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  width: 100%;
  font-size: 0.9rem;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
  background: linear-gradient(180deg, var(--ivoire) 0%, var(--lavande-pale) 100%);
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}
.hero-blob-1 {
  background: var(--rose-poudre);
  top: -80px; right: -80px;
}
.hero-blob-2 {
  background: var(--lavande);
  bottom: -100px; left: -100px;
}

.hero-content {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--violet);
  background: rgba(255, 255, 255, 0.6);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--lavande);
  margin-bottom: var(--space-md);
  font-weight: 500;
}
.hero-eyebrow::before {
  content: '✦';
  color: var(--or);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--aubergine);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--violet);
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 0.18em;
  background: var(--or-clair);
  opacity: 0.5;
  z-index: -1;
  border-radius: 4px;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--aubergine);
  opacity: 0.75;
  margin-bottom: var(--space-lg);
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.btn-primary, .btn-secondary {
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--t-base);
  cursor: pointer;
}
.btn-primary {
  background: var(--aubergine);
  color: var(--ivoire);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--aubergine-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-primary svg { transition: transform var(--t-base); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  background: transparent;
  color: var(--aubergine);
  border: 1.5px solid var(--aubergine);
}
.btn-secondary:hover {
  background: var(--aubergine);
  color: var(--ivoire);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(61, 31, 71, 0.1);
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--aubergine);
  opacity: 0.8;
}
.hero-feature-icon {
  width: 32px; height: 32px;
  background: var(--ivoire);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--violet);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .hero {
    padding: var(--space-xl) var(--space-lg);
    min-height: 75vh;
    display: flex;
    align-items: center;
  }
  .hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
  }
  .hero-visual {
    position: relative;
    height: 500px;
  }
  .hero-blob-1 { width: 500px; height: 500px; top: -100px; right: -100px; }
  .hero-blob-2 { width: 400px; height: 400px; bottom: -100px; left: -50px; }
}

/* Visuel hero — décor de moules stylisé */
.hero-visual {
  position: relative;
  margin-top: var(--space-md);
  display: none;
}
@media (min-width: 900px) {
  .hero-visual { display: block; }
}

.shape-card {
  position: absolute;
  background: linear-gradient(135deg, var(--ivoire), var(--ivoire-chaud));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  transition: var(--t-slow);
}
.shape-card:hover { transform: scale(1.05) rotate(0deg) !important; }

.shape-card-1 {
  top: 40px; left: 0;
  width: 200px; height: 200px;
  transform: rotate(-6deg);
  background: linear-gradient(135deg, var(--lavande-pale), var(--lavande));
}
.shape-card-2 {
  top: 0; right: 40px;
  width: 180px; height: 220px;
  transform: rotate(4deg);
  background: linear-gradient(135deg, var(--aubergine), var(--violet));
  color: var(--ivoire);
}
.shape-card-3 {
  bottom: 40px; left: 60px;
  width: 220px; height: 180px;
  transform: rotate(3deg);
  background: linear-gradient(135deg, var(--rose-poudre), var(--lavande));
}
.shape-card-4 {
  bottom: 0; right: 0;
  width: 170px; height: 170px;
  transform: rotate(-4deg);
  background: linear-gradient(135deg, var(--or-clair), var(--or));
}

.shape-svg { width: 80%; height: 60%; }
.shape-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
}

/* =========================================================
   SECTION CATÉGORIES
   ========================================================= */
.section {
  padding: var(--space-xl) var(--space-md);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--violet);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 500;
  color: var(--aubergine);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-subtitle {
  margin-top: var(--space-sm);
  color: var(--aubergine);
  opacity: 0.7;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
@media (min-width: 700px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
}
@media (min-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(5, 1fr); }
}

.category-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--t-base);
  background: var(--lavande-pale);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-bg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: var(--t-slow);
}
.category-card:hover .category-bg { transform: scale(1.08); }

.cat-1 { background: linear-gradient(135deg, var(--rose-poudre), var(--lavande)); }
.cat-2 { background: linear-gradient(135deg, var(--lavande), var(--violet-soft)); }
.cat-3 { background: linear-gradient(135deg, var(--or-clair), var(--rose-poudre)); }
.cat-4 { background: linear-gradient(135deg, var(--violet-soft), var(--violet)); }
.cat-5 { background: linear-gradient(135deg, var(--ivoire-chaud), var(--or-clair)); }

.category-icon {
  width: 60%; height: 60%;
  filter: drop-shadow(0 4px 12px rgba(61, 31, 71, 0.2));
}

.category-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-sm);
  background: linear-gradient(180deg, transparent, rgba(42, 20, 49, 0.92));
  color: var(--ivoire);
}
.category-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}
.category-count {
  font-size: 0.75rem;
  opacity: 0.8;
  color: var(--or-clair);
}

/* =========================================================
   PRODUITS — section bestsellers
   ========================================================= */
.products-section {
  background: var(--lavande-pale);
  padding: var(--space-xl) 0;
  position: relative;
  z-index: 2;
}

.products-header {
  padding: 0 var(--space-md);
  max-width: 1400px;
  margin: 0 auto var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.products-header .section-header {
  text-align: left;
  margin-bottom: 0;
}

.filter-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar { display: none; }

.chip {
  padding: 0.5rem 1rem;
  background: var(--ivoire);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--aubergine);
  white-space: nowrap;
  border: 1px solid transparent;
  transition: var(--t-fast);
  cursor: pointer;
}
.chip.active {
  background: var(--aubergine);
  color: var(--ivoire);
}
.chip:hover:not(.active) { border-color: var(--violet); }

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  padding: 0 var(--space-md);
  max-width: 1400px;
  margin: 0 auto;
}
@media (min-width: 700px) { .products-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); } }
@media (min-width: 1100px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: var(--ivoire);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--t-base);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ivoire-chaud);
  display: grid;
  place-items: center;
}
.product-image svg {
  width: 65%; height: 65%;
  transition: var(--t-slow);
}
.product-card:hover .product-image svg { transform: scale(1.1) rotate(3deg); }

.product-img-1 { background: linear-gradient(135deg, var(--lavande-pale), var(--rose-poudre)); }
.product-img-2 { background: linear-gradient(135deg, var(--ivoire-chaud), var(--lavande)); }
.product-img-3 { background: linear-gradient(135deg, var(--rose-poudre), var(--or-clair)); }
.product-img-4 { background: linear-gradient(135deg, var(--lavande), var(--violet-soft)); }

.product-badge {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  background: var(--aubergine);
  color: var(--or-clair);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-badge.promo { background: var(--or); color: var(--aubergine-deep); }

.product-fav {
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  width: 36px; height: 36px;
  background: rgba(250, 246, 242, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--aubergine);
  transition: var(--t-fast);
}
.product-fav:hover { color: var(--or); transform: scale(1.1); }
.product-fav.active { color: #d4395a; }
.product-fav svg { width: 18px; height: 18px; }

.product-info {
  padding: 0.9rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cat {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--violet);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--aubergine);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.product-sizes {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}
.size-tag {
  font-size: 0.7rem;
  color: var(--violet);
  padding: 0.15rem 0.5rem;
  background: var(--lavande-pale);
  border-radius: var(--radius-full);
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--aubergine);
}
.product-price-old {
  font-size: 0.85rem;
  color: var(--violet-soft);
  text-decoration: line-through;
  margin-right: 0.3rem;
  font-family: var(--font-body);
  font-weight: 400;
}

.add-btn {
  width: 36px; height: 36px;
  background: var(--aubergine);
  color: var(--ivoire);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: var(--t-fast);
}
.add-btn:hover { background: var(--or); color: var(--aubergine-deep); transform: scale(1.1); }
.add-btn.added { background: #4caf78; }
.add-btn svg { width: 18px; height: 18px; }

/* =========================================================
   SECTION SUR-MESURE
   ========================================================= */
.custom-section {
  position: relative;
  padding: var(--space-xl) var(--space-md);
  background: var(--aubergine);
  color: var(--ivoire);
  overflow: hidden;
  z-index: 2;
}

.custom-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 25% 25%, var(--or) 1px, transparent 2px),
    radial-gradient(circle at 75% 75%, var(--or) 1px, transparent 2px);
  background-size: 60px 60px;
  pointer-events: none;
}

.custom-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.custom-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--or-clair);
  margin-bottom: 0.5rem;
}

.custom-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}
.custom-title em {
  font-style: italic;
  color: var(--or-clair);
}

.custom-text {
  opacity: 0.85;
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--or);
  color: var(--aubergine-deep);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--t-base);
  box-shadow: 0 8px 24px rgba(201, 163, 92, 0.3);
}
.btn-gold:hover {
  background: var(--or-clair);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 163, 92, 0.4);
}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter {
  padding: var(--space-xl) var(--space-md);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.newsletter-card {
  background: linear-gradient(135deg, var(--lavande-pale), var(--rose-poudre));
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before, .newsletter-card::after {
  content: '✦';
  position: absolute;
  color: var(--or);
  opacity: 0.3;
  font-size: 3rem;
}
.newsletter-card::before { top: 1rem; left: 1rem; }
.newsletter-card::after { bottom: 1rem; right: 1rem; }

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-style: italic;
  color: var(--aubergine);
  margin-bottom: var(--space-sm);
}
.newsletter-text {
  color: var(--aubergine);
  opacity: 0.75;
  margin-bottom: var(--space-md);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 460px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .newsletter-form { flex-direction: row; }
}

.newsletter-input {
  flex: 1;
  padding: 0.95rem 1.2rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--ivoire);
  color: var(--aubergine);
  outline: none;
  transition: var(--t-fast);
}
.newsletter-input:focus { border-color: var(--aubergine); }

.newsletter-btn {
  background: var(--aubergine);
  color: var(--ivoire);
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: var(--t-fast);
}
.newsletter-btn:hover { background: var(--aubergine-deep); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--aubergine-deep);
  color: var(--ivoire);
  padding: var(--space-xl) var(--space-md) var(--space-md);
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand .logo { color: var(--ivoire); margin-bottom: var(--space-sm); }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  opacity: 0.8;
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--or-clair);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.9rem;
  opacity: 0.75;
  transition: var(--t-fast);
}
.footer-col a:hover { opacity: 1; color: var(--or-clair); }

.footer-bottom {
  max-width: 1400px;
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(250, 246, 242, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* =========================================================
   STICKY CART (mobile)
   ========================================================= */
.sticky-cart {
  position: fixed;
  bottom: 1rem;
  left: 1rem; right: 1rem;
  background: var(--aubergine);
  color: var(--ivoire);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-full);
  display: none;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(61, 31, 71, 0.3);
  z-index: 90;
  cursor: pointer;
  transition: var(--t-base);
}
.sticky-cart.visible { display: flex; animation: slideUp 0.4s ease; }

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

.sticky-cart-info { display: flex; align-items: center; gap: 0.6rem; }
.sticky-cart-count {
  background: var(--or);
  color: var(--aubergine-deep);
  font-weight: 700;
  font-size: 0.85rem;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.sticky-cart-text { font-size: 0.9rem; font-weight: 500; }
.sticky-cart-total {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

@media (min-width: 900px) {
  .sticky-cart { display: none !important; }
}

/* =========================================================
   PANIER OVERLAY
   ========================================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 20, 49, 0.5);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: var(--t-base);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--ivoire);
  z-index: 301;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.cart-panel.open { transform: translateX(0); }

.cart-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  border-bottom: 1px solid var(--lavande-pale);
}
.cart-panel-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--aubergine);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md);
}

.cart-empty {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  color: var(--violet-soft);
}
.cart-empty-icon { font-size: 3rem; margin-bottom: var(--space-sm); opacity: 0.4; }
.cart-empty-text { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; }

.cart-item {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--lavande-pale);
}

.cart-item-img {
  width: 70px; height: 70px;
  border-radius: var(--radius-sm);
  background: var(--lavande-pale);
  flex-shrink: 0;
  display: grid; place-items: center;
}
.cart-item-img svg { width: 60%; height: 60%; color: var(--violet); }

.cart-item-info { flex: 1; }
.cart-item-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--aubergine);
  margin-bottom: 0.2rem;
}
.cart-item-size { font-size: 0.8rem; color: var(--violet-soft); margin-bottom: 0.4rem; }
.cart-item-controls { display: flex; align-items: center; gap: 0.5rem; }
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--lavande-pale);
  color: var(--aubergine);
  font-weight: 600;
  display: grid; place-items: center;
  transition: var(--t-fast);
}
.qty-btn:hover { background: var(--lavande); }
.qty-value { font-weight: 600; min-width: 20px; text-align: center; }

.cart-item-price {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--aubergine);
  align-self: start;
}

.cart-remove {
  color: var(--violet-soft);
  font-size: 0.75rem;
  text-decoration: underline;
  margin-top: 0.3rem;
}

.cart-panel-footer {
  padding: var(--space-md);
  background: var(--ivoire-chaud);
  border-top: 1px solid var(--lavande-pale);
}

.cart-promo {
  display: flex;
  gap: 0.4rem;
  margin-bottom: var(--space-sm);
}
.cart-promo input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--lavande);
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.85rem;
  background: var(--ivoire);
  outline: none;
}
.cart-promo input:focus { border-color: var(--aubergine); }
.cart-promo button {
  padding: 0.6rem 1rem;
  background: var(--aubergine);
  color: var(--ivoire);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}

.cart-totals { margin-bottom: var(--space-sm); }
.cart-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--aubergine);
}
.cart-total-line.discount { color: #4caf78; }
.cart-total-line.grand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--lavande);
}

.paypal-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #ffc439, #ffb914);
  color: #003087;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--t-fast);
  margin-bottom: 0.5rem;
}
.paypal-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.checkout-btn {
  width: 100%;
  padding: 0.9rem;
  background: var(--aubergine);
  color: var(--ivoire);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.checkout-btn:hover { background: var(--aubergine-deep); }
.checkout-btn:disabled { opacity: 0.6; cursor: wait; }

/* =========================================================
   CHECKOUT MODAL — Tunnel de commande
   ========================================================= */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 20, 49, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1500;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.checkout-overlay.open { display: flex; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.checkout-modal {
  background: var(--ivoire);
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  margin: 20px 0;
  box-shadow: 0 24px 64px rgba(42, 20, 49, 0.25);
  position: relative;
  overflow: hidden;
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.checkout-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(250, 246, 242, 0.8);
  border: none;
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--aubergine);
  z-index: 10;
  transition: var(--t-fast);
}
.checkout-close:hover { background: var(--lavande-pale); }

.checkout-header {
  padding: 28px 28px 12px;
  background: linear-gradient(135deg, var(--lavande-pale), var(--lavande-ultra));
  border-bottom: 1px solid var(--border);
}
.checkout-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--aubergine);
  margin: 0;
}
.checkout-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.checkout-body { padding: 24px 28px 28px; }

.checkout-step-num {
  display: inline-block;
  background: var(--or);
  color: var(--aubergine-deep);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.checkout-step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--aubergine);
  margin-bottom: 14px;
  font-weight: 500;
}
.checkout-step-title.mt { margin-top: 20px; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-field {
  margin-bottom: 12px;
}
.form-field label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 5px;
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--ivoire);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--t-fast);
  color: var(--text);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--lavande-pale);
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  margin: 6px 0 14px;
}
.checkbox-line input { width: 16px; height: 16px; accent-color: var(--aubergine); cursor: pointer; }

.checkout-recap {
  background: var(--lavande-ultra);
  border-radius: 12px;
  padding: 14px;
  font-size: 0.88rem;
  margin-bottom: 18px;
}
.checkout-recap-line {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
}
.checkout-recap-line.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 8px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--aubergine);
}

.checkout-alert {
  background: #fce8d0;
  color: #a85f1f;
  border-left: 3px solid var(--warning, #e8a052);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.checkout-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.checkout-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 14px;
  cursor: pointer;
  padding: 6px;
  width: 100%;
  font-family: inherit;
}
.checkout-back:hover { color: var(--aubergine); }

@media (max-width: 520px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-modal { border-radius: 16px; }
  .checkout-header, .checkout-body { padding-left: 18px; padding-right: 18px; }
}

/* =========================================================
   TOAST NOTIFICATION
   ========================================================= */
.toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-150%);
  background: var(--aubergine);
  color: var(--ivoire);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-icon { color: var(--or-clair); }

/* =========================================================
   ANIMATIONS REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Body scroll lock */
body.no-scroll { overflow: hidden; }

/* =========================================================
   SECTION GUIDE / ADMIN PREVIEW
   ========================================================= */
.guide-section {
  padding: var(--space-xl) var(--space-md);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
@media (min-width: 700px) { .guide-grid { grid-template-columns: repeat(3, 1fr); } }

.guide-card {
  background: var(--ivoire);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid var(--lavande-pale);
  transition: var(--t-base);
}
.guide-card:hover {
  border-color: var(--lavande);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.guide-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-style: italic;
  color: var(--or);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.guide-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--aubergine);
  margin-bottom: 0.4rem;
}
.guide-text {
  font-size: 0.9rem;
  color: var(--aubergine);
  opacity: 0.75;
}


/* =========================================================
   PAGES DE CONTENU (about, faq, légal, etc.)
   ========================================================= */
.content-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px var(--space-md) var(--space-2xl);
}
.content-page h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--aubergine);
  margin-bottom: var(--space-md);
  line-height: 1.15;
}
.content-page h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--aubergine);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}
.content-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--aubergine);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}
.content-page p { margin-bottom: var(--space-md); line-height: 1.7; color: var(--text); }
.content-page ul, .content-page ol { margin: var(--space-sm) 0 var(--space-md) var(--space-md); line-height: 1.7; }
.content-page li { margin-bottom: 0.4rem; }
.content-page strong { color: var(--aubergine); font-weight: 600; }
.content-page a { color: var(--violet); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.content-page a:hover { color: var(--aubergine); }
.content-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-display);
  border-left: 3px solid var(--or);
  padding-left: var(--space-md);
  margin: var(--space-md) 0 var(--space-xl);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--aubergine); }
.breadcrumb-sep { margin: 0 0.4rem; opacity: 0.5; }

/* =========================================================
   FORM ÉLÉMENTS RÉUTILISABLES
   ========================================================= */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
@media (max-width: 520px) { .form .field-row { grid-template-columns: 1fr; } }
.form label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  display: block;
  font-weight: 500;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--ivoire);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--t-fast);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--lavande-pale);
}
.form textarea { resize: vertical; min-height: 100px; }
.form .form-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--t-fast);
  text-decoration: none;
}
.btn-primary { background: var(--aubergine); color: var(--ivoire); }
.btn-primary:hover { background: var(--aubergine-deep); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; }
.btn-secondary { background: var(--lavande-ultra); color: var(--aubergine); border: 1px solid var(--lavande); }
.btn-secondary:hover { background: var(--lavande-pale); }

.form-success {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--lavande-ultra);
  border-radius: 16px;
  color: var(--aubergine);
}
.form-success h3 { font-family: var(--font-display); font-size: 1.4rem; margin-top: 0.5rem; }
.form-success p { color: var(--text-muted); margin: 0.5rem 0; }

.alert-error {
  background: #fce8ee;
  color: #b8253f;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border-left: 3px solid #d4395a;
}
.alert-info {
  background: var(--lavande-ultra);
  color: var(--aubergine);
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border-left: 3px solid var(--violet);
}

/* =========================================================
   PAGE PRODUIT
   ========================================================= */
.product-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px var(--space-md) var(--space-2xl);
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}
@media (max-width: 768px) { .product-layout { grid-template-columns: 1fr; gap: var(--space-md); } }

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.product-main-img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--lavande-ultra);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--lavande);
  font-size: 3rem;
}
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.product-thumb {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--lavande-ultra);
  transition: var(--t-fast);
}
.product-thumb.active { border-color: var(--or); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--aubergine);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.product-category {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-sm);
}
.product-price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--or);
  margin-bottom: var(--space-md);
}
.product-description {
  color: var(--text);
  line-height: 1.7;
  margin: var(--space-md) 0;
}
.product-variants {
  margin: var(--space-md) 0;
}
.product-variants label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.product-variants select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--ivoire);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}
.product-stock {
  font-size: 0.85rem;
  margin: var(--space-sm) 0;
}
.product-stock.in { color: var(--success, #4caf78); }
.product-stock.out { color: #d4395a; }
.product-cta {
  width: 100%;
  padding: 1rem;
  background: var(--aubergine);
  color: var(--ivoire);
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-top: var(--space-md);
  transition: var(--t-fast);
  font-family: inherit;
}
.product-cta:hover { background: var(--aubergine-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.product-cta:disabled { opacity: 0.5; cursor: not-allowed; }

.product-details-tabs { margin-top: var(--space-2xl); }
.product-details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.product-detail-item {
  background: var(--lavande-ultra);
  border-radius: 12px;
  padding: var(--space-sm);
}
.product-detail-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product-detail-value {
  color: var(--aubergine);
  font-weight: 500;
  margin-top: 0.3rem;
}

/* Similaires */
.similar-section {
  margin-top: var(--space-2xl);
}
.similar-section h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--aubergine);
  margin-bottom: var(--space-md);
}
.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}

/* =========================================================
   PAGE CATÉGORIE
   ========================================================= */
.category-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px var(--space-md) var(--space-2xl);
}
.category-hero {
  text-align: center;
  padding: var(--space-lg) 0 var(--space-xl);
}
.category-hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--aubergine);
  margin-bottom: var(--space-xs);
}
.category-hero p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
  margin-top: var(--space-md);
}
.faq-item {
  background: var(--ivoire);
  border: 1px solid var(--lavande-pale);
  border-radius: 14px;
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: var(--t-fast);
}
.faq-item[open] { border-color: var(--lavande); box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--aubergine);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--or);
  font-size: 1.4rem;
  transition: var(--t-fast);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item-content {
  padding: 0 1.4rem 1.2rem;
  color: var(--text);
  line-height: 1.6;
}

/* =========================================================
   SUIVI COMMANDE
   ========================================================= */
.tracking-card {
  background: var(--ivoire);
  border-radius: 18px;
  border: 1px solid var(--lavande-pale);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-md);
}
.tracking-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--lavande-pale);
  margin-bottom: var(--space-md);
}
.tracking-ref {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--aubergine);
  font-style: italic;
}
.tracking-status {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}
.tracking-total {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--or);
}
.tracking-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: var(--space-md) 0;
}
.tracking-step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0.4;
  transition: var(--t-base);
}
.tracking-step.done, .tracking-step.active { opacity: 1; }
.tracking-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lavande-pale);
  color: var(--text-muted);
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  font-weight: 600;
  flex-shrink: 0;
}
.tracking-step.done .tracking-step-dot { background: var(--or); color: white; }
.tracking-step.active .tracking-step-dot { background: var(--aubergine); color: var(--ivoire); }
.tracking-step-label { font-weight: 500; color: var(--aubergine); }
.tracking-step-date { font-size: 0.8rem; color: var(--text-muted); }
.tracking-shipping {
  background: var(--lavande-ultra);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  margin: var(--space-md) 0;
}
.tracking-section {
  margin-top: var(--space-md);
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--aubergine);
}
.tracking-items {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}
.tracking-items li {
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--lavande-pale);
}
.tracking-items li:last-child { border-bottom: none; }
.tracking-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--space-md);
}

/* =========================================================
   MESSAGERIE CONVERSATION (client)
   ========================================================= */
.conv-header {
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--lavande-pale);
  margin-bottom: var(--space-md);
}
.conv-subject {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--aubergine);
  margin: 0;
}
.conv-status { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.3rem; }
.conv-messages {
  max-height: 500px;
  overflow-y: auto;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: var(--space-md);
}
.conv-msg {
  max-width: 80%;
  padding: 0.7rem 1rem;
  border-radius: 16px;
  font-size: 0.92rem;
}
.conv-msg-client {
  align-self: flex-end;
  background: var(--aubergine);
  color: var(--ivoire);
  border-bottom-right-radius: 4px;
}
.conv-msg-admin {
  align-self: flex-start;
  background: var(--lavande-ultra);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.conv-msg-author { font-size: 0.75rem; opacity: 0.8; margin-bottom: 0.2rem; font-weight: 600; }
.conv-msg-body { line-height: 1.5; }
.conv-msg-date { font-size: 0.7rem; opacity: 0.6; margin-top: 0.3rem; }
.conv-form {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}
.conv-form textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  resize: vertical;
  font-family: inherit;
  font-size: 0.95rem;
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--ivoire);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 12px 32px rgba(42,20,49,0.18);
  border: 1px solid var(--lavande-pale);
  z-index: 1400;
  display: none;
  animation: slideUp 0.4s ease;
}
.cookie-banner.show { display: block; }
.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}
.cookie-banner a { color: var(--violet); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner-actions button {
  flex: 1;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--t-fast);
}
.cookie-btn-accept { background: var(--aubergine); color: var(--ivoire); }
.cookie-btn-accept:hover { background: var(--aubergine-deep); }
.cookie-btn-decline { background: var(--lavande-ultra); color: var(--aubergine); border: 1px solid var(--lavande) !important; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--aubergine-deep);
  color: var(--ivoire);
  padding: var(--space-2xl) var(--space-md) var(--space-md);
  margin-top: var(--space-2xl);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.footer-brand p {
  opacity: 0.7;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
  color: var(--or);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: var(--ivoire);
  opacity: 0.75;
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--t-fast);
}
.footer-col a:hover { opacity: 1; color: var(--or); }
.footer-newsletter input {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: var(--ivoire);
  font-family: inherit;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}
.footer-newsletter input::placeholder { color: rgba(250,246,242,0.5); }
.footer-newsletter button {
  width: 100%;
  padding: 0.6rem;
  background: var(--or);
  color: var(--aubergine-deep);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.footer-newsletter button:hover { filter: brightness(1.05); }
.footer-bottom {
  max-width: 1200px;
  margin: var(--space-xl) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* =========================================================
   404
   ========================================================= */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
}
.error-page h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--aubergine);
  margin-bottom: 0.5rem;
}
.error-page p { color: var(--text-muted); margin-bottom: var(--space-md); }

.font-mono { font-family: 'SF Mono', 'Consolas', monospace; }
.text-muted { color: var(--text-muted); }

/* =========================================================
   BANNIÈRE PROMO (top du site, configurable admin)
   ========================================================= */
.top-banner {
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.top-banner a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.top-banner-or { background: var(--or); color: var(--aubergine-deep); }
.top-banner-aubergine { background: var(--aubergine); color: var(--ivoire); }
.top-banner-lavande { background: var(--lavande); color: var(--aubergine-deep); }

/* =========================================================
   HEADER ENRICHI : recherche + wishlist + cart
   ========================================================= */
.header-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--aubergine);
  cursor: pointer;
  transition: var(--t-fast);
  text-decoration: none;
}
.header-icon-btn:hover { background: var(--lavande-ultra); color: var(--aubergine-deep); }

.header-icon-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--or);
  color: var(--aubergine-deep);
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 5px;
}

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

/* Barre de recherche déployable */
.header-search-bar {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ivoire);
  border-bottom: 1px solid var(--lavande-pale);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-sm);
  z-index: 100;
  animation: slideDown 0.2s ease-out;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 600px;
  margin: 0 auto;
}
.search-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
}
.search-form input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--lavande-pale);
}
.search-form button {
  width: 42px;
  height: 42px;
  background: var(--aubergine);
  color: var(--ivoire);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.search-autocomplete {
  max-width: 600px;
  margin: 0.5rem auto 0;
  background: var(--ivoire);
  border-radius: 12px;
  border: 1px solid var(--lavande-pale);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.search-ac-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--lavande-pale);
  transition: var(--t-fast);
}
.search-ac-item:hover { background: var(--lavande-ultra); }
.search-ac-item img, .search-ac-img-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.search-ac-img-placeholder {
  background: var(--lavande-ultra);
  display: grid;
  place-items: center;
  color: var(--lavande);
}
.search-ac-info { flex: 1; min-width: 0; }
.search-ac-name { font-weight: 500; color: var(--aubergine); }
.search-ac-cat { font-size: 0.75rem; color: var(--text-muted); }
.search-ac-price { font-weight: 600; color: var(--or); font-family: var(--font-display); }
.search-ac-all { display: block; text-align: center; padding: 0.7rem; background: var(--lavande-ultra); color: var(--aubergine); text-decoration: none; font-weight: 500; font-size: 0.88rem; }
.search-ac-all:hover { background: var(--lavande-pale); }
.search-ac-empty { padding: 1rem; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

.mobile-menu-search {
  display: flex;
  gap: 0.4rem;
  padding: 0 1.2rem 1rem;
}
.mobile-menu-search input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
}
.mobile-menu-search button {
  width: 38px;
  background: var(--aubergine);
  color: var(--ivoire);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* =========================================================
   PRODUIT CARD — interconnexions visibles
   ========================================================= */
.produit-card {
  position: relative;
  background: var(--ivoire);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--t-base);
  border: 1px solid var(--lavande-pale);
  display: flex;
  flex-direction: column;
}
.produit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(61, 31, 71, 0.1);
  border-color: var(--lavande);
}
.produit-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.produit-card-img {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--lavande-ultra), var(--lavande-pale));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.produit-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.produit-card:hover .produit-card-img img { transform: scale(1.05); }

.produit-card-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--or);
  color: var(--aubergine-deep);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.produit-card-badge-promo { background: #d4395a; color: white; }
.produit-card-badge-rupture {
  background: rgba(42, 20, 49, 0.8);
  color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
}

.produit-card-wishlist {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 36px;
  height: 36px;
  background: rgba(250, 246, 242, 0.92);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--aubergine);
  transition: var(--t-fast);
  z-index: 2;
}
.produit-card-wishlist:hover {
  background: var(--ivoire);
  transform: scale(1.1);
}
.produit-card-wishlist.active {
  color: #d4395a;
  background: var(--ivoire);
}
.produit-card-wishlist.active svg { fill: currentColor; }

.produit-card-body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.produit-card-cat-link {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: var(--t-fast);
}
.produit-card-cat-link:hover { color: var(--aubergine); }
.produit-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--aubergine);
  margin: 0;
  line-height: 1.3;
}
.produit-card-title a {
  color: inherit;
  text-decoration: none;
}
.produit-card-title a:hover { color: var(--aubergine-deep); }

.produit-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.produit-card-tailles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.3rem 0;
}
.taille-chip {
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  background: var(--lavande-ultra);
  color: var(--aubergine);
  border-radius: 999px;
  text-decoration: none;
  transition: var(--t-fast);
  border: 1px solid transparent;
}
.taille-chip:hover {
  background: var(--lavande-pale);
  border-color: var(--or);
}
.taille-chip-more {
  background: transparent;
  color: var(--text-muted);
  cursor: default;
}

.produit-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.4rem;
}
.produit-card-price-row { display: flex; align-items: baseline; gap: 0.4rem; }
.produit-card-price,
.produit-card-price-promo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--or);
  font-weight: 500;
}
.produit-card-price-old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 0.85rem;
}
.produit-card-stock-low {
  font-size: 0.75rem;
  color: #d4395a;
  font-weight: 600;
}

/* =========================================================
   FILTRES CHIPS (par catégorie sur l'accueil)
   ========================================================= */
.produits-filtres {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: var(--space-md) 0 var(--space-lg);
}
.filtre-chip {
  padding: 0.55rem 1.2rem;
  background: var(--ivoire);
  color: var(--aubergine);
  border: 1px solid var(--lavande-pale);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--t-fast);
  white-space: nowrap;
}
.filtre-chip:hover { background: var(--lavande-ultra); border-color: var(--lavande); }
.filtre-chip.active {
  background: var(--aubergine);
  color: var(--ivoire);
  border-color: var(--aubergine);
}
.filtre-chip-sub {
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  background: var(--lavande-ultra);
  border-color: transparent;
}

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: var(--space-2xl) 0 var(--space-md);
  flex-wrap: wrap;
}
.pagination-prev,
.pagination-next {
  padding: 0.7rem 1.6rem;
  background: var(--aubergine);
  color: var(--ivoire);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--t-fast);
}
.pagination-prev { background: var(--lavande-ultra); color: var(--aubergine); }
.pagination-prev:hover { background: var(--lavande-pale); }
.pagination-next:hover { background: var(--aubergine-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pagination-next.loading { opacity: 0.6; cursor: wait; transform: none !important; }
.pagination-info {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* =========================================================
   PAGE PRODUIT — additions
   ========================================================= */
.product-category {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-sm);
  text-decoration: none;
  transition: var(--t-fast);
}
.product-category:hover { color: var(--aubergine); }

.product-price-row { display: flex; align-items: baseline; gap: 0.7rem; margin-bottom: var(--space-md); }
.product-price-old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 1.1rem;
}
.product-stock.low {
  color: #d4395a;
  font-weight: 600;
}
.product-wishlist-btn {
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.8rem;
  background: transparent;
  border: 1px solid var(--lavande);
  color: var(--aubergine);
  border-radius: 999px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  transition: var(--t-fast);
}
.product-wishlist-btn:hover { background: var(--lavande-ultra); }
.product-wishlist-btn.active {
  border-color: #d4395a;
  color: #d4395a;
}
.product-wishlist-btn.active svg { fill: currentColor; }

/* =========================================================
   REVEAL avec délai progressif
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   PRODUITS-GRID responsive
   ========================================================= */
.produits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}
@media (max-width: 520px) {
  .produits-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .produit-card-body { padding: 0.7rem 0.8rem 0.9rem; }
  .produit-card-title { font-size: 0.92rem; }
  .produit-card-price, .produit-card-price-promo { font-size: 1rem; }
}
