/* Galerie et fiche produit (passe 11) : mise en page reprise du principe de la référence montrée par Lucas
   (grille de vignettes carrées sur gris très clair, fiche en deux colonnes avec colonne de texte fixe),
   avec notre typo (Barlow Condensed) et notre logo. */
:root {
  --encre: #111; --gris: #767676;   /* 4,5:1 sur blanc (catégories inactives, petits titres) */ --gris-fonce: #4a4a4a; --fond-produit: #F5F5F5; --blanc: #fff;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --gouttiere: 12px; --bord: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
body { margin: 0; background: var(--blanc); color: var(--encre); font: 700 16px/1.2 var(--cond); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }

/* passe 12 (Lucas) : la pilule accompagne le défilement, fixée en haut et centrée, sur toutes les pages hors hero */
body.page-boutique .navbar { position: fixed; }
/* passe 19 : le bloc .navbar garde la place de ses panneaux fermés (invisibles, mais dans le flux) : il faisait
   680 x 162 px sur ordinateur et 360 x 260 px sur téléphone, et captait les clics et les touchers sur ce qui passe
   dessous (barre des catégories et filtre de la galerie, tout entiers sur téléphone). Le bloc laisse passer les
   pointeurs ; la pilule et les panneaux ouverts (pointer-events: auto dans commun.css) restent cliquables.
   Pages boutique seulement : le hero n'est pas touché. */
body.page-boutique .navbar { pointer-events: none; }
body.page-boutique .navbar .pilule { pointer-events: auto; }

/* ---------- galerie ---------- */
.galerie { padding: calc(var(--pilule-haut) + var(--pilule-h) + 18px + env(safe-area-inset-top)) var(--bord) 60px; }
.categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 0 0 22px; padding: 0; list-style: none; }
.categories a {
  font: 700 21px/1 var(--cond); text-transform: uppercase; letter-spacing: .01em; color: var(--gris); text-decoration: none;
  text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: transparent;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.categories a:hover { color: var(--encre); }
.categories a[aria-current="page"] { color: var(--encre); text-decoration-color: currentColor; }
/* passe 19 : filtre TOUT / VESTES / DOUDOUNES sous la barre (une catégorie avec sous-catégories), plus petit et plus
   léger que la barre, mêmes codes : l'actif en encre souligné, les autres en gris. Zone de toucher d'environ 40 px de
   haut sans grossir le texte (padding), d'où la marge négative qui garde l'écart visuel avec la barre. */
.filtre { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 10px; margin: -16px 0 12px; padding: 0; list-style: none; }
.filtre a {
  display: block; padding: 11px 6px; font: 500 16px/1 var(--cond); text-transform: uppercase; letter-spacing: .06em; color: var(--gris);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: transparent;
  transition: color .15s ease, text-decoration-color .15s ease; -webkit-tap-highlight-color: transparent;
}
.filtre a:hover { color: var(--encre); }
.filtre a[aria-current="true"] { color: var(--encre); text-decoration-color: currentColor; }
@media (max-width: 700px) { .filtre { margin-top: -14px; gap: 0 6px; } .filtre a { font-size: 15px; padding: 12px 8px; } }
.grille { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px var(--gouttiere); margin: 0; padding: 0; list-style: none; }
@media (max-width: 1600px) { .grille { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1280px) { .grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { :root { --gouttiere: 8px; --bord: 8px; } .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; } .categories a { font-size: 18px; } }
.vignette a { display: block; text-decoration: none; }
.vignette .cadre { position: relative; aspect-ratio: 1; background: var(--fond-produit); overflow: hidden; }
.vignette .cadre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s ease; }
.vignette .cadre img.dos { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .vignette a:hover .cadre img.dos, .vignette a:focus-visible .cadre img.dos { opacity: 1; }
  .vignette a:hover .cadre img.dos ~ img.face, .vignette a:focus-visible .cadre img.dos ~ img.face { opacity: 0; }
}
.vignette .texte { margin-top: 7px; font: 500 14px/1.2 var(--cond); letter-spacing: .02em; text-transform: uppercase; color: var(--gris-fonce); }
.vignette .texte span { display: block; }
.vignette .prix { color: #6b6b6b; margin-top: 1px; }
.vignette .epuise { color: #9a9a9a; }
.vide { text-align: center; color: var(--gris); font-size: 20px; text-transform: uppercase; margin: 60px 0; }
.vide a { color: var(--encre); }
/* passe 14 : galerie d'une marque (?marque=), son nom en titre au-dessus de la barre des catégories */
.titre-marque { margin: 0 0 12px; text-align: center; font: 700 30px/1 var(--cond); text-transform: uppercase; letter-spacing: .01em; color: var(--encre); }
@media (max-width: 700px) { .titre-marque { font-size: 26px; } }

/* ---------- fiche produit ---------- */
.retour {
  position: fixed; left: calc(16px + env(safe-area-inset-left)); top: calc(18px + env(safe-area-inset-top)); z-index: 6;
  display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px 10px; background: var(--blanc); color: #6b6b6b;
  font: 700 18px/1 var(--cond); text-transform: uppercase; text-decoration: none; box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  transition: color .15s ease;
}
.retour:hover { color: var(--encre); }
.retour::before { content: ""; border: 5px solid transparent; border-right: 6px solid currentColor; border-left: 0; }
.fiche { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); align-items: start; }
.photos { margin: 0; padding: 16px 0 16px 16px; list-style: none; display: grid; gap: 4px; }
.photos li { background: var(--fond-produit); aspect-ratio: 1; }
.photos img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .4s ease; }
.photos img.charge { opacity: 1; }
.infos { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; padding: 120px 8% 60px 15%; }
.infos-dedans { width: 100%; max-width: 440px; }
.infos h1 { margin: 0; font: 700 32px/1.02 var(--cond); text-transform: uppercase; letter-spacing: .01em; }
.infos h1 .couleur { display: block; }
.infos .prix { margin: 16px 0 0; font: 700 20px/1 var(--cond); }
.infos .prix .epuise { color: #9a9a9a; margin-left: 10px; }
.puces { margin: 26px 0 0; padding: 0 0 0 20px; font: 700 18px/1.12 var(--cond); text-transform: uppercase; }
.puces li::marker { font-size: 13px; }
.choix { margin-top: 26px; }
.choix legend, .choix .titre { padding: 0; margin: 0 0 9px; font: 700 15px/1 var(--cond); text-transform: uppercase; color: var(--gris); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pastilles { display: flex; flex-wrap: wrap; gap: 10px; }
.pastilles button { width: 64px; height: 64px; padding: 0; border: 1px solid transparent; background: var(--fond-produit); cursor: pointer; outline-offset: 2px; transition: border-color .15s ease; }
.pastilles button img { width: 100%; height: 100%; object-fit: contain; }
.pastilles button:hover { border-color: #bbb; }
.pastilles button[aria-pressed="true"] { border-color: var(--encre); }
.choix-boutons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.choix-boutons button {
  min-width: 52px; height: 44px; padding: 0 12px; border: 1px solid #d4d4d4; background: var(--blanc); color: var(--encre);
  font: 700 18px/1 var(--cond); cursor: pointer; transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.choix-boutons button:hover { border-color: var(--encre); }
.choix-boutons button[aria-pressed="true"] { background: var(--encre); color: var(--blanc); border-color: var(--encre); }
.choix-boutons button:disabled { color: #b5b5b5; text-decoration: line-through; cursor: default; border-color: #ececec; }
.panier { margin-top: 22px; width: 100%; height: 52px; border: 0; background: var(--encre); color: var(--blanc); font: 700 20px/1 var(--cond); text-transform: uppercase; letter-spacing: .02em; }
.panier[aria-disabled="true"] { background: #cfcfcf; color: #6e6e6e; cursor: not-allowed; }
.note-panier { margin: 8px 0 0; font: 500 14px/1.2 var(--cond); color: #6e6e6e; text-transform: uppercase; }
.repliables { margin-top: 26px; }
.repliables details { border: 0; }
.repliables summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 4px 0;
  font: 700 19px/1 var(--cond); text-transform: uppercase; color: #8a8a8a; transition: color .15s ease;
}
.repliables summary::-webkit-details-marker { display: none; }
.repliables summary::after { content: ""; border: 5px solid transparent; border-left: 6px solid currentColor; border-right: 0; transition: transform .2s ease; }
.repliables details[open] summary::after { transform: rotate(90deg); }
.repliables summary:hover, .repliables details[open] summary { color: var(--encre); }
.repliables .contenu { padding: 8px 0 12px; font: 500 16px/1.35 var(--cond); color: var(--gris-fonce); }
.repliables table { border-collapse: collapse; font: 500 15px/1 var(--cond); text-transform: uppercase; }
.repliables th, .repliables td { padding: 6px 14px 6px 0; text-align: left; }
.repliables th { color: var(--encre); }
.introuvable { padding: 160px 20px; text-align: center; font-size: 24px; text-transform: uppercase; }

/* téléphone et tablette debout : photos d'abord, en carrousel horizontal (glisser), puis le texte */
@media (max-width: 900px) {
  .fiche { grid-template-columns: 1fr; }
  .photos { padding: 0; display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .photos::-webkit-scrollbar { display: none; }
  .photos li { flex: 0 0 100%; scroll-snap-align: start; }
  /* repères du carrousel, comme la référence mobile : un petit rectangle par photo, en bas à gauche de la photo */
  .colonne-photos { position: relative; }
  .reperes { position: absolute; left: 18px; bottom: 18px; display: flex; gap: 5px; margin: 0; padding: 0; list-style: none; pointer-events: none; }
  .reperes li { width: 22px; height: 4px; background: #d6d6d6; transition: background-color .2s ease; }
  .reperes li.actif { background: var(--encre); }
  .reperes[hidden] { display: none; }   /* une seule photo : pas de repère */
  .infos { position: static; min-height: 0; display: block; padding: 22px 18px 60px; }
  .infos-dedans { max-width: none; }
  .infos h1 { font-size: 28px; }
  .retour { top: calc(14px + env(safe-area-inset-top)); left: calc(12px + env(safe-area-inset-left)); }
  body.page-boutique.page-produit .navbar { top: calc(12px + env(safe-area-inset-top)); }
}
@media (min-width: 901px) { .reperes { display: none; } }
/* passe 12 : téléphone, fiche produit : comme la référence mobile, la pilule disparaît, il ne reste que le bouton
   RETOUR flottant en haut à gauche (blanc, ombre douce, sur la photo). La galerie garde la pilule (logo + MENU). */
@media (max-width: 640px) {
  /* passe 15 : la pilule et ses panneaux disparaissent, mais le panneau du panier reste : il descend en haut de l'écran
     après un ajout (la navbar n'est plus en display: none) */
  body.page-produit .navbar .pilule, body.page-produit .navbar .panneau:not(.panneau-panier) { display: none; }
  body.page-produit .panneau-panier { top: 0; }
  .retour { padding: 13px 18px 12px; font-size: 20px; gap: 9px; box-shadow: 0 3px 14px rgba(0, 0, 0, .14); }
  .retour::before { border-width: 6px; border-right-width: 7px; }
}

/* marque (vendor), en petit et discrète, au-dessus du nom (galerie et fiche) ; masquée quand le champ est vide */
.vignette .marque { color: #6b6b6b; font-size: 12.5px; letter-spacing: .04em; margin-bottom: 1px; }
.infos .marque { margin: 0 0 6px; font: 700 15px/1 var(--cond); text-transform: uppercase; letter-spacing: .04em; color: #6b6b6b; }
.vignette .nb-couleurs { color: #767676; font-size: 13px; margin-top: 1px; }

/* ---------- passe 15 : bouton panier de la fiche (AJOUTER AU PANIER, puis AJOUTÉ ✓ et RETIRER à côté) ---------- */
.actions-panier { display: flex; align-items: stretch; margin-top: 22px; }
.actions-panier .panier { margin-top: 0; flex: 1 1 auto; width: auto; cursor: pointer; transition: background-color .15s ease; }
.actions-panier .panier:hover { background: #2a2a2a; }
.actions-panier .panier[aria-disabled="true"]:hover { background: #cfcfcf; }
.actions-panier .panier:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
.retirer-fiche {
  flex: 0 0 auto; height: 52px; padding: 0 0 0 22px; border: 0; background: none; color: #8a8a8a; cursor: pointer;
  font: 700 20px/1 var(--cond); text-transform: uppercase; letter-spacing: .02em; transition: color .15s ease;
}
.retirer-fiche:hover, .retirer-fiche:focus-visible { color: var(--encre); }
.retirer-fiche[hidden] { display: none; }
.note-panier { min-height: 17px; color: var(--encre); }
.note-panier.lu-seulement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; min-height: 0; margin: 0; }
.choix.a-choisir legend { color: var(--encre); }
.choix.a-choisir .choix-boutons { animation: secouer .38s var(--doux); }
.choix.a-choisir .choix-boutons button:not(:disabled) { border-color: var(--encre); }
@keyframes secouer { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 55% { transform: translateX(4px); } 80% { transform: translateX(-2px); } }
@media (prefers-reduced-motion: reduce) { .choix.a-choisir .choix-boutons { animation: none; } }

/* ---------- passe 15 : page panier (fond blanc, lignes à gauche, récapitulatif à droite) ---------- */
.panier-page {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 500px); column-gap: 10vw; align-items: start;
  max-width: 1840px; margin: 0 auto; padding: calc(var(--pilule-haut) + var(--pilule-h) + 46px + env(safe-area-inset-top)) 5.4vw 90px;
}
.panier-page .panier-lignes { gap: 34px; }
.panier-page .ligne { grid-template-columns: 124px minmax(0, 1fr) auto; column-gap: 26px; color: var(--encre); }
.panier-page .ligne-texte, .panier-page .ligne-prix { padding-top: 0; }
.panier-page .ligne-nom, .panier-page .ligne-prix { font-size: 22px; }
.panier-page .ligne-detail { font-size: 16px; margin-top: 6px; opacity: 1; }
.panier-page .ligne-indispo { color: var(--gris); }
.panier-page .ligne-retirer { margin-top: 12px; padding: 11px 13px 10px; background: #e8e8e8; color: #6e6e6e; font-size: 17px; }
.panier-page .ligne-retirer:hover, .panier-page .ligne-retirer:focus-visible { color: var(--encre); }
.panier-page .ligne-retirer:focus-visible { outline: 2px solid var(--encre); }
.recap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.recap-sous-total { margin: 0; padding-top: 4px; font: 700 17px/1 var(--cond); text-transform: uppercase; }
.recap-total { margin: 0; font: 700 36px/1 var(--cond); white-space: nowrap; text-align: right; }
.recap-note { grid-column: 1 / -1; margin: 24px 0 0; font: 700 16px/1.12 var(--cond); text-transform: uppercase; color: #8f8f8f; }
.recap-note span { display: block; }
.cgv {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 26px; cursor: pointer;
  font: 700 16px/1.15 var(--cond); text-transform: uppercase; color: #8f8f8f;
}
.cgv a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cgv a:hover { color: var(--encre); }
.cgv input {
  flex: 0 0 auto; width: 30px; height: 30px; margin: 0; border: 0; border-radius: 0; background: #dcdcdc; cursor: pointer;
  -webkit-appearance: none; appearance: none; display: grid; place-content: center; transition: background-color .15s ease;
}
.cgv input::before {
  content: ""; width: 13px; height: 7px; border-left: 3px solid var(--encre); border-bottom: 3px solid var(--encre);
  transform: translateY(-2px) rotate(-45deg); opacity: 0; transition: opacity .12s ease;
}
.cgv input:checked::before { opacity: 1; }
.cgv input:hover { background: #cfcfcf; }
.cgv input:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
.commander { grid-column: 1 / -1; justify-self: end; margin-top: 26px; height: 68px; padding: 0 20px; font-size: 34px; }
.commander[aria-disabled="true"] { background: #cfcfcf; color: #6e6e6e; cursor: not-allowed; }
.commander[aria-busy="true"] { opacity: .7; }
.commander:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; box-shadow: none; }
.message-commande {
  grid-column: 1 / -1; margin: 14px 0 0; min-height: 19px; text-align: right;
  font: 700 16px/1.2 var(--cond); text-transform: uppercase; color: var(--gris-fonce);
}
/* panier vide : le message au centre, et un chemin vers la boutique */
.panier-page.vide, .panier-page.termine { display: block; }
.panier-page-vide { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 12vh 0 0; }
.panier-page-vide .panier-vide { padding: 0; color: var(--encre); }
@media (max-width: 1000px) { .panier-page { column-gap: 6vw; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); } }
/* téléphone et tablette étroite : une colonne, les lignes puis le récapitulatif et COMMANDER */
@media (max-width: 760px) {
  .panier-page { grid-template-columns: minmax(0, 1fr); padding: calc(var(--pilule-haut) + var(--pilule-h) + 28px + env(safe-area-inset-top)) 16px 60px; }
  .panier-page .panier-lignes { gap: 20px; }
  .panier-page .ligne { grid-template-columns: 96px minmax(0, 1fr) auto; column-gap: 14px; }
  .panier-page .ligne-nom, .panier-page .ligne-prix { font-size: 19px; }
  .panier-page .ligne-detail { font-size: 15px; }
  .panier-page .ligne-retirer { margin-top: 9px; padding: 9px 12px 8px; font-size: 16px; }
  .recap { margin-top: 30px; padding-top: 24px; border-top: 1px solid #e3e3e3; }
  .recap-total { font-size: 32px; }
  .commander { justify-self: stretch; width: 100%; height: 60px; font-size: 30px; }
  .message-commande { text-align: left; }
  .panier-page-vide .bouton-noir { width: 100%; }
}

/* ---------- passe 29 : commande (formulaire de livraison, frais de port, confirmation, simulation) ---------- */
.panier-page [hidden] { display: none !important; }
/* placement explicite : lignes puis formulaire à gauche, récapitulatif à droite sur toute la hauteur */
.panier-page > .panier-lignes { grid-column: 1; grid-row: 1; }
.panier-page > .commande-form { grid-column: 1; grid-row: 2; }
.panier-page > .recap { grid-column: 2; grid-row: 1 / span 2; }
.recap { row-gap: 12px; }
.recap-montant { margin: 0; padding-top: 4px; font: 700 17px/1 var(--cond); text-align: right; white-space: nowrap; }
.recap-filet { grid-column: 1 / -1; width: 100%; height: 0; margin: 6px 0 0; border: 0; border-top: 1px solid #e3e3e3; }
.recap-etiquette-total { padding-top: 0; align-self: center; font-size: 22px; }
.avis-paiement {
  grid-column: 1 / -1; margin: 22px 0 0; padding: 12px 14px; background: var(--fond-produit); border-left: 3px solid var(--encre);
  font: 700 17px/1.25 var(--cond); text-transform: uppercase; color: var(--encre);
}
.commande-form { margin-top: 56px; max-width: 760px; }
.commande-titre { margin: 0 0 22px; font: 700 30px/1 var(--cond); text-transform: uppercase; letter-spacing: .01em; }
.champ { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; min-width: 0; }
.champ label { font: 700 15px/1 var(--cond); text-transform: uppercase; letter-spacing: .02em; color: var(--gris-fonce); }
.saisie {
  width: 100%; height: 54px; padding: 0 14px; border: 0; border-radius: 0; background: var(--fond-produit); color: var(--encre);
  font: 500 20px/1 var(--cond); -webkit-appearance: none; appearance: none; box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow .15s ease, background-color .15s ease;
}
.saisie:focus { outline: none; background: var(--blanc); box-shadow: inset 0 0 0 2px var(--encre); }
.saisie[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #b3261e; }
select.saisie {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.champ-erreur { margin: 0; color: #b3261e; font: 700 15px/1.2 var(--cond); }
.champ-erreur:empty { display: none; }
.champ-double { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; }
.adresse .champ-double { grid-template-columns: minmax(110px, 170px) minmax(0, 1fr); }
.mode { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 26px; padding: 0; border: 0; min-width: 0; }
.mode-choix { position: relative; flex: 1 1 220px; cursor: pointer; }
.mode-choix input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mode-choix span {
  display: flex; align-items: center; justify-content: center; height: 54px; padding: 0 14px; text-align: center;
  background: var(--fond-produit); color: var(--encre); font: 700 20px/1 var(--cond); text-transform: uppercase; transition: background-color .15s ease, color .15s ease;
}
.mode-choix:hover span { background: #e8e8e8; }
.mode-choix input:checked + span { background: #000; color: #fff; }
.mode-choix input:focus-visible + span { outline: 2px solid var(--encre); outline-offset: 3px; }
.info-retrait { margin: 0 0 18px; font: 500 19px/1.3 var(--cond); color: var(--gris-fonce); }
.info-retrait a { color: var(--encre); text-underline-offset: 3px; }
.piege { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* confirmation */
.commande-ok { max-width: 640px; margin: 0 auto; padding: 7vh 0 0; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.commande-ok-titre { margin: 0; font: 700 38px/1 var(--cond); text-transform: uppercase; letter-spacing: .01em; }
.commande-ok-titre:focus { outline: none; }
.ref-label { margin: 22px 0 0; font: 700 15px/1 var(--cond); text-transform: uppercase; color: var(--gris); }
.ref { margin: 0; font: 700 42px/1.05 var(--cond); letter-spacing: .04em; -webkit-user-select: all; user-select: all; overflow-wrap: anywhere; }
.ok-montants, .ok-statut, .ok-mail { margin: 0; font: 500 21px/1.3 var(--cond); }
.ok-statut { font-weight: 700; text-transform: uppercase; }
.simulation { width: 100%; margin-top: 22px; padding: 20px 18px 18px; border: 2px dashed var(--encre); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.simulation-tag { margin: 0; padding: 6px 10px 5px; background: #111; color: #fff; font: 700 15px/1 var(--cond); text-transform: uppercase; letter-spacing: .08em; }
.simulation-texte { margin: 0; font: 500 18px/1.3 var(--cond); color: var(--gris-fonce); }
.simulation-actions { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.simulation-actions button { flex: 1 1 200px; height: 58px; font-size: 22px; }
.bouton-clair {
  display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 0; border-radius: 0; background: #e8e8e8; color: var(--encre);
  font: 700 22px/1 var(--cond); letter-spacing: .01em; text-transform: uppercase; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.bouton-clair:hover { background: #dcdcdc; }
.bouton-clair:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
.bouton-noir:disabled, .bouton-clair:disabled { background: #cfcfcf; color: #6e6e6e; cursor: not-allowed; }
.simulation-statut { margin: 0; min-height: 19px; font: 700 16px/1.2 var(--cond); text-transform: uppercase; color: var(--gris-fonce); }
.commande-ok-retour { margin-top: 22px; }
@media (max-width: 760px) {
  .panier-page > .panier-lignes, .panier-page > .commande-form, .panier-page > .recap { grid-column: 1; grid-row: auto; }
  .commande-form { margin-top: 36px; }
  .commande-titre { font-size: 26px; }
  .saisie, .mode-choix span { font-size: 18px; height: 52px; }   /* au moins 16 px : pas de zoom automatique sur iPhone */
  .champ-double { column-gap: 10px; }
  .adresse .champ-double { grid-template-columns: minmax(96px, 130px) minmax(0, 1fr); }
  .commande-ok { padding-top: 3vh; }
  .commande-ok-titre { font-size: 32px; }
  .ref { font-size: 33px; letter-spacing: .02em; }
}
.recap-total.inconnu { font-size: 22px; }

/* ---------- passe 31 : options (« bundles ») sur la fiche : rectangles cliquables ---------- */
.choix-boutons.options { margin-top: 0; }
.choix-boutons.options button { min-width: 96px; height: 48px; padding: 0 20px; }
.choix legend.invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.avis-simulation { grid-column: 1 / -1; margin: 22px 0 0; padding: 10px 12px; border: 2px dashed var(--encre); font: 700 16px/1.25 var(--cond); text-transform: uppercase; color: var(--encre); }
.avis-simulation + .cgv { margin-top: 18px; }

/* ---------- D2B Parfumerie ---------- */
/* vignette : le coloris sous le nom (un modèle = un coloris pour l'instant) */
.vignette .coloris { color: #767676; font-weight: 500; margin-top: 1px; }
/* fiche : bloc QUANTITÉ sous la couleur, même titre que COULEUR */
.choix-quantite[hidden] { display: none; }
.choix-quantite .quantite { height: 48px; }
.choix-quantite .quantite button { width: 48px; }
/* arrivée depuis le carrousel de l'accueil : la photo est déjà là (posée par le script en ligne de produit/index.html),
   les textes et RETOUR apparaissent en fondu, la première photo s'affiche sans son fondu habituel */
html.arrivee .photos li:first-child img { transition: none; }
html.arrivee .infos-dedans { animation: arrivee-texte .6s var(--doux) .1s both; }
html.arrivee .retour, html.arrivee .reperes { animation: arrivee-fondu .5s ease .2s both; }
@keyframes arrivee-texte { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes arrivee-fondu { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html.arrivee .infos-dedans, html.arrivee .retour, html.arrivee .reperes { animation: none; } }
/* cibles de 44 px au moins sur téléphone (RETOUR, onglets de catégories) */
.retour { min-height: 44px; }
@media (max-width: 700px) { .categories a { display: inline-block; padding: 12px 4px; } .categories { margin-bottom: 10px; } }
/* fiche : CARACTÉRISTIQUES (passe 2), mêmes codes que le reste de la colonne : libellé en petites capitales grises,
   valeur dessous, filets clairs entre les lignes */
.caracteristiques { margin: 4px 0 0; padding: 0; border-top: 1px solid #ececec; }
.caracteristique { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); column-gap: 16px; padding: 9px 0 8px; border-bottom: 1px solid #ececec; }
.caracteristique dt { font: 700 14px/1.25 var(--cond); text-transform: uppercase; letter-spacing: .03em; color: #6b6b6b; }
.caracteristique dd { margin: 0; font: 500 17px/1.25 var(--cond); color: var(--encre); }
.caracteristique.seule { grid-template-columns: 1fr; }
.caracteristique.seule dt { color: var(--encre); }
.details-caracteristiques .contenu { padding-bottom: 18px; }
@media (max-width: 420px) { .caracteristique { grid-template-columns: minmax(0, 9em) minmax(0, 1fr); column-gap: 12px; } }

/* ---------- passe 5 (D2B Conciergerie, passe 38) : commande sans paiement en ligne (« Envoyer ma commande », prise de contact) ---------- */
.champ-aide { margin: 0; font: 500 16px/1.25 var(--cond); color: var(--gris-fonce); }
.avis-rappel { grid-column: 1 / -1; margin: 22px 0 0; padding: 14px 16px 15px; background: var(--fond-produit); border-left: 3px solid var(--encre); }
.avis-rappel-titre { margin: 0 0 6px; font: 700 18px/1.1 var(--cond); text-transform: uppercase; letter-spacing: .02em; color: var(--encre); }
.avis-rappel-texte { margin: 0; font: 500 18px/1.3 var(--cond); color: var(--gris-fonce); }
.avis-rappel + .cgv { margin-top: 18px; }
.commande-ok .ok-rappel { width: 100%; margin-top: 18px; padding: 18px 18px 19px; background: #000; color: #fff; text-align: left; }
.ok-rappel-titre { margin: 0 0 8px; font: 700 24px/1.08 var(--cond); text-transform: uppercase; letter-spacing: .01em; }
.ok-rappel-texte { margin: 0; font: 500 19px/1.3 var(--cond); color: #d6d6d6; }
.ok-recap { width: 100%; margin-top: 8px; text-align: left; }
.ok-lignes { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e3e3e3; }
.ok-lignes li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid #e3e3e3; }
.ok-ligne-nom { font: 700 19px/1.15 var(--cond); text-transform: uppercase; min-width: 0; overflow-wrap: anywhere; }
.ok-ligne-nom small { display: block; margin-top: 3px; font: 500 16px/1.2 var(--cond); text-transform: none; color: var(--gris-fonce); }
.ok-ligne-prix { font: 700 19px/1 var(--cond); white-space: nowrap; }
.ok-totaux { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; margin: 14px 0 0; }
.ok-totaux dt { font: 700 17px/1 var(--cond); text-transform: uppercase; }
.ok-totaux dd { margin: 0; font: 700 17px/1 var(--cond); text-align: right; white-space: nowrap; }
.ok-totaux .ok-total { font-size: 26px; padding-top: 6px; }
.ok-mode { margin: 12px 0 0; font: 500 18px/1.2 var(--cond); color: var(--gris-fonce); }
.commande-ok .ok-statut { margin-top: 14px; }
.ok-garder { margin: 0; font: 500 18px/1.3 var(--cond); color: var(--gris-fonce); }
@media (max-width: 760px) {
  .ok-rappel-titre { font-size: 21px; }
  .ok-ligne-nom, .ok-ligne-prix { font-size: 17px; }
}
/* « Envoyer ma commande » tient sur une ligne, même à 360 px */
.commander { white-space: nowrap; }
@media (max-width: 760px) { .commander { font-size: clamp(22px, 7vw, 30px); padding: 0 12px; } }

/* ---------- passe 5 (D2B Conciergerie, passe 40) : suggestions d'adresse (js/adresse.js), France seulement ----------
   Sous le champ Adresse, par-dessus les champs suivants : fond blanc, filet noir comme le champ actif, une ligne par
   adresse (rue en gras, code postal et ville dessous). Ligne active au clavier ou survolée : fond gris clair. */
.champ.avec-suggestions { position: relative; }
.suggestions {
  position: absolute; z-index: 4; left: 0; right: 0; top: calc(100% + 2px); margin: 0; padding: 4px 0; list-style: none;
  background: var(--blanc); box-shadow: inset 0 0 0 2px var(--encre), 0 12px 28px rgba(0, 0, 0, .14);
  max-height: min(320px, 50vh); overflow-y: auto; overscroll-behavior: contain;
}
.suggestions[hidden] { display: none; }
.suggestion { display: flex; flex-direction: column; gap: 3px; padding: 11px 14px 10px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.suggestion + .suggestion { border-top: 1px solid #ececec; }
.suggestion-titre { font: 700 19px/1.1 var(--cond); color: var(--encre); }
.suggestion-detail { font: 500 16px/1.1 var(--cond); color: var(--gris-fonce); }
.suggestion[aria-selected="true"], .suggestion:hover { background: var(--fond-produit); }
.suggestion[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--encre); }

/* ---------- parfumerie : la fiche (photo à gauche comme les autres sites D2B, passe 2) ---------- */
.infos-cles { margin: 8px 0 0; font: 500 17px/1.25 var(--cond); letter-spacing: .03em; text-transform: uppercase; color: var(--gris-fonce); }

/* CONTENANCE : rectangles cliquables, la contenance affichée en noir ; les autres mènent à leur fiche */
.choix-boutons.contenances { margin-top: 0; }
.choix-boutons a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 44px; padding: 0 14px; border: 1px solid #d4d4d4;
  background: var(--blanc); color: var(--encre); text-decoration: none; font: 700 18px/1 var(--cond); text-transform: uppercase;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.choix-boutons a:hover { border-color: var(--encre); }
.choix-boutons a[aria-current="true"] { background: var(--encre); color: var(--blanc); border-color: var(--encre); }
.vignette .texte .coloris { text-transform: none; }
.infos h1 .couleur { text-transform: none; }
.choix-boutons.contenances a { text-transform: none; }

/* ---------- passe 49 : stock de Nîmes (DISPO 72H), même dessin que D2B Conciergerie ---------- */
.vignette .cadre .marque-72h {
  position: absolute; left: 8px; top: 8px; z-index: 1; padding: 5px 7px 4px; background: var(--encre); color: var(--blanc);
  font: 700 12px/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; pointer-events: none;
}
@media (max-width: 700px) { .vignette .cadre .marque-72h { left: 6px; top: 6px; padding: 4px 6px 3px; font-size: 11px; } }
.dispo-72h { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font: 700 17px/1.1 var(--cond); text-transform: uppercase; letter-spacing: .02em; color: var(--encre); }
.dispo-72h[hidden] { display: none; }
.dispo-72h .point { flex: none; width: 7px; height: 7px; background: var(--encre); }
