/* Good Shop — Glass Night (prune & rose) */
:root {
  --bg: #170a14;
  --paper: #170a14;
  --paper-2: rgba(255,255,255,.035);
  --white: rgba(255,255,255,.06);
  --ink: #ffffff;
  --ink-soft: #c4a7b8;
  --pink: #ff4fa3;
  --pink-2: #ff8cc6;
  --pink-3: #ffc2df;
  --plum: #3a1630;
  --cyan: var(--pink-2);       /* accent secondaire (nom gardé pour l'admin) */
  --violet: #c2287a;
  --yellow: #ffd36b;
  --green: var(--pink);
  --tomato: var(--pink);
  --mustard: var(--pink-3);
  --line: rgba(255,255,255,.12);
  --glass: linear-gradient(165deg, rgba(255,255,255,.10), rgba(255,255,255,.025) 60%);
  --radius: 28px;
  --display: "Anton", Impact, sans-serif;
  --sans: "Outfit", system-ui, sans-serif;
  --serif: var(--sans);
  --mono: var(--sans);
  --neon: var(--display);
  --ease: cubic-bezier(.2,.9,.25,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
/* la panthère et le bandeau penché dépassent exprès : on coupe à l'écran, sinon l'iPhone laisse glisser la page vers la droite */
main { overflow-x: clip; }
body {
  margin: 0; color: var(--ink); font: 16px/1.55 var(--sans); min-height: 100vh; overflow-x: clip;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
    radial-gradient(1000px 700px at 50% 0%, #2a0f22, transparent 70%),
    var(--bg);
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--pink-2); outline-offset: 3px; }
.tag b, .bag-total, .sum b, .receipt { font-variant-numeric: tabular-nums; }

/* ---------- blobs roses flous ---------- */
.blobs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; animation: drift 22s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { width: 520px; height: 520px; top: -160px; right: -140px; background: radial-gradient(circle, #ff3d9a, #ff3d9a00 70%); }
.blobs i:nth-child(2) { width: 420px; height: 420px; top: 45%; left: -220px; background: radial-gradient(circle, #d61f78, #d61f7800 70%); animation-duration: 28s; animation-delay: -8s; }
.blobs i:nth-child(3) { width: 300px; height: 300px; bottom: -80px; right: 10%; background: radial-gradient(circle, #a8186a, #a8186a00 70%); animation-duration: 18s; animation-delay: -4s; }
@keyframes drift { 33% { transform: translate(60px, 40px) scale(1.1); } 66% { transform: translate(-40px, 80px) scale(.92); } 100% { transform: translate(30px, -30px) scale(1.05); } }
/* halo qui suit la souris */
.cursor-glow { position: fixed; z-index: -1; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,79,163,.16), transparent 65%); will-change: transform; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; gap: 16px; align-items: center;
  padding: 12px clamp(16px, 4vw, 48px); background: rgba(23,10,20,.6);
  backdrop-filter: blur(20px) saturate(150%); border-bottom: 1px solid var(--line);
}
.logo { display: flex; flex-direction: column; align-items: center; gap: 5px; font: 400 30px/1 var(--display); color: #fff; text-decoration: none; margin: 0; letter-spacing: .01em; white-space: nowrap; }
.bag-btn {
  margin-left: auto; position: relative; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  color: #fff; border: 1px solid rgba(255,255,255,.25);
  background: linear-gradient(135deg, #ff4fa3, #c2287a); box-shadow: 0 8px 30px rgba(255,79,163,.35), inset 0 1px 0 rgba(255,255,255,.35);
}
.bag-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%) 200% 0 / 300% 100% no-repeat; animation: sheen 5s ease-in-out infinite 2s; }
@keyframes sheen { 0%, 70% { background-position: 200% 0; } 100% { background-position: -100% 0; } }
.bag-count { position: absolute; top: -4px; right: -4px; line-height: 20px; background: #fff; color: #9b1460; border-radius: 999px; min-width: 24px; padding: 0 6px; text-align: center; font-size: 13px; font-weight: 800; }
.bag-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5) rotate(-10deg); } }

main { --gutter: clamp(16px, 4vw, 48px); padding: 0 var(--gutter); max-width: 1240px; margin: 0 auto; }

/* ---------- hero ---------- */
/* image qui « rentre » dans le site par le bord droit : coupée par l'écran */
/* calé sur le bord droit de l'écran (pas du contenu), et moins coupé pour montrer plus du corps */
/* le bas de l'image passe derrière le bandeau « Les plus commandés » (+ léger fondu) : on ne voit pas où elle s'arrête */
.hero-peek { position: absolute; z-index: 2; right: calc(50% - 50vw - 40px); bottom: -110px; height: clamp(300px, 44vw, 560px); width: auto; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 99%); mask-image: linear-gradient(180deg, #000 82%, transparent 99%);
  transform: rotate(-6deg); transform-origin: bottom right; animation: peekIn .9s var(--ease) both; }
@keyframes peekIn { from { transform: translateX(120px) rotate(-6deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-peek { animation: none; } }
@media (max-width: 720px) { .hero-peek { height: 240px; right: calc(50% - 50vw - 34px); bottom: -80px; } }
.hero > :not(.hero-peek) { position: relative; z-index: 1; }
.hero { position: relative; text-align: center; padding: clamp(40px, 7vw, 80px) 0 10px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 26px; padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,.06); border: 1px solid var(--line); backdrop-filter: blur(14px);
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #4dffa6; box-shadow: 0 0 10px #4dffa6; animation: blink 1.6s infinite; }
.eyebrow.closed i { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
@keyframes blink { 50% { opacity: .25; } }
.kicker { font-size: clamp(22px, 3.4vw, 40px); font-weight: 500; margin: 0; letter-spacing: -.01em; }
.pill {
  display: inline-block; padding: .02em .45em .1em; border-radius: .38em; font-weight: 700; color: var(--pink-3);
  background: linear-gradient(180deg, rgba(255,79,163,.35), rgba(255,79,163,.15)); border: 1px solid rgba(255,140,198,.5);
  box-shadow: 0 0 30px rgba(255,79,163,.3);
}
.mega {
  font: 400 clamp(60px, 18vw, 210px)/.9 var(--display); margin: 6px 0 0; padding-top: .12em; letter-spacing: -.01em;
  background: linear-gradient(180deg, #ffffff 25%, #ff9ccc 65%, #ff3d9a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 40px rgba(255,79,163,.35));
}
.lead { font-size: clamp(16px, 1.8vw, 19px); font-weight: 300; max-width: 560px; color: var(--ink-soft); margin: 22px auto 30px; }
.lead b { color: #fff; font-weight: 600; }

/* ---------- bandeau incliné ---------- */
.band { position: relative; z-index: 3; margin: 60px -6vw 10px; transform: rotate(-2.5deg); }
.band-label {
  position: absolute; left: 50%; top: -24px; z-index: 2; transform: translateX(-50%); white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: .25em; padding: 6px 16px; border-radius: 999px;
  background: #2a1022; border: 1px solid rgba(255,255,255,.22);
}
.ticker { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; background: linear-gradient(180deg, #5a1d47, #3d1232); border-block: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.ticker::-webkit-scrollbar { display: none; }
.ticker-track { display: flex; width: max-content; }
.tick { padding: 22px 30px 18px; white-space: nowrap; font: 400 26px var(--display); letter-spacing: .03em; text-transform: uppercase; background: none; border: 0; color: #fff; transition: color .2s, text-shadow .2s; }
/* petite photo du produit avant son nom (le sandwich, très large, reste petit) */
.tick img { height: 1.3em; max-width: 1.7em; object-fit: contain; vertical-align: -.28em; margin-right: 4px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.4)); }
.tick:hover, .tick:focus-visible { color: var(--pink-3); text-shadow: 0 0 18px var(--pink); }
.tick::before { content: "✦"; color: var(--pink); margin-right: 30px; font-size: 18px; vertical-align: middle; }

/* ---------- titres de section ---------- */
.section-title { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); margin: 70px 0 26px; display: flex; align-items: center; gap: 16px; }
.section-title::before, .section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
.section-title::after { transform: scaleX(-1); }
.section-title small { display: none; }

/* ---------- cartes glass communes + effet spotlight ---------- */
.tilt { --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), border-color .3s, box-shadow .3s; }
.tilt.hover { transition: transform .08s linear, border-color .3s, box-shadow .3s; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(255,255,255,.16), transparent 55%); }
.tilt.hover::after { opacity: 1; }

/* ---------- combos (façon packs) ---------- */
.recipe-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; padding-top: 14px; }
.recipe {
  position: relative; display: flex; flex-direction: column; gap: 4px; text-align: left; color: #fff; padding: 24px;
  border-radius: var(--radius); background: var(--glass), rgba(58,22,48,.55); border: 1px solid var(--line); backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.recipe:hover { border-color: rgba(255,140,198,.5); box-shadow: 0 20px 60px rgba(255,79,163,.2), inset 0 1px 0 rgba(255,255,255,.2); }
.recipe.best { background: linear-gradient(165deg, rgba(255,120,190,.35), rgba(190,30,110,.35)), rgba(90,20,60,.6); border-color: rgba(255,170,210,.6); box-shadow: 0 0 60px rgba(255,79,163,.3), inset 0 1px 0 rgba(255,255,255,.3); }
.recipe.best::before { content: "LE + COMMANDÉ"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; letter-spacing: .2em; padding: 5px 14px; border-radius: 999px; background: #4a1338; border: 1px solid rgba(255,190,220,.6); white-space: nowrap; }
.recipe-label { font-size: 12px; font-weight: 600; letter-spacing: .25em; color: var(--ink-soft); }
.recipe.best .recipe-label { color: var(--pink-3); }
.recipe-name { display: flex; align-items: center; gap: 12px; font: 400 34px/1 var(--display); text-transform: uppercase; }
.recipe-name i { font-style: normal; font-size: 34px; transition: transform .5s var(--ease); }
.recipe:hover .recipe-name i { transform: rotate(-14deg) scale(1.2); }
.recipe-tiles { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.recipe-tiles i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; font-style: normal; font-size: 24px;
  background: rgba(255,255,255,.08); border: 1px solid var(--line); transition: transform .4s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.recipe.best .recipe-tiles i { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.35); }
.recipe:hover .recipe-tiles i { transform: translateY(-6px); }
.recipe-tiles i img { width: 78%; height: auto; aspect-ratio: 1; object-fit: contain; } /* carré : une canette haute reste dans sa case */
/* combo mis en avant (gaming) : photo coucher de soleil en fond, assombrie en bas pour lire le prix */
.recipe.feature { color: #fff; border-color: rgba(255,190,140,.7); padding-top: 14px;
  background: linear-gradient(165deg, rgba(120,40,110,.55), rgba(40,12,40,.85));
  box-shadow: 0 0 60px rgba(255,140,90,.3), inset 0 1px 0 rgba(255,255,255,.3); }
/* image entière en haut de la carte, le texte en dessous (rien ne la cache) */
.recipe-hero { display: block; width: 100%; height: auto; border-radius: 18px; margin-bottom: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.recipe.feature .recipe-label { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.recipe-name.sunset { font-size: 30px; letter-spacing: .08em; padding-top: .06em;
  background: linear-gradient(180deg, #fff3b0 10%, #ffb35c 45%, #ff4fa3 80%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.recipe.feature .recipe-foot b { font-size: 32px; }
.recipe.feature .recipe-emoji { position: absolute; top: 0; left: 50%; width: 1px; height: 1px; /* point de départ de l'animation vers le sac */ transform: rotate(12deg); filter: drop-shadow(0 0 12px rgba(255,79,163,.7)); transition: transform .5s var(--ease); }
.recipe.feature:hover .recipe-emoji { transform: rotate(-4deg) scale(1.08); }
.recipe .pad { display: block; width: 100%; height: auto; }
.recipe.feature .recipe-tiles i { width: 56px; height: 56px; background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.recipe.feature .recipe-foot { border-top-color: rgba(255,255,255,.25); }
.recipe-foot { display: flex; align-items: baseline; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.recipe-foot b { font: 400 44px/1 var(--display); }
.recipe-foot small { color: var(--ink-soft); }
.recipe-add { margin-top: 12px; text-align: center; font-weight: 600; padding: 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--line); transition: all .3s; }
.recipe:hover .recipe-add, .recipe.best .recipe-add { background: #fff; color: #9b1460; border-color: #fff; }


/* ---------- produits ---------- */
.shelf { padding: 40px 0 8px; }
.shelf-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.shelf-head h2 { font: 400 clamp(28px, 3.4vw, 40px)/1 var(--display); text-transform: uppercase; margin: 0; letter-spacing: .01em; }
/* rangée de produits qui glisse sur le côté */
.grid { display: flex; gap: 18px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 12px 4px 28px; margin: -12px -4px 0;
  -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
.grid::-webkit-scrollbar { display: none; }
.grid > .card { flex: 0 0 220px; scroll-snap-align: start; }
.arrows { display: flex; gap: 8px; margin-left: auto; }
.arrows button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); font-size: 22px; line-height: 1; transition: all .3s var(--ease); }
.arrows button:hover { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 18px rgba(255,79,163,.5); }

.card {
  position: relative; display: flex; flex-direction: column; padding: 10px 10px 14px; border-radius: 24px;
  background: var(--glass), rgba(58,22,48,.45); border: 1px solid var(--line); backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.card:hover { border-color: rgba(255,140,198,.45); box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 40px rgba(255,79,163,.18), inset 0 1px 0 rgba(255,255,255,.18); }
.card-art {
  position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 18px;
  background: radial-gradient(circle at 50% 70%, rgba(255,79,163,.35), transparent 65%), rgba(0,0,0,.2);
}
.emoji { font-size: clamp(64px, 7vw, 88px); position: relative; z-index: 1; filter: drop-shadow(0 12px 18px rgba(0,0,0,.45)); }
.card h3 { font-size: 16px; font-weight: 600; line-height: 1.25; margin: 4px 6px 0; }
/* prix + bouton calés en bas : toutes les cartes d'une rangée ont la même hauteur, donc tout est aligné */
.tag { display: flex; align-items: baseline; gap: 6px; margin: auto 6px 14px; padding-top: 12px; }
.tag b { font: 400 30px/1 var(--display); }
.tag small { font-size: 13px; color: var(--ink-soft); }
.card-act { padding: 0 2px; }
.add {
  position: relative; width: 100%; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.07); border-radius: 999px; padding: 10px; font-size: 14px; font-weight: 600;
  transition: all .3s var(--ease);
}
.add:hover { background: #fff; color: #9b1460; border-color: #fff; box-shadow: 0 8px 26px rgba(255,79,163,.4); }
.add:active { transform: scale(.96); }
.stepper { display: flex; align-items: center; justify-content: space-between; border-radius: 999px; padding: 4px; background: linear-gradient(135deg, #ff4fa3, #c2287a); box-shadow: 0 8px 26px rgba(255,79,163,.4), inset 0 1px 0 rgba(255,255,255,.3); animation: pop .4s var(--ease); }
@keyframes pop { from { transform: scale(.85); opacity: .4; } }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.2); color: #fff; font-weight: 700; font-size: 18px; line-height: 1; transition: background .2s, transform .2s; }
.stepper button:hover { background: rgba(255,255,255,.35); }
.stepper button:active { transform: scale(.85); }
.stepper span { font-weight: 800; }

.foot { position: relative; margin-top: 100px; padding: 56px 16px 40px; text-align: center; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(23,10,20,.4), rgba(23,10,20,.85)); backdrop-filter: blur(12px); }
.foot .logo { font-size: 40px; margin: 0; }
.foot-tag { margin: 6px 0 0; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 900px; gap: 28px 16px; margin: 36px auto 0; } /* les 4 infos sur une seule ligne */
/* pied de page épuré : pas de cases, juste du texte en colonnes */
.foot-card { display: block; padding: 0 8px; text-align: center; color: #fff; text-decoration: none; font-size: 14px; line-height: 1.6; }
a.foot-card:hover { color: var(--pink-3); }
.foot-card svg { display: block; margin: 0 auto 8px; color: var(--pink-3); } /* petit logo au-dessus de chaque info */
.foot-dot { display: block; width: 10px; height: 10px; margin: 5px auto 13px; border-radius: 50%; background: #4dffa6; box-shadow: 0 0 10px #4dffa6; animation: blink 1.6s infinite; } /* même hauteur que les logos (20px + 8px) */
.foot-dot.closed { background: #ff3b3b; box-shadow: 0 0 10px #ff3b3b; }
@media (prefers-reduced-motion: reduce) { .foot-dot { animation: none; } }
.foot-card small { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); }
.foot-copy { margin: 18px 0 0; font-size: 12px; color: var(--ink-soft); letter-spacing: .05em; }
.foot-link { display: inline-flex; align-items: center; gap: 6px; margin: 0 6px; color: #fff; text-decoration: none; }
.foot-link:hover { color: var(--pink-3); }
.foot-link img { width: 18px; height: 18px; object-fit: contain; }
@media (max-width: 560px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.flyer { position: fixed; z-index: 100; font-size: 48px; pointer-events: none; transform: translate(-50%, -50%); filter: drop-shadow(0 0 16px var(--pink)); }
.flyer img { display: block; width: 72px; height: 72px; object-fit: contain; }
/* étincelles au clic */
.spark { position: fixed; z-index: 101; width: 7px; height: 7px; border-radius: 50%; pointer-events: none; background: var(--pink-3); box-shadow: 0 0 10px var(--pink); }

/* ---------- tiroir ---------- */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(12,4,10,.55); backdrop-filter: blur(8px); }
.drawer {
  margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(460px, 100vw); flex-direction: column;
  background: linear-gradient(165deg, rgba(90,29,71,.75), rgba(30,11,26,.88)); backdrop-filter: blur(30px) saturate(160%);
  border-left: 1px solid rgba(255,255,255,.16); box-shadow: -30px 0 80px rgba(0,0,0,.5);
}
.drawer[open] { display: flex; animation: slide .5s var(--ease); overflow: hidden; } /* seul le corps défile : le pied reste collé en bas */
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font: 400 32px/1 var(--display); text-transform: uppercase; margin: 0; }
.x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); font-size: 22px; line-height: 1; transition: transform .3s var(--ease); }
.x:hover { transform: rotate(90deg); }
.drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: 22px; }
.drawer-foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; background: rgba(0,0,0,.2); }
.drawer-foot[hidden], .drawer-body[hidden] { display: none; }
.sum { display: flex; flex-direction: column; margin-right: auto; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); }
.sum b { font: 400 32px/1 var(--display); letter-spacing: 0; color: #fff; }
.btn { border-radius: 999px; padding: 13px 22px; font-weight: 600; border: 1px solid var(--line); background: rgba(255,255,255,.06); transition: all .3s var(--ease); }
.btn.primary { margin-left: auto; color: #fff; border-color: rgba(255,255,255,.3); background: linear-gradient(135deg, #ff4fa3, #c2287a); box-shadow: 0 10px 30px rgba(255,79,163,.4), inset 0 1px 0 rgba(255,255,255,.35); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,79,163,.55), inset 0 1px 0 rgba(255,255,255,.35); }
.btn.primary:disabled { opacity: .4; transform: none; box-shadow: none; cursor: not-allowed; }
.btn.ghost { background: none; }

/* sac glass qui se remplit */
.paper-bag { position: relative; width: 210px; height: 230px; margin: 14px auto 8px; }
.bag-pile { position: absolute; left: 14px; right: 14px; bottom: 150px; display: flex; flex-wrap: wrap-reverse; justify-content: center; align-content: flex-start; }
.bag-pile span { font-size: 34px; margin: -10px -5px; transform: rotate(var(--r)); animation: drop .6s cubic-bezier(.3,1.5,.6,1) backwards; }
.bag-pile span img { display: block; width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
/* sac bien rempli : photos plus petites et serrées, pour que tout tienne dans le sac */
.bag-pile.full span { margin: -9px -6px; }
.bag-pile.full span img { width: 36px; height: 36px; }
@keyframes drop { from { transform: translateY(-90px) rotate(0); opacity: 0; } }
.bag-front {
  position: absolute; inset: auto 0 0; height: 160px; z-index: 2; border-radius: 10px 10px 30px 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(165deg, rgba(255,140,198,.45), rgba(194,40,122,.35)); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,200,225,.55); box-shadow: 0 20px 50px rgba(255,79,163,.3), inset 0 1px 0 rgba(255,255,255,.45);
}
.bag-front::before { content: ""; position: absolute; top: -36px; left: 50%; width: 86px; height: 52px; margin-left: -43px; z-index: -1; border: 5px solid rgba(255,200,225,.7); border-bottom: 0; border-radius: 50px 50px 0 0; }
.bag-front span { font: 400 30px var(--display); letter-spacing: .02em; }
.bag-front small { font-size: 11px; letter-spacing: .2em; color: var(--pink-3); }


.lines { list-style: none; margin: 0; padding: 0; }
.lines li { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); animation: slidein .4s var(--ease) backwards; }
@keyframes slidein { from { opacity: 0; transform: translateX(20px); } }
.lines .le { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; font-size: 26px; background: rgba(255,255,255,.08); border: 1px solid var(--line); }
.le img { display: block; width: 38px; height: 38px; object-fit: contain; }
.lines .ln { font-weight: 600; line-height: 1.25; font-size: 14px; }
.lines .ln small { display: block; color: var(--ink-soft); font-weight: 400; font-size: 12px; }
.lines .stepper { padding: 3px; gap: 6px; animation: none; }
.lines .stepper button { width: 26px; height: 26px; font-size: 15px; }
.lines .stepper span { min-width: 18px; text-align: center; font-size: 13px; }
.empty-bag { text-align: center; color: var(--ink-soft); }

/* checkout */
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font: 400 24px var(--display); text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 700 14px var(--sans); background: linear-gradient(135deg, #ff4fa3, #c2287a); box-shadow: 0 0 16px rgba(255,79,163,.5); }
label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; color: var(--ink-soft); }
label small { color: var(--ink-soft); font-weight: 400; text-transform: none; letter-spacing: 0; opacity: .75; }
input:not([type=radio]), textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 14px; outline: none; font-size: 16px; /* moins de 16 px : l'iPhone zoome sur le champ et la page reste zoomée */ letter-spacing: 0; text-transform: none; color: #fff;
  border: 1px solid var(--line); background: rgba(255,255,255,.06); transition: border-color .3s, box-shadow .3s, background .3s;
}
input:not([type=radio]):focus, textarea:focus { border-color: var(--pink); background: rgba(255,79,163,.08); box-shadow: 0 0 0 4px rgba(255,79,163,.15); }
input:user-invalid { border-color: #ff6b8a; box-shadow: 0 0 0 4px rgba(255,107,138,.15); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 6px 0 4px; }
.slot { position: relative; margin: 0; min-width: 0; }
.slot[hidden] { display: none; }
.slot input, .pay input { position: absolute; opacity: 0; pointer-events: none; }
.slot span {
  display: flex; flex-direction: column; align-items: center; height: 100%; padding: 12px 4px; border-radius: 18px; text-align: center; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid var(--line); transition: all .3s var(--ease); text-transform: none; letter-spacing: 0;
}
.slot span small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); opacity: 1; }
.slot span b { font-size: 15px; color: #fff; }
.slot span i { font-style: normal; font-size: 18px; }
.slot input:checked + span { background: linear-gradient(165deg, rgba(255,120,190,.45), rgba(190,30,110,.45)); border-color: rgba(255,190,220,.7); transform: translateY(-3px); box-shadow: 0 10px 26px rgba(255,79,163,.35); }
.slot input:checked + span small { color: var(--pink-3); }
.slot-more { border-radius: 18px; background: rgba(255,255,255,.06); border: 1px dashed var(--line); color: #fff; font-family: inherit; font-size: 26px; font-weight: 600; cursor: pointer; }
.slot-more:hover { background: rgba(255,255,255,.12); }
.slot input:focus-visible + span, .pay input:focus-visible + span { outline: 2px solid var(--pink-2); outline-offset: 2px; }

.pays { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay { position: relative; margin: 0; }
.pay span { display: flex; flex-direction: column; height: 100%; padding: 14px; border-radius: 18px; font-weight: 600; font-size: 15px; color: #fff; cursor: pointer; text-transform: none; letter-spacing: 0;
  background: rgba(255,255,255,.06); border: 1px solid var(--line); transition: all .3s var(--ease); }
.pay span i { font-style: normal; font-size: 24px; }
.pay span small { font-weight: 400; color: var(--ink-soft); opacity: 1; }
.pay span em { font-style: normal; }
#modes { margin-bottom: 14px; }
.pay input:checked + span { background: linear-gradient(165deg, rgba(255,120,190,.4), rgba(190,30,110,.4)); border-color: rgba(255,190,220,.7); box-shadow: 0 10px 26px rgba(255,79,163,.3); }
.pay input:disabled + span { opacity: .4; cursor: not-allowed; }
.err { color: #ff8cb0; font-weight: 600; min-height: 1.5em; margin: 12px 0 0; }

/* ---------- ticket glass ---------- */
.receipt {
  position: relative; font-size: 13px; line-height: 1.7; padding: 22px 18px 28px; color: #f3e6ee;
  background: linear-gradient(170deg, rgba(255,255,255,.14), rgba(255,255,255,.04)), rgba(58,22,48,.6); backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0;
  --zz: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  -webkit-mask: var(--zz); mask: var(--zz);
}
.receipt h3 { font: 400 34px/1 var(--display); text-transform: uppercase; text-align: center; margin: 0;
  background: linear-gradient(180deg, #fff 30%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.receipt .c { text-align: center; color: var(--ink-soft); margin: 2px 0 0; }
.receipt hr { border: 0; border-top: 1px dashed rgba(255,255,255,.25); margin: 12px 0; }
.receipt .row { display: flex; gap: 6px; }
.receipt .row span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.receipt .row::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted rgba(255,255,255,.2); margin-bottom: 8px; min-width: 10px; }
.receipt .row span:last-child { order: 2; white-space: nowrap; }
.receipt .row.total { font-weight: 800; font-size: 17px; color: var(--pink-3); }
.barcode { height: 44px; margin: 14px 0 4px; opacity: .85; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px, #fff 8px 11px, transparent 11px 12px); }
.done { background: none; width: min(420px, calc(100vw - 32px)); overflow: visible; text-align: center; }
.done[open] { animation: print .9s var(--ease); }
@keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -20% 0); } }
.done .btn { margin: 20px auto 0; }
.steps { display: flex; justify-content: space-between; margin: 14px 0 4px; }
.steps span { flex: 1; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.steps span::before { content: ""; display: block; width: 10px; height: 10px; margin: 0 auto 4px; border-radius: 50%; border: 1.5px solid var(--ink-soft); }
.steps span.on { color: #5ef0a0; font-weight: 700; }
.steps span.on::before { background: #3ddc84; border-color: #3ddc84; box-shadow: 0 0 10px #3ddc84; }

/* confettis à la confirmation */
.confetti { position: fixed; top: -60px; z-index: 300; width: 48px; height: 48px; object-fit: contain; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 180%); padding: 13px 24px; border-radius: 999px; font-weight: 600;
  background: rgba(58,22,48,.8); backdrop-filter: blur(18px); border: 1px solid rgba(255,140,198,.5); box-shadow: 0 16px 40px rgba(0,0,0,.4);
  transition: transform .5s var(--ease), opacity .3s, visibility .5s; max-width: calc(100vw - 32px);
  opacity: 0; visibility: hidden; /* sur iPhone, la barre de Safari laisse voir le bas de l'écran : décaler ne suffit pas */
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .5s var(--ease), opacity .3s; }

@media (max-width: 720px) {
  .logo { font-size: 26px; }
    .bag-btn { margin-left: auto; }
  .grid { gap: 12px; }
  .grid > .card { flex-basis: 165px; }
  .arrows { display: none; }
  /* onglets (Menu / Simple, Bonbons / Chocolat) sur leur propre ligne, pleine largeur : le titre et le nombre de produits gardent leur place */
  .shelf-head { flex-wrap: wrap; }
  .shelf-head h2 { flex: 1 1 0; min-width: 0; }
  .shelf-head .subtabs { order: 1; flex-basis: 100%; }
  .shelf-head .subtabs button { flex: 1; }
  .card h3 { font-size: 14px; }
  .tag b { font-size: 28px; }
  .tick { font-size: 20px; padding: 18px 22px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .cursor-glow { display: none; }
}

.hero { padding-top: clamp(56px, 8vw, 96px); }

/* ronds de catégories sous le bandeau */
/* overflow-y hidden : la molette fait défiler la page, jamais la rangée en vertical ;
   marges latérales pour que le halo du rond choisi ne soit pas coupé au bord */
.cats { display: flex; justify-content: safe center; gap: clamp(14px, 3vw, 28px); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 40px calc(var(--gutter) + 4px) 10px; margin: 0 calc(-1 * var(--gutter)); }
.cat { flex: none; display: flex; text-decoration: none; flex-direction: column; align-items: center; gap: 10px; color: var(--ink-soft); background: none; border: 0; padding: 0; font-size: 14px; font-weight: 600; }
.cat[aria-pressed="true"] { color: #fff; }
.cat[aria-pressed="true"] span { background-color: rgba(255,79,163,.28); box-shadow: 0 0 0 3px var(--pink), 0 0 20px rgba(255,79,163,.5), inset 0 1px 0 rgba(255,255,255,.3); }
.cat span {
  display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; font-size: 40px;
  background: radial-gradient(circle at 50% 65%, color-mix(in srgb, var(--tint) 40%, transparent), transparent 70%), rgba(255,255,255,.06);
  border: 2px solid transparent; backdrop-filter: blur(14px);
  background-clip: padding-box; box-shadow: 0 0 0 2px rgba(255,140,198,.45), inset 0 1px 0 rgba(255,255,255,.2);
  transition: box-shadow .3s;
}
.cat:hover span { box-shadow: 0 0 0 2px var(--pink), 0 12px 30px rgba(255,79,163,.4), inset 0 1px 0 rgba(255,255,255,.25); }
@media (max-width: 720px) { .cats { justify-content: flex-start; padding-top: 30px; } .cat span { width: 70px; height: 70px; font-size: 32px; } .cat { font-size: 12px; } }

/* en-tête : menu à gauche, logo au centre, panier à droite */
.top { display: grid; grid-template-columns: 1fr auto 1fr; }
.top .logo { justify-self: center; }
.top .bag-btn { justify-self: end; margin-left: 0; }
.icon-btn { justify-self: start; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.icon-btn:hover { background: rgba(255,79,163,.18); border-color: rgba(255,140,198,.6); }

/* menu latéral gauche */
.menu { margin: 0 auto 0 0; border-left: 0; border-right: 1px solid rgba(255,255,255,.16); width: min(380px, 100vw); }
.menu[open] { animation-name: slideLeft; }
@keyframes slideLeft { from { transform: translateX(-100%); } }
.menu-search { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 4px 6px 4px 16px; border-radius: 999px; color: var(--ink-soft);
  background: rgba(255,255,255,.06); border: 1px solid var(--line); text-transform: none; letter-spacing: 0; }
.menu-search:focus-within { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255,79,163,.15); }
.menu-search input { margin: 0; border: 0 !important; background: none !important; box-shadow: none !important; padding: 10px 0; }
.results .add { width: auto; padding: 8px 14px; font-size: 13px; }
.results .none { display: block; text-align: center; color: var(--ink-soft); border: 0; padding: 30px 0; }
#menuLinks[hidden] { display: none; }
.menu-title { font-size: 11px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-soft); margin: 8px 0 10px; }
.menu-cats { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.menu-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 14px 10px 10px; border-radius: 18px; color: #fff; text-decoration: none; text-align: left;
  font-size: 15px; font-weight: 600; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: background .25s, border-color .25s; }
.menu-row:hover { background: rgba(255,79,163,.14); border-color: rgba(255,140,198,.5); }
.menu-row span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 20px; background: rgba(255,255,255,.08); }
.menu-row span img { width: 30px; height: 30px; object-fit: contain; } /* taille fixe : les gobelets hauts restent dans le rond */
.menu-row i { margin-left: auto; font-style: normal; font-size: 22px; color: var(--ink-soft); }

/* icônes menu et panier sans rond (zone de clic gardée à 44px) */
.icon-btn, .top .bag-btn { width: 44px; height: 44px; background: none; border: 0; box-shadow: none; border-radius: 0; color: #fff; transition: color .2s, transform .2s; }
.icon-btn:hover, .top .bag-btn:hover { background: none; color: var(--pink-2); }
.icon-btn svg, .top .bag-btn svg { width: 28px; height: 28px; }
.top .bag-btn::after { display: none; }
.top .bag-count { top: 0; right: -2px; background: var(--pink); color: #fff; }

/* infos : deux cartes en verre */
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: center; gap: 14px; }
.fact { padding: 16px 18px; border-radius: 22px; text-align: center; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(18px); }
.fact small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.fact b { font: 400 34px/1.1 var(--display); }
#status small { display: flex; align-items: center; justify-content: center; gap: 7px; }
#status small i { width: 8px; height: 8px; border-radius: 50%; background: #4dffa6; box-shadow: 0 0 10px #4dffa6; animation: blink 1.6s infinite; }
#status.closed small i { background: #ff3b3b; box-shadow: 0 0 10px #ff3b3b; }
@media (max-width: 720px) {
  .hero-facts { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .fact { padding: 12px; border-radius: 18px; }
  .fact small { font-size: 9px; letter-spacing: .12em; }
  .fact b { font-size: 20px; white-space: nowrap; }
}
.menu-row[hidden] { display: none; }
.done-note { margin: 18px 6px 0; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.done-note b { color: var(--pink-3); letter-spacing: .04em; }
.done-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.done-actions .btn { margin: 0; width: 100%; text-align: center; text-decoration: none; color: #fff; }
.top-right { justify-self: end; display: flex; align-items: center; gap: 2px; }

/* ---------- machine à sous ---------- */
.slot-game { text-align: center; padding-top: 10px; }
.machine {
  --cell: clamp(78px, 16vw, 120px);
  position: relative; width: fit-content; margin: 10px auto 0; padding: 18px; border-radius: 34px;
  background: linear-gradient(165deg, rgba(255,255,255,.12), rgba(255,255,255,.03)), rgba(42,16,34,.8);
  border: 3px solid var(--pink); box-shadow: 0 0 24px rgba(255,79,163,.6), inset 0 0 24px rgba(255,79,163,.35), 0 30px 60px rgba(0,0,0,.45);
}
.reels { display: flex; gap: 10px; }
.reel { width: calc(var(--cell) * 1.05); height: var(--cell); overflow: hidden; border-radius: 18px;
  background: linear-gradient(180deg, #d9cfd6, #fff 30%, #fff 70%, #d9cfd6); box-shadow: inset 0 8px 14px rgba(0,0,0,.35), inset 0 -8px 14px rgba(0,0,0,.35); }
.reel:nth-child(2) { box-shadow: inset 0 8px 14px rgba(0,0,0,.35), inset 0 -8px 14px rgba(0,0,0,.35), 0 0 22px rgba(255,79,163,.55); }
.strip span { display: grid; place-items: center; height: var(--cell); font-size: calc(var(--cell) * .55); line-height: 1; }
.strip span { overflow: hidden; }
.strip span img { width: calc(var(--cell) * .72); height: calc(var(--cell) * .72); object-fit: contain; /* taille fixe : une canette haute ne déborde pas sur la case voisine */ filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.machine.won { animation: win-glow .5s ease-in-out 6 alternate; }
@keyframes win-glow { to { box-shadow: 0 0 50px var(--pink), inset 0 0 30px rgba(255,79,163,.6), 0 30px 60px rgba(0,0,0,.45); } }
/* levier */
.lever { position: absolute; right: -34px; top: 50%; width: 16px; height: 90px; padding: 0; border: 0; border-radius: 8px; transform-origin: 50% 100%;
  translate: 0 -100%; background: linear-gradient(90deg, #444, #aaa, #444); cursor: pointer; }
.lever span { position: absolute; left: 50%; top: -20px; width: 36px; height: 36px; margin-left: -18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffc2df, var(--pink) 55%, #c2287a); box-shadow: 0 0 18px var(--pink); }
.lever.pull { animation: pull .7s cubic-bezier(.3,1.4,.5,1); }
@keyframes pull { 35% { transform: scaleY(-.6); } }
.lever:disabled { cursor: default; }
.slot-big { font: 400 clamp(40px, 8vw, 76px)/.95 var(--display); margin: 34px 0 18px; }
.slot-big em { font-style: normal; background: linear-gradient(180deg, #fff 10%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spin-btn { margin: 0 auto; font-size: 18px; padding: 14px 44px; }
.slot-result { min-height: 1.5em; margin: 18px auto 6px; max-width: 520px; font-size: 16px; }
.slot-result small { color: var(--ink-soft); }
.slot-legal { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.slot-legal i { width: 1px; height: 14px; background: var(--pink); }
/* cadeau dans le sac */
.gift-line { background: rgba(255,79,163,.1); border-radius: 14px; padding-inline: 6px !important; }
.gift-line .free { font: 400 16px var(--display); letter-spacing: .05em; color: var(--pink-3); }

/* ---------- jeu dans une fenêtre + bouton flottant ---------- */
/* icône du jeu dans l'en-tête : pastille « ! » tant que le client n'a pas joué */
.game-btn { position: relative; }
.game-btn:not(.played)::after { content: "!"; position: absolute; top: 2px; right: -2px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%;
  font: 800 12px/1 var(--sans); color: #fff; background: var(--pink); box-shadow: 0 0 10px var(--pink); animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 78% { transform: scale(1.25) rotate(-12deg); } 86% { transform: scale(1.1) rotate(10deg); } }
.game-modal {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: visible; padding: 28px 20px 24px; border-radius: 32px; text-align: center;
  background: linear-gradient(165deg, rgba(90,29,71,.85), rgba(30,11,26,.92)); border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 80px rgba(0,0,0,.6); backdrop-filter: blur(20px);
}
.game-modal[open] { animation: pop-in .45s var(--ease); }
@keyframes pop-in { from { opacity: 0; scale: .9; } }
.game-modal .x { position: absolute; top: 14px; left: 14px; }
.game-modal .section-title { margin: 6px 0 22px; }
.game-modal .slot-big { margin-top: 26px; font-size: clamp(36px, 7vw, 58px); }
.game-modal .machine { --cell: clamp(68px, 15vw, 110px); }
/* photo produit (fond transparent) à la place de l'emoji */
/* en absolu : une photo haute (sachet, présentoir) ne peut plus étirer la case, qui reste carrée comme les autres */
.card-art img.photo { position: absolute; inset: 0; margin: auto; width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0,0,0,.5)); }

/* carte produit épurée */
.card .badge { align-self: flex-start; margin: 14px 6px 0; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-3); }
.card .badge + h3 { margin-top: 2px; }
.card-art + h3 { margin-top: 14px; }
.desc { margin: 4px 6px 0; font-size: 12px; color: var(--ink-soft); }
.desc summary { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; list-style: none; font-weight: 600; }
.desc summary::-webkit-details-marker { display: none; }
.desc summary::after { content: "›"; font-size: 16px; line-height: 1; transition: transform .25s var(--ease); }
.desc[open] summary::after { transform: rotate(90deg); }
.desc p { margin: 6px 0 0; line-height: 1.45; }
/* onglets Simple / Menu à côté du titre */
.subtabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); align-self: center; }
.subtabs button { padding: 6px 14px; border: 0; border-radius: 999px; background: none; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.subtabs button[aria-pressed="true"] { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 14px rgba(0,0,0,.25); }

/* ---------- fenêtre de choix des options ---------- */
.custom-modal { width: min(460px, calc(100vw - 24px)); overflow-y: auto; text-align: left; }
.custom-art { display: flex; justify-content: center; align-items: center; height: 170px; overflow: hidden; }
.custom-art img { display: block; max-height: 170px; width: auto; max-width: 90%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0,0,0,.5)); }
.custom-art span { font-size: 90px; }
.custom-modal h2 { margin: 6px 0 4px; text-align: center; font: 400 32px/1 var(--display); text-transform: uppercase; }
.custom-desc { margin: 0 0 20px; text-align: center; font-size: 14px; color: var(--ink-soft); }
.custom-modal fieldset { margin: 0 0 18px; }
.custom-modal fieldset[hidden] { display: none; }
.custom-modal legend { font: 600 11px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; margin: 0; position: relative; text-transform: none; letter-spacing: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.06);
  font-size: 14px; font-weight: 600; color: #fff; cursor: pointer; transition: all .2s; }
.chip input:disabled + span { opacity: .35; }
.chip input:checked + span { background: rgba(255,79,163,.25); border-color: var(--pink); box-shadow: 0 0 12px rgba(255,79,163,.4); }
.chip input:focus-visible + span { outline: 2px solid var(--pink-2); outline-offset: 2px; }
.custom-add { width: 100%; margin: 6px 0 0; }
.lines .ln small.opt { color: var(--pink-3); }
/* « T'as une grosse faim ? » : desserts à ajouter en un clic */
.upsell { margin: 4px 0 18px; }
.upsell-title { margin: 0 0 10px; font: 400 22px/1 var(--display); text-transform: uppercase; }
.upsell-row { display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding-bottom: 4px; }
.up-item { flex: 0 0 104px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px; border-radius: 16px; text-align: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.up-emoji { font-size: 34px; line-height: 1.1; }
.up-emoji img { display: block; width: 52px; height: 52px; object-fit: contain; margin: 0 auto; }
/* boissons du menu avec la photo de la canette */
.drink-chip span { display: inline-flex; align-items: center; gap: 8px; padding-left: 8px; }
.drink-chip img { width: 22px; height: 34px; object-fit: contain; }
/* ingrédients : inclus par défaut ; coché = retiré, barré avec une croix rouge */
.chip.ing span { display: inline-flex; align-items: center; gap: 7px; position: relative; }
.chip.ing i { font-style: normal; font-size: 18px; }
.chip.ing input:not(:checked) + span { background: rgba(255,79,163,.25); border-color: var(--pink); box-shadow: 0 0 12px rgba(255,79,163,.4); } /* inclus = surligné comme un choix sélectionné */
.chip.ing input:checked + span { background: rgba(255,59,59,.12); border-color: #ff3b3b; box-shadow: none; color: rgba(255,255,255,.55); text-decoration: line-through; text-decoration-color: #ff3b3b; text-decoration-thickness: 2px; }
.chip.ing input:checked + span::after { content: "✕"; position: absolute; top: -7px; right: -5px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  font: 800 11px/1 var(--sans); color: #fff; background: #ff3b3b; box-shadow: 0 0 8px rgba(255,59,59,.6); text-decoration: none; }
.chip.ing input:checked + span i { filter: grayscale(1); opacity: .6; }
.up-name { font-size: 12px; font-weight: 600; line-height: 1.2; min-height: 2.4em; display: grid; place-items: center; }
.up-price { font-size: 12px; color: var(--ink-soft); margin-bottom: 6px; }
.up-add { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--pink); color: #fff; font-size: 20px; line-height: 1; box-shadow: 0 4px 12px rgba(255,79,163,.4); }
.stepper.mini { padding: 2px; gap: 6px; animation: none; }
.stepper.mini button { width: 26px; height: 26px; font-size: 15px; }
.stepper.mini span { font-size: 13px; min-width: 14px; text-align: center; }
/* photo dans un rond de catégorie : même taille qu'un emoji, fond visible autour */
/* largeur ET hauteur limitées : un sachet (haut) reste aussi petit qu'un burger (large) */
.cat span img { width: 66%; height: 56%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.4)); }

/* ---------- frigos vitrés (rayon Boissons) ---------- */
.fridges { display: flex; gap: 36px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 40px var(--gutter) 56px; margin: -40px calc(-1 * var(--gutter)) -36px; scroll-padding-inline: var(--gutter);
  -webkit-mask: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  mask: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); }
.fridges::-webkit-scrollbar { display: none; }
/* sur grand écran les 4 frigos tiennent côte à côte, sinon on fait glisser */
.f-unit { flex: 1 0 250px; max-width: 290px; perspective: 1600px; scroll-snap-align: start; }
.fridge { position: relative; height: 580px; border-radius: 22px; padding: 14px 14px 48px;
  background: linear-gradient(160deg, #3b3a45, #1c1b23 55%, #121117);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 0 0 1px rgba(255,255,255,.06), 0 30px 60px rgba(0,0,0,.55), 0 0 60px rgba(255,79,163,.12);
  transform: rotateX(var(--frx, 0deg)) rotateY(var(--fry, 0deg)); transition: transform .6s var(--ease); }
/* frigo spécial Red Bull, comme en magasin : caisson noir, contour LED bleu, intérieur blanc éclairé, enseigne rouge sur soleil jaune */
.fridge[data-f="redbull"] { background: linear-gradient(160deg, #1d1d24, #0a0a0e); border: 4px solid #2357ff;
  box-shadow: inset 0 0 0 1px #8aa4ff, 0 0 14px #2a5bff, 0 0 46px rgba(42,91,255,.55), 0 30px 60px rgba(0,0,0,.55); }
.fridge[data-f="redbull"] .f-sign { color: transparent; text-shadow: none; background: url(/img/redbull-logo.svg) center / contain no-repeat content-box; margin: 0 40px; padding: 3px 0 5px; } /* logo officiel à la place du texte (le texte reste pour les lecteurs d'écran) */
.fridge[data-f="redbull"] .f-inside { background: radial-gradient(120% 50% at 50% 0%, rgba(255,255,255,.18), transparent 65%), #050507; }
.fridge[data-f="redbull"] .f-inside::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 4px; z-index: 2; border-radius: 4px;
  background: #fff; box-shadow: 0 0 8px #fff, 0 0 22px #cfe0ff; } /* barre LED blanche verticale, comme sur le vrai frigo */
.fridge[data-f="redbull"] .door::before { content: ""; position: absolute; inset: 0; border-radius: 10px; pointer-events: none;
  background: linear-gradient(103deg, transparent 54.4%, rgba(255,255,255,.95) 55%, transparent 55.6%); filter: drop-shadow(0 0 3px #fff); } /* reflet blanc en diagonale sur la vitre */
.fridge[data-f="redbull"] .f-led { background: #fff; box-shadow: 0 0 14px #fff, 0 0 30px #cfe0ff; }
.fridge[data-f="redbull"] .grille { background: repeating-linear-gradient(90deg, #050507 0 4px, #24242c 4px 8px); }
/* enseigne néon */
.f-sign { height: 44px; display: grid; place-items: center; font: 400 22px var(--display); letter-spacing: .14em; color: #fff; white-space: nowrap;
  text-shadow: 0 0 6px var(--pink), 0 0 18px var(--pink), 0 0 34px rgba(255,79,163,.6); }
/* intérieur éclairé, qui s'allume à l'ouverture */
.f-inside { position: relative; height: calc(100% - 44px); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; padding: 14px 10px;
  background: radial-gradient(120% 55% at 50% 0%, rgba(190,225,255,.32), transparent 62%), linear-gradient(#0f1a26, #070b11);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), inset 0 24px 40px rgba(0,0,0,.55); }
/* porte fermée : un voile sombre qui s'efface doucement (pas de filtre animé : ça figeait les canettes sur iPhone) */
.f-inside::after { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(0,0,0,.3); pointer-events: none; transition: opacity .6s ease; }
.fridge.open .f-inside::after { opacity: 0; }
.f-led { position: absolute; top: 0; left: 8%; right: 8%; height: 3px; border-radius: 3px; background: #e8f6ff; box-shadow: 0 0 12px #bfe6ff, 0 0 30px #9fd7ff; opacity: .45; transition: opacity .3s; }
.fridge.open .f-led { opacity: 1; }
/* étagères en verre */
.f-shelf { position: relative; flex: 1 1 0; min-height: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 0 2px 18px; }
.f-shelf::after { content: ""; position: absolute; left: -10px; right: -10px; bottom: 12px; height: 6px;
  background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.08)); box-shadow: 0 8px 14px rgba(0,0,0,.55); }
/* largeur fixe par boisson : une étagère incomplète garde ses boissons à gauche */
.f-slot { position: relative; z-index: 1; flex: 0 0 calc(100% / var(--per, 4)); min-width: 0; height: 100%; display: flex; }
.drink { position: relative; z-index: 1; height: 100%; flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 0; border: 0; background: none; }
.drink img { max-height: 84%; max-width: 92%; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0,0,0,.65)); transition: transform .35s var(--ease); }
.f-emoji { font-size: 58px; line-height: 1.1; filter: drop-shadow(0 6px 6px rgba(0,0,0,.65)); transition: transform .35s var(--ease); }
.fridge.open .drink:hover :is(img, .f-emoji) { transform: translateY(-8px) scale(1.07); }
.drink.pick :is(img, .f-emoji) { animation: pick .6s var(--ease); }
@keyframes pick { 40% { transform: translateY(-30px) scale(1.18) rotate(-6deg); } }
/* étiquette de prix sur le bord de l'étagère */
.tag-price { position: absolute; bottom: -17px; z-index: 2; padding: 2px 5px; border-radius: 3px; font: 400 12px/1 var(--display); letter-spacing: .02em;
  background: #fff; color: #170a14; box-shadow: 0 2px 4px rgba(0,0,0,.45); }
/* pastille « − 2 » : un clic repose une boisson */
.f-count { position: absolute; top: 4%; right: 4%; z-index: 2; height: 24px; padding: 0 8px; border: 0; border-radius: 12px; display: flex; align-items: center; gap: 4px;
  font: 800 12px var(--sans); background: var(--pink); color: #fff; box-shadow: 0 0 10px var(--pink); transition: background .2s; }
.f-count::before { content: "−"; font-size: 15px; line-height: 1; padding-right: 4px; border-right: 1px solid rgba(255,255,255,.45); }
.f-count:hover { background: var(--violet); }
.f-count[hidden] { display: none; }
/* porte vitrée qui pivote en 3D */
.door { position: absolute; top: 58px; left: 14px; right: 14px; bottom: 48px; z-index: 3; border: 0; padding: 0; border-radius: 10px;
  transform-origin: left center; transform: perspective(1400px) rotateY(0); /* la porte a sa propre perspective : le frigo reste plat (en vraie 3D, Safari iPhone effaçait des canettes) */ transition: transform 1s cubic-bezier(.2,.8,.2,1);
  background:
    linear-gradient(115deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.05) 28%, transparent 42%, rgba(255,255,255,.09) 58%, transparent 68%),
    radial-gradient(circle, rgba(255,255,255,.22) 0 1px, transparent 1.6px) 3px 5px / 23px 31px,
    radial-gradient(circle, rgba(255,255,255,.16) 0 1.4px, transparent 2px) 11px 17px / 37px 43px,
    radial-gradient(120% 40% at 50% 100%, rgba(230,245,255,.14), transparent 70%),
    rgba(200,225,245,.07);
  box-shadow: inset 0 0 0 7px #2b2a33, inset 0 0 0 8px rgba(255,255,255,.18), 0 0 0 1px rgba(0,0,0,.4); }
.door::after { content: ""; position: absolute; right: 13px; top: 30%; width: 8px; height: 38%; border-radius: 6px;
  background: linear-gradient(90deg, #8d939b, #f3f5f8, #767c84); box-shadow: 0 4px 10px rgba(0,0,0,.5); }
.door span { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); white-space: nowrap; padding: 6px 12px; border-radius: 999px;
  font: 600 12px var(--sans); background: rgba(23,10,20,.7); border: 1px solid rgba(255,255,255,.2); color: #fff; transition: opacity .3s; }
.fridge.open .door { transform: perspective(1400px) rotateY(-100deg); pointer-events: none; }
.fridge.open .door span { opacity: 0; }
.grille { position: absolute; left: 14px; right: 14px; bottom: 13px; height: 22px; border-radius: 6px; background: repeating-linear-gradient(90deg, #0b0b0f 0 4px, #2d2c35 4px 8px); }
.f-close { display: block; margin: 16px auto 0; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.06); font-size: 13px; font-weight: 600; visibility: hidden; }
.f-unit:has(.fridge.open) .f-close { visibility: visible; }
@media (max-width: 720px) {
  .fridges { gap: 22px; }
  .f-unit { flex: 0 0 min(290px, 76vw); }
  .fridge { height: 540px; }
}
@media (prefers-reduced-motion: reduce) {
  .fridge, .door, .drink img, .f-emoji { transition: none; }
  .drink.pick :is(img, .f-emoji) { animation: none !important; }
}
.slots-closed { margin: 0; color: var(--ink-soft); }
#checkout [aria-invalid="true"] { border-color: #ff5c8a; box-shadow: 0 0 0 3px rgba(255,92,138,.25); }

/* ---------- maquette privée : section Puff (aucun achat possible) ---------- */
.maquette[hidden] { display: none; }
.maq-card .card-art { background: radial-gradient(circle at 50% 75%, rgba(255,150,80,.35), transparent 62%), rgba(0,0,0,.25); }
.maq-card .card-art img.photo { width: 78%; height: 84%; }
.maq-dots { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 6px 0; }
.maq-dot { width: 32px; height: 32px; padding: 4px; border-radius: 50%; background-color: rgba(255,255,255,.08); background-position: center; background-size: contain; background-origin: content-box; background-repeat: no-repeat; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; }
.maq-dot:hover { transform: scale(1.12); }
.maq-dot[aria-pressed="true"] { background-color: rgba(255,255,255,.2); border-color: rgba(255,255,255,.6); }
.maq-dot:focus-visible { outline: 2px solid var(--pink-2); outline-offset: 3px; }
/* menu : les liens « Plus » en tuiles, différents des rayons */
.menu-extra { display: flex; gap: 8px; margin-bottom: 18px; }
.menu-x { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 18px; text-align: center; text-decoration: none;
  color: #fff; font-size: 12px; font-weight: 600; background: linear-gradient(165deg, rgba(255,79,163,.16), rgba(255,79,163,.04)); border: 1px solid rgba(255,140,198,.25); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.menu-x[hidden] { display: none; }
.menu-x svg { color: var(--pink-3); }
.menu-x:hover { background: rgba(255,79,163,.24); border-color: rgba(255,140,198,.6); transform: translateY(-2px); }
/* menu : réseaux sociaux */
.menu-social { display: flex; gap: 8px; margin-bottom: 14px; }
.menu-social a { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 4px; border-radius: 16px; color: #fff; font-size: 12px; font-weight: 600; text-decoration: none;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: background .25s, border-color .25s; }
.menu-social a:hover { background: rgba(255,79,163,.14); border-color: rgba(255,140,198,.5); }
.menu-social img { width: 28px; height: 28px; object-fit: contain; }
/* combo avec « Détails » */
.recipe-desc { margin: 8px 6px 0; font-size: 13px; } /* aligné sur le titre */
.recipe-desc ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: #fff; }
.recipe-desc li { display: flex; align-items: center; gap: 10px; }
.rd-pic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.1); }
.rd-pic img { width: 28px; height: 28px; object-fit: contain; }
button.recipe-add { font: inherit; font-weight: 600; color: inherit; cursor: pointer; width: 100%; }
/* pied de page : liens légaux */
.foot-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 32px 0 0; }
.foot-legal a { font-size: 12px; color: var(--ink-soft); text-decoration: none; }
.foot-legal a:hover { color: #fff; text-decoration: underline; }
.cgv-note { margin: 10px 0 0; font-size: 12px; color: var(--ink-soft); text-align: center; }
.cgv-note a { color: var(--pink-3); }
.maq-note { margin-left: auto; font-size: 12px; color: var(--ink-soft); }
.maq-taste { margin: 4px 6px 0; font-size: 13px; color: var(--ink-soft); }
.maq-off { display: block; text-align: center; color: var(--ink-soft); cursor: default; }
.maq-off:hover { background: rgba(255,255,255,.07); color: var(--ink-soft); border-color: var(--line); box-shadow: none; }
/* rayon Packs : 2 à 4 photos des produits du pack dans la case image */
/* 4 photos, une par quart : positions fixes (en grille, Safari iPhone laissait les photos déborder de la case) */
.pack-art { position: absolute; inset: 10%; }
.pack-art img { position: absolute; width: calc(50% - 3px); height: calc(50% - 3px); object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); }
.pack-art img:nth-child(1) { top: 0; left: 0; } .pack-art img:nth-child(2) { top: 0; right: 0; }
.pack-art img:nth-child(3) { bottom: 0; left: 0; } .pack-art img:nth-child(4) { bottom: 0; right: 0; }
.recipe-desc ul { font-size: 12px; }
.recipe-desc .rd-pic { width: 30px; height: 30px; }
.recipe-desc .rd-pic img { width: 24px; height: 24px; }
#packs .tag small { white-space: nowrap; }

/* bonbons & chocolat, chips & snacks, milkshake, desserts, glaces, puff, combos : une rangée de petites cartes (2026-12-02) */
#rayon-candy .grid, #rayon-snacks .grid , #rayon-shakes .grid , #rayon-desserts .grid , #rayon-night .grid , #maquette .grid , #packs .grid { display: grid; grid-auto-flow: column; grid-template-rows: auto; grid-auto-columns: 160px; gap: 12px; }
#rayon-candy .card, #rayon-snacks .card , #rayon-shakes .card , #rayon-desserts .card , #rayon-night .card , #maquette .card , #packs .card { padding: 8px 8px 10px; border-radius: 18px; }
#rayon-candy .card-art, #rayon-snacks .card-art , #rayon-shakes .card-art , #rayon-desserts .card-art , #rayon-night .card-art , #maquette .card-art , #packs .card-art { border-radius: 14px; }
#rayon-candy .card-art + h3, #rayon-snacks .card-art + h3 , #rayon-shakes .card-art + h3 , #rayon-desserts .card-art + h3 , #rayon-night .card-art + h3 , #maquette .card-art + h3 , #packs .card-art + h3 { margin-top: 8px; font-size: 13px; }
#rayon-candy .desc, #rayon-snacks .desc , #rayon-shakes .desc , #rayon-desserts .desc , #rayon-night .desc , #maquette .desc , #packs .desc { font-size: 12px; }
#rayon-candy .tag, #rayon-snacks .tag , #rayon-shakes .tag , #rayon-desserts .tag , #rayon-night .tag , #maquette .tag , #packs .tag { margin-bottom: 8px; padding-top: 6px; }
#rayon-candy .tag b, #rayon-snacks .tag b , #rayon-shakes .tag b , #rayon-desserts .tag b , #rayon-night .tag b , #maquette .tag b , #packs .tag b { font-size: 22px; }
#rayon-candy .tag small, #rayon-snacks .tag small , #rayon-shakes .tag small , #rayon-desserts .tag small , #rayon-night .tag small , #maquette .tag small , #packs .tag small { font-size: 11px; }
#rayon-candy .add, #rayon-snacks .add , #rayon-shakes .add , #rayon-desserts .add , #rayon-night .add , #maquette .add , #packs .add { padding: 7px; font-size: 12px; }
@media (max-width: 720px) { #rayon-candy .grid, #rayon-snacks .grid , #rayon-shakes .grid , #rayon-desserts .grid , #rayon-night .grid , #maquette .grid , #packs .grid { grid-auto-columns: 128px; gap: 10px; } }

/* l'image d'un combo (champ « float ») : collée sur le coin en haut à droite de la carte, elle dépasse un peu, penchée */
#recipes { padding-top: 30px; margin-top: -30px; } /* la place pour qu'elle dépasse en haut sans être coupée */
.card > .float-cover { position: absolute; top: -16px; right: -10px; width: 26%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 7px; rotate: 8deg; z-index: 3; pointer-events: none;
  box-shadow: 0 10px 22px rgba(0,0,0,.5), 0 0 0 2px rgba(255,255,255,.16); }
/* « sticker » (Date night : les lèvres) : image détourée, sans cadre */
.card > .float-cover.sticker { top: -20px; right: -14px; width: 38%; aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; rotate: -12deg; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); }

/* bonbons et chocolats flous qui comblent le vide entre le dernier rayon et le pied de page (décor) */
.sweet-band { position: relative; height: 0; pointer-events: none; }
.sweet-band > div { position: absolute; left: 0; right: 0; top: -8px; height: 130px; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.sweet-band img { position: absolute; height: auto; opacity: .55; translate: -50% -50%; }
@media (max-width: 720px) { .sweet-band img:nth-child(even) { display: none; } .sweet-band img { scale: .8; } } /* téléphone : moins chargé */

/* ---------- repris de Fresh Market (2026-12-04) ---------- */
/* badge « Nouveau » sur la bulle d'un rayon (champ isNew dans products.json) — 2026-12-02 */
.cat.is-new { position: relative; }
.cat.is-new span { box-shadow: 0 0 0 2px var(--pink-2), 0 0 18px rgba(255,140,198,.5), inset 0 1px 0 rgba(255,255,255,.2); }
.new-tag {
  font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  color: #fff; background: linear-gradient(135deg, #ff4fa3, #ff8cc6); text-shadow: 0 1px 2px rgba(0,0,0,.25); padding: 5px 8px 4px; border-radius: 999px;
  border: 2px solid #fff; box-shadow: 0 4px 14px rgba(255,79,163,.5);
}
.cat .new-tag { position: absolute; top: -10px; right: -12px; transform: rotate(12deg); animation: newPop 2.4s ease-in-out infinite; }
.cat .new-tag::before { content: "✦"; position: absolute; left: -9px; top: -7px; font-size: 11px; color: #ff8cc6; text-shadow: 0 0 6px rgba(255,140,198,.8); }
.menu-row .new-tag { margin-left: 8px; font-size: 9px; padding: 4px 7px 3px; transform: rotate(-4deg); }
@keyframes newPop { 0%, 80%, 100% { transform: rotate(12deg) scale(1); } 88% { transform: rotate(6deg) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .cat .new-tag { animation: none; } }
@media (max-width: 720px) { .cat .new-tag { top: -9px; right: -14px; font-size: 9px; } }
.shelf-head h2 .new-tag { display: inline-block; vertical-align: middle; margin-left: 12px; font-family: var(--sans); font-size: 12px; padding: 6px 10px 5px; transform: rotate(-6deg) translateY(-3px); }
#rayon-shakes .card-art img.photo { width: 74%; height: 74%; } /* gobelets un peu plus petits dans la carte */
/* même arrivée que Good Shop : glisse de 120px depuis la droite en apparaissant, sans rebond (garde la pente de la bande) */
.card[hidden] { display: none; } /* cartes de l onglet Menu / Simple non choisi */
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 99%); mask-image: linear-gradient(180deg, #000 82%, transparent 99%); }
/* choix de la boisson du menu : un petit frigo (même style que les grands), on touche une canette */
.mini-fridge { position: relative; width: 100%; max-width: 330px; margin: 4px auto 0; border-radius: 18px; padding: 8px 10px 14px;
  background: linear-gradient(160deg, #3b3a45, #1c1b23 55%, #121117);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 0 0 1px rgba(255,255,255,.06), 0 18px 36px rgba(0,0,0,.5), 0 0 40px rgba(255,79,163,.12); }
.mf-sign { height: 30px; display: grid; place-items: center; font: 400 16px var(--display); letter-spacing: .14em; color: #fff;
  text-shadow: 0 0 6px var(--pink), 0 0 16px var(--pink); }
.mf-inside { position: relative; border-radius: 10px; overflow: hidden; padding: 12px 8px 2px;
  background: radial-gradient(120% 55% at 50% 0%, rgba(190,225,255,.32), transparent 62%), linear-gradient(#0f1a26, #070b11);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), inset 0 20px 34px rgba(0,0,0,.5); }
.mf-led { position: absolute; top: 0; left: 8%; right: 8%; height: 3px; border-radius: 3px; background: #e8f6ff; box-shadow: 0 0 12px #bfe6ff, 0 0 26px #9fd7ff; }
.mf-shelf { position: relative; display: grid; grid-template-columns: repeat(var(--per), 1fr); align-items: end; height: 104px; padding-bottom: 14px; }
.mf-shelf::after { content: ""; position: absolute; left: -8px; right: -8px; bottom: 9px; height: 5px;
  background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.08)); box-shadow: 0 7px 12px rgba(0,0,0,.55); }
.mf-can { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-end; height: 100%; cursor: pointer; margin: 0; }
.mf-can input { position: absolute; opacity: 0; pointer-events: none; }
.mf-can img { height: 78px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0,0,0,.5)); transition: transform .25s var(--ease), filter .25s; }
.mf-can b { font-size: 11px; color: #fff; text-align: center; }
.mf-can:hover img { transform: translateY(-4px); }
.mf-can input:checked + img { transform: translateY(-8px) scale(1.12); filter: drop-shadow(0 0 10px var(--pink)) drop-shadow(0 6px 6px rgba(0,0,0,.5)); }
.mf-can:has(input:checked)::before { content: ""; position: absolute; bottom: -3px; left: 50%; width: 46px; height: 10px; margin-left: -23px; border-radius: 50%;
  background: radial-gradient(rgba(255,79,163,.75), transparent 70%); }
.mf-can input:focus-visible + img { outline: 2px solid var(--pink-2); outline-offset: 3px; border-radius: 6px; }
.mf-picked { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--ink-soft); }
.mf-picked.on { color: #fff; font-weight: 700; }
#drinkChips { display: block; }
/* une boisson choisie : les autres passent dans le noir, la choisie reste éclairée */
.mf-inside:has(input:checked) .mf-can:not(:has(input:checked)) img { filter: brightness(.22) grayscale(.7); transform: scale(.94); }
.mf-inside:has(input:checked) .mf-can:not(:has(input:checked)):hover img { filter: brightness(.5) grayscale(.4); }
/* pas de boisson choisie : le frigo tremble et s'entoure de rose, message bien visible */
.mini-fridge.need { animation: fridgeShake .5s ease; box-shadow: 0 0 0 2px var(--pink), 0 0 30px rgba(255,79,163,.6), 0 18px 36px rgba(0,0,0,.5); }
@keyframes fridgeShake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
@media (prefers-reduced-motion: reduce) { .mini-fridge.need { animation: none; } }
.mf-picked.need { color: #fff; font-weight: 700; font-size: 15px; background: rgba(255,79,163,.25); border: 1px solid var(--pink); border-radius: 999px; padding: 8px 14px; width: fit-content; margin: 12px auto 0; }
/* iPhone (Safari) : quand la barre du bas est cachée, toucher tout en bas de l'écran la fait réapparaître au lieu d'appuyer sur le bouton.
   Les fenêtres se calent sur la hauteur AVEC la barre (svh) : leurs boutons ne descendent jamais dans cette zone */
.game-modal { max-height: calc(100svh - 40px); }
.drawer { height: 100svh; }
/* le panneau remplit tout l'écran ; quand la barre Safari est cachée, les boutons restent au-dessus de sa zone */
@supports (height: 100dvh) { .drawer { height: 100dvh; padding-bottom: calc(100dvh - 100svh); } }
.ticker-track { will-change: transform; } /* la bande best-sellers glisse sur la carte graphique : fluide sur iPhone */

/* 2026-12-02 : pas d'anneau rose autour de la croix (le panneau lui donne le focus à l'ouverture) */
.x:focus-visible { outline: none; }

/* 2026-12-02 : ticket de fin plus court — 3 articles en photo, le reste derrière un bouton */
.prow { display: flex; align-items: center; gap: 10px; padding: 5px 0; text-align: left; }
.pimg { flex: none; width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 22px; overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: contain; }
.pname { flex: 1; min-width: 0; line-height: 1.3; font-size: 14px; }
.pname b { color: var(--pink-3); }
.pname small { display: block; font-size: 11px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pprice { flex: none; font-weight: 700; }
.prest[hidden] { display: none; }
.pmore { display: block; width: 100%; margin: 6px 0 0; padding: 9px; border: 1px dashed rgba(255,255,255,.3); border-radius: 12px; background: none; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
/* la fenêtre tient dans l'écran visible (barre Safari comprise) ; les boutons restent visibles en bas */
.done { max-height: calc(100svh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.done-actions { position: sticky; bottom: 0; padding: 18px 0 6px; background: linear-gradient(180deg, transparent, #2a0f22 22%); }
/* bouton « Continuer ↓ » tant qu'on n'est pas en bas de la commande */
#submit.next { background: rgba(255,255,255,.1); box-shadow: none; border: 1px solid var(--line); }
/* 2026-12-02 : à l'ouverture, le focus va sur le ticket (pas d'anneau rose sur « Suivre ma commande ») ; un peu de marge pour que le bouton ne touche pas les bords */
#doneReceipt:focus { outline: none; }
.done-actions { padding-left: 6px; padding-right: 6px; }
/* code de suivi sous le code-barres */
.receipt .code-big { margin: 6px 0 0; text-align: center; font: 400 30px/1 var(--display); letter-spacing: .06em; color: #fff; }
/* photo du ticket : pas de carré qui coupe le sachet */
.pimg { background: none; overflow: visible; border-radius: 0; display: flex; align-items: center; justify-content: center; } /* en grille, height:100% ne tenait pas : la photo débordait */
.pimg img { filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); }

/* rupture de stock (marquée au comptoir) : photo grisée, étiquette, bouton bloqué */
.card.is-out .card-art > *, .drink.is-out img, .drink.is-out .f-emoji, .mf-can.is-out img { filter: grayscale(1); opacity: .4; }
.add.sold, .add.sold:hover { background: rgba(255,255,255,.08); color: rgba(255,255,255,.55); box-shadow: none; cursor: not-allowed; transform: none; }
.drink.is-out { cursor: not-allowed; }
.drink.is-out .tag-price { background: #ff4d5e; color: #fff; }
.mf-can.is-out { cursor: not-allowed; }
.sold-note { color: #ff7a87 !important; font-weight: 700; }

/* FAQ de l'accueil : une question = une carte qui s'ouvre au toucher */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-home h3 { font: 700 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 26px 4px 10px; }
.faq-home details { margin-bottom: 10px; border-radius: 20px; background: var(--glass), rgba(58,22,48,.45); border: 1px solid var(--line); }
.faq-home details[open] { border-color: rgba(255,140,198,.5); }
.faq-home summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 18px; font-weight: 700; font-size: 16px; line-height: 1.35; }
.faq-home summary::-webkit-details-marker { display: none; }
.faq-home summary [aria-hidden] { margin-left: 4px; } /* l'emoji à la fin de la question */
.faq-home summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,79,163,.18); color: var(--pink-3); font-size: 20px; font-weight: 600; }
.faq-home details[open] summary::after { content: "−"; }
.faq-home summary:focus-visible { outline: 2px solid var(--pink-3); outline-offset: 2px; border-radius: 20px; }
.faq-home details p { margin: 0; padding: 0 18px 16px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.faq-home details b { color: #fff; }
.faq-home a { color: var(--pink-3); }
.faq-home .more { text-align: center; margin: 28px 0 0; color: var(--ink-soft); }
#faq { scroll-margin-top: 80px; }
