/*
 Theme Name:   Divi Child
 Theme URI:    https://yoursite.com
 Description:  Divi Child Theme — Black / White / Gold — Modern & Traditionnel
 Author:       Votre Nom
 Author URI:   https://yoursite.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  divi-child
 Domain Path:  /languages
*/

/* ============================================================
   GOOGLE FONTS
   Plus Jakarta Sans — 300 / 400 / 500 / 600 / 700
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ============================================================
   DESIGN TOKENS — Palette Black / White / Gold
   ============================================================ */
:root {
  /* Couleurs */
  --color-black:       #0C0A09;
  --color-dark:        #1C1917;
  --color-dark-mid:    #292524;
  --color-mid:         #44403C;
  --color-light:       #F5F5F4;
  --color-white:       #FAFAF9;

  /* Or */
  --color-gold:        #CA8A04;
  --color-gold-light:  #D4A017;
  --color-gold-pale:   #FEF3C7;
  --color-gold-dark:   #92400E;

  /* Typographie */
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* Espacements */
  --spacing-xs:  0.5rem;
  --spacing-sm:  1rem;
  --spacing-md:  2rem;
  --spacing-lg:  4rem;
  --spacing-xl:  8rem;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   300ms ease;
  --transition-slow:   500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index scale */
  --z-base:    10;
  --z-overlay: 20;
  --z-modal:   30;
  --z-top:     50;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-dark);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-black);
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem);   font-weight: 300; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem);      font-weight: 300; letter-spacing: -0.03em;  }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem);    font-weight: 500; letter-spacing: -0.02em;  }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem);  font-weight: 600; letter-spacing: -0.015em; }

p {
  font-size: 1rem;
  line-height: 1.75;
  max-width: 68ch;
  color: var(--color-mid);
}

/* Filet doré sous les titres de section */
.section-title::after {
  content: '';
  display: block;
  width: 4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  margin-top: 1rem;
}

/* ============================================================
   LIENS
   ============================================================ */
a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover, a:focus {
  color: var(--color-gold-dark);
}

a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   BOUTONS — CLASSES CUSTOM (indépendant de Divi 5)
   Appliquer "dc-btn-primary" ou "dc-btn-outline" comme
   classe CSS dans les options du bouton Divi 5.
   Les couleurs Divi natifs se configurent dans :
   Divi → Theme Options → Buttons
   ============================================================ */

.dc-btn-primary {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white) !important;
  background-color: var(--color-gold) !important;
  border: 2px solid var(--color-gold) !important;
  padding: 0.9rem 2.25rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color var(--transition-base), color var(--transition-base);
  cursor: pointer;
}

.dc-btn-primary:hover,
.dc-btn-primary:focus-visible {
  background-color: transparent !important;
  color: var(--color-gold-light) !important;
}

.dc-btn-outline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white) !important;
  background-color: transparent !important;
  border: 2px solid rgba(250,250,249,0.7) !important;
  padding: 0.9rem 2.25rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color var(--transition-base), border-color var(--transition-base);
  cursor: pointer;
}

.dc-btn-outline:hover,
.dc-btn-outline:focus-visible {
  background-color: rgba(250,250,249,0.12) !important;
  border-color: var(--color-white) !important;
}

/* ============================================================
   HERO VIDÉO
   ============================================================ */
.dc-hero-video {
  position: relative;
  width: 100%;
  min-height: 100svh;           /* svh : tient compte des barres mobiles */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-black);
}

/* Vidéo de fond */
.dc-hero-video__bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-base);
}

.dc-hero-video__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay : dégradé radial centré, assombrit les bords */
.dc-hero-video__overlay {
  position: absolute;
  inset: 0;
  z-index: calc(var(--z-base) + 1);
  background:
    radial-gradient(ellipse at center, rgba(12,10,9,0.35) 0%, rgba(12,10,9,0.72) 100%);
}

/* Filet or en bas */
.dc-hero-video__overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-gold) 25%,
    var(--color-gold-light) 75%,
    transparent 100%
  );
}

/* Contenu centré */
.dc-hero-video__content {
  position: relative;
  z-index: calc(var(--z-base) + 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: clamp(2rem, 8vw, 5rem) clamp(1.25rem, 5vw, 3rem);
  width: 100%;
  max-width: 700px;
  text-align: center;
}

/* Logo — 70 % de la taille originale */
.dc-hero-video__logo {
  width: clamp(98px, 21vw, 196px);
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 24px rgba(12,10,9,0.55));
}

/* Séparateur masqué */
.dc-hero-video__separator {
  display: none;
}

/* Boutons */
.dc-hero-video__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Bouton hero primaire — or plein */
.dc-hero-video__cta .dc-btn-primary {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  background-color: var(--color-gold);
  border: 2px solid var(--color-gold);
  padding: 0.9rem 2.25rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color var(--transition-base), color var(--transition-base);
  cursor: pointer;
  min-height: 44px;             /* cible tactile WCAG */
}

.dc-hero-video__cta .dc-btn-primary:hover,
.dc-hero-video__cta .dc-btn-primary:focus-visible {
  background-color: transparent;
  color: var(--color-gold-light);
}

/* Bouton hero secondaire — outline blanc */
.dc-hero-video__cta .dc-btn-outline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  background-color: transparent;
  border: 2px solid rgba(250,250,249,0.7);
  padding: 0.9rem 2.25rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base);
  cursor: pointer;
  min-height: 44px;
}

.dc-hero-video__cta .dc-btn-outline:hover,
.dc-hero-video__cta .dc-btn-outline:focus-visible {
  background-color: rgba(250,250,249,0.12);
  border-color: var(--color-white);
}

/* Focus visible global dans le hero */
.dc-hero-video a:focus-visible,
.dc-hero-video button:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 3px;
}

/* Scroll indicator */
.dc-hero-video__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: calc(var(--z-base) + 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(250,250,249,0.5);
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: dc-scroll-bounce 2.4s ease-in-out infinite;
  pointer-events: auto;
  cursor: pointer;
}

.dc-hero-video__scroll-line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
}

@keyframes dc-scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* Accessibilité : vidéo figée si prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .dc-hero-video__scroll { animation: none; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 480px) {
  .dc-hero-video__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .dc-hero-video__cta .dc-btn-primary,
  .dc-hero-video__cta .dc-btn-outline {
    text-align: center;
    padding: 1rem 1.5rem;
  }
}

/* ============================================================
   NAVIGATION DIVI 5
   Configurer couleurs + polices directement dans :
   Divi → Theme Customizer → Header & Navigation
   ou via Divi → Theme Options → General → Navigation
   Les tokens ci-dessous sont disponibles si vous ajoutez
   du CSS personnalisé dans Divi → Theme Options → Custom CSS
   ============================================================ */

/* Exemple — à activer si Divi 5 expose ces variables : */
/*
:root {
  --divi-header-bg:   var(--color-dark);
  --divi-nav-color:   var(--color-white);
  --divi-nav-hover:   var(--color-gold-light);
}
*/

/* ============================================================
   SECTIONS — CLASSES UTILITAIRES
   Applicable sur n'importe quel conteneur Divi 5
   (ajouter la classe CSS dans les options du module)
   ============================================================ */

/* Section sombre */
.section-dark {
  background-color: var(--color-dark) !important;
  color: var(--color-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p {
  color: var(--color-white) !important;
}

/* Section or */
.section-gold {
  background: linear-gradient(135deg,
    var(--color-dark) 0%,
    #2D2415 50%,
    var(--color-dark) 100%
  ) !important;
  border-top: 1px solid rgba(202, 138, 4, 0.4);
  border-bottom: 1px solid rgba(202, 138, 4, 0.4);
}

/* ============================================================
   CARDS / BLURTS
   ============================================================ */
.dc-card {
  background-color: var(--color-white);
  border: 1px solid rgba(68, 64, 60, 0.12);
  padding: var(--spacing-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
}

.dc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(12, 10, 9, 0.12),
              0 0 0 1px rgba(202, 138, 4, 0.2);
}

/* Filet or gauche sur card */
.dc-card--accent {
  border-left: 3px solid var(--color-gold);
}

/* ============================================================
   SÉPARATEUR DÉCORATIF OR
   ============================================================ */
.dc-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: var(--spacing-md) 0;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.dc-divider::before,
.dc-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

/* ============================================================
   FOOTER
   Configurer couleur de fond dans :
   Divi → Theme Customizer → Footer
   ou Divi → Theme Options → General
   ============================================================ */

/* Classe utilitaire à appliquer sur la section footer */
.footer-dark {
  background-color: var(--color-black) !important;
  border-top: 1px solid rgba(202, 138, 4, 0.3);
}

.footer-dark p,
.footer-dark a {
  color: rgba(250, 250, 249, 0.7) !important;
  font-size: 0.875rem;
}

.footer-dark a:hover {
  color: var(--color-gold-light) !important;
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.text-gold   { color: var(--color-gold) !important; }
.text-white  { color: var(--color-white) !important; }
.text-black  { color: var(--color-black) !important; }
.bg-dark     { background-color: var(--color-dark) !important; }
.bg-black    { background-color: var(--color-black) !important; }

/* ============================================================
   ANIMATIONS D'ENTRÉE (Intersection Observer)
   ============================================================ */
.dc-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.dc-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .dc-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
  }

  .dc-hero-video__cta {
    flex-direction: column;
    align-items: center;
  }

  .dc-hero-video__title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
}

@media (max-width: 480px) {
  p {
    max-width: 100%;
  }
}

/* ============================================================
   HEADER DIVI CUSTOM — Section Divi avec classe .dc-divi-header
   ============================================================

   DANS DIVI : Options de section → Avancé → Classe CSS → dc-divi-header
   La section contient : logo (image) | menu (menu Divi) | langue (code ou texte)

   Sécurité supplémentaire — masquer header Divi natif résiduel :
   (géré aussi en PHP via functions.php et en JS via main.js)
   ============================================================ */
/* Fix Divi FOUC : body caché par Divi CSS, JS Divi absent sur templates WC */
body.woocommerce,
body.woocommerce-page,
body.single-product {
  display: block !important;
}

body:not(.et-fb) #main-header,
body:not(.et-fb) #top-header,
body:not(.et-fb) .et-l--header,
body:not(.et-fb) .et_header_style_centered,
body:not(.et-fb) .et_header_style_left,
body:not(.et-fb) .et_header_style_right,
body:not(.et-fb) header.site-header,
body:not(.et-fb) .divi-header,
body:not(.et-fb) [data-et-header-format] {
  display: none !important;
}

/* ── Base ──────────────────────────────────────────────────── */
.dc-divi-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 9999;
  /* background géré par has-hero / is-scrolled */
  background: rgba(12, 10, 9, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(202, 138, 4, 0.25);
  transition: background 450ms ease, box-shadow 450ms ease;
}

/* ── Pages avec hero : transparent au dessus du hero ───────── */
body.has-hero .dc-divi-header {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Liseré de lisibilité : gradient sombre sur 120px en haut du hero */
body.has-hero .dc-divi-header::before {
  content: '';
  position: absolute;
  inset: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 450ms ease;
}
body.has-hero .dc-divi-header.is-scrolled::before { opacity: 0; }

/* Le contenu du header passe au-dessus du gradient */
.dc-header__inner,
.dc-mobile-menu { position: relative; z-index: 1; }

/* Au scroll : redevient sombre */
body.has-hero .dc-divi-header.is-scrolled {
  background: rgba(12, 10, 9, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(202, 138, 4, 0.25);
}

/* ── Inner row — 3 zones : logo | nav centré | lang ────────── */
.dc-header__inner {
  position: relative;
  height: 88px;
  padding: 0 clamp(2rem, 5vw, 4.5rem);
  display: flex;
  align-items: center;
}

/* ── Toujours visible, opacité gérée par background ────────── */
.dc-divi-header { opacity: 1; }

/* ── Logo — gauche ─────────────────────────────────────────── */
.dc-header__logo {
  line-height: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.dc-header__logo a,
.dc-header__logo .custom-logo-link { display: block; line-height: 0; }

.dc-header__logo img,
.dc-header__logo .custom-logo {
  height: 54px;
  width: auto;
  display: block;
  transition: height 350ms ease, opacity 350ms ease;
}

.dc-divi-header.is-scrolled .dc-header__logo img,
.dc-divi-header.is-scrolled .custom-logo { height: 42px; }

.dc-header__logo-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--color-white);
  text-decoration: none;
  text-transform: uppercase;
}

/* ── Navigation — absolument centrée ───────────────────────── */
.dc-header__nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
}

.dc-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 3.5vw, 4rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Point séparateur discret entre items */
.dc-nav__list > li + li::before {
  content: '·';
  position: absolute;
  left: calc(-1 * clamp(1.15rem, 2vw, 2.15rem));
  color: rgba(202, 138, 4, 0.3);
  font-size: 0.6rem;
  pointer-events: none;
}
.dc-nav__list > li { position: relative; }

.dc-nav__list > li > a {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(250, 250, 249, 0.78);
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color 250ms ease;
  white-space: nowrap;
}

/* Filet or sous le lien actif et au hover */
.dc-nav__list > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
  transition: width 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dc-nav__list > li > a:hover {
  color: var(--color-white);
}

.dc-nav__list > li.current-menu-item > a {
  color: var(--color-gold-light);
}

.dc-nav__list > li > a:hover::after,
.dc-nav__list > li.current-menu-item > a::after { width: 100%; }

/* ── Partie droite — langue + burger — poussée à droite ────── */
.dc-header__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

/* ── Sélecteur de langue ───────────────────────────────────── */
.dc-lang-switcher {
  display: flex;
  align-items: center;
}

.dc-lang-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  transition: opacity 250ms ease;
  opacity: 0.42;
  min-height: 44px;
  min-width: 44px;
}

.dc-lang-btn:hover { opacity: 0.85; }
.dc-lang-btn.is-active { opacity: 1; }

.dc-lang-flag svg {
  width: 18px;
  height: auto;
  display: block;
  border-radius: 2px;
}

.dc-lang-code {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-white);
}

.dc-lang-switcher .dc-lang-btn + .dc-lang-btn {
  border-left: 1px solid rgba(250, 250, 249, 0.12);
}

/* ── Burger (mobile) ───────────────────────────────────────── */
.dc-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  box-shadow: none;
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

.dc-header__burger-line {
  display: block;
  width: 20px;
  height: 1px;
  background: rgba(250, 250, 249, 0.8);
  border-radius: 1px;
  transition: transform 320ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 200ms ease,
              width 300ms ease;
  transform-origin: center;
}

/* Ligne centrale raccourcie au repos pour effet raffiné */
.dc-header__burger-line:nth-child(2) { width: 14px; }

.dc-header__burger:hover .dc-header__burger-line { background: var(--color-white); }
.dc-header__burger:hover .dc-header__burger-line:nth-child(2) { width: 20px; }

.dc-header__burger[aria-expanded="true"] .dc-header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.dc-header__burger[aria-expanded="true"] .dc-header__burger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}
.dc-header__burger[aria-expanded="true"] .dc-header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Menu mobile ───────────────────────────────────────────── */
.dc-mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(8, 7, 6, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(202, 138, 4, 0.18);
  padding: 1.5rem clamp(2rem, 6vw, 4rem) 2.5rem;
  z-index: 9998;
}

.dc-mobile-menu.is-open {
  display: block;
  animation: dc-mobile-in 240ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes dc-mobile-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

body.dc-menu-open { overflow: hidden; }

.dc-mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-mobile-nav__list > li {
  border-bottom: 1px solid rgba(250, 250, 249, 0.05);
}

.dc-mobile-nav__list > li > a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 250, 249, 0.65);
  text-decoration: none;
  padding: 1.1rem 0;
  transition: color 200ms ease, letter-spacing 200ms ease;
}

.dc-mobile-nav__list > li > a:hover,
.dc-mobile-nav__list > li.current-menu-item > a {
  color: var(--color-gold-light);
  letter-spacing: 0.28em;
}

.dc-mobile-menu .dc-lang-switcher {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 250, 249, 0.07);
  justify-content: flex-start;
}

/* ── Compensation contenu ──────────────────────────────────── */
/* Pages sans hero : pousser le contenu sous le header fixe */
body:not(.has-hero) #page-container,
body:not(.has-hero) #et-main-area {
  padding-top: 88px !important;
}
/* Pages avec hero : le hero commence à 0, derrière le header transparent */
body.has-hero #page-container,
body.has-hero #et-main-area {
  padding-top: 0 !important;
}

/* ── Focus ─────────────────────────────────────────────────── */
.dc-divi-header a:focus-visible,
.dc-header__burger:focus-visible {
  outline: 1px solid rgba(202, 138, 4, 0.6);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .dc-header__inner { height: 68px; }
  .dc-header__nav   { display: none; }
  .dc-header__burger { display: flex; }
  .dc-header__right .dc-lang-switcher { display: none; }

  body:not(.has-hero) #page-container,
  body:not(.has-hero) #et-main-area { padding-top: 68px !important; }

  .dc-mobile-menu { top: 68px; }
}

@media (max-width: 480px) {
  .dc-header__inner { height: 60px; }
  .dc-header__logo img,
  .dc-header__logo .custom-logo { height: 40px; }
  .dc-mobile-menu { top: 60px; }

  body:not(.has-hero) #page-container,
  body:not(.has-hero) #et-main-area { padding-top: 60px !important; }
}

/* ============================================================
   FOOTER CUSTOM — remplace le footer Divi par défaut
   ============================================================ */
.dc-footer {
  background: var(--color-black);
  border-top: 1px solid rgba(202, 138, 4, 0.15);
  padding: 2rem 0;
}

.dc-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-footer__copy {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 250, 249, 0.3);
  margin: 0;
}

/* ── Hero mobile ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .dc-hero-video__content {
    gap: 1.5rem;
    padding: 2rem 1.25rem;
  }

  .dc-hero-video__logo {
    width: clamp(110px, 42vw, 200px);
  }
}

/* ============================================================
   HERO — TAGLINE
   ============================================================ */
.dc-hero-video__tagline {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  font-weight: 400;
  color: #FAFAF9 !important;
  letter-spacing: 0.06em;
  margin: 0;
  line-height: 1.4;
  max-width: 52ch;
  text-align: center;
}

/* ============================================================
   MODALE ÂGE + LANGUE
   ============================================================ */
.dc-modal {
  position: fixed;
  inset: 0;
  /* Au-dessus de tout Divi 5 */
  z-index: 999999;
  background-color: rgba(12, 10, 9, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 1;
  /* Fondu d'entrée */
  animation: dc-modal-in 350ms ease forwards;
}

@keyframes dc-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Pas d'animation → affichage direct */
@media (prefers-reduced-motion: reduce) {
  .dc-modal { animation: none; opacity: 1; }
}

.dc-modal.is-hidden {
  display: none;
}

/* Boîte centrale */
.dc-modal__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 480px;
  text-align: center;
}

/* Logo */
.dc-modal__logo {
  width: clamp(120px, 28vw, 200px);
  height: auto;
  display: block;
  filter: brightness(0) invert(1); /* force blanc */
}

/* Filet or */
.dc-modal__sep {
  display: block;
  width: 5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

/* Textes */
.dc-modal__title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.35;
  margin: 0;
}

.dc-modal__question {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(250, 250, 249, 0.75);
  margin: 0;
  letter-spacing: 0.04em;
}

/* Boutons âge */
.dc-modal__age-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.dc-modal__btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base);
  min-width: 160px;
  min-height: 44px;
}

.dc-modal__btn--yes {
  background-color: var(--color-gold);
  color: var(--color-white);
  border: 2px solid var(--color-gold);
}

.dc-modal__btn--yes:hover,
.dc-modal__btn--yes:focus-visible {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
}

.dc-modal__btn--no {
  background-color: transparent;
  color: rgba(250, 250, 249, 0.6);
  border: 2px solid rgba(250, 250, 249, 0.25);
}

.dc-modal__btn--no:hover,
.dc-modal__btn--no:focus-visible {
  border-color: rgba(250, 250, 249, 0.6);
  color: var(--color-white);
}

.dc-modal__btn:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 3px;
}

/* Sélecteur de langue */
.dc-modal__lang {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dc-modal__lang-sep {
  color: rgba(250, 250, 249, 0.2);
  font-size: 0.75rem;
}

.dc-modal__lang-btn {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: rgba(250, 250, 249, 0.4);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color var(--transition-fast);
  min-height: 44px;
}

.dc-modal__lang-btn.is-active,
.dc-modal__lang-btn:hover,
.dc-modal__lang-btn:focus-visible {
  color: var(--color-gold-light);
}

.dc-modal__lang-btn:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 2px;
}

/* Mention légale */
.dc-modal__legal {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: rgba(250, 250, 249, 0.3);
  line-height: 1.6;
  max-width: 38ch;
  margin: 0;
  letter-spacing: 0.03em;
}

/* Textes bilingues — masqués par défaut sauf FR */
.dc-modal__en { display: none; }
.dc-modal__fr { display: inline; }

.dc-modal--en .dc-modal__fr { display: none; }
.dc-modal--en .dc-modal__en { display: inline; }

/* Responsive */
@media (max-width: 420px) {
  .dc-modal__age-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .dc-modal__btn {
    min-width: unset;
    width: 100%;
  }
}

/* ============================================================
   HERO GAMME — [dc_gamme_hero]
   Namespace exclusif : .dc-ghero / .dc-ghero__*
   Hero demi-écran : 55vh, vidéo fond, texte bas-gauche éditorial
   ============================================================ */

.dc-ghero {
  position: relative !important;
  width: 100% !important;
  height: 55svh !important;
  min-height: 380px !important;
  max-height: 680px !important;
  overflow: hidden !important;
  background-color: #0C0A09 !important;
  display: flex !important;
  flex-direction: column !important;
  isolation: isolate !important;
}

/* Vidéo / image de fond */
.dc-ghero__bg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
}

.dc-ghero__video,
.dc-ghero__fallback {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.dc-ghero__video {
  transform: scale(1.04) !important; /* micro-zoom pour éviter les bords blancs */
}

/* Overlay : dégradé noir bas-lourd + léger haut */
.dc-ghero__overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(
      to bottom,
      rgba(12, 10, 9, 0.35) 0%,
      rgba(12, 10, 9, 0.10) 30%,
      rgba(12, 10, 9, 0.55) 65%,
      rgba(12, 10, 9, 0.92) 100%
    ) !important;
}

/* Filet or horizontal en bas */
.dc-ghero__overlay::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(202, 138, 4, 0.6) 30%,
    rgba(212, 160, 23, 0.8) 70%,
    transparent 100%
  ) !important;
}

/* Conteneur UI : top + bottom */
.dc-ghero__ui {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 5vw, 4rem) !important;
  box-sizing: border-box !important;
}

/* ── Barre du haut : breadcrumb + badge ── */
.dc-ghero__top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
}

.dc-ghero__back {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(250, 250, 249, 0.7) !important;
  text-decoration: none !important;
  transition: color 200ms ease, gap 200ms ease !important;
  min-height: 44px !important;
}

.dc-ghero__back:hover,
.dc-ghero__back:focus-visible {
  color: #FAFAF9 !important;
  gap: 0.75rem !important;
}

.dc-ghero__back:focus-visible {
  outline: 2px solid #D4A017 !important;
  outline-offset: 4px !important;
  border-radius: 2px !important;
}

.dc-ghero__badge {
  font-family: var(--font-body) !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: #D4A017 !important;
  border: 1px solid rgba(212, 160, 23, 0.4) !important;
  padding: 0.35rem 0.85rem !important;
  background: rgba(202, 138, 4, 0.08) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  white-space: nowrap !important;
}

/* ── Bloc texte bas-gauche ── */
.dc-ghero__bottom {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  max-width: 700px !important;
}

/* Filet court or avant le titre */
.dc-ghero__rule {
  display: block !important;
  width: 3rem !important;
  height: 2px !important;
  background: linear-gradient(90deg, #CA8A04, #D4A017) !important;
  margin-bottom: 0.25rem !important;
}

.dc-ghero__title {
  font-family: var(--font-heading) !important;
  font-size: clamp(2.75rem, 6vw, 5.5rem) !important;
  font-weight: 500 !important;
  color: #FAFAF9 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
  /* Légère ombre pour lisibilité sur vidéo claire */
  text-shadow: 0 2px 40px rgba(12, 10, 9, 0.6) !important;
}

.dc-ghero__desc {
  font-family: var(--font-body) !important;
  font-size: clamp(0.85rem, 1.4vw, 1rem) !important;
  font-weight: 300 !important;
  color: rgba(250, 250, 249, 0.75) !important;
  letter-spacing: 0.04em !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  max-width: 55ch !important;
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .dc-ghero__video {
    animation: none !important;
    transform: none !important;
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .dc-ghero {
    height: 60svh !important;
    min-height: 320px !important;
  }

  .dc-ghero__title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .dc-ghero__badge {
    display: none !important; /* masqué sur mobile — badge trop encombrant */
  }
}

@media (max-width: 480px) {
  .dc-ghero__ui {
    padding: 1rem 1.25rem !important;
  }

  .dc-ghero__title {
    font-size: clamp(1.75rem, 9vw, 2.5rem) !important;
  }
}

/* ============================================================
   SECTION ABOUT — [dc_about]
   Namespace exclusif : .dc-about / .dc-about__*
   Toutes les propriétés structurelles en !important
   pour résister aux overrides Divi 5.
   ============================================================ */

.dc-about {
  position: relative !important;
  overflow: hidden !important;
  background-color: #FFFFFF !important;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 6vw, 5rem) !important;
  isolation: isolate !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* Année fantôme */
.dc-about__year {
  position: absolute !important;
  right: -1rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(7rem, 18vw, 20rem) !important;
  font-weight: 700 !important;
  color: transparent !important;
  -webkit-text-stroke: 1px rgba(202, 138, 4, 0.10) !important;
  line-height: 1 !important;
  user-select: none !important;
  pointer-events: none !important;
  white-space: nowrap !important;
  z-index: 0 !important;
}

/* Grille 2 colonnes */
.dc-about__grid {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: clamp(3rem, 6vw, 6rem) !important;
  align-items: center !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* ── Colonne image ── */
.dc-about__media {
  position: relative !important;
}

.dc-about__image-wrap {
  position: relative !important;
  display: block !important;
}

.dc-about__image-wrap::after {
  content: none !important;
}

.dc-about__image {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  height: clamp(400px, 50vw, 600px) !important;
  object-fit: cover !important;
  display: block !important;
  filter: brightness(0.88) contrast(1.05) !important;
  transition: filter 500ms ease !important;
}

.dc-about__media:hover .dc-about__image {
  filter: brightness(0.96) contrast(1.05) !important;
}

/* ── Colonne contenu ── */
.dc-about__content {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.75rem !important;
}

.dc-about__label {
  font-family: var(--font-body) !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  color: #CA8A04 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  max-width: none !important;
  line-height: 1.4 !important;
}

.dc-about__label::before {
  content: '' !important;
  display: block !important;
  width: 2.5rem !important;
  height: 1px !important;
  background: #CA8A04 !important;
  flex-shrink: 0 !important;
}

.dc-about__title {
  font-family: var(--font-heading) !important;
  font-size: clamp(2.25rem, 4vw, 3.75rem) !important;
  font-weight: 300 !important;
  color: var(--color-black) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  margin: 0 !important;
}

.dc-about__text,
.dc-about__text p {
  color: rgba(28, 25, 23, 0.65) !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  max-width: 52ch !important;
  margin: 0 !important;
}

.dc-about__text p + p {
  margin-top: 1em !important;
}

/* Stats — panel sur fond blanc */
.dc-about__stats {
  display: flex !important;
  flex-direction: row !important;
  gap: 0 !important;
  border: 1px solid rgba(202, 138, 4, 0.25) !important;
  background: rgba(202, 138, 4, 0.04) !important;
  overflow: hidden !important;
  width: fit-content !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.dc-about__stat {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.25rem 2rem !important;
  gap: 0.25rem !important;
  position: relative !important;
}

.dc-about__stat + .dc-about__stat::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 20% !important;
  height: 60% !important;
  width: 1px !important;
  background: rgba(202, 138, 4, 0.2) !important;
}

.dc-about__stat-num {
  display: block !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(2rem, 3.5vw, 3rem) !important;
  font-weight: 600 !important;
  color: #D4A017 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
}

.dc-about__stat-label {
  display: block !important;
  font-family: var(--font-body) !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(28, 25, 23, 0.5) !important;
  white-space: nowrap !important;
}

/* CTA */
.dc-about__cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--color-dark) !important;
  text-decoration: none !important;
  padding-bottom: 0.4rem !important;
  border-bottom: 1px solid rgba(202, 138, 4, 0.4) !important;
  transition: color 250ms ease, border-color 250ms ease, gap 250ms ease !important;
  width: fit-content !important;
  min-height: 44px !important;
}

.dc-about__cta:hover,
.dc-about__cta:focus-visible {
  color: #CA8A04 !important;
  border-color: #CA8A04 !important;
  gap: 1.25rem !important;
}

.dc-about__cta svg {
  flex-shrink: 0 !important;
  width: 20px !important;
  height: 20px !important;
}

.dc-about__cta:focus-visible {
  outline: 2px solid #D4A017 !important;
  outline-offset: 4px !important;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .dc-about__grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .dc-about__year {
    font-size: clamp(5rem, 25vw, 10rem) !important;
    top: auto !important;
    bottom: -1rem !important;
    right: -0.5rem !important;
    transform: none !important;
  }

  .dc-about__image {
    height: clamp(260px, 55vw, 400px) !important;
  }
}

@media (max-width: 560px) {
  .dc-about__stats {
    width: 100% !important;
  }

  .dc-about__stat {
    flex: 1 !important;
    padding: 1rem 0.5rem !important;
  }

  .dc-about__text,
  .dc-about__text p {
    max-width: 100% !important;
  }
}

/* ============================================================
   PAGE CATÉGORIE — Header vidéo + Highlight produit
   ============================================================ */

/* ── Header vidéo ─────────────────────────────────────────── */
.dc-cat-hero {
  position: relative;
  width: 100%;
  height: 33vh;
  min-height: 200px;
  max-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-black);
}
.dc-cat-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.dc-cat-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(12,10,9,0.28) 0%,
    rgba(12,10,9,0.62) 100%
  );
}
/* Sans vidéo : même hauteur */
.dc-cat-hero:not(:has(.dc-cat-hero__video)) {
  height: 33vh;
  min-height: 180px;
}
.dc-cat-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1.5rem 3rem;
  max-width: 780px;
}
.dc-cat-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--color-white);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.dc-cat-hero__desc {
  font-family: var(--font-body);
  font-size: 0.80rem;
  color: rgba(250,250,249,0.72);
  margin: 1rem 0 0;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

/* ── Espace hero → highlight ──────────────────────────────── */
.dc-cat-hero + .dc-cat-highlight {
  margin-top: 3rem;
}

/* ── Highlight produit — 50/50, proportions éditorial ─────── */
.dc-cat-highlight {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  min-height: 520px;
  background-color: #FFFFFF !important;
}

/* Colonne gauche : photo lifestyle 50% */
.dc-cat-highlight__scene {
  width: 50% !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  position: relative !important;
}
.dc-cat-highlight__scene img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* Colonne droite : bouteille + infos 50% */
.dc-cat-highlight__product {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 3rem 3rem !important;
  gap: 0 !important;
  background-color: #FFFFFF !important;
}
.dc-cat-highlight__bottle {
  display: block !important;
  width: auto !important;
  max-height: 220px !important;
  max-width: 130px !important;
  object-fit: contain !important;
  margin-bottom: 1.5rem !important;
}
.dc-cat-highlight__name {
  font-family: var(--font-body) !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.20em !important;
  text-transform: uppercase !important;
  color: var(--color-dark) !important;
  text-align: center !important;
  margin: 0 0 0.45rem !important;
}
.dc-cat-highlight__price {
  font-family: var(--font-body) !important;
  font-size: 0.60rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.10em !important;
  color: var(--color-mid) !important;
  text-align: center !important;
  margin: 0 0 1.5rem !important;
}
.dc-cat-highlight__price .woocommerce-Price-amount {
  font-family: inherit !important;
  font-size: inherit !important;
  color: inherit !important;
}
.dc-cat-highlight__cta {
  display: block !important;
  width: 100% !important;
  max-width: 220px !important;
  text-align: center !important;
  font-family: var(--font-body) !important;
  font-size: 0.58rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: #FFFFFF !important;
  background-color: var(--color-dark) !important;
  text-decoration: none !important;
  padding: 0.95rem 1.5rem !important;
  transition: background-color 220ms ease !important;
}
.dc-cat-highlight__cta:hover {
  background-color: var(--color-gold) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .dc-cat-highlight { flex-direction: column !important; min-height: auto !important; }
  .dc-cat-highlight__scene { width: 100% !important; height: 56vw !important; max-height: 360px !important; }
  .dc-cat-highlight__product { padding: 2rem 1.5rem !important; }
  .dc-cat-highlight__bottle { max-height: 160px !important; }
}

/* Responsive hero */
@media (max-width: 700px) {
  .dc-cat-hero { height: 55vh; min-height: 280px; }
  .dc-cat-hero__content { padding: 1.5rem; }
}

/* ============================================================
   DISPLAY BOUTEILLES — [dc_bottles] / [dc_bottle]
   Grid masonry-like CSS, 3 tailles (sm/md/lg), max 4 colonnes
   ============================================================ */

.dc-bottles {
  display: grid !important;
  grid-template-columns: repeat(var(--dc-bcols, 4), 1fr) !important;
  grid-auto-rows: 80px !important;
  gap: 4px !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

/* ── 3 tailles : span de rangées (+ 1 pour la caption sous l'image) ── */
.dc-bottle--sm { grid-row: span 4 !important; } /* ~320px total */
.dc-bottle--md { grid-row: span 6 !important; } /* ~480px total */
.dc-bottle--lg { grid-row: span 8 !important; } /* ~640px total */

/* ── Cellule lien (flex column : image + caption) ── */
.dc-bottle {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  text-decoration: none !important;
  overflow: visible !important;
  background-color: transparent !important;
  cursor: pointer !important;
  box-shadow: none !important;
  border: none !important;
}

/* ── Cadre image (overflow:hidden pour le zoom au hover) ── */
.dc-bottle__frame {
  flex: 1 !important;
  min-height: 0 !important;
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
  background-color: transparent !important;
}

/* ── Photo — contain partout : bouteille toujours entière ── */
.dc-bottle__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  padding: 6% !important;
  transform: scale(0.96) !important;
  transform-origin: center !important;
  transition: transform 550ms cubic-bezier(0.25,0.46,0.45,0.94) !important;
  will-change: transform !important;
}

/* ── Caption — sous l'image ── */
.dc-bottle__caption {
  flex-shrink: 0 !important;
  padding: 0.75rem 0.25rem 0.5rem !important;
  background-color: transparent !important;
  border-top: none !important;
  text-align: center !important;
}
.dc-bottle__name {
  display: inline-block !important;
  font-family: var(--font-body) !important;
  font-size: 0.60rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--color-dark) !important;
  margin: 0 0 0.22rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  /* liseré sous le texte */
  padding-bottom: 3px !important;
  border-bottom: 2px solid transparent !important;
  transition: border-color 220ms ease !important;
}
.dc-bottle__price {
  display: block !important;
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  color: var(--color-mid) !important;
  line-height: 1 !important;
  margin-top: 0.18rem !important;
}
.dc-bottle__price .woocommerce-Price-amount {
  font-family: inherit !important;
  font-size: inherit !important;
  color: inherit !important;
}

/* ── Hover (desktop) ── */
@media (hover: hover) {
  .dc-bottle:hover .dc-bottle__img {
    transform: scale(1.05) !important;
  }
  .dc-bottle:hover .dc-bottle__name {
    border-bottom-color: var(--color-gold) !important;
  }
}

/* ── Focus clavier ── */
.dc-bottle:focus-visible {
  outline: 2px solid var(--color-gold) !important;
  outline-offset: 2px !important;
  z-index: 3 !important;
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .dc-bottle__img,
  .dc-bottle__name { transition: none !important; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .dc-bottles {
    grid-template-columns: repeat(min(3, var(--dc-bcols, 4)), 1fr) !important;
  }
}

@media (max-width: 700px) {
  .dc-bottles {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 65px !important;
    gap: 6px !important;
  }
  .dc-bottle--lg { grid-row: span 7 !important; }
  .dc-bottle--md { grid-row: span 5 !important; }
  .dc-bottle--sm { grid-row: span 4 !important; }
  .dc-bottle__name { font-size: 0.56rem !important; }
  .dc-bottle__price { font-size: 0.88rem !important; }
}

@media (max-width: 420px) {
  .dc-bottles {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 80px !important;
    gap: 6px !important;
  }
  .dc-bottle--sm,
  .dc-bottle--md,
  .dc-bottle--lg { grid-row: span 5 !important; }
}

/* ============================================================
   SECTION GAMMES — 2 à 4 colonnes
   Namespace : .dc-gammes / .dc-gamme (isolé du header)
   ============================================================ */

/* Grille principale — isolation totale du stacking context */
.dc-gammes {
  display: grid;
  grid-template-columns: repeat(var(--dc-cols, 3), 1fr);
  gap: 0;
  width: 100%;
  isolation: isolate; /* empêche tout z-index interne d'affecter le header */
  position: relative;
  z-index: 0;
}

/* Colonne = lien cliquable */
.dc-gamme {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;        /* Paysage — moins haut */
  text-decoration: none;
  cursor: pointer;
  background-color: var(--color-black);
}

/* ── Fond image ─────────────────────────────────────────── */
.dc-gamme__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transform-origin: center;
  transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity   400ms ease;
  will-change: transform;
}

/* ── Fond vidéo (caché par défaut) ──────────────────────── */
.dc-gamme__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 500ms ease;
  will-change: opacity;
  pointer-events: none;
}

/* ── Overlay dégradé — lisibilité du texte ──────────────── */
.dc-gamme__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(12, 10, 9, 0.08)  0%,
    rgba(12, 10, 9, 0.15) 40%,
    rgba(12, 10, 9, 0.70) 75%,
    rgba(12, 10, 9, 0.88) 100%
  );
  transition: background 400ms ease;
}

/* ── Contenu texte ──────────────────────────────────────── */
.dc-gamme__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.dc-gamme__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  text-shadow: 0 2px 12px rgba(12, 10, 9, 0.5);
  transition: transform 400ms ease, color 300ms ease;
}

/* Filet or sous le titre */
.dc-gamme__title::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  margin-top: 0.6rem;
  transition: width 400ms ease;
}

/* Lien "Découvrir" */
.dc-gamme__cta {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 350ms ease 100ms, transform 350ms ease 100ms;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Flèche SVG inline */
.dc-gamme__cta::after {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background-color: var(--color-gold-light);
  transition: width 300ms ease;
}

/* ── États hover (desktop uniquement) ───────────────────── */
@media (hover: hover) {
  .dc-gamme:hover .dc-gamme__image {
    transform: scale(1.06);
  }

  .dc-gamme:hover .dc-gamme__video {
    opacity: 1;
  }

  /* Overlay plus sombre pour meilleure lisibilité vidéo */
  .dc-gamme:hover .dc-gamme__overlay {
    background: linear-gradient(
      to bottom,
      rgba(12, 10, 9, 0.15)  0%,
      rgba(12, 10, 9, 0.25) 40%,
      rgba(12, 10, 9, 0.78) 75%,
      rgba(12, 10, 9, 0.92) 100%
    );
  }

  .dc-gamme:hover .dc-gamme__title {
    transform: translateY(-4px);
    color: var(--color-white);
  }

  .dc-gamme:hover .dc-gamme__title::after {
    width: 4rem;
  }

  .dc-gamme:hover .dc-gamme__cta {
    opacity: 1;
    transform: translateY(0);
  }

  .dc-gamme:hover .dc-gamme__cta::after {
    width: 2.5rem;
  }
}

/* ── Focus clavier ──────────────────────────────────────── */
.dc-gamme:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: -3px;
  z-index: 3;
}

/* ── Séparateurs verticaux entre colonnes ───────────────── */
.dc-gamme + .dc-gamme {
  border-left: 1px solid rgba(202, 138, 4, 0.2);
}

/* ── prefers-reduced-motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .dc-gamme__image,
  .dc-gamme__video,
  .dc-gamme__overlay,
  .dc-gamme__title,
  .dc-gamme__title::after,
  .dc-gamme__cta {
    transition: none;
  }

  .dc-gamme__video {
    display: none; /* pas de vidéo si mouvement réduit */
  }
}

/* ── Responsive ─────────────────────────────────────────── */

/* Tablette : max 2 colonnes */
@media (max-width: 900px) {
  .dc-gammes {
    grid-template-columns: repeat(2, 1fr);
  }

  .dc-gamme {
    aspect-ratio: 4 / 5;
  }
}

/* Mobile : 1 colonne */
@media (max-width: 560px) {
  .dc-gammes {
    grid-template-columns: 1fr;
  }

  .dc-gamme {
    aspect-ratio: 16 / 9;
  }

  /* Sur mobile, "Découvrir" toujours visible */
  .dc-gamme__cta {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   WOOCOMMERCE — Design Luxe Vigneron
   Palette : or #CA8A04 / noir #0C0A09 / crème #F2F0EC
   Architecture :  Breadcrumb | [Image | Résumé] | Fiche | Similaires
   ============================================================ */

/* ── Notices WooCommerce ───────────────────────────────────
   Cibler toutes les variantes de sélecteurs Divi + WC Blocks
   pour écraser le bleu Divi avec !important partout.
──────────────────────────────────────────────────────────── */
.woocommerce-notices-wrapper,
.woocommerce ul.woocommerce-message,
.woocommerce div.woocommerce-message,
ul.woocommerce-message,
div.woocommerce-message,
.woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-message {
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  padding: 1rem 1.75rem !important;
  margin: 0 0 0 !important;
  list-style: none !important;
  line-height: 1.5 !important;
  display: flex !important;
  align-items: center !important;
  gap: 1.5rem !important;
  flex-wrap: wrap !important;
  /* Design luxe : fond sombre + accentuation or */
  background-color: var(--color-dark) !important;
  color: var(--color-white) !important;
  border: none !important;
  border-bottom: 1px solid rgba(202,138,4,0.3) !important;
  border-left: 4px solid var(--color-gold) !important;
  border-radius: 0 !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25) !important;
}

/* Erreur : accent rouge discret */
.woocommerce ul.woocommerce-error,
.woocommerce div.woocommerce-error,
.woocommerce-error {
  background-color: #1A0F0F !important;
  border-left-color: #C0392B !important;
  color: var(--color-white) !important;
  border: none !important;
  border-left: 4px solid #C0392B !important;
}
.woocommerce-info {
  background-color: var(--color-dark) !important;
  border-left-color: var(--color-mid) !important;
  color: var(--color-white) !important;
}

/* Bouton "Voir le panier" dans la notice */
.woocommerce-message a.button,
.woocommerce-message a.wc-forward,
.woocommerce-notices-wrapper .woocommerce-message a.button {
  font-family: var(--font-body) !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: var(--color-dark) !important;
  background-color: var(--color-gold) !important;
  border: none !important;
  padding: 0.55rem 1.2rem !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  transition: background-color 200ms ease !important;
  flex-shrink: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.woocommerce-message a.button:hover,
.woocommerce-message a.wc-forward:hover {
  background-color: var(--color-gold-dark) !important;
  color: var(--color-white) !important;
}

/* ── Suppressions Divi sur les pages produit ─────────────── */
/* Sidebar Divi / WordPress sur les single product */
body.single-product:not(.et-fb) #sidebar,
body.single-product:not(.et-fb) #right-area,
body.single-product:not(.et-fb) .et_right_sidebar,
body.single-product:not(.et-fb) aside.widget-area {
  display: none !important;
}

body.single-product:not(.et-fb) #main-content,
body.single-product:not(.et-fb) #left-area {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.single-product:not(.et-fb) #page-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Divi 5 — conteneurs additionnels à aplatir */
body.single-product:not(.et-fb) .et_pb_section,
body.single-product:not(.et-fb) .et_pb_row,
body.single-product:not(.et-fb) .et_pb_column {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.single-product:not(.et-fb) .dc-product,
body.single-product:not(.et-fb) article.product,
body.single-product:not(.et-fb) .type-product {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Widgets archive/catégories parasites en bas */
body.single-product:not(.et-fb) .et_pb_widget,
body.single-product:not(.et-fb) .widget_archive,
body.single-product:not(.et-fb) .widget_categories,
body.single-product:not(.et-fb) .widget_recent_entries {
  display: none !important;
}

/* ── Conteneur produit ───────────────────────────────────── */
.dc-product {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow-x: hidden;
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.dc-product__breadcrumb {
  padding: 0.85rem clamp(1.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(68,64,60,0.08);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--color-mid);
  letter-spacing: 0.03em;
}
.dc-product__breadcrumb .woocommerce-breadcrumb,
.dc-product__breadcrumb nav { font-size: 0.7rem; color: var(--color-mid); }
.dc-product__breadcrumb a   { color: var(--color-mid); text-decoration: none; transition: color var(--transition-fast); }
.dc-product__breadcrumb a:hover { color: var(--color-gold); }
.dc-product__bc-sep { display: inline-block; margin: 0 0.4rem; opacity: 0.35; }

/* ── Layout 2 colonnes ───────────────────────────────────── */
body.single-product .dc-product .dc-product__main,
.dc-product .dc-product__main,
div.dc-product div.dc-product__main {
  display: grid !important;
  grid-template-columns: 52% 48% !important;
  grid-template-rows: auto !important;
  min-height: 80vh !important;
  align-items: stretch !important;
  width: 100% !important;
  float: none !important;
}

/* ── Colonne image ───────────────────────────────────────── */
.dc-product__col-image {
  background-color: #FFFFFF !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: clamp(2.5rem, 4.5vw, 5rem) clamp(2rem, 3.5vw, 4.5rem) 2.5rem !important;
  position: relative !important;
  min-height: 560px !important;
  grid-column: 1 !important;
}

/* Galerie WooCommerce */
.dc-product__col-image .dc-product__image-wrap {
  width: 100% !important;
  max-width: 400px !important;
  position: sticky !important;
  top: 90px !important;
}

.dc-product__col-image .woocommerce-product-gallery {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.dc-product__col-image .woocommerce-product-gallery__wrapper {
  display: block !important;
  margin: 0 !important;
}

.dc-product__col-image .woocommerce-product-gallery__image {
  display: block !important;
  margin: 0 !important;
}

.dc-product__col-image .woocommerce-product-gallery__image img,
.dc-product__col-image .woocommerce-product-gallery__image a img {
  width: 100% !important;
  height: clamp(400px, 56vh, 680px) !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Thumbnails */
.dc-product__col-image .flex-control-nav.flex-control-thumbs {
  display: flex !important;
  gap: 5px !important;
  flex-wrap: wrap !important;
  margin-top: 10px !important;
  list-style: none !important;
  padding: 0 !important;
  justify-content: center !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
}
.dc-product__col-image .flex-control-thumbs li { margin: 0 !important; }
.dc-product__col-image .flex-control-thumbs li img {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain !important;
  background-color: rgba(255,255,255,0.5) !important;
  cursor: pointer !important;
  border: 1px solid transparent !important;
  opacity: 0.5 !important;
  transition: opacity var(--transition-fast), border-color var(--transition-fast) !important;
}
.dc-product__col-image .flex-control-thumbs li img.flex-active,
.dc-product__col-image .flex-control-thumbs li img:hover {
  border-color: var(--color-gold) !important;
  opacity: 1 !important;
}

/* Badge promo */
.dc-product__col-image .onsale,
body.single-product span.onsale {
  position: absolute !important;
  top: 1.5rem !important;
  right: 1.5rem !important;
  z-index: var(--z-base) !important;
  background-color: #8B1A1A !important;
  color: var(--color-white) !important;
  font-family: var(--font-body) !important;
  font-size: 0.6rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

/* ── Bouton PDF ─────────────────────────────────────────── */
.dc-product__pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-mid);
  text-decoration: none;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(68,64,60,0.12);
  margin-top: 1.25rem;
  width: 100%;
  max-width: 400px;
  transition: color var(--transition-fast);
}
.dc-product__pdf:hover { color: var(--color-gold); }
.dc-product__pdf svg  { flex-shrink: 0; color: var(--color-gold); }
.dc-product__pdf:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }

/* ── Colonne résumé ──────────────────────────────────────── */
.dc-product__col-info {
  padding: clamp(2.5rem, 4.5vw, 5rem) clamp(2rem, 4vw, 4.5rem) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.2rem !important;
  border-left: 1px solid rgba(68,64,60,0.08) !important;
  background-color: var(--color-white) !important;
  min-height: 560px !important;
  grid-column: 2 !important;
  justify-content: center !important;
}

/* Appellation / catégorie */
.dc-product__appellation {
  font-family: var(--font-body) !important;
  font-size: 0.6rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.32em !important;
  text-transform: uppercase !important;
  color: var(--color-gold) !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.7rem !important;
}
.dc-product__appellation::before {
  content: '' !important;
  display: block !important;
  width: 1.75rem !important;
  height: 1px !important;
  background: var(--color-gold) !important;
  flex-shrink: 0 !important;
}
.dc-product__appellation a { color: var(--color-gold) !important; text-decoration: none !important; }

body.single-product .dc-product .dc-product__name,
body.single-product .dc-product .entry-title,
body.single-product .woocommerce div.product h1.product_title {
  font-family: var(--font-heading) !important;
  font-size: clamp(2rem, 3vw, 3.5rem) !important;
  font-weight: 300 !important;
  font-style: normal !important;
  color: var(--color-black) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
}

/* Filet doré */
.dc-product__rule {
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  flex-shrink: 0;
}

/* Prix */
body.single-product .dc-product .price,
body.single-product .dc-product__col-info .price,
body.single-product .woocommerce div.product p.price,
body.single-product .woocommerce div.product span.price {
  font-family: var(--font-heading) !important;
  font-size: 1.6rem !important;
  font-weight: 400 !important;
  font-style: normal !important;
  color: var(--color-dark) !important;
  letter-spacing: 0.04em !important;
  margin: 0 !important;
}
body.single-product .dc-product .price ins { text-decoration: none !important; color: var(--color-gold-dark) !important; }
body.single-product .dc-product .price del { opacity: 0.4 !important; font-size: 0.82em !important; margin-right: 0.5rem !important; }

/* Prix mis à jour par variation */
.woocommerce-variation-price .price {
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: var(--color-gold-dark) !important;
  letter-spacing: 0.08em !important;
}

/* Description courte */
.dc-product__col-info .woocommerce-product-details__short-description p,
.dc-product__col-info .woocommerce-product-details__short-description {
  font-family: var(--font-body) !important;
  font-size: 0.88rem !important;
  color: var(--color-mid) !important;
  line-height: 1.85 !important;
  max-width: 46ch !important;
  margin: 0 !important;
}

/* ── Formulaire variations + panier ─────────────────────── */
.dc-product__form-wrap {
  border-top: 1px solid rgba(68,64,60,0.1);
  border-bottom: 1px solid rgba(68,64,60,0.1);
  padding: 1.5rem 0;
  margin: 0.25rem 0;
}
.dc-product__form-wrap form.cart {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
}

/* Table variations */
.dc-product__form-wrap .variations {
  display: block !important;
  width: 100% !important;
  border: none !important;
  margin: 0 0 0.5rem !important;
}
.dc-product__form-wrap .variations tr { display: flex !important; flex-direction: column !important; gap: 0.35rem !important; margin-bottom: 0.85rem !important; }
.dc-product__form-wrap .variations td,
.dc-product__form-wrap .variations th { display: block !important; padding: 0 !important; border: none !important; text-align: left !important; }
.dc-product__form-wrap .variations th.label label {
  font-family: var(--font-body) !important;
  font-size: 0.6rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.26em !important;
  text-transform: uppercase !important;
  color: var(--color-dark) !important;
}

/* Select variation élégant */
body.single-product .dc-product .variations select,
.dc-product__form-wrap .variations select {
  width: 100% !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  color: var(--color-dark) !important;
  background-color: var(--color-white) !important;
  border: 1px solid rgba(68,64,60,0.2) !important;
  border-radius: 0 !important;
  padding: 0.8rem 2.4rem 0.8rem 0.9rem !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23CA8A04' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.9rem center !important;
  transition: border-color var(--transition-fast) !important;
  min-height: 48px !important;
}
body.single-product .dc-product .variations select:focus,
.dc-product__form-wrap .variations select:focus {
  outline: none !important;
  border-color: var(--color-gold) !important;
  box-shadow: 0 0 0 2px rgba(202,138,4,0.1) !important;
}

.dc-product__form-wrap .reset_variations {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: rgba(68,64,60,0.45);
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--transition-fast);
  letter-spacing: 0.04em;
}
.dc-product__form-wrap .reset_variations:hover { color: var(--color-gold); }

/* Description de variation */
.woocommerce-variation-description p {
  font-family: var(--font-body);
  font-size: 0.83rem;
  color: var(--color-mid);
  line-height: 1.65;
  margin: 0;
}

/* Stock */
body.single-product .dc-product .stock {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
body.single-product .dc-product .stock.in-stock     { color: #4D7C0F; }
body.single-product .dc-product .stock.out-of-stock { color: #8B1A1A; }

/* Quantité + bouton côte à côte */
body.single-product .dc-product form.cart {
  display: flex !important;
  flex-direction: row !important;
  gap: 0.75rem !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
}

/* ── Champ quantité avec flèches ─────────────────────────── */
body.single-product .dc-product .dc-qty {
  position: relative !important;
  display: flex !important;
  align-items: stretch !important;
  flex-shrink: 0 !important;
}

body.single-product .dc-product .dc-qty .qty {
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  width: 96px !important;
  height: 56px !important;
  text-align: center !important;
  border: 1.5px solid rgba(68,64,60,0.2) !important;
  background-color: var(--color-white) !important;
  color: var(--color-dark) !important;
  border-radius: 0 !important;
  -moz-appearance: textfield !important;
  padding-right: 28px !important;
  transition: border-color var(--transition-fast) !important;
}
body.single-product .dc-product .dc-qty .qty:focus {
  outline: none !important;
  border-color: var(--color-gold) !important;
}
body.single-product .dc-product .dc-qty .qty::-webkit-inner-spin-button,
body.single-product .dc-product .dc-qty .qty::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
}

/* Flèches ↑↓ */
.dc-qty__arrows {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  border-left: 1.5px solid rgba(68,64,60,0.15) !important;
}
.dc-qty__btn {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: rgba(68,64,60,0.5) !important;
  padding: 0 !important;
  line-height: 1 !important;
  transition: color var(--transition-fast), background-color var(--transition-fast) !important;
}
.dc-qty__btn:hover {
  color: var(--color-gold) !important;
  background-color: rgba(202,138,4,0.06) !important;
}
.dc-qty__btn--up { border-bottom: 1px solid rgba(68,64,60,0.1) !important; }

/* ── Bouton Acheter — or ─────────────────────────────────── */
body.single-product .dc-product .single_add_to_cart_button,
body.single-product .dc-product .woocommerce-variation-add-to-cart .single_add_to_cart_button,
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button {
  font-family: var(--font-body) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.32em !important;
  text-transform: uppercase !important;
  color: var(--color-white) !important;
  background-color: var(--color-gold) !important;
  border: 1.5px solid var(--color-gold) !important;
  border-radius: 0 !important;
  padding: 0 2rem !important;
  height: 56px !important;
  cursor: pointer !important;
  flex: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease !important;
  min-width: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  line-height: 1 !important;
}
body.single-product .dc-product .single_add_to_cart_button:hover,
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background-color: var(--color-gold-dark) !important;
  border-color: var(--color-gold-dark) !important;
  color: var(--color-white) !important;
  box-shadow: 0 4px 18px rgba(146,64,14,0.28) !important;
}
/* Flèche Divi — sortir du flux flex, la positionner à droite */
body.single-product .dc-product .single_add_to_cart_button::after,
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button::after {
  position: absolute !important;
  right: 1.1rem !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  transition: right 200ms ease, opacity 200ms ease !important;
}

body.single-product .dc-product .single_add_to_cart_button:focus-visible {
  outline: 2px solid var(--color-gold) !important;
  outline-offset: 3px !important;
}
body.single-product .dc-product .single_add_to_cart_button.loading,
body.single-product .dc-product .single_add_to_cart_button:disabled {
  opacity: 0.5 !important;
  cursor: wait !important;
}

/* ── Étiquette "Vendu par caisse de 6" ──────────────────── */
.dc-product__caisse-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0.75rem 0 0;
  padding: 0;
  background-color: transparent;
  border-left: none;
}
.dc-product__caisse-note svg { flex-shrink: 0; color: var(--color-gold); }

/* ── Badges de confiance ────────────────────────────────── */
.dc-product__trust {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 1rem;
}
.dc-product__trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--color-mid);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.dc-product__trust-item svg { flex-shrink: 0; color: var(--color-gold); }

/* ── Meta produit ──────────────────────────────────────── */
.dc-product__meta-wrap,
.dc-product__col-info .product_meta {
  font-family: var(--font-body) !important;
  font-size: 0.68rem !important;
  color: rgba(68,64,60,0.45) !important;
  letter-spacing: 0.04em !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.2rem !important;
}
.dc-product__col-info .product_meta a { color: var(--color-gold) !important; text-decoration: none !important; }

/* ════════════════════════════════════════════════════════════
   FICHE TECHNIQUE — Section pleine largeur fond sombre
   ════════════════════════════════════════════════════════════ */
.dc-fiche {
  background-color: var(--color-dark);
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
  margin: 0;
  max-width: 100%;
}
.dc-fiche__header {
  max-width: 1200px;
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem);
}
.dc-fiche__superlabel {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.dc-fiche__superlabel::before {
  content: '';
  display: block;
  width: 1.75rem;
  height: 1px;
  background: var(--color-gold);
  flex-shrink: 0;
}
.dc-fiche__title {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.65rem, 2.8vw, 2.6rem) !important;
  font-weight: 500 !important;
  font-style: normal !important;
  letter-spacing: -0.02em !important;
  color: var(--color-white) !important;
  margin: 0 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}
.dc-fiche__list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 4rem;
  padding: 0;
  list-style: none;
}
.dc-fiche__row {
  display: grid;
  grid-template-columns: minmax(150px, 30%) 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(202,138,4,0.1);
  align-items: baseline;
  margin: 0;
}
.dc-fiche__label {
  font-family: var(--font-body) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  color: var(--color-gold) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.dc-fiche__value {
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  color: rgba(250,250,249,0.62) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* ════════════════════════════════════════════════════════════
   PRODUITS SIMILAIRES (UPSELLS / RELATED)
   ════════════════════════════════════════════════════════════ */
.dc-product__upsells {
  padding: clamp(3rem, 5.5vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  background-color: var(--color-white);
}
.dc-product__upsells h2,
.upsells h2,
.related h2 {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem) !important;
  font-weight: 300 !important;
  font-style: normal !important;
  letter-spacing: -0.025em !important;
  color: var(--color-black) !important;
  margin: 0 0 2rem !important;
  text-align: center !important;
}
.upsells .products,
.related .products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.upsells .product,
.related .product {
  position: relative !important;
  background-color: #F2F0EC !important;
  overflow: hidden !important;
  cursor: pointer !important;
}
.upsells .product a,
.related .product a { display: block; text-decoration: none; }
.upsells .product img,
.related .product img {
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  object-fit: contain !important;
  display: block !important;
  transform: scale(0.88);
  transition: transform var(--transition-slow) !important;
  padding: 0.5rem !important;
}
.upsells .product:hover img,
.related .product:hover img { transform: scale(1) !important; }
.upsells .product .woocommerce-loop-product__title,
.related .product .woocommerce-loop-product__title {
  font-family: var(--font-body) !important;
  font-size: 0.6rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--color-white) !important;
  background-color: var(--color-dark) !important;
  padding: 0.55rem 0.7rem !important;
  margin: 0 !important;
  text-align: center !important;
}
.upsells .product .price,
.related .product .price { display: none !important; }
.upsells .product .star-rating,
.related .product .star-rating { display: none !important; }
.upsells .product .button,
.related .product .button { display: none !important; }

/* ════════════════════════════════════════════════════════════
   PAGE BOUTIQUE / ARCHIVES
   ════════════════════════════════════════════════════════════ */
.dc-shop {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: #FFFFFF;
}

/* Fond blanc — écraser toutes les couches Divi */
body.tax-product_cat,
body.post-type-archive-product {
  background-color: #FFFFFF !important;
}
body.tax-product_cat #page-container,
body.tax-product_cat #main-content,
body.tax-product_cat #left-area,
body.tax-product_cat #et-main-area,
body.tax-product_cat .et_pb_section,
body.tax-product_cat .et_pb_row,
body.tax-product_cat .et_pb_column,
body.post-type-archive-product #page-container,
body.post-type-archive-product #main-content,
body.post-type-archive-product #left-area,
body.post-type-archive-product #et-main-area,
body.post-type-archive-product .et_pb_section,
body.post-type-archive-product .et_pb_row,
body.post-type-archive-product .et_pb_column {
  background-color: #FFFFFF !important;
  background: #FFFFFF !important;
}

/* La grille occupe toute la largeur, sans padding */
.dc-shop .dc-bottles {
  padding: 0 !important;
  margin: 0 !important;
}
.dc-shop__header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}
.dc-shop__title {
  font-family: var(--font-heading) !important;
  font-size: clamp(2rem, 4.5vw, 3.75rem) !important;
  font-weight: 300 !important;
  font-style: normal !important;
  letter-spacing: -0.03em !important;
  color: var(--color-black) !important;
  margin: 0 0 0.75rem !important;
}
.dc-shop__desc,
.dc-shop__desc p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-mid);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.78;
}
.dc-shop__empty {
  text-align: center;
  padding: 3rem;
  color: var(--color-mid);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.dc-bottles--shop { grid-auto-flow: row dense !important; }

/* Pagination */
.woocommerce-pagination { margin-top: 2.5rem; }
.woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.7rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-mid);
  border: 1px solid rgba(68,64,60,0.16);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.woocommerce-pagination ul li a:hover { border-color: var(--color-gold); color: var(--color-gold); }
.woocommerce-pagination ul li span.current { background-color: var(--color-gold); border-color: var(--color-gold); color: var(--color-white); }

/* ════════════════════════════════════════════════════════════
   PANIER & CHECKOUT
   ════════════════════════════════════════════════════════════ */
.woocommerce .checkout-button,
.woocommerce #place_order {
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--color-white) !important;
  background-color: var(--color-gold) !important;
  border: 2px solid var(--color-gold) !important;
  padding: 1rem 2rem !important;
  cursor: pointer !important;
  transition: background-color var(--transition-base), color var(--transition-base) !important;
  width: 100% !important;
  border-radius: 0 !important;
  display: block !important;
  text-align: center !important;
  min-height: 52px !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.woocommerce .checkout-button:hover,
.woocommerce #place_order:hover { background-color: transparent !important; color: var(--color-gold) !important; }

/* (hauteur qty définie plus haut dans .dc-qty) */

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — <table> HTML (display:block en mobile)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Passer la table en block pour empiler les colonnes */
  body.single-product .dc-product__main,
  body.single-product table.dc-product__main,
  body.single-product table.dc-product__main tbody,
  body.single-product table.dc-product__main tr {
    display: block !important;
    width: 100% !important;
  }
  body.single-product .dc-product__col-image,
  body.single-product table.dc-product__main td.dc-product__col-image {
    display: block !important;
    width: 100% !important;
    border-right: none !important;
    padding: 2rem 1.5rem !important;
  }
  body.single-product .dc-product__col-info,
  body.single-product table.dc-product__main td.dc-product__col-info {
    display: block !important;
    width: 100% !important;
    border-left: none !important;
    border-top: 1px solid rgba(68,64,60,0.08) !important;
    padding: 2rem 1.5rem !important;
  }
  .dc-product__col-image .woocommerce-product-gallery__image img {
    height: clamp(260px, 55vw, 420px) !important;
  }
  .dc-fiche__list { grid-template-columns: 1fr; gap: 0; }
  .upsells .products,
  .related .products { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 560px) {
  body.single-product .dc-product form.cart .cart { flex-direction: column !important; }
  body.single-product .dc-product .quantity .qty { width: 100% !important; }
  body.single-product .dc-product .single_add_to_cart_button { width: 100% !important; }
  .dc-fiche__row { grid-template-columns: 1fr !important; gap: 0.15rem !important; }
  .dc-fiche__label { font-size: 0.58rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  .dc-product__col-image .woocommerce-product-gallery__image img,
  .upsells .product img,
  .related .product img { transition: none !important; }
}

/* ============================================================
   FILTRES HORIZONTAUX — .dc-filter-bar
   Barre de filtres au-dessus de la grille catégorie
   ============================================================ */

.dc-filter-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 0.75rem 1.5rem !important;
  padding: 1.25rem 2rem !important;
  background-color: #FFFFFF !important;
  border-bottom: 1px solid rgba(28,25,23,0.08) !important;
  border-top: 1px solid rgba(28,25,23,0.06) !important;
  margin: 0 !important;
}

.dc-filter-form {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.5rem 1.25rem !important;
}

.dc-filter-group {
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
}

.dc-filter-label {
  font-family: var(--font-body) !important;
  font-size: 0.60rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--color-mid) !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

.dc-filter-select-wrap {
  position: relative !important;
}

.dc-filter-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  font-family: var(--font-body) !important;
  font-size: 0.70rem !important;
  font-weight: 500 !important;
  color: var(--color-dark) !important;
  background-color: #FFFFFF !important;
  border: 1px solid rgba(28,25,23,0.20) !important;
  border-radius: 0 !important;
  padding: 0.4rem 2.1rem 0.4rem 0.8rem !important;
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231C1917' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.65rem center !important;
  background-size: 9px !important;
  transition: border-color 200ms ease !important;
  min-width: 120px !important;
}

.dc-filter-select:hover {
  border-color: var(--color-gold) !important;
}

.dc-filter-select:focus {
  border-color: var(--color-gold) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(202,138,4,0.15) !important;
}

.dc-filter-select.is-active {
  border-color: var(--color-gold) !important;
  font-weight: 600 !important;
}

.dc-filter-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.dc-filter-btn {
  display: inline-flex !important;
  align-items: center !important;
  font-family: var(--font-body) !important;
  font-size: 0.60rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 0.4rem 1.1rem !important;
  border: 1px solid var(--color-dark) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease !important;
  border-radius: 0 !important;
  line-height: 1.4 !important;
}

.dc-filter-btn--apply {
  background-color: var(--color-dark) !important;
  color: var(--color-white) !important;
}

.dc-filter-btn--apply:hover {
  background-color: var(--color-black) !important;
  border-color: var(--color-black) !important;
  color: var(--color-white) !important;
}

.dc-filter-btn--reset {
  background-color: transparent !important;
  color: var(--color-dark) !important;
}

.dc-filter-btn--reset:hover {
  background-color: var(--color-dark) !important;
  color: var(--color-white) !important;
}

.dc-filter-count {
  font-family: var(--font-body) !important;
  font-size: 0.60rem !important;
  font-weight: 400 !important;
  color: var(--color-mid) !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

@media (max-width: 768px) {
  .dc-filter-bar {
    padding: 1rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .dc-filter-form {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }
  .dc-filter-group {
    width: 100% !important;
    justify-content: space-between !important;
  }
  .dc-filter-select-wrap {
    flex: 1 !important;
  }
  .dc-filter-select {
    width: 100% !important;
    min-width: auto !important;
  }
  .dc-filter-actions {
    padding-top: 0.25rem !important;
  }
}

/* ============================================================
   GRILLE UNIFORME — .dc-grid
   4 colonnes, cartes beige, badge "Meilleure vente", CTA bouton
   Inspiré Famille Perrin — sans notes / avis
   ============================================================ */

.dc-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
  padding: 2rem !important;
  margin: 0 !important;
  list-style: none !important;
  background-color: transparent !important;
}

.dc-grid-item {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  background-color: #F0E9DF !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  transition: box-shadow 260ms ease, transform 260ms ease !important;
}

/* Badge "Meilleure vente" */
.dc-grid-item__badge {
  position: absolute !important;
  top: 0.85rem !important;
  left: 0.85rem !important;
  z-index: 2 !important;
  font-family: var(--font-body) !important;
  font-size: 0.58rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  color: #FFFFFF !important;
  background-color: #7B2336 !important;
  padding: 0.28rem 0.75rem !important;
  border-radius: 100px !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

/* Cadre image — ratio portrait (bouteilles) */
.dc-grid-item__frame {
  aspect-ratio: 2 / 3 !important;
  overflow: hidden !important;
  background-color: transparent !important;
  position: relative !important;
  flex-shrink: 0 !important;
}

.dc-grid-item__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  padding: 10% !important;
  transform: scale(0.97) !important;
  transform-origin: center center !important;
  transition: transform 520ms cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform !important;
}

/* Nom du produit */
.dc-grid-item__caption {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 0.5rem 1rem 0.75rem !important;
  background-color: transparent !important;
}

.dc-grid-item__name {
  display: block !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  color: var(--color-black) !important;
  margin: 0 !important;
  line-height: 1.25 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Bouton CTA "Acheter — Xé" */
.dc-grid-item__cta {
  display: block !important;
  width: 100% !important;
  padding: 0.9rem 1rem !important;
  background-color: var(--color-black) !important;
  color: #FFFFFF !important;
  font-family: var(--font-body) !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  border-radius: 0 0 12px 12px !important;
  margin-top: 0 !important;
  transition: background-color 200ms ease !important;
  flex-shrink: 0 !important;
}

/* Hover desktop */
@media (hover: hover) {
  .dc-grid-item:hover {
    z-index: 2 !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
    transform: translateY(-2px) !important;
  }
  .dc-grid-item:hover .dc-grid-item__img {
    transform: scale(1.04) !important;
  }
  .dc-grid-item:hover .dc-grid-item__cta {
    background-color: var(--color-gold-dark) !important;
  }
}

/* Focus clavier */
.dc-grid-item:focus-visible {
  outline: 2px solid var(--color-gold) !important;
  outline-offset: 2px !important;
  z-index: 3 !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .dc-grid-item__img,
  .dc-grid-item__cta { transition: none !important; }
  .dc-grid-item { transition: none !important; transform: none !important; }
}

/* Responsive */
@media (max-width: 1100px) {
  .dc-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 700px) {
  .dc-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 1rem !important;
  }
  .dc-grid-item__name {
    font-size: 0.9rem !important;
  }
  .dc-grid-item__cta {
    font-size: 0.60rem !important;
    padding: 0.75rem 0.5rem !important;
  }
}

@media (max-width: 400px) {
  .dc-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .dc-grid-item__frame {
    aspect-ratio: 3 / 4 !important;
  }
}

/* ============================================================
   ACCORDION PRODUIT — <details>/<summary>
   Shortcode [dc_accordion][dc_tab title="…"]…[/dc_tab][/dc_accordion]
   Open/close natif navigateur, JS seulement pour one-at-a-time
   ============================================================ */

.dc-product__accordion-section {
  max-width: 760px !important;
  margin: 0 auto !important;
  padding: 3.5rem 2rem 4.5rem !important;
  border-top: 1px solid rgba(28,25,23,0.07) !important;
}

.dc-accordion {
  display: flex !important;
  flex-direction: column !important;
  border-top: 1px solid rgba(28,25,23,0.10) !important;
}

details.dc-accordion__item {
  border-bottom: 1px solid rgba(28,25,23,0.10) !important;
}

/* Supprime TOUS les marqueurs et pseudo-éléments Divi sur summary */
.dc-accordion summary {
  list-style: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 1.35rem 0 !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  gap: 1rem !important;
}

.dc-accordion summary::-webkit-details-marker { display: none !important; }
.dc-accordion summary::marker             { content: none !important; display: none !important; }
.dc-accordion summary::before             { content: none !important; display: none !important; }
.dc-accordion summary::after              { content: none !important; display: none !important; }

.dc-accordion__title {
  font-family: var(--font-body) !important;
  font-size: 0.65rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.20em !important;
  text-transform: uppercase !important;
  color: var(--color-black) !important;
  flex: 1 !important;
  transition: color 220ms ease !important;
}

/* Icône + en HTML, stylée directement sur le span */
.dc-accordion__icon {
  font-family: var(--font-body) !important;
  font-size: 1.25rem !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  color: var(--color-gold) !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1),
              color 220ms ease !important;
}

/* Corps — espace */
details.dc-accordion__item .dc-accordion__body {
  padding-top: 0.5rem !important;
  padding-bottom: 1.75rem !important;
  margin: 0 !important;
}

/* Animation à l'ouverture — @starting-style (Chrome 117+, FF129+, Safari 17.5+) */
details.dc-accordion__item[open] .dc-accordion__body {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 350ms ease, transform 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

@starting-style {
  details.dc-accordion__item[open] .dc-accordion__body {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Fallback JS : classe dc-is-opening ajoutée via reflow trick */
details.dc-accordion__item .dc-accordion__body.dc-is-opening {
  animation: dc-accordion-open 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

@keyframes dc-accordion-open {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dc-accordion__body p {
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  line-height: 1.85 !important;
  color: var(--color-mid) !important;
  margin: 0 0 0.85em !important;
  max-width: none !important;
}

.dc-accordion__body p:last-child {
  margin-bottom: 0 !important;
}

.dc-accordion__body strong {
  font-weight: 600 !important;
  color: var(--color-dark) !important;
}

.dc-accordion__body ul,
.dc-accordion__body ol {
  font-size: 0.875rem !important;
  line-height: 1.85 !important;
  color: var(--color-mid) !important;
  padding-left: 1.25rem !important;
  margin: 0 0 0.85em !important;
}

/* État ouvert (sélecteurs sans classe sur details/summary) */
.dc-accordion details[open] .dc-accordion__icon {
  transform: rotate(45deg) !important;
  color: var(--color-gold-dark) !important;
}

.dc-accordion details[open] .dc-accordion__title {
  color: var(--color-gold-dark) !important;
}

/* Hover */
@media (hover: hover) {
  .dc-accordion summary:hover .dc-accordion__title {
    color: var(--color-gold-dark) !important;
  }
  .dc-accordion summary:hover .dc-accordion__icon {
    color: var(--color-gold-dark) !important;
  }
}

/* Focus clavier */
.dc-accordion summary:focus-visible {
  outline: 2px solid var(--color-gold) !important;
  outline-offset: 3px !important;
  border-radius: 2px !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .dc-accordion details[open] .dc-accordion__body,
  .dc-accordion details .dc-accordion__body.dc-is-opening,
  .dc-accordion__icon { animation: none !important; transition: none !important; }
}

@media (max-width: 700px) {
  .dc-product__accordion-section {
    padding: 2.5rem 1.25rem 3rem !important;
  }
  .dc-accordion__title {
    font-size: 0.60rem !important;
  }
}

/* ── Carte illustration — image en cover, sans CTA ni légende ── */
.dc-grid-item--illustration {
  cursor: default !important;
  pointer-events: none !important;
}
.dc-grid-item--illustration .dc-grid-item__frame img {
  object-fit: cover !important;
  padding: 0 !important;
  transform: scale(1) !important;
  transition: none !important;
}
@media (hover: hover) {
  .dc-grid-item--illustration:hover {
    box-shadow: none !important;
    transform: none !important;
  }
}
