/* =========================================================
   Franchi G. – Boutique des fêtes
   S'appuie sur ../css/style.css (palette, typographies, boutons, pied de page)
   ========================================================= */

.boutique { --carte: #1a110b; --carte-2: #241810; --ok: #7fbf7f; --alerte: #f0a24a; --erreur: #ff8a7a; }
.boutique main { min-height: 70svh; outline: none; }
/* Chiffres alignés (Cormorant utilise par défaut des chiffres elzéviriens) */
.b-date b, .b-total strong, .b-suivi-retrait strong, .b-fiche h2 { font-variant-numeric: lining-nums; }
.b-bloque { overflow: hidden; }

/* ---------- En-tête ---------- */
.b-header {
  grid-template-columns: 1fr auto; margin-bottom: 0;
  background: rgba(18, 12, 8, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--ligne);
}
.b-brand-texte { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.b-brand-texte .script { font-size: 28px; }
.b-brand-texte .header-lieu { display: block; font-size: 10.5px; letter-spacing: .28em; }
.b-panier-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 16px;
  border-radius: 999px; border: 1px solid transparent; background: var(--caramel-bouton); color: #fff; font-weight: 500;
  transition: background .25s;
}
.b-panier-btn:hover { background: var(--caramel-bouton-survol); }
.b-panier-btn svg { width: 20px; height: 20px; }
.b-panier-nb[hidden], .b-panier-btn[hidden] { display: none; }
.b-mes-commandes {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 15px; border-radius: 999px;
  border: 1px solid rgba(246, 233, 216, .25); color: var(--creme); text-decoration: none; font-size: 15px; transition: border-color .2s, color .2s;
}
.b-mes-commandes:hover, .b-mes-commandes[aria-current="page"] { border-color: var(--orange); color: var(--orange); }
.b-mes-commandes svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.b-panier-nb {
  min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center;
  background: var(--creme); color: var(--brun); font-size: 13px; font-weight: 500;
}

/* ---------- Commun ---------- */
.b-chargement { padding: 120px 20px; text-align: center; color: var(--texte-doux); }
.b-puce {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(252, 155, 0, .1); border: 1px solid rgba(252, 155, 0, .28); color: var(--orange);
  font-size: 14px; font-weight: 400;
}
.b-puce svg { width: 16px; height: 16px; flex: none; }
.b-badge {
  display: inline-block; padding: 3px 11px; border-radius: 999px; font-family: var(--f-caps);
  font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.b-badge-bas { background: var(--orange); color: var(--noir); }
.b-badge-epuise { background: rgba(246, 233, 216, .12); color: var(--texte-doux); }
.b-note { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--texte-doux); }
.b-note[hidden] { display: none; }
.b-note svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--caramel); }
.b-note a { color: var(--orange); white-space: nowrap; }
.b-centre { justify-content: center; text-align: center; }
/* Note centrée : l'icône suit le texte, même sur plusieurs lignes. */
.b-note.b-centre { display: block; }
.b-note.b-centre svg { display: inline-block; vertical-align: -3px; margin: 0 8px 0 0; }
.b-alerte {
  border: 1px solid rgba(240, 162, 74, .45); background: rgba(240, 162, 74, .1); color: var(--creme);
  border-radius: 12px; padding: 12px 16px; font-size: 15px;
}
.b-alerte p + p { margin-top: 4px; }
.b-fermer {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid var(--ligne); background: rgba(18, 12, 8, .6); color: var(--creme);
}
.b-fermer:hover { background: var(--caramel); border-color: var(--caramel); }
.b-fermer svg { width: 20px; height: 20px; }
.btn[disabled] { opacity: .45; pointer-events: none; box-shadow: none; }
.b-plein { width: 100%; justify-content: center; }

/* Visuels : photo, ou monogramme sur fond teinté en attendant les photos */
.b-visuel { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brun-2); }
.b-visuel img { width: 100%; height: 100%; object-fit: cover; }
.b-visuel-photo { background: #fff; }
/* Une photo par taille : couches superposées, fondu de l'une à l'autre */
.b-couche { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.b-couche:first-child { position: relative; height: 100%; }
.b-couche.actif { opacity: 1; }
.b-carte:hover .b-visuel-multi .b-couche:first-child, .b-carte-lien:focus-visible .b-visuel-multi .b-couche:first-child { opacity: 0; }
.b-carte:hover .b-visuel-multi .b-couche:nth-child(2), .b-carte-lien:focus-visible .b-visuel-multi .b-couche:nth-child(2) { opacity: 1; }
/* Écrans tactiles (pas de survol) : alternance automatique et lente sur les cartes */
@media (hover: none) {
  .b-carte .b-visuel-multi .b-couche:first-child { animation: b-photo-a 8s ease-in-out infinite; }
  .b-carte .b-visuel-multi .b-couche:nth-child(2) { animation: b-photo-b 8s ease-in-out infinite; }
}
@keyframes b-photo-a { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes b-photo-b { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
.b-etiquette-taille {
  position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px;
  background: var(--brun); color: var(--orange); border: 1px solid rgba(252, 155, 0, .45);
  font-family: var(--f-caps); font-size: 12px; font-weight: 600; letter-spacing: .06em;
}
.b-photo-mention {
  position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px;
  background: rgba(18, 12, 8, .55); color: rgba(255, 255, 255, .9); font-size: 11px; letter-spacing: .02em; pointer-events: none;
}
.b-fiche-mention { font-size: 13px; font-style: italic; color: var(--texte-doux); margin-top: -6px; }
.b-visuel-vide {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, hsl(var(--teinte) 45% 32% / .55), transparent 60%),
    radial-gradient(circle at 80% 90%, hsl(calc(var(--teinte) + 40) 40% 26% / .5), transparent 55%),
    linear-gradient(160deg, #2a1a10, #140d08);
}
.b-monogramme {
  --or: #d4a650;
  width: 34%; max-width: 110px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #1d140e 0%, #0d0906 75%);
  border: 1px solid var(--or);
  box-shadow: inset 0 0 0 3px rgba(13, 9, 6, .9), inset 0 0 0 4px rgba(212, 166, 80, .4), 0 8px 24px rgba(0, 0, 0, .4);
}
.b-monogramme img { width: 62%; height: 62%; object-fit: contain; }

/* ---------- Hero ---------- */
.b-hero { text-align: center; padding: clamp(48px, 8vw, 96px) 20px 36px; max-width: 860px; margin: 0 auto; }
.b-hero .script { font-size: clamp(32px, 4vw, 44px); }
.b-hero h1 { font-size: clamp(38px, 5.4vw, 64px); margin-top: 2px; }
.b-hero-intro { color: var(--texte-doux); margin: 18px auto 0; max-width: 620px; font-size: 18px; }
.b-atouts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 28px; color: var(--creme); font-size: 15px; }
.b-atouts li { display: inline-flex; align-items: center; gap: 9px; }
.b-atouts svg { width: 20px; height: 20px; color: var(--caramel); }

/* Onglets des catégories (collants sous l'en-tête) */
.b-onglets {
  position: sticky; top: var(--header-h); z-index: 20;
  display: flex; justify-content: center; gap: 6px; padding: 12px 16px; overflow-x: auto; scrollbar-width: none;
  background: rgba(18, 12, 8, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ligne);
}
.b-onglets::-webkit-scrollbar { display: none; }
.b-onglets button {
  flex: none; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(246, 233, 216, .18);
  background: transparent; color: var(--creme); font-size: 15px; white-space: nowrap; transition: background .2s;
}
.b-onglets button:hover { background: rgba(246, 233, 216, .1); }

/* ---------- Catalogue ---------- */
.b-categorie {
  max-width: 1240px; margin: 0 auto; padding: 64px clamp(16px, 4vw, 40px) 8px;
  scroll-margin-top: calc(var(--header-h) + 64px);
}
.b-categorie-tete { margin-bottom: 26px; }
.b-categorie-tete h2 { font-size: clamp(34px, 4vw, 48px); }
.b-categorie-tete p { color: var(--texte-doux); margin-top: 4px; }
.b-groupe + .b-groupe { margin-top: 44px; }
.b-groupe-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 18px; }
.b-groupe-tete h3 {
  font-family: var(--f-caps); font-weight: 500; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--creme);
}
.b-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }

.b-carte {
  background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.b-carte:hover { transform: translateY(-4px); border-color: rgba(201, 132, 70, .55); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.b-carte-lien { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.b-carte .b-visuel img { transition: transform .6s; }
.b-carte:hover .b-visuel img { transform: scale(1.05); }
.b-carte-corps { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.b-carte :is(h3, h4) { font-family: var(--f-serif); font-weight: 600; font-size: 25px; line-height: 1.12; color: var(--creme); }
.b-carte :is(h3, h4) span { display: block; font-style: italic; font-weight: 500; color: var(--caramel); font-size: 21px; }
.b-carte :is(h3, h4) small, .b-fiche h2 small { font-family: var(--f-texte); font-style: normal; font-weight: 300; font-size: 15px; color: var(--texte-doux); }
.b-carte :is(h3, h4) small { display: block; margin-top: 4px; }
.b-fiche h2 small { font-size: 18px; white-space: nowrap; }
.b-carte-pied { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.b-prix { font-weight: 500; color: var(--creme); font-size: 17px; }
.b-carte.epuise .b-visuel { filter: grayscale(.8) brightness(.6); }
.b-carte.epuise h4, .b-carte.epuise .b-prix { opacity: .6; }

.b-rappel {
  max-width: 820px; margin: 64px auto 0; padding: 22px 26px; display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--ligne); border-radius: var(--radius); color: var(--texte-doux); font-size: 15px;
}
.b-rappel svg { width: 22px; height: 22px; flex: none; color: var(--caramel); margin-top: 2px; }
.b-rappel a { color: var(--orange); }

/* ---------- Fiche produit ---------- */
.b-fiche {
  width: min(980px, calc(100% - 32px)); max-height: calc(100svh - 32px); margin: auto; padding: 0;
  border: 1px solid var(--ligne); border-radius: 18px; background: var(--carte); color: var(--texte); overflow: auto;
}
.b-fiche::backdrop { background: rgba(8, 5, 3, .75); backdrop-filter: blur(3px); }
.b-fiche-grille { display: grid; grid-template-columns: 1fr 1.05fr; }
.b-fiche-visuel { aspect-ratio: auto; min-height: 100%; }
.b-fiche-visuel .b-monogramme { width: 40%; max-width: 150px; }
/* Fiche : photo entière (la bûche 10 personnes est longue), sur fond blanc */
.b-fiche-visuel img { object-fit: contain; }
.b-fiche-infos { position: relative; padding: 34px 34px 30px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.b-fiche-infos > .b-fermer { position: absolute; top: 16px; right: 16px; }
.b-kicker { font-family: var(--f-caps); font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--caramel); padding-right: 52px; }
.b-fiche h2 { font-size: clamp(32px, 3.6vw, 42px); margin-top: -6px; padding-right: 30px; }
.b-fiche-desc { color: var(--texte-doux); }
.b-choix { width: 100%; display: flex; flex-direction: column; gap: 16px; margin-top: 6px; }
.b-tailles { border: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.b-tailles legend { font-size: 14px; color: var(--texte-doux); margin-bottom: 8px; }
.b-tailles label { cursor: pointer; }
.b-tailles input { position: absolute; opacity: 0; pointer-events: none; }
.b-tailles span {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid rgba(246, 233, 216, .2); transition: border-color .2s, background .2s;
}
.b-tailles b { font-weight: 500; color: var(--creme); }
.b-tailles em { font-style: normal; color: var(--texte-doux); font-size: 15px; }
.b-tailles input:checked + span { border-color: var(--orange); background: rgba(252, 155, 0, .1); }
.b-tailles input:checked + span em { color: var(--orange); }
.b-tailles input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.b-tailles label.epuisee { cursor: not-allowed; opacity: .5; }
.b-tailles label.epuisee span { border-style: dashed; }
.b-tailles label.epuisee em { color: var(--texte-doux); }
.b-prix-unique { color: var(--texte-doux); }
.b-prix-unique b { color: var(--creme); font-weight: 500; }
.b-ligne-ajout { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.b-ajouter { flex: 1; justify-content: center; padding: 15px 24px; min-width: 200px; }

.b-qte {
  display: inline-flex; align-items: center; border: 1px solid rgba(246, 233, 216, .22); border-radius: 999px; height: 52px;
}
.b-qte button { width: 46px; height: 100%; border: 0; background: none; color: var(--creme); font-size: 22px; border-radius: 999px; }
.b-qte button:hover:not(:disabled) { background: rgba(246, 233, 216, .08); }
.b-qte button:disabled { opacity: .3; cursor: default; }
.b-qte output { min-width: 28px; text-align: center; font-weight: 500; color: var(--creme); }
.b-qte-petit { height: 38px; margin-top: 6px; align-self: flex-start; }
.b-qte-petit button { width: 36px; font-size: 18px; }

.b-epuise-msg { padding: 14px 16px; border-radius: 12px; background: rgba(246, 233, 216, .06); color: var(--texte-doux); }
.b-fiche-allergenes { width: 100%; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--ligne); display: flex; flex-direction: column; gap: 10px; }
.b-fiche-allergenes h3 { font-family: var(--f-caps); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--creme); }
.b-allergenes { display: flex; flex-wrap: wrap; gap: 8px; }
.b-allergenes li {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 8px; border-radius: 999px;
  background: rgba(246, 233, 216, .07); border: 1px solid var(--ligne); font-size: 14px; color: var(--creme);
}
.b-allergenes svg { width: 22px; height: 22px; color: var(--orange); stroke-width: 1.4; }
.b-traces { font-size: 14px; color: var(--texte-doux); }

/* ---------- Panier (tiroir) ---------- */
.b-voile { position: fixed; inset: 0; z-index: 80; background: rgba(8, 5, 3, .6); }
.b-tiroir {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--brun); border-left: 1px solid var(--ligne);
  transform: translateX(100%); transition: transform .35s ease; visibility: hidden;
}
.b-tiroir.ouvert { transform: none; visibility: visible; }
.b-tiroir-tete { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 18px 26px; border-bottom: 1px solid var(--ligne); }
.b-tiroir-tete h2 { font-size: 30px; }
.b-tiroir-corps { flex: 1; overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.b-tiroir-pied { padding: 18px 22px 22px; border-top: 1px solid var(--ligne); display: flex; flex-direction: column; gap: 12px; }
.b-tiroir-pied:empty { display: none; }
.b-vide { margin: auto; text-align: center; color: var(--texte-doux); display: grid; justify-items: center; gap: 12px; }
.b-vide svg { width: 44px; height: 44px; color: var(--caramel); }

.b-lignes { display: flex; flex-direction: column; }
.b-ligne { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--ligne); }
.b-ligne:first-child { padding-top: 0; }
.b-ligne-simple { grid-template-columns: 1fr auto; }
.b-mini { width: 64px; aspect-ratio: 1; border-radius: 10px; }
.b-mini .b-monogramme { width: 60%; box-shadow: none; }
.b-ligne-texte { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.b-ligne-texte strong { font-weight: 500; color: var(--creme); line-height: 1.3; }
.b-ligne-texte span { font-size: 14px; color: var(--texte-doux); }
.b-ligne-droite { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.b-ligne-droite b { font-weight: 500; color: var(--creme); white-space: nowrap; }
.b-retirer { border: 0; background: none; color: var(--texte-doux); padding: 4px; }
.b-retirer:hover { color: var(--erreur); }
.b-retirer svg { width: 18px; height: 18px; }
.b-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; }
.b-total strong { font-family: var(--f-serif); font-size: 32px; font-weight: 600; color: var(--creme); }

/* ---------- Commande ---------- */
.b-commande { max-width: 1180px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 40px) 20px; }
.b-commande > h1 { font-size: clamp(36px, 4.6vw, 54px); margin: 10px 0 26px; }
.b-commande > .b-alerte { margin-bottom: 20px; }
.b-commande-vide { text-align: center; padding-block: 100px; display: grid; justify-items: center; gap: 22px; }
.b-retour { display: inline-flex; align-items: center; gap: 8px; color: var(--texte-doux); text-decoration: none; font-size: 15px; }
.b-retour:hover { color: var(--orange); }
.b-retour svg { width: 18px; height: 18px; }
.b-commande-grille { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 34px; align-items: start; }

.b-form { display: flex; flex-direction: column; gap: 22px; }
.b-form fieldset { border: 1px solid var(--ligne); border-radius: var(--radius); padding: 24px 26px 26px; background: var(--carte); display: flex; flex-direction: column; gap: 14px; }
.b-form legend { display: flex; align-items: center; gap: 12px; padding: 0 10px; margin-left: -10px; font-family: var(--f-serif); font-size: 26px; font-weight: 600; color: var(--creme); }
.b-form legend span {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--caramel-bouton); color: #fff; font-family: var(--f-texte); font-size: 15px; font-weight: 500;
}
.b-aide { font-size: 15px; color: var(--texte-doux); }
.b-mois { font-family: var(--f-caps); font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--caramel); margin-top: 6px; }
.b-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.b-date { cursor: pointer; }
.b-date input { position: absolute; opacity: 0; pointer-events: none; }
.b-date span {
  display: flex; flex-direction: column; align-items: center; padding: 8px 4px 9px; border-radius: 12px;
  border: 1px solid rgba(246, 233, 216, .18); transition: border-color .2s, background .2s;
}
.b-date small { font-size: 12px; color: var(--texte-doux); text-transform: capitalize; }
.b-date b { font-family: var(--f-serif); font-size: 26px; font-weight: 600; line-height: 1.05; color: var(--creme); }
.b-date:hover span { border-color: rgba(252, 155, 0, .5); }
.b-date input:checked + span { background: var(--caramel-bouton); border-color: var(--caramel-bouton); }
.b-date input:checked + span small, .b-date input:checked + span b { color: #fff; }
.b-date input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

.b-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.b-champ { display: flex; flex-direction: column; gap: 6px; }
.b-champ-large { grid-column: 1 / -1; }
.b-champ > span { font-size: 14px; color: var(--creme); }
.b-champ small { color: var(--texte-doux); font-size: 13px; }
.b-champ input, .b-champ textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid rgba(246, 233, 216, .2);
  background: rgba(18, 12, 8, .6); color: var(--creme); font: inherit; font-size: 16px;
}
.b-champ textarea { resize: vertical; }
.b-champ input:focus, .b-champ textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252, 155, 0, .18); }
[aria-invalid] { border-color: var(--erreur) !important; }
.b-champ em, .b-erreur { font-style: normal; font-size: 14px; color: var(--erreur); }
.b-champ em:empty, .b-erreur:empty { display: none; }
.b-erreur-globale { padding: 12px 14px; border-radius: 10px; background: rgba(255, 138, 122, .1); border: 1px solid rgba(255, 138, 122, .35); color: var(--creme); }
.b-case { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.b-case input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--caramel); }
.b-case a { color: var(--orange); }
.b-payer { justify-content: center; font-size: 17px; margin-top: 6px; }
.b-infos-legales { margin: 0; padding: 12px 16px 12px 32px; border-radius: 12px; background: rgba(246, 233, 216, .05); font-size: 14px; color: var(--texte-doux); display: flex; flex-direction: column; gap: 4px; }

.b-recap {
  position: sticky; top: calc(var(--header-h) + 20px);
  border: 1px solid var(--ligne); border-radius: var(--radius); background: var(--carte); padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.b-ajouter { align-self: flex-start; min-height: 40px; padding: 8px 18px; font-size: 15px; }
.b-ajouter svg { width: 18px; height: 18px; }
.b-recap h2 { font-family: var(--f-serif); font-size: 26px; font-weight: 600; color: var(--creme); }

/* ---------- Suivi et boutique fermée ---------- */
.b-suivi, .b-ferme { max-width: 720px; margin: 0 auto; padding: clamp(56px, 9vw, 110px) 20px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.b-suivi h1, .b-ferme h1 { font-size: clamp(32px, 4.4vw, 50px); }
.b-suivi > p:not(.script), .b-ferme > p:not(.script) { color: var(--texte-doux); max-width: 580px; }
.b-suivi .script, .b-ferme .script { font-size: clamp(32px, 4vw, 42px); }
.b-numero { font-style: normal; font-family: var(--f-caps); font-weight: 600; letter-spacing: .04em; color: var(--orange); white-space: nowrap; }
.b-etat { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(127, 191, 127, .12); color: var(--ok); }
.b-etat svg { width: 44px; height: 44px; }
.b-attente {
  width: 56px; height: 56px; border-radius: 50%; border: 3px solid rgba(252, 155, 0, .2); border-top-color: var(--orange);
  animation: b-tourne 1s linear infinite;
}
@keyframes b-tourne { to { transform: rotate(360deg); } }
.b-suivi-carte { width: 100%; text-align: left; border: 1px solid var(--ligne); border-radius: var(--radius); background: var(--carte); padding: 24px; margin-top: 12px; display: flex; flex-direction: column; gap: 16px; }
.b-suivi-retrait { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--ligne); }
.b-suivi-retrait svg { width: 30px; height: 30px; color: var(--caramel); flex: none; }
.b-suivi-retrait div { display: flex; flex-direction: column; }
.b-suivi-retrait span, .b-suivi-retrait small { color: var(--texte-doux); font-size: 14px; }
.b-suivi-retrait strong { font-family: var(--f-serif); font-size: 26px; font-weight: 600; color: var(--creme); }
.b-suivi-retrait strong::first-letter { text-transform: uppercase; }
.b-ferme-logo { width: 150px; height: 150px; margin: 0 0 8px; }
.b-ferme-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 12px; }

/* Retour au site, en tête de la boutique */
.b-hero > .b-retour-haut { display: flex; width: fit-content; margin: calc(clamp(48px, 8vw, 96px) * -0.5) 0 26px; }

/* ---------- Mes commandes ---------- */
.b-suivi > .b-retour-haut { align-self: flex-start; margin: -24px 0 18px; }
.b-retour-haut svg { width: 18px; height: 18px; }
.b-lien-form { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 14px; text-align: left; margin-top: 8px; }
.b-lien-form .btn { justify-content: center; }
.b-mc-session { font-size: 15px; color: var(--texte-doux); }
.b-lien-texte { border: 0; background: none; padding: 0; color: var(--orange); font: inherit; text-decoration: underline; cursor: pointer; }
.b-mc-liste { width: 100%; list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.b-mc { border: 1px solid var(--ligne); border-radius: var(--radius); background: var(--carte); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.b-mc-annulee { opacity: .65; }
.b-mc-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.b-mc-tete .b-numero { font-size: 20px; }
.b-mc-tete small { margin-left: auto; color: var(--texte-doux); font-size: 14px; }
.b-statut { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 13px; background: rgba(246, 233, 216, .1); color: var(--creme); }
.b-statut-confirmee { background: rgba(127, 191, 127, .14); color: var(--ok); }
.b-statut-attente_paiement { background: rgba(240, 162, 74, .14); color: var(--alerte); }
.b-mc-retrait { display: flex; align-items: center; gap: 10px; color: var(--creme); }
.b-mc-retrait svg { width: 20px; height: 20px; color: var(--caramel); flex: none; }
.b-mc-retrait span::first-letter { text-transform: uppercase; }
.b-mc .b-lignes { margin: 0; }
.b-mc > .btn { align-self: flex-start; }
.b-mc-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 4px; }
.b-mc-pied p { color: var(--texte-doux); font-size: 15px; }
.b-mc-pied b { font-family: var(--f-serif); font-size: 24px; font-weight: 600; color: var(--creme); font-variant-numeric: lining-nums; }

.b-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100;
  padding: 12px 22px; border-radius: 999px; background: var(--creme); color: var(--brun); font-weight: 400; box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
.b-footer { margin-top: 80px; padding-top: 50px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .b-fiche-grille { grid-template-columns: 1fr; }
  .b-fiche-visuel { aspect-ratio: 16 / 9; min-height: 0; }
  .b-commande-grille { grid-template-columns: 1fr; }
  .b-recap { position: static; order: -1; }
  .b-header .icon-btn { display: grid; }
  .b-onglets { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .b-brand-texte .script { font-size: 24px; }
  .b-panier-libelle { display: none; }
  .b-panier-btn { padding: 0 14px; }
  .b-mes-commandes { width: 48px; padding: 0; justify-content: center; }
  .b-mes-commandes span { display: none; }
  .b-mc { padding: 16px; }
  .b-mc-tete small { margin-left: 0; width: 100%; }
  .b-tel { display: none !important; }
  .b-hero-intro { font-size: 16px; }
  .b-atouts { flex-direction: column; align-items: center; gap: 8px; }
  .b-grille { grid-template-columns: 1fr 1fr; gap: 12px; }
  .b-carte-corps { padding: 12px 12px 14px; gap: 6px; }
  .b-carte :is(h3, h4) { font-size: 19px; }
  .b-carte :is(h3, h4) span { font-size: 16px; }
  .b-photo-mention { right: 5px; bottom: 5px; padding: 1px 6px; font-size: 9.5px; }
  .b-etiquette-taille { left: 6px; top: 6px; padding: 2px 7px; font-size: 10.5px; }
  .b-carte :is(h3, h4) small { font-size: 13px; }
  .b-carte-pied { flex-direction: column; align-items: flex-start; gap: 6px; }
  .b-prix { font-size: 15px; }
  .b-fiche { width: 100%; max-height: 100svh; border-radius: 0; height: 100svh; max-width: none; }
  .b-fiche-infos { padding: 24px 20px 28px; }
  .b-fiche-infos > .b-fermer { position: fixed; top: 12px; right: 12px; z-index: 2; }
  .b-form fieldset { padding: 20px 16px 22px; }
  .b-champs { grid-template-columns: 1fr; }
  .b-dates { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); }
  .b-ajouter { min-width: 0; }
}

/* ---------- Pages légales ---------- */
.b-legal { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; display: flex; flex-direction: column; gap: 14px; }
.b-legal h1 { font-size: clamp(34px, 4.4vw, 50px); }
.b-legal h2 { font-family: var(--f-serif); font-size: 26px; font-weight: 600; color: var(--creme); margin-top: 14px; }
.b-legal p, .b-legal li, .b-legal td { color: var(--texte-doux); }
.b-legal > .script { font-size: clamp(30px, 4vw, 40px); margin-bottom: -10px; }
.b-legal strong { color: var(--creme); font-weight: 500; }
.b-legal a { color: var(--orange); }
.b-legal ul, .b-legal ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.b-legal h2 { scroll-margin-top: calc(var(--header-h) + 16px); }
.b-legal-maj { font-size: 14px; }
.b-legal-sommaire { border: 1px solid var(--ligne); border-radius: var(--radius); background: var(--carte); padding: 18px 22px; }
.b-legal-sommaire ol { columns: 2; column-gap: 32px; display: block; margin: 0; }
.b-legal-sommaire li { margin-bottom: 6px; break-inside: avoid; }
.b-tableau-defile { overflow-x: auto; border: 1px solid var(--ligne); border-radius: var(--radius); }
.b-legal-tableau { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.b-legal-tableau th, .b-legal-tableau td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--ligne); }
.b-legal-tableau thead th { color: var(--creme); font-weight: 500; background: var(--carte); }
.b-legal-tableau tbody th { color: var(--creme); font-weight: 400; width: 40%; }
.b-legal-tableau tr:last-child > * { border-bottom: 0; }
.b-legal code { font-size: 14px; color: var(--creme); }
@media (max-width: 560px) {
  .b-legal-sommaire ol { columns: 1; }
  .b-legal-retour { padding: 0 16px; font-size: 14px; }
}

/* Lien d'évitement : visible seulement au clavier. */
.b-evitement {
  position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 18px; border-radius: 999px;
  background: var(--creme); color: var(--brun); text-decoration: none; font-weight: 500; transition: top .15s;
}
.b-evitement:focus { top: 12px; }

/* Accès anticipé : bandeau visible uniquement pour le navigateur autorisé. */
.b-acces { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; padding: 10px 16px; background: var(--orange); color: var(--noir); font-size: 14px; text-align: center; }
.b-acces[hidden] { display: none; }
.b-acces .b-lien-texte { color: inherit; text-decoration: underline; }
