/*
 * laboutiquetitane.fr — feuille unique.
 *
 * Valeurs du handoff de Claude Design du 23/09/2026, haute fidélité :
 * couleurs, tailles, rayons et ombres sont les siennes (TECHNIQUE.md
 * § L'apparence). Les écarts voulus sont signalés sur place par « Écart ».
 *
 * Barlow est servie depuis /fonts/ (licence OFL, fonts/OFL.txt), jamais depuis
 * Google : la CSP n'autorise que 'self', et une police tierce transmet
 * l'adresse IP du visiteur. Les icônes sont un sprite Lucide, /images/icones.svg.
 */

@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url(../fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-weight: 500; font-display: swap; src: url(../fonts/barlow-500.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url(../fonts/barlow-600.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-weight: 700; font-display: swap; src: url(../fonts/barlow-700.woff2) format("woff2"); }

:root {
  --fond: #ecebe7;
  --surface: #fff;
  --surface-2: #f7f6f3;        /* en-têtes de bloc, onglets */
  --fond-prix: #f5f4f1;
  --fond-image: #f2f1ee;
  --survol-neutre: #f0efec;
  --bord-carte: #e0dfda;
  --bord-int: #e8e7e2;
  --filet: #eeede9;
  --bord-controle: #dcdbd6;
  --texte: #2d2f33;
  --texte-corps: #44474c;
  --texte-2: #55585d;
  --texte-discret: #76787d;
  --texte-tres-discret: #8e9095;
  /* Écart : la maquette donne #1f8fce, à 3,6:1 sur blanc — sous le seuil
     de 4,5:1 que contrôle PageSpeed pour les liens et le texte blanc des
     boutons. Son bleu foncé #1674aa (5,1:1) prend la place ; la gamme suit. */
  --accent: #1674aa;
  --accent-survol: #156a9a;
  --accent-presse: #125a84;
  --accent-fonce: #125a84;
  --teinte: #e6f2fa;
  --teinte-survol: #f0f6fb;
  --vignette-survol: #9fd0ec;
  --succes: #2f7a4c;
  --succes-fond: #e8f4ec;
  --attente: #94600f;
  --attente-fond: #fbf1e0;
  --erreur: #c0463a;
  --erreur-fond: #fbeceb;
  --desactive: #efeeea;
  --ombre-carte: 0 1px 2px rgba(30, 30, 30, .04), 0 8px 24px rgba(30, 30, 30, .05);
  --ombre-bloc: 0 1px 2px rgba(30, 30, 30, .04);
  --ombre-survol: 0 12px 26px rgba(30, 30, 30, .1);
  --ombre-cta: 0 6px 16px rgba(31, 143, 206, .28);
  --gouttiere: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 16px/1.5 Barlow, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; }

/* `hidden` doit l'emporter sur les `display` de cette feuille : les boutons
   − et + ou les onglets de l'accueil, que js/site.js ne montre qu'une fois là. */
[hidden] { display: none !important; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-fonce); }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, h3 { text-wrap: balance; }

.icone {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

.cadre {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Pastille ronde d'icône : blocs latéraux, titres de section, réassurance. */
.pastille {
  display: inline-grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff;
}
.pastille .icone { width: 14px; height: 14px; stroke-width: 2.75; }
.pastille-douce { width: 32px; height: 32px; background: var(--teinte); color: var(--accent); }
.pastille-douce .icone { width: 16px; height: 16px; stroke-width: 2.5; }

/* Les icônes redessinées d'après l'ancien site (sprite) : elles remplissent la
   pastille, à un pixel du bord — leur viewBox est cadré pour un cercle. */
.pastille .icone-pedalier, .pastille .icone-casque, .pastille .icone-montagne, .pastille .icone-route { width: 26px; height: 26px; }

/* ── En-tête et pied : fond carbone ──────────────────────── */

.entete, .pied {
  background-color: #1a1b1d;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .028) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .28) 0 2px, transparent 2px 5px);
}
.entete { box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.entete-sans-fil { padding-bottom: 16px; }

/* Écart : pas de sélecteur de langue, le site n'en sert qu'une. */
.entete-utile {
  display: flex; justify-content: flex-end; align-items: center;
  height: 36px; font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.entete-utile nav { display: flex; gap: 24px; }
.entete-utile a { color: #c9cbcf; }
.entete-utile a:hover { color: #fff; }

.entete-marque {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px; padding: 14px 0;
}
.entete-logo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-width: 0; }
.logo { display: block; line-height: 0; min-width: 0; }
.logo img { display: block; height: 60px; width: auto; }
.depuis {
  padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16);
  color: #b9bbbf; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}

.entete-outils { display: flex; align-items: center; gap: 12px; flex: 0 1 560px; min-width: 260px; }
@media (max-width: 599px) { .entete-outils { flex-wrap: wrap; min-width: 0; flex-basis: 100%; } }

.recherche {
  flex: 1 1 200px; min-width: 0; display: flex; align-items: center; gap: 10px;
  height: 42px; margin: 0; padding: 0 5px 0 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35);
}
.recherche:focus-within { border-color: rgba(255, 255, 255, .28); }
.recherche input {
  flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: none; background: none;
  color: #fff; font-size: 14px; -webkit-appearance: none; appearance: none;
}
.recherche input::placeholder { color: #9a9ca1; }
.recherche input::-webkit-search-cancel-button { -webkit-appearance: none; }
.recherche button {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer;
}
.recherche button:hover { background: var(--accent-survol); }
.recherche button .icone { width: 15px; height: 15px; stroke-width: 2.75; }

.pilule-compte {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 16px 0 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  color: #e6e7e9; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.pilule-compte:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.menu {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px;
  padding: 0 8px 0 10px; border-radius: 12px;
  background: linear-gradient(#3a3c3f, #2a2b2e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 1px 0 rgba(0, 0, 0, .5), 0 8px 18px rgba(0, 0, 0, .28);
}
.menu ul { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.menu li { display: flex; align-items: center; }
/* Les séparateurs : la version modernisée des pointillés du thème leobike. */
.menu li + li::before {
  content: ""; width: 1px; height: 20px;
  background: linear-gradient(transparent, rgba(255, 255, 255, .22), transparent);
}
.menu li a {
  position: relative; display: block; padding: 17px 20px;
  color: #d4d6d9; font-size: 15.5px; font-weight: 500; line-height: 20px;
}
.menu li a:hover, .menu li a[aria-current] { color: #fff; }
.menu li a[aria-current]::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 9px;
  height: 2px; border-radius: 2px; background: var(--accent);
}

.bouton-panier {
  display: inline-flex; align-items: center; gap: 10px;
  height: 38px; margin: 8px 0; padding: 0 16px 0 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .22);
  color: #f1f1f1; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.bouton-panier:hover { background: rgba(0, 0, 0, .35); color: #fff; }
.bouton-panier-icone { position: relative; display: grid; }
.bouton-panier-nombre {
  position: absolute; top: -7px; right: -9px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 1;
}

.fil ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0; padding: 14px 4px 16px; list-style: none;
  font-size: 13.5px; color: #76787d;
}
.fil li { display: flex; align-items: center; gap: 8px; }
.fil li + li::before {
  content: ""; width: 12px; height: 12px; flex: none;
  /* Le chevron Lucide, trait #8e9095 : en image, un pseudo-élément n'appelle pas le sprite. */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e9095' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.fil a { color: #b9bbbf; }
.fil a:hover { color: #fff; }

/* ── Page : contenu et colonne latérale ──────────────────── */

.principal { flex: 1; padding-top: 28px; padding-bottom: 56px; }
.principal > * + * { margin-top: 28px; }

.colonnes { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.colonne { flex: 1 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.barre { flex: 0 1 290px; min-width: 260px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 599px) { .barre { flex-basis: 100%; min-width: 0; } }

.carte {
  background: var(--surface);
  border: 1px solid var(--bord-carte);
  border-radius: 16px;
  box-shadow: var(--ombre-carte);
}
.carte-pleine { padding: 28px 32px; }

.titre-page { margin: 0; color: var(--accent); font-size: 34px; line-height: 1.1; font-weight: 600; }
.titre-section { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 21px; font-weight: 600; }
.titre-section .pastille { width: 34px; height: 34px; }
.titre-section .pastille .icone { width: 17px; height: 17px; }
.sous-titre { margin: 0; font-size: 24px; font-weight: 600; }

/* Texte courant : description de fiche ou de catégorie, pages de texte. */
.texte { font-size: 15.5px; line-height: 1.65; color: var(--texte-corps); max-width: 720px; }
.texte p { margin: 0 0 10px; }
.texte > :last-child { margin-bottom: 0; }
.texte h2 { margin: 24px 0 10px; font-size: 21px; font-weight: 600; color: var(--texte); }
.texte h3 { margin: 20px 0 8px; font-size: 17px; font-weight: 600; color: var(--texte); }
.texte ul, .texte ol { padding-left: 22px; }
.texte a { font-weight: 500; }
.texte img { vertical-align: middle; }
.texte table { border-collapse: collapse; max-width: 100%; }
.texte td, .texte th { border: 1px solid var(--filet); padding: 6px 10px; }
/* L'encadré des garanties légales (art. D. 211-2 du code de la consommation) et le formulaire de rétractation. */
.encadre { margin: 14px 0; padding: 16px 18px; background: var(--fond-prix); border-radius: 12px; }

/* ── Boutons, champs ─────────────────────────────────────── */

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 16px; font-weight: 600; text-align: center; white-space: nowrap;
  box-shadow: var(--ombre-cta); cursor: pointer;
}
.bouton:hover { background: var(--accent-survol); color: #fff; }
.bouton:active { background: var(--accent-presse); }
.bouton[disabled] { opacity: .4; cursor: default; }

.bouton-second {
  height: 42px; padding: 0 20px; font-size: 14.5px;
  background: #fff; color: var(--texte); border: 1.5px solid var(--bord-controle); box-shadow: none;
}
.bouton-second:hover { background: #fff; color: var(--accent); border-color: var(--accent); }
.bouton-second:active { background: var(--teinte-survol); }

.bouton-sombre { background: var(--texte); box-shadow: none; }
.bouton-sombre:hover { background: var(--accent); }

.bouton-petit { height: 36px; padding: 0 16px; font-size: 13.5px; gap: 6px; box-shadow: none; }
.bouton-petit .icone { width: 15px; height: 15px; }

.lien-retirer {
  display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--texte-discret); cursor: pointer;
}
.lien-retirer:hover { background: var(--erreur-fond); color: var(--erreur); }
.lien-texte { padding: 0; border: 0; background: none; color: var(--accent); font-weight: 500; cursor: pointer; }
.lien-texte:hover { color: var(--accent-fonce); }

.formulaire { display: flex; flex-direction: column; gap: 18px; }
.formulaire-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 16px; }
.formulaire-grille > .champ-large { grid-column: 1 / -1; }
.champ { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.champ label, .champ-libelle { font-size: 14px; font-weight: 600; }
.champ input, .champ select, .champ textarea {
  width: 100%; height: 46px; padding: 0 18px;
  border: 1.5px solid var(--bord-controle); border-radius: 999px; background: #fff;
  font-size: 15px; color: var(--texte); outline: none;
}
.champ select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355585d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 14px no-repeat; }
.champ textarea { height: auto; min-height: 150px; padding: 14px 18px; border-radius: 16px; resize: vertical; line-height: 1.5; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--accent); }
.champ ::placeholder { color: #a3a5a9; }
.champ-erreur input, .champ-erreur select, .champ-erreur textarea { border-color: var(--erreur); }
.erreur { font-size: 13px; color: var(--erreur); }
.facultatif { font-weight: 400; color: var(--texte-tres-discret); }
/* Le leurre d'AntiRobot (_antirobot.html.twig) : hors de la vue, pas `display: none`, que les robots vérifient. */
.controle-annexe { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Case à cocher : carré de 20 px, cochée en bleu. */
.case { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--texte-corps); cursor: pointer; }
.case input {
  appearance: none; flex: none; width: 20px; height: 20px; margin: 0;
  border: 1.5px solid var(--bord-controle); border-radius: 6px; background: #fff; cursor: pointer;
}
.case input:checked {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.case-erreur input { border-color: var(--erreur); }

/* Radios en carte : transporteur, paiement, adresse, objet du contact. */
.choix { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.choix-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.choix legend { margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 600; }
.radio-carte {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px; border: 1.5px solid var(--bord-controle); border-radius: 14px; background: #fff; cursor: pointer;
}
.radio-carte:hover { border-color: var(--accent); }
.radio-carte:has(input:checked) { border-color: var(--accent); background: var(--teinte-survol); }
.radio-carte input {
  appearance: none; flex: none; width: 18px; height: 18px; margin: 2px 0 0;
  border: 1.5px solid var(--bord-controle); border-radius: 50%; background: #fff; cursor: pointer;
}
.radio-carte input:checked { border-color: var(--accent); background: radial-gradient(var(--accent) 0 4.5px, #fff 5px); }
.radio-carte-corps { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.radio-carte-nom { font-size: 15.5px; font-weight: 600; color: var(--texte); }
.radio-carte-aide { font-size: 13.5px; color: var(--texte-discret); line-height: 1.4; }
.radio-carte-prix { font-size: 15.5px; font-weight: 600; white-space: nowrap; }
.radio-carte .pastille { width: 38px; height: 38px; background: var(--teinte); color: var(--accent); }
.radio-carte .pastille .icone { width: 18px; height: 18px; stroke-width: 2.5; }

/* Bandeaux de message. */
.avis {
  display: flex; gap: 12px; align-items: center; margin: 0;
  padding: 14px 18px; border-radius: 12px;
  background: var(--succes-fond); color: var(--succes); font-size: 15px;
}
.avis .pastille { background: var(--succes); }
.avis-info { background: var(--teinte); color: var(--accent-fonce); }
.avis-erreur { background: var(--erreur-fond); color: var(--erreur); }

.note { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--texte-discret); }

/* Pilule d'état : stock, état de commande, nombre de produits. */
.etiquette {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
  background: var(--desactive); color: var(--texte-discret);
}
.etiquette-point::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.etiquette-succes { background: var(--succes-fond); color: var(--succes); }
.etiquette-info { background: var(--teinte); color: var(--accent-fonce); }
.etiquette-attente { background: var(--attente-fond); color: var(--attente); }
.etiquette-erreur { background: var(--erreur-fond); color: var(--erreur); }

/* ── Colonne latérale ────────────────────────────────────── */

.bloc {
  background: var(--surface); border: 1px solid var(--bord-carte); border-radius: 16px;
  box-shadow: var(--ombre-bloc); overflow: hidden;
}
.bloc-tete {
  display: flex; align-items: center; gap: 10px; margin: 0;
  padding: 14px 18px; background: var(--surface-2); border-bottom: 1px solid var(--bord-int);
  font-size: 16px; font-weight: 600;
}


.bloc-categories ul { margin: 0; padding: 6px; list-style: none; }
.bloc-categories a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--texte-corps);
}
.bloc-categories a .icone { width: 14px; height: 14px; opacity: .5; }
.bloc-categories a:hover { background: var(--teinte-survol); color: var(--accent-fonce); }
.bloc-categories a[aria-current] { background: var(--teinte); color: var(--accent-fonce); font-weight: 600; }

.bloc-panier-corps { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; font-size: 14px; }
.bloc-panier-vide { color: var(--texte-discret); }
.bloc-panier-ligne { display: flex; justify-content: space-between; gap: 10px; }
.bloc-panier-ligne span:first-child { display: flex; flex-direction: column; font-weight: 600; }
.bloc-panier-ligne small { font-size: 13px; font-weight: 400; color: var(--texte-discret); }
.bloc-panier-ligne span:last-child { font-weight: 600; white-space: nowrap; }
.bloc-panier-recap { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--filet); }
.bloc-panier-recap div { display: flex; justify-content: space-between; gap: 10px; }
.bloc-panier-port { color: var(--texte-2); }
.bloc-panier-total { font-size: 15px; font-weight: 700; }
.bloc-panier-actions { display: flex; gap: 8px; padding-top: 4px; }
.bloc-panier-actions a {
  flex: 1; height: 40px; display: grid; place-items: center; border-radius: 999px;
  font-size: 14px; font-weight: 600;
}
.bloc-panier-voir { border: 1.5px solid var(--bord-controle); background: #fff; color: var(--texte); }
.bloc-panier-voir:hover { border-color: var(--accent); color: var(--accent); }
.bloc-panier-commander { background: var(--texte); color: #fff; }
.bloc-panier-commander:hover { background: var(--accent); color: #fff; }
.bloc-panier-commander[aria-disabled] { opacity: .4; pointer-events: none; }

/* ── Cartes produit (grilles) ────────────────────────────── */

.grille {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px;
  margin: 0; padding: 0; list-style: none;
}
.carte-produit {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--bord-carte); border-radius: 14px; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.carte-produit:hover { transform: translateY(-3px); box-shadow: var(--ombre-survol); }
.carte-produit-lien { display: flex; flex-direction: column; flex: 1; color: var(--texte); }
.carte-produit-lien:hover { color: var(--texte); }
.carte-produit-photo { aspect-ratio: 1; background: var(--fond-image); }
.carte-produit-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.carte-produit-corps { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.carte-produit-nom { font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--accent); }
.carte-produit-accroche { flex: 1; font-size: 13px; line-height: 1.4; color: var(--texte-discret); }
.carte-produit-prix { margin-top: 4px; font-size: 16px; font-weight: 600; }
.carte-produit-prix del, .carte-produit-prix small { font-size: 13px; font-weight: 400; color: var(--texte-discret); }
.carte-produit .etiquette { position: absolute; top: 12px; left: 12px; }
.carte-produit-action { padding: 0 16px 16px; }
.carte-produit-action form { margin: 0; }
.carte-produit-action .bouton { width: 100%; }

.rayon { display: flex; flex-direction: column; gap: 16px; }

/* ── Accueil ─────────────────────────────────────────────── */

.bannieres { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.banniere {
  position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  background: #2a2b2e; box-shadow: 0 8px 24px rgba(30, 30, 30, .12);
  transition: transform .25s, box-shadow .25s;
}
.banniere:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(30, 30, 30, .18); }
.banniere img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banniere::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16, 17, 19, .82), rgba(16, 17, 19, 0) 58%); }
.banniere-texte {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.banniere-texte span:first-child { display: flex; flex-direction: column; gap: 4px; }
.banniere-surtitre { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #c9cbcf; }
.banniere-titre { font-size: 21px; font-weight: 600; line-height: 1.15; color: #fff; text-wrap: balance; }
.banniere .pastille { width: 38px; height: 38px; }
.banniere .pastille .icone { width: 17px; height: 17px; }

.bienvenue { display: flex; flex-direction: column; gap: 14px; padding: 32px; }
.bienvenue h1 { font-size: 30px; line-height: 1.15; }
.bienvenue .texte p { margin: 0 0 12px; }
.bienvenue .texte a { font-weight: 600; }

.vitrine-onglets { display: flex; flex-direction: column; gap: 16px; }
.vitrine-onglets-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.selecteur { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--bord-carte); }
.selecteur button {
  height: 38px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent;
  color: var(--texte-2); font-size: 15px; font-weight: 600; cursor: pointer;
}
.selecteur button:hover { color: var(--accent); }
.selecteur button[aria-selected="true"] { background: var(--accent); color: #fff; }
.lien-fleche { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; }
.lien-fleche .icone { width: 15px; height: 15px; stroke-width: 2.75; }
/* Sans JavaScript, les deux panneaux se suivent, chacun sous son titre. */
.panneau-titre { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.onglets-actifs .panneau-titre { display: none; }

/* ── Catégorie ───────────────────────────────────────────── */

.tete-categorie { display: flex; flex-direction: column; gap: 14px; }
.tete-categorie-titre { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.tete-categorie .etiquette { font-size: 13px; padding: 5px 12px; }

/* ── Fiche produit ───────────────────────────────────────── */

.fiche { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; padding: 28px; }

.galerie { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
/* Écart : `contain` et non `cover` sur la grande photo — les photos du
   catalogue ne sont pas carrées (3:4, 4:3, 3:2), et `cover` couperait la pièce. */
.photo { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--fond-image); line-height: 0; }
.photo img { width: 100%; height: 100%; object-fit: contain; }
.vignettes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.vignettes a {
  display: block; aspect-ratio: 4 / 3; border: 2px solid transparent; border-radius: 10px; overflow: hidden;
  background: var(--fond-image); line-height: 0;
}
.vignettes a:hover { border-color: var(--vignette-survol); }
.vignettes a[aria-current] { border-color: var(--accent); }
.vignettes img { width: 100%; height: 100%; object-fit: cover; }

.achat { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.achat-tete { display: flex; flex-direction: column; gap: 8px; }
.surtitre { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-tres-discret); }
.achat h1 { margin: 0; font-size: 34px; line-height: 1.1; font-weight: 600; color: var(--accent); }
.accroche { font-size: 16px; color: var(--texte-2); }
.accroche p { margin: 0; }

.prix {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
  margin: 0; padding: 14px 18px; border-radius: 12px; background: var(--fond-prix);
}
.prix-montant { font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--texte); }
.prix-barre { font-size: 17px; color: var(--texte-tres-discret); }
.prix-mention, .prix-ttc { font-size: 13px; font-weight: 500; color: var(--texte-tres-discret); }

.panier-ajout { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.declinaisons { margin: 0; padding: 0; border: 0; min-width: 0; }
.declinaisons legend { margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 600; }
.pilules { display: flex; flex-wrap: wrap; gap: 8px; }
.pilule { position: relative; }
.pilule input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pilule span {
  display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid var(--bord-controle); background: #fff; color: var(--texte);
  font-size: 15px; font-weight: 600; cursor: pointer;
}
.pilule span:hover { border-color: var(--accent); }
.pilule input:checked + span { border-color: var(--accent); background: var(--teinte); color: var(--accent-fonce); }
.pilule input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pilule input:disabled + span { background: var(--desactive); color: var(--texte-tres-discret); text-decoration: line-through; cursor: default; border-color: var(--desactive); }

.achat-ligne { display: flex; flex-wrap: wrap; gap: 12px; }
.achat-ligne .bouton { flex: 1; min-width: 200px; }

.quantite {
  display: inline-flex; align-items: center; height: 48px; padding: 0 4px;
  border: 1.5px solid var(--bord-controle); border-radius: 999px; background: #fff;
}
.quantite input {
  width: 44px; min-width: 28px; height: 100%; padding: 0; border: 0; background: none;
  text-align: center; font-size: 16px; font-weight: 600; outline: none; -moz-appearance: textfield;
}
.quantite input::-webkit-inner-spin-button, .quantite input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quantite button {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--texte-2); cursor: pointer;
}
.quantite button:hover { background: var(--survol-neutre); }
.quantite button .icone { width: 16px; height: 16px; stroke-width: 2.75; }
.quantite-petite { height: 42px; }
.quantite-petite button { width: 34px; height: 34px; }

.stock-bas { margin: -8px 0 0; font-size: 14px; font-weight: 600; color: var(--attente); }
.epuise { align-self: flex-start; }

.vitrine { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border-radius: 12px; background: var(--teinte-survol); border: 1.5px solid var(--teinte); }
.vitrine p { margin: 0; color: var(--texte-corps); }
.vitrine .bouton { align-self: flex-start; white-space: normal; height: auto; min-height: 48px; padding: 12px 24px; }

.garanties { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--texte-2); }
.garanties li { display: flex; align-items: center; gap: 12px; }

.alerte-stock { display: flex; flex-direction: column; gap: 14px; }
.alerte-stock-repli summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.alerte-stock-repli[open] summary { margin-bottom: 14px; }

/* Onglets de la description. Écart : un seul onglet, « Description » — le
   catalogue n'a pas de caractéristiques en données (maquette : deux). */
.onglets { overflow: hidden; }
.onglets-barre { display: flex; gap: 4px; padding: 10px 12px 0; background: var(--surface-2); border-bottom: 1px solid var(--bord-int); }
.onglet {
  margin: 0 0 -1px; padding: 12px 20px; border-radius: 10px 10px 0 0;
  font-size: 15px; font-weight: 600; color: var(--texte-discret);
}
.onglet-actif { background: #fff; color: var(--accent); border-bottom: 2px solid var(--accent); }
.onglets-contenu { padding: 28px; }

/* ── Toast ───────────────────────────────────────────────── */

.toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px);
  padding: 14px 20px; border-radius: 999px;
  background: var(--texte); color: #fff; font-size: 14.5px; font-weight: 500;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  animation: toast-entree .25s ease-out;
}
.toast .pastille { width: 24px; height: 24px; }
.toast .pastille .icone { width: 13px; height: 13px; stroke-width: 3; }
.toast-erreur .pastille { background: var(--erreur); }
@keyframes toast-entree { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 599px) { .toast { left: 16px; right: 16px; bottom: 16px; border-radius: 16px; } }

/* ── Panier et tunnel ────────────────────────────────────── */

/* Les étapes : templates/_etapes.html.twig. L'identification est la page de
   connexion, qui précède le tunnel. */
.etapes {
  display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 5px; list-style: none;
  background: #fff; border: 1px solid var(--bord-carte); border-radius: 999px; align-self: flex-start;
}
.etapes li > * {
  display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px 0 6px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--texte-tres-discret);
}
.etapes a { color: var(--texte-2); }
.etapes a:hover { color: var(--accent); }
.etapes [aria-current] { background: var(--teinte); color: var(--accent-fonce); }
.etape-numero {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--desactive); color: var(--texte-tres-discret); font-size: 12.5px; font-weight: 700;
}
.etape-numero .icone { width: 14px; height: 14px; stroke-width: 3; }
.etapes a .etape-numero, .etapes .etape-passee .etape-numero, .etapes [aria-current] .etape-numero { background: var(--accent); color: #fff; }
.etapes .etape-passee { color: var(--texte-2); }
@media (max-width: 599px) { .etape-nom { display: none; } .etapes li > * { padding: 0 6px; } }

.tunnel { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.tunnel-principal { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.recap { flex: 0 1 330px; min-width: 280px; position: sticky; top: 20px; display: flex; flex-direction: column; gap: 14px; padding: 24px; }
@media (max-width: 599px) { .recap { flex-basis: 100%; min-width: 0; position: static; } }
.recap h2 { margin: 0; font-size: 19px; font-weight: 600; }
.recap dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; font-size: 14.5px; color: var(--texte-2); }
.recap dd { margin: 0; text-align: right; font-weight: 600; color: var(--texte); }
.recap-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--filet); font-weight: 600; }
.recap-total strong { font-size: 24px; font-weight: 700; }
.recap .bouton { width: 100%; height: 50px; }
.recap .garanties { font-size: 13.5px; padding-top: 4px; }
.recap .garanties .pastille { width: 28px; height: 28px; }

.panier-lignes { margin: 0; padding: 0; list-style: none; }
.panier-ligne {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--filet);
}
.panier-ligne:first-child { padding-top: 0; }
.panier-photo { display: block; width: 84px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--fond-image); }
.panier-photo img { width: 100%; height: 100%; object-fit: cover; }
.panier-produit { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--texte-discret); }
.panier-produit a { font-size: 15.5px; font-weight: 600; }
.panier-quantite { display: flex; align-items: center; gap: 8px; grid-column: 2; }
.panier-total-ligne { grid-column: 3; grid-row: 1; margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
@media (min-width: 700px) {
  .panier-ligne { grid-template-columns: 84px minmax(0, 1fr) auto 100px; }
  .panier-quantite { grid-column: 3; grid-row: 1; }
  .panier-total-ligne { grid-column: 4; }
}
.panier-pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; }

.vide { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 20px; text-align: center; }
.vide .pastille { width: 64px; height: 64px; background: var(--teinte); color: var(--accent); }
.vide .pastille .icone { width: 28px; height: 28px; stroke-width: 2.25; }
.vide p { margin: 0; font-size: 18px; font-weight: 600; }

.etape-carte { display: flex; flex-direction: column; gap: 20px; padding: 28px; }
.etape-carte h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 21px; font-weight: 600; }
.etape-resumee { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 20px; }

.virement { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; padding: 16px 18px; border-radius: 12px; background: var(--fond-prix); }
.virement dt { color: var(--texte-discret); }
.virement dd { margin: 0; overflow-wrap: anywhere; font-weight: 500; }

.merci { max-width: 720px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 32px; }
.merci .pastille-succes { width: 56px; height: 56px; background: var(--succes); }
.merci .pastille-succes .icone { width: 26px; height: 26px; stroke-width: 3; }
.merci h1 { font-size: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ── Compte client ───────────────────────────────────────── */

.compte { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.compte-menu { flex: 0 1 270px; min-width: 240px; padding: 8px; }
@media (max-width: 599px) { .compte-menu { flex-basis: 100%; } }
.compte-menu ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.compte-menu a, .compte-menu button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 12px;
  background: none; color: var(--texte-corps); font-size: 15px; font-weight: 500; text-align: left; cursor: pointer;
}
.compte-menu .pastille { width: 30px; height: 30px; background: var(--surface-2); color: var(--texte-2); }
.compte-menu a:hover { background: var(--teinte-survol); color: var(--accent-fonce); }
.compte-menu a[aria-current] { background: var(--teinte); color: var(--accent-fonce); font-weight: 600; }
.compte-menu a[aria-current] .pastille { background: var(--accent); color: #fff; }
.compte-menu hr { margin: 6px 10px; border: 0; border-top: 1px solid var(--filet); }
.compte-menu form { margin: 0; }
.compte-menu button:hover { background: var(--erreur-fond); color: var(--erreur); }
.compte-contenu { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.compte-tete { display: flex; flex-direction: column; gap: 8px; }
.compte-tete p { margin: 0; color: var(--texte-2); }

.identification { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 960px; }
.identification .carte { display: flex; flex-direction: column; gap: 18px; padding: 30px; }
.identification .pastille { width: 40px; height: 40px; }
.identification .pastille .icone { width: 19px; height: 19px; }
.identification h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 21px; font-weight: 600; }
.identification p { margin: 0; color: var(--texte-corps); line-height: 1.55; }
.formulaire-etroit { max-width: 560px; }

.commandes { margin: 0; padding: 0; list-style: none; }
.commandes li + li { border-top: 1px solid var(--filet); }
.commandes a {
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr) 16px; gap: 6px 16px; align-items: center;
  padding: 16px 20px; color: var(--texte);
}
.commandes a:hover { background: var(--teinte-survol); color: var(--texte); }
.commandes-ref { display: flex; flex-direction: column; font-weight: 600; }
.commandes-ref small { font-size: 13px; font-weight: 400; color: var(--texte-discret); }
.commandes-total { font-weight: 600; text-align: right; }
.commandes .icone { width: 16px; height: 16px; color: var(--texte-tres-discret); }
@media (max-width: 599px) {
  .commandes a { grid-template-columns: minmax(0, 1fr) auto; }
  .commandes .icone { display: none; }
}

.tableau { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tableau th, .tableau td { padding: 12px 10px; border-bottom: 1px solid var(--filet); text-align: left; vertical-align: top; }
.tableau th { font-size: 13px; font-weight: 600; color: var(--texte-discret); }
.tableau .nombre { text-align: right; white-space: nowrap; }
.reference { color: var(--texte-discret); font-size: 13.5px; }
.totaux { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; max-width: 320px; margin: 0 0 0 auto; font-size: 14.5px; color: var(--texte-2); }
.totaux dd { margin: 0; text-align: right; color: var(--texte); font-weight: 600; }
.totaux strong { font-size: 18px; }

.adresses { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.adresses > * { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--bord-carte); }
.adresses h2, .adresses h3 { margin: 0; font-size: 16px; font-weight: 600; }
.adresse { font-style: normal; line-height: 1.5; font-size: 14.5px; color: var(--texte-corps); }
.adresse-actions { display: flex; gap: 16px; margin: auto 0 0; font-size: 14px; }
.adresse-ajout { align-items: center; justify-content: center; min-height: 160px; border: 1.5px dashed var(--bord-controle) !important; background: transparent !important; color: var(--accent); font-weight: 600; }

.evenements { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--texte-2); }

/* ── Contact ─────────────────────────────────────────────── */

.bloc-corps { display: flex; flex-direction: column; gap: 20px; padding: 24px; }
.bloc-corps > img, .bloc-corps > a > img { display: block; width: 100%; aspect-ratio: 16 / 6; object-fit: cover; border-radius: 12px; background: var(--fond-image); }
.bloc-corps > a { line-height: 0; }
.tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.tuile { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 12px; background: var(--fond-prix); color: var(--texte); font-size: 14.5px; line-height: 1.45; }
a.tuile:hover { background: var(--teinte-survol); color: var(--texte); }
.tuile .pastille { width: 36px; height: 36px; background: var(--teinte); color: var(--accent); }
.tuile .pastille .icone { width: 17px; height: 17px; stroke-width: 2.5; }
.tuile span:last-child { display: flex; flex-direction: column; gap: 2px; }
.tuile strong { font-weight: 600; }
.tuile span span { color: var(--texte-2); }

/* ── Pied ────────────────────────────────────────────────── */

.pied { color: #b9bbbf; font-size: 14px; }
.pied-int { display: flex; flex-direction: column; gap: 28px; padding-top: 40px; padding-bottom: 28px; }
.pied-haut { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.pied-adresse { display: flex; flex-direction: column; gap: 8px; max-width: 360px; font-style: normal; }
.pied-adresse strong { color: #fff; font-weight: 600; font-size: 15px; }
.pied-adresse a { color: inherit; }
.pied-liens { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 10px 40px; margin: 0; padding: 0; list-style: none; }
.pied-liens a { color: #c9cbcf; }
.pied-liens a:hover, .pied-adresse a:hover { color: #fff; }
.pied-bas { margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: var(--texte-tres-discret); }
.pied-note { margin: 0; max-width: 70ch; font-size: 14px; line-height: 1.5; color: #c9cbcf; }

/* ── Petits écrans ───────────────────────────────────────── */

@media (max-width: 599px) {
  :root { --gouttiere: 16px; }
  .principal { padding-top: 20px; padding-bottom: 40px; }
  .logo img { width: 264px; height: auto; }
  .menu { padding: 0 6px; }
  .menu li a { padding: 13px 12px; font-size: 15px; }
  .menu li a[aria-current]::after { left: 12px; right: 12px; bottom: 6px; }
  .menu li + li::before { display: none; }
  .fiche, .onglets-contenu, .etape-carte { padding: 20px; }
  .carte-pleine, .bienvenue, .merci, .identification .carte { padding: 22px 20px; }
  .titre-page, .achat h1 { font-size: 28px; }
  .bienvenue h1 { font-size: 26px; }
}
