/* commander.html — styles extraits de la page (ordre d'origine conservé) */
/* ===== bloc 1 ===== */
/* ============================================================
   POLICES  (chargées via <link> dans le <head> — plus d'@import render-blocking)
   ============================================================ */

/* Ethnocentric Bold est chargé via Adobe Fonts (Typekit) dans le <head> :
   <link rel="stylesheet" href="https://use.typekit.net/shq0vrc.css">
   font-family:"ethnocentric"; font-weight:700. Repli : Orbitron. */

/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root{
  --bg:#070311;
  --bg-2:#0d0722;
  --bg-3:#140a2e;
  --panel:rgba(28,14,54,.55);
  --violet:#7c3aed;
  --violet-2:#a855f7;
  --magenta:#d61f9a;
  --gold:#f5b62f;
  --gold-2:#ffdf8a;
  --ink:#f6f2ff;
  --muted:#b6a9d8;
  --line:rgba(168,85,247,.22);
  --f-display:'Orbitron',sans-serif;
  --f-head:'Bebas Neue',sans-serif;
  --f-body:'Oxanium',sans-serif;
  --f-price:'Orbitron',sans-serif;
  --maxw:1180px;
  --radius:18px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;overflow-x:clip}
body{
  font-family:var(--f-body);font-weight:300;color:var(--ink);
  background:var(--bg);line-height:1.6;overflow-x:clip;max-width:100%;
  -webkit-font-smoothing:antialiased;
}
img,svg,iframe,video{max-width:100%}
img{display:block}
h1,h2,h3,p,li,b,span{overflow-wrap:break-word}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
a{color:inherit;text-decoration:none}
ul{list-style:none}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:6px}

/* Système d'icônes propre (style Lucide) : bouts/angles arrondis, trait uniforme */
svg{stroke-linecap:round;stroke-linejoin:round}
.badge svg,.mode svg{stroke-width:1.8}
/* Icônes en placeholders remplaçables — déposez vos fichiers dans assets/icons/ */
.ic{display:inline-block;object-fit:contain;vertical-align:middle}
.badge .ic{width:30px;height:30px}
.mode .ic{width:30px;height:30px}
.ic.missing{background:rgba(244,185,66,.07);border:1px dashed rgba(244,185,66,.55);border-radius:8px}

/* Fond cosmique global (dégradés — remplaçables par votre image de fond) */
body::before{
  content:"";position:fixed;inset:0;z-index:-2;
  background:
    radial-gradient(1200px 700px at 78% -5%, rgba(124,58,237,.35), transparent 60%),
    radial-gradient(900px 600px at 10% 15%, rgba(214,31,154,.18), transparent 55%),
    radial-gradient(1000px 900px at 50% 110%, rgba(124,58,237,.20), transparent 60%),
    linear-gradient(180deg,#0a0418,#070311 40%,#0a0620);
}
/* Étoiles générées en CSS (placeholder de champ d'étoiles) */
body::after{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.6;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 70% 20%, #ffe9c7, transparent),
    radial-gradient(1.6px 1.6px at 40% 70%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 85% 60%, #e9d5ff, transparent),
    radial-gradient(1.3px 1.3px at 15% 80%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 55% 45%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 90% 88%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 33% 12%, #fde68a, transparent);
  background-repeat:repeat;background-size:600px 600px;
}

/* ============================================================
   TYPOGRAPHIE UTILITAIRE
   ============================================================ */
.eyebrow{
  font-family:var(--f-head);letter-spacing:.4em;text-transform:uppercase;
  font-size:clamp(.8rem,1.4vw,1rem);color:var(--gold);opacity:.9;
}
h1,h2,h3{line-height:1.02;text-transform:uppercase}
.h-section{
  font-family:var(--f-display);font-weight:700;letter-spacing:.03em;
  font-size:clamp(1.5rem,3.6vw,2.9rem);color:#fff;line-height:1.12;
  filter:drop-shadow(0 3px 6px rgba(0,0,0,.85));
}
.price{font-family:var(--f-price);font-weight:600;color:var(--gold-2);letter-spacing:.02em}
.text-grad{
  background:linear-gradient(120deg,#c4b5fd 0%,#a855f7 25%,#8b5cf6 45%,#d946ef 65%,#a855f7 85%,#c4b5fd 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
  text-shadow:none;
  filter:drop-shadow(0 3px 6px rgba(0,0,0,.75));
}
.script{font-family:var(--f-body);font-style:italic;font-weight:400;color:var(--gold-2)}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(1.25rem,4.5vw,2.75rem)}
section{position:relative;padding-block:clamp(2rem,4.5vw,3.5rem)}
.center{text-align:center}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn{
  display:inline-flex;align-items:center;gap:.6rem;justify-content:center;
  font-family:var(--f-head);letter-spacing:.18em;text-transform:uppercase;
  font-size:1.05rem;padding:.85rem 1.75rem;border-radius:999px;
  border:1.5px solid #a855f7;color:#e9d5ff;cursor:pointer;background:rgba(168,85,247,.08);
  text-shadow:0 2px 6px rgba(0,0,0,.85);
  box-shadow:0 0 14px rgba(168,85,247,.35), inset 0 0 12px rgba(168,85,247,.14);
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover,.btn:focus-visible{
  transform:translateY(-2px);
  background:linear-gradient(120deg,#4c1d95 0%,#7c3aed 50%,#a855f7 100%);
  color:#fff;border-color:#a855f7;
  text-shadow:0 2px 6px rgba(0,0,0,.6);
  box-shadow:0 0 26px rgba(168,85,247,.7), 0 0 60px rgba(168,85,247,.4), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn--solid{
  background:linear-gradient(120deg,#4c1d95 0%,#7c3aed 50%,#a855f7 100%);color:#fff;border-color:#a855f7;
  text-shadow:0 2px 6px rgba(0,0,0,.6);box-shadow:0 0 22px rgba(168,85,247,.6), 0 0 48px rgba(168,85,247,.32), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn--solid:hover,.btn--solid:focus-visible{
  color:#fff;transform:translateY(-2px);
  box-shadow:0 0 34px rgba(216,180,254,.9), 0 0 74px rgba(168,85,247,.5), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--ubereats{
  background:
    radial-gradient(ellipse 110% 90% at 15% 10%, rgba(34,217,130,.55), transparent 60%),
    radial-gradient(ellipse 90% 85% at 100% 110%, rgba(2,60,25,.9), transparent 55%),
    linear-gradient(135deg, #0a3d1f 0%, #042e13 55%, #021507 100%);
  border:1.5px solid #22d982; color:#eafff0; text-shadow:none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 0 1px rgba(34,217,130,.35),
    0 0 18px rgba(34,217,130,.55),
    0 0 42px rgba(6,193,103,.35);
}
.btn--ubereats:hover,.btn--ubereats:focus-visible{
  border-color:#7cffc4; color:#fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 0 0 1px rgba(124,255,196,.55),
    0 0 26px rgba(34,217,130,.85),
    0 0 60px rgba(6,193,103,.55);
  transform: translateY(-1px);
}
.btn svg{width:1.05em;height:1.05em}
.order-btn{display:inline-flex;align-items:center;gap:.85rem;padding:.55rem 1.2rem .55rem .55rem;border-radius:16px;text-decoration:none;transition:transform .25s ease, box-shadow .25s ease}
.order-btn:hover,.order-btn:focus-visible{transform:translateY(-3px)}
@media(max-width:520px){.order-btn{flex:1 1 100%}}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position:fixed;inset:0 0 auto 0;z-index:60;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.9rem clamp(1rem,4vw,2.4rem);
  transition:background .3s ease, backdrop-filter .3s ease, padding .3s ease, border-color .3s;
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:rgba(9,4,20,.82);backdrop-filter:blur(14px);
  border-bottom-color:var(--line);
}
.brand{display:flex;align-items:center;gap:.6rem;font-family:var(--f-display);font-size:1.15rem;letter-spacing:.06em}
.brand .arch{width:34px;height:26px;flex:none}
.brand .arch path{stroke:var(--gold);stroke-width:6;fill:none;stroke-linecap:round}
.nav-links{display:flex;gap:1.7rem;align-items:center;font-family:var(--f-head);letter-spacing:.2em;font-size:1.05rem}
.nav-links a{color:var(--ink);opacity:.82;position:relative;padding-block:.2rem;transition:opacity .2s,color .2s}
.nav-links a::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:2px;background:linear-gradient(90deg,#a855f7,#d946ef);box-shadow:0 0 8px rgba(168,85,247,.65);transition:width .25s}
.nav-links a:hover{opacity:1;color:#c4b5fd;text-shadow:0 0 12px rgba(168,85,247,.6)}
.nav-links a:hover::after{width:100%}
.header-cta{display:flex;align-items:center;gap:.8rem}
.nav-toggle{display:none;background:none;border:1px solid var(--line);border-radius:10px;padding:.5rem;cursor:pointer}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--ink);margin:4px 0;transition:.3s}
.nav-account-m{display:none}

/* ============================================================
   HERO
   ============================================================ */
.hero{min-height:100svh;display:flex;align-items:center;padding-top:6rem;overflow:hidden}
.hero h1{font-family:var(--f-display);font-weight:700;font-size:clamp(2rem,5.6vw,4.7rem);line-height:1.05;letter-spacing:.01em;color:#fff;filter:drop-shadow(0 3px 8px rgba(0,0,0,.85))}
.hero .lead{font-size:clamp(1rem,1.9vw,1.4rem);color:var(--muted);letter-spacing:.14em;text-transform:uppercase;font-family:var(--f-head);margin-top:1rem}
.badge{display:flex;flex-direction:column;align-items:center;gap:.5rem;text-align:center;max-width:140px}
.badge svg{width:30px;height:30px;stroke:var(--gold);fill:none;stroke-width:1.6}
.badge span{font-family:var(--f-head);letter-spacing:.22em;font-size:.82rem;color:var(--muted);line-height:1.2;text-transform:uppercase}
/* Mobile : forcer les 3 badges hero sur UNE seule ligne (n'affecte pas les icones .contact-card) */
@media(max-width:640px){
  .hero-badges{flex-wrap:nowrap;justify-content:space-between;gap:.6rem;margin-top:1.8rem}
  .hero-badges .badge{flex:1 1 0;min-width:0;max-width:none}
  .hero-badges .badge span{font-size:.62rem;letter-spacing:.12em;word-break:normal;hyphens:auto}
  .hero-badges .badge .ic,
  .hero-badges .badge svg{width:26px;height:26px}
}
.hero-visual{position:relative;z-index:1;min-height:min(60vh,540px)}
.hero-tag{
  position:absolute;top:4%;right:2%;transform:rotate(-8deg);
  font-family:var(--f-body);font-style:italic;font-size:clamp(1.1rem,2.4vw,1.7rem);
  color:var(--gold-2);text-align:right;line-height:1.25;z-index:3;text-shadow:0 0 18px rgba(244,185,66,.4);
}
@keyframes wheel{0%{opacity:0;top:6px}40%{opacity:1}100%{opacity:0;top:16px}}
@keyframes scrollx{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ============================================================
   PLACEHOLDERS D'IMAGES (slots dimensionnés)
   Remplacez simplement le fichier au chemin indiqué.
   ============================================================ */
.slot{position:relative;overflow:hidden;border-radius:var(--radius);background:
  radial-gradient(120% 120% at 30% 20%, rgba(124,58,237,.35), transparent 60%),
  linear-gradient(160deg,#160b32,#0b0620);
  border:1px dashed rgba(168,85,247,.35);display:grid;place-items:center}
.slot > img{width:100%;height:100%;object-fit:contain;position:relative;z-index:2;transition:opacity .3s}
.slot > img.missing{opacity:0}
.slot figcaption{
  position:absolute;z-index:1;inset:auto;font-family:var(--f-price);font-size:.72rem;
  letter-spacing:.06em;color:#c9b8ff;background:rgba(0,0,0,.35);padding:.35rem .6rem;border-radius:8px;
  text-align:center;max-width:88%;
}
.slot.cover > img{object-fit:cover}

/* Logo (placeholder) */
.logo-slot{border:none;background:transparent;border-radius:0;width:auto;height:56px;min-height:0;overflow:visible;padding:0}
.logo-slot > img{width:auto;height:100%;object-fit:contain;max-width:none;display:block}
.logo-slot figcaption{display:none}
.footer-logo-slot{width:auto;height:72px}
@media(max-width:640px){.logo-slot{height:44px}.footer-logo-slot{height:56px}}

/* Lueur qui suit la souris */
.cursor-glow{
  position:fixed;top:0;left:0;width:48px;height:48px;margin:-24px 0 0 -24px;
  pointer-events:none;z-index:45;opacity:0;
  transition:opacity .35s ease;
  mix-blend-mode:screen;will-change:transform;
  background:transparent;
}
.cursor-glow::before,
.cursor-glow::after{
  content:"";position:absolute;left:50%;top:50%;
  background:
    radial-gradient(ellipse 50% 100% at 50% 50%,
      rgba(216,180,254,.9) 0%,
      rgba(168,85,247,.5) 30%,
      rgba(168,85,247,.12) 60%,
      transparent 85%);
  filter:drop-shadow(0 0 3px rgba(216,180,254,.7));
}
/* Vertical ray */
.cursor-glow::before{ width:3px;height:44px;transform:translate(-50%,-50%); }
/* Horizontal ray */
.cursor-glow::after{ width:44px;height:3px;transform:translate(-50%,-50%); }
.concept h2{margin:.6rem 0 1.1rem}
.concept p.body{color:var(--muted);font-size:1.08rem;max-width:52ch}

.burgers h2,.gourm h2,.menu h2,.reviews h2,.find h2{margin-bottom:.4rem}
.carousel{position:relative}
.cards{
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,1fr);gap:1.3rem;
  overflow-x:auto;scroll-snap-type:x mandatory;padding:.5rem .3rem 1.4rem;scrollbar-width:none;
}
.cards::-webkit-scrollbar{display:none}
@media(min-width:900px){.cards{grid-template-columns:repeat(5,1fr);grid-auto-flow:row;overflow:visible}}
.card{
  scroll-snap-align:center;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
  padding:1rem 1rem 1.3rem;text-align:center;transition:transform .3s ease, box-shadow .3s ease, border-color .3s;
  backdrop-filter:blur(6px);
}
.card:hover{transform:translateY(-6px);border-color:rgba(244,185,66,.5);box-shadow:0 18px 50px -20px rgba(124,58,237,.7)}
.card .slot{aspect-ratio:1/1;margin-bottom:.9rem;border-style:solid}
.card h3{font-family:var(--f-display);font-weight:700;letter-spacing:.05em;font-size:1rem;color:#fff}
.card p{color:var(--muted);font-size:.92rem;margin:.35rem 0 .7rem;min-height:2.4em}
.card .price{font-size:1.15rem}
.carousel-btn{
  position:absolute;top:38%;transform:translateY(-50%);z-index:5;
  width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:rgba(10,5,24,.8);
  color:var(--gold);cursor:pointer;display:grid;place-items:center;transition:.25s
}
.carousel-btn:hover{border-color:var(--gold);box-shadow:0 0 20px rgba(244,185,66,.4)}
.carousel-btn.prev{left:-6px}.carousel-btn.next{right:-6px}
.carousel-btn svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2}
@media(min-width:900px){.carousel-btn{display:none}}
.step-num{width:40px;height:40px;flex:none;border-radius:50%;border:1.5px solid var(--gold);color:var(--gold-2);display:grid;place-items:center;font-family:var(--f-price);font-weight:700;font-size:1.15rem;box-shadow:inset 0 0 16px rgba(244,185,66,.35),0 0 14px rgba(244,185,66,.3)}
.step-title{font-family:var(--f-display);font-weight:700;font-size:1.05rem;letter-spacing:.05em;text-transform:uppercase;background:linear-gradient(120deg,#c4b5fd 0%,#a855f7 30%,#d946ef 55%,#a855f7 80%,#c4b5fd 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;filter:drop-shadow(0 2px 4px rgba(0,0,0,.7))}
/* Visuels flottants du concept */
.step-wrap{position:relative}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}



img.ic,.badge img,.badge svg,.mode svg{
  filter: drop-shadow(0 2px 6px rgba(168,85,247,.55)) drop-shadow(0 1px 3px rgba(0,0,0,.7));
  transition: filter .25s ease, transform .25s ease;
}
img.ic:hover{
  filter: drop-shadow(0 3px 10px rgba(216,180,254,.85)) drop-shadow(0 1px 4px rgba(0,0,0,.75));
  transform: translateY(-1px);
}
/* Centering + alignment */
.badge{display:flex;flex-direction:column;align-items:center;text-align:center}
.badge img, .badge svg{display:block;margin:0 auto}
@keyframes burgerFloat{
  0%,100%{transform:translateY(0) rotate(-2deg)}
  50%{transform:translateY(-16px) rotate(2deg)}
}
/* Tablette : burger flottant de la héro réduit de 15% */
@media(min-width:641px) and (max-width:900px){
  .hero-burger{width:47.6%}            /* 56% -15% */
}
@media(min-width:901px) and (max-width:1024px){ /* 58% / 440px -15% */
}
/* ============================================================
   COSMIC BOTTOM BACKGROUND (fixed at page bottom)
   ============================================================ */
html{background:#0a0418}
body{
  position:relative;
  background:#0a0418;
}
/* ============================================================
   HERO VIDEO BACKGROUND
   ============================================================ */
.hero{position:relative;overflow:hidden}
.hero::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:35%;pointer-events:none;z-index:1;
  background:linear-gradient(to top, #0a0418 0%, rgba(10,4,20,.85) 30%, rgba(10,4,20,.4) 65%, transparent 100%);
}
@media(prefers-reduced-motion:reduce){
  .hero{background:#0a0418 url('/assets/hero/space-poster.webp') center/cover no-repeat}
}
.rating-big{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;justify-content:center}
.rating-big .num{font-family:var(--f-price);font-weight:700;font-size:2.6rem;color:var(--gold-2)}
.stars{display:inline-flex;gap:.15rem}
.stars svg{width:22px;height:22px;fill:var(--gold);stroke:none}
.rating-big .count{color:var(--muted);font-size:.95rem}
.reviews-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.3rem}
.review{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:1.3rem;backdrop-filter:blur(6px)}
.review .top{display:flex;align-items:center;gap:.7rem;margin-bottom:.7rem}
.review .avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--violet),var(--magenta));display:grid;place-items:center;font-family:var(--f-price);font-weight:700;color:#fff}
.review .who b{display:block;font-family:var(--f-body);font-weight:600}
.review .who .stars svg{width:15px;height:15px}
.review p{color:var(--muted);font-size:.94rem}
.review .g{margin-left:auto}
.review .g svg{width:22px;height:22px}
.mode{display:flex;flex-direction:column;align-items:center;gap:.5rem;text-align:center;flex:1;min-width:90px}
.mode svg{width:30px;height:30px;stroke:var(--gold);fill:none;stroke-width:1.5}
.mode span{font-family:var(--f-head);letter-spacing:.18em;font-size:.9rem;color:var(--muted)}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{border-top:1px solid var(--line);background:rgba(7,3,17,.7);padding-block:2.4rem 1.6rem;margin-top:2rem}
.footer-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1.5rem;align-items:center}
.footer-brand{font-family:var(--f-display);letter-spacing:.06em}

/* ============================================================
   ANIMATIONS SCROLL
   ============================================================ */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;transform:none}
.reveal.d1{transition-delay:0s}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:900px){
  .nav-links,.header-cta .btn{display:none}
  .nav-toggle{display:block}
  .site-header.open .nav-account-m{display:block;color:#c4b5fd;border-top:1px solid var(--line);padding-top:1.1rem;margin-top:.2rem}
  .site-header.open .nav-links{
    display:flex;position:absolute;top:100%;left:0;right:0;flex-direction:column;gap:1.3rem;
    padding:1.6rem;background:rgba(9,4,20,.97);border-bottom:1px solid var(--line);font-size:1.4rem;
  }
  .hero-grid,.concept-grid,.find-grid{grid-template-columns:1fr}
  .hero-visual{min-height:44vh;order:-1}
  .hero-tag{position:static;transform:none;text-align:center;margin-bottom:1rem}
  .mobile-order{display:flex}
  body{padding-bottom:4.5rem}
  .concept-visual{max-width:360px;margin-inline:auto;width:100%}
}
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none;transition:none}
}

/* ========================== PANIER CLICK & COLLECT ========================= */

/* ── Bouton flottant panier ── */
#cart-fab {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  z-index: 900;
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(124,58,237,.5);
  transition: transform .2s, box-shadow .2s;
}
#cart-fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(124,58,237,.7); }
#cart-fab svg { width: 1.4rem; height: 1.4rem; }
#cart-fab-badge {
  position: absolute;
  top: -.25rem;
  right: -.25rem;
  background: #fff;
  color: #7c3aed;
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 700;
  width: 1.2rem;
  height: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
#cart-fab-badge.visible { display: flex; }

/* ── Panneau panier latéral ── */
#cart-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: min(420px, 100vw);
  height: 100%;
  background: #0e0524;
  border-left: 1px solid rgba(255,255,255,.1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,.6);
}
#cart-panel.open { right: 0; }
#cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
#cart-overlay.visible { opacity: 1; pointer-events: all; }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cart-header h2 { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0; }
#cart-close {
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 .25rem;
  transition: color .2s;
}
#cart-close:hover { color: #fff; }
#cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
#cart-items::-webkit-scrollbar { width: 4px; }
#cart-items::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; }
.cart-empty { color: rgba(255,255,255,.4); text-align: center; padding: 3rem 0; font-size: .95rem; }
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: .5rem 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cart-item-name { color: #fff; font-size: .9rem; font-weight: 600; }
.cart-item-price { color: #7c3aed; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.cart-item-qty button {
  background: rgba(255,255,255,.08);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  font-size: .9rem;
  cursor: pointer;
  transition: background .2s;
  line-height: 1;
}
.cart-item-qty button:hover { background: rgba(255,255,255,.2); }
.cart-item-qty span { color: #fff; font-size: .9rem; min-width: 1.2rem; text-align: center; }
.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1rem;
}
.cart-total-amount { font-size: 1.3rem; font-weight: 800; color: #7c3aed; }
#cart-checkout-btn {
  width: 100%;
  padding: .9rem;
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  color: #fff;
  border: none;
  border-radius: .5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  letter-spacing: .03em;
}
#cart-checkout-btn:hover { opacity: .9; transform: translateY(-1px); }
#cart-checkout-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
#cart-continue-btn {
  width: 100%;
  padding: .85rem;
  margin-bottom: .6rem;
  background: linear-gradient(180deg,#1a0b3a,#0a0418);
  color: #fff;
  border: 1.5px solid #a855f7;
  border-radius: .5rem;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .03em;
  box-shadow: 0 0 18px rgba(168,85,247,.45), inset 0 0 14px rgba(168,85,247,.12);
  transition: box-shadow .2s, transform .15s;
}
#cart-continue-btn:hover, #cart-continue-btn:focus-visible { box-shadow: 0 0 28px rgba(216,180,254,.7), inset 0 0 18px rgba(168,85,247,.22); transform: translateY(-1px); }

/* ── Section commander ── */
#commander {
  padding: 5rem 0;
  background: linear-gradient(180deg, #07030e 0%, #100528 100%);
}
.commander-intro {
  text-align: center;
  margin-bottom: 3rem;
}
.commander-intro .h-section { margin-bottom: .75rem; }
.catalog-tabs {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.catalog-tab {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  border-radius: 2rem;
  padding: .45rem 1.25rem;
  font-size: .85rem;
  cursor: pointer;
  transition: all .2s;
}
.catalog-tab.active,
.catalog-tab:hover {
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  border-color: transparent;
  color: #fff;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.catalog-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: border-color .2s, transform .2s;
}
.catalog-card:hover { border-color: rgba(124,58,237,.4); transform: translateY(-2px); }
.catalog-card-name { color: #fff; font-weight: 700; font-size: 1rem; }
.catalog-card-desc { color: rgba(255,255,255,.5); font-size: .8rem; flex: 1; line-height: 1.4; }
.catalog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .25rem;
}
.catalog-card-price { color: #7c3aed; font-weight: 800; font-size: 1.1rem; }
.catalog-add-btn {
  background: linear-gradient(135deg,#7c3aed 0%,#a855f7 55%,#c084fc 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  padding: 0;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 4px 16px rgba(139,92,246,.45), 0 0 22px rgba(168,85,247,.35), inset 0 1px 0 rgba(255,255,255,.25);
  text-indent: 0;
}
.catalog-add-btn::before { content: "+"; display: block; margin-top: -2px; }
.catalog-add-btn > * { display: none; }
.catalog-add-btn:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 24px rgba(139,92,246,.65), 0 0 34px rgba(216,180,254,.55), inset 0 1px 0 rgba(255,255,255,.4);
}
/* Recolor catalog price to cosmic violet (was #7c3aed) */
.catalog-card-price { color: #c4b5fd !important; }
/* Cosmic title stroke in headings */
.h-section, h1 { text-shadow: 0 4px 24px rgba(0,0,0,.75), 0 2px 8px rgba(0,0,0,.6) }
.catalog-section { display: none; }
.catalog-section.active { display: block; }

/* ── Modal checkout ── */
#checkout-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
#checkout-modal.open { opacity: 1; pointer-events: all; }
.checkout-box {
  background: #130630;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.25rem;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}
.checkout-box::-webkit-scrollbar { width: 4px; }
.checkout-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; }
.checkout-steps {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
}
.checkout-step-dot {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.12);
  transition: background .3s;
}
.checkout-step-dot.done { background: linear-gradient(90deg,#7c3aed,#a855f7); }
.checkout-title { color: #fff; font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.checkout-close-btn {
  float: right;
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.4rem;
  cursor: pointer;
  margin-top: -.5rem;
  padding: 0;
}
.checkout-close-btn:hover { color: #fff; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; color: rgba(255,255,255,.7); font-size: .85rem; margin-bottom: .4rem; }
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: .5rem;
  color: #fff;
  padding: .7rem 1rem;
  font-size: .95rem;
  box-sizing: border-box;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #7c3aed;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.checkout-recap {
  background: rgba(255,255,255,.04);
  border-radius: .75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.checkout-recap-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  padding: .25rem 0;
}
.checkout-recap-item > span:last-child { white-space: nowrap; }
.checkout-recap-item .cri-name { display: block; line-height: 1.4; }
.checkout-recap-item .cri-name .cart-line-main { display: inline; font-weight: 600; color: #fff; }
.checkout-recap-item .cri-name .cart-line-sub { display: block; font-size: .82em; color: rgba(255,255,255,.55); margin-top: .12rem; }
.checkout-recap-total {
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: .5rem;
  padding-top: .5rem;
}
.checkout-recap-total span:last-child { color: #7c3aed; }
.btn-checkout-next {
  width: 100%;
  padding: .9rem;
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  color: #fff;
  border: none;
  border-radius: .5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
  margin-top: .5rem;
}
.btn-checkout-next:hover { opacity: .9; }
.btn-checkout-next:disabled { opacity: .4; cursor: not-allowed; }
.checkout-back { background: none; border: none; color: rgba(255,255,255,.5); font-size: .85rem; cursor: pointer; margin-top: .75rem; display: block; text-align: center; }
.checkout-back:hover { color: #fff; }
#sumup-widget { margin: 1.25rem 0; min-height: 300px; }
#sumup-widget iframe { border-radius: .5rem; }
.checkout-success { text-align: center; padding: 1rem 0; }
.checkout-success-icon { font-size: 3rem; margin-bottom: 1rem; }
.checkout-success h3 { color: #fff; font-size: 1.3rem; margin-bottom: .75rem; }
.checkout-success p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.6; }
.checkout-error { background: rgba(124,58,237,.12); border: 1px solid rgba(124,58,237,.3); border-radius: .5rem; color: #ff6b6b; padding: .75rem 1rem; font-size: .85rem; margin-bottom: 1rem; display: none; }
.checkout-error.visible { display: block; }
.checkout-loading { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 2rem 0; color: rgba(255,255,255,.6); }
.checkout-spinner {
  width: 2rem; height: 2rem;
  border: 3px solid rgba(255,255,255,.15);
  border-top-color: #7c3aed;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media(max-width:767px) {
  #commander { padding: 3.5rem 0; }
  .catalog-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .catalog-card { padding: .9rem; }
  #cart-fab { bottom: 5rem; }
}
@media(max-width:479px) {
  .catalog-grid { grid-template-columns: 1fr; }
}


/* ===== CATALOGUE — IMAGES PRODUITS ===== */
.product-img {
  aspect-ratio: 1;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: .6rem;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 .75rem;
}
.product-img::before { content: none; }
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;         /* show the full burger, no crop */
  object-position: center;
  padding: .4rem;
  position: relative;
  z-index: 2;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.4));
}
.product-img img.missing { display: none; }

.catalog-card { padding: 1.25rem; }

/* ===== CONFIGURATEUR (burger + menus) ===== */
#configurator-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  z-index: 1150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
#configurator-modal.open { opacity: 1; pointer-events: all; }
.config-box {
  background: #130630;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.25rem;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
}
.config-box::-webkit-scrollbar { width: 4px; }
.config-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; }
.config-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.config-title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
}
.config-desc {
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  margin-top: .35rem;
}
.config-close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 .25rem;
}
.config-close:hover { color: #fff; }
.config-section { margin-bottom: 1.25rem; }
.config-section-label {
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}
.config-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.config-chip {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border-radius: .5rem;
  padding: .55rem .9rem;
  font-size: .88rem;
  cursor: pointer;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.config-chip:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.25);
}
.config-chip.selected {
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}
.config-chip .extra {
  font-size: .75rem;
  opacity: .8;
  font-weight: 600;
}
/* Chip avec visuel (pain, viande, supplément) */
.config-chip--img {
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .7rem .8rem .6rem;
  width: 176px;
  text-align: center;
}
.config-chip--img .cc-img {
  width: 152px; height: 152px;
  display: grid; place-items: center;
  overflow: hidden;
  font-size: 3.2rem; line-height: 1;
}
.config-chip--img .cc-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.config-chip--img .cc-label { font-size: .9rem; line-height: 1.14; }
@media (max-width: 767px) {
  .config-chip--img { width: 144px; padding: .6rem .5rem .55rem; }
  .config-chip--img .cc-img { width: 122px; height: 122px; }
  .config-chip--img .cc-label { font-size: .82rem; }
}
.config-chip--img .extra { font-size: .72rem; display: block; margin-top: .1rem; }
.config-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.25rem;
  margin-top: 1.5rem;
}
.config-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.config-total-label { color: rgba(255,255,255,.7); font-size: .95rem; }
.config-total-amount { color: #ff6b6b; font-size: 1.5rem; font-weight: 800; }
.config-add-btn {
  width: 100%;
  padding: .95rem;
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  color: #fff;
  border: none;
  border-radius: .5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.config-add-btn:hover { opacity: .9; transform: translateY(-1px); }
.config-add-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }

.catalog-tabs {
  gap: .4rem;
}
.catalog-tab {
  padding: .4rem 1rem;
  font-size: .8rem;
}

@media (max-width: 767px) {
  .catalog-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: .5rem;
    -webkit-overflow-scrolling: touch;
  }
  .catalog-tab { white-space: nowrap; flex-shrink: 0; }
  .config-box { padding: 1.25rem; }
  .config-title { font-size: 1.15rem; }
}


/* Placeholder visible avec nom du produit */
.product-img { position: relative; }
.product-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .75rem;
  text-align: center;
  z-index: 1;
  pointer-events: none;
}
.product-img-name {
  color: rgba(255,255,255,.9);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.product-img-hint {
  color: rgba(255,255,255,.4);
  font-size: .65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: .5rem;
}
.product-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(124,58,237,.18), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(168,85,247,.15), transparent 55%);
  z-index: 0;
}
.product-img img { z-index: 2; }
/* When image loads, hide placeholder */
.product-img:not(.no-img) .product-img-placeholder { display: none; }

/* Multi-choice chip visual (checkbox style) */
.config-chip[data-multi="true"] {
  position: relative;
  padding-left: 2rem;
}
.config-chip[data-multi="true"]::before {
  content: '';
  position: absolute;
  left: .55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: .25rem;
  background: transparent;
  transition: all .15s;
}
.config-chip[data-multi="true"].selected::before {
  background: #fff;
  border-color: #fff;
}
.config-chip[data-multi="true"].selected::after {
  content: '';
  position: absolute;
  left: .95rem;
  top: 45%;
  width: .3rem;
  height: .55rem;
  border-right: 2px solid #7c3aed;
  border-bottom: 2px solid #7c3aed;
  transform: translateY(-50%) rotate(45deg);
}
.config-section-hint {
  color: rgba(255,255,255,.45);
  font-size: .7rem;
  margin-left: .5rem;
  font-weight: 500;
}


/* ===================================================================
   WIZARD PREMIUM — configurateur deep-space (accents orangé/or)
   =================================================================== */
:root {
  --wiz-gold: #a855f7;
  --wiz-gold-strong: #7c3aed;
  --wiz-gold-soft: rgba(168,85,247,.6);
  --wiz-gold-glow: rgba(124,58,237,.4);
}

#wizard-modal,
#upsell-modal {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease;
  background: #020008;
}
#wizard-modal { z-index: 1300; }
#upsell-modal { z-index: 1250; }
#wizard-modal.open,
#upsell-modal.open { opacity: 1; pointer-events: all; }

/* Fond deep-space — prêt à recevoir un background image */
.wizard-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(124,58,237,.22) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(168,85,247,.18) 0%, transparent 55%),
    linear-gradient(180deg, #060310 0%, #020008 50%, #000 100%);
  overflow: hidden;
}
/* Slot for future background image :
   .wizard-bg { background-image: url('/assets/bg/wizard-space.jpg'); background-size: cover; background-position: center; } */

/* Star layers — 3 layers : blanches (défilent lentes), or scintillantes (statiques), petites blanches rapides */
.wizard-bg::before,
.wizard-bg::after {
  content: ''; position: absolute; inset: -50%;
  pointer-events: none;
}
.wizard-bg::before {
  background-image:
    radial-gradient(1.2px 1.2px at 20% 30%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 60% 20%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 80% 50%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 35% 45%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 90% 90%, rgba(255,255,255,.6), transparent);
  background-size: 500px 500px;
  animation: wizard-stars 120s linear infinite;
  opacity: .65;
}
.wizard-bg::after {
  background-image:
    radial-gradient(2px 2px at 15% 25%, #a855f7, transparent),
    radial-gradient(1.5px 1.5px at 55% 65%, #ff8ab5, transparent),
    radial-gradient(2px 2px at 78% 18%, #7c3aed, transparent),
    radial-gradient(1.8px 1.8px at 33% 82%, #ff9a3d, transparent),
    radial-gradient(1.5px 1.5px at 88% 45%, #ff6b6b, transparent),
    radial-gradient(2px 2px at 8% 60%, #ff7f50, transparent),
    radial-gradient(1.5px 1.5px at 47% 12%, #7c3aed, transparent);
  background-size: 700px 700px;
  animation: wizard-twinkle 6s ease-in-out infinite;
  opacity: .9;
  filter: drop-shadow(0 0 6px var(--wiz-gold-glow));
}
@keyframes wizard-stars {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-500px, -500px, 0); }
}
@keyframes wizard-twinkle {
  0%, 100% { opacity: .35; filter: drop-shadow(0 0 4px var(--wiz-gold-glow)) brightness(.85); }
  50%      { opacity: 1;   filter: drop-shadow(0 0 14px rgba(255,80,80,.7)) brightness(1.25); }
}

.wizard-box {
  position: relative; z-index: 1;
  width: 100%; max-width: 960px; height: 100%; max-height: 100vh;
  display: flex; flex-direction: column;
  color: #fff;
}

/* Header */
.wizard-header {
  padding: 1.5rem 2rem 1rem;
  display: flex; flex-direction: column; gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.wizard-top { display: flex; justify-content: space-between; align-items: center; }
.wizard-eyebrow {
  font-size: .68rem; letter-spacing: .28em;
  color: var(--wiz-gold-soft);
  text-transform: uppercase; font-weight: 600;
}
.wizard-close {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s; line-height: 1;
}
.wizard-close:hover {
  background: rgba(124,58,237,.15); border-color: #a855f7;
  color: #a855f7;
  transform: rotate(90deg);
}

/* Barre d'étapes — accent doré */
.wizard-progress { display: flex; gap: .35rem; }
.wizard-progress-dot {
  flex: 1; height: 3px;
  background: rgba(255,255,255,.08);
  border-radius: 2px;
  transition: background .5s;
  position: relative; overflow: hidden;
}
.wizard-progress-dot.done {
  background: linear-gradient(90deg, var(--wiz-gold), var(--wiz-gold-strong));
  box-shadow: 0 0 8px var(--wiz-gold-glow);
}
.wizard-progress-dot.current {
  background: rgba(255,180,92,.18);
}
.wizard-progress-dot.current::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--wiz-gold), var(--wiz-gold-strong));
  box-shadow: 0 0 10px var(--wiz-gold-glow);
  animation: wizard-pulse-fill 2.2s ease-in-out infinite;
  transform-origin: left;
}
@keyframes wizard-pulse-fill {
  0% { transform: scaleX(0); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

.wizard-title { text-align: center; }
.wizard-step-num {
  color: rgba(255,255,255,.35);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .22em; margin-bottom: .3rem;
}
.wizard-step-title {
  font-size: 1.7rem; font-weight: 700;
  color: rgba(255,255,255,.96);
  margin: 0 0 .25rem; letter-spacing: -.01em;
}
.wizard-step-sub {
  color: rgba(255,255,255,.5);
  font-size: .8rem; margin: 0;
}

/* Body */
.wizard-body {
  flex: 1; overflow-y: auto;
  padding: 1.75rem 2rem;
}
.wizard-body::-webkit-scrollbar { width: 3px; }
.wizard-body::-webkit-scrollbar-thumb { background: rgba(255,180,92,.25); border-radius: 2px; }

/* Choice cards */
.wizard-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  animation: wizard-fade-in .45s ease;
}
@keyframes wizard-fade-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.choice-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1rem;
  padding: 1.5rem 1rem 1rem;
  cursor: pointer; text-align: center;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1.15;
  display: flex; flex-direction: column; justify-content: space-between;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.choice-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168,85,247,.4);
  background: rgba(168,85,247,.04);
}
.choice-card.selected {
  border-color: transparent;
  background: rgba(168,85,247,.15);
  box-shadow: 0 6px 26px rgba(124,58,237,.35);
}
.choice-card.selected::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}
.choice-card > * { position: relative; z-index: 1; }

.choice-card-img {
  flex: 1; min-height: 90px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .5rem;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.5));
}
.choice-card:nth-child(2n) .choice-card-img { animation-delay: -1.3s; animation-duration: 4.5s; }
.choice-card:nth-child(3n) .choice-card-img { animation-delay: -2.6s; animation-duration: 5s; }
.choice-card:nth-child(5n) .choice-card-img { animation-delay: -1.8s; animation-duration: 3.8s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-9px) rotate(1deg); }
}
.choice-card-img img { max-width: 100%; max-height: 110px; object-fit: contain; }
.choice-card-img .placeholder-icon {
  font-size: 2.8rem; opacity: .5;
  filter: grayscale(.3);
}
.choice-card-name {
  font-size: 1rem; font-weight: 700;
  color: rgba(255,255,255,.95);
  line-height: 1.2; margin-bottom: .15rem;
}
.choice-card-extra {
  font-size: .78rem;
  color: #ff8a3d;
  font-weight: 700;
}

/* Liste de choix (pain / viande) — image à gauche, texte à droite */
.wizard-list { display: flex; flex-direction: column; gap: .6rem; animation: wizard-fade-in .45s ease; }
.choice-row {
  display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 1rem; padding: .65rem .9rem; cursor: pointer; position: relative;
  transition: border-color .25s, background .25s, box-shadow .25s, transform .2s;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-family: inherit;
}
.choice-row:hover { transform: translateY(-1px); border-color: rgba(168,85,247,.4); background: rgba(168,85,247,.05); }
.choice-row.selected { border-color: transparent; background: rgba(168,85,247,.15); box-shadow: 0 6px 22px rgba(124,58,237,.3); }
.choice-row.selected::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 1;
}
.choice-row > * { position: relative; z-index: 2; }
.choice-row-img { width: 70px; height: 70px; flex: none; display: grid; place-items: center; filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); }
.choice-row-img img { max-width: 100%; max-height: 70px; object-fit: contain; display: block; }
.choice-row-img .placeholder-icon { font-size: 2rem; opacity: .55; }
.choice-row-name { flex: 1; font-size: 1.05rem; font-weight: 700; color: rgba(255,255,255,.95); line-height: 1.2; }
.choice-row-extra { color: #ff8a3d; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.choice-row-check { width: 1.5rem; height: 1.5rem; flex: none; border-radius: 50%; background: linear-gradient(135deg,#7c3aed,#a855f7); color: #fff; display: none; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; box-shadow: 0 0 12px rgba(124,58,237,.5); }
.choice-row.selected .choice-row-check { display: flex; }
/* Pain : images agrandies de 70% (viandes et autres inchangées) */
.wizard-list--pain .choice-row-img { width: 119px; height: 119px; }
.wizard-list--pain .choice-row-img img { max-height: 119px; }
@media (max-width: 640px) {
  .choice-row-img { width: 58px; height: 58px; }
  .choice-row-img img { max-height: 58px; }
  .choice-row-name { font-size: .98rem; }
  /* Pain : +70% sur mobile (58 -> 99) */
  .wizard-list--pain .choice-row-img { width: 99px; height: 99px; }
  .wizard-list--pain .choice-row-img img { max-height: 99px; }
}

/* Sauce chips */
.wizard-sauces {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .5rem;
  animation: wizard-fade-in .45s ease;
}
.sauce-chip {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .5rem;
  padding: .7rem 1rem .7rem 2.5rem;
  color: rgba(255,255,255,.85);
  cursor: pointer; transition: all .2s;
  position: relative;
  font-size: .85rem; font-weight: 500;
  text-align: left;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.sauce-chip::before {
  content: ''; position: absolute;
  left: .8rem; top: 50%; transform: translateY(-50%);
  width: 1.05rem; height: 1.05rem;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: .25rem;
  background: transparent; transition: all .2s;
}
.sauce-chip:hover {
  border-color: rgba(168,85,247,.4);
  background: rgba(168,85,247,.05);
  color: #fff;
}
.sauce-chip.selected {
  border: 1.5px solid #a855f7;
  background: rgba(168,85,247,.15);
  color: #fff; font-weight: 600;
  box-shadow: 0 0 14px rgba(124,58,237,.3);
}
.sauce-chip.selected::before {
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  border-color: transparent;
  box-shadow: 0 0 8px rgba(124,58,237,.5);
}
.sauce-chip.selected::after {
  content: ''; position: absolute;
  left: 1.2rem; top: 45%;
  width: .28rem; height: .5rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}
.sauce-chip.cest-tout, .config-chip.cest-tout { border-color:#f5b62f !important; color:#ffdf8a !important; font-weight:700; }
.sauce-chip.cest-tout.selected, .config-chip.cest-tout.selected { background:linear-gradient(135deg,#f5b62f,#ffdf8a) !important; color:#1a0b00 !important; border-color:#f5b62f !important; }
.cest-tout.shake { animation: ctShake .4s ease; }
@keyframes ctShake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-4px)} 75%{transform:translateX(4px)} }
.wizard-sauce-counter {
  color: rgba(255,255,255,.4);
  font-size: .78rem; text-align: center;
  margin-top: 1.25rem;
}
.wizard-sauce-counter b { color: #ff8a3d; font-size: .85rem; font-weight: 700; }

/* Footer */
.wizard-footer {
  padding: 1.25rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.05);
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.wizard-btn {
  padding: .8rem 1.4rem;
  border: none; border-radius: .5rem;
  font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
  letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: .4rem;
}
.wizard-btn-back {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65);
}
.wizard-btn-back:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.wizard-btn-back:disabled { opacity: 0; pointer-events: none; }

.wizard-total-box { text-align: center; flex: 1; }
.wizard-total-label {
  color: rgba(255,255,255,.4);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: .15rem;
}
.wizard-total-amount {
  font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(135deg,#a855f7,#7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.01em;
  filter: drop-shadow(0 0 12px rgba(124,58,237,.4));
}

.wizard-btn-next {
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  color: #fff;
  min-width: 160px; justify-content: center;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(124,58,237,.4);
}
.wizard-btn-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(124,58,237,.55);
}
.wizard-btn-next:disabled {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.3);
  cursor: not-allowed; transform: none;
  box-shadow: none;
}

@media (max-width: 767px) {
  .wizard-header { padding: 1rem 1.25rem .75rem; }
  .wizard-body { padding: 1.25rem 1rem; }
  .wizard-footer { padding: 1rem 1.25rem; flex-wrap: wrap; }
  .wizard-step-title { font-size: 1.3rem; }
  .wizard-choices { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .choice-card { padding: 1.25rem .75rem .75rem; aspect-ratio: 1 / 1.2; }
  .choice-card-img { min-height: 70px; }
  .choice-card-img img { max-height: 80px; }
  .choice-card-name { font-size: .88rem; }
  .wizard-sauces { grid-template-columns: repeat(2, 1fr); }
  .wizard-btn { padding: .65rem .9rem; font-size: .82rem; }
  .wizard-btn-next { min-width: 120px; }
  .wizard-total-amount { font-size: 1.15rem; }
}


.wizard-warning {
  background: rgba(255, 180, 50, .1);
  border: 1px solid rgba(255, 180, 50, .35);
  color: #ffcc80;
  padding: .7rem 1rem;
  border-radius: .5rem;
  font-size: .8rem;
  text-align: center;
  margin: .5rem 0 0;
  line-height: 1.4;
}
.wizard-warning strong { color: #ffb840; }


/* Centrer les cartes du wizard, largeur max */
.wizard-choices {
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px)) !important;
  max-width: 900px;
  margin: 0 auto;
}

/* Upsell desserts : toujours sur une ligne (gauche / milieu / droite) */
#upsell-desserts {
  grid-template-columns: repeat(3, 1fr) !important;
  max-width: 560px;
  gap: .75rem;
}
@media (max-width: 767px) {
  #upsell-desserts { grid-template-columns: repeat(3, 1fr) !important; gap: .45rem; }
  #upsell-desserts .choice-card { padding: 1rem .35rem .6rem; aspect-ratio: auto; }
  #upsell-desserts .choice-card-name { font-size: .76rem; }
  #upsell-desserts .choice-card-img { min-height: 54px; }
  #upsell-desserts .placeholder-icon { font-size: 1.6rem; }
  #upsell-desserts .upsell-qty-controls { gap: .25rem; }
  #upsell-desserts .qty-btn { width: 1.7rem; height: 1.7rem; }
}
.wizard-body { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wizard-body > * { width: 100%; }
.wizard-sauces {
  max-width: 720px;
  margin: 0 auto;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(140px, 180px)) !important;
}

/* Upsell modal — reuse wizard styles */
.upsell-badge {
  position: absolute;
  top: .55rem; left: .55rem;
  min-width: 1.5rem; height: 1.5rem;
  padding: 0 .45rem;
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  color: #fff;
  border-radius: .75rem;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .75rem;
  z-index: 2;
  box-shadow: 0 0 12px rgba(124,58,237,.5);
}
.choice-card.has-qty .upsell-badge { display: flex; }
@keyframes card-bump {
  0%, 100% { transform: translateY(-3px) scale(1); }
  50%      { transform: translateY(-6px) scale(1.06); }
}
.choice-card.bump { animation: card-bump .4s ease; }


/* Multi-ligne dans le nom d'article panier */
.cart-item-name {
  line-height: 1.4;
  white-space: normal;
}
.cart-item-name .cart-line-main { font-weight: 700; color: #fff; display: block; }
.cart-item-name .cart-line-sub  { font-size: .78rem; color: rgba(255,255,255,.55); display: block; margin-top: .15rem; }

/* Contrôles quantité upsell */
.upsell-qty-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-top: .75rem;
}
.qty-btn {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  border: 1.5px solid rgba(168,85,247,.5);
  background: transparent;
  color: #c4b5fd;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}
.qty-btn:hover:not(:disabled) {
  background: rgba(168,85,247,.15);
  border-color: #a855f7;
  color: #fff;
  transform: scale(1.08);
}
.qty-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .3);
}
.qty-value {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  min-width: 1.75rem;
  text-align: center;
}


.cart-tva-line {
  color: rgba(255,255,255,.45);
  font-size: .78rem;
  text-align: right;
  margin-top: -.5rem;
  margin-bottom: 1rem;
}
.cart-tva-line span { color: rgba(255,255,255,.65); font-weight: 600; }
.checkout-recap-tva {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  padding: .15rem 0 .3rem;
}


/* Bouton Mon compte — violet intergalactique (nébuleuse cosmique) */
.btn--outline {
  background: transparent;
  border: 1.5px solid #a855f7;
  color: #c4b5fd;
  transition: all .25s;
  font-weight: 700;
  position: relative;
  box-shadow: 0 0 12px rgba(168,85,247,.15), inset 0 0 8px rgba(168,85,247,.08);
}
.btn--outline:hover {
  background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #a855f7 100%);
  color: #fff;
  border-color: #a855f7;
  box-shadow: 0 4px 22px rgba(168,85,247,.55), 0 0 40px rgba(139,92,246,.35), inset 0 0 20px rgba(255,255,255,.08);
  transform: translateY(-1px);
  text-shadow: 0 0 8px rgba(196,181,253,.6);
}
.header-cta { gap: .5rem; }
@media(max-width: 767px) {
  .btn--outline { font-size: .8rem; padding: .5rem .8rem; }
}


/* ===== LOGIN PROMPT MODAL ===== */
#login-prompt-modal {
  position: fixed; inset: 0; z-index: 10200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
  background: #020008;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 1rem 0;
}
/* Sur /commander verrouillé, on masque le bandeau cookies tant que la connexion n'est pas faite */
#login-prompt-modal.open { opacity: 1; pointer-events: all; }
.login-prompt-box {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px;
  padding: 2.5rem 2rem; margin: auto 1rem;
  max-height: 90vh; max-height: calc(100dvh - 2rem); overflow-y: auto;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(168,85,247,.25);
  border-radius: 1.5rem;
  text-align: center;
  color: #fff;
  backdrop-filter: blur(8px);
}
.lp-icon {
  font-size: 3.5rem;
  animation: float 4s ease-in-out infinite;
  display: inline-block;
  margin-bottom: 1rem;
  filter: drop-shadow(0 8px 20px rgba(124,58,237,.4));
}
.lp-title {
  font-size: 1.6rem; font-weight: 800;
  background: linear-gradient(135deg,#fff,#ffb0c0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .5rem;
}
.lp-subtitle {
  color: rgba(255,255,255,.7);
  font-size: .95rem; line-height: 1.5;
  margin-bottom: 2rem;
}
.lp-google-btn {
  width: 100%; display: inline-flex; align-items: center; gap: .75rem;
  padding: .9rem 1.5rem; background: #fff; color: #1a0a00;
  border: none; border-radius: .6rem; font-size: .95rem; font-weight: 700;
  cursor: pointer; transition: all .2s;
  justify-content: center; margin-bottom: .75rem;
}
.lp-google-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(255,255,255,.15); }
.lp-google-btn svg { width: 1.15rem; height: 1.15rem; }
.lp-magic-form { display: flex; gap: .5rem; margin-bottom: .75rem; }
.lp-magic-form input {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: .5rem;
  color: #fff; padding: .75rem 1rem; font-size: .9rem;
}
.lp-magic-form input:focus { outline: none; border-color: #a855f7; }
.lp-magic-form button {
  padding: .75rem 1.2rem;
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  color: #fff; border: none; border-radius: .5rem;
  font-size: .88rem; font-weight: 700; cursor: pointer;
  transition: all .2s;
}
.lp-magic-form button:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(124,58,237,.4); }
.lp-magic-form button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.lp-skip {
  background: none; border: none; color: rgba(255,255,255,.5);
  cursor: pointer; font-size: .85rem; margin-top: 1rem;
  text-decoration: underline; transition: color .2s;
}
.lp-skip:hover { color: rgba(255,255,255,.85); }
.lp-msg { padding: .6rem .9rem; border-radius: .4rem; font-size: .82rem; margin-top: .5rem; display: none; }
.lp-msg.visible { display: block; }
.lp-msg.success { background: rgba(0,200,100,.12); border: 1px solid rgba(0,200,100,.4); color: #66ffb0; }
.lp-msg.error { background: rgba(124,58,237,.12); border: 1px solid rgba(124,58,237,.4); color: #ff6b6b; }

/* ===== bloc 2 ===== */
/* ═══════ Sticky popup fermeture (ruby red, bounce + néon on interaction) ═══════ */
.closure-sticky {
  display: none;
  position: fixed;
  top: 5.25rem;
  right: 1.25rem;
  z-index: 9500;
  max-width: 340px;
  background: linear-gradient(155deg, #1a0308 0%, #3d0812 55%, #6b1424 100%);
  border: 2px solid #c41e3a;
  border-radius: 1rem;
  padding: 1rem 2.4rem 1rem 1rem;
  color: #fff;
  box-shadow: 0 8px 32px rgba(196,30,58,.35), 0 0 0 1px rgba(196,30,58,.15);
  backdrop-filter: blur(8px);
  animation: closureSlideIn .5s cubic-bezier(.34,1.56,.64,1);
  transition: box-shadow .3s, transform .3s;
}
body.site-closed .closure-sticky,
body.partial-closure .closure-sticky { display: flex; align-items: flex-start; gap: .75rem; }
body.closure-minimized .closure-sticky { display: none; }
body.closure-minimized .closure-sticky-reopen { display: flex; }

@keyframes closureSlideIn {
  from { transform: translateX(120%) scale(.9); opacity: 0; }
  to   { transform: translateX(0) scale(1); opacity: 1; }
}
.closure-sticky-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(196,30,58,.6));
}
.closure-sticky-body { flex: 1; min-width: 0; }
.closure-sticky-title {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #ffb3c1;
  margin-bottom: .2rem;
}
.closure-sticky-text {
  font-size: .88rem;
  line-height: 1.4;
  color: #fff;
  font-weight: 500;
}
.closure-sticky-close {
  position: absolute;
  top: .5rem;
  right: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.closure-sticky-close:hover { background: rgba(255,255,255,.18); color: #fff; }

.closure-sticky-reopen {
  display: none;
  position: fixed;
  top: 5.25rem;
  right: 1.25rem;
  z-index: 9500;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #c41e3a, #9b111e);
  border: 2px solid #ff4d6d;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(196,30,58,.5);
  animation: closurePulse 2s ease-in-out infinite;
}
@keyframes closurePulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(196,30,58,.5); }
  50% { box-shadow: 0 4px 30px rgba(255,77,109,.9), 0 0 0 6px rgba(196,30,58,.15); }
}

/* Animation "attention !" quand l'user clique un CTA de commande en étant fermé */
.closure-sticky.attention,
.closure-sticky-reopen.attention {
  animation: closureBounceNeon 1s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes closureBounceNeon {
  0%   { transform: scale(1) translateX(0); box-shadow: 0 8px 32px rgba(196,30,58,.35); }
  15%  { transform: scale(1.08) translateX(-4px); box-shadow: 0 0 40px rgba(255,77,109,1), 0 0 80px rgba(196,30,58,.8), 0 0 0 4px rgba(255,77,109,.4); }
  30%  { transform: scale(1.02) translateX(6px); box-shadow: 0 0 50px rgba(255,77,109,1), 0 0 100px rgba(196,30,58,.9), 0 0 0 8px rgba(255,77,109,.3); }
  45%  { transform: scale(1.06) translateX(-3px); box-shadow: 0 0 45px rgba(255,77,109,1), 0 0 90px rgba(196,30,58,.85); }
  60%  { transform: scale(1.02) translateX(2px); box-shadow: 0 0 35px rgba(255,77,109,.9), 0 0 70px rgba(196,30,58,.7); }
  100% { transform: scale(1) translateX(0); box-shadow: 0 8px 32px rgba(196,30,58,.35); }
}

@media (max-width: 900px) {
  .closure-sticky { top: auto; bottom: 1rem; right: 1rem; left: 1rem; max-width: none; max-height: calc(100dvh - 2rem); overflow-y: auto; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .closure-sticky-reopen { top: auto; bottom: 1rem; right: 1rem; }
}

body.site-closed #commander,body.site-closed #cart{ display: none !important; }
body.site-closed .catalog-card { opacity: .5; pointer-events: none; filter: grayscale(.5); }
body.site-closed [data-order],body.site-closed .btn--ubereats,body.site-closed .btn--collect,body.site-closed .order-btn{
  background: linear-gradient(135deg, #2b060b 0%, #6e0b15 50%, #9e101e 100%) !important;
  background-color: #6e0b15 !important;
  border: 1.5px solid #c41e3a !important;
  border-color: #c41e3a !important;
  color: #fff !important;
  box-shadow: 0 4px 22px rgba(196,30,58,.5), 0 0 40px rgba(155,17,30,.3), inset 0 0 20px rgba(255,255,255,.06) !important;
  text-shadow: 0 0 8px rgba(255,143,163,.5) !important;
  filter: none !important;
  transition: all .25s !important;
}
body.site-closed [data-order]:hover,body.site-closed .btn--ubereats:hover,body.site-closed .btn--collect:hover,body.site-closed .order-btn:hover{
  box-shadow: 0 6px 30px rgba(196,30,58,.7), 0 0 60px rgba(255,77,109,.45), inset 0 0 24px rgba(255,255,255,.08) !important;
  transform: translateY(-1px) !important;
}
/* Icônes / logos dans boutons — désaturés pour raccorder à la teinte rouge */
body.site-closed .btn--ubereats img,
body.site-closed [data-order] img {
  filter: grayscale(1) brightness(1.4) !important;
}


#gourmandises .eyebrow { margin-bottom: .15rem; }
#gourmandises .h-section { margin-bottom: .25rem; }
@media (max-width: 900px) {
  #gourmandises .gourm-liquid-grid { gap: 1rem; }
}

/* ============================================================
   COMPACT PASS — fit each section within a desktop viewport
   ============================================================ */
.eyebrow { margin-bottom: .15rem !important; }
#menu .step-num { font-size: 1.3rem; }
#menu .step-title { font-size: 1.15rem; }

/* COMMANDER — catalog: tighter cards & tabs */
#commander .commander-intro { margin-bottom: 1rem; }
#commander .catalog-tabs { margin-bottom: 1rem; gap: .4rem; flex-wrap: wrap; }
/* Onglets catégories épinglés en haut pendant la commande */
#commander .catalog-tabs {
  position: sticky;
  top: var(--cmd-hdr, 80px);
  z-index: 45;
  background: rgba(10,4,24,.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: .55rem .4rem;
  margin-left: -.4rem; margin-right: -.4rem;
  border-bottom: 1px solid rgba(168,85,247,.18);
}
#commander .catalog-section.active { min-height: calc(100dvh - var(--cmd-hdr, 80px) - 78px); }
#commander .catalog-tab { padding: .5rem .9rem; font-size: .85rem; }
#commander .catalog-grid { gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
#commander .catalog-card { padding: 1rem; gap: .4rem; }
#commander .product-img { margin: -1rem -1rem .5rem; }
#commander .catalog-card-name { font-size: .95rem; }
#commander .catalog-card-desc { font-size: .76rem; }
#commander .catalog-card-price { font-size: 1rem; }
#commander .catalog-add-btn { width: 38px; height: 38px; font-size: 1.3rem; }
#avis .reviews-grid{ gap: 1rem; }
#avis .review { padding: 1rem 1.2rem; }
#avis .review p { font-size: .9rem; line-height: 1.4; }

@media (min-height: 820px) {
  /* On tall screens, give a bit more breathing back */
  section { padding-block: clamp(2.6rem, 6vw, 4.5rem); }
}

/* === TROUVER / FAQ / FOOTER — compact so each fits viewport === */
#trouver { padding-block: clamp(2rem, 4vw, 3rem); }

.site-footer { padding: 1.2rem 0 1rem; }
.site-footer .footer-top { gap: .8rem; align-items: center; }
.footer-logo-slot { height: 48px !important; }
#commander .catalog-grid {
  display: flex !important;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: visible;
  gap: 1rem;
  padding: .5rem .25rem 1rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(168,85,247,.5) transparent;
  -webkit-overflow-scrolling: touch;
}
#commander .catalog-grid::-webkit-scrollbar { height: 8px; }
#commander .catalog-grid::-webkit-scrollbar-track { background: transparent; }
#commander .catalog-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  border-radius: 4px;
}
#commander .catalog-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
}
@media (max-width: 640px) {
  #commander .catalog-card { flex-basis: 72vw; max-width: 280px; }
}

/* Fade edges */
.catalog-section { position: relative; }
.catalog-section::before,
.catalog-section::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 60px;
  pointer-events: none; z-index: 2;
}
.catalog-section::before { left: 0;  background: linear-gradient(to right, rgba(10,4,24,.9), transparent); }
.catalog-section::after  { right: 0; background: linear-gradient(to left,  rgba(10,4,24,.9), transparent); }

/* === "Notre concept" (#concept) + "Créer ton burger OVNI" (#menu) — fit viewport === */
#concept { padding-block: clamp(2rem, 4vw, 3rem); }
#concept .concept h2, #concept h2.h-section { margin: .3rem 0 .5rem; }
#concept p.body { font-size: 1rem; margin-bottom: .8rem; line-height: 1.45; }

#menu { padding-block: clamp(2rem, 4vw, 3rem); }
#menu .step-num { font-size: 1.1rem; width: 1.8rem; height: 1.8rem; }
#menu .step-title { font-size: 1.05rem; }

/* === Footer alignment: center logo + legal in one column === */
.site-footer .footer-top { justify-content: center; text-align: center; }

/* #concept — compact + strong bottom spacing so #menu doesn't crowd it */
#concept { padding-block: clamp(1.6rem, 3.5vw, 2.5rem) !important; margin-bottom: clamp(4rem, 9vw, 7rem); }

/* #menu — extra top space for clear separation */
#menu { padding-top: clamp(5rem, 10vw, 8rem) !important; }

/* On mobile the grid stacks — put CTA under current step */
@media (max-width: 900px) {
  #menu .creer-grid { min-height: unset; }
  #menu .creer-grid[data-reveal="0"] [data-step="2"],
  #menu .creer-grid[data-reveal="0"] [data-step="3"],
  #menu .creer-grid[data-reveal="1"] [data-step="3"] { display: none; }
  .step-next-cta { position: static !important; transform: none !important; margin: 1rem auto 0; display: inline-flex; }
  #menu .creer-grid[data-reveal="2"] .step-next-cta { display: none; }
}

/* Smooth transition between #commander and #gourmandises (uses the body hex #0a0418) */
#commander { position: relative; }
#commander::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent 0%, rgba(10,4,24,.6) 55%, #0a0418 100%);
  pointer-events: none;
  z-index: 1;
}

/* === #trouver — pack info cards into a 2x2 grid, compact everything === */
#trouver { padding-block: clamp(1.8rem, 3.5vw, 2.8rem) !important; }
#trouver .eyebrow { margin-bottom: .1rem; }
#trouver .h-section { margin-bottom: .15rem; }

/* === Catalog card: uniform surface, no top/bottom split === */
#commander .catalog-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(216,180,254,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 28px rgba(0,0,0,.35);
  padding: 1rem;
}
#commander .catalog-card .product-img { padding: .3rem; }
#commander .catalog-card .product-img img { filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)); padding: 0; }

/* Kill any asymmetric rounded corner at the bottom of #commander and its catalog overlays */
#commander,
#commander .wrap,
#commander .catalog-section,
#commander .catalog-grid,
#commander .catalog-section::before,
#commander .catalog-section::after,
#commander::before,
#commander::after { border-radius: 0 !important; }

/* === Gourmandises background with top/bottom fade === */
#gourmandises { position: relative; isolation: isolate; }
#gourmandises::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: url('/assets/bg/gourmandises-bg.webp') center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  opacity: .55;
  pointer-events: none;
}
#trouver .open-indicator {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; color: #22d982;
  background: rgba(6,193,103,.14);
  border: 1px solid rgba(6,193,103,.3);
  padding: .2rem .55rem; border-radius: 999px;
}
#trouver .open-indicator .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22d982;
  box-shadow: 0 0 8px rgba(34,217,130,.8);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100%{opacity:1} 50%{opacity:.4} }
@keyframes lastradaFloat {
  0%,100% { transform: translateY(0) rotate(-.4deg); }
  50%     { transform: translateY(-14px) rotate(.4deg); }
}

@keyframes sparkleTwinkle {
  0%, 100% { opacity: .12; transform: scale(.45); }
  45%, 55% { opacity: 1;   transform: scale(1); }
}

/* ============================================================
   #avis — dynamic Google 5★ reviews
   ============================================================ */
#avis.reviews { position: relative; isolation: isolate; }
#avis.reviews::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: url('/assets/bg/google-reviews-bg.webp') center/cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  opacity: .5;
  pointer-events: none;
}

#reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.1rem;
  margin-top: 1.6rem;
}
@media (max-width: 640px) {
  #reviews-grid { grid-template-columns: 1fr; }
}
#reviews-grid .review {
  position: relative;
  padding: 1.25rem 1.35rem;
  background: rgba(10,4,24,.55);
  border: 1px solid rgba(216,180,254,.22);
  border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display: flex; flex-direction: column; gap: .55rem;
}
#reviews-grid .review .top { display: flex; align-items: center; gap: .7rem; }
#reviews-grid .review .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  color: #fff; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 2px 6px rgba(0,0,0,.3);
  overflow: hidden; flex: none;
}
#reviews-grid .review .avatar img { width: 100%; height: 100%; object-fit: cover; }
#reviews-grid .review .who { display: flex; flex-direction: column; gap: .1rem; flex: 1; min-width: 0; }
#reviews-grid .review .who b {
  color: #fff; font-weight: 700; font-size: .95rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#reviews-grid .review .who .meta { font-size: .72rem; color: rgba(255,255,255,.55); }
#reviews-grid .review .stars { display: inline-flex; gap: .08rem; margin-top: .05rem; }
#reviews-grid .review .stars svg { width: 12px; height: 12px; fill: #f4b942; }
#reviews-grid .review .g svg { width: 16px; height: 16px; }
#reviews-grid .review .g { margin-left: auto; opacity: .75; }
#reviews-grid .review p {
  color: rgba(255,255,255,.82);
  font-size: .88rem; line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical;
  overflow: hidden;
}
@keyframes skelPulse { 50% { opacity: .25; } }

#reviews-grid .reviews-empty {
  grid-column: 1 / -1; text-align: center;
  color: rgba(255,255,255,.7); padding: 2rem 1rem;
  font-size: .95rem;
}

/* Central2 background for the Click & Collect order section */
#commander { position: relative; isolation: isolate; }
#commander::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: min(900px, 70vh);         /* fixed-height band, same whatever the active tab */
  z-index: -1;
  background: url('/assets/bg/central2.webp') center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 92%, transparent 100%);
  opacity: .55;
  pointer-events: none;
}
.pickup-slot-btn { padding: .5rem .85rem; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); color: #fff; border-radius: .4rem; cursor: pointer; font: inherit; font-weight: 600; transition: all .15s; }
.pickup-slot-btn:hover:not(.full):not(.selected) { border-color: #a855f7; background: rgba(168,85,247,.12); }
.pickup-slot-btn.selected { background: linear-gradient(135deg,#7c3aed,#a855f7); border-color: #a855f7; color: #fff; }
.pickup-slot-btn.full { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

/* ===== bloc 3 ===== */
@keyframes popupIn { from{opacity:0;transform:scale(.9)} to{opacity:1;transform:scale(1)} }
#promo-popup-overlay.visible { display:flex !important }

/* ============================================================
   GOURMANDISES — Cosmic Floating Products (no cards)
   ============================================================ */
.gourm-liquid-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;
  margin-top:.8rem;padding:.6rem 0 0;
}
@media(max-width:900px){.gourm-liquid-grid{grid-template-columns:1fr;gap:3rem;max-width:420px;margin-inline:auto}}

.liquid-card{
  position:relative;
  padding:.6rem 1rem .4rem;
  background:transparent;border:none;box-shadow:none;
  backdrop-filter:none;-webkit-backdrop-filter:none;
  overflow:visible;
  text-align:center;
  transition:transform .4s cubic-bezier(.34,1.56,.64,1);
}
.liquid-card::before, .liquid-card::after{display:none}
@keyframes cosmicPulse{
  0%,100%{transform:translateX(-50%) scale(1);opacity:.85}
  50%{transform:translateX(-50%) scale(1.1);opacity:1}
}
@keyframes cosmicFloat{
  0%,100%{transform:translateY(0) rotate(-2deg)}
  50%{transform:translateY(-14px) rotate(2deg)}
}
.liquid-card:hover{transform:translateY(-8px)}

/* ===== bloc 4 (id="ls-patch-v2") ===== */
/* ---------- D1 — retrait du fond de la section Avis ---------- */
#avis.reviews::before{display:none!important}

.order-btn{border-radius:16px}

/* ---------- F3 — fade-in plus doux + remise en place du stagger ---------- */
.reveal{
  opacity:0;transform:translateY(26px);
  transition:opacity .8s cubic-bezier(.22,.61,.36,1),transform .8s cubic-bezier(.22,.61,.36,1);
  will-change:opacity,transform;
}
.reveal.in{opacity:1;transform:none}
.reveal.d1{transition-delay:.1s}
@media(prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
}

/* ===== bloc 5 (id="ls-patch-v2-mobile") ===== */
/* ============================================================
   PATCH V2 — MOBILE
   ============================================================ */
@media (max-width: 900px) {
  /* M2 — badge Google : masque la version desktop, badge AU-DESSUS du tag */
  .hero-copy .hero-reviews{display:none}
  .hero-visual{display:flex;flex-direction:column}
  .hero-visual .hero-reviews--mobile{order:0;display:flex;justify-content:center;margin:0 auto .5rem}
  .hero-visual .hero-tag{order:1}
  .hero-visual .hero-scene{order:2}
  .hero-reviews--mobile .g-badge{padding:.42rem .8rem;gap:.42rem}
  .hero-reviews--mobile .g-badge-rating{font-size:1.1rem}
  .hero-reviews--mobile .g-badge-stars svg{width:16px;height:16px}
  .hero-reviews--mobile .g-badge-count{font-size:.82rem}

  /* M3 — pas de CTA dans le hero mobile (trop de CTA) */
  .hero .order-row{display:none}
  /* Scroll-cue : ne doit pas chevaucher le contenu */
  .hero .scroll-cue{display:none}

  /* Barre sticky bas — boutons façon hero */
  .mobile-order{gap:.5rem;padding:.5rem .65rem calc(.5rem + env(safe-area-inset-bottom,0px));align-items:stretch}
  .mobile-order .order-btn{flex:1 1 0;min-width:0;padding:.38rem .5rem .38rem .38rem;border-radius:16px}
  .mobile-order .order-btn .ob-logo{width:34px!important;height:34px!important}
  .mobile-order .order-btn--sumup .ob-logo img{width:26px!important;height:26px!important}
  .mobile-order .order-btn .ob-text small{font-size:.56rem}
  .mobile-order .order-btn .ob-text b{font-size:.86rem}
  .mobile-order .order-btn .ob-arrow{width:16px;height:16px;margin-left:.25rem}

  /* M4 — section « La Strada » : features alignées/centrées sur une ligne, spacing resserré */
  #concept .feature-row{flex-wrap:nowrap;justify-content:center;gap:.5rem;margin-top:1rem}
  #concept .feature{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;max-width:none;gap:.5rem;padding-block:.55rem}
  #concept .feature .ic{margin:0 auto;width:44px!important;height:44px!important}
  #concept .feature svg{width:44px;height:44px}
  #concept .feature b{font-size:.66rem;letter-spacing:.05em;line-height:1.2}
  #concept{margin-bottom:0!important;padding-block:2.2rem!important}
  #menu{padding-top:2.6rem!important}

  /* M9 — Nous trouver : pas de boutons de commande */
  #trouver .order-row{display:none}

  /* Footer réduit + dégagement de la barre sticky (anti-chevauchement, image3) */
  body{padding-bottom:5.6rem}
  .site-footer{padding-block:1.1rem .9rem;margin-top:0}
  .footer-logo-slot{height:40px!important}
  .site-footer .footer-bottom{margin-top:.5rem}
  .site-footer .footer-bottom p{font-size:.72rem;margin:.15rem auto;line-height:1.5}
  /* Panier + icône "fermé" (réouverture) : mêmes tailles, alignés, empilés */
  #cart-fab{width:3rem;height:3rem;right:1.05rem;bottom:6rem}
  #cart-fab svg{width:1.3rem;height:1.3rem}
  .closure-sticky-reopen{width:3rem;height:3rem;right:1.05rem;bottom:9.4rem;top:auto;left:auto;font-size:1.2rem}
  body.partial-closure .closure-sticky{bottom:6rem}
}

/* ---------- M5 — Concept : sélecteur d'étapes façon menu de jeu vidéo ---------- */
@media (max-width: 900px) {
  /* neutralise l'ancien système "data-reveal" sur mobile */
  #menu .creer-grid[data-reveal] [data-step]{display:block}
  #menu .creer-grid.cc{position:relative;display:block;overflow:visible;margin-top:1.2rem;padding-bottom:3.2rem}
  #menu .creer-grid.cc .step-wrap{
    position:absolute;top:0;left:50%;width:74%;margin:0;
    transition:transform .5s cubic-bezier(.2,.8,.2,1),opacity .5s ease,filter .5s ease;
    will-change:transform,opacity;
  }
  #menu .creer-grid.cc .step-wrap .step-card{height:auto}
  #menu .creer-grid.cc .step-wrap[data-pos="0"]{transform:translateX(-50%) scale(1);opacity:1;filter:none;z-index:4;pointer-events:auto}
  #menu .creer-grid.cc .step-wrap[data-pos="-1"]{transform:translateX(-122%) scale(.8);opacity:.5;filter:blur(1px) brightness(.65);z-index:2;pointer-events:auto;cursor:pointer}
  #menu .creer-grid.cc .step-wrap[data-pos="1"]{transform:translateX(22%) scale(.8);opacity:.5;filter:blur(1px) brightness(.65);z-index:2;pointer-events:auto;cursor:pointer}
  #menu .creer-grid.cc .step-wrap[data-pos="-2"],
  #menu .creer-grid.cc .step-wrap[data-pos="2"]{transform:translateX(-50%) scale(.55);opacity:0;z-index:1;pointer-events:none}
  #menu .step-next-cta{display:none!important}

  /* Flèches futuristes flottantes (texte vertical) */
  .cc-nav{
    position:absolute;top:38%;z-index:6;
    display:flex;flex-direction:column;align-items:center;gap:.4rem;
    background:rgba(168,85,247,.12);border:1px solid rgba(216,180,254,.45);
    border-radius:999px;padding:.7rem .4rem;cursor:pointer;
    color:#e9d5ff;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
    box-shadow:0 0 18px rgba(168,85,247,.4),inset 0 0 12px rgba(168,85,247,.15);
    transition:opacity .3s ease,transform .25s ease,box-shadow .25s ease;
    animation:ccFloat 2.6s ease-in-out infinite;
  }
  .cc-nav:hover{box-shadow:0 0 28px rgba(216,180,254,.7)}
  .cc-nav--next{right:-.3rem}
  .cc-nav--prev{left:-.3rem}
  .cc-nav[hidden]{display:none}
  .cc-nav .cc-nav-label{
    writing-mode:vertical-rl;text-orientation:mixed;
    font-family:var(--f-head);letter-spacing:.14em;font-size:.6rem;text-transform:uppercase;
    white-space:nowrap;color:#d8b4fe;
  }
  .cc-nav--prev .cc-nav-label{transform:rotate(180deg)}
  .cc-nav svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:2.4;filter:drop-shadow(0 0 5px rgba(216,180,254,.7))}
  .cc-nav--prev svg{transform:scaleX(-1)}
  @keyframes ccFloat{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}
  .cc-nav--prev{animation-name:ccFloatL}
  @keyframes ccFloatL{0%,100%{transform:translateX(0)}50%{transform:translateX(-5px)}}
}

/* ---------- M6 — Comment commander : tailles images aliens (mobile) ---------- */
@media (max-width: 640px) {
  .mode-v2-card--uber .mode-v2-illus{width:64%!important;right:-6%!important;top:-6%!important}
  /* C&C : plus petit + calé dans le coin haut-droit, un peu plus haut/droite */
  .mode-v2-card--collect .mode-v2-illus{width:97%!important;height:auto!important;right:-12%!important;top:-7%!important;left:auto!important}
  .mode-v2-card--collect .mode-v2-illus img{position:static!important;width:100%!important;height:auto!important;object-fit:contain!important;object-position:right top!important}
}

/* ---------- M7 — Pause sucrée : slider cartes façon menu de jeu ---------- */
@media (max-width: 900px) {
  #gourmandises .gourm-liquid-grid.cc{
    display:block;position:relative;overflow:visible;
    max-width:none;margin:1.2rem auto 0;padding-bottom:3.2rem;
  }
  #gourmandises .gourm-liquid-grid.cc .liquid-card{
    position:absolute;top:0;left:50%;width:72%;margin:0;
    transition:transform .5s cubic-bezier(.2,.8,.2,1),opacity .5s ease,filter .5s ease;
    will-change:transform,opacity;
  }
  #gourmandises .gourm-liquid-grid.cc .liquid-card[data-pos="0"]{transform:translateX(-50%) scale(1);opacity:1;filter:none;z-index:4}
  #gourmandises .gourm-liquid-grid.cc .liquid-card[data-pos="-1"]{transform:translateX(-120%) scale(.78);opacity:.45;filter:brightness(.6);z-index:2;cursor:pointer}
  #gourmandises .gourm-liquid-grid.cc .liquid-card[data-pos="1"]{transform:translateX(20%) scale(.78);opacity:.45;filter:brightness(.6);z-index:2;cursor:pointer}
  #gourmandises .gourm-liquid-grid.cc .liquid-card[data-pos="-2"],
  #gourmandises .gourm-liquid-grid.cc .liquid-card[data-pos="2"]{transform:translateX(-50%) scale(.5);opacity:0;z-index:1;pointer-events:none}
  /* textes jamais devant les images : chaque carte garde image au-dessus du texte, cartes voisines estompées derrière */
  #gourmandises .gourm-liquid-grid.cc .liquid-card .liquid-card-body{position:relative;z-index:2;background:linear-gradient(180deg,transparent,rgba(10,4,24,.0))}
}

/* ---------- M8 — Avis : carrousel façon "story" sur mobile ---------- */
@media (max-width: 640px) {
  #reviews-grid{
    display:flex!important;grid-template-columns:none;
    overflow-x:auto;scroll-snap-type:x mandatory;
    gap:.7rem;padding:.2rem .1rem 1rem;margin-top:1.2rem;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-padding-inline:1rem;
  }
  #reviews-grid::-webkit-scrollbar{display:none}
  #reviews-grid .review{flex:0 0 84%;scroll-snap-align:center}
  #reviews-grid .review p{-webkit-line-clamp:5}
}

/* ---------- M10 — FAQ : questions sur une ligne ---------- */
@media (max-width: 640px) {
  #faq .faq-item summary{font-size:.8rem;letter-spacing:.01em;padding:.75rem .9rem;gap:.6rem}
  #faq .faq-item summary .plus{font-size:1.1rem}
  /* L'image cosmique de bas de page = FOND de la section FAQ, avec léger dégradé en haut */
  body{ background:#0a0418; }
  #faq{ position:relative; isolation:isolate; overflow:hidden; padding-bottom:0 !important; }
  /* Pas de décalage entre le bas de l'image FAQ et le footer */
  .site-footer{ margin-top:0 !important; border-top:none; }
  #faq::before{
    content:""; position:absolute; inset:0; z-index:-1;
    background:url('/assets/bg/cosmic-bottom-mobile.webp') center bottom / cover no-repeat;
    -webkit-mask-image:linear-gradient(to bottom, transparent 0%, #000 22%, #000 100%);
            mask-image:linear-gradient(to bottom, transparent 0%, #000 22%, #000 100%);
    opacity:.7; pointer-events:none;
  }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .hero{ background-image:url('/assets/hero/space-poster-mobile.webp'); }
}

/* ===== bloc 6 (id="cmd-collapse") ===== */
.form-collapse{border:1px solid rgba(168,85,247,.28);border-radius:.6rem;background:rgba(124,58,237,.06);overflow:hidden;margin-bottom:.1rem}
.form-collapse>summary{list-style:none;cursor:pointer;padding:.72rem .9rem;font-size:.92rem;font-weight:600;color:#c4b5fd;display:flex;align-items:center;justify-content:space-between;gap:.5rem;user-select:none}
.form-collapse>summary::-webkit-details-marker{display:none}
.form-collapse>summary::after{content:"+";font-size:1.25rem;line-height:1;color:#a855f7;font-weight:400}
.form-collapse[open]>summary::after{content:"−"}
.form-collapse-body{padding:0 .9rem .85rem}
.form-collapse-body label{display:block;margin-bottom:.35rem;font-size:.82rem;color:rgba(255,255,255,.7)}
.form-collapse-body input{width:100%}

/* ===== bloc 7 ===== */
#cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 640px;
  margin: 0 auto;
  background: rgba(15, 15, 20, .97);
  border: 1px solid rgba(124,58,237,.35);
  border-radius: 1rem;
  padding: 1.1rem 1.3rem;
  color: #fff;
  z-index: 10000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
  backdrop-filter: blur(12px);
  display: none;
  animation: cookieSlideUp .4s ease;
}
#cookie-banner.visible { display: block !important; }
@keyframes cookieSlideUp {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner-text {
  font-size: .88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .85);
  margin-bottom: .9rem;
}
.cookie-banner-text a {
  color: #c4b5fd;
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.cookie-banner-actions button {
  flex: 1;
  min-width: 120px;
  padding: .7rem 1.1rem;
  border-radius: .6rem;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  transition: opacity .15s, transform .15s;
}
.cookie-banner-actions button:hover { transform: translateY(-1px); opacity: .9; }
#cookie-accept {
  background: linear-gradient(90deg,#7c3aed,#a855f7);
  color: #fff;
}
#cookie-refuse {
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .18);
}
@media (max-width: 520px) {
  #cookie-banner { padding: 1rem; }
  .cookie-banner-text { font-size: .82rem; }
}

/* ===== bloc 8 (id="cmd-ui-fix") ===== */
/* ===== /commander — commun ===== */
html, body { height: 100%; }
body { min-height: 100dvh; display: flex; flex-direction: column; overflow: hidden; padding: 0 !important; }
body > #main { flex: 1 1 0%; min-height: 0; display: flex; flex-direction: column; padding-top: var(--cmd-hdr, 72px); background: linear-gradient(180deg, rgba(6,3,16,.25), rgba(6,3,16,.12) 45%, rgba(6,3,16,.45)), url('/assets/hero/space-commande.webp'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-color: #060310; }
#header.site-header, .site-header, .site-header.scrolled { background: transparent !important; background-color: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-bottom: none !important; box-shadow: none !important; }
#main > #commander { position: relative; flex: 1 1 0%; min-height: 0; display: flex; flex-direction: column; padding: .3rem 0 84px !important; background: transparent; }
#commander > .wrap { flex: 1 1 0%; min-height: 0; display: flex; flex-direction: column; width: 100%; }
#commander .commander-intro { flex: 0 0 auto; position: relative; z-index: 50; margin: .1rem 0 .15rem !important; }
#commander .commander-intro .h-section { margin-bottom: 0 !important; line-height: 1.02 !important; }
#commander .commander-intro .eyebrow { margin-bottom: .1rem !important; }
.site-footer { display: none !important; }
#cart-fab { background: linear-gradient(120deg,#4c1d95 0%,#7c3aed 50%,#a855f7 100%) !important; bottom: 1.1rem !important; left: 50% !important; right: auto !important; transform: translateX(-50%) !important; z-index: 900; box-shadow: 0 0 22px rgba(168,85,247,.6), 0 6px 24px rgba(76,29,149,.55), inset 0 1px 0 rgba(255,255,255,.15) !important; }
#cart-fab:hover { transform: translateX(-50%) scale(1.08) !important; }
/* Catégorie sélectionnée — violet sombre façon bouton Click & Collect (commun) */
#commander .catalog-tab.active { background: linear-gradient(180deg,#1a0b3a,#0a0418) !important; border: 1.5px solid #a855f7 !important; color: #fff !important; box-shadow: 0 0 22px rgba(168,85,247,.55), 0 0 44px rgba(168,85,247,.28), inset 0 0 16px rgba(168,85,247,.14) !important; }

/* ===== MOBILE / TABLETTE (<=900px) — coverflow immersif ===== */
@media (max-width: 900px) {
  /* Bandeau catégories : carrousel centré */
  #commander .catalog-tabs { position: fixed; top: 21%; left: 0; right: 0; z-index: 50; display: flex !important; flex-wrap: nowrap !important; grid-template-columns: none !important; align-items: center; gap: .22rem !important; max-width: 100%; margin: 0 !important; padding: .3rem 44vw !important; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; scroll-snap-type: x mandatory; background: transparent !important; border: none !important; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%); }
  #commander .catalog-tabs::-webkit-scrollbar { display: none; }
  #commander .catalog-tab { flex: 0 0 auto; width: auto; white-space: nowrap; scroll-snap-align: center; padding: .42rem .8rem; font-size: .98rem; transform: scale(.66); opacity: .36; filter: grayscale(.45); transition: transform .3s ease, opacity .3s ease, filter .3s ease, background .2s, color .2s; }
  #commander .catalog-tab.active { transform: scale(1.12); opacity: 1; filter: none; }

  /* Bande produits : plein écran, cartes centrées */
  #commander .catalog-section { min-height: 0 !important; }
  #commander .catalog-section.active { position: fixed; inset: 0; z-index: 1; width: 100vw; margin: 0 !important; display: block; }
  #commander .catalog-section.active .catalog-grid { position: absolute; inset: 0; width: auto !important; }
  #commander .catalog-section.active .catalog-grid:not(.cc) { display: block; overflow: visible !important; }
  #commander .catalog-section::before, #commander .catalog-section::after { width: 17vw; z-index: 3; }
  #commander .cc-nav--next { right: .35rem; }
  #commander .cc-nav--prev { left: .35rem; }
  #main > #commander::before { content:""; position: fixed; left:0; right:0; top:0; height: 24vh; background: linear-gradient(to bottom, #070311 0%, #070311 16%, rgba(7,3,17,.8) 45%, rgba(7,3,17,.32) 76%, transparent 100%); z-index: 46; pointer-events: none; }
  #main > #commander::after  { content:""; position: fixed; left:0; right:0; bottom:0; height: 18vh; background: linear-gradient(to top, #070311 0%, rgba(7,3,17,.85) 35%, rgba(7,3,17,.3) 70%, transparent 100%); z-index: 44; pointer-events: none; }

  #commander .catalog-grid.cc { overflow: visible !important; padding: 0 !important; }
  #commander .catalog-grid.cc .catalog-card { position: absolute; top: 59%; left: 50%; width: 76%; max-width: 330px; height: min(50vh, 440px); margin: 0 !important; flex: none !important; display: flex; flex-direction: column; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s ease, filter .5s ease; will-change: transform, opacity; }
  #commander .catalog-grid.cc .catalog-card .product-img { flex: 1 1 auto; min-height: 0; }
  #commander .catalog-section.active .catalog-grid:not(.cc) .catalog-card { position: absolute; top: 59%; left: 50%; transform: translate(-50%,-50%); width: 76%; max-width: 330px; height: min(50vh, 440px); margin: 0 !important; flex: none !important; display: flex; flex-direction: column; }
  #commander .catalog-section.active .catalog-grid:not(.cc) .catalog-card .product-img { flex: 1 1 auto; min-height: 0; }
  #commander .cc-nav { top: 59% !important; animation: ccNavFloat 2.6s ease-in-out infinite; }
  #commander .cc-nav--prev { animation: ccNavFloatL 2.6s ease-in-out infinite; }
  @keyframes ccNavFloat  { 0%,100% { transform: translate(0,-50%); } 50% { transform: translate(5px,-50%); } }
  @keyframes ccNavFloatL { 0%,100% { transform: translate(0,-50%); } 50% { transform: translate(-5px,-50%); } }
  #commander .catalog-grid.cc .catalog-card[data-pos="0"]  { transform: translate(-50%,-50%) scale(1);    opacity: 1;   filter: none; z-index: 4; pointer-events: auto; }
  #commander .catalog-grid.cc .catalog-card[data-pos="-1"] { transform: translate(-140%,-50%) scale(.72); opacity: .3; filter: blur(2px) brightness(.5); z-index: 2; cursor: pointer; }
  #commander .catalog-grid.cc .catalog-card[data-pos="1"]  { transform: translate(40%,-50%) scale(.72);   opacity: .3; filter: blur(2px) brightness(.5); z-index: 2; cursor: pointer; }
  #commander .catalog-grid.cc .catalog-card[data-pos="-2"],
  #commander .catalog-grid.cc .catalog-card[data-pos="2"]  { transform: translate(-50%,-50%) scale(.5);    opacity: 0;   z-index: 1; pointer-events: none; }
}

/* ===== DESKTOP (>=901px) — onglets stables + rangée de cartes + flèches futuristes ===== */
@media (min-width: 901px) {
  #main > #commander { padding: .3rem 0 2rem !important; background: transparent !important; }
  body > #main { background: linear-gradient(180deg, rgba(6,3,16,.3), rgba(6,3,16,.18) 45%, rgba(6,3,16,.5)), url('/assets/hero/space-poster.webp') !important; background-size: cover !important; background-position: center center !important; background-repeat: no-repeat !important; background-color: #060310 !important; }
  #main > #commander::before { content:""; position: fixed; left:0; right:0; top:0; height: 24vh; background: linear-gradient(to bottom, #060310 0%, #060310 20%, rgba(6,3,16,.5) 55%, transparent 100%); z-index: 46; pointer-events: none; }
  #main > #commander::after { content:""; position: fixed; left:0; right:0; bottom:0; height: 16vh; background: linear-gradient(to top, #060310 0%, rgba(6,3,16,.55) 50%, transparent 100%); z-index: 44; pointer-events: none; }
  /* Onglets : rangée stable, centrée, sous le titre */
  #commander .catalog-tabs { flex: 0 0 auto; position: relative; z-index: 50; display: flex !important; flex-wrap: nowrap !important; grid-template-columns: none !important; justify-content: center; align-items: center; gap: .5rem !important; max-width: none; margin: -72px auto .6rem !important; padding: 0 1rem !important; overflow: visible !important; -webkit-mask-image: none !important; mask-image: none !important; scroll-snap-type: none !important; background: transparent !important; border: none !important; }
  #commander .catalog-tab { flex: 0 0 auto; width: auto; white-space: nowrap; transform: none !important; opacity: 1 !important; filter: none !important; scroll-snap-align: none; font-size: .92rem; padding: .5rem 1rem; }
  /* Bande produits : flux normal, rangée centrée, plus bas */
  #commander .catalog-section { min-height: 0 !important; }
  #commander .catalog-section.active { position: absolute !important; left: 0; right: 0; top: calc(var(--cmd-hdr,72px) + 150px); height: min(52vh, 380px); bottom: auto !important; width: auto !important; margin: 0 !important; z-index: 1; display: flex; align-items: center; }
  /* Colonne centrale : même marge à gauche et à droite, cartes centrées quand elles tiennent toutes */
  #commander .catalog-section.active .catalog-grid { position: static !important; inset: auto !important; width: min(calc(100% - 10rem), 1280px) !important; margin: 0 auto !important; height: 100%; justify-content: flex-start; align-items: stretch; padding: 0 !important; scroll-padding-inline: 0; }
  #commander .catalog-section.active .catalog-grid > .catalog-card:first-child { margin-left: auto !important; }
  #commander .catalog-section.active .catalog-grid > .catalog-card:last-child { margin-right: auto !important; }
  #commander .dcg-nav[hidden] { display: none !important; }
  /* Barre de défilement « laser » : barre native masquée, faisceau lumineux à la place */
  #commander .catalog-section.active .catalog-grid { scrollbar-width: none; }
  #commander .catalog-section.active .catalog-grid::-webkit-scrollbar { display: none; }
  #commander .dcg-laser { position: absolute; left: calc(50% - min(50% - 5rem, 640px)); width: min(100% - 10rem, 1280px); bottom: -26px; height: 16px; cursor: pointer; z-index: 6; }
  #commander .dcg-laser[hidden] { display: none; }
  #commander .dcg-laser::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-50%); background: linear-gradient(90deg, transparent, rgba(168,85,247,.45) 12%, rgba(216,180,254,.35) 50%, rgba(168,85,247,.45) 88%, transparent); box-shadow: 0 0 6px rgba(168,85,247,.35); }
  #commander .dcg-laser-beam { position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 999px; cursor: grab; touch-action: none;
    background: linear-gradient(90deg, rgba(240,171,252,0), #f0abfc 18%, #fff 50%, #f0abfc 82%, rgba(240,171,252,0));
    box-shadow: 0 0 4px #fff, 0 0 10px #e879f9, 0 0 22px #a855f7, 0 0 40px rgba(168,85,247,.55);
    animation: dcgLaser 2.4s ease-in-out infinite; transition: height .2s, margin-top .2s; }
  #commander .dcg-laser:hover .dcg-laser-beam, #commander .dcg-laser.is-drag .dcg-laser-beam { height: 5px; margin-top: -2.5px; }
  #commander .dcg-laser.is-drag .dcg-laser-beam { cursor: grabbing; animation: none; }
  @keyframes dcgLaser { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }
  @media (prefers-reduced-motion: reduce) { #commander .dcg-laser-beam { animation: none; } }
  #commander .catalog-section.active .catalog-grid .catalog-card { height: 100%; display: flex; flex-direction: column; }
  #commander .catalog-section.active .catalog-grid .catalog-card .product-img { flex: 1 1 auto; min-height: 0; }
  #commander .catalog-section::before, #commander .catalog-section::after { width: 60px; top: 0; bottom: 0; z-index: 3; }
  /* Flèches futuristes desktop */
  #commander .catalog-section.active .dcg-nav { position: absolute; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: .4rem; background: rgba(168,85,247,.12); border: 1px solid rgba(216,180,254,.45); border-radius: 999px; padding: .8rem .5rem; cursor: pointer; color: #e9d5ff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 18px rgba(168,85,247,.4), inset 0 0 12px rgba(168,85,247,.15); z-index: 6; transition: box-shadow .25s, transform .2s; }
  #commander .dcg-nav:hover { box-shadow: 0 0 28px rgba(216,180,254,.7); }
  #commander .dcg-nav:disabled { opacity: .35; cursor: default; box-shadow: none; }
  /* Flèches collées aux bords de la colonne centrale (symétriques) */
  #commander .dcg-nav.cc-nav--next { right: calc(50% - min(50% - 5rem, 640px) - 1rem - 36px); }
  #commander .dcg-nav.cc-nav--prev { left: calc(50% - min(50% - 5rem, 640px) - 1rem - 36px); }
  #commander .dcg-nav .cc-nav-label { writing-mode: vertical-rl; text-orientation: mixed; font-family: var(--f-head); letter-spacing: .14em; font-size: .62rem; text-transform: uppercase; white-space: nowrap; color: #d8b4fe; }
  #commander .dcg-nav.cc-nav--prev .cc-nav-label { transform: rotate(180deg); }
  #commander .dcg-nav svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.4; filter: drop-shadow(0 0 5px rgba(216,180,254,.7)); }
  #commander .dcg-nav.cc-nav--prev svg { transform: scaleX(-1); }
  #cart-fab { left: auto !important; right: 1.6rem !important; bottom: 1.6rem !important; transform: none !important; }
  #cart-fab:hover { transform: scale(1.08) !important; }
}

/* Lien d'évitement (accessibilité) : visible seulement au clavier */
.skip-link{position:absolute;left:-9999px;top:0;z-index:100}
.skip-link:focus{left:1rem;top:1rem}

/* Police du titre : appliquée quand elle est prête (early.js), Orbitron en attendant */
html.fonts-ethno{--f-display:'ethnocentric','Orbitron',sans-serif}

/* Cartes produits : description toujours sur 2 lignes réservées → titres et prix alignés d'une carte à l'autre */
#commander .catalog-card .catalog-card-desc { min-height: 2lh; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }

/* Choix « Combien de tenders ? » et « Nombre de viandes » : vignettes agrandies (format 4:3) */
.wizard-list--format .choice-row-img, .wizard-list--count .choice-row-img { width: 160px; height: 120px; }
.wizard-list--format .choice-row-img img, .wizard-list--count .choice-row-img img { max-height: 120px; }
@media (max-width: 640px) {
  .wizard-list--format .choice-row-img, .wizard-list--count .choice-row-img { width: 120px; height: 90px; }
  .wizard-list--format .choice-row-img img, .wizard-list--count .choice-row-img img { max-height: 90px; }
}

/* Flottaison cosmique des produits (animation CSS : aucun effet SEO, pas de décalage de mise en page) */
@keyframes itemFloat { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-9px) rotate(1.5deg); } }
/* Flottaison des cartes produits : voir « Flottaison pièce par pièce » plus bas (floating-pieces.js). */

/* ── Flottaison pièce par pièce des burgers (floating-pieces.js) ── */
.product-img .fp-wrap { position: absolute; pointer-events: none; container-type: inline-size; }
.product-img.has-pieces > img { visibility: hidden; animation: none !important; }
.product-img.has-pieces .product-img-placeholder { display: none; }
.fp-wrap .fp { position: absolute; background-repeat: no-repeat; }
@keyframes fpFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(var(--fp-dx), calc(var(--fp-dy) * -1)) rotate(var(--fp-r)); }
}
@media (prefers-reduced-motion: no-preference) {
  .fp-wrap .fp { animation: fpFloat var(--fp-dur, 6s) ease-in-out var(--fp-del, 0s) infinite; animation-play-state: paused; }
  .fp-wrap.fp-run .fp { animation-play-state: running; }
  .catalog-card .product-img > img.fp-solo { animation: fpFloat var(--fp-dur, 6s) ease-in-out var(--fp-del, 0s) infinite; animation-play-state: paused; }
  .catalog-card .product-img > img.fp-solo.fp-run { animation-play-state: running; }
}
/* Boissons : visuels un peu plus petits sur téléphone (canettes hautes qui remplissaient toute la carte) */
@media (max-width: 600px) {
  #commander #cat-boissons .catalog-card .product-img img { padding: 8%; }
}

/* ── Récapitulatif « Commande confirmée » ── */
.checkout-summary { margin: 1.2rem auto 0; max-width: 26rem; text-align: left; background: rgba(255,255,255,.04); border: 1px solid rgba(167,139,250,.25); border-radius: .9rem; padding: .9rem 1rem; font-size: .9rem; color: rgba(255,255,255,.85); }
.checkout-summary-pickup { font-size: 1rem; margin-bottom: .6rem; }
.checkout-summary-pickup strong { color: #c4b5fd; }
.checkout-summary-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.checkout-summary-items li { display: grid; gap: .1rem; }
.checkout-summary-name { font-weight: 600; color: #fff; }
.checkout-summary-details { font-size: .78rem; color: rgba(255,255,255,.6); }
.checkout-summary-notes { margin-top: .6rem; font-style: italic; color: rgba(255,255,255,.75); }
.checkout-summary-total { display: flex; justify-content: space-between; margin-top: .7rem; padding-top: .6rem; border-top: 1px solid rgba(255,255,255,.1); }
.checkout-summary-total strong { color: #c4b5fd; }
.checkout-summary-ref { margin-top: .4rem; font-size: .72rem; color: rgba(255,255,255,.45); word-break: break-all; }

/* Ruptures du jour (pains, viandes) décidées au comptoir */
.config-chip.is-out,
.choice-row.is-out { opacity:.42; filter:grayscale(.85); cursor:not-allowed; pointer-events:none; }
.choice-out-tag { display:inline-block; margin-left:.4rem; padding:.08rem .45rem; border-radius:1rem; font-size:.68em; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:#fecaca; background:rgba(239,68,68,.22); border:1px solid rgba(239,68,68,.5); vertical-align:middle; }

/* Étape « Sauces » : les 14 sauces + « C'est tout » tiennent à l'écran sans défiler */
.wizard-body { justify-content: safe center; }
@media (max-width: 767px) {
  .wizard-sauces {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .4rem; max-width: none;
  }
  .sauce-chip {
    min-width: 0; min-height: 2.6rem;
    padding: .45rem .4rem .45rem 1.75rem;
    font-size: .76rem; line-height: 1.12;
    display: flex; align-items: center;
    overflow-wrap: anywhere; hyphens: auto;
  }
  .sauce-chip::before { left: .5rem; width: .9rem; height: .9rem; }
  .sauce-chip.selected::after { left: .82rem; width: .24rem; height: .44rem; }
  .sauce-chip.cest-tout { grid-column: 1 / -1; justify-content: center; padding-left: .4rem; min-height: 2.4rem; font-size: .82rem; }
  .sauce-chip.cest-tout::before { display: none; }
  .wizard-sauce-counter { margin-top: .6rem; font-size: .72rem; }
  .wizard-sauces + .wizard-sauce-counter { line-height: 1.3; }
}
@media (max-width: 767px) and (max-height: 700px) {
  .sauce-chip { min-height: 2.3rem; padding-top: .35rem; padding-bottom: .35rem; }
  .wizard-sauce-counter { display: none; }
}

/* Performance : seules les cartes visibles au centre flottent (les voisines, floutées et à 30 %,
   ne recalculent plus leurs pièces à chaque image) */
#commander .catalog-grid.cc .catalog-card:not([data-pos="0"]) .fp-wrap .fp,
#commander .catalog-grid.cc .catalog-card:not([data-pos="0"]) .product-img > img.fp-solo { animation-play-state: paused !important; }

/* Zoom au pincement (html.ls-zoomed, floating-pieces.js) : page allégée pour éviter le plantage de l'onglet */
html.ls-zoomed .fp-wrap .fp,
html.ls-zoomed .product-img > img.fp-solo,
html.ls-zoomed .catalog-card,
html.ls-zoomed .wizard-progress-dot.current::after { animation: none !important; }
html.ls-zoomed #commander .catalog-grid.cc .catalog-card,
html.ls-zoomed #commander .catalog-card .product-img img,
html.ls-zoomed .choice-row-img { filter: none !important; will-change: auto !important; }
html.ls-zoomed *, html.ls-zoomed *::before, html.ls-zoomed *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html.ls-zoomed .cursor-glow { display: none !important; }

/* Avertissement à l'ajout (justificatif étudiant…) */
.ls-notice { position: fixed; left: 50%; bottom: calc(1.2rem + env(safe-area-inset-bottom)); z-index: 12000; width: min(92vw, 440px); transform: translate(-50%, 140%); opacity: 0;
  padding: .85rem 1rem; border-radius: .9rem; font-size: .88rem; line-height: 1.35; color: #fde68a; background: rgba(26,12,4,.94); border: 1px solid rgba(245,182,47,.6);
  box-shadow: 0 12px 34px rgba(0,0,0,.55), 0 0 18px rgba(245,182,47,.25); transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s; pointer-events: none; }
.ls-notice.show { transform: translate(-50%, 0); opacity: 1; }

/* ===================================================================
   Catégories sur la gauche (rail) — toute la carte visible en permanence
   Remplace le carrousel d'onglets et le carrousel de produits.
   =================================================================== */
#commander .catalog-tabs.cat-rail{
  position:fixed !important; z-index:60; display:flex !important; flex-direction:column !important; flex-wrap:nowrap !important;
  justify-content:flex-start !important; align-items:stretch !important;
  gap:.3rem !important; margin:0 !important; overflow-x:hidden !important; overflow-y:auto !important;
  scroll-snap-type:none !important; -webkit-mask-image:none !important; mask-image:none !important;
  background:rgba(10,5,22,.84) !important; border:1px solid rgba(168,85,247,.32) !important; border-radius:22px !important;
  box-shadow:0 10px 30px rgba(0,0,0,.45), inset 0 0 18px rgba(168,85,247,.08);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); scrollbar-width:none;
}
#commander .catalog-tabs.cat-rail::-webkit-scrollbar{display:none}
#commander .cat-rail .catalog-tab{
  position:relative; flex:0 0 auto; display:flex; flex-direction:column; align-items:center; gap:.28rem;
  width:auto; margin:0; padding:.5rem .2rem .45rem !important; border:1px solid transparent !important; border-radius:16px !important;
  background:transparent !important; box-shadow:none !important; color:#b3a6d6 !important;
  font-size:.72rem !important; line-height:1.15; white-space:normal; text-align:center;
  transform:none !important; opacity:1 !important; filter:none !important; transition:background .2s, color .2s, border-color .2s;
}
#commander .cat-rail .catalog-tab img{display:block; width:46px; height:46px; border-radius:14px; object-fit:cover; background:#160b2c; opacity:.85; transition:opacity .2s, transform .2s}
/* Burgers : burger entier, en retrait dans sa vignette */
#commander .cat-rail .catalog-tab[data-cat="burgers"] img{object-fit:contain; background:radial-gradient(circle at 50% 55%, rgba(245,158,11,.22), #160b2c 70%)}
#commander .cat-rail .cat-count{font-size:.62rem; color:#8f80b5; font-weight:600}
#commander .cat-rail .cat-count:empty{display:none}
#commander .cat-rail .catalog-tab:hover{background:rgba(124,58,237,.16) !important; color:#fff !important}
#commander .cat-rail .catalog-tab.active{background:linear-gradient(160deg, rgba(124,58,237,.55), rgba(76,29,149,.45)) !important; border-color:rgba(192,132,252,.55) !important; color:#fff !important; box-shadow:0 0 16px rgba(168,85,247,.35) !important}
#commander .cat-rail .catalog-tab.active img{opacity:1}
#commander .cat-rail .catalog-tab.active .cat-count{color:#e9d5ff}
#commander .cat-rail .catalog-tab:focus-visible{outline:2px solid #c084fc; outline-offset:2px}

/* Produits : liste à droite du rail, défilement vertical */
body.cat-rail-on #commander .cc-nav, body.cat-rail-on #commander .dcg-nav, body.cat-rail-on #commander .dcg-laser{display:none !important}
body.cat-rail-on #commander .catalog-section::before, body.cat-rail-on #commander .catalog-section::after{display:none !important}
body.cat-rail-on #main > #commander::after{display:none !important}
body.cat-rail-on #commander .catalog-section.active{
  position:fixed !important; inset:auto !important; width:auto !important; height:auto !important; margin:0 !important;
  display:block !important; overflow-y:auto !important; overflow-x:hidden !important; z-index:5; scrollbar-width:none;
  -webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 40px), transparent 100%);
  mask-image:linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 40px), transparent 100%);
}
body.cat-rail-on #commander .catalog-section.active::-webkit-scrollbar{display:none}
body.cat-rail-on #commander .catalog-section.active .catalog-grid{
  position:static !important; inset:auto !important; display:flex !important; flex-direction:column !important; gap:.85rem !important;
  width:auto !important; height:auto !important; min-height:0 !important; overflow:visible !important; margin:0 !important; padding:0 !important;
}
body.cat-rail-on #commander .catalog-section.active .catalog-card{
  position:relative !important; top:auto !important; left:auto !important; transform:none !important; opacity:1 !important; filter:none !important;
  width:100% !important; max-width:none !important; height:auto !important; margin:0 !important; flex:none !important; border-radius:22px !important; overflow:hidden;
}
body.cat-rail-on #commander .catalog-section.active .catalog-card .product-img{height:150px !important; flex:none !important}
body.cat-rail-on #commander .commander-intro{position:relative; z-index:61}

@media (max-width: 900px){
  /* Vignettes compactes : les 8 catégories tiennent dans la hauteur d'un téléphone ; le nombre de choix en pastille */
  #commander .catalog-tabs.cat-rail{gap:3px !important}
  #commander .cat-rail .catalog-tab{gap:2px; padding:5px 2px 4px !important; font-size:11px !important; line-height:13px}
  #commander .cat-rail .catalog-tab img{width:34px; height:34px; border-radius:11px}
  #commander .cat-rail .cat-count{position:absolute; top:.2rem; right:.35rem; min-width:1.05rem; height:1.05rem; padding:0 .25rem; border-radius:999px;
    background:rgba(20,10,40,.92); border:1px solid rgba(168,85,247,.45); color:#d8b4fe; font-size:.6rem; line-height:1rem; text-align:center}
  #commander .cat-rail .catalog-tab.active .cat-count{background:#7c3aed; border-color:#c084fc; color:#fff}
  #commander .catalog-tabs.cat-rail{
    left:max(.5rem, env(safe-area-inset-left, 0px)); right:auto !important; width:86px;
    top:calc(var(--cmd-hdr,72px) + 70px) !important; bottom:calc(.6rem + env(safe-area-inset-bottom, 0px)); padding:4px !important;
  }
  body.cat-rail-on #commander .catalog-section.active{
    left:calc(max(.5rem, env(safe-area-inset-left, 0px)) + 86px + .55rem) !important; right:max(.6rem, env(safe-area-inset-right, 0px)) !important;
    top:calc(var(--cmd-hdr,72px) + 70px) !important; bottom:0 !important; padding:.1rem 0 6.5rem !important;
  }
}
@media (min-width: 901px){
  #commander .catalog-tabs.cat-rail{
    left:1.2rem; right:auto !important; width:232px; top:calc(var(--cmd-hdr,72px) + 18px) !important; bottom:1.4rem; padding:.6rem !important; gap:.25rem !important;
  }
  #commander .cat-rail .catalog-tab{flex-direction:row; justify-content:flex-start; gap:.8rem; padding:.45rem .6rem !important; font-size:.98rem !important; text-align:left}
  #commander .cat-rail .catalog-tab img{width:48px; height:48px}
  #commander .cat-rail .cat-count{margin-left:auto; font-size:.78rem}
  body.cat-rail-on #commander .commander-intro{padding-left:250px}
  body.cat-rail-on #commander .catalog-section.active{
    left:272px !important; right:1.5rem !important; top:calc(var(--cmd-hdr,72px) + 118px) !important; bottom:0 !important; padding:.3rem .2rem 2.5rem !important;
  }
  body.cat-rail-on #commander .catalog-section.active .catalog-grid{display:grid !important; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)) !important; flex-direction:row !important}
  body.cat-rail-on #commander .catalog-section.active .catalog-card .product-img{height:190px !important}
}
@media (prefers-reduced-motion: reduce){ #commander .cat-rail .catalog-tab, #commander .cat-rail .catalog-tab img{transition:none} }
