/* =====================================================================
   SUPERMART MALI — feuille de style de la boutique
   Charte : bleu Supermart #004AAD + jaune étoile #FFCF01 (logo)
   Typographies : Playfair Display (titres), Manrope (texte),
   Noto Naskh Arabic (arabe) — polices hébergées avec le site.
   ===================================================================== */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(manrope.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(playfair.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url(playfair-italic.woff2) format("woff2"); }
@font-face { font-family: "Noto Naskh Arabic"; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 114%;
  src: url(naskh-arabic.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --bleu: #004AAD; --bleu-vif: #0F62D6; --bleu-pale: #E8F0FC;
  --nuit: #061A3A; --nuit-2: #0B2552; --encre: #0D1A33;
  --texte: #1A2640; --doux: #5A6681; --pale: #8B95AC;
  --etoile: #FFCF01; --etoile-clair: #FFE15A; --etoile-pale: #FFF7D1; --or: #D9A300;
  --papier: #F3F5FA; --blanc: #FFFFFF; --ligne: #E3E8F2; --ligne-2: #D2D9E7;
  --piment: #E0312F; --vert: #11994C; --vert-pale: #E8F7EE;
  --grad-etoile: linear-gradient(135deg, #FFF3A3 0%, #FFD526 42%, #F0AE00 100%);
  --grad-etoile-texte: linear-gradient(100deg, #F0AE00 0%, #FFE15A 30%, #FFFBE0 45%, #FFD526 60%, #F0AE00 100%);
  --f-titre: "Playfair Display", "Noto Naskh Arabic", Georgia, "Times New Roman", serif;
  --f-texte: "Manrope", "Noto Naskh Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-code: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --r: 22px; --r-m: 16px; --r-s: 11px;
  --ombre: 0 1px 2px rgba(13, 26, 51, .05), 0 10px 28px -14px rgba(13, 26, 51, .22);
  --ombre-haute: 0 2px 4px rgba(13, 26, 51, .05), 0 26px 50px -20px rgba(13, 26, 51, .38);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-ressort: cubic-bezier(.34, 1.56, .64, 1);
  --gout: clamp(16px, 4vw, 40px);
  --max: 1320px;
  --entete: 74px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 140px; }
body {
  margin: 0; background: var(--papier); color: var(--texte);
  font: 500 15.5px/1.55 var(--f-texte); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.fige { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--etoile); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
mark { background: var(--etoile-pale); color: inherit; border-radius: 3px; padding: 0 1px; }
.ic { width: 20px; height: 20px; flex: none; }
.evitement { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.evitement:focus { top: 12px; }
.conteneur { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gout); }
.sous { color: var(--doux); }

html[lang="ar"] body, html[lang="ar"] input, html[lang="ar"] button { font-family: "Noto Naskh Arabic", "Manrope", system-ui, sans-serif; }
html[lang="ar"] * { letter-spacing: 0 !important; text-transform: none !important; }
html[lang="ar"] em { font-style: normal; }
[dir="rtl"] .fleche { transform: scaleX(-1); }

/* ---------------------------------------------------------- typographie */
.titre-1 { font: 800 clamp(30px, 4.4vw, 54px)/1.05 var(--f-titre); letter-spacing: -.02em; color: var(--encre); margin: 0; }
.titre-2 { font: 700 clamp(25px, 3.1vw, 40px)/1.1 var(--f-titre); letter-spacing: -.015em; color: var(--encre); margin: 0; }
.surtitre {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px;
  font: 800 11.5px/1 var(--f-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--bleu);
}
.surtitre::before { content: ""; width: 12px; height: 12px; background: var(--grad-etoile); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* ---------------------------------------------------------- boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 15px; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn--large { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--plein { width: 100%; }
.btn--etoile { background: var(--grad-etoile); color: var(--encre); box-shadow: 0 10px 24px -10px rgba(240, 174, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn--etoile:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(240, 174, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn--bleu { background: var(--bleu); color: #fff; box-shadow: 0 10px 22px -12px rgba(0, 74, 173, .9); }
.btn--bleu:hover { background: var(--bleu-vif); transform: translateY(-2px); }
.btn--vert { background: var(--vert); color: #fff; box-shadow: 0 10px 22px -12px rgba(17, 153, 76, .9); }
.btn--vert:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn--fant { background: #fff; border: 1.5px solid var(--ligne-2); color: var(--encre); }
.btn--fant:hover { border-color: var(--bleu); color: var(--bleu); }
.btn--verre { background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .28); color: #fff; }
.btn--verre:hover { background: rgba(255, 255, 255, .16); }
.btn--wa { background: #25D366; color: #06351B; margin-top: 14px; }
.rond {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid var(--ligne); color: var(--encre); transition: all .25s var(--ease);
}
.rond:hover { border-color: var(--bleu); color: var(--bleu); transform: translateY(-1px); }
.rond--etoile { background: var(--grad-etoile); border: 0; color: var(--encre); }
.lien-fleche { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--bleu); }
.lien-fleche .ic { width: 18px; transition: transform .3s var(--ease); }
.lien-fleche:hover .ic { transform: translateX(4px); }
[dir="rtl"] .lien-fleche:hover .ic { transform: scaleX(-1) translateX(4px); }
.lien-discret { color: var(--doux); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; margin-top: 12px; }
.lien-discret:hover { color: var(--piment); }
.tourne { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; display: inline-block; animation: tourne .8s linear infinite; }
.tourne--bleu { color: var(--bleu); width: 30px; height: 30px; }
@keyframes tourne { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------- bandeau d'annonces */
.annonce { background: var(--nuit); color: #DCE6FA; font-size: 13px; font-weight: 600; }
.annonce__in { height: 36px; position: relative; overflow: hidden; }
.annonce__piste p { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s var(--ease); padding-inline: var(--gout); }
.annonce__piste p.on { opacity: 1; transform: none; }
.annonce__piste p::before { content: "★"; color: var(--etoile); }

/* ---------------------------------------------------------- en-tête */
.entete { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--ligne); transition: box-shadow .3s; }
body.defile .entete { box-shadow: 0 10px 30px -18px rgba(13, 26, 51, .35); }
.entete__in { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); height: var(--entete); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 74, 173, .25)); transition: transform .6s var(--ease-ressort); }
.logo:hover img { transform: rotate(-12deg) scale(1.06); }
.logo__mot { display: flex; flex-direction: column; line-height: 1; }
.logo__mot b { font: 800 23px/1 var(--f-titre); color: var(--bleu); letter-spacing: -.01em; }
.logo__mot i { font: 800 10.5px/1 var(--f-texte); font-style: normal; letter-spacing: .42em; text-transform: uppercase; color: var(--or); margin-top: 4px; }
.logo--clair .logo__mot b { color: #fff; }

.recherche { position: relative; flex: 1; max-width: 640px; display: flex; align-items: center; }
.recherche input {
  width: 100%; height: 48px; border-radius: 999px; border: 1.5px solid var(--ligne-2); background: var(--papier);
  padding-inline: 48px 44px; font-size: 15px; font-weight: 600; outline: none; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.recherche input::placeholder { color: var(--pale); font-weight: 500; }
.recherche input:focus { border-color: var(--bleu); background: #fff; box-shadow: 0 0 0 5px rgba(0, 74, 173, .12); }
.recherche input::-webkit-search-cancel-button { display: none; }
.recherche__ic { position: absolute; inset-inline-start: 17px; color: var(--doux); pointer-events: none; display: flex; }
.recherche__kbd { position: absolute; inset-inline-end: 14px; font: 700 12px var(--f-code); color: var(--pale); border: 1px solid var(--ligne-2); border-radius: 6px; padding: 1px 7px; background: #fff; }
.recherche input:focus ~ .recherche__kbd { opacity: 0; }

.suggest {
  position: absolute; top: calc(100% + 10px); inset-inline: 0; z-index: 80; background: #fff; border-radius: 20px;
  border: 1px solid var(--ligne); box-shadow: var(--ombre-haute); padding: 8px; max-height: min(70vh, 620px); overflow: auto;
  animation: monte-doux .25s var(--ease);
}
.suggest__cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 6px 10px; border-bottom: 1px solid var(--ligne); margin-bottom: 6px; }
.suggest__cats a { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: hsl(var(--h) 90% 95%); color: hsl(var(--h) 60% 28%); }
.suggest__item { display: flex; align-items: center; gap: 8px; border-radius: 14px; padding: 4px 6px 4px 4px; transition: background-color .15s; }
.suggest__item:hover, .suggest__item.actif { background: var(--papier); }
.suggest__lien { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 4px; }
.suggest__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.suggest__txt b { font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest__txt small { color: var(--doux); font-size: 12px; }
.suggest__prix { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.suggest .carte__action .ajout span { display: none; }
.suggest .carte__action .ajout { width: 38px; padding: 0; }
.suggest__vide { padding: 18px; color: var(--doux); margin: 0; text-align: center; }
.suggest__tout { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 12px; margin-top: 6px; border-radius: 12px; font-weight: 800; color: var(--bleu); background: var(--bleu-pale); }

.entete__actions { display: flex; align-items: center; gap: 8px; }
.ic-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--encre); transition: background-color .2s, color .2s; }
.ic-btn:hover { background: var(--bleu-pale); color: var(--bleu); }
.ic-btn .ic { width: 22px; height: 22px; }
.pastille {
  position: absolute; top: 2px; inset-inline-end: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
  background: var(--piment); color: #fff; font: 800 11px/19px var(--f-texte); text-align: center; font-style: normal; border: 2px solid #fff;
}
.panier-btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 18px 0 14px; border-radius: 999px;
  background: var(--bleu); color: #fff; font-weight: 800; transition: transform .25s var(--ease), background-color .2s; box-shadow: 0 10px 22px -12px rgba(0, 74, 173, .9);
}
.panier-btn:hover { background: var(--bleu-vif); }
.panier-btn .ic { width: 22px; height: 22px; }
.panier-btn .pastille { top: -4px; inset-inline-start: 26px; inset-inline-end: auto; background: var(--etoile); color: var(--encre); border-color: var(--bleu); }
.panier-btn b { font-variant-numeric: tabular-nums; font-size: 14.5px; }
.panier-btn.bump { animation: bump .55s var(--ease-ressort); }
@keyframes bump { 30% { transform: scale(1.12) rotate(-3deg); } 60% { transform: scale(.96); } }

/* sélecteur de langue — pilule FR · EN · ع */
.langue { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1.5px solid var(--ligne-2); background: #fff; }
.langue button {
  min-width: 34px; height: 30px; padding: 0 10px; border-radius: 999px; font: 800 12px/1 var(--f-texte); letter-spacing: .1em;
  color: var(--doux); transition: color .2s, background .25s;
}
.langue button[lang="ar"] { font-family: "Noto Naskh Arabic", serif; font-size: 15px; letter-spacing: 0; padding-bottom: 3px; }
.langue button:hover { color: var(--bleu); }
.langue button.on { background: var(--grad-etoile); color: var(--encre); box-shadow: 0 4px 12px -4px rgba(240, 174, 0, .8); }
.pied .langue { background: rgba(255, 255, 255, .06); border-color: rgba(255, 207, 1, .3); }
.pied .langue button { color: #B9C6E2; }
.pied .langue button.on { color: var(--encre); }

/* nav rayons + méga-menu */
.rayons-nav { position: relative; border-top: 1px solid var(--ligne); transition: margin-top .35s var(--ease); }
body.cache-nav .rayons-nav { margin-top: -49px; }
.rayons-nav__in { display: flex; align-items: center; gap: 4px; height: 48px; overflow-x: auto; scrollbar-width: none; }
.rayons-nav__in::-webkit-scrollbar { display: none; }
.rayons-nav__in a, .rayons-nav__tous { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; color: var(--texte); transition: background-color .2s, color .2s; }
.rayons-nav__in a:hover { background: var(--bleu-pale); color: var(--bleu); }
.rayons-nav__tous { background: var(--encre); color: #fff; margin-inline-end: 8px; }
.rayons-nav__tous .ic { width: 17px; height: 17px; }
.rayons-nav__tous[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.rayons-nav__suivi { margin-inline-start: auto; color: var(--bleu) !important; }
.rayons-nav__suivi .ic { width: 18px; }
.mega { position: absolute; top: 100%; inset-inline: 0; background: #fff; border-top: 1px solid var(--ligne); box-shadow: 0 30px 60px -30px rgba(13, 26, 51, .45); z-index: 70; animation: monte-doux .3s var(--ease); max-height: 75vh; overflow: auto; }
.mega__in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-block: 26px 30px; }
.mega__dept { display: block; font: 700 21px/1.2 var(--f-titre); color: var(--encre); margin-bottom: 12px; }
.mega__cat { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; font-weight: 600; font-size: 14.5px; }
.mega__cat span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: hsl(var(--h) 90% 94%); font-size: 16px; }
.mega__cat em { margin-inline-start: auto; font-style: normal; font-size: 12px; color: var(--pale); font-weight: 700; }
.mega__cat:hover { background: var(--papier); color: var(--bleu); }

/* ---------------------------------------------------------- SECTION D'ACCUEIL */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--nuit); isolation: isolate; }
.hero__fond { position: absolute; inset: 0; z-index: -1; }
.hero__lueur { position: absolute; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; inset-inline-end: -12vw; top: -20%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 92, 214, .55) 0%, rgba(0, 74, 173, .18) 40%, transparent 68%); animation: respire 9s ease-in-out infinite; }
.hero__lueur--or { width: 34vw; height: 34vw; inset-inline-end: 12%; top: 38%; background: radial-gradient(circle, rgba(255, 207, 1, .22), transparent 65%); animation-delay: -4s; }
.hero__ciel { position: absolute; inset: 0; opacity: .55;
  background-image: radial-gradient(1.4px 1.4px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 70% 80%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 40% 70%, #C9D9FF 50%, transparent 51%), radial-gradient(1px 1px at 85% 15%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 55% 45%, #FFE680 50%, transparent 51%);
  background-size: 230px 190px, 310px 260px, 170px 210px, 290px 330px, 420px 380px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  animation: scintille 6s ease-in-out infinite alternate; }
@keyframes respire { 50% { transform: scale(1.08); opacity: .85; } }
@keyframes scintille { to { opacity: .25; transform: translateY(-12px); } }
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 120px; background: linear-gradient(to top, rgba(6, 26, 58, .9), transparent); z-index: -1; }

.hero__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding-block: clamp(34px, 5vw, 64px) clamp(70px, 7vw, 96px); min-height: min(760px, calc(100svh - 158px)); }
.hero__surtitre { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 800 12px/1 var(--f-texte); letter-spacing: .2em; text-transform: uppercase; color: var(--etoile-clair); }
.hero__puce { width: 26px; height: 2px; background: var(--grad-etoile); border-radius: 2px; }
.hero__titre { margin: 0; font: 800 clamp(40px, 4.7vw, 74px)/1.02 var(--f-titre); letter-spacing: -.025em; }
.hero__titre em {
  font-style: italic; font-weight: 700; background: var(--grad-etoile-texte); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: dore 6s linear infinite; padding-inline-end: .06em;
}
@keyframes dore { to { background-position: -220% 0; } }
.ligne-rv { display: block; overflow: hidden; padding-bottom: .08em; }
.ligne-rv .rv { display: inline-block; animation: sort-ligne 1s var(--ease) both; animation-delay: var(--d, 0s); }
.hero .rv:not(.ligne-rv .rv) { animation: monte 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes sort-ligne { from { transform: translateY(110%) rotate(2deg); } to { transform: none; } }
@keyframes monte { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes monte-doux { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero__sous { margin: 22px 0 0; max-width: 560px; font-size: clamp(15.5px, 1.25vw, 18px); color: #C5D3EE; line-height: 1.6; }
.hero__recherche {
  margin-top: 28px; max-width: 580px; display: flex; align-items: center; gap: 8px; height: 66px; padding: 7px; padding-inline-start: 22px;
  background: #fff; border-radius: 999px; color: var(--encre); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55), 0 0 0 6px rgba(255, 255, 255, .08);
}
.hero__recherche .ic { color: var(--doux); }
.hero__recherche input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; font-weight: 600; }
.hero__recherche input::-webkit-search-cancel-button { display: none; }
.hero__recherche .btn { height: 52px; }
.hero__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; }
.hero__chips span { color: #93A6CC; font-weight: 700; margin-inline-end: 2px; }
.hero__chips a { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); font-weight: 700; transition: all .25s var(--ease); }
.hero__chips a:hover { background: var(--etoile); color: var(--encre); border-color: var(--etoile); transform: translateY(-2px); }
.hero__chips--clair { justify-content: center; margin: 16px 0 22px; }
.hero__chips--clair a { background: #fff; border-color: var(--ligne-2); }
.hero__garanties { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; font-weight: 700; color: #DCE6FA; }
.hero__garanties li { display: inline-flex; align-items: center; gap: 8px; }
.hero__garanties .ic { color: var(--etoile); width: 19px; }

.hero__scene { position: relative; aspect-ratio: 1 / 1.08; width: 100%; max-height: 640px; }
.hero__scene canvas { position: absolute; top: 0; bottom: 0; left: -15%; width: 130%; max-width: none; height: 100%; }
.hero__sceau {
  position: absolute; left: 50%; top: 66%; width: clamp(74px, 8vw, 112px); aspect-ratio: 1; translate: -50% -50%;
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #EEF3FF 60%, #CFDCF7); box-shadow: 0 0 0 5px rgba(255, 207, 1, .9), 0 0 0 11px rgba(255, 255, 255, .12), 0 24px 40px -10px rgba(0, 0, 0, .6);
  animation: sceau 1.1s var(--ease-ressort) .95s both;
}
.hero__sceau img { width: 78%; height: 78%; object-fit: contain; animation: tourne-lent 26s linear 2s infinite; }
.hero__sceau::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px dashed rgba(255, 207, 1, .45); animation: tourne 30s linear infinite reverse; }
@keyframes sceau { from { transform: scale(0) rotate(-200deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tourne-lent { 0%, 82% { transform: rotate(0); } 90% { transform: rotate(-14deg) scale(1.06); } 100% { transform: rotate(0); } }
.hero__legende { position: absolute; top: 1%; left: 50%; translate: -50% 0; margin: 0; display: flex; direction: ltr; align-items: baseline; gap: 10px; font: 700 13px/1 var(--f-texte); letter-spacing: .32em; text-transform: uppercase; color: #fff; animation: monte 1s var(--ease) 1.4s both; white-space: nowrap; }
.hero__legende em { font: italic 600 26px/1 var(--f-titre); color: var(--etoile); letter-spacing: 0; }
.hero__defiler { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .35); display: grid; justify-items: center; padding-top: 7px; }
.hero__defiler span { width: 4px; height: 8px; border-radius: 2px; background: var(--etoile); animation: defiler 1.8s var(--ease) infinite; }
@keyframes defiler { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* vitrine animée */
.vitrine { position: absolute; left: 50%; translate: -50% 0; bottom: 0; width: min(350px, 92%); height: 104px; z-index: 2; }
.vitrine__carte {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 14px; padding: 10px; padding-inline-end: 14px; border-radius: 22px;
  background: rgba(255, 255, 255, .96); color: var(--encre); box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .5);
  transition: opacity .6s var(--ease), transform .7s var(--ease); overflow: hidden;
}
.vitrine__carte.entre { opacity: 0; transform: translateY(26px) scale(.96); }
.vitrine__carte.sort { opacity: 0; transform: translateY(-26px) scale(.96); }
.vitrine .cadre--vitrine { width: 84px; height: 84px; flex: none; border-radius: 16px; }
.vitrine .cadre--vitrine .cadre__emoji { font-size: 44px; }
.vitrine__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vitrine__label { font: 800 10.5px/1 var(--f-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--bleu); }
.vitrine__txt b { font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vitrine__prix { font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.vitrine__temps { position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad-etoile); transform-origin: left; animation: temps 4.2s linear both; }
[dir="rtl"] .vitrine__temps { transform-origin: right; }
@keyframes temps { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------------------------------------------------------- étiquettes défilantes (étal) */
.etal { background: var(--grad-etoile); padding: 14px 0; overflow: hidden; display: grid; gap: 10px; border-block: 1px solid rgba(0, 0, 0, .06); }
.etal__rang { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.etal__piste { display: flex; gap: 12px; width: max-content; animation: defile 90s linear infinite; }
.etal__rang--inverse .etal__piste { animation-direction: reverse; animation-duration: 110s; }
.etal:hover .etal__piste { animation-play-state: paused; }
[dir="rtl"] .etal__piste { animation-name: defile-rtl; }
@keyframes defile { to { transform: translateX(-50%); } }
@keyframes defile-rtl { to { transform: translateX(50%); } }
.etiquette { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding-inline: 8px 0; border-radius: 12px; background: #fff; box-shadow: 0 6px 14px -8px rgba(110, 80, 0, .6); white-space: nowrap; overflow: hidden; transition: transform .25s var(--ease); }
.etiquette:hover { transform: translateY(-3px) rotate(-1deg); }
.etiquette__emoji { font-size: 22px; }
.etiquette__nom { font-weight: 700; font-size: 13.5px; color: var(--encre); max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.etiquette__prix { height: 100%; display: grid; place-items: center; padding-inline: 12px; background: var(--encre); color: var(--etoile); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------- sections */
.section { padding-block: clamp(46px, 6.5vw, 92px); }
.rail { padding-block: clamp(26px, 3.4vw, 46px); }
.rail + .rail, #rails-dyn:empty + .rail { padding-top: clamp(10px, 1.6vw, 22px); }
.section--serre { padding-block: 10px clamp(48px, 6vw, 80px); }
.section__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: clamp(18px, 2.4vw, 30px); flex-wrap: wrap; }
.section__tete--centre { justify-content: center; text-align: center; }
.apparait { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.apparait.vu { opacity: 1; transform: none; }

/* rayons */
.depts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.dept { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); padding: 20px; box-shadow: var(--ombre); }
.dept__tete { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.dept__tete h3 { margin: 0; font: 700 22px/1.15 var(--f-titre); color: var(--encre); }
.dept__tete h3 a:hover { color: var(--bleu); }
.dept__tete span { font-size: 12.5px; font-weight: 700; color: var(--pale); white-space: nowrap; }
.dept__cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.section--serre .depts, .section--serre > .dept { margin-bottom: 18px; }
.section--serre > .dept .dept__cats { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.tuile {
  position: relative; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  padding: 10px; border-radius: 15px; background: hsl(var(--h) 80% 97.5%); border: 1px solid hsl(var(--h) 60% 92%);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
.tuile:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 14px 26px -16px hsl(var(--h) 60% 30% / .6); }
.tuile__emoji { grid-row: span 2; width: 42px; height: 42px; display: grid; place-items: center; font-size: 23px; border-radius: 12px; background: hsl(var(--h) 85% 91%); transition: transform .5s var(--ease-ressort); }
.tuile:hover .tuile__emoji { transform: rotate(-10deg) scale(1.12); }
.tuile__nom { font-size: 13.5px; font-weight: 700; line-height: 1.25; color: var(--encre); }
.tuile__nb { font-size: 11.5px; font-weight: 700; color: hsl(var(--h) 45% 42%); }

/* rails */
.rail__nav { display: flex; align-items: center; gap: 8px; }
.rail__nav .lien-fleche { margin-inline-end: 6px; }
.rail__piste {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(170px, 19vw, 236px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x proximity; padding-block: 6px 24px; scrollbar-width: none;
  --pad: max(var(--gout), calc((100% - var(--max)) / 2 + var(--gout)));
  padding-inline: var(--pad); scroll-padding-inline: var(--pad);
}
.rail__piste::-webkit-scrollbar { display: none; }
.rail__piste > * { scroll-snap-align: start; }

/* grille */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

/* ---------------------------------------------------------- CARTE PRODUIT & CADRE ANIMÉ */
.carte {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ligne); border-radius: var(--r);
  padding: 9px; box-shadow: var(--ombre); container-type: inline-size;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.carte:hover { transform: translateY(-7px); box-shadow: 0 30px 50px -26px hsl(var(--h) 55% 25% / .55), 0 2px 6px rgba(13, 26, 51, .05); border-color: hsl(var(--h) 60% 84%); }

.cadre {
  position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 16px; overflow: hidden; isolation: isolate;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s var(--ease), box-shadow .4s var(--ease); will-change: transform;
}
.cadre__fond {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 50% 30%, hsl(var(--h) 100% 98%) 0%, hsl(var(--h) 80% 92%) 55%, hsl(var(--h) 60% 84%) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), inset 0 -26px 46px -26px hsl(var(--h) 60% 40% / .35);
}
.cadre__fond::after { content: ""; position: absolute; inset: 8px; border-radius: 11px; border: 1px solid hsl(var(--h) 70% 100% / .9); }
.cadre--photo .cadre__fond { background: radial-gradient(120% 90% at 50% 25%, #fff 0%, hsl(var(--h) 60% 97%) 60%, hsl(var(--h) 40% 92%) 100%); }
.cadre__etoile {
  position: absolute; width: 74%; z-index: -1; fill: hsl(var(--h) 90% 99% / .75); filter: drop-shadow(0 4px 10px hsl(var(--h) 60% 40% / .12));
  transform: rotate(-10deg) scale(.9); transition: transform 1s var(--ease-ressort), fill .5s;
}
.cadre__emoji {
  font-size: clamp(54px, 13cqi, 78px); line-height: 1; user-select: none;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  filter: drop-shadow(0 16px 12px hsl(var(--h) 50% 25% / .3)); transform: translateZ(40px);
  transition: transform .7s var(--ease-ressort), filter .5s;
}
.cadre__emoji.sm { font-size: 26px; filter: drop-shadow(0 5px 4px rgba(0, 0, 0, .18)); }
.cadre__emoji.xl { font-size: clamp(110px, 16vw, 190px); }
.cadre__img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease); filter: drop-shadow(0 14px 14px rgba(13, 26, 51, .16)); }
.cadre__reflet {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .6), transparent 48%);
}
.cadre::after {
  content: ""; position: absolute; inset: -30%; z-index: 3; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform 1.1s var(--ease);
}
.carte:hover .cadre, .cadre[data-tilt]:hover { box-shadow: 0 18px 30px -18px hsl(var(--h) 60% 25% / .5); }
.carte:hover .cadre__emoji, .cadre[data-tilt]:hover .cadre__emoji { transform: translateZ(40px) translateY(-9px) scale(1.14) rotate(-5deg); filter: drop-shadow(0 26px 16px hsl(var(--h) 50% 25% / .3)); }
.carte:hover .cadre__img, .cadre[data-tilt]:hover .cadre__img { transform: scale(1.09) translateY(-4px); }
.carte:hover .cadre__etoile, .cadre[data-tilt]:hover .cadre__etoile { transform: rotate(26deg) scale(1.06); fill: hsl(var(--h) 100% 99% / .95); }
.carte:hover .cadre__reflet, .cadre[data-tilt]:hover .cadre__reflet { opacity: 1; }
.carte:hover .cadre::after, .cadre[data-tilt]:hover::after { transform: translateX(100%); }
.cadre--mini { width: 52px; height: 52px; flex: none; border-radius: 12px; transform: none; }
.cadre--mini .cadre__fond::after, .cadre--mini::after { display: none; }
.cadre--mini .cadre__img { width: 88%; height: 88%; }

.badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 5px; z-index: 4; align-items: flex-start; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 8px; font: 800 11.5px/1 var(--f-texte); letter-spacing: .03em; }
.badge--promo { background: var(--piment); color: #fff; }
.badge--new { background: var(--encre); color: var(--etoile); }
.coeur {
  position: absolute; top: 17px; inset-inline-end: 17px; z-index: 5; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--doux); box-shadow: 0 4px 12px -4px rgba(13, 26, 51, .3);
  opacity: .0; transform: scale(.8); transition: all .3s var(--ease-ressort);
}
.coeur .ic { width: 18px; height: 18px; }
.carte:hover .coeur, .coeur.on, .coeur:focus-visible { opacity: 1; transform: none; }
.coeur:hover { color: var(--piment); }
.coeur.on { color: #fff; background: var(--piment); }
.coeur.on .ic { fill: currentColor; }
@media (hover: none) { .coeur { opacity: 1; transform: none; } }

.carte__corps { display: flex; flex-direction: column; flex: 1; padding: 12px 5px 3px; }
.carte__rayon { font-size: 11.5px; font-weight: 800; color: hsl(var(--h) 55% 38%); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carte__nom { margin: 4px 0 12px; font: 700 14.5px/1.35 var(--f-texte); color: var(--encre); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.carte__nom a:hover { color: var(--bleu); }
.carte__bas { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prix { display: flex; flex-direction: column; line-height: 1.1; }
.prix strong { font-size: 18px; font-weight: 800; color: var(--encre); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prix s { font-size: 12.5px; color: var(--pale); font-weight: 600; }
.carte__action { display: flex; }
.ajout {
  display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 13px 0 10px; border-radius: 999px;
  background: var(--encre); color: #fff; font-weight: 800; font-size: 13px; transition: transform .25s var(--ease-ressort), background .25s;
}
.ajout .ic { width: 17px; height: 17px; }
.ajout:hover { background: var(--bleu); transform: scale(1.05); }
.ajout:active { transform: scale(.94); }
@container (max-width: 205px) { .ajout span { display: none; } .ajout { width: 38px; padding: 0; justify-content: center; } }
.pas { display: inline-flex; align-items: center; height: 38px; border-radius: 999px; background: var(--grad-etoile); box-shadow: 0 6px 14px -8px rgba(240, 174, 0, .9); animation: pop .35s var(--ease-ressort); }
.pas button { width: 34px; height: 100%; display: grid; place-items: center; color: var(--encre); border-radius: 50%; }
.pas button .ic { width: 16px; height: 16px; }
.pas button:hover { background: rgba(255, 255, 255, .45); }
.pas output { min-width: 18px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.pas--petit { height: 32px; background: var(--papier); box-shadow: none; animation: none; margin-top: 6px; }
.pas--petit button { width: 30px; }
.pas--grand { height: 56px; padding: 0 4px; }
.pas--grand button { width: 46px; }
.pas--grand output { min-width: 34px; font-size: 18px; }
@keyframes pop { from { transform: scale(.7); } }
.carte__epuise { font-size: 12.5px; font-weight: 800; color: var(--piment); }

.carte--squelette .cadre, .carte--squelette i { background: linear-gradient(90deg, #EEF1F7 25%, #F8F9FC 50%, #EEF1F7 75%); background-size: 200% 100%; animation: brille 1.4s infinite; }
.carte--squelette i { display: block; height: 12px; border-radius: 6px; margin: 8px 0; }
.carte--squelette i:nth-child(2) { width: 80%; } .carte--squelette i:nth-child(3) { width: 40%; height: 18px; }
@keyframes brille { to { background-position: -200% 0; } }

/* ---------------------------------------------------------- étapes */
.etapes { background: #fff; border-block: 1px solid var(--ligne); }
.etapes__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: e; position: relative; }
.etape { position: relative; padding: 24px 22px 22px; border-radius: var(--r); background: var(--papier); border: 1px solid var(--ligne); }
.etape__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--grad-etoile); color: var(--encre); font: 800 20px/1 var(--f-titre); margin-bottom: 14px; box-shadow: 0 8px 18px -8px rgba(240, 174, 0, .9); }
.etape h3 { margin: 0 0 6px; font: 700 19px/1.2 var(--f-titre); color: var(--encre); }
.etape p { margin: 0; color: var(--doux); font-size: 14.5px; }

/* partenaire */
.partenaire__in { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); background: linear-gradient(120deg, var(--nuit), var(--nuit-2)); color: #DDE6F8; border-radius: 28px; padding: clamp(24px, 4vw, 48px); position: relative; overflow: hidden; }
.partenaire__in::after { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 260px; height: 260px; background: var(--grad-etoile); opacity: .14; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.partenaire .titre-2 { color: #fff; }
.partenaire .surtitre { color: var(--etoile); }
.partenaire p { max-width: 760px; margin: 10px 0 0; }
.partenaire__sceau { font-size: 46px; width: 92px; height: 92px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 207, 1, .35); }

/* ---------------------------------------------------------- en-têtes de page, filtres */
.tete-page { padding-top: clamp(20px, 3vw, 36px); padding-bottom: 18px; }
.tete-page--fine { padding-bottom: 0; }
.tete-page__titre { display: flex; align-items: center; gap: 16px; }
.tete-page__emoji { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; font-size: 36px; background: hsl(var(--h) 85% 92%); flex: none; }
.tete-page__sous { margin: 8px 0 0; color: var(--doux); font-weight: 600; }
.fil { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; color: var(--pale); margin-bottom: 14px; }
.fil a:hover { color: var(--bleu); }
.fil [aria-current] { color: var(--doux); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.puces { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 2px; scrollbar-width: none; }
.puces::-webkit-scrollbar { display: none; }
.puces a { flex: none; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--ligne); font-size: 13.5px; font-weight: 700; transition: all .2s; }
.puces a:hover { border-color: hsl(var(--h) 60% 70%); }
.puces a.on { background: var(--encre); color: #fff; border-color: var(--encre); }
.filtres { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.filtres__prix { display: flex; flex-wrap: wrap; gap: 8px; }
.filtres__prix button { height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ligne-2); background: #fff; font-size: 13.5px; font-weight: 700; transition: all .2s; }
.filtres__prix button:hover { border-color: var(--bleu); }
.filtres__prix button.on { background: var(--bleu); color: #fff; border-color: var(--bleu); }
.filtres__tri { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--doux); }
.filtres__tri select { height: 40px; border-radius: 12px; border: 1px solid var(--ligne-2); background: #fff; padding: 0 12px; font-weight: 700; color: var(--encre); }
.plus { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 30px; color: var(--doux); font-size: 14px; font-weight: 600; }
.etat { text-align: center; padding: clamp(40px, 8vw, 90px) 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--doux); }
.etat > .ic, .etat__ic .ic { width: 52px; height: 52px; color: var(--bleu); }
.etat p { max-width: 520px; margin: 0; }
.etat--mini { grid-column: 1 / -1; padding: 30px; }

/* ---------------------------------------------------------- fiche produit */
.fiche { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 60px); padding-top: 10px; padding-bottom: 20px; align-items: start; }
.fiche__visuel { position: sticky; top: 140px; }
.cadre--fiche { border-radius: 30px; box-shadow: var(--ombre-haute); }
.cadre--fiche .cadre__fond::after { inset: 14px; border-radius: 20px; }
.coeur--fiche { top: 18px; inset-inline-end: 18px; width: 48px; height: 48px; opacity: 1; transform: none; }
.coeur--fiche .ic { width: 22px; height: 22px; }
.fiche__rayon { display: inline-flex; gap: 6px; font-size: 13px; font-weight: 800; color: hsl(var(--h) 55% 36%); background: hsl(var(--h) 85% 95%); padding: 7px 13px; border-radius: 999px; }
.fiche__nom { font: 800 clamp(28px, 3.4vw, 46px)/1.08 var(--f-titre); letter-spacing: -.015em; color: var(--encre); margin: 14px 0 16px; }
.fiche__prix { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.fiche__prix strong { font-size: clamp(30px, 3vw, 40px); font-weight: 800; color: var(--bleu); font-variant-numeric: tabular-nums; }
.fiche__prix s { font-size: 18px; color: var(--pale); }
.fiche__stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--vert); margin: 10px 0 20px; font-size: 14px; }
.fiche__stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(17, 153, 76, .15); }
.fiche__stock.off { color: var(--piment); }
.fiche__achat { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.fiche__achat .btn { flex: 1; min-width: 220px; }
.fiche__dans { display: flex; align-items: center; gap: 8px; color: var(--vert); font-weight: 700; margin: 4px 0 0; }
.fiche__plus { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 10px; }
.fiche__plus li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-m); }
.fiche__plus .ic { color: var(--bleu); margin-top: 2px; }
.fiche__plus b { display: block; color: var(--encre); }
.fiche__plus span { font-size: 14px; color: var(--doux); }
.fiche__desc h2 { font: 700 20px var(--f-titre); margin: 0 0 6px; }
.fiche__desc p { color: var(--doux); margin: 0 0 12px; }

/* ---------------------------------------------------------- panier (tiroir et page) */
#voile { position: fixed; inset: 0; z-index: 90; background: rgba(6, 26, 58, .5); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .4s; }
#voile.on { opacity: 1; pointer-events: auto; }
.tiroir {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 100; width: min(450px, 100%); background: #fff; display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .5s var(--ease); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .4);
}
[dir="rtl"] .tiroir { transform: translateX(-105%); }
.tiroir.ouvert { transform: none !important; }
.tiroir__tete { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--ligne); }
.tiroir__tete h2 { margin: 0; font: 700 24px var(--f-titre); }
.tiroir__tete small { font: 700 13px var(--f-texte); color: var(--doux); margin-inline-start: 6px; }
.lignes { list-style: none; margin: 0; padding: 6px 20px; overflow: auto; flex: 1; }
.lignes--page { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); padding: 6px 18px; }
.ligne { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ligne); align-items: start; animation: monte-doux .35s var(--ease); }
.ligne:last-child { border-bottom: 0; }
.ligne__vis.cadre--mini { width: 64px; height: 64px; }
.ligne__info { min-width: 0; display: flex; flex-direction: column; }
.ligne__nom { font-weight: 700; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ligne__pu { font-size: 12.5px; color: var(--doux); margin-top: 2px; }
.ligne__fin { display: flex; flex-direction: column; align-items: flex-end; text-align: end; }
.ligne__fin strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ligne__fin .lien-discret { margin-top: 8px; font-size: 12.5px; }
.tiroir__pied { padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ligne); display: grid; gap: 10px; background: var(--papier); }
.tiroir__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.tiroir__total strong { font-size: 24px; font-variant-numeric: tabular-nums; color: var(--encre); }
.tiroir__note { font-size: 12.5px; color: var(--doux); margin: 0 0 4px; }
.vide { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--doux); padding: 30px; }
.vide > .ic { width: 56px; height: 56px; color: var(--ligne-2); }
.gratuit { padding: 12px 20px 0; font-size: 13px; font-weight: 700; color: var(--encre); }
.gratuit p { margin: 0 0 8px; }
.gratuit__barre { height: 7px; border-radius: 9px; background: var(--ligne); overflow: hidden; }
.gratuit__barre i { display: block; height: 100%; background: var(--grad-etoile); border-radius: 9px; transition: width .6s var(--ease); }
.panier-page { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.recap { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); padding: 22px; box-shadow: var(--ombre); position: sticky; top: 140px; display: grid; gap: 10px; }
.recap h2 { margin: 0 0 4px; font: 700 22px var(--f-titre); }
.recap h2 small { font: 700 13px var(--f-texte); color: var(--doux); }
.recap .gratuit { padding: 0; }
.recap__articles { list-style: none; margin: 0; padding: 0 0 8px; border-bottom: 1px solid var(--ligne); display: grid; gap: 8px; max-height: 280px; overflow: auto; }
.recap__articles li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; font-size: 13.5px; align-items: start; }
.recap__q { font-weight: 800; color: var(--bleu); }
.recap__n { color: var(--texte); line-height: 1.35; }
.recap__articles b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.recap__ligne { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; color: var(--doux); }
.recap__ligne b { color: var(--encre); font-variant-numeric: tabular-nums; }
.recap__total { padding-top: 10px; border-top: 1px dashed var(--ligne-2); font-size: 17px; color: var(--encre); }
.recap__total b { font-size: 24px; }
.recap__secu { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--doux); margin: 4px 0 0; }
.recap__secu .ic { width: 16px; color: var(--vert); margin-top: 2px; }

/* ---------------------------------------------------------- formulaire de commande */
.commande { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.commande__etapes { display: grid; gap: 18px; }
.bloc { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); padding: clamp(18px, 2.5vw, 26px); margin: 0; box-shadow: var(--ombre); }
.bloc h2 { margin: 0 0 14px; font: 700 22px var(--f-titre); }
.bloc legend { display: flex; align-items: center; gap: 12px; font: 700 22px var(--f-titre); color: var(--encre); padding: 0; margin-bottom: 16px; float: left; width: 100%; }
.bloc legend + * { clear: both; }
.bloc__num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--encre); color: var(--etoile); font: 800 16px var(--f-titre); flex: none; }
.bloc--info { display: flex; gap: 14px; align-items: flex-start; background: var(--bleu-pale); border-color: #CFDDF5; box-shadow: none; }
.bloc--info p { margin: 4px 0 0; color: var(--doux); }
.bloc--vert { background: var(--vert-pale); border-color: #BFE6CE; box-shadow: none; margin-top: 16px; }
.champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.champ { display: flex; flex-direction: column; gap: 7px; font-weight: 700; font-size: 14px; color: var(--encre); margin-bottom: 4px; }
.champ--large { grid-column: 1 / -1; }
.champ em { font-style: normal; color: var(--pale); font-weight: 600; }
.champ small { font-weight: 500; color: var(--doux); font-size: 12.5px; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; border-radius: 14px; border: 1.5px solid var(--ligne-2); background: #fff; padding: 12px 15px;
  font-size: 15.5px; font-weight: 600; outline: 0; transition: border-color .2s, box-shadow .2s;
}
.champ textarea { resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--bleu); box-shadow: 0 0 0 4px rgba(0, 74, 173, .12); }
.champ.erreur input, .champ.erreur select { border-color: var(--piment); box-shadow: 0 0 0 4px rgba(224, 49, 47, .12); }
.champ__tel { display: flex; align-items: stretch; border: 1.5px solid var(--ligne-2); border-radius: 14px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.champ__tel:focus-within { border-color: var(--bleu); box-shadow: 0 0 0 4px rgba(0, 74, 173, .12); }
.champ.erreur .champ__tel { border-color: var(--piment); }
.champ__tel b { display: grid; place-items: center; padding: 0 12px; background: var(--papier); color: var(--doux); border-inline-end: 1px solid var(--ligne-2); }
.champ__tel input { border: 0 !important; box-shadow: none !important; border-radius: 0; }
.choix-mode { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-bottom: 16px; }
.choix { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; border: 1.5px solid var(--ligne-2); cursor: pointer; transition: all .2s; background: #fff; }
.choix:hover { border-color: var(--bleu); }
.choix.sel { border-color: var(--bleu); background: var(--bleu-pale); box-shadow: 0 0 0 3px rgba(0, 74, 173, .12); }
.choix input { position: absolute; opacity: 0; pointer-events: none; }
.choix > .ic { color: var(--bleu); width: 24px; height: 24px; }
.choix b { display: block; color: var(--encre); }
.choix small { display: block; color: var(--doux); font-weight: 500; font-size: 13px; }
.puce-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ligne-2); flex: none; display: grid; place-items: center; transition: border-color .2s; }
.choix.sel .puce-radio { border-color: var(--bleu); }
.choix.sel .puce-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--bleu); animation: pop .3s var(--ease-ressort); }
.alerte { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #FDECEC; color: #A1201F; font-weight: 700; font-size: 14px; margin: 10px 0; }
.alerte--vert { background: var(--vert-pale); color: #0B6B35; }
.alerte .ic { width: 18px; margin-top: 1px; }

/* ---------------------------------------------------------- suivi de commande & paiement */
.merci { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: var(--r); background: linear-gradient(120deg, #EAF7EF, #F4FBF7); border: 1px solid #C7EAD3; margin-bottom: 20px; animation: monte .8s var(--ease); }
.merci p { margin: 6px 0 0; color: var(--doux); }
.merci__etoile { position: relative; width: 70px; height: 70px; flex: none; display: grid; place-items: center; }
.merci__etoile .cadre__etoile { position: absolute; inset: 0; z-index: 0; width: 100%; fill: var(--etoile); transform: none; animation: sceau 1s var(--ease-ressort) both; filter: drop-shadow(0 8px 14px rgba(240, 174, 0, .6)); }
.merci__etoile > .ic { position: relative; width: 26px; height: 26px; color: var(--encre); stroke-width: 3; }
.suivi { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.suivi__main { display: grid; gap: 16px; }
.suivi__tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.suivi__tete .sous { margin: 4px 0 0; font-size: 13.5px; }
.suivi__adresse { display: flex; gap: 10px; font-size: 13.5px; color: var(--doux); padding-top: 8px; border-top: 1px solid var(--ligne); }
.suivi__adresse .ic { color: var(--bleu); width: 18px; }
.statut { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; background: var(--papier); color: var(--doux); }
.statut::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.statut--a_payer, .statut--signale { background: var(--etoile-pale); color: #8A6400; }
.statut--signale::before { animation: pouls 1.4s infinite; }
.statut--payee, .statut--preparation { background: var(--bleu-pale); color: var(--bleu); }
.statut--expedition { background: #EEE8FF; color: #5B3CC4; }
.statut--terminee { background: var(--vert-pale); color: #0B6B35; }
.statut--annulee { background: #FDECEC; color: var(--piment); }
.statut--livraison { background: var(--vert-pale); color: #0B6B35; }
.frise { list-style: none; padding: 20px; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); position: relative; }
.frise li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 13px; color: var(--pale); }
.frise li::before { content: ""; position: absolute; top: 14px; inset-inline-start: calc(-50% + 16px); width: calc(100% - 32px); height: 3px; border-radius: 3px; background: var(--ligne); }
.frise li:first-child::before { display: none; }
.frise li.fait::before, .frise li.cours::before { background: var(--grad-etoile); }
.frise__pt { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ligne); color: #fff; }
.frise__pt .ic { width: 16px; height: 16px; stroke-width: 3; }
.frise li.fait .frise__pt { background: var(--vert); }
.frise li.cours .frise__pt { background: var(--etoile); box-shadow: 0 0 0 6px rgba(255, 207, 1, .25); animation: pouls-anneau 1.8s infinite; }
.frise li.fait b, .frise li.cours b { color: var(--encre); }
.frise small { font-size: 11.5px; color: var(--doux); }
@keyframes pouls-anneau { 50% { box-shadow: 0 0 0 11px rgba(255, 207, 1, .08); } }
@keyframes pouls { 50% { opacity: .3; } }

.ticket {
  position: relative; color: #E9EEF9; border-radius: 26px; padding: clamp(20px, 3vw, 30px);
  background: radial-gradient(120% 80% at 100% 0%, rgba(0, 92, 214, .45), transparent 60%), linear-gradient(160deg, var(--nuit-2), var(--nuit));
  box-shadow: 0 30px 60px -30px rgba(6, 26, 58, .9);
  -webkit-mask: radial-gradient(14px at 0 52%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(14px at 100% 52%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(14px at 0 52%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(14px at 100% 52%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket__marque { display: inline-flex; align-items: center; gap: 8px; font: 800 12px/1 var(--f-texte); letter-spacing: .2em; text-transform: uppercase; color: var(--etoile); }
.ticket__marque::before { content: "★"; font-size: 14px; }
.ticket__label { margin: 16px 0 2px; font-size: 13.5px; color: rgba(233, 238, 249, .7); }
.ticket__montant { margin: 0; font: 800 clamp(30px, 4vw, 40px)/1.1 var(--f-code); color: var(--etoile-clair); font-variant-numeric: tabular-nums; }
.ticket__ussd { margin: 4px 0 8px; font: 700 clamp(21px, 3vw, 30px)/1.25 var(--f-code); color: #fff; word-break: break-all; letter-spacing: .04em; }
.ticket__ussd i { font-style: normal; color: var(--etoile); }
.ticket small { display: block; font-size: 13px; color: rgba(233, 238, 249, .75); line-height: 1.5; }
.ticket__perf { border-top: 2px dashed rgba(255, 255, 255, .18); margin: 18px -6px; }
.ticket__actions { display: grid; gap: 10px; }
.ticket__actions .btn { width: 100%; }
.ticket__aide { margin-top: 12px; }
.ticket__garde { display: flex; gap: 12px; margin-top: 18px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.ticket__garde .ic { color: var(--etoile); margin-top: 2px; }
.ticket__garde p { margin: 0; font-size: 13px; color: rgba(233, 238, 249, .8); }
.ticket__garde b { display: block; color: #fff; margin-bottom: 3px; }
.ticket--off p { margin: 12px 0 0; }
.ticket .alerte { margin-top: 12px; }
.note-legale { font-size: 12.5px; color: var(--doux); margin: 0; }
.attente { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: var(--etoile-pale); border: 1px solid #F3DE85; }
.attente p { margin: 4px 0 0; color: #6B5200; }
.attente__pouls { width: 14px; height: 14px; border-radius: 50%; background: var(--or); margin-top: 6px; flex: none; animation: pouls-or 1.6s infinite; }
@keyframes pouls-or { 0% { box-shadow: 0 0 0 0 rgba(217, 163, 0, .55); } 100% { box-shadow: 0 0 0 16px rgba(217, 163, 0, 0); } }
.billets { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.billet { height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid #9AD3B0; background: #fff; font-weight: 800; color: #0B6B35; }
.billet.on { background: var(--vert); color: #fff; border-color: var(--vert); }
.suivi-accueil { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.mes-cmd { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mes-cmd a { display: grid; grid-template-columns: 1fr auto auto 20px; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid var(--ligne); transition: border-color .2s, background .2s; }
.mes-cmd a:hover { border-color: var(--bleu); background: var(--papier); }
.mes-cmd a > b { grid-column: 1; }
.mes-cmd a > span:not(.statut) { grid-column: 1; grid-row: 2; font-size: 12.5px; color: var(--doux); }
.mes-cmd .statut { grid-row: span 2; }
.mes-cmd strong { grid-row: span 2; font-variant-numeric: tabular-nums; }
.mes-cmd .ic { grid-row: span 2; color: var(--pale); }
.infos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.infos .bloc p { display: flex; gap: 10px; align-items: center; }
.infos .bloc p .ic { color: var(--bleu); }
.liste-num { padding-inline-start: 22px; display: grid; gap: 8px; margin: 0 0 12px; }
.table-zones { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.table-zones td { padding: 9px 0; border-bottom: 1px solid var(--ligne); }
.table-zones td:last-child { text-align: end; font-weight: 800; }

/* ---------------------------------------------------------- pied de page */
.pied { background: var(--nuit); color: #B9C6E2; margin-top: 40px; position: relative; overflow: hidden; }
.pied::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, #14B53A 0 33.3%, #FCD116 33.3% 66.6%, #CE1126 66.6%); }
.pied__haut { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 56px 36px; }
.pied__devise { max-width: 340px; margin: 16px 0 22px; font-size: 14.5px; }
.pied h4 { margin: 4px 0 16px; font: 700 18px var(--f-titre); color: #fff; }
.pied__col { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.pied__col a:hover { color: var(--etoile); }
.pied__contact p { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 4px; }
.pied__contact .ic { color: var(--etoile); width: 18px; margin-top: 2px; }
.reseaux { display: flex; flex-wrap: wrap; gap: 10px; }
.reseau {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .35s var(--ease-ressort), background .3s, border-color .3s, box-shadow .3s;
}
.reseau svg { width: 21px; height: 21px; }
.reseau:hover { transform: translateY(-4px) scale(1.06); border-color: transparent; }
.reseau--facebook:hover { background: #1877F2; box-shadow: 0 12px 24px -10px #1877F2; }
.reseau--instagram:hover { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); box-shadow: 0 12px 24px -10px #D6249F; }
.reseau--tiktok:hover { background: #000; box-shadow: -3px 0 0 #25F4EE, 3px 0 0 #FE2C55, 0 12px 24px -10px #FE2C55; }
.reseau--linkedin:hover { background: #0A66C2; box-shadow: 0 12px 24px -10px #0A66C2; }
.reseau--youtube:hover { background: #FF0000; box-shadow: 0 12px 24px -10px #FF0000; }
.pied__paiement { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
.pied__label { font-size: 13px; font-weight: 700; margin-inline-end: 6px; }
.moyen { padding: 7px 12px; border-radius: 9px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; font-weight: 800; color: #fff; }
.moyen--sarali { background: var(--grad-etoile); color: var(--encre); border: 0; }
.pied__drapeaux { margin-inline-start: auto; display: flex; gap: 8px; }
.mini-mali, .mini-usa { width: 34px; height: 23px; border-radius: 4px; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); display: block; }
.mini-mali { background: linear-gradient(90deg, #14B53A 33.3%, #FCD116 33.3% 66.6%, #CE1126 66.6%); }
.mini-usa { background: linear-gradient(#0A3161, #0A3161) 0 0 / 42% 54% no-repeat, repeating-linear-gradient(#B31942 0 7.69%, #fff 7.69% 15.38%); }
.pied__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.pied__bas p { margin: 0; }

/* ---------------------------------------------------------- barre mobile, toasts */
.barre { display: none; }
#toasts { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--encre); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(14px) scale(.96); transition: all .4s var(--ease); }
.toast.on { opacity: 1; transform: none; }
.toast .ic { width: 18px; color: var(--etoile); }
.toast--err .ic { color: #FF8A88; }

/* ---------------------------------------------------------- adaptations écran */
@media (max-width: 1100px) {
  .depts { grid-template-columns: 1fr 1fr; }
  .pied__haut { grid-template-columns: 1fr 1fr; }
  .commande, .suivi, .panier-page { grid-template-columns: minmax(0, 1fr); }
  .recap { position: static; }
  .etapes__liste { grid-template-columns: 1fr 1fr; }
  .panier-btn b { display: none; }
  .panier-btn { padding: 0 14px; }
}
@media (max-width: 900px) {
  :root { --entete: 64px; }
  html { scroll-padding-top: 130px; }
  .entete__in { flex-wrap: wrap; height: auto; padding-block: 10px; row-gap: 10px; }
  .recherche { order: 3; flex-basis: 100%; max-width: none; }
  .recherche input { height: 46px; }
  .recherche__kbd { display: none; }
  .entete__actions { margin-inline-start: auto; }
  .entete__actions .ic-btn { display: none; }
  .rayons-nav { display: none; }
  .logo img { width: 40px; height: 40px; }
  .logo__mot b { font-size: 20px; }
  .hero__in { grid-template-columns: 1fr; min-height: 0; padding-top: 10px; gap: 6px; }
  .hero__scene { order: -1; aspect-ratio: auto; height: clamp(370px, 102vw, 500px); max-height: none; }
  .hero__scene canvas { left: 0; width: 100%; }
  .hero__titre { font-size: clamp(38px, 10.5vw, 64px); }
  .vitrine { height: 92px; }
  .vitrine .cadre--vitrine { width: 72px; height: 72px; }
  .hero__sceau { width: 74px; }
  .hero__defiler { display: none; }
  .fiche { grid-template-columns: 1fr; }
  .fiche__visuel { position: relative; top: 0; }
  .suivi-accueil, .infos { grid-template-columns: 1fr; }
  .frise { grid-template-columns: 1fr; padding: 18px 20px; gap: 0; }
  .frise li { flex-direction: row; text-align: start; gap: 14px; padding: 8px 0; flex-wrap: wrap; }
  .frise li::before { top: -12px; inset-inline-start: 13.5px; width: 3px; height: 26px; }
  .frise small { width: 100%; padding-inline-start: 44px; margin-top: -8px; }
  .barre {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset-inline: 0; bottom: 0; z-index: 85;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--ligne);
    padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 30px -20px rgba(13, 26, 51, .4);
  }
  .barre a, .barre button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 8px; font-size: 11px; font-weight: 700; color: var(--doux); }
  .barre .ic { width: 22px; height: 22px; }
  .barre .on { color: var(--bleu); }
  .barre .on::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--etoile); }
  .barre .pastille { top: 4px; inset-inline-end: calc(50% - 22px); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  #toasts { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .pied { margin-top: 20px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .depts { grid-template-columns: 1fr; }
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rail__piste { grid-auto-columns: 46%; gap: 10px; }
  .carte { padding: 7px; border-radius: 18px; }
  .carte__corps { padding: 10px 3px 2px; }
  .carte__nom { font-size: 13.5px; }
  .prix strong { font-size: 16px; }
  .champs { grid-template-columns: 1fr; }
  .etapes__liste { grid-template-columns: 1fr; }
  .pied__haut { grid-template-columns: 1fr; gap: 26px; padding-top: 40px; }
  .rail__nav .rond { display: none; }
  .hero__recherche { height: 58px; }
  .hero__recherche .btn { height: 44px; padding: 0 16px; }
  .hero__garanties { gap: 8px 16px; font-size: 13px; }
  .langue button { min-width: 30px; padding: 0 8px; }
  .partenaire__in { flex-direction: column; align-items: flex-start; }
  .tete-page__emoji { width: 54px; height: 54px; font-size: 30px; }
  .section__tete { align-items: flex-start; }
  .filtres { flex-direction: column; align-items: stretch; }
  .filtres__prix { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filtres__prix button { flex: none; }
  .ligne { grid-template-columns: 56px 1fr auto; gap: 10px; }
  .ligne__vis.cadre--mini { width: 56px; height: 56px; }
}
@media (max-width: 380px) {
  .logo__mot i { display: none; }
  .logo__mot b { font-size: 18px; }
  .panier-btn { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .etal__piste { animation: none; }
}

/* ---------------------------------------------------------- barre de total fixe (le montant suit chaque ajout) */
.barre-total {
  position: fixed; z-index: 84; left: 50%; bottom: 22px; width: min(620px, calc(100% - 32px));
  transform: translate(-50%, 140%); opacity: 0; pointer-events: none; transition: transform .55s var(--ease-ressort), opacity .3s;
}
.barre-total.on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.barre-total__in {
  display: flex; align-items: center; gap: 12px; padding: 9px 9px 9px 12px; border-radius: 22px;
  background: rgba(6, 26, 58, .96); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -18px rgba(6, 26, 58, .75), 0 0 0 1px rgba(255, 255, 255, .08);
}
.barre-total__info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: #fff; text-align: start; }
.barre-total__ic { position: relative; width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.barre-total__ic .ic { width: 22px; height: 22px; color: var(--etoile); }
.barre-total__ic i { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px; background: var(--etoile); color: var(--encre); font: 800 11.5px/21px var(--f-texte); font-style: normal; text-align: center; }
.barre-total__txt { display: flex; flex-direction: column; min-width: 0; }
.barre-total__txt small { font-size: 12px; font-weight: 700; color: #A9B9DA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-total__txt b { font: 800 22px/1.15 var(--f-texte); font-variant-numeric: tabular-nums; white-space: nowrap; }
.barre-total .btn--large { height: 52px; padding: 0 22px; flex: none; }
.flash { animation: flash .6s var(--ease); }
@keyframes flash { 30% { color: var(--etoile); transform: scale(1.06); } }
body.avec-barre { padding-bottom: 96px; }
body.avec-barre #toasts { bottom: 110px; }
@media (min-width: 1101px) { .barre-total.barre-total--commande { transform: translate(-50%, 140%); opacity: 0; pointer-events: none; } }
@media (max-width: 900px) {
  .barre-total { bottom: calc(70px + env(safe-area-inset-bottom)); width: calc(100% - 20px); }
  .barre-total__in { padding: 7px 7px 7px 9px; border-radius: 18px; }
  .barre-total__ic { width: 40px; height: 40px; }
  .barre-total__txt b { font-size: 19px; }
  .barre-total .btn--large { height: 48px; padding: 0 16px; font-size: 15px; }
  body.avec-barre { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  body.avec-barre #toasts { bottom: calc(150px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) { .barre-total .btn--large .ic { display: none; } .barre-total__txt small { display: none; } }

/* ---------------------------------------------------------- suivi : zone d'action en premier, commande terminée */
.bloc-action { display: grid; gap: 14px; scroll-margin-top: 150px; }
.fini { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 16px; padding: 18px 20px; border-radius: var(--r); background: linear-gradient(120deg, #EAF7EF, #F6FCF8); border: 1px solid #C7EAD3; animation: monte .6s var(--ease); }
.fini--paye { background: linear-gradient(120deg, #EEF4FF, #F8FAFF); border-color: #CFDDF5; }
.fini__ic { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--vert); color: #fff; box-shadow: 0 10px 22px -10px rgba(17, 153, 76, .9); }
.fini--paye .fini__ic { background: var(--bleu); box-shadow: 0 10px 22px -10px rgba(0, 74, 173, .9); }
.fini__ic .ic { width: 24px; height: 24px; stroke-width: 3; }
.fini > div { flex: 1; min-width: 220px; }
.fini b { display: block; font: 700 19px/1.25 var(--f-titre); color: var(--encre); }
.fini p { margin: 3px 0 0; color: var(--doux); font-size: 14px; }
.fini__actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto !important; min-width: 0 !important; }
.frise--finie li .frise__pt { background: var(--vert); }
.recu-page { padding-top: 26px; }

/* longs libellés : retour à la ligne plutôt que débordement sur petit écran */
.ticket__actions .btn, .fini__actions .btn, .fiche__achat .btn { white-space: normal; text-align: center; }
.choix-mode .choix { white-space: normal; }
.ticket__actions .btn { height: auto; min-height: 52px; padding-block: 10px; line-height: 1.25; }
.suivi__main, .bloc-action, .ticket { min-width: 0; }
.suivi__tete .statut { max-width: 100%; white-space: normal; height: auto; min-height: 30px; padding-block: 5px; }
@media (max-width: 640px) {
  .fini__actions { flex: 1 1 100% !important; }
  .fini__actions .btn { flex: 1 1 auto; }
  .barre-total--commande .barre-total__txt small { display: none; }
}
