
@font-face {
  font-family: 'Satoshi';
  src: url("../fonts/satoshi-400.woff2") format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url("../fonts/satoshi-500.woff2") format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url("../fonts/satoshi-700.woff2") format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url("../fonts/satoshi-900.woff2") format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: 'Garabosse';
  src: url("../fonts/garabosse-400.woff2") format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0d0d0c;
  --black-soft: #1a1a18;
  --cream: #f4efe6;
  --beige: #f0d8a1;
  --yellow: #f7e74e;
  --line: rgba(244,239,230,0.14);
  color-scheme: dark;
  /* Largeurs de conteneur de page — variables plutôt que valeurs en dur pour
     pouvoir les faire grandir au-delà de 1920px en un seul endroit (cf. le
     @media (min-width: 1921px) tout en bas du fichier) : en dessous de 1920px
     rien ne change, strictement les mêmes pixels qu'avant. */
  --container-narrow: 1180px;
  --container-wide: 1680px;
  /* Gabarit de l'image/vidéo principale de la fiche produit — même logique. */
  --pp-image-width: 500px;
  --pp-image-height: 600px;
}

* { box-sizing: border-box; }

/* Dissuader le téléchargement des images (cf. preventImageDownload dans
 * assets/js/base.js pour le clic droit/glisser-déposer) : pas de fantôme
 * d'image au survol-glissé, pas de sélection tactile prolongée. */
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Masque visuellement mais garde accessible (lecteurs d'écran, navigation clavier) —
   utilisé par plusieurs labels/boutons de formulaire déjà présents dans le thème. */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--cream);
  font-family: 'Satoshi', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  /* Verrou général anti-défilement latéral (demandé le 2026-10-22) : malgré
   * plusieurs débordements ponctuels déjà corrigés au fil des pages (ex.
   * .atouts-grid, .reviews-section), la page restait "pannable" de gauche à
   * droite dès qu'UN SEUL élément quelque part dépassait, même de peu —
   * plutôt que de traquer chaque nouvelle source une par une, on bloque le
   * débordement horizontal ici, une bonne fois pour toutes, pour toutes les
   * pages du site. N'empêche aucun scroll vertical ni aucune mise en page
   * normale : seul l'excédent qui dépasserait de la largeur de l'écran est
   * désormais masqué au lieu d'ouvrir un espace vide à droite. */
  overflow-x: hidden;
}

#smooth-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform;
}

#scroll-spacer {
  visibility: hidden;
}

@media (max-width: 760px) {
  #smooth-content { position: static; width: auto; will-change: auto; transform: none !important; }
  #scroll-spacer { display: none; }
}

body {
  padding-top: env(safe-area-inset-top, 0px);
}

/* Écrans très larges (au-delà de 1920px, où tout le site est plafonné en
 * px fixes/clamp()) : "zoom" agrandit uniformément texte, photos et encarts
 * ensemble, sans casser la mise en page ni les mesures JS du scroll fluide
 * (contrairement à un transform: scale). Formule continue plutôt qu'un
 * palier fixe à un seuil donné : s'ajuste en douceur à la largeur réelle de
 * la fenêtre de chacun (redimensionnement, fenêtre non maximisée...), pas
 * seulement à la résolution de l'écran — demandé le 2026-10-21. Repère :
 * zoom 1 à 1920px, 1,5 à 3840px (4K), et continue de progresser au-delà
 * (ex. 5K, 8K) ; clamp() interdit tout rétrécissement en dessous de 1920px
 * et plafonne à 2 pour les très grands écrans. */
body {
  zoom: clamp(1, calc(1 + ((100vw - 1920px) / 1920px) * 0.5), 2);
}

#customCursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--beige);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), height 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}
/* Au survol d'une carte produit (.feat-card, .pp-related-card depuis le
 * 2026-10-18) : grossit légèrement et passe en beige clair (les cartes
 * elles-mêmes sont en beige plus foncé). La mention "Voir le produit"
 * affichée dans le rond a été retirée le 2026-10-19 (demandé) au profit
 * d'un simple agrandissement du rond. */
#customCursor.is-product-hover {
  width: 32px;
  height: 32px;
  background: color-mix( in srgb, var(--beige) 55%, white );
}
#customCursor .cursor-text {
  display: none;
}

@media (max-width: 760px) {
  #customCursor { display: none; }
}

/* Bouton "retour en haut" (demandé le 2026-10-16) : masqué tant qu'on n'a
 * pas scrollé, apparaît en bas à gauche de l'écran. */
/* Toujours visible, quel que soit le défilement (demandé le 2026-10-21 —
 * avant ça, le bouton n'apparaissait qu'après 500px de scroll). */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  /* Contour organique (demandé le 2026-10-27) plutôt qu'un cercle parfait,
   * pour reprendre le même esprit "dessiné à la main" que les autres encarts
   * du site (.account-section, .pp-add-btn...). */
  border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%;
  background: var(--beige);
  border: none;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0,0,0,0.4);
  z-index: 60;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  /* Safari iOS : les éléments position:fixed sont connus pour "sauter" au
   * milieu de l'écran pile au début d'un geste de scroll tactile, le temps
   * que le navigateur recalcule leur position (demandé le 2026-10-22,
   * reproduit uniquement sur mobile — pas un bug de ce thème spécifiquement,
   * un comportement WebKit documenté). translateZ(0) force l'élément sur
   * son propre calque GPU, ce qui supprime ce recalcul et le saut associé. */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.back-to-top svg { width: 22px; height: 22px; }
/* translateZ(0) repris dans le hover (toujours nécessaire, cf. commentaire
 * ci-dessus) en plus du survol demandé le 2026-10-27 : léger soulèvement +
 * agrandissement, plus visible que le simple changement de couleur déjà en
 * place. */
.back-to-top:hover {
  background: var(--cream);
  transform: translateZ(0) translateY(-3px) scale(1.08);
  box-shadow: 0 14px 32px rgba(0,0,0,0.45);
}
.back-to-top.is-hidden-by-cookie-banner { display: none; }

::selection { background: var(--beige); color: var(--black); }

/* ---------- NAVBAR ---------- */

.nav-spacer {
  height: 92px;
}

.navbar {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  height: 92px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  background: var(--black);
  border-bottom: 1px solid transparent;
  transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              left 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              right 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-radius 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.4s ease,
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}

.navbar.is-scrolled {
  top: 16px;
  left: 10%;
  right: 10%;
  height: 64px;
  border-radius: 100px;
  background: rgba(13, 13, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  border-color: var(--line);
  padding: 0 clamp(10px, 2vw, 32px);
}

.nav-links {
  display: flex;
  align-items: center;
  /* Le plancher descend avec la largeur de fenêtre (demandé le 2026-10-21,
   * pour repousser le seuil du menu hamburger le plus loin possible — voir
   * .nav-links a ci-dessous pour la taille de texte, qui fait l'essentiel
   * du gain de place). */
  gap: clamp(6px, 1.6vw, 34px);
  flex: 1;
}

.nav-links a {
  color: var(--cream); font-family: 'Garabosse', 'Satoshi', sans-serif;
  text-decoration: none;
  font-size: clamp(11px, 1vw, 16px);
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--beige);
  transition: right 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover {
  opacity: 1;
}
.nav-links a:hover::after {
  right: 0;
}

.nav-links a[aria-current="page"] {
  /* Le padding et la marge négative s'équilibrent (ne touchent pas la mise
   * en page) grâce au calc() partagé — en clamp pour rester sous la moitié
   * du plus petit espacement entre liens, qui descend bas en responsive
   * (.nav-links, plus haut) : sinon l'encart débordait sur les liens voisins
   * quand le menu se resserrait (demandé le 2026-10-21). */
  --pp-badge-pad: clamp(3px, 0.3vw, 13px);
  color: var(--black);
  opacity: 1;
  background: var(--beige);
  padding: 5px var(--pp-badge-pad);
  margin: -5px calc(-1 * var(--pp-badge-pad));
  border-radius: 14px 8px 16px 6px / 8px 15px 6px 14px;
  rotate: -0.6deg;
}
.nav-links a[aria-current="page"]::after {
  content: none;
}

/* La pastille rétrécie au scroll (80% de la largeur) laisse moins de place
 * qu'en haut de page : les liens doivent s'y tasser davantage pour ne pas
 * toucher le logo, sur les largeurs moyennes notamment (demandé le
 * 2026-10-21 — garder la forme de la pastille, juste desserrer l'intérieur). */
.navbar.is-scrolled .nav-links {
  gap: clamp(2px, 0.6vw, 22px);
}
.navbar.is-scrolled .nav-links a {
  font-size: clamp(11px, 1vw, 16px);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-trigger::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  order: 2;
  opacity: 0.65;
  transition: transform 0.2s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 18px;
  transform: translateX(-50%) translateY(-6px);
  min-width: 168px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s, padding-top 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
/* La navbar "descend" en pilule au scroll (.navbar.is-scrolled, cf. plus haut) :
   coins très arrondis + hauteur réduite, donc moins de dégagement sous l'icône
   qu'en haut de page — l'écart avant le menu déroulant augmente en conséquence
   pour ne pas accrocher visuellement le bord arrondi. */
.navbar.is-scrolled .dropdown-menu { padding-top: 28px; }
.dropdown-menu-inner {
  background: var(--black-soft);
  border: 1px solid var(--line);
  /* Contour irrégulier plus marqué que les 22/14/24/12 d'origine : à l'échelle
     de ce panneau (~330px), cet écart passait quasiment inaperçu — repris en
     plus accentué pour vraiment se lire comme "fait main", comme les boutons. */
  border-radius: 32px 14px 36px 10px / 16px 32px 10px 28px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.4);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .dropdown-trigger::before {
  transform: rotate(225deg) translateY(2px);
}

.dropdown-menu a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--cream);
  text-decoration: none;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background: rgba(240,216,161,0.1);
  color: var(--beige);
  font-family: 'Garabosse', 'Satoshi', sans-serif;
}

.dropdown-menu a[aria-current="page"] {
  color: var(--black);
  background: var(--beige);
  border-radius: 10px 5px 12px 5px / 5px 11px 5px 12px;
  rotate: -0.5deg;
}

/* Dropdown "Mon compte" (Étape B) : déclencheur = icône seule, sans chevron, et
   menu aligné à droite pour ne pas déborder du viewport (icône proche du bord). */
.nav-account-trigger::before { display: none; }
.nav-account-dropdown .dropdown-menu {
  left: auto;
  right: 0;
  transform: translateY(-6px);
}
.nav-account-dropdown:hover .dropdown-menu {
  transform: translateY(0);
}
/*
 * Pas de règle ici pour la couleur/police des liens : couleur, police et
 * absence de soulignement venaient déjà de .nav-links a (même valeurs), les
 * redéclarer ici avec la même spécificité que .dropdown-menu a:hover, mais
 * plus bas dans la feuille de style, l'emportait aussi AU SURVOL — empêchant
 * silencieusement le passage en beige sur ce menu précis (trouvé en comparant
 * les styles calculés réels entre les deux menus, pas en lisant le CSS).
 */

/* Mini-récapitulatif du panier au survol de l'icône (même mécanique de survol
   que "Mon compte" juste au-dessus) : déclencheur = icône seule, sans chevron,
   menu aligné à droite, contenu plus large (produits + sous-total + CTA). */
.nav-cart-trigger::before { display: none; }
.nav-cart-dropdown .dropdown-menu {
  left: auto;
  right: 0;
  transform: translateY(-6px);
}
.nav-cart-dropdown:hover .dropdown-menu { transform: translateY(0); }
.nav-cart-menu-inner { min-width: 300px; }
.nav-cart-empty { margin: 4px 2px; font-size: 13.5px; color: rgba(244,239,230,0.6); font-family: 'Satoshi', sans-serif; }
.nav-cart-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; max-height: 320px; overflow-y: auto; }
.nav-cart-item { display: flex; align-items: center; gap: 10px; padding: 2px; }
.nav-cart-item-thumb { flex: none; width: 42px; height: 42px; border-radius: 9px; overflow: hidden; background: #fff; }
.nav-cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-cart-item-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nav-cart-item-name { font-family: 'Garabosse', 'Satoshi', sans-serif; font-size: 13.5px; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-cart-item-qty { font-size: 11.5px; color: rgba(244,239,230,0.55); font-family: 'Satoshi', sans-serif; }
.nav-cart-item-price { flex: none; font-size: 12.5px; color: var(--cream); font-family: 'Satoshi', sans-serif; }
.nav-cart-subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 2px 10px;
  margin-bottom: 8px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--cream);
  font-family: 'Satoshi', sans-serif;
}
.nav-cart-cta { width: 100%; text-decoration: none; }

/* logo badge, centered */

.nav-logo-link { display: flex; align-items: center; height: 100%; }
.nav-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.nav-logo-icon {
  height: clamp(50px, 4.2vw, 80px);
  width: auto;
  display: block;
  opacity: 1;
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.navbar.is-scrolled .nav-logo-icon {
  height: 0;
  opacity: 0;
}

/* Logo texte (Logo-DH-texte.svg) : remplace le badge au scroll, en fondu croisé.
   Pas de largeur fixée : le ratio intrinsèque (attributs width/height du <img>)
   fait suivre la largeur automatiquement quand la hauteur anime. */
.nav-logo-text {
  display: block;
  height: 0;
  width: auto;
  opacity: 0;
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease 0.1s;
}

.navbar.is-scrolled .nav-logo-text {
  height: clamp(30px, 2.6vw, 44px);
  opacity: 1;
  /* Le SVG a plus de marge transparente en haut qu'en bas de son viewBox,
   * donc le texte "Dos Hermanos" paraît décalé vers le bas de la pastille
   * malgré un centrage flex correct sur la boîte de l'image — remonté pour
   * compenser (demandé le 2026-10-21). */
  margin-top: -7px;
}

/* Petite fenêtre (téléphone) : le badge rond est encombrant à cette taille —
 * le texte "Dos Hermanos" le remplace en permanence, même sans scroll
 * (demandé le 2026-10-21). Seuil distinct de celui du menu hamburger
 * (1350px) : l'écusson reste très bien à l'aise sur toute la plage tablette. */
@media (max-width: 760px) {
  .nav-logo-icon { height: 0; opacity: 0; }
  /* Même taille visuelle que l'encart "MENU" à côté : le SVG a une bonne
   * marge transparente interne (cf. plus haut), donc sa boîte doit être
   * sensiblement plus grande que celle du bouton MENU pour que l'encre
   * elle-même paraisse de la même taille (demandé le 2026-10-21). */
  .nav-logo-text {
    height: 54px;
    opacity: 1;
    margin-top: -7px;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex: 1;
}

.nav-actions button,
.nav-actions > a,
.nav-account-trigger,
.nav-cart-trigger {
  background: none;
  border: none;
  color: var(--cream);
  text-decoration: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-actions button:hover,
.nav-actions > a:hover,
.nav-account-trigger:hover,
.nav-cart-trigger:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.nav-cart-trigger:visited { color: var(--cream); }
.nav-actions svg { width: 19px; height: 19px; }

.nav-account-trigger[aria-current="page"] {
  background: var(--beige);
  color: var(--black);
  opacity: 1;
  border-radius: 8px 13px 7px 14px / 13px 7px 14px 8px;
  rotate: -2deg;
}

a.nav-points {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  background: var(--beige);
  color: var(--black);
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 11px;
  border-radius: 10px 15px 9px 16px / 15px 9px 16px 10px;
  rotate: -1.5deg;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1;
  transition: transform 0.2s ease;
}
a.nav-points:hover { transform: translateY(-1px); }
.nav-points-label { font-weight: 600; opacity: 0.65; font-size: 11px; }

.cart-badge {
  position: relative;
}
.cart-badge .count {
  position: absolute;
  top: -6px;
  right: -7px;
  background: var(--beige);
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Satoshi', sans-serif;
}

/* Seuil relevé de 760 à 920px (demandé le 2026-10-21) : avec 7 liens, le logo
 * et les icônes de compte/panier, les liens de nav touchaient le logo dès
 * ~860px de large même avec le texte/l'espacement réduits ci-dessus (.nav-links,
 * .nav-links a) — le menu hamburger prend le relais un peu avant ce point.
 * D'abord monté à 1350px, mais ça faisait apparaître le hamburger sur des
 * largeurs de bureau courantes (1366px...), jugé étrange — rabaissé à 920px
 * une fois le texte de nav rendu responsive, qui fait l'essentiel du travail.
 * Uniquement ce bloc nav/logo/burger : les autres points de rupture à 760px
 * (cartes, colonnes d'article...) ne sont pas concernés. */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .navbar { justify-content: space-between; }
  .navbar.is-scrolled { left: 4%; right: 4%; }
  .nav-actions { gap: 8px; } /* panier + points restent visibles sur mobile, cf. Étape B */
  /* Picto compte retiré du bandeau mobile : déplacé dans le menu hamburger
   * (.mobile-menu-link--account), avec son intitulé, demandé le 2026-10-22. */
  .nav-account-mobile-hide { display: none; }
  a.nav-points { padding: 6px 9px; font-size: 12px; }
  .nav-burger { display: inline-flex; }
  .nav-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    /* +10px à l'origine (débordait sous la barre de nav) ; -50% pile
     * mesuré trop haut (l'encre du SVG, pas juste sa boîte, mesurée par
     * analyse de pixels : centre réel à +3px sous le centre de la boîte une
     * fois le margin-top:-7px de .nav-logo-text pris en compte) — +3px
     * aligne le centre de l'ENCRE sur celui de MENU/50 pts (demandé le
     * 2026-10-22). */
    transform: translate(-50%, calc(-50% + 3px));
  }
  .navbar.is-scrolled {
    top: env(safe-area-inset-top, 0px);
    left: 0;
    right: 0;
    height: 92px;
    border-radius: 0;
    padding: 0 clamp(20px, 4vw, 56px);
  }
  .navbar.is-scrolled .nav-logo-text {
    height: clamp(34px, 9vw, 46px);
  }
}

/* ---------- MENU MOBILE (hamburger) ---------- */

/* Même style "cartouche" dessiné à la main que l'encart points (a.nav-points,
 * plus haut) — coins irréguliers + légère rotation — au lieu d'une pilule
 * parfaitement symétrique, pour rester cohérent avec le reste de la nav
 * mobile (demandé le 2026-10-21). */
.nav-burger {
  align-items: center;
  gap: 9px;
  background: var(--beige);
  color: var(--black);
  border: none;
  border-radius: 10px 15px 9px 16px / 15px 9px 16px 10px;
  rotate: -1.5deg;
  padding: 10px 18px;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  flex: none;
}

/* "+" retiré de l'encart MENU : prenait de la place pour rien (demandé le
 * 2026-10-22) — display:none plutôt que de retirer le span du HTML, pour ne
 * pas casser mobileMenu() dans base.js qui lui ajoute/retire la classe
 * "is-open" à chaque ouverture/fermeture. Ciblé par id (#navBurgerIcon)
 * plutôt que .nav-burger-icon : cette classe est réutilisée par le bouton
 * "Fermer" (.mobile-menu-close) à l'intérieur du panneau, qui doit garder
 * sa croix. padding de l'encart rééquilibré en symétrique (18px/18px au lieu
 * de 18px/16px) maintenant que l'icône ne pousse plus le texte à gauche. */
#navBurgerIcon { display: none; }

.nav-burger-icon {
  position: relative;
  width: 13px;
  height: 13px;
  flex: none;
  transition: transform 0.25s ease;
}
.nav-burger-icon span { position: absolute; background: var(--black); border-radius: 2px; }
.nav-burger-icon span:first-child { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.nav-burger-icon span:last-child { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }
.nav-burger-icon.is-open { transform: rotate(45deg); }

.mobile-menu-close .nav-burger-icon span { background: var(--cream); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) 16px 16px;
  background: rgba(13,13,12,0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.mobile-menu-panel {
  background: var(--beige);
  color: var(--black);
  border-radius: 28px;
  padding: 20px 24px 28px;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-16px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.is-open .mobile-menu-panel { transform: translateY(0) scale(1); }

/* Même forme "cartouche" que le bouton MENU (coins irréguliers + légère
 * rotation) — demandé le 2026-10-22. Couleurs INCHANGÉES (fond noir, texte
 * crème) : contrairement à MENU qui ressort sur le fond noir de la navbar,
 * ce bouton est posé sur le panneau beige du menu mobile (.mobile-menu-panel)
 * — passer en beige comme MENU l'aurait rendu quasi invisible (texte/fond de
 * même couleur), vérifié à l'écran avant de corriger. */
.mobile-menu-close {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  background: var(--black);
  color: var(--cream);
  border: none;
  border-radius: 10px 15px 9px 16px / 15px 9px 16px 10px;
  rotate: -1.5deg;
  padding: 10px 18px;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-menu-links { display: flex; flex-direction: column; margin-top: 20px; }
.mobile-menu-links > a {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(27px, 7.5vw, 34px);
  color: var(--black);
  text-decoration: none;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(13,13,12,0.12);
  transition: background 0.2s ease, padding-left 0.2s ease;
  border-radius: 8px;
}
.mobile-menu-links > a:active { background: rgba(13,13,12,0.05); padding-left: 10px; }
.mobile-menu-links > a:last-child,
.mobile-menu-links > .mobile-nav-item:last-child .mobile-nav-row {
  border-bottom: none;
}

/* Entrée de menu mobile avec sous-catégories (Fleurs, Résines, Guide...) :
 * le texte reste un lien vers la page générale, le bouton rond déroule la
 * liste des sous-pages — un seul groupe ouvert à la fois (cf. base.js),
 * demandé le 2026-11-11. */
.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(13,13,12,0.12);
}
.mobile-nav-row a {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(27px, 7.5vw, 34px);
  color: var(--black);
  text-decoration: none;
  flex: 1;
  min-width: 0;
}
.mobile-nav-toggle {
  flex: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(13,13,12,0.25);
  border-radius: 50%;
  cursor: pointer;
}
.mobile-nav-icon { position: relative; width: 13px; height: 13px; }
.mobile-nav-icon::before, .mobile-nav-icon::after { content: ""; position: absolute; background: var(--black); border-radius: 2px; }
.mobile-nav-icon::before { width: 100%; height: 2.5px; top: 50%; left: 0; transform: translateY(-50%); }
.mobile-nav-icon::after { width: 2.5px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); transition: transform 0.25s ease; }
.mobile-nav-item.is-open .mobile-nav-icon::after { transform: translateX(-50%) rotate(90deg) scale(0); }

.mobile-nav-submenu {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-nav-item.is-open .mobile-nav-submenu { max-height: 600px; }
.mobile-nav-sublink {
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--black);
  opacity: 0.75;
  text-decoration: none;
  padding: 10px 4px 10px 18px;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.mobile-nav-sublink:active { opacity: 1; background: rgba(13,13,12,0.05); }

/* "Mon compte", à part des liens de catégories, avec son pictogramme —
 * remplace le picto retiré du bandeau mobile (demandé le 2026-10-22). Icône
 * dimensionnée en em (≈ hauteur des majuscules du texte à côté) plutôt
 * qu'une taille fixe, pour suivre le clamp() du texte. */
.mobile-menu-link--account {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mobile-menu-link--account svg {
  width: 0.62em;
  height: 0.62em;
  flex: none;
  fill: currentColor;
}

.mobile-menu-logo {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  margin-top: 10px;
  border-top: 1px solid rgba(13,13,12,0.12);
}
.mobile-menu-logo svg { height: 60px; width: auto; }

@media (min-width: 921px) {
  .mobile-menu { display: none; }
  .nav-burger { display: none; }
}

/* ---------- PAGE CONTENT (context to demo the scroll) ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 40px;
  padding: 90px clamp(24px, 5vw, 64px) 90px;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(24px, 5vw, 64px);
  right: clamp(24px, 5vw, 64px);
  bottom: 0;
  height: 1.25pt;
  background: var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: rgba(244,239,230,0.03);
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(244,239,230,0.85);
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--beige);
  flex: none;
}

.hero .eyebrow {
  color: var(--beige);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
  margin: 0;
  max-width: 14ch;
  letter-spacing: -0.01em;
}

.hero h1 .highlight {
  display: inline-block;
  background: var(--beige);
  color: var(--black);
  /* Plus petit que le reste du H1 : à taille pleine, "une passion commune"
   * passe sur 2 lignes inégales dans l'encart (le conteneur du H1 est limité
   * à 14ch) et l'encart garde la largeur de la ligne la plus longue, avec un
   * grand vide sous la ligne courte — réduit pour que l'encart reste proche
   * du texte (demandé le 2026-10-21). */
  font-size: 0.76em;
  line-height: 1.15;
  padding: 6px 13px;
  border-radius: 12px 18px 14px 20px;
  transform: rotate(-1.2deg);
  margin-top: 6px;
}

/* Un peu plus imposant sur ordinateur (demandé le 2026-10-21) — le ratio ch
 * du H1 reste le même quelle que soit la taille de police, donc "une passion
 * commune" continue de tenir sur une seule ligne. */
@media (min-width: 981px) {
  /* La largeur réelle du H1 est plafonnée par la colonne .hero-copy, pas
   * seulement par son propre max-width — une police trop augmentée refaisait
   * passer "une passion commune" sur 2 lignes inégales. Le padding, lui,
   * n'a pas cette contrainte : agrandi davantage pour un encart plus
   * imposant sans ce risque. */
  .hero h1 .highlight {
    font-size: 0.78em;
    padding: 14px 17px;
  }
}

.hero-copy p.hero-text {
  max-width: 42ch;
  font-size: 16.5px;
  line-height: 1.55;
  color: rgba(244,239,230,0.72);
  margin: 0;
}

.hero-cta-row {
  margin-top: 6px;
  width: 100%;
  max-width: 42ch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.hero .cta {
  background: var(--beige);
  color: var(--black);
  border: 1.5px solid transparent;
  padding: 13.5px 32.5px;
  border-radius: 100px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hero .cta:hover {
  background: var(--black);
  color: var(--beige);
  border-color: var(--beige);
  transform: translateY(-2px);
}

.text-link {
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(244,239,230,0.4);
}

/* ---- hero visual: fanned bundle ---- */

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bundle-stack {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 800px;
}

/* Doypacks agrandis (demandé le 2026-10-21) : décalage horizontal (translateX
 * sur .card-1/.card-3 ci-dessous) réduit en proportion pour que l'éventail
 * tienne quand même dans la colonne .hero-visual sans déborder. */
.bundle-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 710px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: pointer;
}

.bundle-card .pouch {
  width: 100%;
  height: auto;
  max-height: 710px;
  object-fit: contain;
  filter: drop-shadow(0 20px 34px rgba(0,0,0,0.55));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: bottom center;
}

.bundle-card:hover {
  z-index: 5 !important;
  opacity: 1;
}

.bundle-card:hover .pouch {
  transform: scale(1.1);
}

.card-1 {
  transform: translate(-50%, -50%) rotate(-11deg) translateX(-150px) translateY(14px);
  z-index: 1;
  opacity: 0.82;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-2 {
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: 2;
}
.card-3 {
  transform: translate(-50%, -50%) rotate(11deg) translateX(150px) translateY(14px);
  z-index: 1;
  opacity: 0.82;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Encart flottant qui suit la souris au survol d'un des 3 doypacks du hero,
 * avec le nom/tailles/prix du pack correspondant (demandé le 2026-10-15,
 * remplace le badge fixe "Pack découverte — 19,90€"). */
.bundle-pack-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(24px, -50%);
  background: var(--cream);
  color: var(--black);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 180px;
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.bundle-pack-tooltip.is-visible { opacity: 1; }
.bundle-tooltip-name {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 17px;
}
.bundle-tooltip-sizes { font-size: 12px; color: rgba(13,13,12,0.6); }
.bundle-tooltip-price { font-size: 13px; font-weight: 700; margin-top: 2px; }
.bundle-card { text-decoration: none; }

.save-badge {
  position: absolute;
  top: -6px;
  right: 2%;
  background: var(--black);
  color: var(--beige);
  font-weight: 800;
  font-size: 12px;
  padding: 9px 14px;
  border-radius: 10px;
  transform: rotate(-7deg);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  z-index: 3;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    /* min-height:88vh + align-items:center (valeurs de base, écran large)
     * créaient un grand vide noir entre le header et "Analyses disponibles"
     * en mobile : le bloc restait centré verticalement dans une section
     * presque pleine hauteur d'écran au lieu de démarrer en haut (demandé
     * le 2026-10-21). */
    min-height: 0;
    align-items: flex-start;
    padding-top: 30px;
  }
  /* Centré plutôt qu'aligné à gauche en mobile/tablette (demandé le
   * 2026-10-21) : badges, titre, encart, texte et CTA. */
  .hero-copy { align-items: center; text-align: center; }
  .hero-badges { justify-content: center; }
  .hero-cta-row { justify-content: center; }
  /* .hero a déjà un gap:40px (grille repassée à 1 colonne en mobile, cf.
   * règle de base plus haut) entre hero-copy et le doypack — un margin-top
   * en plus ici double la marge et crée un grand vide noir (constaté le
   * 2026-10-22 après une 1ère tentative à 56px). Repassé bas, juste de quoi
   * sécuriser un chevauchement sur écran court sans excès. */
  .bundle-stack { max-width: 380px; height: 460px; margin-top: 8px; }
  .bundle-card { width: 190px; height: 330px; }
  .card-1 { transform: translate(-50%, -50%) rotate(-11deg) translateX(-76px) translateY(10px); }
  .card-3 { transform: translate(-50%, -50%) rotate(11deg) translateX(76px) translateY(10px); }
}

.section {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 90px 24px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 34px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 28px;
  margin: 0;
}

.section-head a {
  color: var(--beige);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card .tags {
  display: flex;
  gap: 6px;
}

.card .tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 100px;
  background: rgba(240,216,161,0.14);
  color: var(--beige);
}

.card .swatch {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(240,216,161,0.28), rgba(247,231,78,0.1));
}

.card h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
}
.card .sub {
  margin: -8px 0 0;
  font-size: 12.5px;
  color: rgba(244,239,230,0.55);
}
.card .price {
  font-size: 14px;
  font-weight: 500;
  color: rgba(244,239,230,0.85);
}
.card .price b { color: var(--cream); font-weight: 700; }

.note {
  max-width: var(--container-narrow);
  margin: 0 auto 0;
  padding: 0 24px 60px;
  color: rgba(244,239,230,0.45);
  font-size: 13px;
  text-align: center;
}

/* ---------- NOS ENGAGEMENTS (accueil, juste avant les avis) ---------- */

/* Le wrapper reçoit sa hauteur (réservant la place pour tout le scroll de
 * la séquence) en JS, voir atoutsPinReveal() dans base.js. */
.atouts-pin {
  position: relative;
}

.atouts-pin-inner {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 36px 24px 50px;
}

.atouts-head {
  max-width: 720px;
  margin: 0 auto 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transform-origin: center;
  will-change: transform, opacity;
}

.atouts-head .eyebrow {
  color: var(--beige);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.atouts-head h2 {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 52px);
  margin: 0;
  line-height: 1.05;
}

/* Une seule ligne, cartes agrandies et chevauchantes (demandé le 2026-10-15) ;
 * défilement horizontal si ça ne tient pas, barre de scroll masquée. */
.atouts-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow-x: auto;
  overflow-y: visible;
  /* Sort du conteneur limité à 1180px pour profiter de toute la largeur de
   * l'écran — les cartes étaient coupées avant (demandé le 2026-10-15). */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 12px clamp(20px, 5vw, 64px) 34px;
  scrollbar-width: none;
}
.atouts-grid::-webkit-scrollbar { display: none; }

.atout-card {
  flex: none;
  width: 360px;
  min-height: 420px;
  margin-left: -150px;
  background: var(--cream);
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: var(--black);
}
.atout-card:first-child { margin-left: 0; }

@media (max-width: 900px) {
  .atout-card { width: 300px; min-height: 360px; margin-left: -110px; }
}

/* Mobile (<=760px, même seuil que le JS pour isDesktop) : plus de défilement
 * horizontal en pile chevauchante de gauche à droite — les cartes restent
 * empilées de haut en bas dans la page (1ère carte révélée juste sous le
 * titre, pas de zone morte avant la 1ère carte), mais chaque carte suivante
 * vient maintenant chevaucher la précédente par-dessus en remontant vers le
 * haut (marge négative), comme si elle entrait dans la pile depuis le bas —
 * demandé le 2026-10-21, en remplacement du simple empilement avec espace. */
@media (max-width: 760px) {
  /* Bug trouvé le 2026-10-22 (débordement horizontal de toute la PAGE sur
   * mobile, mesuré jusqu'à 46px, scrollable latéralement) : avant d'être
   * révélée au scroll, chaque .atout-card.reveal--right porte
   * transform:translateX(90px) (cf. plus bas, ".reveal.reveal--right") — son
   * état normal "pas encore apparue". Sur ordinateur ce décalage reste
   * invisible grâce à .atouts-grid { overflow-x: auto } (desktop, carrousel
   * à glisser) ; sur mobile cette règle passait à "overflow-x: visible" (pour
   * le re-empilement vertical), ce qui laissait l'encart de 90px dépasser
   * littéralement de la page tant qu'on n'avait pas scrollé jusqu'à cette
   * section. "hidden" contient ce décalage sans gêner l'empilement vertical. */
  .atouts-grid {
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 8px 20px 40px;
  }
  .atout-card,
  .atout-card:first-child {
    width: 100%;
    max-width: 360px;
    min-height: 0;
    margin-left: 0;
    margin-top: -40px;
    padding: 20px 18px;
  }
  .atout-card:first-child { margin-top: 0; }
  .atout-card svg { width: 32px; height: 32px; margin-bottom: 10px; }
  .atout-card h3 { font-size: 18px; margin-bottom: 6px; }
  .atout-card p { font-size: 13.5px; line-height: 1.45; }
}

/* Même traitement de forme irrégulière que les cartes produit (.feat-card). */
.atout-card:nth-child(3n+1) { border-radius: 44px 64px 42px 54px / 42px 52px 62px 46px; }
.atout-card:nth-child(3n+2) { border-radius: 62px 42px 56px 40px / 50px 60px 42px 54px; }
.atout-card:nth-child(3n)   { border-radius: 50px 56px 44px 62px / 58px 42px 54px 44px; }

.atout-card svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
  display: block;
}
/* Les pictogrammes "sans-pesticides", "fabrication-artisanale" et "thc" ont une
 * couleur beige codée en dur dans leur propre SVG (fill, pas currentColor) —
 * il faut donc forcer le noir sur leurs formes directement. */
.atout-card svg path,
.atout-card svg polygon {
  fill: var(--black);
}

.atout-card h3 {
  margin: 0 0 12px;
  color: var(--black);
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 27px;
}

.atout-card p {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.6;
  color: rgba(13,13,12,0.65);
}

/* ---------- REVIEWS MARQUEE ---------- */

.reviews-section {
  position: relative;
  padding: 100px 0 120px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  isolation: isolate;
}

.reviews-section .bg-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../img/reviews-bg.jpg");
  background-size: cover;
  background-position: center 35%;
}

.reviews-section .bg-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,12,0.72) 0%, rgba(13,13,12,0.6) 40%, rgba(13,13,12,0.76) 100%);
  z-index: -1;
}

.reviews-head {
  max-width: 720px;
  margin: 0 auto 50px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.reviews-head .eyebrow {
  color: var(--beige);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reviews-head h2 {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 52px);
  margin: 0;
  line-height: 1.05;
}

.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee + .marquee { margin-top: 22px; }

.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
  padding: 14px 24px;
}

/* 2e ligne : sens inversé (vers la droite) par rapport à la première
 * (demandé le 2026-10-15). */
.marquee--reverse .marquee-track {
  animation-direction: reverse;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-20%); } /* piste dupliquée 5x : une largeur = -100%/5 */
}

.review-card {
  flex: 0 0 auto;
  width: 370px;
  background: var(--cream);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.review-card:nth-child(3n+1) {
  border-radius: 44px 32px 46px 30px / 32px 44px 30px 46px;
}
.review-card:nth-child(3n+2) {
  border-radius: 30px 46px 32px 44px / 46px 30px 44px 32px;
}
.review-card:nth-child(3n) {
  border-radius: 46px 28px 42px 34px / 28px 42px 34px 46px;
}

.review-card .stars {
  display: flex;
  gap: 3px;
}

.review-card .stars svg {
  width: 18px;
  height: 18px;
  fill: var(--black);
}

.review-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(13,13,12,0.82);
}

.review-card .author {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(13,13,12,0.6);
  margin-top: 2px;
}

.reviews-tagline {
  margin: 56px auto 0;
  max-width: 640px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.reviews-tagline span {
  display: block;
}

.trustpilot-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.trustpilot-link:hover {
  color: var(--beige);
}

.reviews-tagline svg {
  display: block;
  width: 100%;
  height: 14px;
  margin-top: 8px;
}

/* Section "Avis" jamais adaptée au mobile jusqu'ici (demandé le 2026-10-22) :
 * cartes à 370px de large occupaient quasiment tout l'écran sans la moindre
 * marge, les deux bords du marquee étant alors coupés en même temps —
 * rétrécies ici pour laisser un vrai effet de fondu visible de chaque côté,
 * comme sur ordinateur. */
@media (max-width: 760px) {
  .reviews-section { padding: 64px 0 70px; }
  .reviews-head { margin-bottom: 36px; }
  .review-card { width: 270px; padding: 24px 22px; gap: 14px; }
  .review-card p { font-size: 15px; }
  .reviews-tagline { margin-top: 40px; font-size: 13px; }
}

/* ---------- SCROLL REVEAL ---------- */

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-stagger.is-visible {
  transition-delay: calc(var(--reveal-index, 0) * 0.08s);
}

/* Variante : entrée depuis la droite plutôt que du bas (cartes "Ce qui nous
 * distingue", demandé le 2026-10-15). Sélecteur combiné .reveal.reveal--right
 * pour être sûr de surcharger .reveal / .reveal.is-visible ci-dessus, quel
 * que soit l'ordre dans le fichier. */
.reveal.reveal--right {
  transform: translateX(90px);
}
.reveal.reveal--right.is-visible {
  transform: translateX(0);
}

/* ---------- PAGE TRANSITION ---------- */

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}

.page-transition.is-active {
  transform: translateY(0);
  pointer-events: all;
}

.page-transition .pt-logo {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s ease 0.15s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.page-transition.is-active .pt-logo {
  opacity: 1;
  transform: scale(1);
}

.page-transition .pt-logo svg {
  height: 90px;
  width: auto;
  display: block;
}

/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--black);
  padding: 90px clamp(24px, 5vw, 64px) 40px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.footer-logo svg {
  height: 420px;
  width: auto;
  display: block;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 420px;
  flex: 1 1 320px;
  margin-left: auto;
}

.footer-newsletter {
  max-width: 460px;
}

.footer-newsletter p {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 18px;
  max-width: 34ch;
}

.newsletter-form input {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--cream);
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  flex: 1;
  outline: none;
  min-width: 0;
  transition: border-color 0.2s ease;
}

.newsletter-form input:focus {
  border-color: var(--beige);
}

.newsletter-form input::placeholder {
  color: rgba(244,239,230,0.4);
}

.newsletter-form .nf-email {
  width: 100%;
  display: block;
  margin-bottom: 14px;
}

.nf-submit {
  background: var(--beige);
  color: var(--black);
  border: 1.5px solid transparent;
  padding: 15px 26px;
  border-radius: 10px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.nf-submit:hover {
  background: var(--black);
  color: var(--beige);
  border-color: var(--beige);
  transform: translateY(-1px);
}

.footer-newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  cursor: pointer;
  margin: 0 0 14px;
}
.footer-newsletter-consent input {
  margin-top: 3px;
  flex: none;
}
.footer-newsletter-consent span {
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 400;
  color: rgba(244,239,230,0.6);
}
.footer-newsletter-consent span a {
  color: var(--beige);
  text-decoration: underline;
}

.footer-social-proof {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-instagram {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-trustpilot .footer-instagram-icon svg {
  width: 22px;
  height: 22px;
}

.footer-instagram-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: none;
  /* Forme irrégulière "fait main", comme les coins des cartes blog/produit,
   * plutôt qu'un cercle parfait (demandé le 2026-11-06). */
  border-radius: 54% 46% 58% 42% / 44% 56% 44% 56%;
  border: 1px solid var(--line);
  color: var(--beige);
}

.footer-instagram-icon svg {
  width: 26px;
  height: 26px;
}

.footer-instagram-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-instagram-text strong {
  font-size: 17px;
  font-weight: 700;
  max-width: 40ch;
}

.footer-instagram-text a {
  font-size: 15px;
  color: var(--beige);
  text-decoration: underline;
  width: fit-content;
}

.footer-divider {
  height: 1px;
  background: var(--line);
  margin-bottom: 54px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.4);
  margin: 0 0 20px;
}

.footer-col a {
  display: block;
  color: rgba(244,239,230,0.82);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 13px;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--beige);
}

.payment-icons {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.pay-chip {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(244,239,230,0.55);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 24px;
}

.footer-bottom-logo svg {
  height: 68px;
  width: auto;
  display: block;
}

.footer-bottom span {
  font-size: 12.5px;
  color: rgba(244,239,230,0.45);
}
.footer-credit a,
.footer-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-credit a:hover,
.footer-legal-links a:hover { color: var(--cream); }

@media (max-width: 760px) {
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column; }
}

/* ---------- VERNACULAR SHAPES (mêmes propriétés que les cartes d'avis) ---------- */

.newsletter-form input { border-radius: 14px 10px 16px 9px / 10px 16px 9px 14px; }
.nf-submit { border-radius: 10px 16px 11px 15px / 15px 10px 16px 11px; }
.pay-chip { border-radius: 9px 5px 10px 5px / 5px 10px 5px 9px; }


.save-badge { border-radius: 14px 8px 16px 7px / 8px 16px 7px 14px; }

/* ---------- BANDEAU D'ANNONCE (texte défilant) ---------- */

.topbar {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  height: 36px;
  z-index: 101;
  background: var(--beige);
  color: var(--black);
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar.is-hidden { transform: translateY(-100%); }

.topbar-track {
  display: flex;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 2px;
}

/* Desktop : le wrapper de groupe ne doit pas casser le flex de .topbar-track
   (ex. 2026-10-21 : sans ça, chaque .topbar-item — display:flex — devenait
   un bloc plein largeur, un message par ligne, au lieu de rester sur une
   seule ligne centrée). display:contents retire le wrapper de la boîte sans
   toucher au DOM : ses .topbar-item redeviennent des enfants flex directs de
   .topbar-track, comme avant l'ajout du groupe dupliqué. Le 2e groupe (pour
   la boucle du défilement mobile) reste caché. */
.topbar-track-group { display: contents; }
.topbar-track-group:last-child { display: none; }

.topbar-item {
  flex: none;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.topbar-item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--black);
}
.topbar-item:last-child::after { display: none; }

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

/* Mobile : bandeau défilant (droite → gauche) plutôt que les messages
 * tassés/repliés sur plusieurs lignes dans les 36px de hauteur fixe du
 * bandeau — ça les coupait net (overflow: hidden) au-delà de la 1ère ligne
 * (demandé le 2026-10-21). Les 2 groupes dupliqués (voir header.php) défilent
 * ensemble : à -50%, le 2e est exactement là où le 1er a démarré, boucle
 * invisible. */
@media (max-width: 760px) {
  .topbar-track {
    width: max-content;
    flex-wrap: nowrap;
    justify-content: flex-start;
    animation: topbar-scroll 18s linear infinite;
  }
  .topbar-track-group,
  .topbar-track-group:last-child {
    display: flex;
    flex: none;
  }
}

/* la navbar et l'espace réservé descendent sous le bandeau */
.navbar { top: calc(env(safe-area-inset-top, 0px) + 36px); }
.nav-spacer { height: 128px; }

/* ---------- BOUTONS : coins plus carrés, effet fait main ---------- */

.hero .cta {
  border-radius: 14px 8px 16px 7px / 8px 15px 7px 16px;
  rotate: -0.8deg;
}

.badge { border-radius: 9px 5px 11px 5px / 5px 10px 5px 11px; rotate: 0.7deg; }
.hero-badges .badge:nth-child(2) { border-radius: 5px 10px 5px 11px / 11px 5px 10px 5px; rotate: -0.6deg; }

.filter-pill:nth-child(odd) { border-radius: 10px 6px 12px 5px / 6px 11px 5px 12px; rotate: -0.6deg; }
.filter-pill:nth-child(even) { border-radius: 6px 12px 5px 10px / 12px 5px 11px 6px; rotate: 0.5deg; }

.product-card .add-btn { border-radius: 10px 6px 12px 5px / 6px 11px 5px 12px; rotate: -0.5deg; }
.product-card:nth-child(even) .add-btn { border-radius: 6px 12px 5px 10px / 12px 5px 11px 6px; rotate: 0.6deg; }

.nf-submit { border-radius: 10px 5px 12px 5px / 5px 11px 5px 12px; rotate: -0.6deg; }

/* ---------- POLICE GARABOSSE dans les boutons et encadrés ---------- */
/* (une seule graisse : on force 400 pour éviter le faux gras du navigateur) */

.hero .cta, .badge, .filter-pill, .product-card .add-btn, .nf-submit,
.newsletter-form input,
.card h3, .card .sub, .card .price, .card .price b, .card .tag,
.product-card h3, .product-card .sub, .product-card .price, .product-card .price b, .product-card .tag,
.review-card p, .review-card .author,
.save-badge, .pay-chip, .dropdown-menu a,
.cat-banner .eyebrow, .cat-banner p {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
}

.hero .cta { font-size: 16.5px; }
@media (min-width: 861px) {
  .hero-badges { gap: 16px; margin-bottom: 4px; }
  .badge { padding: 15px 26px; gap: 11px; }
  .badge .dot { width: 9px; height: 9px; }
}
.badge { font-size: clamp(14px, 1.1vw, 19px); }
.filter-pill { font-size: 15px; }
.product-card .add-btn { font-size: 15.5px; }
.nf-submit { font-size: 15.5px; }
.newsletter-form input { font-size: 15px; }

.card h3 { font-size: 17.5px; }
.card .sub { font-size: 14px; }
.card .price { font-size: 15.5px; }
.card .tag, .product-card .tag { font-size: 12px; }

.product-card h3 { font-size: 19px; }
.product-card .sub { font-size: 14px; }
.product-card .price { font-size: 15.5px; }
.product-card .price b { font-size: 18px; }

.review-card p { font-size: 17.5px; }
.review-card .author { font-size: 15px; }

.save-badge { font-size: 14px; }
.pay-chip { font-size: 12px; }
.dropdown-menu a { font-size: 15px; }

.cat-banner .eyebrow { font-size: 14px; }
.cat-banner p { font-size: 16.5px; }

/* ---------- NOS INCONTOURNABLES : titre + 3 cartes avec visuels ---------- */

.section-head h2 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
}

.grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .grid { grid-template-columns: 1fr; } }

.card .swatch {
  aspect-ratio: 1;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(240,216,161,0.14), rgba(247,231,78,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card .swatch img {
  height: 84%;
  width: auto;
  max-width: 88%;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.5));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover .swatch img { transform: scale(1.06) translateY(-4px); }

/* ---------- AVIS : texte en Satoshi normal, noms restent en Garabosse ---------- */

.review-card p {
  font-family: 'Satoshi', -apple-system, sans-serif;
  font-weight: 400;
  font-size: 17.5px;
}

/* ---------- NOS INCONTOURNABLES : même largeur que la hero ---------- */
.section {
  max-width: none;
  padding-left: clamp(24px, 5vw, 64px);
  padding-right: clamp(24px, 5vw, 64px);
}

/* ---------- NOS INCONTOURNABLES : cartes claires façon fiche produit ---------- */

.feat-card {
  background: var(--cream);
  color: var(--black);
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  /* Le "transition" raccourci remplace entièrement celui de .reveal (opacity/
   * transform) au lieu de s'y ajouter — on doit donc les répéter ici pour
   * que le fade in des cartes produit continue de fonctionner. */
  transition: background 0.35s ease, opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}
.feat-card:hover { background: var(--beige); }
.feat-card:nth-child(3n+1) { border-radius: 44px 64px 42px 54px / 42px 52px 62px 46px; }
.feat-card:nth-child(3n+2) { border-radius: 62px 42px 56px 40px / 50px 60px 42px 54px; }
.feat-card:nth-child(3n)   { border-radius: 50px 56px 44px 62px / 58px 42px 54px 44px; }

.f-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.f-price { display: flex; flex-direction: column; gap: 2px; }
.f-price small {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(13,13,12,0.55);
}
.f-price span { font-size: 40px; line-height: 1; letter-spacing: -0.01em; }
.f-price em { font-style: normal; font-size: 18px; margin-left: 2px; color: rgba(13,13,12,0.6); }

.f-actions { display: flex; gap: 8px; }

.f-btn {
  width: 40px;
  height: 40px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}
.f-btn svg { width: 18px; height: 18px; }
.f-btn:hover { transform: translateY(-2px); }
.f-info { background: var(--black); color: var(--cream); border-radius: 12px 8px 14px 7px / 8px 13px 7px 14px; rotate: -3deg; }
/*
 * Fond noir (plutôt que beige) : le picto "+" (assets/icons/plus.svg) est une forme
 * pleine de couleur beige fixe (pas en currentColor comme les autres icônes du site),
 * donc invisible sur un fond de la même couleur — un fond beige l'aurait fait
 * disparaître par défaut, ou au survol si on avait juste inversé les couleurs.
 */
.f-plus { background: var(--black); color: var(--beige); border: 2px solid var(--black); border-radius: 8px 13px 7px 14px / 13px 7px 14px 8px; rotate: 2.5deg; }

/* Repris de fleurs.html (absent de la page d'accueil du prototype, donc pas capturé en Phase 1) :
   enveloppe image+titre de la carte produit, utilisée par template-parts/product-card.php. */
.f-link { display: block; color: inherit; text-decoration: none; }

.f-img {
  height: 270px;
  margin: 8px 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.f-img img {
  max-height: 100%;
  max-width: 88%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(0,0,0,0.28));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Badge "Meilleure vente" (demandé le 2026-10-15) : cartouche posée sur la
 * photo, même traitement que .pp-flag (fiche produit). */
.f-bestseller-badge {
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  background: var(--beige);
  color: var(--black);
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 12px;
  border-radius: 8px 4px 9px 4px / 4px 8px 4px 9px;
  rotate: -1deg;
  white-space: nowrap;
}
.feat-card:hover .f-img img { transform: scale(1.06) translateY(-4px); }
/* Badge "Victime de son succès" (rupture de stock, demandé le 2026-11-06) :
 * posé au centre de la photo (pas en coin comme les autres badges) et en
 * gros pour bien ressortir, avec une ombre vu qu'il se pose directement sur
 * l'image plutôt que dans un coin. */
.f-stock-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-2deg);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--beige);
  color: var(--black);
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 20px;
  border-radius: 10px 5px 11px 5px / 5px 10px 5px 11px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  white-space: nowrap;
}
.feat-card.is-out-of-stock .f-img img { opacity: 0.55; filter: grayscale(0.4); }
.feat-card.is-out-of-stock:hover .f-img img { transform: none; }

.feat-card h3 {
  margin: 0;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.f-tagline {
  margin: 8px 0 18px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(13,13,12,0.6);
}
.f-tagline i { font-style: normal; margin: 0 5px; }

.f-options { display: flex; gap: 10px; margin-top: auto; }
.f-options button, .f-options a {
  flex: 1;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 10px;
  cursor: pointer;
  border: 1px solid rgba(13,13,12,0.28);
  background: transparent;
  color: rgba(13,13,12,0.55);
  border-radius: 6px 12px 5px 10px / 12px 5px 11px 6px;
  rotate: 0.5deg;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.f-options button:first-child, .f-options a:first-child { border-radius: 10px 6px 12px 5px / 6px 11px 5px 12px; rotate: -0.5deg; }
.f-options button:hover, .f-options a:hover { border-color: rgba(13,13,12,0.6); color: var(--black); }
.f-options button.is-selected, .f-options a.is-selected { background: var(--black); border-color: var(--black); color: var(--cream); }

.f-options button.is-selected, .f-options a.is-selected { font-size: 18px; padding: 15px 10px; rotate: -0.5deg; }
.f-options button.is-selected:hover, .f-options a.is-selected:hover { color: var(--beige); }

/* ---------- CARTES INCONTOURNABLES : état hover (produit agrandi/penché + rosace derrière) ---------- */

.f-img { position: relative; isolation: isolate; }

.f-img::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  aspect-ratio: 1;
  z-index: 0;
  background: url("../img/card-rosette.webp") center / contain no-repeat;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
  transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  animation: rosette-spin 26s linear infinite paused;
  pointer-events: none;
}

.f-img img { position: relative; z-index: 1; }

.feat-card:hover .f-img::before {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
  animation-play-state: paused;
}

.feat-card:hover .f-img img { transform: scale(1.1) rotate(-3deg) translateY(-2px); }

@keyframes rosette-spin { to { rotate: 360deg; } }

/* ---------- HOVER : pas de rotation, le produit reste dans sa zone ---------- */

.f-img::before,
.feat-card:hover .f-img::before { animation: none; }

.f-img img { max-height: 92%; max-width: 84%; }
.feat-card:hover .f-img img { transform: scale(1.08); }

/* ---------- IMAGES DANS LES CARTES : réduites de 25%, mobile uniquement ----------
 * (demandé le 2026-10-21 — la réduction d'origine avait été appliquée à tort à
 * tout le site ; bureau/tablette gardent leur taille d'origine ci-dessus). */
@media (max-width: 760px) {
  .f-img { height: 195px; }
  .f-img img { max-height: 69%; max-width: 63%; }
  .club-reward-feat .f-img { height: 170px; }
  .club-reward-feat .f-img img { max-height: 73.5%; max-width: 72%; }
  .pp-related-card img { max-height: 75%; max-width: 58.5%; }
  .order-card-thumbs img { width: 82px; height: 82px; margin-left: -30px; }
}

/* ---------- EXPLOREZ TOUTE LA GAME : 2 cartes, même taille que celles des Incontournables ---------- */

.section-next { padding-top: 10px; }

.grid-duo {
  grid-template-columns: repeat(2, minmax(0, calc((100% - 36px) / 3)));
  justify-content: center;
}
@media (max-width: 700px) { .grid-duo { grid-template-columns: 1fr; } }

/* image très large (pack fleurs + hash) : on l'autorise à occuper plus de largeur */
.f-img.is-wide img { max-width: 92%; }

/* ---------- EXPLOREZ TOUTE LA GAMME : cartes horizontales, pleine largeur ---------- */

.grid-duo {
  grid-template-columns: 1fr;
  justify-content: stretch;
  gap: 20px;
}

.grid-duo .feat-card {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  /* "auto" partout (pas de ligne 1fr) : sinon la ligne du tagline s'étire
     pour combler toute la hauteur de l'image, et laisse un grand vide
     entre le titre et le texte. */
  grid-template-rows: auto auto auto auto;
  column-gap: 32px;
  row-gap: 6px;
  align-items: start;
  padding: 30px 32px;
}

.grid-duo .f-top { grid-column: 2; grid-row: 1; }
/* .f-img et h3 sont enfants de .f-link (<a> qui les enveloppe tous les
   deux), pas enfants directs de .feat-card : leurs grid-column/grid-row
   ci-dessous n'ont donc aucun effet tant que .f-link reste une boîte à
   part entière — elle se place alors toute seule dans la grille et doit
   grandir pour contenir image + titre empilés, d'où la carte bien trop
   haute. "display: contents" efface la boîte de .f-link pour que ses
   enfants deviennent de vrais éléments de grille, comme prévu. */
.grid-duo .f-link { display: contents; }
/* Hauteur fixe (comme .f-img de base) plutôt que "stretch" sur la hauteur de
   la carte entière : sans plafond, l'image prenait toute la hauteur
   disponible et gonflait la carte bien au-delà du contenu texte. */
.grid-duo .f-img { grid-column: 1; grid-row: 1 / -1; height: 280px; align-self: center; margin: 0; }
.grid-duo .f-img img { max-height: 100%; max-width: 100%; }
.grid-duo h3 { grid-column: 2; grid-row: 2; margin-top: 4px; }
.grid-duo .f-tagline { grid-column: 2; grid-row: 3; margin-bottom: 0; }
.grid-duo .f-options { grid-column: 2; grid-row: 4; margin-top: 14px; }
.grid-duo .f-options button, .grid-duo .f-options a { flex: 0 0 auto; padding-left: 30px; padding-right: 30px; }

@media (max-width: 700px) {
  .grid-duo .feat-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
  }
  .grid-duo .f-top { grid-column: 1; grid-row: 1; }
  .grid-duo .f-img { grid-column: 1; grid-row: 2; height: 160px; }
  .grid-duo .f-img img { max-height: 75%; max-width: 75%; }
  .grid-duo h3 { grid-column: 1; grid-row: 3; }
  .grid-duo .f-tagline { grid-column: 1; grid-row: 4; }
  .grid-duo .f-options { grid-column: 1; grid-row: 5; }
}

/* ---------- EXPLOREZ TOUTE LA GAMME : hiérarchie fluide (moins vide en grand écran) ---------- */

.grid-duo .feat-card {
  padding: clamp(30px, 3vw, 48px) clamp(32px, 3.4vw, 56px);
}
/* grid-template-columns scopé au desktop : posé ici sans media query, ça
 * écrasait (même spécificité, plus loin dans le fichier) le passage à
 * 1 colonne du bloc mobile ci-dessus — l'image gardait la largeur de la
 * 1ère colonne du mode bureau (minmax 220-380px) au lieu de la pleine
 * largeur de la carte, d'où un rendu décalé/pas centré en mobile (demandé
 * le 2026-10-21). */
@media (min-width: 701px) {
  .grid-duo .feat-card { grid-template-columns: minmax(220px, 380px) 1fr; }
}

.grid-duo .f-price span { font-size: clamp(40px, 3.4vw, 58px); }
.grid-duo .f-price small { font-size: clamp(12.5px, 0.85vw, 15px); }
.grid-duo h3 { font-size: clamp(34px, 3.2vw, 52px); margin-top: 6px; }
.grid-duo .f-tagline { font-size: clamp(13.5px, 1vw, 16px); margin-bottom: 2px; }
.grid-duo .f-options { margin-top: clamp(14px, 1.6vw, 26px); }
.grid-duo .f-options button, .grid-duo .f-options a { font-size: clamp(15px, 1vw, 18px); padding-top: clamp(13px, 1.1vw, 17px); padding-bottom: clamp(13px, 1.1vw, 17px); }

.grid-duo .f-btn { width: clamp(38px, 2.6vw, 48px); height: clamp(38px, 2.6vw, 48px); }
.grid-duo .f-btn svg { width: clamp(17px, 1.1vw, 21px); height: clamp(17px, 1.1vw, 21px); }

/* ---------- FIL D'ARIANE (pages catégorie / boutique) ---------- */

/* Lien "Retour" au-dessus de la bannière de catégorie — composant partagé
 * (template-parts/category-banner.php) par des pages sans parent commun
 * (mentions légales, contact, articles, catégories...). Aligné à gauche sur
 * "Packs découverte" (1er lien de nav) en reprenant le même padding que
 * .navbar, et habillé en cartouche Garabosse comme les autres badges du site
 * (ex. .pp-flag) — demandé le 2026-10-21. */
.cat-banner-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0 clamp(20px, 4vw, 56px);
  padding: 7px 16px;
  background: var(--beige);
  color: var(--black);
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 13.5px;
  border-radius: 10px 6px 12px 5px / 6px 11px 5px 12px;
  rotate: -1deg;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cat-banner-back:hover { background: var(--black); color: var(--beige); border-color: var(--beige); }

/* Fiche produit : "Retour" et "Précédent/Suivant" sur la même ligne, au lieu
 * du seul bouton Retour ailleurs — la marge gauche/haut passe de
 * .cat-banner-back à la ligne elle-même (demandé le 2026-10-21). */
.pp-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px clamp(20px, 4vw, 56px) 0;
}
.pp-top-row .cat-banner-back { margin: 0; }

.breadcrumb {
  max-width: var(--container-narrow);
  margin: 14px auto 0;
  padding: 0 24px;
  font-size: 15px;
  color: rgba(244,239,230,0.5);
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: rgba(244,239,230,0.5); text-decoration: none; }
.breadcrumb a:hover { color: var(--beige); }
.breadcrumb span { color: var(--cream); font-weight: 600; }

/* Masqué sur mobile (demandé le 2026-10-21) : peu lisible/utile à cette
 * largeur, le reste de la navigation (menu, boutons Retour...) suffit. */
@media (max-width: 760px) {
  .breadcrumb { display: none; }
}

/* ---------- BANNIÈRE DE CATÉGORIE ---------- */

.cat-banner {
  position: relative;
  margin: 18px 24px 0;
  border-radius: 46px 30px 50px 28px / 30px 46px 28px 50px;
  overflow: hidden;
  /* -20% (2026-10-15), comme les heros de l'espace compte (cf. .account-main
     .cat-banner plus bas, déjà à 224px — pas touché, valeur identique). */
  min-height: 224px;
  display: flex;
  align-items: flex-end;
  padding: 40px clamp(24px, 4vw, 56px);
  isolation: isolate;
}
.cat-banner .bg-photo {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: center 40%;
}
/* Hero Vapes : cadré sur le haut de la photo plutôt que le centre-bas par
 * défaut (demandé le 2026-10-15) — scopé à cette seule catégorie. */
body.term-vapes .cat-banner .bg-photo { background-position: center top; }
.cat-banner .bg-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,13,12,0.35) 0%, rgba(13,13,12,0.9) 100%);
}
.cat-banner .eyebrow {
  color: var(--beige); font-size: 14px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 26px; display: block;
}
.cat-banner h1 {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 6vw, 68px);
  margin: 0;
  line-height: 1;
}
.cat-banner p {
  font-family: 'Satoshi', -apple-system, sans-serif;
  font-weight: 400;
  margin: 12px 0 0;
  max-width: 100%;
  font-size: 16.5px;
  color: rgba(244,239,230,0.78);
  line-height: 1.5;
}
@media (max-width: 760px) {
  .cat-banner { margin: 12px 12px 0; padding: 28px 20px; }
  .cat-banner-back { margin-top: 10px; }
  .pp-top-row { margin-top: 10px; margin-left: 12px; margin-right: 12px; }
}

/* Essai (2026-10-15) : tous les heros de l'espace compte (Commandes, Mon club,
 * Parrainage, Mes avis, Paramètres) réduits de 20% en hauteur par rapport aux
 * autres bannières catégorie (280px -> 224px), pour voir le rendu — scopé à
 * .account-main (pages compte uniquement), pas touché ailleurs. */
.account-main .cat-banner { min-height: 224px; }

/* Hero des pages du compte : même largeur que les encarts (.account-section)
 * en dessous, qui n'ont pas de marge latérale propre — et même espace vertical
 * que celui entre ces encarts eux-mêmes (cf. .account-section margin-bottom).
 * Marge du haut retirée aussi : sans ça, le hero démarre 18px plus bas que le
 * menu .account-rail à côté (qui lui n'a pas cette marge), ce qui désaligne
 * visuellement tout le contenu de la page par rapport au menu. */
.account-main .cat-banner {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 18px;
}

/* Notices WooCommerce (ex. "Confirmer l'adresse e-mail" sur Mes commandes) :
 * même raisonnement — le max-width: 1180px (pensé pour le panier/tunnel de
 * commande) les rendait plus étroits que les encarts .account-section, qui
 * eux prennent toute la largeur de .account-main. */
.account-main .woocommerce-message,
.account-main .woocommerce-error,
.account-main .woocommerce-info {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* ---------- FILTRES PAR QUALITÉ ---------- */

.filters-bar {
  max-width: var(--container-narrow);
  margin: 34px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.filters-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-pill {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 100px;
  cursor: pointer;
  opacity: 0.82;
  transition: all 0.2s ease;
}
.filter-pill:hover { opacity: 1; border-color: rgba(240,216,161,0.5); }
.filter-pill.is-active {
  background: var(--beige);
  color: var(--black);
  border-color: var(--beige);
  opacity: 1;
}
.result-count {
  font-size: 13px;
  color: rgba(244,239,230,0.5);
}

/* ---------- GRILLE PRODUITS (identique aux cartes "Nos Incontournables") ---------- */

.products-section {
  max-width: none;
  margin: 0;
  padding: 18px clamp(24px, 5vw, 64px) 100px;
}

/* Catégorie avec paliers de qualité (Fleurs, Résines) : produits regroupés en
 * sections par palier (Essentiel/Sélection/Premium...), chacune avec son
 * titre et son texte de présentation — plutôt qu'une seule grille plate. */
.products-tier-section:not(:last-child) { margin-bottom: 56px; }
.products-tier-title {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--cream);
  margin: 0 0 10px;
}
.products-tier-description {
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(244,239,230,0.7);
  max-width: 62ch;
  margin: 0 0 24px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products-grid { grid-template-columns: 1fr; } }

/* Page boutique générale (archive-product.php) : une section par catégorie
 * (demandé le 2026-10-22), même gabarit de titre que .products-tier-title —
 * bordure fine en haut de chaque section (sauf la 1ère) pour bien séparer les
 * catégories, en plus de l'espace déjà apporté par le padding de .products-section. */
.products-category-section:not(:first-of-type) {
  border-top: 1px solid var(--line);
  padding-top: 56px;
}
.products-category-title {
  margin: 0 0 20px;
}
.products-category-title a {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s ease;
}
.products-category-title a:hover { color: var(--beige); }

/* Catégorie sans produit publié pour le moment (ex. Extraits) : une carte
   pleine largeur plutôt qu'une grille vide, dans le même langage visuel
   que .feat-card. */
.products-empty-card {
  grid-column: 1 / -1;
  background: var(--cream);
  color: var(--black);
  padding: 48px 26px;
  border-radius: 44px 64px 42px 54px / 42px 52px 62px 46px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
  text-align: center;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 19px;
}

/* ---------- RENVOI VERS LA FAQ ---------- */

.faq-sep {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}
.faq-sep span {
  display: block;
  height: 1px;
  background: var(--line);
}

.faq-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 70px 24px 100px;
  flex-wrap: wrap;
}
.faq-cta .faq-text h2 {
  margin: 0 0 8px;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
}
.faq-cta .faq-text p {
  margin: 0;
  font-size: 15px;
  color: rgba(244,239,230,0.65);
  max-width: 44ch;
}
.faq-cta .faq-btn {
  flex: none;
  display: inline-block;
  text-decoration: none;
  background: var(--beige);
  color: var(--black);
  border: 1.5px solid transparent;
  padding: 15px 32px;
  border-radius: 14px 8px 16px 7px / 8px 15px 7px 16px;
  rotate: -0.8deg;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.faq-cta .faq-btn:hover {
  background: var(--black);
  color: var(--beige);
  border-color: var(--beige);
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .faq-cta { flex-direction: column; align-items: flex-start; }
}

/* ---------- PAGINATION (hors prototype, nécessaire pour un vrai catalogue paginé) ---------- */

.dosh-pagination {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dosh-pagination a, .dosh-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.82;
}
.dosh-pagination a:hover { opacity: 1; border-color: rgba(240,216,161,0.5); }
.dosh-pagination .current { background: var(--beige); color: var(--black); border-color: var(--beige); opacity: 1; }

/* ---------- NOTICES WOOCOMMERCE (ex. "ajouté au panier") ---------- */
/* Pas dans le prototype (pas de panier fonctionnel à l'époque) — habillage minimal
   cohérent avec la charte, affiché après un ajout au panier sur la fiche produit. */

.woocommerce-message, .woocommerce-error, .woocommerce-info {
  max-width: var(--container-narrow);
  margin: 20px auto 24px;
  /* Ce bandeau (ex. "Code promo appliqué") s'affiche hors de tout conteneur
   * avec marge de page (woocommerce_before_cart, avant .cart-page) : sans
   * gouttière minimale, le "margin: auto" seul ne protège pas les bords sur
   * un écran plus étroit que --container-narrow (demandé le 2026-10-21). */
  margin-left: max(20px, calc(50% - var(--container-narrow) / 2));
  margin-right: max(20px, calc(50% - var(--container-narrow) / 2));
  padding: 16px 24px;
  list-style: none;
  font-size: 14.5px;
  border-radius: 14px 8px 16px 7px / 8px 15px 7px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.woocommerce-message { background: var(--beige); color: var(--black); }
.woocommerce-error { background: #e05b4f; color: #fff; }
.woocommerce-info { background: var(--black-soft); color: var(--cream); border: 1px solid var(--line); }
.woocommerce-message a.button, .woocommerce-error a.button, .woocommerce-info a.button {
  background: var(--black);
  color: var(--cream);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 10px 6px 12px 5px / 6px 11px 5px 12px;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  white-space: nowrap;
}
.woocommerce-message li, .woocommerce-error li, .woocommerce-info li { list-style: none; }

/* ---------- FICHE PRODUIT ---------- */

.pp-wrap {
  max-width: var(--container-wide);
  margin: 8px auto 0;
  padding: 14px clamp(24px, 4vw, 56px) 8px;
  display: grid;
  /* Colonne gauche réduite (le texte reste contraint à 48ch par .pp-desc,
   * donc moins large ne coupe rien) pour laisser plus de place à l'image
   * (demandé le 2026-10-18). */
  grid-template-columns: 0.85fr 1.35fr 1fr;
  gap: clamp(28px, 3.5vw, 56px);
  align-items: start;
}

.pp-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.pp-score { font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 14px; color: var(--cream); }
.pp-stars { color: var(--beige); font-size: 14px; letter-spacing: 1px; }
.pp-reviews { font-size: 13px; color: rgba(244,239,230,0.5); }

.pp-title { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: clamp(38px, 4.4vw, 56px); margin: 0 0 16px; line-height: 1; }

.pp-tier { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.pp-tier-label { font-size: 14px; letter-spacing: 0.02em; color: rgba(244,239,230,0.6); font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; }
.pp-tier-dots { display: flex; gap: 5px; }
.pp-tier-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(244,239,230,0.18); display: block; }
.pp-tier-dots i.is-on { background: var(--beige); }
.pp-tier-name { font-family: 'Garabosse', 'Satoshi', sans-serif; font-size: 15px; color: var(--beige); }

/* Qualité déplacée dans l'encart d'achat (.pp-buy, fond crème), au même
 * niveau que "Grammage" (2026-10-15) — les couleurs ci-dessus sont pensées
 * pour le fond sombre de .pp-info, recolorées ici en noir pour ce nouveau
 * contexte. Sélecteur à deux classes : .pp-tier (plus haut) fixerait sinon
 * ses propres couleurs/marge à spécificité égale. */
.pp-buy-top-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.pp-buy-top-row .pp-buy-label { margin: 0; }
.pp-tier.pp-tier--buy { margin-bottom: 0; gap: 6px; }
.pp-tier--buy .pp-tier-label { font-size: 11px; color: rgba(13,13,12,0.55); }
.pp-tier--buy .pp-tier-dots { gap: 4px; }
.pp-tier--buy .pp-tier-dots i { width: 7px; height: 7px; background: rgba(13,13,12,0.15); }
.pp-tier--buy .pp-tier-dots i.is-on { background: var(--black); }
.pp-tier--buy .pp-tier-name { font-size: 12px; color: var(--black); }

/* Puissance du CBD (1 à 5) : remplace la Qualité "en dessous du nom" — même
 * emplacement, mais en barre pleine (tous les crans jusqu'au niveau sont
 * actifs) plutôt qu'un simple repère de position, plus parlant pour une
 * notion de "puissance". */
.pp-cbd-power { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pp-cbd-power-label { font-size: 17px; letter-spacing: 0.02em; color: rgba(244,239,230,0.6); font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; }
.pp-cbd-power-dots { display: flex; gap: 7px; }
.pp-cbd-power-dots i { width: 12px; height: 12px; border-radius: 50%; background: rgba(244,239,230,0.18); display: block; }
.pp-cbd-power-dots i.is-on { background: var(--beige); }

/* Essai demandé le 2026-10-18 : "Puissance du CBD" un peu plus petit, mais
 * seulement sur cette fiche produit (#230, Small Bud Black Kush) pour l'instant
 * — pas un changement global, le body porte "postid-230" sur sa page. */
body.postid-230 .pp-cbd-power-label { font-size: 15px; }
body.postid-230 .pp-cbd-power-dots { gap: 6px; }
body.postid-230 .pp-cbd-power-dots i { width: 10px; height: 10px; }

/* "Pourquoi choisir cette variété ?" : remplace "Type de culture" (2026-10-18).
 * Titre repris à l'identique de .pp-cbd-power-label, texte de la liste repris à
 * l'identique de .pp-desc p (demandé le 2026-10-18 : "comme Puissance du CBD"
 * pour le titre, "comme Cultivée en serre..." pour la liste). */
.pp-why { margin: 0 0 28px; }
.pp-why-title,
.pp-tagline-badge,
.pp-composition-badge {
  display: inline-block;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--black);
  background: var(--beige);
  padding: 6px 16px;
  border-radius: 10px 6px 12px 5px / 6px 11px 5px 12px;
  rotate: -0.6deg;
  margin: 0 0 14px;
}

/* Badge court au-dessus de "Puissance du CBD" (cartouche identique à "Pourquoi
 * choisir cette variété ?"), champ admin dédié, par produit. */
.pp-tagline-badge { margin: 0 0 18px; }

/* Cartouche "Composition", juste après "Puissance du CBD" (même style, champ
 * admin dédié — utilisée pour lister les variétés des Kits découverte,
 * demandé le 2026-10-23). */
.pp-composition-badge { margin: 0 0 18px; }
.pp-why-list { list-style: none; margin: 0; padding: 0; max-width: 48ch; }
.pp-why-list li { font-size: 15.5px; line-height: 1.75; color: rgba(244,239,230,0.8); margin: 0 0 8px; padding-left: 20px; position: relative; }
.pp-why-list li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--beige); }
.pp-why-list li:last-child { margin-bottom: 0; }
.pp-why-list li strong { color: var(--cream); font-weight: 400; }

/* Essai en cours (#230) : même taille de titre que le "Puissance du CBD" réduit
 * sur cette page. */
body.postid-230 .pp-why-title { font-size: 15px; }
.pp-flag { display: inline-flex; align-items: center; margin-left: 4px; padding: 4px 11px; background: var(--beige); color: var(--black); font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: 12px; border-radius: 8px 4px 9px 4px / 4px 8px 4px 9px; rotate: -1deg; }
.pp-meta { margin: 0 0 20px; font-size: 13px; color: rgba(244,239,230,0.5); font-family: 'Satoshi', sans-serif; }

.pp-desc p { font-size: 15.5px; line-height: 1.75; color: rgba(244,239,230,0.8); margin: 0 0 22px; max-width: 48ch; }

/* Bloc de texte SEO long (produit ET catégorie, voir .cat-seo-text plus bas
 * dans ce fichier) : cartouches H2 reprises à l'identique de .pp-why-title
 * ("Pourquoi choisir cette variété ?") pour garder la même esthétique beige
 * que le reste du site, plutôt que le style par défaut du navigateur
 * (demandé le 2026-11-18, généralisé le 2026-11-19 pour les pages catégorie). */
.dosh-richtext h2 {
  display: inline-block;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--black);
  background: var(--beige);
  padding: 6px 16px;
  border-radius: 10px 6px 12px 5px / 6px 11px 5px 12px;
  rotate: -0.6deg;
  margin: 0 0 14px;
}

.pp-desc a,
.dosh-richtext a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--beige);
  text-underline-offset: 2px;
  transition: color 0.3s ease 0.05s;
}
.pp-desc a:visited,
.dosh-richtext a:visited { color: inherit; }
.pp-desc a:hover,
.pp-desc a:focus-visible,
.dosh-richtext a:hover,
.dosh-richtext a:focus-visible { color: var(--beige); }

/* Repli du long texte (SEO) : il reste imposant visuellement à côté du visuel
   produit (ou sous la grille d'une catégorie), donc on le limite par défaut
   et on laisse un bouton "Lire la suite" l'ouvrir — ajouté en JS seulement si
   le texte dépasse réellement la hauteur repliée (voir richTextCollapse dans
   base.js). */
.dosh-richtext { position: relative; transition: max-height 0.4s ease; }
.dosh-richtext.is-collapsed { max-height: 220px; overflow: hidden; }
.dosh-richtext.is-collapsed::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(13,13,12,0), var(--black) 85%);
  pointer-events: none;
}
.dosh-richtext.is-open { max-height: 2000px; }

.pp-desc-toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  margin: -6px 0 22px;
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: var(--beige);
  text-underline-offset: 2px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: color 0.3s ease 0.05s;
}
.pp-desc-toggle:hover,
.pp-desc-toggle:focus-visible { color: var(--beige); }

/* Texte SEO sous la grille d'une page catégorie (description WooCommerce du
 * terme, HTML autorisé) : auparavant affichée en clair (balises non
 * interprétées) dans la bannière, voir taxonomy-product_cat.php — déplacée
 * ici dans son propre bloc, sous la grille de produits (demandé le
 * 2026-11-19). Mêmes H2/liens/repli que .pp-desc-long via .dosh-richtext. */
.cat-seo-text {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px) 90px;
}
.cat-seo-text p { font-size: 15.5px; line-height: 1.75; color: rgba(244,239,230,0.8); margin: 0 0 22px; }

.pp-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 18px; }
.pp-tag { border: 1px solid var(--line); border-radius: 10px 6px 12px 5px / 6px 11px 5px 12px; padding: 8px 16px; font-size: 15px; color: var(--cream); font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; }
.pp-tag:nth-child(even) { rotate: 0.6deg; }
.pp-tag:nth-child(odd) { rotate: -0.5deg; }

.pp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-bottom: 18px; }
.pp-grid h4 { margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(244,239,230,0.5); font-weight: 600; font-family: 'Satoshi', sans-serif; }
.pp-grid p { margin: 0; font-size: 15px; color: var(--cream); font-family: 'Satoshi', sans-serif; }
.pp-char-type-de-culture h4,
.pp-char-taux-de-cbd h4,
.pp-char-taux-de-thc h4 { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; }

.pp-lab-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--beige); color: var(--black); border: 1.5px solid transparent; border-radius: 10px 5px 12px 5px / 5px 11px 5px 12px; rotate: -0.6deg; padding: 13px 24px; text-decoration: none; font-size: 15.5px; font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.pp-lab-btn svg { width: 16px; height: 16px; flex: none; }
.pp-lab-btn:hover { background: var(--black); color: var(--beige); border-color: var(--beige); transform: translateY(-1px); }

.pp-media { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 24px; }
.pp-media img.pp-main-img { max-width: 95%; width: auto; max-height: var(--pp-image-height); object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0,0,0,0.45)); }
/* Slide vidéo (champ admin "Vidéo produit") : même gabarit que les photos, lecture en
   pause par défaut (pas d'autoplay) — les boutons natifs du <video controls> suffisent,
   pas besoin de bouton play maison. */
.pp-media video.pp-main-img { max-width: 95%; max-height: var(--pp-image-height); border-radius: 12px; filter: drop-shadow(0 24px 30px rgba(0,0,0,0.45)); background: var(--black); }

/* Diaporama (produits à plusieurs photos) : repris du bloc CSS du prototype
   (.pp-slideshow et compagnie), jamais câblé à du vrai HTML côté prototype — flèches
   repositionnées à l'intérieur de l'image plutôt qu'en dehors de .pp-media, notre
   grille à 3 colonnes ne laissant pas toujours assez de marge à l'extérieur.
   Largeur/hauteur en variables (--pp-image-width/--pp-image-height) pour pouvoir
   grandir au-delà de 1920px (cf. le @media (min-width: 1921px) en bas de fichier)
   sans rien changer en dessous de ce seuil. */
.pp-slideshow { position: relative; width: 100%; max-width: var(--pp-image-width); display: flex; align-items: center; justify-content: center; margin-bottom: 34px; }
.pp-slide-track { position: relative; width: 100%; height: var(--pp-image-height); }
.pp-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.45s ease; }
.pp-slide.is-active { opacity: 1; pointer-events: auto; }
.pp-slide-dots { position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.pp-slide-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(244,239,230,0.25); border: none; padding: 0; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
.pp-slide-dots button.is-active { background: var(--beige); transform: scale(1.3); }
.pp-slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: rgba(13,13,12,0.55); border: 1px solid var(--line); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; z-index: 2; }
.pp-slide-arrow:hover { background: var(--beige); color: var(--black); }
.pp-slide-prev { left: 4px; }
.pp-slide-next { right: 4px; }

.pp-buy {
  background: var(--cream);
  color: var(--black);
  border-radius: 48px 60px 44px 56px / 44px 54px 58px 46px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
  padding: 28px 26px;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
}
.pp-buy-label { margin: 0 0 14px; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(13,13,12,0.55); font-weight: 600; font-family: 'Garabosse', 'Satoshi', sans-serif; }
.pp-unavailable { margin: 0; font-size: 15px; color: rgba(13,13,12,0.7); text-align: center; }

.pp-weights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.pp-weight {
  position: relative;
  background: transparent;
  border: 1px solid rgba(13,13,12,0.28);
  padding: 13px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  color: rgba(13,13,12,0.65);
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pp-weight:nth-child(1) { border-radius: 10px 6px 12px 5px / 6px 11px 5px 12px; rotate: -0.6deg; }
.pp-weight:nth-child(2) { border-radius: 6px 12px 5px 10px / 12px 5px 11px 6px; rotate: 0.5deg; }
.pp-weight:nth-child(3) { border-radius: 12px 5px 10px 6px / 5px 10px 6px 12px; rotate: 0.4deg; }
.pp-weight:nth-child(4) { border-radius: 5px 11px 6px 12px / 11px 6px 12px 5px; rotate: -0.5deg; }
.pp-weight:hover { border-color: rgba(13,13,12,0.6); color: var(--black); }
.pp-weight.is-selected { background: var(--black); border-color: var(--black); color: var(--cream); }
.pp-w-amount { font-weight: 400; font-size: 19px; }
/* Composition détaillée d'un Kit à côté du grammage, ex. "25 g (5x5g)"
 * (demandé le 2026-10-20). */
.pp-w-composition { font-size: 12px; font-weight: 400; opacity: 0.65; font-family: 'Satoshi', sans-serif; }
.pp-w-price { font-size: 14px; opacity: 0.85; }
.pp-w-perg { font-size: 11.5px; opacity: 0.55; font-family: 'Satoshi', sans-serif; }
.pp-weight.is-selected .pp-w-perg { opacity: 0.65; }
.pp-w-badge { position: absolute; top: -9px; right: -7px; background: var(--beige); color: var(--black); font-size: 10.5px; font-weight: 700; padding: 3px 7px; border-radius: 8px 4px 9px 3px / 4px 8px 3px 9px; font-family: 'Satoshi', sans-serif; }
.pp-weight.is-selected .pp-w-badge { background: var(--beige); color: var(--black); }

.pp-newsletter { background: rgba(13,13,12,0.04); border: 1px solid rgba(13,13,12,0.18); border-radius: 12px 16px 10px 18px / 16px 10px 18px 12px; padding: 9px 11px; margin-bottom: 12px; }
.pp-newsletter-head { display: flex; align-items: flex-start; gap: 6px; margin-bottom: 6px; }
.pp-newsletter-icon { flex: none; width: 13px; height: 13px; color: var(--black); margin-top: 1px; }
.pp-newsletter-icon svg { width: 100%; height: 100%; }
.pp-newsletter-text strong { display: block; font-size: 13.5px; color: var(--black); font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; margin-bottom: 1px; }
.pp-newsletter-text span { font-size: 9.5px; color: rgba(13,13,12,0.55); font-family: 'Satoshi', sans-serif; }
.pp-newsletter-row { display: flex; gap: 5px; margin-bottom: 6px; }
.pp-newsletter-email { flex: 1 1 auto; min-width: 0; border: 1px solid rgba(13,13,12,0.25); border-radius: 7px; padding: 6px 9px; font-size: 11.5px; font-family: 'Satoshi', sans-serif; background: var(--cream); color: var(--black); }
.pp-newsletter-submit { flex: none; background: var(--black); color: var(--cream); border: none; border-radius: 7px; padding: 6px 11px; font-size: 11px; font-family: 'Satoshi', sans-serif; font-weight: 600; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.pp-newsletter-submit:hover { background: var(--beige); color: var(--black); }
.pp-newsletter-consent { display: flex; align-items: flex-start; gap: 5px; cursor: pointer; }
.pp-newsletter-consent input { margin-top: 2px; flex: none; }
.pp-newsletter-consent span { font-size: 9px; line-height: 1.35; color: rgba(13,13,12,0.6); font-family: 'Satoshi', sans-serif; }
.pp-newsletter-consent span a { color: var(--black); text-decoration: underline; }
.pp-switch { position: relative; width: 38px; height: 22px; flex: none; }
.pp-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pp-switch-track { position: absolute; inset: 0; background: rgba(13,13,12,0.18); border-radius: 20px; transition: background 0.2s ease; }
.pp-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: var(--cream); border-radius: 50%; transition: transform 0.2s ease; }
.pp-switch input:checked + .pp-switch-track { background: var(--black); }
.pp-switch input:checked + .pp-switch-track::after { transform: translateX(16px); background: var(--beige); }

.pp-order-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pp-qty { display: flex; align-items: center; gap: 14px; border: 1px solid rgba(13,13,12,0.28); border-radius: 10px 14px 8px 16px / 14px 8px 16px 10px; padding: 8px 14px; }
.pp-qty button { background: none; border: none; color: var(--black); font-size: 17px; cursor: pointer; width: 20px; font-family: 'Satoshi', sans-serif; }
.pp-qty-value { font-size: 16px; color: var(--black); min-width: 14px; text-align: center; font-family: 'Garabosse', 'Satoshi', sans-serif; }
.pp-total { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: 30px; color: var(--black); }

.pp-add-btn { width: 100%; background: var(--black); color: var(--cream); border: none; border-radius: 14px 8px 16px 7px / 8px 15px 7px 16px; padding: 17px; font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: 17px; cursor: pointer; transition: transform 0.2s ease, background 0.2s ease; }
.pp-add-btn:hover { background: var(--black); color: var(--beige); transform: translateY(-2px); }
.pp-delivery-note { margin-top: 12px; font-size: 13px; color: rgba(13,13,12,0.65); text-align: center; font-family: 'Satoshi', sans-serif; font-weight: 500; }
.pp-trust-bar { margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: rgba(13,13,12,0.5); font-family: 'Satoshi', sans-serif; }
.pp-trust-sep { opacity: 0.5; }

/* repeat(auto-fit, ...) plutôt que repeat(6, 1fr) du prototype : certains encarts
   (origine, analyse labo) ne s'affichent que si la donnée existe réellement, le nombre
   d'encarts visibles varie donc d'un produit à l'autre. */
.pp-strip { max-width: var(--container-wide); margin: 0 auto; padding: 14px clamp(24px, 4vw, 56px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
/* Pictogrammes/textes affichés directement sur ordinateur, sans attendre le
 * scroll (demandé le 2026-10-21) — annule l'animation .reveal pour cette
 * section précise, uniquement au-delà du seuil mobile/tablette. */
@media (min-width: 981px) {
  .pp-strip.reveal { opacity: 1; transform: none; transition: none; }
}
.pp-strip > div { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.pp-strip svg { width: 26px; height: 26px; color: var(--beige); }
.pp-strip span { font-size: 12px; color: rgba(244,239,230,0.6); font-family: 'Satoshi', sans-serif; }

/* ---------- Navigation produit précédent / suivant (encarts, même ligne que "Retour") ---------- */
.pp-product-nav-mini {
  display: flex;
  gap: 10px;
}
.pp-product-nav-mini-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--beige);
  color: var(--black);
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 13.5px;
  border-radius: 10px 6px 12px 5px / 6px 11px 5px 12px;
  rotate: -1deg;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pp-product-nav-mini-link:nth-child(2) { rotate: 1deg; }
.pp-product-nav-mini-link:hover { background: var(--black); color: var(--beige); border-color: var(--beige); }
@media (max-width: 600px) {
  .pp-product-nav-mini-link { font-size: 12px; padding: 6px 12px; }
}

.pp-related { max-width: var(--container-wide); margin: 0 auto; padding: 10px clamp(24px, 4vw, 56px) 100px; }
.pp-related h2 { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: clamp(24px, 2.8vw, 32px); margin: 0 0 24px; }
.pp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pp-related-card {
  background: var(--cream);
  color: var(--black);
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
  padding: 26px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.pp-related-card:nth-child(3n+1) { border-radius: 95px 30px 70px 45px / 40px 85px 25px 75px; }
.pp-related-card:nth-child(3n+2) { border-radius: 30px 95px 40px 80px / 80px 35px 90px 30px; }
.pp-related-card:nth-child(3n)   { border-radius: 70px 40px 100px 30px / 30px 70px 40px 95px; }
.pp-related-card:hover { transform: translateY(-4px); background: var(--beige); }

.pp-related-img { position: relative; isolation: isolate; flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; min-height: 0; }
.pp-related-img::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  aspect-ratio: 1;
  z-index: 0;
  background: url("../img/card-rosette.webp") center / contain no-repeat;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
  transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.pp-related-card:hover .pp-related-img::before {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);
}

.pp-related-card img { position: relative; z-index: 1; max-height: 100%; max-width: 78%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0,0,0,0.28)); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.pp-related-card:hover img { transform: scale(1.08); }
.pp-related-card h3 { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: 20px; color: var(--black); margin: 14px 0 4px; }
.pp-related-card span { font-size: 14px; color: rgba(13,13,12,0.6); font-family: 'Satoshi', sans-serif; }

@media (max-width: 980px) {
  .pp-wrap { grid-template-columns: 1fr; }
  /* Un peu d'air au-dessus de la galerie, qui passe en 1ère position dans
   * l'ordre visuel ici — trop proche des boutons Catégories/Précédent/
   * Suivant juste au-dessus sinon (demandé le 2026-10-22). */
  .pp-media { order: -1; padding-top: 20px; }
  .pp-related-grid { grid-template-columns: 1fr; }
}

/* En 1 colonne, aspect-ratio:1/1 sur toute la largeur de l'écran donnait une
 * carte énorme (presque un écran de haut) — remplacé par une hauteur d'image
 * fixe, comme .feat-card ailleurs sur le site. Seuil aligné sur celui qui
 * fait passer .pp-related-grid en 1 colonne (980px, juste au-dessus) : en
 * dessous de 980px, c'est TOUJOURS 1 colonne, donc le problème touchait
 * aussi 760-980px, pas seulement le mobile (demandé le 2026-10-21). */
@media (max-width: 980px) {
  .pp-related-card { aspect-ratio: auto; padding: 20px; }
  .pp-related-img { flex: none; width: 100%; height: 200px; }
}

/* --pp-image-height pilote à la fois .pp-slide-track (hauteur du cadre) et
 * max-height de .pp-main-img à l'intérieur (cf. règle générale plus haut) :
 * les deux doivent rester égaux, sinon l'image (max-height resté à 600px)
 * déborde du cadre réduit à 360px et recouvre les boutons Catégories/
 * Précédent/Suivant juste au-dessus, les rendant inutilisables au toucher
 * (constaté sur mobile, 2026-10-23 — même bug si plusieurs photos ET une
 * seule, cf. image hors .pp-slide-track un peu plus bas dans le HTML).
 * Avant ce correctif, seule .pp-slide-track était réduite ici, pas la
 * variable, d'où le débordement. */
@media (max-width: 480px) {
  :root { --pp-image-height: 360px; }
}

/* ---------- Avis clients (fiche produit, Étape D3) ---------- */
.pp-reviews-section { max-width: var(--container-wide); margin: 0 auto; padding: 20px clamp(24px, 4vw, 56px) 100px; }
.pp-reviews-section h2 { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: clamp(24px, 2.8vw, 32px); margin: 0 0 24px; }
.pp-reviews-empty, .pp-reviews-note { font-size: 15.5px; color: rgba(244,239,230,0.65); }
.pp-reviews-note a { color: var(--beige); }

.pp-review-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.pp-review {
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: 18px 12px 20px 10px / 12px 18px 10px 20px;
  padding: 20px clamp(18px, 2.5vw, 26px);
}
.pp-review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; }
.pp-review-head .pp-stars { font-size: 17px; }
.pp-review-author { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: 15.5px; color: var(--cream); }
.pp-review-verified {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  background: var(--beige);
  padding: 4px 10px;
  border-radius: 999px;
}
.pp-review-date { font-size: 13.5px; color: rgba(244,239,230,0.45); margin-left: auto; }
.pp-review-content { font-size: 16.5px; line-height: 1.6; color: rgba(244,239,230,0.85); margin: 0; }

.pp-review-form { max-width: 560px; }
.pp-review-form p { margin: 0 0 16px; }
.pp-review-form label { display: block; font-size: 13.5px; color: rgba(244,239,230,0.6); font-family: 'Satoshi', sans-serif; margin-bottom: 6px; }
.pp-review-form select,
.pp-review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 14px;
  font-size: 15.5px;
  font-family: 'Satoshi', sans-serif;
  background: var(--black-soft);
  color: var(--cream);
  resize: vertical;
}
/* Le champ "Votre avis" se distingue des autres champs du formulaire par un
   contour irrégulier "fait main", comme les boutons/cartes du site. */
.pp-review-form textarea {
  border-radius: 16px 10px 18px 9px / 10px 15px 8px 17px;
}
.pp-review-form select:focus, .pp-review-form textarea:focus { outline: none; border-color: var(--beige); }
.pp-review-form .form-submit { margin: 0; }
.pp-review-form .account-btn { background: var(--beige); color: var(--black); }
.pp-review-form .account-btn:hover,
.pp-review-form .account-btn:focus-visible,
.pp-review-form .account-btn:active { background: var(--black); color: var(--beige); border-color: var(--beige); }

/*
 * WooCommerce remplace notre <select name="rating"> par 5 étoiles cliquables
 * en JS au chargement (assets/js/frontend/single-product.js, déjà chargé par
 * défaut — aucun branchement de notre part), mais ne fournit son propre CSS
 * que via woocommerce.css, jamais chargé par ce thème (entièrement sur
 * mesure) : les 5 liens s'affichaient donc en texte brut non stylé
 * ("1 étoile sur 5"...). Stylées ici avec notre glyphe ★ habituel au lieu de
 * la police d'icônes WooCommerce.
 */
.pp-review-form p.stars { display: flex; gap: 4px; margin: 0 0 16px; }
.pp-review-form p.stars a {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 26px;
  overflow: hidden;
  text-indent: -999em;
  text-decoration: none;
  color: rgba(244,239,230,0.3);
}
.pp-review-form p.stars a::before {
  content: "★";
  position: absolute;
  top: 0;
  left: 0;
  text-indent: 0;
  font-size: 22px;
  line-height: 1;
}
.pp-review-form p.stars:hover a::before { color: var(--beige); }
.pp-review-form p.stars a:hover ~ a::before { color: rgba(244,239,230,0.3); }
.pp-review-form p.stars.selected a:not(.active)::before { color: var(--beige); }
.pp-review-form p.stars.selected a.active::before { color: var(--beige); }
.pp-review-form p.stars.selected a.active ~ a::before { color: rgba(244,239,230,0.3); }

/* ---------- Panier : barre de progression "livraison offerte" ----------
   Encart de droite, au-dessus du récapitulatif (position d'origine, remise
   en place le 2026-10-20 — le cadeau surprise vit désormais à part, en
   première ligne du panier, cf. .cart-line--gift-surprise plus bas). */
.dosh-cart-progress {
  background: var(--cream);
  color: var(--black);
  border-radius: 16px 12px 18px 10px / 12px 18px 10px 16px;
  padding: 14px 18px;
  margin: 0 0 16px;
}
.dosh-cart-progress-text { margin: 0 0 9px; font-size: 12.5px; font-family: 'Satoshi', sans-serif; }
.dosh-cart-progress-bar { height: 6px; border-radius: 999px; background: rgba(13,13,12,0.1); overflow: hidden; }
.dosh-cart-progress-fill { height: 100%; background: var(--black); border-radius: 999px; transition: width 0.3s ease; }
.dosh-gift-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--beige);
  color: var(--black);
  border-radius: 999px;
  vertical-align: middle;
}
.dosh-gift-badge--sm {
  margin-left: 0;
  padding: 1px 7px;
  font-size: 9.5px;
  align-self: flex-start;
}

/* ---------- Panier : page complète (Phase 5, 1ère proposition — pas de référence dans le prototype) ---------- */
.cart-page { max-width: var(--container-wide); margin: 0 auto; padding: 24px clamp(20px, 5vw, 56px) 110px; }
.cart-page-title { margin: 0 0 32px; }

.cart-layout { display: grid; grid-template-columns: 1fr 380px; align-items: start; gap: 32px; }

.cart-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.cart-line {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--cream);
  color: var(--black);
  border-radius: 16px 12px 18px 10px / 12px 18px 10px 16px;
  padding: 16px 20px;
}
/* Article du panier devenu indisponible entre-temps (stock épuisé) : même
 * forme de carte, teintée en beige à 15% d'opacité pour se distinguer des
 * autres lignes (demandé le 2026-10-15). */
.cart-line--unavailable { background: color-mix( in srgb, var(--beige) 15%, var(--cream) ); }
/* Badge "Victime de son succès" : même emplacement/forme que le badge
 * "Cadeau offert" (.dosh-gift-badge), juste à côté du nom du produit, en
 * rouge adouci (trop foncé en #c0392b — demandé le 2026-10-15). */
.cart-line-unavailable-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #d9776b;
  color: #fff;
  border-radius: 999px;
  vertical-align: middle;
}
.cart-line-qty--gift {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  color: rgba(13,13,12,0.6);
  font-size: 14px;
}
.cart-line-remove {
  flex: none;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(13,13,12,0.25);
  color: rgba(13,13,12,0.5);
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cart-line-remove:hover { background: var(--black); color: var(--cream); border-color: var(--black); }
.cart-line-thumb { flex: none; }
.cart-line-thumb img { width: 120px; height: 120px; object-fit: cover; border-radius: 16px; background: #fff; display: block; }
/* La ligne "cadeau surprise" n'a pas de croix de suppression : un espaceur
 * invisible de la même taille (26px, cf. .cart-line-remove) prend sa place
 * pour que la photo s'aligne horizontalement avec celles des lignes produit
 * en dessous (demandé le 2026-10-20). */
.cart-line-remove-spacer { flex: none; width: 26px; height: 26px; }
.cart-line-main { flex: 1 1 220px; min-width: 160px; }
.cart-line-name { font-family: 'Garabosse', 'Satoshi', sans-serif; font-size: 21px; color: var(--black); text-decoration: none; }
.cart-line-meta { font-size: 13.5px; color: rgba(13,13,12,0.55); margin-top: 4px; }
.cart-line-qty { flex: none; }
.cart-line-qty .pp-qty-input { display: none; }
.cart-line-subtotal { flex: none; width: 112px; text-align: right; font-family: 'Garabosse', 'Satoshi', sans-serif; font-size: 22px; color: var(--black); }

.cart-bottom-actions { margin-top: 8px; }

/*
 * position: sticky remplacé par position: relative (signalé le 2026-10-27 :
 * "problème pour passer la commande sur différents appareils") : même bug
 * que .account-rail plus bas dans ce fichier — #smooth-content (position:
 * fixed + transform, scroll fluide desktop) casse le sticky natif de tout
 * ce qu'il contient. Ici, ça faisait carrément dériver la carte (et donc le
 * bouton "Passer la commande") vers le haut en scrollant, jusqu'à sortir
 * complètement de l'écran — reproduit : à 150px de scroll le bouton était
 * déjà remonté de 150px de plus que prévu, totalement hors écran après
 * ~600px de scroll. Un seul mécanisme de positionnement à la fois, comme
 * pour .account-rail : plus de sticky, mais plus fiable sur tous les
 * navigateurs/appareils.
 */
.cart-totals-card { position: relative; }
.cart-totals-rows { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 20px; }
.cart-totals-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14.5px; font-family: 'Satoshi', sans-serif; padding-bottom: 10px; border-bottom: 1px solid rgba(13,13,12,0.12); }
/* "Code promo d'expédition gratuite [Enlever]" (texte WooCommerce par défaut
 * pour un coupon à 0€ avec livraison offerte) est trop long pour tenir à
 * côté du libellé sur une seule ligne dans cet encart étroit — la ligne
 * passe en colonne (libellé, puis valeur juste en dessous) au lieu de
 * côte à côte, chacune sur sa propre ligne sans retour. */
.cart-totals-row--discount {
  color: var(--black);
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: var(--beige);
  border: none;
  border-bottom: none;
  border-radius: 9px 5px 11px 5px / 5px 10px 5px 11px;
  rotate: 0.3deg;
  padding: 10px 14px;
}
.cart-totals-row--discount span:last-child { white-space: nowrap; }
.cart-totals-row--discount a.woocommerce-remove-coupon { color: #c0392b; }
.cart-totals-row--shipping-note span:last-child { color: rgba(13,13,12,0.5); font-size: 13px; }
/* Certification d'âge + mentions CBD, encart "Votre commande" (remplace
 * l'ancien pop-up d'âge à l'arrivée sur le site, retiré le 2026-10-20). */
/* Même taille/couleur que .woocommerce-privacy-policy-text juste en dessous —
 * texte raccourci le 2026-10-20 plutôt que la taille de police réduite. */
.checkout-age-notice { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--black); font-family: 'Satoshi', sans-serif; }
.cart-shipping-methods { list-style: none; margin: 0; padding: 0; text-align: right; }
.cart-shipping-methods label { display: flex; align-items: center; justify-content: flex-end; gap: 6px; cursor: pointer; }
.cart-totals-row--coupon { display: block; }
.cart-coupon-form { display: flex; gap: 8px; }
.cart-coupon-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-family: 'Satoshi', sans-serif;
  background: var(--black-soft);
  color: var(--cream);
}
.cart-coupon-input:focus { outline: none; border-color: var(--beige); }
.cart-coupon-form .account-btn { margin-top: 0; flex: none; }
.cart-totals-row--total { border-bottom: none; padding-bottom: 0; font-family: 'Garabosse', 'Satoshi', sans-serif; font-size: 17px; }
.cart-checkout-btn { display: flex; align-items: center; justify-content: center; text-decoration: none; margin-top: 4px; }

.cart-empty-card { text-align: center; padding: 56px clamp(20px, 3vw, 32px); }
.cart-empty-text { font-size: 15.5px; margin: 0 0 18px; }

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-totals-card { position: static; }
}
/* Encart "Adresse de facturation" (page de validation de commande) trop
 * proche des bords sur mobile (demandé le 2026-10-22) : le clamp() de
 * .cart-page tombe à son plancher de 20px sur tous les téléphones, jugé
 * trop juste pour cet encart précis — marge remontée à 24px, scopée à
 * .checkout-page seule (la page panier elle-même n'est pas concernée). */
@media (max-width: 760px) {
  .checkout-page { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 560px) {
  /* Grille plutôt que flex-wrap : avant, la quantité finissait livrée seule
   * tout en bas de la carte (3e ligne), loin de l'image — ici elle reste
   * juste sous la photo, dans la même colonne (demandé le 2026-10-21). */
  .cart-line {
    display: grid;
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 8px;
    position: relative;
    padding-right: 46px;
  }
  .cart-line-remove, .cart-line-remove-spacer {
    position: absolute;
    top: 16px;
    right: 20px;
  }
  .cart-line-thumb { grid-column: 1; grid-row: 1; }
  .cart-line-thumb img { width: 90px; height: 90px; }
  .cart-line-qty, .cart-line-qty--gift {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }
  .cart-line-main { grid-column: 2; grid-row: 1; }
  .cart-line-subtotal { grid-column: 2; grid-row: 2; width: auto; text-align: right; justify-self: end; align-self: end; }
  .cart-coupon-form { flex-wrap: wrap; }
}

/* ---------- Commande : tunnel de paiement (Phase 5, 1ère proposition — pas de référence dans le prototype) ---------- */
.checkout-fields { display: flex; flex-direction: column; }

.checkout-saved-addresses { margin-bottom: 18px; }
.checkout-address-list { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.checkout-address-card {
  display: block;
  width: 100%;
  background: none;
  text-align: left;
  font-family: 'Satoshi', sans-serif;
  color: var(--black);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.checkout-address-card:hover { border-color: rgba(13,13,12,0.4); }
.checkout-address-card.is-selected { border-color: var(--black); background: rgba(13,13,12,0.04); }
.checkout-review-card h2 { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: 21px; margin: 0 0 16px; }

.checkout-toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-family: 'Satoshi', sans-serif;
  color: var(--black);
  cursor: pointer;
  margin-bottom: 16px;
}
.checkout-toggle-label input { flex: none; width: 17px; height: 17px; accent-color: var(--black); }
.create-account.account-form-grid { margin-top: -6px; margin-bottom: 10px; }

.checkout-review-col { display: flex; flex-direction: column; gap: 16px; }

/* Encart "Vous avez un code promo ?" : un seul bloc, toujours visible (plus de
   lien à déplier), qui affiche aussi le(s) code(s) déjà appliqué(s) avec une coche. */
.checkout-coupon-box {
  background: var(--black-soft);
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px 8px 16px 7px / 8px 15px 7px 16px;
  padding: 16px 20px;
}
.checkout-coupon-applied-list { margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.checkout-coupon-applied { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; }
.checkout-coupon-check { flex: none; width: 16px; height: 16px; color: var(--beige); }
.checkout-coupon-applied strong { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; color: var(--beige); }
.checkout-coupon-label { margin: 0 0 10px; font-size: 13.5px; }
.checkout-coupon-form {
  margin: 0;
  display: flex;
  gap: 8px;
}
.checkout-coupon-form .account-btn { margin-top: 0; flex: none; }

/* Liens bruts dans les encarts de notice (ex. "Cliquez ici pour vous
   connecter", "[Enlever]" d'un code promo) : sans ça, ils retombent sur le
   bleu/violet visité par défaut du navigateur au lieu de suivre la charte. */
.woocommerce-message a:not(.button),
.woocommerce-error a:not(.button),
.woocommerce-info a:not(.button) {
  color: inherit;
  text-decoration: underline;
}
.woocommerce-message a:not(.button):visited,
.woocommerce-error a:not(.button):visited,
.woocommerce-info a:not(.button):visited { color: inherit; }

/* Liste d'erreurs de validation (champs obligatoires manquants...) : espacée des
   encarts suivants, ferrée à gauche (pas centrée comme les autres notices),
   avec un picto d'alerte et ses lignes empilées proprement (plusieurs erreurs
   à la fois sinon mal alignées — display:flex sur le <ul> traitait chaque
   <li> comme une colonne côte à côte). */
.checkout-page .woocommerce-error {
  display: block;
  position: relative;
  /* 380px + 32px = largeur de la colonne de droite + l'écart de .cart-layout :
     fait coïncider exactement la largeur de cet encart avec celle de la carte
     "Adresse de facturation" juste en dessous, sans dépendre du viewport. */
  max-width: calc(100% - 412px);
  margin: 20px 0 24px;
  padding: 16px 20px 16px 54px;
}
@media (max-width: 900px) {
  .checkout-page .woocommerce-error { max-width: 100%; }
}
.checkout-page .woocommerce-error::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 18px;
  width: 20px;
  height: 20px;
  background-color: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E") no-repeat center / contain;
}
.checkout-page .woocommerce-error li { margin: 0 0 4px; }
.checkout-page .woocommerce-error li:last-child { margin-bottom: 0; }

.checkout-review-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.checkout-review-item { display: flex; align-items: center; gap: 12px; }
.checkout-review-item-thumb { flex: none; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: #fff; }
.checkout-review-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.checkout-review-item-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.checkout-review-item-name { font-family: 'Garabosse', 'Satoshi', sans-serif; font-size: 14.5px; color: var(--black); }
.checkout-review-item-qty { font-size: 12px; color: rgba(13,13,12,0.55); font-family: 'Satoshi', sans-serif; }
.checkout-review-item-price { flex: none; font-size: 13.5px; color: var(--black); font-family: 'Satoshi', sans-serif; }

.checkout-payment-methods { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checkout-payment-methods li.wc_payment_method {
  border: 1px solid rgba(13,13,12,0.18);
  border-radius: 10px 14px 8px 16px / 14px 8px 16px 10px;
  padding: 12px 14px;
}
.checkout-payment-methods label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-family: 'Satoshi', sans-serif; color: var(--black); cursor: pointer; }
.checkout-payment-methods input[type="radio"] { flex: none; width: 17px; height: 17px; accent-color: var(--black); }
.checkout-payment-methods .payment_box { margin: 10px 0 0 27px; font-size: 13px; color: rgba(13,13,12,0.65); }

.checkout-place-order { margin-top: 4px; }
.checkout-submit-btn { display: flex; align-items: center; justify-content: center; text-decoration: none; width: 100%; }
.woocommerce-terms-and-conditions-wrapper { margin-bottom: 14px; font-size: 13px; }

.thankyou-card { max-width: 700px; margin: 0 auto 24px; }
.thankyou-order-overview { margin: 20px 0 24px; }
.thankyou-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.thankyou-actions .checkout-submit-btn { width: auto; flex: 1 1 220px; }
/* "Suivre ma commande" (.account-btn) à côté de "Continuer mes achats"
 * (.pp-add-btn) : .account-btn a par défaut un padding/une taille de texte
 * bien plus petits et une marge du haut pensée pour un formulaire, ce qui le
 * désalignait visuellement de son voisin — on l'aligne ici sur les mêmes
 * proportions (hauteur, texte), chacun gardant sa propre couleur. */
.thankyou-actions .account-btn {
  flex: 1 1 220px;
  margin-top: 0;
  padding: 17px 20px;
  font-size: 15px;
}
/* "Continuer mes achats" (.pp-add-btn) garde le même changement de couleur
 * au survol que "Suivre ma commande" (.account-btn) à côté : fond → beige,
 * texte → noir, plutôt que son survol par défaut (fond noir inchangé). */
.thankyou-actions .checkout-submit-btn:hover { background: var(--beige); color: var(--black); }
/* "Payer"/"Annuler" (commande en attente) : marge en dessous pour ne pas
   coller au contenu suivant (commande confirmée) ou au bas de l'encart
   (voir la commande). */
.view-order-actions { margin-bottom: 20px; }

/* Encarts sous la commande confirmée : renvoi vers le guide vaporisation à
   gauche (même carte que le tableau de bord du compte), avertissement
   sécurité routière à droite (seul encart rouge du site, volontairement). */
.thankyou-followup-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin: 24px auto 0; max-width: 980px; }
.thankyou-instagram-card { margin-bottom: 0; }
.dashboard-card.thankyou-instagram-card:hover, .dashboard-card.thankyou-instagram-card:focus-visible { background: var(--cream); transform: none; }
/* Plus un lien sur toute la carte (bouton dédié en bas, comme l'encart
   rouge voisin) : on retire le survol hérité de .dashboard-card, qui
   suggérerait que toute la carte est cliquable. */
.thankyou-guide-card { margin-bottom: 0; }
.dashboard-card.thankyou-guide-card:hover, .dashboard-card.thankyou-guide-card:focus-visible { background: var(--cream); transform: none; }
.account-section.thankyou-warning-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 0;
  padding: 36px clamp(24px, 3vw, 40px);
  background: #ff8080;
  color: var(--black);
}
.thankyou-warning-card .dashboard-card-icon { color: #d80000; }
.thankyou-warning-card h2 { color: var(--black); margin: 0; }
.thankyou-warning-card p { font-size: 14.5px; line-height: 1.5; margin: 0; color: rgba(13,13,12,0.8); }
.thankyou-warning-cta { background: var(--black); color: #fff; border-color: var(--black); }
.account-btn.thankyou-warning-cta:hover { background: #d80000; color: #fff; border-color: #d80000; }
/* Les deux encarts ont des textes de longueur différente : le bouton doit
 * rester au même niveau dans les deux cartes malgré ça, donc on le pousse
 * en bas de la carte (colonne flex) plutôt que de le laisser juste après
 * le texte. Sélecteur à deux classes : .account-btn (plus bas dans ce
 * fichier) fixe sinon son propre margin-top et l'emporterait à égalité de
 * spécificité. */
.account-btn.thankyou-guide-cta,
.account-btn.thankyou-warning-cta {
  margin-top: auto;
}
@media (max-width: 760px) {
  .thankyou-followup-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .checkout-review-card { position: static; }
}

/* ---------- Connexion / inscription (visiteur non connecté) ---------- */
.account-login-shell {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 48px clamp(20px, 5vw, 56px) 110px;
}
.account-login-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.account-login-grid--solo { grid-template-columns: 1fr; max-width: 420px; }
.account-login-card { margin-bottom: 0; }
/* Titres de carte à la taille du titre de page (même logique que Paramètres,
   cf. .account-settings-page .account-section h2). */
.account-login-card h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 10px; }
@media (max-width: 760px) {
  .account-login-grid { grid-template-columns: 1fr; }
}
/* Même formulaire de connexion réutilisé en second plan d'une autre page
 * (ex. commande d'un compte client consultée sans être connecté) : on retire
 * le padding/la largeur pensés pour une page à part entière, pour qu'il
 * s'intègre dans le flux de la page qui l'accueille à la place. */
.account-login-shell--compact { max-width: 640px; margin: 24px auto 0; padding: 0; }

/* Notices WooCommerce sur la page de commande : même largeur que les encarts
 * (.thankyou-card) au-dessus, pour un alignement cohérent — le max-width:
 * 1180px par défaut les rendait plus larges que le reste de cette page. */
.checkout-page .woocommerce-message,
.checkout-page .woocommerce-error,
.checkout-page .woocommerce-info {
  max-width: 640px;
}

/* ---------- ESPACE COMPTE (Étape C) ---------- */

.account-shell {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 24px clamp(20px, 5vw, 56px) 110px;
}

.account-main { flex: 1 1 auto; min-width: 0; }

/* Barre verticale : rétractée (icônes) par défaut, s'ouvre au survol. */
/*
 * position: sticky remplacé par position: relative (demandé le 2026-10-23,
 * bug persistant) : #smooth-content (position:fixed + transform) casse de
 * toute façon le sticky natif sur desktop (cf. accountRailPin() dans
 * base.js, qui simule le maintien à l'écran via une contre-translation
 * manuelle) — mais le sticky CSS restait déclaré en parallèle, et pouvait
 * entrer en conflit avec cette contre-translation selon le moteur de rendu
 * (comportement de position:sticky dans un ancêtre fixed non garanti
 * identique d'un navigateur à l'autre). Un seul mécanisme de positionnement
 * actif à la fois : plus fiable. Repassé à "static" en mobile de toute
 * façon (media query plus bas), donc rien n'y change.
 */
.account-rail {
  position: relative;
  align-self: flex-start;
  flex: none;
  width: 60px;
  z-index: 5;
}
.account-rail ul {
  list-style: none;
  margin: 0;
  padding: 10px;
  width: 60px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--black-soft);
  border: 1px solid var(--line);
  /* Même contour irrégulier accentué que .dropdown-menu-inner (menus Guide et
     Mon compte de la navbar), pour un aspect "fait main" cohérent entre les
     deux menus dépliants du site. */
  border-radius: 32px 14px 36px 10px / 16px 32px 10px 28px;
  overflow: hidden;
  transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.account-rail:hover ul,
.account-rail:focus-within ul {
  width: 230px;
  box-shadow: 0 22px 44px rgba(0,0,0,0.4);
}
.account-rail li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px;
  border-radius: 12px;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.85;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.account-rail li a:hover { opacity: 1; background: rgba(240,216,161,0.1); color: var(--beige); }
.account-rail li a[aria-current="page"] { background: var(--beige); color: var(--black); opacity: 1; }
/* 19px à l'origine : trop petit pour l'icône "Mon club" (couronne, tracé en
 * zigzag) dont les pointes se chevauchaient visuellement à cette taille,
 * rendue comme une tache pleine au lieu d'un contour reconnaissable
 * (signalé le 2026-10-23) — les autres icônes, plus simples, restaient
 * lisibles à 19px, mais 22px profite à toutes sans perturber la mise en
 * page (barre rétractée à 60px de large, largement assez de marge). */
.account-rail-icon { flex: none; width: 22px; height: 22px; }
.account-rail-icon svg { width: 100%; height: 100%; }
.account-rail-label {
  font-size: 15px;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.account-rail:hover .account-rail-label,
.account-rail:focus-within .account-rail-label {
  opacity: 1;
}
.account-rail-label--short { display: none; }
.account-rail-logout { margin-top: 6px; padding-top: 9px; border-top: 1px solid var(--line); }
.account-rail-logout a { color: rgba(244,239,230,0.6); }
.account-rail-logout a:hover { color: var(--cream); }

/* Titre de page + pictogramme (commun aux 5 pages du compte) */
.account-page-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--cream);
  margin: 0 0 10px;
}
.account-page-title-icon { flex: none; width: 28px; height: 28px; color: var(--beige); }
.account-page-title-icon svg { width: 100%; height: 100%; }
.account-subtitle { font-size: 15px; color: rgba(244,239,230,0.65); margin: 0 0 24px; max-width: 540px; }
.account-subtitle a, .account-subtitle a:visited { color: var(--beige); text-decoration: underline; }
.account-subtitle a:hover { color: var(--cream); }

/* Tableau de bord (dashboard.php) : raccourcis vers les 5 pages du compte + Contact,
   en 2 lignes de 3 cartes. */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13.5px;
}
@media (max-width: 760px) {
  .dashboard-grid { grid-template-columns: 1fr; }
}
.dashboard-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: var(--black);
  transition: background 0.2s ease, transform 0.2s ease;
}
/* Priment sur .account-section (ordre de cascade inverse sinon) : 2 classes
   pour garantir le même espace vertical qu'horizontal (= gap de .dashboard-grid). */
.account-section.dashboard-card { margin-bottom: 0; padding: 29px clamp(19px, 2.4vw, 32px); }
.dashboard-card:hover, .dashboard-card:focus-visible { background: var(--beige); transform: translateY(-2px); }
.dashboard-card-icon { display: block; width: 32px; height: 32px; color: var(--black); }
.dashboard-card-icon svg { width: 100%; height: 100%; }
.dashboard-card h2 { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: 23px; margin: 0; }
.dashboard-card p { font-size: 14.5px; color: rgba(13,13,12,0.6); margin: 0; }

/* Cartes de section (Paramètres, etc.) */
.account-section {
  background: var(--cream);
  color: var(--black);
  border-radius: 22px 16px 24px 14px / 16px 22px 14px 24px;
  padding: 22px clamp(16px, 2.4vw, 26px);
  margin-bottom: 18px;
}
.account-section h2 {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 21px;
  margin: 0 0 6px;
}
/* Paramètres du compte : tous les titres en Garabosse à la taille du titre de page */
.account-settings-page .account-section h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 10px;
}
.account-section-intro { font-family: 'Satoshi', sans-serif; font-size: 13.5px; color: var(--black); margin: 0 0 18px; }
.thankyou-confirmation-text { font-size: 17px; }
.account-section-note { font-size: 12px; color: rgba(13,13,12,0.5); margin: 10px 0 0; }
.account-section-note a { color: inherit; text-decoration: underline; }
.account-section-note a:hover { color: var(--black); }

.account-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.account-field { display: flex; flex-direction: column; gap: 6px; }
.account-field--wide { grid-column: 1 / -1; }
.account-field label { font-size: 12px; color: rgba(13,13,12,0.6); font-family: 'Satoshi', sans-serif; }
.account-field input:not([type="checkbox"]),
.account-field select,
.account-field textarea {
  border: 1px solid rgba(13,13,12,0.2);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: 'Satoshi', sans-serif;
  background: #fff;
  color: var(--black);
  width: 100%;
}
.account-field textarea { resize: vertical; }
.account-field input:not([type="checkbox"]):focus,
.account-field select:focus,
.account-field textarea:focus { outline: none; border-color: var(--black); }
.account-field .optional, .account-field .required { font-weight: 400; opacity: 0.6; }
.account-field .required { color: #c0392b; opacity: 1; }

/* Case à cocher "newsletter" ajoutée par le plugin Brevo au checkout
 * (woocommerce_checkout_fields, champ 'ws_opt_in') : un champ WooCommerce
 * générique de type "checkbox", rendu ici comme les autres champs texte (d'où
 * la case qui héritait du style plein-largeur des <input> ci-dessus et le
 * texte qui passait à la ligne) — on le réaligne sur le même style que les
 * autres cases à cocher du tunnel (.checkout-toggle-label), signalé le
 * 2026-11-06.
 */
.account-field:has(input[type="checkbox"]) {
  flex-direction: row;
  align-items: center;
}
.account-field .woocommerce-input-wrapper {
  display: flex;
  align-items: center;
}
.account-field label.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--black);
  cursor: pointer;
}
.account-field input[type="checkbox"] {
  flex: none;
  width: 17px;
  height: 17px;
  accent-color: var(--black);
}

/* Champ invalide/manquant au moment de valider le formulaire (classe ajoutée
   par le script natif WooCommerce checkout.js, aucun JS à nous). */
.account-field.woocommerce-invalid label { color: #c0392b; }
.account-field.woocommerce-invalid input,
.account-field.woocommerce-invalid select,
.account-field.woocommerce-invalid textarea {
  border-color: #c0392b;
  background: rgba(192, 57, 43, 0.06);
}

.account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--black);
  color: var(--cream);
  border: 1px solid transparent;
  border-radius: 10px 6px 12px 6px / 6px 11px 5px 12px;
  padding: 11px 20px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: none;
  margin-top: 4px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  grid-column: 1 / -1;
  justify-self: start;
}
.account-btn:hover { background: var(--beige); color: var(--black); border-color: var(--black); transform: translateY(-1px); }
.account-btn.is-copied { background: var(--beige); color: var(--black); border-color: var(--black); }
.account-btn--ghost { background: var(--black); color: var(--cream); border: 1px solid transparent; margin-top: 0; }
.account-btn--ghost:hover { background: var(--beige); color: var(--black); border-color: var(--black); }

/* <details>/<summary> utilisés comme boutons pour les formulaires repliables */
details.address-edit, details.address-add { margin-top: 10px; }
details.address-edit summary, details.address-add summary {
  list-style: none;
  cursor: pointer;
}
details.address-edit summary::-webkit-details-marker,
details.address-add summary::-webkit-details-marker { display: none; }
details .address-form { margin-top: 14px; }

/* ---------- Parrainage ---------- */
.referral-top-grid, .referral-advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
/*
 * "Partagez votre lien" garde sa taille actuelle (ajustée à son contenu, padding
 * gauche/droite symétrique) : sa colonne passe en "auto" (largeur = contenu de
 * la carte) au lieu de "1fr", ce qui la colle au bord droit sans l'étirer.
 * "Votre lien de parrainage" (1fr) récupère tout l'espace ainsi libéré et va,
 * elle, jusqu'au bout — c'est elle qui grandit, pas l'inverse.
 */
.referral-top-grid { grid-template-columns: 1fr auto; }
.referral-top-grid .account-section, .referral-advantage-grid .account-section { margin-bottom: 0; }
.referral-top-grid, .referral-advantage-grid { margin-bottom: 18px; }
.referral-share-card { width: fit-content; max-width: 100%; display: flex; flex-direction: column; }

.account-section h2.referral-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 18px;
}
.referral-section-title .account-section-icon { width: 28px; height: 28px; margin-right: 0; }

.referral-link-input {
  display: block;
  width: 100%;
  border: 1px solid rgba(13,13,12,0.2);
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 14px;
  font-family: 'Satoshi', sans-serif;
  background: #fff;
  color: var(--black);
  margin-bottom: 14px;
}
.referral-link-actions { display: flex; flex-wrap: wrap; gap: 22px; }

.referral-share-buttons { display: flex; flex-wrap: wrap; gap: 22px; margin-top: auto; padding-top: 10px; }

.referral-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex: none;
  background: var(--black);
  color: var(--cream);
  border: 2px solid var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.referral-bubble:nth-child(odd) { border-radius: 10px 16px 9px 17px / 16px 9px 17px 10px; rotate: -1.5deg; }
.referral-bubble:nth-child(even) { border-radius: 16px 9px 17px 10px / 9px 17px 10px 16px; rotate: 1.4deg; }
.referral-bubble svg { width: 30px; height: 30px; }
.referral-bubble:hover { background: var(--beige); color: var(--black); transform: translateY(-2px); }
.referral-bubble.is-copied { background: var(--beige); color: var(--black); }

.referral-stat-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.referral-stat-lead {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--black);
  margin: 0 0 8px;
}
.referral-stat-number {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1;
  background: var(--beige);
  color: var(--black);
  padding: 8px 22px;
  border-radius: 12px 18px 14px 20px;
  rotate: -1.2deg;
  margin: 0 0 12px;
}
.referral-stat-detail { font-size: 14px; color: rgba(13,13,12,0.7); margin: 10px 0 16px; }
.referral-stat-card .account-btn { margin-top: auto; grid-column: auto; }

.referral-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.referral-section-header .referral-section-title { margin-bottom: 0; }

.referral-points-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  color: var(--black);
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(13,13,12,0.3);
  padding-bottom: 2px;
}
.referral-points-link:hover { border-color: var(--black); }
.referral-points-link::after { content: "→"; }

.referral-table-wrap { overflow-x: auto; }
.referral-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.referral-table th {
  text-align: left;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-size: 21px;
  font-weight: 400;
  color: var(--black);
  padding: 0 10px 14px;
  white-space: nowrap;
}
.referral-table td {
  padding: 13px 10px;
  border-top: 1px solid rgba(13,13,12,0.1);
  white-space: nowrap;
}
.referral-table tbody tr:first-child td { border-top: none; }
/* Lien produit (page "Mes avis") : sans la couleur violette / le souligné
   par défaut du navigateur pour un lien visité. */
.referral-table td a { color: var(--black); text-decoration: none; }
.referral-table td a:hover { text-decoration: underline; }

.referral-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 10px 15px 9px 16px / 15px 9px 16px 10px;
  rotate: -1.5deg;
  background: rgba(13,13,12,0.08);
}
.referral-status--pending { background: rgba(13,13,12,0.08); }
.referral-status--a_verifier { background: rgba(240,216,161,0.5); }
.referral-status--converted { background: #c9e6c6; }
.referral-status--rejected { background: rgba(200,60,60,0.15); }

.referral-rules-list {
  margin: 0;
  padding-left: 18px;
  font-family: 'Satoshi', sans-serif;
  font-size: 13.5px;
  color: var(--black);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 980px) {
  .referral-top-grid, .referral-advantage-grid { grid-template-columns: 1fr; }
}

/* ---------- Mes commandes ---------- */
.orders-list { display: flex; flex-direction: column; }
.order-card {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--black);
  padding: 13px 0;
  border-bottom: 1px solid rgba(13,13,12,0.1);
  flex-wrap: wrap;
}
.orders-list .order-card:last-child { border-bottom: none; }
.order-card-thumbs { display: flex; flex: none; }
.order-card-thumbs img {
  width: 110px; height: 110px; object-fit: cover; border-radius: 16px;
  border: 3px solid var(--cream);
  background: #fff;
  margin-left: -40px;
}
.order-card-thumbs img:first-child { margin-left: 0; }
.order-card-main { flex: 1 1 220px; min-width: 180px; }
.order-card-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-card-number { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: clamp(28px, 4vw, 38px); color: var(--black); text-decoration: none; }
.order-card-number:hover { text-decoration: underline; }
.order-card-status {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 8px 4px 9px 3px / 4px 8px 3px 9px;
  background: rgba(13,13,12,0.08);
}
.order-card-status--processing { background: rgba(240,216,161,0.5); }
.order-card-status--expediee { background: rgba(13,13,12,0.15); }
.order-card-status--completed { background: #c9e6c6; }
.order-card-status--cancelled, .order-card-status--failed { background: rgba(200,60,60,0.15); }
.order-card-meta { font-size: 16px; color: rgba(13,13,12,0.6); margin-top: 6px; }
.order-card-sep { margin: 0 6px; }
.order-card-actions { display: flex; flex-direction: column; gap: 8px; flex: none; align-items: flex-end; }
.order-track-btn, .order-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--beige);
  border: 1px solid var(--beige);
  border-radius: 10px 6px 12px 6px / 6px 11px 5px 12px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-family: 'Satoshi', sans-serif;
  color: var(--black);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.order-track-btn svg, .order-review-btn svg { width: 15px; height: 15px; }
.order-track-btn:hover, .order-review-btn:hover { background: rgba(240,216,161,0.7); }
.order-track-btn.is-empty { opacity: 0.5; cursor: default; }
.order-track-value { font-size: 12px; color: rgba(13,13,12,0.6); text-align: right; }

.orders-empty { font-size: 15px; color: rgba(244,239,230,0.7); }
.orders-empty-cta { color: var(--beige); font-family: 'Garabosse', 'Satoshi', sans-serif; }

/* ---------- Adresses ---------- */
.address-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10.5px; margin-bottom: 8px; }
.address-card {
  position: relative;
  border: 1px solid rgba(13,13,12,0.15);
  border-radius: 16px 12px 18px 10px / 12px 18px 10px 16px;
  padding: 13px 14px;
  font-size: 13.5px;
  line-height: 1.5;
}
.address-card.is-default { border-color: var(--black); }
.address-default-badge {
  position: absolute;
  top: -9px;
  right: 12px;
  background: var(--black);
  color: var(--cream);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
}
.address-card p { margin: 0 0 2px; }
.address-card-name { font-family: 'Garabosse', 'Satoshi', sans-serif; font-size: 15px; margin-bottom: 6px !important; }
.address-card-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.address-delete-form { margin: 0; }
.address-default-check { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 13px; }

/* ---------- Préférences de communication ---------- */
.comm-prefs-form { display: flex; flex-direction: column; gap: 4px; }
.comm-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(13,13,12,0.1);
  cursor: pointer;
}
.comm-pref-row:last-of-type { border-bottom: none; }
.comm-pref-text strong { display: block; font-size: 14px; font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; margin-bottom: 2px; }
.comm-pref-text span { font-size: 12px; color: rgba(13,13,12,0.55); }
.comm-prefs-form .account-btn { margin-top: 16px; }

@media (max-width: 760px) {
  /* Padding du haut réduit (24px → 10px, demandé le 2026-10-22) : trop
   * d'espace noir entre le header et la ligne d'onglets du compte. */
  .account-shell { flex-direction: column; padding: 10px clamp(16px, 5vw, 32px) 80px; gap: 20px; }
  /* 6 onglets de largeur égale (icône au-dessus d'un mot court), une seule
     ligne, jamais de défilement — Déconnexion fait désormais partie de la
     même ligne que les 5 autres (demandé le 2026-10-22 : auparavant sur sa
     propre ligne en dessous, ce qui n'est plus le cas). */
  .account-rail { position: static; width: 100%; order: -1; }
  .account-rail ul {
    width: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: visible;
    background: none;
    border: none;
    padding: 0;
    gap: 2px;
  }
  /* Bug trouvé le 2026-10-22 : .account-rail:hover/:focus-within ul (plus
   * bas, pensé pour l'agrandissement au survol sur ordinateur) reste actif
   * sur mobile — un appui tactile déclenche :hover/:focus-within sur la
   * plupart des navigateurs mobiles, ce qui rétrécissait la ligne à 230px de
   * large au lieu de garder sa pleine largeur ("ça se rétracte"). Neutralisé
   * ici uniquement ; le survol desktop plus bas n'est pas touché. */
  .account-rail:hover ul,
  .account-rail:focus-within ul {
    width: auto;
  }
  .account-rail li { flex: 1 1 0; min-width: 0; }
  .account-rail li a {
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    border-radius: 10px;
    padding: 8px 2px;
    opacity: 0.85;
    text-align: center;
    white-space: normal;
  }
  .account-rail-icon { margin: 0 auto; }
  .account-rail-label { opacity: 1; font-size: 9.5px; }
  .account-rail-label--full { display: none; }
  .account-rail-label--short { display: block; }
  .account-rail li a[aria-current="page"] {
    background: var(--beige);
    color: var(--black);
    opacity: 1;
    border-radius: 8px 13px 7px 14px / 13px 7px 14px 8px;
    rotate: -1.5deg;
  }
  .account-rail-logout { margin-top: 0; padding-top: 0; border-top: none; }
  .account-form-grid { grid-template-columns: 1fr; }
  /* Padding vertical monté (13px → 22px, demandé le 2026-10-22) : les lignes
   * de commande se touchaient quasiment, séparées seulement par un trait fin. */
  .order-card { flex-direction: column; align-items: flex-start; padding: 22px 0; }
  /* Bug trouvé en mesurant (2026-10-22) : .order-card-main garde son
   * "flex: 1 1 220px" hérité du layout desktop (pensé comme une largeur mini),
   * mais une fois .order-card passé en flex-direction:column ici, ce même
   * flex-basis s'applique à la HAUTEUR — .order-card-main se retrouvait avec
   * 220px de haut forcés pour ~70px de contenu réel, d'où le grand vide
   * au-dessus des boutons "Suivi du colis"/"Laisser un avis" sur chaque carte. */
  .order-card-main { flex: none; width: 100%; }
  .order-card-actions { flex-direction: row; align-items: center; width: 100%; }
}

/* ---------- MON CLUB (Étape D1) ---------- */

/* Petit pictogramme inline à côté d'un titre de section (réutilisé par Parrainage). */
.account-section-icon { display: inline-flex; width: 18px; height: 18px; vertical-align: -3px; margin-right: 4px; color: var(--black); }
.account-section-icon svg { width: 100%; height: 100%; }

/* Solde + "Comment gagner des points" côte à côte (demandé le 2026-10-23) —
 * même agencement flex que l'ancien solde + Historique. */
.club-balance-section { display: flex; gap: clamp(18px, 3vw, 36px); align-items: flex-start; flex-wrap: wrap; }

.club-balance {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--black);
  color: var(--cream);
  border-radius: 28px 20px 32px 18px / 20px 28px 18px 32px;
  padding: 24px 32px;
  min-width: 170px;
  text-align: center;
}
.club-balance-amount { font-family: 'Garabosse', 'Satoshi', sans-serif; font-size: 66px; line-height: 1; color: var(--beige); }
.club-balance-label { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; }

/* Item flex à côté du solde, même rôle que l'ancien .club-history
 * (demandé le 2026-10-23). */
.club-earn-section { flex: 1 1 280px; min-width: 240px; }
/* Historique dans son propre encart .account-section pleine largeur, plus
 * besoin d'être un item flex à côté du solde (demandé le 2026-10-23). */
.club-history h3 { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: clamp(28px, 4vw, 38px); margin: 0 0 10px; }
.club-history-empty { font-family: 'Satoshi', sans-serif; font-size: 16px; color: var(--black); }
.club-history-list { list-style: none; margin: 0; padding: 0; max-height: 195px; overflow-y: auto; }
.club-history-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(13,13,12,0.1);
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
}
.club-history-list li:last-child { border-bottom: none; }
.club-history-entry { flex: 1; }
.club-history-date { color: rgba(13,13,12,0.5); font-size: 14px; flex: none; }
.club-history-points { flex: none; font-weight: 700; color: #3a8a3a; min-width: 60px; text-align: right; }
.club-history-points.is-negative { color: rgba(13,13,12,0.6); }

/* Titre de section au même gabarit que le titre de page (cf. .account-page-title) —
   plus d'encart autour de ces deux sections : les cartes produit reposent
   directement sur le fond sombre de la page, comme partout ailleurs sur le site. */
.club-section-title {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--cream);
  margin: 0 0 20px;
}
/* "Comment gagner des points" : même taille que les autres titres de section
 * ("Récompenses disponibles", "Produits à débloquer", "Historique"), mais pas
 * la même couleur — contrairement à ceux-ci, ce titre vit à l'intérieur d'un
 * encart .account-section (fond crème), pas directement sur le fond sombre de
 * la page : on ne peut pas réutiliser .club-section-title telle quelle (texte
 * crème sur crème serait illisible), donc une classe dédiée, taille identique,
 * couleur héritée du texte noir de l'encart. */
.account-section h2.club-earn-section-title {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 10px;
}
.club-rewards-empty { color: rgba(244,239,230,0.65); }
/* Titre de palier ("150 points") au-dessus de chaque groupe de cartes —
 * remplace le coût affiché sur chaque carte individuelle (demandé le
 * 2026-10-22). */
.club-rewards-tier {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--beige);
  margin: 28px 0 14px;
}
.club-rewards-grid + .club-rewards-tier { margin-top: 36px; }
/* Carte de récompense sans coût affiché : le bouton info reste seul dans
 * .f-top, poussé à droite comme avant (demandé le 2026-10-22). */
.club-reward-feat .f-top { justify-content: flex-end; }
/* 48px à l'origine : nettement plus large que tout le reste du rythme
 * vertical de l'espace compte, ce qui créait un vide disproportionné entre
 * l'historique de points et les récompenses — ramené au même palier que les
 * autres transitions de section (cf. .account-section margin-bottom). */
.club-rewards-section { margin: 18px 0; }

.club-rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .club-rewards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .club-rewards-grid { grid-template-columns: 1fr; } }

/*
 * .club-reward-feat réutilise la carte produit ".feat-card" telle quelle (mêmes
 * coins, mêmes boutons, même survol) — demandé par l'utilisateur plutôt qu'une
 * carte spécifique à "Mon club". Seuls le prix (devenu le coût en points, bien
 * plus gros) et le bouton du bas (Échanger / Encore X points) sont adaptés.
 */
.club-reward-feat .f-price span { font-size: 42px; }
.club-reward-feat h3 { margin-bottom: 18px; }
.club-reward-feat .f-price em { font-size: 15px; }
/* Grammage affiché entre parenthèses à côté du nom (demandé le 2026-10-23, pour
 * mieux distinguer les récompenses d'un même produit à des paliers de points
 * différents, ex. Skunk 15 g / 50 g, et parce que l'ancien .f-tagline séparé
 * était trop petit) : .f-grammage n'a aucun style propre, il hérite du h3
 * (même font, taille, couleur) — seul l'espacement est ajouté ici. */
.club-reward-feat .f-grammage { margin-left: 4px; }
.club-reward-feat.is-locked { opacity: 0.55; }
.club-redeem-inline { display: contents; }

/* Cartes récompenses réduites de 25% (2026-10-15) : moins de carte autour de
 * l'image plutôt qu'une image simplement plus petite dans la même carte —
 * .f-img rétrécit mais le visuel y occupe une part plus grande de la boîte
 * (moins de marge morte autour), pour ne pas perdre en impact visuel. */
.club-reward-feat { padding: 20px 28px 18px; }
.club-reward-feat .f-top { gap: 9px; }
.club-reward-feat .f-price small { font-size: 11px; }
.club-reward-feat .f-btn { width: 30px; height: 30px; }
.club-reward-feat .f-btn svg { width: 14px; height: 14px; }
.club-reward-feat .f-img { height: 232px; margin: 6px 0 11px; }
.club-reward-feat .f-img img { max-height: 98%; max-width: 96%; }
.club-reward-feat h3 { font-size: 26px; }
.club-reward-feat .f-options button.is-selected,
.club-reward-feat .f-options a.is-selected { font-size: 14px; padding: 11px 8px; }
/* Agrandi le 2026-10-23 (12px -> 15px) : repris à la taille du bouton "Échanger"
 * qu'il remplace dans le même emplacement (.f-options), pour rester cohérent. */
.club-reward-feat .club-reward-missing { font-size: 15px; padding: 11px 8px; }
.club-reward-missing {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 10px;
  border: 1px solid rgba(13,13,12,0.28);
  border-radius: 6px 12px 5px 10px / 12px 5px 11px 6px;
  rotate: 0.5deg;
  color: rgba(13,13,12,0.55);
  text-align: center;
}

.club-earn-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--black);
  color: var(--cream);
  border-radius: 14px 10px 16px 9px / 10px 16px 9px 14px;
  padding: 16px 19px;
  margin-bottom: 13px;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-size: 24px;
}
.club-earn-icon { flex: none; width: 32px; height: 32px; color: var(--beige); }
.club-earn-icon svg { width: 100%; height: 100%; }

.club-bonus-list { list-style: none; margin: 0; padding: 0; }
.club-bonus-list--static { margin-top: 4px; padding-top: 10px; border-top: 1px solid rgba(13,13,12,0.12); }
.club-bonus-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(13,13,12,0.1);
  font-size: 17px;
}
.club-bonus-list li:last-child { border-bottom: none; }
.club-bonus-label { color: var(--black); text-decoration: none; }
a.club-bonus-label:hover { text-decoration: underline; }
.club-bonus-points { flex: none; font-weight: 700; color: var(--black); font-size: 16px; }
.club-bonus-points small { font-weight: 400; color: rgba(13,13,12,0.5); font-size: 13px; }
.club-bonus-list li.is-done { opacity: 0.45; }
.club-bonus-list li.is-done .club-bonus-label,
.club-bonus-list li.is-done .club-bonus-points { text-decoration: line-through; }

@media (max-width: 600px) {
  .club-balance { width: 100%; padding: 20px 24px; }
  .club-balance-amount { font-size: 48px; }
}

/* ---------- Pages statiques (Phase 6) : contenu commun CGU/CGV/Mentions
   légales/Législation/Vaporisation/FAQ/Blog — texte repris du prototype
   (pages .html correspondantes), classes consolidées en un seul jeu commun
   (le prototype dupliquait des styles identiques sous des préfixes différents
   par page : .legis-section/.vapo-section/.legal-section etc. avaient les
   mêmes règles — inutile de les garder séparées dans le thème). ---------- */
.legal-article { max-width: var(--container-narrow); margin: 0 auto; padding: 28px clamp(24px, 5vw, 64px) 100px; }
.legal-lead { font-size: 17px; line-height: 1.7; color: var(--beige); margin: 0 0 40px; font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; max-width: 68ch; }
.legal-updated { font-size: 13px; color: rgba(244,239,230,0.45); margin: -24px 0 40px; }
.legal-section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-section:last-child { border-bottom: 1px solid var(--line); }
.legal-section h2 { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: clamp(20px, 2.3vw, 25px); margin: 0 0 12px; }
.legal-section p { font-size: 15px; line-height: 1.75; color: rgba(244,239,230,0.8); max-width: 72ch; margin: 0 0 12px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { margin: 0 0 12px; padding-left: 20px; }
.legal-section li { font-size: 15px; line-height: 1.75; color: rgba(244,239,230,0.8); max-width: 70ch; margin-bottom: 6px; }
.legal-section p a, .legal-section li a { color: var(--beige); text-decoration: underline; text-underline-offset: 3px; }
.legal-ref { margin: 10px 0 0; font-size: 13px; }
.legal-ref a { color: rgba(244,239,230,0.5); text-decoration: none; border-bottom: 1px solid rgba(244,239,230,0.22); padding-bottom: 1px; transition: color 0.2s ease, border-color 0.2s ease; }
.legal-ref a:hover { color: var(--beige); border-color: rgba(244,239,230,0.5); }
.legal-callout {
  background: var(--cream);
  color: var(--black);
  border-radius: 44px 64px 42px 54px / 42px 52px 62px 46px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0 6px;
  max-width: 720px;
}
.legal-callout strong { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; line-height: 1.15; font-size: clamp(26px, 3vw, 34px); color: var(--black); }
.legal-callout span { font-family: 'Satoshi', sans-serif; font-size: 16px; line-height: 1.6; color: rgba(13,13,12,0.72); }

/* FAQ : intro à deux colonnes + accordéon */
.faq-intro-grid { max-width: var(--container-narrow); margin: 0 auto; padding: 28px clamp(24px, 5vw, 64px) 0; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.faq-intro-label { display: block; font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; color: var(--beige); font-size: 17px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.faq-intro-left > p { font-size: 16px; line-height: 1.7; color: rgba(244,239,230,0.82); }
@media (max-width: 860px) { .faq-intro-grid { grid-template-columns: 1fr; } }
.faq-sep { max-width: var(--container-narrow); margin: 40px auto 0; padding: 0 clamp(24px, 5vw, 64px); }
.faq-sep span { display: block; border-top: 1px solid var(--line); }
.faq-accordion-section { max-width: var(--container-narrow); margin: 0 auto; padding: 40px clamp(24px, 5vw, 64px) 100px; }
.faq-accordion-title { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: clamp(32px, 4vw, 48px); margin: 0 0 28px; }
.faq-accordion { max-width: 760px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; background: none; border: none; color: var(--cream); font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 16px; padding: 20px 4px; cursor: pointer; }
.faq-icon { flex: none; width: 20px; height: 20px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--beige); border-radius: 2px; }
.faq-icon::before { width: 100%; height: 2.5px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-icon::after { width: 2.5px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); transition: transform 0.25s ease; }
.faq-item.is-open .faq-icon::after { transform: translateX(-50%) rotate(90deg) scale(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 4px 22px; font-size: 15px; line-height: 1.7; color: rgba(244,239,230,0.75); max-width: 62ch; }
.faq-item.is-open .faq-answer { max-height: 400px; }
@media (max-width: 640px) { .faq-question { font-size: 14.5px; } }

/* Blog : grille de 3 cartes teaser (pas d'article publié pour l'instant) */
.blog-article { max-width: var(--container-wide); }
.blog-article .legal-lead { max-width: 68ch; }

/* Article de blog (single.php) : typographie reprise des pages de texte
   (.legal-section), appliquée directement au HTML libre de the_content(). */
/* Largeur de l'encart alignée sur celle du hero (.cat-banner) au-dessus :
   même mécanisme (marge fixe de 24px, pas de max-width) plutôt que le
   max-width centré hérité de .legal-article, pour que les deux bords
   correspondent exactement. */
.blog-post { max-width: none; margin-left: 24px; margin-right: 24px; }
/* Contrairement au reste du site (cf. :root, le @media (min-width: 1921px) en
 * bas de fichier), la bannière et le corps d'un article n'utilisaient aucune
 * variable de largeur — juste une marge fixe de 24px, donc une largeur non
 * plafonnée qui continue de grandir indéfiniment sur les très grands écrans.
 * Gênant en particulier pour le texte en colonnes, dont les lignes
 * deviendraient trop longues. Demandé le 2026-10-20 : figer la largeur au-delà
 * de 1920px à sa valeur à exactement 1920px (1920 - 24 - 24 = 1872px), sans
 * rien changer en dessous de ce seuil ni sur les autres pages utilisant
 * .cat-banner (catégories, FAQ, etc., scopées à .single-post uniquement ici). */
@media (min-width: 1921px) {
  body.single-post .cat-banner,
  .blog-post {
    max-width: 1872px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Mise en page "journal" : texte en deux colonnes façon presse (3 colonnes
   jugées trop étroites pour bien lire, repassé à 2 le 2026-10-20) — repasse
   en une seule colonne sur mobile/tablette. */
.blog-post-content {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(244,239,230,0.8);
  max-width: none;
  column-count: 2;
  column-gap: 48px;
}
.blog-post-content p { margin: 0 0 13px; break-inside: avoid; -webkit-column-break-inside: avoid; }
/* Chapô : le premier paragraphe s'étend sur toute la largeur, comme un vrai
   article de presse, au lieu d'être coupé au milieu d'une phrase entre les
   colonnes — même traitement que .legal-lead ailleurs sur le site. */
.blog-post-content > p:first-child {
  column-span: all;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--beige);
  margin: 0 0 20px;
  max-width: 85ch;
}
/* Regroupe titre + paragraphe(s) suivants (voir dosh_group_blog_sections()) :
 * empêche l'équilibrage des colonnes de couper pile entre les deux, ce que
 * break-after:avoid seul sur h2/h3 ne suffisait pas toujours à éviter
 * (constaté le 2026-10-21 : titre seul en bas de colonne, texte orphelin en
 * haut de la suivante). */
.blog-post-section {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.blog-post-content h2 {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--cream);
  /* padding-top plutôt que margin-top : en colonnes CSS, une marge en haut
     de colonne est "rognée" par le navigateur à la coupure automatique
     (ex. 2026-10-20 : le H2 en tête de 2e colonne n'avait pas son espace
     au-dessus, décalant la colonne vers le haut par rapport à la 1ère). Le
     padding n'est jamais rogné, donc les deux colonnes démarrent au même
     niveau. */
  padding-top: 22px;
  margin: 0 0 8px;
  break-inside: avoid;
  break-after: avoid;
  -webkit-column-break-inside: avoid;
  -webkit-column-break-after: avoid;
}
.blog-post-content h3 {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--cream);
  padding-top: 16px;
  margin: 0 0 6px;
  break-inside: avoid;
  break-after: avoid;
  -webkit-column-break-inside: avoid;
  -webkit-column-break-after: avoid;
}
.blog-post-content ul, .blog-post-content ol { margin: 0 0 13px; padding-left: 20px; break-inside: avoid; -webkit-column-break-inside: avoid; }
.blog-post-content li { margin-bottom: 4px; }
.blog-post-content a { color: var(--beige); text-decoration: none; }
.blog-post-content img { max-width: 100%; height: auto; border-radius: 16px; margin: 14px 0; display: block; break-inside: avoid; -webkit-column-break-inside: avoid; }
.blog-post-content blockquote { border-left: 3px solid var(--beige); padding-left: 18px; margin: 14px 0; color: var(--beige); font-style: italic; column-span: all; }
@media (max-width: 760px) {
  .blog-post { margin-left: 12px; margin-right: 12px; }
  .blog-post-content { column-count: 1; }
}
.blog-post-back { margin-top: 40px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 8px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
/* Mêmes propriétés que les cartes produit (.feat-card) : fond crème, coins
   irréguliers "fait main" (3 variantes qui tournent), ombre, survol → beige. */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--black);
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
  overflow: hidden;
  text-decoration: none;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  /* opacity ajouté pour que .reveal (fade in au scroll) fonctionne : un
   * "transition" raccourci remplace entièrement celui d'une autre règle
   * plutôt que de s'y ajouter (même piège que .feat-card). */
  transition: background 0.35s ease, opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 0.25s ease;
}
.blog-card:hover { background: var(--beige); transform: translateY(-3px); }
.blog-card:nth-child(3n+1) { border-radius: 44px 64px 42px 54px / 42px 52px 62px 46px; }
.blog-card:nth-child(3n+2) { border-radius: 62px 42px 56px 40px / 50px 60px 42px 54px; }
.blog-card:nth-child(3n)   { border-radius: 50px 56px 44px 62px / 58px 42px 54px 44px; }
.blog-card-img, .blog-img-1, .blog-img-2, .blog-img-3 { height: 340px; background: var(--beige); position: relative; }
/* Ornement gothique (coins bicolores, pas de motif sur les bords) via
   border-image 9-slice : les coins restent nets sans déformation, quel
   que soit le ratio de la carte (demandé le 2026-11-05). */
.blog-card-img::after {
  content: "";
  position: absolute;
  inset: 15px;
  pointer-events: none;
  border-style: solid;
  border-width: 85px;
  border-image-source: url("../img/blog-card-frame-2.svg?v=3");
  border-image-slice: 50%;
  border-image-width: 85px;
}
.blog-card-tag { margin: 28px 28px 0; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(13,13,12,0.55); font-family: 'Satoshi', sans-serif; }
.blog-card h2 { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: 21px; line-height: 1.35; margin: 14px 28px 0; color: var(--black); }
.blog-card p { font-size: 14.5px; line-height: 1.65; color: rgba(13,13,12,0.65); margin: 12px 28px 0; flex: 1; font-family: 'Satoshi', sans-serif; }
.blog-card-date { font-size: 12.5px; color: rgba(13,13,12,0.45); margin: 18px 28px 28px; font-family: 'Satoshi', sans-serif; }
.blog-soon { margin-top: 40px; text-align: center; }
.blog-soon p { font-size: 14px; color: rgba(244,239,230,0.45); font-family: 'Satoshi', sans-serif; }

/* ---------- 404 ---------- */
.not-found {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 24px 100px;
}
.not-found .eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 14px;
}
.not-found h1 {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 16px;
}
.not-found p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244,239,230,0.7);
  max-width: 50ch;
  margin: 0 0 32px;
}
.not-found-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.not-found-btn {
  display: inline-block;
  text-decoration: none;
  background: var(--beige);
  color: var(--black);
  border: 1.5px solid transparent;
  padding: 15px 32px;
  border-radius: 14px 8px 16px 7px / 8px 15px 7px 16px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.not-found-btn:hover { background: var(--black); color: var(--beige); border-color: var(--beige); transform: translateY(-2px); }
.not-found-link { color: rgba(244,239,230,0.7); text-decoration: underline; font-size: 15px; transition: color 0.2s ease; }
.not-found-link:hover { color: var(--cream); }

/* ---------- Contact ---------- */
.contact-shell { max-width: 820px; margin: 0 auto; padding: 28px clamp(24px, 5vw, 64px) 100px; }
.contact-card { margin-bottom: 0; }
.contact-card .account-section-note { margin-bottom: 18px; }
.contact-card .account-field label { color: var(--black); font-size: 15px; }
/* "Une question sur les retours ?" (demandé le 2026-10-27, repositionné dans
   le même encart le 2026-10-27 après un premier essai à droite) : reste
   dans la carte du formulaire, juste plus grand et en noir plein que le
   reste des petites notes grises de la page. */
.contact-returns-note {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--black);
  font-family: 'Satoshi', sans-serif;
}
.contact-returns-note a { color: var(--black); text-decoration: underline; text-underline-offset: 2px; }
.contact-returns-note a:hover { opacity: 0.65; }
/* Piège à robots : hors champ visuel (pas display:none, certains robots l'ignorent),
   et hors du clavier/lecteur d'écran pour un vrai visiteur. */
.dosh-hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pop-up récap offres/club/parrainage (visiteurs non connectés) ---------- */
.offers-popup {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(13,13,12,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.offers-popup.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.offers-popup-card {
  position: relative;
  background: var(--black-soft);
  color: var(--cream);
  width: 100%;
  max-width: 480px;
  padding: 60px 36px 48px;
  border-radius: 48px 64px 42px 58px / 46px 54px 62px 44px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  border: 1px solid var(--line);
}
.offers-popup-close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(244,239,230,0.25);
  background: none;
  color: var(--cream);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.offers-popup-close:hover { background: rgba(244,239,230,0.08); }
.offers-popup-card .eyebrow { color: var(--beige); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 8px; }
.offers-popup-card h2 { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; font-size: clamp(24px, 3vw, 30px); margin: 0 0 20px; color: var(--cream); }
.offers-popup-highlight {
  background: var(--beige);
  color: var(--black);
  border-radius: 16px 10px 18px 9px / 10px 16px 9px 18px;
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 14.5px;
  line-height: 1.55;
}
.offers-popup-highlight .offers-popup-num { color: var(--black); }
.offers-popup-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; font-size: 14.5px; line-height: 1.55; color: rgba(244,239,230,0.85); }
.offers-popup-row:last-of-type { margin-bottom: 0; }
.offers-popup-icon { flex: none; width: 24px; height: 24px; color: var(--beige); margin-top: 2px; }
.offers-popup-icon svg { width: 100%; height: 100%; }
.offers-popup-num { font-family: 'Garabosse', 'Satoshi', sans-serif; font-weight: 400; color: var(--beige); }
.offers-popup-actions { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.offers-popup-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--black);
}
.offers-popup-cta:hover { background: var(--beige); color: var(--black); border-color: var(--beige); }
.offers-popup-dismiss { background: none; border: none; color: rgba(244,239,230,0.55); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px; }
.offers-popup-dismiss:hover { color: var(--cream); }
@media (max-width: 480px) {
  .offers-popup-card { padding: 50px 24px 36px; }
}

/*
 * Toast "Votre avis a été publié" (dépôt d'un avis produit) : volontairement
 * HORS de #smooth-content (comme .offers-popup et .page-transition
 * ci-dessus) — ce conteneur est transformé via translateY sur desktop pour
 * le scroll fluide, ce qui casse position:fixed pour tout descendant.
 */
.review-popup {
  position: fixed;
  left: 50%;
  bottom: 72px;
  z-index: 9100;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: calc(100vw - 32px);
  background: var(--beige);
  color: var(--black);
  border-radius: 14px 8px 16px 7px / 8px 15px 7px 16px;
  padding: 16px 24px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.review-popup.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.review-popup-icon { flex: none; width: 20px; height: 20px; color: var(--black); }
.review-popup-icon svg { width: 100%; height: 100%; }
.review-popup p { margin: 0; font-size: 14.5px; }
.review-popup-close { background: none; border: none; color: rgba(13,13,12,0.55); font-size: 18px; line-height: 1; cursor: pointer; padding: 0; margin-left: 4px; }
.review-popup-close:hover { color: var(--black); }


/* ---------- LOGO SVG ----------
   Les couleurs sont portées directement en attribut fill="var(--yellow|--beige)"
   sur les formes du sprite (template-parts/logo-sprite.php) : un sélecteur de
   classe externe (.cls-1/.cls-2) ne s'applique pas au contenu cloné par <use>,
   alors qu'un attribut de présentation si. */

/*
 * ---------- BANDEAU COOKIES (tarteaucitron.js) ----------
 * La librairie (assets/vendor/tarteaucitron/, cf. inc/cookie-consent.php) gère
 * la logique de consentement/blocage ; on garde son CSS chargé (gère les
 * états internes et le panneau "Personnaliser") mais on réhabille entièrement
 * la barre du bas pour qu'elle suive la charte du site (mêmes couleurs,
 * même police, même forme de bouton organique que .account-btn) plutôt que
 * le style par défaut de la librairie — demandé le 2026-10-23. !important
 * nécessaire pour battre la spécificité des règles d'origine de la librairie.
 */
#tarteaucitronRoot #tarteaucitronAlertBig {
  background: var(--black) !important;
  border: 1px solid var(--line) !important;
  border-radius: 20px 14px 22px 12px / 14px 20px 12px 22px !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35) !important;
  left: auto !important;
  right: 24px !important;
  bottom: 24px !important;
  width: 360px !important;
  max-width: calc(100vw - 32px) !important;
  margin: 0 !important;
  padding: 22px !important;
  padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)) !important;
  /*
   * Ligne du bas (Personnaliser / Politique de confidentialité) demandée sur
   * une seule ligne, un texte à chaque bout — plutôt qu'une colonne pure, on
   * passe en rangée qui revient à la ligne (flex-wrap) : le texte et les 2
   * boutons pleine largeur forcent chacun leur propre ligne (flex-basis:100%
   * ci-dessous), les 2 derniers liens (largeur auto) atterrissent ensemble
   * sur la ligne suivante et justify-content les pousse aux 2 extrémités
   * (demandé le 2026-10-23).
   */
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  font-family: 'Satoshi', sans-serif !important;
}
/*
 * Bug trouvé le 2026-10-27 : à la fermeture (choix fait ou bandeau fermé),
 * tarteaucitron.js met lui-même ce bandeau à style="display: none" — mais le
 * display: flex !important ci-dessus gagnait quand même (un !important dans
 * la feuille de style bat un style inline non-!important), donc le bandeau
 * restait en fait affiché (juste rendu invisible par son opacity, mise à 0
 * ailleurs) ET cliquable, exactement dans le coin où se trouve le bouton
 * "retour en haut" — un clic dessus partait donc sur sa "Politique de
 * confidentialité" au lieu de remonter la page. Cette règle, plus précise
 * (elle cible le style inline que la lib pose elle-même), reprend la main
 * et masque vraiment le bandeau une fois fermé.
 */
#tarteaucitronRoot #tarteaucitronAlertBig[style*="display: none"] {
  display: none !important;
  pointer-events: none !important;
}
#tarteaucitronRoot #tarteaucitronDisclaimerAlert {
  color: var(--cream) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  flex: 1 1 100% !important;
}
#tarteaucitronRoot #tarteaucitronDisclaimerAlert a {
  color: var(--beige) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}
#tarteaucitronRoot .tarteaucitronCheck,
#tarteaucitronRoot .tarteaucitronCross {
  display: none !important;
}
#tarteaucitronRoot button.tarteaucitronCTAButton,
#tarteaucitronRoot button#tarteaucitronCloseAlert,
#tarteaucitronRoot button#tarteaucitronPrivacyUrl {
  all: unset !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Satoshi', sans-serif !important;
  font-weight: 600 !important;
  font-size: 12.5px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  border-radius: 10px 6px 12px 6px / 6px 11px 5px 12px !important;
  padding: 9px 16px !important;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease !important;
}
/* Spécificité égale à la règle "all: unset" juste au-dessus (même nombre
   d'ID/classes) : sans ce doublon, le "unset" gagnait sur la couleur définie
   plus haut (dernière règle de même poids = celle qui s'applique), ce qui
   rendait ce lien noir sur noir, invisible — signalé le 2026-10-23. */
#tarteaucitronRoot button#tarteaucitronPrivacyUrl {
  color: var(--beige) !important;
}
#tarteaucitronAlertBig button.tarteaucitronAllow {
  background: var(--beige) !important;
  color: var(--black) !important;
  flex: 1 1 100% !important;
  width: 100% !important;
}
#tarteaucitronAlertBig button.tarteaucitronAllow:hover {
  transform: translateY(-1px) !important;
}
#tarteaucitronAlertBig button.tarteaucitronDeny {
  background: transparent !important;
  color: var(--cream) !important;
  border: 1px solid rgba(244,239,230,0.4) !important;
  padding: 8px 15px !important;
  flex: 1 1 100% !important;
  width: 100% !important;
}
#tarteaucitronAlertBig button.tarteaucitronDeny:hover {
  background: var(--cream) !important;
  color: var(--black) !important;
  border-color: var(--cream) !important;
}
/* "Personnaliser" et "Politique de confidentialité" : même taille, même
   poids — une seule règle commune pour garantir qu'ils sont identiques,
   côte à côte sur une même ligne (un à chaque bout, cf. justify-content
   sur #tarteaucitronAlertBig plus haut) — demandé le 2026-10-23. Le sélecteur
   inclut #tarteaucitronAlertBig (en plus de #tarteaucitronRoot) pour avoir
   plus de poids que la règle "16px" de la librairie (même spécificité que
   la nôtre sans ce qualificatif en plus, et la librairie l'emportait selon
   l'ordre de chargement des styles) — sans ça "Politique de confidentialité"
   restait plus gros que "Personnaliser". Pas de soulignement : juste un
   changement de couleur au survol (demandé le 2026-10-23).
*/
#tarteaucitronRoot #tarteaucitronAlertBig button#tarteaucitronCloseAlert,
#tarteaucitronRoot #tarteaucitronAlertBig button#tarteaucitronPrivacyUrl {
  color: var(--beige) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 2px 0 !important;
  flex: 0 0 auto !important;
  width: auto !important;
}
#tarteaucitronRoot #tarteaucitronAlertBig button#tarteaucitronCloseAlert:hover,
#tarteaucitronRoot #tarteaucitronAlertBig button#tarteaucitronPrivacyUrl:hover {
  color: var(--cream) !important;
}
#tarteaucitronRoot #tarteaucitronAlertBig {
  z-index: 450 !important;
}
@media (max-width: 480px) {
  #tarteaucitronRoot #tarteaucitronAlertBig {
    right: 16px !important;
    left: 16px !important;
    bottom: 16px !important;
    width: auto !important;
    padding: 20px !important;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/*
 * ---------- Bandeau cookies : panneau "Personnaliser" ----------
 * Carte claire (mêmes proportions/coins que .account-section) plutôt que le
 * style blanc/jaune par défaut de la librairie — demandé le 2026-10-23 (après
 * le bandeau du bas, le panneau détaillé restait non habillé). Fond derrière
 * le panneau repris de .mobile-menu (rgba(13,13,12,0.6)) plutôt que le voile
 * blanc par défaut, pour rester cohérent avec l'autre overlay du site.
 */
html body.tarteaucitron-modal-open div#tarteaucitronRoot::before {
  background: rgba(13,13,12,0.6) !important;
}
#tarteaucitron {
  background: var(--cream) !important;
  border-radius: 22px 16px 24px 14px / 16px 22px 14px 24px !important;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35) !important;
  font-family: 'Satoshi', sans-serif !important;
  overflow: hidden !important;
  color-scheme: light !important;
}
#tarteaucitron .tarteaucitronBorder {
  background: transparent !important;
  border: none !important;
  padding: 0 28px 24px !important;
}
#tarteaucitron #tarteaucitronServices {
  padding: 0 !important;
  overflow-x: hidden !important;
}
#tarteaucitron #tarteaucitronMainLineOffset {
  padding: 32px 28px 16px !important;
}
#tarteaucitron .tarteaucitronH1 {
  color: var(--black) !important;
  font-family: 'Garabosse', 'Satoshi', sans-serif !important;
  font-weight: 400 !important;
  font-size: 24px !important;
  text-align: left !important;
  margin: 0 0 14px !important;
}
#tarteaucitron #tarteaucitronInfo {
  background: transparent !important;
  display: block !important;
  text-align: left !important;
  max-width: 100% !important;
  margin: 0 0 16px !important;
  padding: 16px 0 !important;
  border-top: 1px solid rgba(13,13,12,0.12) !important;
  border-bottom: 1px solid rgba(13,13,12,0.12) !important;
}
#tarteaucitron #tarteaucitronInfo p {
  color: rgba(13,13,12,0.72) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
#tarteaucitron #tarteaucitronInfo button#tarteaucitronPrivacyUrlDialog {
  all: unset !important;
  color: var(--black) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
}
#tarteaucitron .tarteaucitronH3 {
  color: var(--black) !important;
  font-family: 'Satoshi', sans-serif !important;
  font-weight: 500 !important;
  font-size: 13.5px !important;
}
#tarteaucitron .tarteaucitronH2 {
  color: var(--black) !important;
  font-family: 'Garabosse', 'Satoshi', sans-serif !important;
  font-weight: 400 !important;
  font-size: 18px !important;
}
#tarteaucitron .tarteaucitronTitle button {
  all: unset !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  color: var(--black) !important;
  font-family: 'Garabosse', 'Satoshi', sans-serif !important;
  font-weight: 400 !important;
  font-size: 17px !important;
  padding: 14px 0 !important;
  border-top: 1px solid rgba(13,13,12,0.12) !important;
  cursor: pointer !important;
}
/* La librairie met chaque ligne/service dans sa propre boîte blanche avec une
   bordure gauche de 5px (y compris la ligne d'en-tête, avec un cadre blanc de
   3-9px en plus) : sur le fond crème du panneau, ça ressemblait à des petits
   encarts flottants disparates plutôt qu'une liste simple — signalé le
   2026-10-23. On neutralise tout ça pour rester plat, seules les fines lignes
   de séparation ajoutées ci-dessous marquent la limite entre les lignes. */
#tarteaucitron .tarteaucitronLine {
  background: transparent !important;
  border: none !important;
  padding: 14px 0 !important;
  border-top: 1px solid rgba(13,13,12,0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 10px 16px !important;
}
#tarteaucitron .tarteaucitronLine.tarteaucitronMainLine {
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}
#tarteaucitron .tarteaucitronName {
  flex: 1 1 260px !important;
  margin: 0 !important;
}
#tarteaucitron .tarteaucitronAsk {
  display: inline-flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}
#tarteaucitron button.tarteaucitronAllow,
#tarteaucitron button.tarteaucitronDeny {
  all: unset !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Satoshi', sans-serif !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  border-radius: 10px 6px 12px 6px / 6px 11px 5px 12px !important;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease !important;
}
#tarteaucitron #tarteaucitronScrollbarAdjust button.tarteaucitronAllow,
#tarteaucitron #tarteaucitronScrollbarAdjust button.tarteaucitronDeny {
  font-size: 13.5px !important;
  padding: 11px 20px !important;
}
#tarteaucitron .tarteaucitronLine:not(.tarteaucitronMainLine) button.tarteaucitronAllow,
#tarteaucitron .tarteaucitronLine:not(.tarteaucitronMainLine) button.tarteaucitronDeny {
  font-size: 12px !important;
  padding: 7px 14px !important;
}
/* Bouton "Enregistrer" : même traitement que les CTA principaux du site
   (.pp-add-btn) — police Garabosse, taille confortable — plutôt que le
   réglage générique ci-dessus qui ne le couvrait pas (hors de .tarteaucitronLine,
   dans #tarteaucitronSave) et le laissait sans padding ni taille définis,
   texte collé aux bords — signalé le 2026-10-23. */
#tarteaucitron #tarteaucitronSave button.tarteaucitronAllow {
  font-family: 'Garabosse', 'Satoshi', sans-serif !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  padding: 11px 24px !important;
}
#tarteaucitron button.tarteaucitronAllow {
  background: var(--black) !important;
  color: var(--cream) !important;
  border: 1px solid transparent !important;
}
/* Contour noir quand le bouton devient beige au survol : sans ça, le
   bouton se fondait presque dans le fond crème du panneau — demandé le
   2026-10-23. Bordure transparente (pas "none") au repos pour éviter un
   saut de taille d'1px à l'apparition du contour. */
#tarteaucitron button.tarteaucitronAllow:hover {
  background: var(--beige) !important;
  color: var(--black) !important;
  border-color: var(--black) !important;
}
#tarteaucitron button.tarteaucitronDeny {
  background: transparent !important;
  color: var(--black) !important;
  border: 1px solid rgba(13,13,12,0.3) !important;
}
#tarteaucitron button.tarteaucitronDeny:hover {
  background: var(--black) !important;
  color: var(--cream) !important;
  border-color: var(--black) !important;
}
#tarteaucitron button[disabled] {
  opacity: 0.45 !important;
  cursor: default !important;
}
/* État "sélectionné" des boutons Autoriser/Interdire par service : la lib
   pose bien aria-pressed="true" sur le bon bouton au clic (le choix est
   correctement enregistré), mais sans style dédié les deux boutons restent
   identiques avant/après — impossible de voir ce qui a été choisi. Signalé
   le 2026-10-25 ("pas de changement au clic"). */
#tarteaucitron button.tarteaucitronAllow[aria-pressed="true"] {
  background: var(--black) !important;
  color: var(--cream) !important;
  border-color: var(--black) !important;
}
#tarteaucitron button.tarteaucitronAllow[aria-pressed="false"] {
  background: transparent !important;
  color: var(--black) !important;
  border: 1px solid rgba(13,13,12,0.3) !important;
}
#tarteaucitron button.tarteaucitronDeny[aria-pressed="true"] {
  background: var(--black) !important;
  color: var(--cream) !important;
  border-color: var(--black) !important;
}
#tarteaucitron #tarteaucitronSave {
  background: var(--cream) !important;
  border-top: 1px solid rgba(13,13,12,0.12) !important;
  padding: 16px 28px !important;
}
#tarteaucitron #tarteaucitronClosePanel {
  all: unset !important;
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  z-index: 5 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: var(--beige) !important;
  color: var(--black) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  cursor: pointer !important;
}
#tarteaucitron #tarteaucitronClosePanel::before {
  content: "\2715";
  font-size: 15px !important;
}
#tarteaucitron #tarteaucitronClosePanel:hover {
  background: var(--cream) !important;
}
@media (max-width: 900px) {
  #tarteaucitron {
    width: 90vw !important;
    left: 5vw !important;
    margin-left: 0 !important;
    max-height: 84% !important;
  }
}
@media (max-width: 560px) {
  #tarteaucitron {
    width: calc(100vw - 24px) !important;
    left: 12px !important;
    top: 4% !important;
  }
  #tarteaucitron #tarteaucitronMainLineOffset {
    padding: 28px 20px 14px !important;
  }
  #tarteaucitron .tarteaucitronBorder {
    padding: 0 20px 20px !important;
  }
}

/* ---------- ENCART "18 ANS OU PLUS" (age-gate) ---------- */

/*
 * Visible par défaut (fail-safe) : masqué uniquement via la classe .dosh-age-ok
 * posée sur <html> (script en fin de <head> dans header.php, lu depuis
 * localStorage) — c'est ce qui évite tout flash à l'affichage, dans les deux
 * sens (demandé le 2026-11-14). Fond plein (pas de flou sur le contenu
 * derrière, contrairement à .offers-popup) : comme .page-transition, c'est un
 * écran bloquant avant tout accès à la boutique, rien ne doit être visible
 * derrière.
 */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  padding: 24px;
}
html.dosh-age-ok .age-gate {
  display: none;
}

/*
 * Même forme/ombre que .offers-popup-card (la seule autre carte plein écran
 * du site) : contour "dessiné à la main" asymétrique plutôt qu'un rectangle
 * à coins ronds classiques — identité reprise à l'identique.
 */
.age-gate-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--black-soft);
  color: var(--cream);
  padding: clamp(36px, 6vw, 52px) clamp(28px, 5vw, 36px) clamp(32px, 5vw, 40px);
  border-radius: 48px 64px 42px 58px / 46px 54px 62px 44px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  border: 1px solid var(--line);
  text-align: center;
}

.age-gate-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.age-gate-logo {
  width: 150px;
  height: auto;
}

/* Même style que .offers-popup-card .eyebrow. */
.age-gate-eyebrow {
  display: block;
  color: var(--beige);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Même style que .offers-popup-card h2. */
.age-gate-card h2 {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 30px);
  color: var(--cream);
  margin: 0 0 16px;
}

.age-gate-intro {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(244,239,230,0.85);
  margin: 0 0 18px;
}

.age-gate-question {
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--cream);
  margin: 0 0 22px;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/*
 * "Oui" : même recette que .pp-lab-btn (le bouton beige plein déjà utilisé
 * pour l'action la plus mise en avant d'une fiche produit) — bouton majeur,
 * visuellement prioritaire (critère 6 du cahier des charges).
 */
.age-gate-btn--yes {
  width: 100%;
  background: var(--beige);
  color: var(--black);
  border: 1.5px solid transparent;
  border-radius: 10px 5px 12px 5px / 5px 11px 5px 12px;
  padding: 16px 20px;
  font-family: 'Garabosse', 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.age-gate-btn--yes:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

/*
 * "Non" : même recette que .account-btn (le bouton secondaire déjà utilisé
 * partout dans l'espace compte sur ce même fond sombre) — visible
 * immédiatement, sans être en concurrence avec le bouton beige.
 */
.age-gate-btn--no {
  width: 100%;
  background: var(--black);
  color: var(--cream);
  border: 1px solid transparent;
  border-radius: 10px 6px 12px 6px / 6px 11px 5px 12px;
  padding: 15px 20px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.age-gate-btn--no:hover {
  background: var(--beige);
  color: var(--black);
  transform: translateY(-1px);
}

.age-gate-footnote {
  font-size: 11.5px;
  color: rgba(244,239,230,0.5);
  margin: 18px 0 0;
}

@media (max-width: 480px) {
  .age-gate-card { padding: 44px 24px 32px; }
  .age-gate-logo { width: 130px; }
}

/*
 * ---------- GRANDS ÉCRANS (> 1920px) ----------
 * Le site est pensé pour s'arrêter de grandir à 1180/1680px (cf. les
 * variables --container-narrow/--container-wide définies dans :root) : au-delà
 * de 1920px de large, ces conteneurs restaient figés et laissaient de grandes
 * marges vides de part et d'autre (demandé le 2026-10-19). On ne touche à rien
 * en dessous de 1921px (pixel identique à avant) ; au-delà, les conteneurs
 * suivent la largeur de l'écran (même ratio qu'à 1920px, donc aucun saut au
 * passage du seuil) jusqu'à un plafond raisonnable pour ne pas devenir démesuré
 * sur un très grand moniteur (5K/8K).
 */
@media (min-width: 1921px) {
  :root {
    --container-narrow: min(61.46vw, 1900px);
    --container-wide: min(87.5vw, 2600px);
    --pp-image-width: min(26.04vw, 900px);
    --pp-image-height: min(31.25vw, 1080px);
  }
}
