/* ===========================================================================
   COMPOSANTS
   Chaque bloc reprend les valeurs MESURÉES des fiches du cahier de charge.
   La référence est indiquée en commentaire au-dessus de chaque section.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   TICKERS — shared/01, shared/08, shared/09
   Mécanique commune : rail flex dupliqué, translateX(calc(-50% - gap/2))
   --------------------------------------------------------------------------- */
.ticker {
  width: 100%;
  overflow: hidden;
  background-image: var(--gradient-gold);
  color: var(--c-charcoal);
}
.ticker__rail {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.ticker:hover .ticker__rail { animation-play-state: paused; }
.ticker__item { margin: 0; white-space: nowrap; line-height: 1; }

/* shared/01 — bandeau d'annonce : 46/36px, gap 50/60, 75s reverse, 14px/700 */
.ticker--annonce { padding: 12px 0; }
.ticker--annonce .ticker__rail {
  column-gap: 60px;
  animation-name: ticker-mobile-60;
  animation-duration: 75s;
  animation-direction: reverse;
}
.ticker--annonce .ticker__item {
  font-size: 12px; font-weight: 700; line-height: 12px;
  letter-spacing: 0.9px; color: var(--c-charcoal);
}

/* shared/08 — 3 slogans : 50/40px, gap 100, 75s reverse, 18px/400
   padding-top mobile harmonisé à 12px (cahier §12 : divergence 0 vs 12px) */
.ticker--slogans { padding: 12px 0; }
.ticker--slogans .ticker__rail {
  column-gap: 100px;
  animation-name: ticker-100;
  animation-duration: 75s;
  animation-direction: reverse;
}
.ticker--slogans .ticker__item { font-size: 18px; font-weight: 400; }

/* shared/09 — pictogrammes : 72/50px, gap 100, 150s NORMAL (sens inverse) */
.ticker--picto { padding: 5px 0; }
.ticker--picto .ticker__rail {
  column-gap: 100px;
  animation-name: ticker-100;
  animation-duration: 150s;
  animation-direction: normal;
}
.ticker--picto img { width: 40px; height: 40px; }

@keyframes ticker-mobile-60 { to { transform: translateX(calc(-50% - 30px)); } }
@keyframes ticker-100       { to { transform: translateX(calc(-50% - 50px)); } }
@keyframes ticker-desktop-50{ to { transform: translateX(calc(-50% - 25px)); } }

@media screen and (min-width: 750px) {
  .ticker--annonce { padding: 16px 0; }
  .ticker--annonce .ticker__item { font-size: 14px; line-height: 14px; letter-spacing: 0.96px; }
  .ticker--annonce .ticker__rail { column-gap: 50px; animation-name: ticker-desktop-50; }
  .ticker--slogans { padding: 16px 0; }
  .ticker--picto   { padding: 16px 0; }
}

/* Séparateur dégradé de 8px — collection/05-separateurs-degrade.md */
.separateur-degrade { height: 8px; background-image: var(--gradient-gold); }

/* Séparateur de section — VAGUE ANIMÉE (dentifrice-charbon/05).
   Règles reprises telles quelles du thème du site live : hauteur 3rem (30px)
   en mobile et 6rem (60px) en desktop, quatre couches translatées en boucle
   à 10s, 8s, 6s et 4s avec des opacités de 1, 0.4, 0.3 et 0.2.
   Le remplissage suit `currentColor` : la teinte d'accent de la charte. */
.section-divider { position: relative; color: var(--c-accent-1); }
.section-divider__svg {
  position: relative;
  overflow: hidden;
  transform: translateY(1px);
}
.section-divider__svg svg {
  display: block;
  width: 100%; height: auto;
  overflow: hidden;
  max-height: var(--max-height);
}
.waves-animated-1 { --max-height: 3rem; margin: 0; }
@media screen and (min-width: 750px) { .waves-animated-1 { --max-height: 6rem; } }

.parallax1 > use { animation: move-forever1 10s linear infinite; }
.parallax2 > use { animation: move-forever2  8s linear infinite; opacity: 0.4; }
.parallax3 > use { animation: move-forever3  6s linear infinite; opacity: 0.3; }
.parallax4 > use { animation: move-forever4  4s linear infinite; opacity: 0.2; }
@keyframes move-forever1 { 0% { transform: translate(85px); }  100% { transform: translate(-90px); } }
@keyframes move-forever2 { 0% { transform: translate(-90px); } 100% { transform: translate(85px); } }
@keyframes move-forever3 { 0% { transform: translate(85px); }  100% { transform: translate(-90px); } }
@keyframes move-forever4 { 0% { transform: translate(-90px); } 100% { transform: translate(85px); } }

/* ---------------------------------------------------------------------------
   HEADER — shared/02-header-nav.md
   Mode « drawer-menu » : la nav est en tiroir aux DEUX viewports.
   --------------------------------------------------------------------------- */
.header-wrapper {
  /* <sticky-header> du live : la balise etait rendue sans comportement.
     `sticky` est l'implementation minimale conforme (shared/02 §8). */
  position: sticky;
  top: 0;
  z-index: 5;
  background-color: #fff;
  border-bottom: 1px solid var(--c-header-border);
}
.header {
  display: grid;
  grid-template-columns: 86.25px 1fr 86.25px;
  grid-template-areas: "left-icons heading icons";
  align-items: center;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 10px var(--page-padding-mobile);
  min-height: 64px;
}
.header__burger { grid-area: left-icons; justify-self: start; }
/* Burger masque sur demande. Selecteur a 2 classes : `.header__icon` declare
   `display: flex` PLUS BAS dans le fichier et l'emportait a specificite egale. */
.header .header__burger { display: none; }
.header__heading { grid-area: heading; justify-self: center; margin: 0; }
.header__icons   { grid-area: icons; justify-self: end; display: flex; align-items: center; gap: 4px; }

.header__logo-link { display: block; width: 120px; max-width: 120px; }
.header__logo-link img { width: 100%; height: auto; object-fit: contain; }

.header__icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  color: var(--c-text-90); text-decoration: none;
}
/* Vues tres etroites (<=360px) : deux cibles de 44px + 4px de gap depassent
   la colonne de droite de 5,75px et la page defile en X. On resserre. */
@media screen and (max-width: 360px) {
  /* La piste centrale est un `1fr` = `minmax(auto, 1fr)` : elle ne descend pas
     sous les 120px du logo, la grille depasse alors son conteneur de 17,5px et
     la page defile en X. On libere la piste ET on laisse le logo se reduire. */
  .header { grid-template-columns: 86.25px minmax(0, 1fr) 86.25px; }
  .header__logo-link { max-width: 100%; }
  .header__icons { gap: 0; }
  .header__icon  { width: 40px; }
}
.header__icon svg { width: 22px; height: 22px; }

@media screen and (min-width: 750px) {
  .header {
    /* Le site réel mesure 553,75 / 192,5 / 553,75 px dans une boîte de contenu
       de 1300 px (1400 − 2 × 50 px de padding). `1fr 192.5px 1fr` reproduit ces
       valeurs À L'IDENTIQUE à la largeur de référence, sans déborder en dessous
       de 1400 px — les colonnes fixes sortaient l'en-tête de l'écran. */
    /* `minmax(0, ...)` sur les colonnes laterales : sous ~326px de vue les
       icones debordaient de 3px (defilement X). Aucun effet au-dessus. */
    grid-template-columns: minmax(0, 1fr) 192.5px minmax(0, 1fr);
    padding: 20px var(--page-padding-desktop);
    min-height: 89px;
  }
  .header__logo-link { width: 200px; max-width: 200px; }
}

/* ---------------------------------------------------------------------------
   MENU DRAWER — shared/03-menu-drawer.md
   fixed · 335px mobile / 400px desktop · translateX(-100%) · z-index 10
   --------------------------------------------------------------------------- */
.menu-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 335px;
  height: 100vh;
  z-index: 10;
  overflow: hidden auto;
  background-color: var(--c-charcoal);
  background-image: var(--gradient-chrome);
  color: rgba(255, 255, 255, 0.9);
  transform: translateX(-100%);
  transition: transform 250ms cubic-bezier(0.29, 0.63, 0.44, 1);
}
.menu-drawer.is-open { transform: translateX(0); }
@media screen and (min-width: 750px) { .menu-drawer { width: 400px; } }

.menu-drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.menu-drawer__header h2 { color: #fff; }
.menu-drawer__close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; color: #fff;
}
.menu-drawer__item {
  display: flex; align-items: center;
  padding: 9px 20px;
  font-size: 18px; font-weight: 400;
  letter-spacing: 0.96px;
  color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.menu-drawer__item--active { background-color: rgba(255, 255, 255, 0.09); }
.menu-drawer__socials { display: flex; justify-content: center; gap: 4px; padding: 16px 20px; }
.menu-drawer__socials a {
  width: 44px; height: 44px; padding: 13px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}

.drawer-overlay {
  position: fixed; inset: 0;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0);
  visibility: hidden;
  transition: visibility 0.2s, background-color 0.2s;
}
.drawer-overlay.is-open { visibility: visible; background-color: rgba(0, 0, 0, 0.45); }

/* ---------------------------------------------------------------------------
   CART DRAWER — shared/05-cart-drawer.md
   fixed plein écran · z-index 1000 · panneau 400px à DROITE · translateX(+100%)
   --------------------------------------------------------------------------- */
/* `overflow: hidden` indispensable : le panneau fermé est décalé de +100 %
   (400 px hors écran). Sans clipping il allonge la largeur du document et
   provoque un défilement horizontal parasite sur toutes les pages. */
.cart-drawer {
  position: fixed; inset: 0; z-index: 1000;
  visibility: hidden;
  overflow: hidden;
  /* valeur exacte du live (shared/05-cart-drawer.md) : maintient le panneau
     visible pendant l'animation de sortie, sinon la fermeture est coupee net. */
  transition: visibility 0.2s;
}
.cart-drawer.is-open { visibility: visible; }
.cart-drawer__overlay {
  position: fixed; inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.2s;
}
.cart-drawer.is-open .cart-drawer__overlay { background-color: rgba(0, 0, 0, 0.45); }
.cart-drawer__inner {
  position: absolute; top: 0; right: 0;
  /* meme largeur que le tiroir de filtres : une bande de page reste visible */
  width: min(400px, 88vw); height: 100%;
  background-color: #fff;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 250ms cubic-bezier(0.29, 0.63, 0.44, 1);
}
.cart-drawer.is-open .cart-drawer__inner { transform: translateX(0); }
.cart-drawer__header {
  display: flex; align-items: center; justify-content: center;
  position: relative; padding: 20px;
  border-bottom: 1px solid var(--c-header-border);
}
.cart-drawer__close { position: absolute; right: 12px; width: 44px; height: 44px; background: none; border: 0; }
.cart-drawer__body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px; text-align: center; }
.cart-drawer__jauge { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 20px; border-top: 1px solid var(--c-header-border); }
.cart-drawer__footer { padding: 20px; border-top: 1px solid var(--c-header-border); }
.cart-drawer__total { display: flex; justify-content: space-between; margin-bottom: 12px; }

/* ---------------------------------------------------------------------------
   FOOTER — shared/04-footer.md
   --------------------------------------------------------------------------- */
.footer {
  background-image: var(--gradient-accent-1);
  color: rgba(255, 255, 255, 0.9);
  padding: 24px 0 15px;
}
/* padding-bottom 50px : reprend `.footer__content-top { padding: 0 50px 50px }` du live */
/* Le live separe les blocs de 30px en mobile (margin-top du bloc newsletter).
   Avec un row-gap a 0, « Information » venait coller au bouton « Inscrire ». */
.footer__top { display: flex; flex-wrap: wrap; gap: 30px 20px; padding-bottom: 30px; }
.footer__top > .footer-block > p:first-child { margin: 0 0 12px; }
.footer-block { flex: 0 0 auto; }
.footer-block--newsletter { flex: 1 1 320px; }
.footer-block--menu { flex: 0 1 295px; }
/* Le footer a sa propre echelle : 20.8/25.6 en mobile, 23.4/28.8 en desktop. */
.footer-block__heading {
  color: #fff; margin-bottom: 20px;
  font-size: 20.8px; line-height: 25.6px;
}
@media screen and (min-width: 750px) {
  .footer-block__heading { font-size: 23.4px; line-height: 28.8px; }
}
/* Rangees de liens : ~40px sur le live (interlignage 25,2 + 7,5 de padding),
   contre 27px sans padding chez nous. */
.footer-block--menu .footer__link { display: block; padding: 7.5px 0; }
.footer__link {
  display: inline-block;
  font-size: 14px; line-height: 25.2px;
  letter-spacing: 0.96px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.footer__link:hover { text-decoration: underline; }

.newsletter__field { max-width: 404px; margin-top: 12px; }
.newsletter__input {
  /* Mesure sur le live : APLAT plein (et non un champ borde), hauteur 45px,
     padding 15px 50px 15px 15px, police 16px/24px, interlettrage 0,4px. */
  width: 100%; height: 45px;
  padding: 15px 50px 15px 15px;
  background-color: #2c2a26;
  /* liseré clair : sans lui le champ se confond avec le fond du footer */
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--inputs-radius);
  color: #fff;
  font-family: var(--font-body); font-size: 16px; line-height: 24px;
  letter-spacing: 0.4px;
}
.newsletter__input::placeholder { color: rgba(255, 255, 255, 0.75); }
.newsletter__input:focus { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 1px; }
/* Bouton « Inscrire » : pilule BLANCHE pleine largeur, SOUS le champ. */
.newsletter__button {
  /* MOBILE : pleine largeur (le 124px que j'avais releve etait la valeur
     DESKTOP). Hauteur 49px, marge haute 10px, police 16px/19,2px w700,
     interlettrage 1px. */
  width: 100%; max-width: 404px;
  min-height: 49px; margin-top: 10px;
  padding: 0 30px;
  display: flex; align-items: center; justify-content: center;
  background-color: #fff;
  border: 0; border-radius: var(--buttons-radius-outset);
  color: var(--c-gold-deep);
  font-family: var(--font-body);
  font-size: 16px; font-weight: 700; line-height: 19.2px;
  letter-spacing: 1px;
}
/* Icones sociales CENTREES, comme sur le live (elles etaient a gauche). */
.footer__socials {
  display: flex; justify-content: center; gap: 4px;
  margin: 44px 0 0; padding: 0; list-style: none;
}
.footer__socials a { width: 44px; height: 44px; padding: 13px; display: flex; align-items: center; justify-content: center; color: #fff; }
.footer__bottom {
  margin-top: 28px; padding: 30px 0 0;
  border-top: 1px solid var(--c-footer-rule);
  /* de la place a gauche pour le bouton retour-haut, qui est fixe en bas a
     gauche et passait par-dessus la mention */
  padding-left: 64px;
}
/* Barre du bas : centree et sur UNE seule ligne (le live n'a pas deux
   lignes alignees a gauche). */
.footer__bottom { text-align: center; }
.footer__bottom small {
  display: inline;
  font-size: 10px; line-height: 17px; letter-spacing: 0.7px;
}
.footer__bottom small + small { margin-left: 6px; }
.footer__paiement { display: flex; gap: 8px; flex-wrap: wrap; }

@media screen and (min-width: 750px) {
  /* en desktop le live ramene le bouton a sa largeur de contenu (124px) */
  .newsletter__button { width: auto; }
  .footer { padding: 32px 0 20px; }
  .footer__top { gap: 0 40px; padding-bottom: 50px; }
  /* Bases du live (406 + 295 + 40 de gouttière) : elles tiennent sans
     retour à la ligne dès 1300 px de contenu. On autorise le rétrécissement
     et le repli pour éviter le débordement sur les largeurs intermédiaires. */
  /* colonnes du footer : la newsletter garde sa base de 406px, le bloc de
     liens occupe le reste de la ligne au lieu d'etre bride a 295px. */
  .footer-block--newsletter { flex: 0 1 406px; }
  .footer-block--menu { flex: 1 1 295px; }
}

/* ---------------------------------------------------------------------------
   BANNIÈRE IMAGE — collection/01 + shared/10
   Ratio imposé par aspect-ratio (équivalent moderne du padding-bottom %)
   --------------------------------------------------------------------------- */
.image-banner { position: relative; width: 100%; overflow: hidden; }
.image-banner img { width: 100%; height: 100%; object-fit: cover; }
.image-banner--hero  { aspect-ratio: 1425 / 609; }   /* 42.75% */
.image-banner--promo { aspect-ratio: 1425 / 625; }   /* 43.83% */

/* ---------------------------------------------------------------------------
   BARRE DE FILTRES — collection/02-barre-filtres.md
   --------------------------------------------------------------------------- */
.facets {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 12px 24px;
  /* `padding-block` et NON le raccourci : ces blocs portent aussi la classe
     `page-width`, dont le padding lateral (15px mobile / 50px desktop) etait
     remis a zero par un raccourci de meme specificite charge plus tard. */
  padding-block: 16px;
}
.facets__heading, .facets__label {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 400; line-height: 21px;
  letter-spacing: 0.4px;                     /* propre à ce bloc */
  color: rgba(18, 18, 18, 0.85);
  margin: 0;
}
.facets__group { position: relative; }
.facets__summary {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 0;
  font-size: 14px; letter-spacing: 0.4px;
  color: rgba(18, 18, 18, 0.85);
  cursor: pointer; list-style: none;
}
.facets__summary::-webkit-details-marker { display: none; }
.facets__panel {
  position: absolute; top: 100%; left: 0; z-index: 5;
  min-width: 260px; padding: 16px;
  background: #fff;
  border: 1px solid var(--c-header-border);
  border-radius: var(--inputs-radius);
  box-shadow: 0 10px 20px rgba(18, 18, 18, 0.08);
}
.facets__panel label { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; }
.facets__select {
  font-family: var(--font-body); font-size: 14px; letter-spacing: 0.4px;
  padding: 8px 10px;
  border: 1px solid rgba(18, 18, 18, 0.6);
  border-radius: var(--inputs-radius);
  background: #fff;
}
.facets__count { margin-left: auto; font-size: 14px; letter-spacing: 0.4px; color: rgba(18, 18, 18, 0.85); }
.facets__price-row { display: flex; gap: 10px; margin-top: 8px; }
.facets__price-row input { width: 100%; padding: 8px; border: 1px solid rgba(18, 18, 18, 0.6); border-radius: var(--inputs-radius); font-family: var(--font-body); }


/* ---------------------------------------------------------------------------
   GRILLE PRODUITS — collection/03 + 04
   flex wrap · gap 20/40 · item max-width calc(50% - 10px) / calc(25% - 30px)
   --------------------------------------------------------------------------- */
.product-grid {
  display: flex; flex-wrap: wrap;
  gap: var(--grid-gap-mobile);
  margin-top: 15px;
  /* section `main-collection-product-grid` du live : padding-bottom 27px
     mobile / 36px desktop. C'est l'espace qui manquait sous la grille. */
  padding-bottom: 27px;
}
.product-grid > li { flex: 1 1 auto; max-width: calc(50% - 10px); }
@media screen and (min-width: 750px) {
  .product-grid { gap: var(--grid-gap-desktop); margin-top: 16px; padding-bottom: 36px; }
  /* Palier tablette : 3 colonnes de 750 a 1099px. Sans lui on passait
     directement de 2 a 4 colonnes, avec des cartes de 133px a 768px. */
  .product-grid > li { max-width: calc(33.3333% - 26.6667px); }
}
@media screen and (min-width: 990px) {
  /* 4 colonnes a partir de 990px : c'est la bascule desktop du live
     (`.grid--4-col-desktop` est sous @media min-width:990px). */
  .product-grid > li { max-width: calc(25% - 30px); }
}

.card {
  position: relative;
  display: flex; flex-direction: column;
  height: 100%;
  /* Le live rend une carte en PANNEAU : fond opaque, coins arrondis et ombre
     portee (token --product-card-shadow). Le §5 du cahier annonce un fond
     transparent, mais la capture du site montre bien un panneau ombre. */
  background-color: #fff;
  border-radius: var(--product-card-radius);
  box-shadow: var(--product-card-shadow);
  overflow: hidden;
}
.card__inner { position: relative; }
.card__media {
  position: relative;
  aspect-ratio: 1 / 1.25;                    /* --ratio-percent: 125% */
  overflow: hidden;
  border-radius: var(--product-card-radius) var(--product-card-radius) 0 0;
}
.card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.4s;
}
.card__media img.card__media--hover { opacity: 0; }
.card:hover .card__media--hover { opacity: 1; }
/* `white-space: nowrap` : en absolu avec `left: 50%`, la largeur ajustee au
   contenu est plafonnee a la moitie de la carte (81px en mobile) et le libelle
   passait sur 2 lignes. Cahier : badge sur UNE ligne, 86x21 en mobile. */
.card__badge {
  position: absolute; top: 10px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
}

.card__content {
  /* Live : `.card__content { padding: 1rem }` = 10px sur les 4 cotes,
     + `.card__information { padding-top/bottom: 1rem }`. Le texte ne doit
     JAMAIS toucher le bord du panneau. */
  padding: 16px 10px 14px;
  text-align: center;
  display: flex; flex-direction: column; flex: 1;
}
.card__content .price { margin-bottom: auto; }
.card__heading {
  font-family: var(--font-heading);
  /* Le live rend `<h3 class="card__heading h5">`. La classe `.h5` du theme vaut
     font-size: calc(var(--font-heading-scale) * 1.3rem) = 1.3 x 13px = 16.9px
     line-height: 1 + 0.3 / max(1, 1.3)                 = 1.2308  -> 20.8px
     letter-spacing: 1.3 x 0.06rem                      = 0.78px
     Aucune regle mobile sur `.h5` : la taille est IDENTIQUE aux deux viewports.
     (Le 23,4px precedent correspondait a l'echelle h2, pas au titre de carte.) */
  font-size: 1.7rem;          /* `.card__heading { font-size: 1.7rem }` du live */
  line-height: 1.2308;
  letter-spacing: var(--ls-heading);
  color: var(--c-text);
  margin: 0 0 6px;
}
/* Le live REDUIT le titre ET le prix soldé a 1.3rem (13px) quand la grille
   est en 2 colonnes (< 750px) :
   `.grid--2-col-tablet-down .card-wrapper .card__heading.h5,
    .grid--2-col-tablet-down .card-wrapper .price--on-sale { font-size: 1.3rem }`
   Sans cette regle le titre restait a 17px sur mobile. */
@media screen and (max-width: 749px) {
  .card__heading { font-size: 1.3rem; }
  .card__content .price__sale { font-size: 1.3rem; }
}
.card__heading a { text-decoration: none; }
/* `full-unstyled-link` du live : la zone cliquable couvre toute la carte. */
.card__heading a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__cta { position: relative; z-index: 2; }
.card:hover .card__heading a { text-decoration: underline; }

.price { display: flex; align-items: baseline; justify-content: center; gap: 8px; flex-wrap: wrap; }
.price__regular {
  font-size: 13px; font-weight: 700; line-height: 18.2px;
  letter-spacing: 1px; color: var(--c-text-90);
  text-decoration: line-through;
}
.price__sale {
  font-size: 16px; font-weight: 700; line-height: 22.4px;
  letter-spacing: 1px; color: var(--c-gold-deep);
}
/* « / par » : le §6 du cahier le dit visible, mais la capture du site montre
   une ligne de prix SANS ce libelle. On suit le rendu reel du site : masque
   visuellement, conserve pour les lecteurs d'ecran. */
.price__unit {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
.card__cta { margin-top: 12px; }
/* Le bouton de carte utilise le composant commun `.button.button--sm`.
   Ici on ne regle QUE sa largeur : 143px mobile / 249px desktop (cahier
   collection/04 §3). Aucune police ni couleur n'est redefinie. */
/* Le bouton occupe TOUTE la largeur utile de la carte, a tous les viewports :
   aucun plafond en px, il reste donc homogene d'un appareil a l'autre. */
.card__cta .button { width: 100%; max-width: none; }
@media screen and (min-width: 750px) {
  .card__content { padding: 16px 10px 20px; }
}

/* ---------------------------------------------------------------------------
   HÉRO VIDÉO — collection/06-parallax-hero-video.md
   --------------------------------------------------------------------------- */
.parallax-hero { position: relative; width: 100%; height: 200px; overflow: hidden; }
.parallax-hero video, .parallax-hero img { width: 100%; height: 100%; object-fit: cover; }
.parallax-hero__pause {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.5); border: 0; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
@media screen and (min-width: 750px) { .parallax-hero { height: 600px; } }

/* ---------------------------------------------------------------------------
   RICH TEXT — collection/07 + pack/04
   padding-top 21/28 · padding-bottom 0 (bloc collé au diaporama)
   --------------------------------------------------------------------------- */
.rich-text { text-align: center; padding-block: 21px 0; }
/* L'instance de la fiche Pack mesure 97px sur le live contre 125px pour celle
   de la collection : elle n'a pas de padding haut (pack-smileluxe/04 §3). */
.rich-text.rich-text--compact { padding-block: 0; }   /* specificite : doit
   l'emporter sur la regle desktop `.rich-text { padding-block: 28px 0 }` */
.rich-text__heading { font-size: var(--fs-h1); line-height: var(--lh-h1); margin: 0 0 20px; }
.rich-text p { margin: 0; }
@media screen and (min-width: 750px) { .rich-text { padding-block: 28px 0; } }

/* ---------------------------------------------------------------------------
   DIAPORAMA — shared/06-slideshow-visuels.md
   5 visuels pleine largeur · ratio 375/515 mobile, 1425/1781 desktop
   --------------------------------------------------------------------------- */
/* Carrousel d'avis : captures 600×1297 affichées ENTIÈRES (aucun recadrage).
   Le ratio de la diapo suit celui des images et la largeur est bornée (format
   téléphone, centré) pour une hauteur raisonnable sur grand écran. */
.slideshow { position: relative; width: 100%; max-width: 440px; margin-inline: auto; overflow: hidden; }
.slideshow__track { display: flex; transition: transform 0.5s ease; }
.slideshow__slide { flex: 0 0 100%; padding: 22px 28px 36px; }
/* Chaque capture dans un cadre de telephone : coins arrondis, contour noir
   mat avec un leger reflet lumineux en degrade, ombre douce. */
.slideshow__phone {
  padding: 9px;
  border-radius: 46px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, #2c2c2e 0%, #151516 55%, #0b0b0c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    0 14px 28px -10px rgba(0, 0, 0, 0.45),
    0 3px 8px rgba(0, 0, 0, 0.15);
}
.slideshow__phone img {
  display: block; width: 100%; height: auto; aspect-ratio: 600 / 1297;
  border-radius: 37px; background: #000;
}

/* Les contrôles se superposent au dernier tiers du visuel : sur le live, la
   hauteur de section (1781px) est EXACTEMENT celle de la diapositive. */
/* Les controles ne sont plus colles a l'image : ils passent SOUS elle,
   avec un ecart, au lieu de se superposer au bas du visuel. */
.slideshow__controls {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px;
  /* L'air se met DANS le bandeau blanc : une marge exterieure laissait une
     bande creme entre l'image et les puces. */
  min-height: 44px;
  padding: 16px 0;
  background-color: #fff;
}
.slider-button {
  width: 44px; height: 44px; padding: 1px 6px;
  background: none; border: 0; color: var(--c-text-90);
  display: flex; align-items: center; justify-content: center;
}
.slider-counter { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px; max-width: 100%; }
.slider-counter__link {
  width: 20px; height: 20px; padding: 5px;
  background: none; border: 0;
  display: flex; align-items: center; justify-content: center;
}
.slider-counter__link .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background-color: var(--c-text);
  border: 1px solid rgba(18, 18, 18, 0.5);
  transition: transform 0.2s;
}
.slider-counter__link[aria-current="true"] .dot { transform: scale(1.5); }
.slideshow__autoplay { border-left: 1px solid var(--c-header-border); padding-left: 6px; }

/* ---------------------------------------------------------------------------
   FAQ — shared/11-faq-collapsible.md
   Bloc centré, largeur 694px en desktop · summary 48px
   --------------------------------------------------------------------------- */
/* section `collapsible_content` du live : 27px mobile / 36px desktop */
.faq { max-width: 694px; margin: 0 auto; padding-block: 27px; }
@media screen and (min-width: 750px) { .faq { padding-block: 36px; } }
.faq__title {
  text-align: center; margin-bottom: 32px;
  font-size: var(--fs-h1); line-height: var(--lh-h1);   /* 29,25 / 39px */
}
.faq__item { border-bottom: 1px solid var(--c-header-border); }
.faq__summary {
  display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 6px 0;  /* ref : 48px ; `min-` car le libelle
                                        passe sur 2 lignes en mobile */
  cursor: pointer; list-style: none;
}
.faq__summary::-webkit-details-marker { display: none; }
/* Survol EXACT du live :
     summary:hover                   -> background rgba(foreground, .04)
     summary:hover .accordion__title -> soulignement, offset 3px
   (et non un changement de couleur, que j'avais mis a tort). */
.faq__summary:hover { background-color: rgba(18, 18, 18, 0.04); }
.faq__summary:hover .faq__question {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Ouverture animee : <details> ne transitionne pas nativement, on anime le
   contenu revele (opacite + glissement) plutot que la hauteur. */
.faq__item[open] .faq__content { animation: faq-reveal 0.28s ease both; }
@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.faq__question {
  font-family: var(--font-heading);
  font-size: 15.6px; font-weight: 400; line-height: 19.2px;
  color: var(--c-text);
  margin: 0; flex: 1;
}
/* `.icon-caret { transition: transform .2s ease-in-out }` sur le live */
.faq__chevron { margin-left: auto; transition: transform 0.2s ease-in-out; }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__content { padding: 0 6px 16px; }
.faq__content p { margin: 0; }

/* ---------------------------------------------------------------------------
   BARRE DE RÉASSURANCE — shared/12-icon-bar-reassurance.md
   4 colonnes desktop (gap 40px) · 1 colonne mobile
   ⚠ Le live déclare `--gap-mobile: px` (valeur invalide). Corrigé ici en 20px.
   --------------------------------------------------------------------------- */
/* section `icon_bar` du live : 24px mobile / 32px desktop, bas a 0.
   Le bas est porte a 27/36px : nos cartes ont un fond et une ombre, elles
   venaient sinon buter contre le titre de la section suivante. */
.icon-bar { padding-block: 24px 27px; }
@media screen and (min-width: 750px) { .icon-bar { padding-block: 32px 36px; } }
.icon-bar__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;   /* colonnes de meme hauteur */
}
.icon-bar__card {
  text-align: center;
  background-color: #fff;
  color: var(--c-custom-fg);
  /* le texte touchait les bords : on donne a ces blocs le traitement « carte »
     (padding interieur, coins arrondis et ombre portee du meme token que les
     cartes produit). */
  padding: 28px 22px;
  border-radius: var(--product-card-radius);
  box-shadow: var(--product-card-shadow);
  display: flex; flex-direction: column;
}
.icon-bar__card img { height: 50px; width: auto; margin: 0 auto 16px; }
/* Le live met ces titres a 23,4px / 28,8px — et NON a l'echelle h2 globale
   (31,2px), qui les rendait enormes. */
.icon-bar__card h3 {
  font-size: 20.8px; line-height: 25.6px;
  color: var(--c-custom-fg); margin: 0 0 8px;
}
@media screen and (min-width: 750px) {
  .icon-bar__card h3 { font-size: 23.4px; line-height: 28.8px; }
}
.icon-bar__card p { margin: 0; color: rgba(46, 42, 57, 0.9); }
@media screen and (min-width: 750px) {
  /* `minmax(0, 1fr)` : sinon les pistes ne descendent pas sous la largeur
     min-content des cartes et debordent de la grille (defilement X a 768px). */
  .icon-bar__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
}

/* ---------------------------------------------------------------------------
   FICHE PRODUIT — layout 55/45
   dentifrice-charbon/00-overview.md §3 · pack-smileluxe/00-overview.md §3
   --------------------------------------------------------------------------- */
/* section `main` du live : 0/16 mobile, 36/36 desktop */
.product { display: flex; flex-direction: column; gap: 0; padding-block: 0 16px; }
.product__media-col { width: 100%; }
.product__info-col  { width: 100%; }
@media screen and (min-width: 750px) {
  .product { flex-direction: row; align-items: flex-start; padding-block: 36px; }
  .product__media-col { flex: 0 0 55%; max-width: 55%; position: sticky; top: 20px; }
  .product__info-col  { flex: 0 0 45%; max-width: 45%; padding: 0 0 0 50px; }
}

/* Galerie */
.gallery__main {
  aspect-ratio: 1 / 1.25;
  max-width: 586px;            /* ref : image 586×730 dans une colonne de 715 */
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--media-radius);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
/* Fiche a un seul visuel : l'image est affichee TELLE QUELLE, dans son propre
   rapport (le cadre 1/1.25 + `cover` rognait le haut et le bas d'un visuel 3:4)
   et respire au-dessus comme en dessous. */
.gallery__main--naturel { aspect-ratio: auto; overflow: visible; margin-block: 20px; }
.gallery__main--naturel img { height: auto; object-fit: contain; border-radius: var(--media-radius); }
.gallery__thumbs {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 10px; padding: 5px; margin-top: 8px;
  max-width: 627px;            /* ref : rangée de vignettes 627×125 */
  margin-inline: auto;
}
.gallery__thumb {
  padding: 0; border: 2px solid transparent; border-radius: 8px;
  background: none; overflow: hidden; aspect-ratio: 1 / 1.25;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[aria-current="true"] { border-color: var(--c-accent-1); }

/* Bloc d'achat */
.urgency-text {
  display: block; width: fit-content; max-width: 100%;
  margin: 0 auto 15px;
  padding: 4px 14px;
  text-align: center;
  border: 2px solid var(--c-accent-1);
  border-radius: 0;
  color: var(--c-accent-1);
  letter-spacing: 0.96px;
}
.product__title { font-size: var(--fs-product-title); line-height: var(--lh-product-title); margin: 0 0 8px; }
.product__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 8px 0 16px; }
.product__price .main-price { font-size: 25px; font-weight: 700; line-height: 37.5px; color: var(--c-text); }
.product__price .compare-price { font-size: 20px; font-weight: 700; color: rgba(30, 30, 30, 0.45); text-decoration: line-through; }
.product__price .unit { font-size: 11px; font-weight: 700; line-height: 13.2px; letter-spacing: 0.7px; text-transform: uppercase; color: var(--c-gold-deep); }
/* Le live garde 25px/37.5px en desktop : aucun palier a 20px. */

.product__ctas { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }

/* Bouton COD — app tierce Formino. HORS CHARTE, reproduit à l'identique.
   Arial · #364666 · bordure 3px · rayon 19px · ombre 0 8px 16px */
.cod-button {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 45px; padding: 6px;
  background-color: var(--c-cod);
  border: 3px solid var(--c-cod);
  border-radius: 19px;
  color: var(--c-gold);
  font-family: Arial, sans-serif;
  font-size: 17px; font-weight: 700;
  box-shadow: rgba(0, 0, 0, 0.2) 0 8px 16px 0;
  /* Le live anime ce bouton en permanence : `animation: shake 2s`,
     avec `transition: all 0.3s ease`. Keyframes reprises telles quelles
     du script de l'application COD. */
  transition: all 0.3s ease;
  animation: shake 2s infinite;
}
@keyframes shake {
  0%, 100%              { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
  20%, 40%, 60%, 80%      { transform: translateX(2px); }
}
/* Le live a BIEN une barre d'achat fixe : le 3e `.formino-popup-trigger` a un
   parent `position: fixed` et porte lui aussi `shake 2s infinite`. On remet
   donc l'animation. Elle porte sur le BOUTON, pas sur la barre : la barre
   garde son `translate(-50%, 0)` et ne bouge pas. */
.sticky-buy .cod-button { animation: shake 2s infinite; }

/* « Ajouter au panier » ne bouge pas : seuls les boutons d'ACHAT (COD, barre
   fixe, bouton de la modale) portent l'animation. C'est aussi ce que fait le
   site d'origine. */
.product__ctas .button { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .cod-button, .sticky-buy .cod-button { animation: none; }
}
/* Meme largeur que « Ajouter au panier » : les deux boutons d'achat sont
   alignes sur le live. (Le plafond de 400px les desalignait.) */

/* Accordéon description */
.product__accordion { border-top: 1px solid var(--c-header-border); }
.product__accordion summary {
  display: flex; align-items: center; gap: 10px;
  height: 48px; padding: 0;          /* ref : 48px au total, padding compris */
  cursor: pointer; list-style: none;
}
.product__accordion summary::-webkit-details-marker { display: none; }
.product__accordion summary:hover { background-color: rgba(18, 18, 18, 0.04); }
.product__accordion summary:hover .accordion-titre,
.product__accordion summary:hover span:first-of-type { text-decoration: underline; text-underline-offset: 3px; }
.product__accordion[open] .rte { animation: faq-reveal 0.28s ease both; }
.product__accordion .chevron { margin-left: auto; transition: transform 0.2s; }
.product__accordion[open] .chevron { transform: rotate(180deg); }

.rte h3 { margin: 20px 0 8px; }
.rte p { margin: 0 0 12px; }
.rte ul { list-style: disc; padding-left: 20px; margin: 0 0 12px; }
.rte li { margin-bottom: 4px; }
.rte img { width: 100%; height: auto; margin: 16px 0; border-radius: var(--media-radius); }

/* ---------------------------------------------------------------------------
   OFFRES DE VOLUME — valeurs relevees par getComputedStyle SUR LE SITE LIVE.
   Elles sont IDENTIQUES a 1440 et a 375 : ce bloc n'a aucun palier responsive.
   --------------------------------------------------------------------------- */
.quantity-breaks { margin: 15px 0; }
.quantity-breaks__title {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 400; line-height: 14px; letter-spacing: 0.78px;
  color: var(--c-text);
  margin: 0 0 9px;
  white-space: nowrap;
}
.quantity-breaks__title::before,
.quantity-breaks__title::after {
  content: ""; flex: 1 1 auto; height: 2px; background-color: var(--c-accent-1);
}
.quantity-breaks__grid {
  display: grid;
  /* Deux colonnes a toutes les largeurs, comme le site d'origine.
     `minmax(0, 1fr)` et NON `1fr` : `1fr` vaut `minmax(auto, 1fr)` et la piste
     ne pourrait pas descendre sous la largeur min-content de l'offre — la
     grille deborderait et la page defilerait en X. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8.5px 7.5px;
}
.quantity-breaks input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

.quantity-break {
  position: relative; display: block;
  /* Le live utilise 12,5px en haut/bas (offre de 64,59px). Regle a 13px sur
     demande : +4px de hauteur, soit ~65,6px. */
  padding: 13px 15px 13px 36px;
  background-color: rgba(212, 175, 55, 0.02);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--quantity-radius);
  cursor: pointer;
}
.quantity-break::before {
  content: ""; position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.3);
  background: #fff;
}
input[type="radio"]:checked + .quantity-break {
  background-color: rgba(212, 175, 55, 0.1);
  border-color: var(--c-accent-1);
}
input[type="radio"]:checked + .quantity-break::before {
  border-color: var(--c-accent-1);
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 10px var(--c-accent-1);
}
input[type="radio"]:focus-visible + .quantity-break { outline: 2px solid var(--c-accent-1); outline-offset: 2px; }

/* COLONNE : le libelle est AU-DESSUS des prix (verifie sur la capture du live).
   16px de libelle + 2px de gap + 18px de prix = 36px, soit les 64,59px de
   hauteur totale une fois le padding (12,5x2) et la bordure (2x2) ajoutes. */
.quantity-break__content {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.quantity-break__left { display: flex; align-items: center; gap: 5px; min-width: 0; }
/* prix courant et prix barre cote a cote sur une meme ligne */
/* Sur le live cette ligne mesure 17,59px de haut (la police fait 12px mais la
   boite de ligne est plus haute) : 16 + 2 + 17,6 = 35,6px de contenu, soit
   64,59px avec le padding (12,5x2) et la bordure (2x2). */
.quantity-break__right {
  display: flex; align-items: center; flex-wrap: wrap; gap: 5px;
  min-height: 17.6px;   /* hauteur de la ligne de prix sur le live */
  /* `wrap` : dans une colonne produit etroite (768-900px) le prix barre passe
     sous le prix courant au lieu de sortir de la boite. */
}
.quantity-break__label {
  display: flex; gap: 5px;
  font-size: 16px; font-weight: 700; line-height: 16px;
  color: var(--c-text-90);
  /* pas de `nowrap` : dans une colonne produit etroite (768px) le libelle
     passe a la ligne au lieu de deborder de sa boite. */
}
.quantity-break__caption {
  font-size: 14px; font-weight: 400; line-height: 16px;
  color: var(--c-text-90);
  white-space: nowrap;   /* la grille garantit la place : jamais de coupure */
}
.quantity-break__price {
  font-size: 12px; font-weight: 700; line-height: 12px;
  color: var(--c-gold-deep);
  white-space: nowrap;
}
.quantity-break__compare {
  font-size: 12px; font-weight: 700; line-height: 12px;
  color: var(--c-text-90); text-decoration: line-through;
  white-space: nowrap;
}
/* Sur le live, l'offre badgee mesure 263,75px : la pastille (a droite) et le
   libelle (a gauche) tiennent cote a cote. En dessous d'environ 250px de large
   ils se chevauchent — le theme d'origine laisse alors la pastille deborder
   hors de la boite. On prefere reserver la hauteur : le libelle passe dessous,
   plus rien n'est recouvert. Le rendu a 1440px reste celui du live. */
/* Aucune reserve de hauteur : avec `top: -8px` la pastille se termine a 9,6px
   alors que le contenu commence a 14,5px — elle ne recouvre plus le libelle.
   Les offres gardent donc la hauteur du live a toutes les largeurs. */
/* Filet de securite : les offres d'une meme rangee gardent la meme hauteur. */
.quantity-breaks__grid { align-items: stretch; }
.quantity-break { display: flex; flex-direction: column; justify-content: center; }
.quantity-break__content { width: 100%; }
.quantity-break__badge {
  /* demande : ancree a -8px et PARFAITEMENT centree horizontalement */
  position: absolute; top: -8px; left: 50%;
  transform: translateX(-50%);
  margin: 0; padding: 0 7.7px;
  white-space: nowrap;
  background-color: var(--c-accent-1);
  border-radius: 2.2px;
  color: var(--c-charcoal);
  font-size: 11px; font-weight: 700; line-height: 17.6px;
  letter-spacing: 0.96px;
}

/* ---------------------------------------------------------------------------
   TABLEAU COMPARATIF — regles reprises du theme live (variante « minimal ») :
     .content-and-comparison-table { grid 2 colonnes ; column-gap 5rem }
     .comparison-table-container   { max-width 50rem }
     .comparison-table--minimal tr { flex ; space-between ; align center }
     .comparison-table--minimal td:nth-child(2) { order: -1 }   <- la coche
        passe A GAUCHE du libelle : c'est ce qui donne  [OK] texte [X]
     .comparison-table--minimal .comparison-table__row-name { flex-grow:1 ; padding:1rem 1.5rem }
     .comparison-table__icon--solid { pastille ronde, fond plein }
   --------------------------------------------------------------------------- */
.comparison { padding-block: 27px; }
@media screen and (min-width: 750px) { .comparison { padding-block: 36px; } }

.content-and-comparison-table {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  column-gap: 50px;
  row-gap: 20px;
}
.content-and-comparison-table > .content-container { text-align: center; }
.comparison__title { margin: 0 0 12px; font-size: var(--fs-h2); line-height: var(--lh-h2); }
.comparison__intro { margin: 0; }

.comparison-table-container { width: 100%; max-width: 500px; order: -1; }

.comparison-table {
  --border-radius: 15px;
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
}
.comparison-table th {
  padding: 5px 7.5px;
  font-family: var(--font-heading);
  font-size: 15.3px;                 /* 1.8rem x 0.85 en mobile */
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}
.comparison-table thead img { max-width: 90px; height: auto; margin: 0 auto; display: block; }
.comparison-table__others { white-space: nowrap; }

.comparison-table--minimal tr {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.comparison-table--minimal td { box-shadow: none; border-radius: 0; }
.comparison-table--minimal tbody tr:not(:last-of-type) {
  border-bottom: 1px solid var(--c-header-border);
}
/* La cellule de marque (2e du DOM) passe en premier — sur le live la regle
   vise `th` ET `td`, sinon le logo de l'en-tete reste au centre alors que la
   coche est deja a gauche : les deux colonnes ne s'alignent plus. */
.comparison-table--minimal th:nth-child(2),
.comparison-table--minimal td:nth-child(2) { order: -1; text-align: left; }
/* l'en-tete est un flex comme les lignes, pour que les colonnes coincident */
.comparison-table--minimal thead tr { display: flex; align-items: center; justify-content: space-between; }
.comparison-table--minimal thead th:first-child { flex-grow: 1; order: 0; }
.comparison-table--minimal tbody td:not(.comparison-table__row-name) {
  padding-left: 2px; padding-right: 2px;
}
.comparison-table--minimal .comparison-table__row-name {
  flex-grow: 1;
  padding: 10px 15px;
  font-size: 18px;
  line-height: 1.35;
  text-align: center;
}
.comparison-table__row-name strong { font-weight: 700; }

.comparison-table__icon {
  width: 1em; height: 1em;
  margin: auto;
  border-radius: 50%;
  box-sizing: content-box;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; padding: 7.5px;
}
.comparison-table__icon svg { width: 100%; height: 100%; display: block; }
.comparison-table__icon--marque { background: var(--c-accent-1); color: var(--c-charcoal); }
.comparison-table__icon--autres { background: var(--c-charcoal); color: #fff; }

@media screen and (min-width: 750px) {
  .content-and-comparison-table { grid-template-columns: repeat(2, 1fr); }
  .comparison-table-container { order: 0; }
  .comparison-table { --border-radius: 20px; }
  .comparison-table th { font-size: 18px; }
  .comparison-table--minimal .comparison-table__icon { font-size: 22px; padding: 9px; }
  .comparison__title { text-align: center; }
}

/* ---------------------------------------------------------------------------
   TÉMOIGNAGES — pack-smileluxe/05-testimonials.md
   Cartes 415px · rayon 24px
   ⚠ Le live rend des cartes BLANCHES sur fond blanc, sans ombre (WCAG 1.4.11).
   Le fond #F3F3F3 déclaré dans le schéma est appliqué ici. Voir README.
   --------------------------------------------------------------------------- */
/* section `testimonials` du live (fiche Pack) : 0/27 mobile, 0/36 desktop */
.testimonials { padding-block: 0 27px; }
@media screen and (min-width: 750px) { .testimonials { padding-block: 0 36px; } }
.testimonials__title { text-align: center; margin: 0 0 24px; }

/* Rail de carrousel : defilement horizontal natif + accroche, ce qui restitue
   le balayage tactile du live (splide) sans dependance JS pour le geste. */
.testimonials__rail {
  display: flex;
  /* toutes les cartes d'avis prennent la hauteur de la plus haute */
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* `overflow-x: auto` rend AUSSI l'axe vertical scrollable : la pastille de
     citation, qui deborde de 14px au-dessus de la carte, etait rognee.
     22px de marge haute lui laissent la place. */
  padding: 22px 0 4px;
  margin: 0; list-style: none;
}
.testimonials__rail::-webkit-scrollbar { display: none; }

.testimonial-card {
  position: relative;
  /* Largeur pilotee par le NOMBRE de cartes visibles, gouttiere de 20px :
       < 750px  -> 1 carte      >= 750px -> 2 cartes      >= 990px -> 3 cartes
     Jamais plus de 3 ; les suivantes defilent dans le carrousel. */
  flex: 0 0 85%;
  /* `start` et non `center` : l'accrochage tombe alors exactement sur les
     multiples du pas, donc fleches, puces et accrochage sont d'accord.
     Avec `center` les positions etaient decalees (276 au lieu de 301...). */
  scroll-snap-align: start;
  background-color: var(--c-card-alt);
  border-radius: var(--text-boxes-radius);   /* 24px */
  padding: 26px 26px 20px;
  text-align: center;
}
/* Pastille de citation, en debord du coin superieur droit */
.testimonial-card__quote {
  position: absolute; top: -14px; right: 18px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background-color: var(--c-accent-1);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 30px; font-weight: 700; line-height: 1;
  padding-top: 10px;                  /* centre optique du glyphe ” */
}
.testimonial-card__stars {
  color: var(--c-star-full);
  font-size: 20px; letter-spacing: 3px;
  margin: 0 0 14px;
}
.testimonial-card blockquote {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(18, 18, 18, 0.14);
}
.testimonial-card cite { font-style: italic; font-weight: 700; }

/* Controles : fleches + puces */
.testimonials__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0;
  color: var(--c-text); z-index: 2;
}
.testimonials__nav[disabled] { opacity: 0.25; }
.testimonials__nav--prev { left: -4px; }
.testimonials__nav--next { right: -4px; }
.testimonials__viewport { position: relative; }
.testimonials__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.testimonials__dot {
  width: 9px; height: 9px; padding: 0;
  border: 0; border-radius: 50%;
  background-color: rgba(18, 18, 18, 0.22);
}
.testimonials__dot[aria-current="true"] { background-color: var(--c-text); }

@media screen and (min-width: 750px) {
  .testimonial-card { flex: 0 0 calc((100% - 20px) / 2); }   /* 2 cartes */
}
@media screen and (min-width: 990px) {
  /* maximum 3 cartes de front, quel que soit le nombre de temoignages */
  .testimonial-card { flex: 0 0 calc((100% - 40px) / 3); }
}

/* ---------------------------------------------------------------------------
   BARRE D'ACHAT FIXE — fiches produit
   Le bouton COD (app Formino) reste accessible en bas de l'ecran une fois le
   bloc d'achat depasse au defilement.
   --------------------------------------------------------------------------- */
.sticky-buy {
  position: fixed;
  left: 50%; bottom: 16px;
  z-index: 900;
  width: min(640px, calc(100vw - 32px));
  transform: translate(-50%, 130%);
  transition: transform 0.28s ease, opacity 0.28s ease;
  opacity: 0;
  pointer-events: none;
}
.sticky-buy.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.sticky-buy .cod-button { max-width: none; margin: 0; }
@media screen and (max-width: 749px) {
  .sticky-buy { bottom: 12px; }
}

/* ---------------------------------------------------------------------------
   RETOUR EN HAUT — shared/07-utilitaires-flottants.md
   fixed · z-index 2 · rond · fond #0F1B57 · masqué au chargement
   --------------------------------------------------------------------------- */
.scroll-top {
  /* Le live place ce bouton en bas a GAUCHE. */
  position: fixed; left: 16px; bottom: 16px; z-index: 2;
  /* il flotte au-dessus du footer : on lui donne un fond opaque pour que la
     mention de copyright reste lisible dessous */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  width: 44px; height: 44px;                 /* 44px : cible tactile (live < 44) */
  padding: 5px; border: 0; border-radius: 50%;
  background-color: var(--c-accent-1); color: var(--c-charcoal);
  display: none; align-items: center; justify-content: center;
}
.scroll-top.is-visible { display: flex; }

/* ===========================================================================
   PANIER FONCTIONNEL — extension du prototype
   Le cahier ne documente que l'état VIDE du tiroir (seul état atteignable sans
   ajout). Les styles ci-dessous couvrent l'état REMPLI, la pastille de
   compteur et la confirmation d'ajout. Tokens de la charte uniquement.
   =========================================================================== */

/* Pastille de compteur — .cart-count-bubble est absente du DOM du live
   quand le panier est vide (cahier shared/02 §8) : même comportement ici. */
.header__icon--cart { position: relative; }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--c-accent-2);
  border-radius: 9px;
  color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1;
  letter-spacing: 0;
}

/* Jauge de livraison gratuite */
.cart-drawer__jauge { align-items: flex-start; gap: 10px; }
.cart-drawer__jauge-corps { flex: 1; }
.cart-drawer__jauge-corps p { margin: 0 0 8px; font-size: 14px; line-height: 1.4; }
/* Jauge de livraison — reprise du live (`.cart-progress__bar`) :
   piste 9px r50 a 15 % ; barre pleine hachuree (motif 10x10, blanc a 40 %)
   animee en boucle par `slideBar 4s linear infinite`. */
.cart-drawer__barre {
  position: relative;
  height: 9px; border-radius: 50px;
  background-color: rgba(30, 30, 30, 0.15);
  overflow: hidden;
}
.cart-drawer__barre > span {
  position: absolute; top: 0; left: 0;
  display: block; height: 100%; width: 0;
  border-radius: 50px;
  background-color: var(--c-accent-1);
  background-image: linear-gradient(315deg,
    rgba(255, 255, 255, 0.4) 25%, transparent 0,
    transparent 50%, rgba(255, 255, 255, 0.4) 0,
    rgba(255, 255, 255, 0.4) 75%, transparent 0, transparent);
  background-size: 10px 10px;
  animation: slideBar 4s linear infinite;
  transition: width 0.35s ease;
}
@keyframes slideBar {
  0%   { background-position-x: 0; }
  100% { background-position-x: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-drawer__barre > span { animation: none; }
}

/* Lignes du panier */
.cart-lignes {
  flex: 1; overflow-y: auto;
  padding: 8px 20px;
  margin: 0;
}
.cart-ligne {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-header-border);
}
.cart-ligne__media {
  width: 72px; aspect-ratio: 1 / 1.25;
  border-radius: 8px; overflow: hidden;
  background-color: #f6f6f6;
}
.cart-ligne__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-ligne__corps { min-width: 0; }
.cart-ligne__nom {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px; line-height: 1.25;
  color: var(--c-text); text-decoration: none;
}
.cart-ligne__nom:hover { text-decoration: underline; }
.cart-ligne__variante { margin: 2px 0 0; font-size: 12px; color: var(--c-text-90); }
.cart-ligne__prix { margin: 4px 0 8px; font-size: 13px; font-weight: 700; color: var(--c-gold-deep); }

.cart-ligne__qte {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--pickers-radius);
  overflow: hidden;
}
.cart-ligne__qte button {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0;
  font-size: 16px; font-weight: 700; line-height: 1;
  color: var(--c-accent-1);
}
.cart-ligne__qte button:hover { background-color: rgba(212, 175, 55, 0.08); }
.cart-ligne__qte span {
  min-width: 32px; text-align: center;
  font-size: 14px; font-weight: 700;
}
.cart-ligne__fin { text-align: right; display: flex; flex-direction: column; justify-content: space-between; }
.cart-ligne__sous-total { margin: 0; font-size: 15px; font-weight: 700; white-space: nowrap; }
.cart-ligne__retirer {
  background: none; border: 0; padding: 0;
  font-size: 12px; color: var(--c-text-90);
  text-decoration: underline;
}
.cart-ligne__retirer:hover { color: var(--c-accent-1); }

/* Confirmation d'ajout */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 1100;
  transform: translate(-50%, 16px);
  max-width: calc(100vw - 32px);
  padding: 14px 20px;
  background-color: var(--c-accent-1);
  border-radius: var(--popup-radius);
  box-shadow: 0 10px 24px rgba(18, 18, 18, 0.22);
  color: #fff;
  font-size: 14px; font-weight: 700;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ===========================================================================
   RECHERCHE
   =========================================================================== */
.search-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  z-index: 8;
  background-color: #fff;
  border-bottom: 1px solid var(--c-header-border);
  box-shadow: 0 12px 24px rgba(18, 18, 18, 0.1);
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.search-panel.is-open { opacity: 1; transform: none; }
.search-panel__inner { padding-top: 16px; padding-bottom: 20px; }

.search-form {
  position: relative;
  display: flex; align-items: center; gap: 10px;
}
.search-form__icon { width: 20px; height: 20px; flex: 0 0 20px; color: var(--c-text-90); }
.search-form__input {
  flex: 1; min-width: 0;
  height: 45px; padding: 0 12px;
  border: 1px solid rgba(18, 18, 18, 0.6);
  border-radius: var(--inputs-radius);
  font-family: var(--font-body); font-size: 16px;
  letter-spacing: var(--ls-body);
  color: var(--c-text);
}
.search-form__input:focus { border-color: var(--c-accent-1); outline: none; }
.search-form__clear {
  position: absolute; right: 92px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--c-text-90);
}
.search-form__close {
  flex: 0 0 auto;
  height: 45px; padding: 0 14px;
  background: none; border: 0;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  color: var(--c-accent-1); text-decoration: underline;
}
.search-panel__status { margin: 12px 0 4px; font-size: 14px; color: var(--c-text-90); }

.search-results {
  display: grid; grid-template-columns: 1fr;
  gap: 4px;
  max-height: 60vh; overflow-y: auto;
}
.search-result a {
  display: flex; align-items: center; gap: 12px;
  padding: 8px; border-radius: 8px;
  text-decoration: none; color: inherit;
}
.search-result a:hover { background-color: rgba(212, 175, 55, 0.05); }
.search-result__media {
  width: 56px; aspect-ratio: 1 / 1.25; flex: 0 0 56px;
  border-radius: 6px; overflow: hidden; background-color: #f6f6f6;
}
.search-result__media img { width: 100%; height: 100%; object-fit: cover; }
.search-result__corps { flex: 1; min-width: 0; }
.search-result__nom {
  display: block;
  font-family: var(--font-heading); font-size: 15px; line-height: 1.25;
  color: var(--c-text);
}
.search-result__prix { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--c-accent-1); }
.search-result__prix s { color: var(--c-text-90); font-weight: 400; margin-right: 4px; }

@media screen and (min-width: 750px) {
  .search-results { grid-template-columns: 1fr 1fr; gap: 4px 24px; }
}

/* ---------------------------------------------------------------------------
   PANIER — adaptation mobile
   Le live utilise `cart-drawer--mobile-width-partial` (largeur partielle), mais
   le cahier n'a pas pu la mesurer : le tiroir n'est pas ouvrable sans ajout
   (shared/05 §11, marqué [À VÉRIFIER]). Le prototype passe en PLEINE LARGEUR
   sous 750px — la largeur partielle rognait les sous-totaux et le bouton
   « Retirer ». Voir prototype/README.md « Écarts assumés ».
   --------------------------------------------------------------------------- */
@media screen and (max-width: 749px) {
  /* le tiroir garde 88vw en mobile (comme les filtres), pas de plein ecran */

  .cart-ligne { grid-template-columns: 64px 1fr; column-gap: 12px; }
  .cart-ligne__media { width: 64px; }
  .cart-ligne__fin {
    grid-column: 2;
    flex-direction: row; align-items: center; justify-content: space-between;
    margin-top: 10px; text-align: left;
  }
  .cart-drawer__header h2 { font-size: 17px; }
}


/* ---------------------------------------------------------------------------
   AJUSTEMENTS MOBILES — cahier §11 des fiches concernees
   --------------------------------------------------------------------------- */
/* Le bandeau reste centre et ajuste a son texte a TOUTES les largeurs,
   avec une petite gouttiere laterale (et non pleine largeur). */


/* ===========================================================================
   FILTRES — deroulants au survol (desktop) + tiroir soigne (mobile)
   =========================================================================== */
@media screen and (min-width: 750px) {
  /* L'ouverture au survol est pilotee en JS (attribut `open`) : le contenu
     d'un <details> ferme n'est pas revelable en CSS. */
  .facets__group:hover > .facets__summary .facets__chevron,
  .facets__group[open] > .facets__summary .facets__chevron { transform: rotate(180deg); }
  /* zone tampon : le curseur peut descendre du bouton vers le panneau */
  .facets__group { padding-bottom: 6px; }
}
.facets__summary svg { transition: transform 0.2s ease-in-out; }
.facets__group[open] > .facets__summary svg { transform: rotate(180deg); }

.facets__actif {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 30px; padding: 0 10px;
  border-radius: 15px;
  background-color: rgba(var(--color-accent-1), 0.12);
  font-size: 13px; font-weight: 700;
  color: var(--c-text);
}
.facets__actif button {
  background: none; border: 0; padding: 0; line-height: 1;
  font-size: 15px; color: inherit; cursor: pointer;
}
.facets__reinit {
  background: none; border: 0; padding: 0;
  font-size: 13px; font-weight: 700;
  color: var(--c-text-90); text-decoration: underline; cursor: pointer;
}

.product-grid__vide { padding: 40px 0; text-align: center; font-weight: 700; }

/* ===========================================================================
   FENETRE DE COMMANDE — geometrie relevee sur la popup Formino du live
   (clic sur « Achetez », lecture du DOM rendu). Seules les couleurs suivent
   la charte ; libelles, champs, icones et mesures sont ceux du live.
   =========================================================================== */
/* Centrage par flex plutot que par `translate(-50%,-50%)` : sur un ecran plus
   court que la modale, la translation faisait sortir le haut hors de l'ecran
   (titre et croix inaccessibles). Ici le panneau reste toujours dans le cadre. */
.commande {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 12px;
}
.commande[hidden] { display: none; }
.commande__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }

.commande__panneau {
  position: relative;
  width: min(375px, 100%);
  max-height: 100%;
  display: flex; flex-direction: column;
  background-color: #fff;
  border-radius: 8px;                 /* live : 8px */
  overflow: hidden;
  font-size: 14px;                    /* live : 14px */
}
.commande__panneau:focus { outline: none; }

/* en-tete : 36px, gouttiere 12px, 18px sous le bloc */
.commande__entete {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 36px;
  margin: 0 0 18px;
  padding: 10px 15px 0;
}
.commande__titre {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px; font-weight: 700; line-height: 19.375px;
  color: var(--c-text);
}
.commande__fermer {
  flex: 0 0 36px; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; margin: 0;
  border: 1px solid #e5e7eb; border-radius: 8px;
  background: #f9fafb; color: #6b7280;
  cursor: pointer;
}
.commande__corps { padding: 0 15px 26px; overflow-y: auto; }

/* recapitulatif : vignette + titre + prix */
.commande__recap { margin: 0 0 10px; }
.commande__recap-ligne {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0;
}
.commande__recap-image {
  /* reduite par rapport au live (100x100) sur demande */
  flex: 0 0 64px; width: 64px; height: 64px;
  border-radius: 6px; overflow: hidden; background: #f6f6f6;
}
.commande__recap-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.commande__recap-details { flex: 1; min-width: 0; }
.commande__recap-titre { display: block; font-size: 13px; font-weight: 700; line-height: 1.3; }
/* live : 14px / 25,2px w700, en couleur de texte (le prix de LIVRAISON, lui,
   est a la teinte de marque) */
.commande__recap-prix { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; font-weight: 700; color: var(--c-text); }

.commande__section-titre {
  margin: 0 0 10px;
  font-size: 14px; line-height: 25.2px; font-weight: 700;
  color: var(--c-text);
}
.commande__livraison { margin: 0 0 10px; }
/* Etat de la livraison gratuite dans la fenetre de commande : meme message que
   la jauge du tiroir, en gris tant que le seuil n'est pas atteint, en accent
   une fois la livraison offerte. */
.commande__livraison-jauge {
  display: flex; align-items: center; gap: 6px;
  margin: 0 0 8px;
  font-size: 13px; line-height: 1.4;
  color: var(--c-text-60, rgba(30, 30, 30, 0.6));
}
.commande__livraison-jauge::before {
  content: ""; flex: 0 0 14px; width: 14px; height: 14px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.commande__livraison-jauge--gratuite { color: var(--c-gold-deep); font-weight: 700; }
.commande__livraison-prix--gratuite { color: var(--c-gold-deep); text-transform: none; }
.commande__livraison-option {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;                 /* live : 12px 14px */
  border: 2px solid rgba(18, 18, 18, 0.15);
  border-radius: 12px;                /* live : 12px */
  cursor: pointer;
}
.commande__livraison-option--choisie { border-color: var(--c-accent-1); }
/* Le live affiche bien un bouton radio : 18x18, `appearance: none`, place
   AVANT l'icone de transport. */
.commande__radio {
  flex: 0 0 18px;
  width: 18px; height: 18px; margin: 0;
  appearance: none; -webkit-appearance: none;
  border: 2px solid rgba(18, 18, 18, 0.35);
  border-radius: 50%;
  background: #fff;
  display: grid; place-content: center;
  cursor: pointer;
}
.commande__radio::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  transform: scale(0); transition: transform 0.15s ease;
  background: var(--c-accent-1);
}
.commande__radio:checked { border-color: var(--c-accent-1); }
.commande__radio:checked::before { transform: scale(1); }
.commande__radio:focus-visible { outline: 2px solid var(--c-accent-1); outline-offset: 2px; }
.commande__livraison-icone { display: inline-flex; color: var(--c-accent-1); }
.commande__livraison-nom { flex: 1; font-size: 14px; line-height: 18.2px; font-weight: 500; }
.commande__livraison-prix { font-size: 14px; font-weight: 700; color: var(--c-gold-deep); }

/* champs : boite 47px, r6, bordure 1px #c0c0c0 ; input 14,28px, padding 6px 15px */
.commande__champ { margin: 0 0 4px; }
.commande__champ > label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px; line-height: 16.8px; font-weight: 600;
  color: var(--c-text);
}
.commande__boite {
  display: flex; align-items: center;
  height: 47px;
  border: 1px solid #c0c0c0;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}
.commande__icone {
  flex: 0 0 auto; display: inline-flex; align-items: center;
  padding-left: 12px; color: #444;   /* le live remplit ces icones en #444 */
}
.commande__input {
  flex: 1; min-width: 0;
  height: 45px; padding: 6px 15px;
  border: 0; background: transparent;
  font-family: var(--font-body); font-size: 14.28px;
  color: #000;
}
.commande__input:focus { outline: none; }
.commande__boite:focus-within { border-color: var(--c-accent-1); }
.commande__champ[data-invalide] .commande__boite { border-color: #B3261E; }
.commande__erreur { margin: 4px 0 0; font-size: 12.5px; color: #B3261E; }

/* bouton : 46px, r8, 18px w600, 20px au-dessus */
.commande__envoyer {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 46px;
  margin-top: 20px; padding: 10px 5px;
  border: 1px solid var(--c-accent-1);
  border-radius: 8px;
  background-color: var(--c-accent-1);
  color: var(--c-charcoal);
  font-family: var(--font-body);
  font-size: 18px; font-weight: 600; letter-spacing: 0.5px;
  cursor: pointer;
}
/* --- rangee de garanties : 3 colonnes separees d'un filet, comme le live --- */
.commande__garanties {
  display: grid; grid-template-columns: repeat(3, 1fr);
  align-items: start;
  /* placee en DERNIER dans la modale : le filet la separe du formulaire */
  margin: 20px 0 0; padding: 18px 0 2px;
  list-style: none;
  border-top: 1px solid var(--c-header-border);
}
.commande__garanties li {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 0 4px;
  text-align: center;
}
.commande__garanties li + li { border-left: 1px solid var(--c-header-border); }
.commande__garantie-icone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background-color: rgba(var(--color-accent-1), 0.12);
  color: var(--c-accent-1);
}
.commande__garantie-icone svg { width: 30px; height: 30px; }
.commande__garantie-nom {
  font-size: 14px; font-weight: 700; line-height: 1.35;
  letter-spacing: 0.2px;
  color: var(--c-text);
}

/* le bouton de la modale wiggle comme celui de la fiche produit */
.commande__envoyer { animation: shake 2s infinite; }
@media (prefers-reduced-motion: reduce) { .commande__envoyer { animation: none; } }

.commande__succes {
  margin: 16px 0 0; padding: 14px;
  background-color: rgba(var(--color-accent-1), 0.12);
  border-radius: 8px;
  font-weight: 700; text-align: center;
}


/* ---------------------------------------------------------------------------
   AJOUT AU PANIER — animation du live : un spinner apparait dans le bouton
   pendant l'ajout, puis le tiroir panier s'ouvre.
     .loading-overlay__spinner { position:absolute; top/left 50%; height:100% }
     .spinner { animation: rotator 1.4s linear infinite; width:1em; margin-left:.4em }
     .path   { stroke-dasharray:280; animation: dash 1.4s ease-in-out infinite }
   --------------------------------------------------------------------------- */
.loading-overlay__spinner {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; height: 100%;
  display: flex; align-items: center;
}
.loading-overlay__spinner.hidden { display: none; }
.spinner { width: 1em; margin-left: 0.4em; animation: rotator 1.4s linear infinite; }
.loading-overlay__spinner .path {
  stroke: currentColor;
  stroke-dasharray: 280; stroke-dashoffset: 0;
  transform-origin: center;
  animation: dash 1.4s ease-in-out infinite;
}
@keyframes rotator { 0% { transform: rotate(0); } 100% { transform: rotate(270deg); } }
@keyframes dash {
  0%   { stroke-dashoffset: 280; }
  50%  { stroke-dashoffset: 75; transform: rotate(135deg); }
  100% { stroke-dashoffset: 280; transform: rotate(450deg); }
}
/* pendant l'ajout, le libelle s'efface et laisse la place au spinner */
.button[aria-busy="true"] .button__label { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .spinner, .loading-overlay__spinner .path { animation-duration: 0.01ms; }
}

/* ===========================================================================
   FILTRES — DEUX BLOCS SEPARES
   `.facets`  : barre horizontale, visible a partir de 750px
   `.mfacets` : tiroir mobile, visible en dessous de 750px
   Aucune classe partagee : c'est ce qui evitait le conflit entre le panneau
   absolu du desktop et le panneau en flux du tiroir.
   =========================================================================== */

/* ---------- 1. barre desktop ---------- */
.facets { display: none; }
.mfacets-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; }
.mfacets-bar__open {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  background: none;
  border: 1px solid rgba(18, 18, 18, 0.25);
  border-radius: var(--inputs-radius);
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  letter-spacing: 0.4px; color: var(--c-text-90);
  cursor: pointer;
}
.mfacets-bar__count { margin: 0; font-size: 14px; letter-spacing: 0.4px; color: var(--c-text-90); }

@media screen and (min-width: 750px) {
  .mfacets-bar, .mfacets, .mfacets__voile { display: none !important; }
  .facets {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 12px 24px;
    padding-block: 16px;
  }
}

/* ---------- 2. tiroir mobile : langage du tiroir de menu ---------- */
.mfacets__voile { position: fixed; inset: 0; z-index: 11; background: rgba(0, 0, 0, 0.5); }
.mfacets__voile[hidden] { display: none; }

.mfacets {
  position: fixed; top: 0; right: 0; bottom: 0;
  z-index: 12;
  width: min(400px, 88vw);
  display: flex; flex-direction: column;
  overflow: hidden auto; overscroll-behavior: contain;
  background-color: var(--c-charcoal);
  background-image: var(--gradient-chrome);
  color: rgba(255, 255, 255, 0.9);
  transform: translateX(100%);
  transition: transform 250ms cubic-bezier(0.29, 0.63, 0.44, 1);
}
.mfacets[hidden] { display: none; }
.mfacets, .mfacets * { box-sizing: border-box; }
.mfacets.is-open { transform: translateX(0); }
.mfacets:focus { outline: none; }

.mfacets__entete {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  position: sticky; top: 0; z-index: 2;
  padding: 20px;
  background-color: var(--c-charcoal);
  background-image: var(--gradient-chrome);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mfacets__titre { margin: 0; color: #fff; font-size: 18px; line-height: 1.3; font-weight: 700; }
.mfacets__fermer {
  width: 44px; height: 44px; flex: 0 0 44px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; color: #fff; cursor: pointer;
}

.mfacets__corps { padding: 0 0 12px; }
.mfacets__section {
  margin: 0; padding: 20px 20px 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.mfacets__aide { margin: 0; padding: 0 20px 8px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }

.mfacets__ligne {
  display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 16px; letter-spacing: 0.96px;
  color: #fff; cursor: pointer;
}
.mfacets__ligne--off { opacity: 0.4; cursor: default; }
.mfacets__ligne input[type="checkbox"] {
  flex: 0 0 22px; width: 22px; height: 22px; margin: 0;
  appearance: none; -webkit-appearance: none;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 5px; background: transparent;
  display: grid; place-content: center;
}
.mfacets__ligne input[type="checkbox"]::before {
  content: ""; width: 12px; height: 12px;
  transform: scale(0); transition: transform 0.12s ease;
  background: var(--c-accent-1);
  clip-path: polygon(14% 45%, 0 60%, 40% 100%, 100% 22%, 85% 8%, 40% 70%);
}
.mfacets__ligne input[type="checkbox"]:checked { border-color: var(--c-accent-1); }
.mfacets__ligne input[type="checkbox"]:checked::before { transform: scale(1); }

.mfacets__prix { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px; }
.mfacets__prix input,
.mfacets__select {
  width: 100%; height: 48px; padding: 0 14px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-body); font-size: 16px;
}
.mfacets__prix input::placeholder { color: rgba(255, 255, 255, 0.55); }
.mfacets__prix input:focus, .mfacets__select:focus { outline: none; border-color: var(--c-accent-1); }
.mfacets__select { width: calc(100% - 40px); margin: 0 20px; }
.mfacets__select option { color: #1E1E1E; }

.mfacets__pied {
  display: flex; align-items: center; gap: 14px;
  position: sticky; bottom: 0;
  margin-top: auto; padding: 14px 20px;
  background-color: var(--c-charcoal);
  background-image: var(--gradient-chrome);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mfacets__effacer {
  flex: 0 0 auto; min-height: 48px; padding: 0 6px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  color: rgba(255, 255, 255, 0.85); text-decoration: underline;
}
.mfacets__appliquer { flex: 1; min-height: 48px; }

/* ===========================================================================
   FICHES DU CATALOGUE — components/produit/fiche-contenu.php · page-fiche.php
   Sous-titre, accroche, points clés, rubriques dépliables
   (description, ingrédients, utilisation), visuel légendé. Aucun JavaScript.
   =========================================================================== */

.product__subtitle { margin: 0 0 6px; color: var(--c-text-90); font-style: italic; }

.fiche { margin-top: 8px; }
.fiche__accroche { margin: 4px 0 20px; }
.fiche__accroche-titre { font-size: 22px; line-height: 1.3; margin: 0 0 8px; color: var(--c-gold-deep); }
.fiche__accroche p { margin: 0; }
.fiche__label {
  margin: 0 0 10px; font-family: var(--font-body); font-size: 14px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-gold-deep);
}

.fiche .rte .fiche__label {
  margin: 18px 0 10px; font-family: var(--font-body); font-size: 14px; line-height: 1.4;
}
.points-cles {
  display: grid; gap: 8px; margin: 0 0 22px; padding: 0;
}
.points-cles__item {
  display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: baseline;
  padding: 10px 14px; background: #fff; border: 1px solid var(--c-header-border);
  border-radius: 10px;
}
.points-cles dt { font-weight: 700; font-size: 14px; color: var(--c-gold-deep); }
.points-cles dd { margin: 0; font-size: 15px; line-height: 1.5; }

.fiche__summary-titre { font-family: var(--font-body); font-size: var(--fs-body); font-weight: 400; margin: 0; }
.fiche .product__accordion:last-of-type { border-bottom: 1px solid var(--c-header-border); }
.fiche .product__accordion .rte { padding-bottom: 8px; }
.fiche .rte h3 { margin: 6px 0 10px; font-size: 20px; line-height: 1.35; }

.fiche .fiche-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; padding: 0; list-style: none; }
.fiche .fiche-badges li {
  margin: 0; padding: 5px 12px; font-size: 14px; font-weight: 700;
  color: var(--c-charcoal); background: var(--c-beige); border-radius: 999px;
}

.fiche .fiche-ingredients { display: grid; gap: 10px; margin: 6px 0 12px; padding: 0; list-style: none; }
.fiche .fiche-ingredients li {
  margin: 0; padding: 12px 14px; background: #fff;
  border-left: 3px solid var(--c-gold); border-radius: 0 10px 10px 0;
}
.fiche-ingredients__nom { display: block; margin-bottom: 4px; font-weight: 700; }
.fiche-ingredients__benefice { display: block; font-size: 15px; line-height: 1.55; }

.fiche .fiche-etapes { display: grid; gap: 14px; margin: 6px 0 12px; padding: 0; list-style: none; }
.fiche .fiche-etapes li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.fiche-etapes__num {
  flex: 0 0 34px; height: 34px; display: grid; place-items: center;
  font-weight: 700; color: var(--c-charcoal); background: var(--gradient-gold); border-radius: 50%;
}
.fiche-etapes__titre { display: block; margin-bottom: 2px; font-weight: 700; }
.fiche-etapes p { margin: 0; font-size: 15px; line-height: 1.55; }

.fiche-visuel { margin: 24px 0 0; }
.fiche-visuel img, .fiche-galerie__img {
  display: block; width: 100%; height: auto; border-radius: var(--media-radius); background: var(--c-beige);
}
.fiche-visuel figcaption { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--c-text-90); text-align: center; }
.fiche-visuel__titre { display: block; font-family: var(--font-heading); font-size: 19px; color: var(--c-text); margin-bottom: 2px; }
.fiche-galerie__img { margin-top: 16px; }

@media screen and (min-width: 750px) {
  .fiche__accroche-titre { font-size: 24px; }
}

/* ---------------------------------------------------------------------------
   PAGES « INFORMATION » — politique de confidentialité, retour et remboursement
   Même présentation que sur diapurity.com : titre centré souligné d'or,
   titres de section avec un filet or à gauche, puces or.
   --------------------------------------------------------------------------- */
.page-legale { max-width: 820px; padding-block: 40px 64px; line-height: 1.8; }
.page-legale__titre {
  text-align: center; text-transform: uppercase; letter-spacing: 2px;
  font-size: clamp(24px, 5vw, 34px); margin: 0 0 24px;
}
.page-legale__titre::after {
  content: ''; display: block; width: 80px; height: 4px;
  margin: 15px auto 0; background: var(--c-gold);
}
.page-legale h2 {
  font-size: 20px; margin: 36px 0 12px;
  padding-left: 15px; border-left: 4px solid var(--c-gold);
}
.page-legale p { margin: 0 0 14px; color: var(--c-text-90); }
.page-legale ul { list-style: none; margin: 0 0 18px; padding-left: 20px; }
.page-legale li { position: relative; padding-left: 20px; margin-bottom: 8px; color: var(--c-text-90); }
.page-legale li::before {
  content: '•'; position: absolute; left: 0;
  color: var(--c-gold); font-weight: 700; font-size: 1.2em; line-height: 1.4;
}
.page-legale a { color: var(--c-gold-deep); font-weight: 600; text-decoration: none; }
.page-legale a:hover { text-decoration: underline; }
.page-legale__note {
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--c-header-border);
  text-align: center; font-style: italic;
}
.page-legale__note p { margin-bottom: 4px; }
