@import url('https://fonts.googleapis.com/css2?family=Varela+Round&family=Yellowtail&family=Barlow:wght@400;500;600&family=Barlow+Condensed:wght@700;800&display=swap');

:root {
  --bg: #050307;
  --panel: rgba(18, 8, 20, 0.82);
  --pink: #ff1ed6;
  --pink-soft: #f6a8ff;
  --cyan: #1ec8ff;
  --cyan-soft: #c9fbff;
  --yellow: #ffe680;
  --text: #fff;
  --muted: #b9a9c2;
  --danger: #ff5470;
  --ok: #4dffb0;
  --radius: 18px;
  --glow-pink: 0 0 6px rgba(255, 30, 214, .9), 0 0 18px rgba(255, 30, 214, .55), inset 0 0 10px rgba(255, 30, 214, .25);
  --glow-cyan: 0 0 6px rgba(30, 200, 255, .9), 0 0 18px rgba(30, 200, 255, .5);
  --font-brand: 'Varela Round', system-ui, sans-serif;
  --font-title: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background-color: var(--bg);
  /* mur de briques sombre façon carte */
  background-image:
    radial-gradient(circle at 85% 20%, rgba(255, 120, 0, .18), transparent 40%),
    radial-gradient(circle at 10% 60%, rgba(255, 30, 214, .10), transparent 45%),
    linear-gradient(rgba(255,255,255,.025) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,.025) 2px, transparent 2px);
  background-size: auto, auto, 64px 32px, 64px 64px;
  background-attachment: fixed;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--cyan-soft); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 140px; }

/* ---------- en-tête ---------- */
.hero { text-align: center; padding: 18px 0 6px; position: relative; }
.account-link { position: absolute; right: 0; top: 14px; z-index: 2; border: 1px solid var(--cyan); color: var(--cyan-soft); border-radius: 999px; padding: 8px 14px; font-size: 14px; text-decoration: none; background: rgba(0,0,0,.4); }
.hero img { width: min(300px, 72vw); height: auto; display: block; margin: 0 auto -10px; mix-blend-mode: screen; }
.brand { font-family: var(--font-brand); font-size: clamp(34px, 9vw, 52px); letter-spacing: 1px; line-height: 1; margin: 0; }
.brand .p { color: var(--cyan); text-shadow: var(--glow-cyan); -webkit-text-stroke: 1px var(--cyan-soft); }
.brand .f { color: var(--pink); text-shadow: 0 0 6px var(--pink), 0 0 20px var(--pink); -webkit-text-stroke: 1px #ffd2f6; }
.brand-sub { font-family: var(--font-brand); color: var(--cyan-soft); text-shadow: var(--glow-cyan); font-size: 26px; margin: 6px 0 0; letter-spacing: 3px; }
.tagline { color: var(--muted); margin: 12px auto 0; max-width: 460px; }

.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0 6px; }
.info { border-left: 4px solid var(--pink); background: var(--panel); padding: 8px 10px; border-radius: 0 10px 10px 0; font-size: 14px; line-height: 1.25; }
.info b { display: block; color: var(--pink-soft); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
@media (max-width: 520px) { .infos { grid-template-columns: 1fr; } }

.banner { margin: 16px 0; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--danger); color: #ffd6dd; background: rgba(255, 84, 112, .12); }

/* ---------- onglets catégories ---------- */
.tabs { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; margin: 0 -16px; padding-inline: 16px; background: linear-gradient(var(--bg) 70%, transparent); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 2px solid rgba(255, 30, 214, .5); background: transparent; border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 14px; color: var(--pink-soft); white-space: nowrap; }
.tab.active { border-color: var(--pink); color: #fff; box-shadow: var(--glow-pink); }

/* ---------- carte ---------- */
.section-title { font-family: var(--font-title); font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 8vw, 46px); margin: 30px 0 12px; line-height: 1; color: #fff; text-shadow: 0 0 4px #fff, 0 0 14px var(--pink), 0 0 30px var(--pink); scroll-margin-top: 70px; }

.item {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 14px;
  border: 2px solid var(--pink-soft); border-radius: var(--radius); background: var(--panel);
  box-shadow: var(--glow-pink); padding: 14px 16px; margin-bottom: 14px;
}
.item h3 { margin: 0; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; font-size: 22px; color: var(--pink-soft); letter-spacing: .3px; }
.item p { margin: 2px 0 0; color: var(--yellow); font-size: 15px; line-height: 1.3; }
.item .extra { font-style: italic; }
.item .side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; grid-row: span 2; }
.price { font-family: var(--font-title); font-weight: 800; font-size: 40px; line-height: .9; text-shadow: 0 0 3px #fff, 0 0 12px var(--pink); white-space: nowrap; }
.price.small { font-size: 30px; }

.btn-add { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--cyan); background: rgba(30, 200, 255, .12); color: var(--cyan-soft); font-size: 26px; line-height: 1; box-shadow: var(--glow-cyan); display: grid; place-items: center; }
.btn-add:active { transform: scale(.92); }
.in-cart { font-size: 12px; color: var(--cyan-soft); }
.item.with-photo { grid-template-columns: 84px 1fr auto; }
.item-photo { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; grid-row: span 2; border: 1px solid rgba(255,255,255,.15); }
.item.sold-out h3, .item.sold-out p, .item.sold-out .price, .item.sold-out .item-photo { opacity: .45; }
.sold-tag { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--danger); border: 1px solid var(--danger); border-radius: 8px; padding: 4px 8px; }
.sheet-photo { width: 100%; max-height: 240px; object-fit: cover; border-radius: 14px; margin-bottom: 12px; }

.note { color: var(--muted); font-size: 14px; margin: -4px 0 18px; }
.note b { color: var(--pink); }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  border: 2px solid var(--pink); background: var(--pink); color: #fff; font-weight: 600; font-size: 17px;
  border-radius: 14px; padding: 14px 18px; box-shadow: 0 0 18px rgba(255, 30, 214, .55); text-decoration: none;
}
.btn:disabled { opacity: .45; box-shadow: none; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--pink-soft); box-shadow: none; }
.btn.cyan { border-color: var(--cyan); background: transparent; color: var(--cyan-soft); box-shadow: var(--glow-cyan); }
.link { background: none; border: 0; color: var(--cyan-soft); text-decoration: underline; padding: 6px 0; }

/* ---------- barre panier ---------- */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(5, 3, 7, .96) 30%); }
.cartbar .btn { max-width: 728px; margin: 0 auto; display: flex; justify-content: space-between; }
.cartbar .count { background: #fff; color: var(--pink); border-radius: 999px; min-width: 28px; padding: 2px 8px; font-weight: 700; }

/* ---------- feuille modale ---------- */
.sheet-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .7); z-index: 20; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet { width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; background: #120814; border: 2px solid var(--pink); border-bottom: 0; border-radius: 22px 22px 0 0; box-shadow: var(--glow-pink); padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); animation: up .2s ease-out; }
.sheet h3 { margin: 0 0 4px; text-transform: uppercase; color: var(--pink-soft); font-size: 22px; }
.sheet .desc { color: var(--yellow); margin: 0 0 14px; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

.opt { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; margin-bottom: 8px; }
.opt input { width: 22px; height: 22px; accent-color: var(--pink); }
.opt span { flex: 1; }
.opt small { display: block; color: var(--muted); }
.opt b { color: var(--pink-soft); white-space: nowrap; }

.qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; }
.qty button { width: 36px; height: 36px; border: 0; background: none; font-size: 20px; color: var(--cyan-soft); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0; }

/* ---------- panier / créneaux ---------- */
.page-title { font-family: var(--font-title); font-weight: 800; text-transform: uppercase; font-size: 36px; margin: 22px 0 14px; text-shadow: 0 0 12px var(--pink); }
.back { background: none; border: 0; color: var(--cyan-soft); padding: 16px 0 0; font-size: 15px; }
.card { background: var(--panel); border: 1px solid rgba(255, 168, 255, .35); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.12); }
.line:last-child { border-bottom: 0; }
.line .name { font-weight: 600; text-transform: uppercase; color: var(--pink-soft); }
.line .opts { color: var(--muted); font-size: 14px; }
.line .amt { font-weight: 600; text-align: right; }
.line .qty { justify-self: start; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 20px; font-weight: 600; padding-top: 10px; }
.total .price { font-size: 38px; }

.days { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 12px; }
.day { flex: 1 0 auto; border: 2px solid rgba(30, 200, 255, .45); background: transparent; border-radius: 12px; padding: 10px 12px; color: var(--cyan-soft); font-weight: 600; }
.day.active { border-color: var(--cyan); box-shadow: var(--glow-cyan); background: rgba(30, 200, 255, .1); }
.day[disabled] { opacity: .35; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.03); border-radius: 10px; padding: 10px 0 6px; font-weight: 600; font-size: 16px; }
.slot small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); margin-top: 2px; }
.slot.active { border-color: var(--pink); background: rgba(255, 30, 214, .18); box-shadow: var(--glow-pink); }
.slot:disabled { opacity: .28; text-decoration: line-through; cursor: not-allowed; }

label.field { display: block; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.field input, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.4); font-size: 16px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.error { color: var(--danger); margin: 10px 0; }
.turnstile { display: flex; justify-content: center; min-height: 65px; margin: 4px 0 10px; }
.pay { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; }

/* ---------- suivi ---------- */
.ticket { text-align: center; border: 2px dashed var(--cyan); border-radius: var(--radius); padding: 22px 16px; margin: 20px 0; background: var(--panel); box-shadow: var(--glow-cyan); }
.ticket .code { font-family: var(--font-brand); font-size: 40px; letter-spacing: 3px; color: var(--cyan-soft); text-shadow: var(--glow-cyan); margin: 6px 0; }
.ticket .when { font-size: 20px; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 18px 0; }
.step { text-align: center; font-size: 13px; color: var(--muted); }
.step::before { content: ''; display: block; height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); margin-bottom: 8px; }
.step.done { color: #fff; }
.step.done::before { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.status-cancel { color: var(--danger); font-weight: 600; text-align: center; font-size: 20px; margin: 18px 0; }

.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: #fff; color: #120814; font-weight: 600; padding: 10px 16px; border-radius: 999px; z-index: 30; box-shadow: 0 0 20px var(--pink); animation: fade .2s; }

footer { text-align: center; color: var(--muted); font-size: 13px; margin-top: 40px; }

/* ---------- roue des gains ---------- */
/* roue des gains (wheel.js) : roue de fête foraine en néon ; cadre et ampoules fixes, seul le disque tourne */
.pfw { --tube: var(--pink); --bulb: #ffd76a; --bulb-off: #4a3a14; position: relative; width: min(320px, 86vw); max-width: 100%; margin: 6px auto 16px; }
.pfw-gros { --tube: #ffd76a; --bulb: #fff3c4; }
.pfw-svg { display: block; width: 100%; height: auto; overflow: visible; }
.pfw-frame { fill: #0d0710; }
.pfw-tube { fill: none; stroke: var(--tube); }
.pfw-tube-out { stroke-width: 4; }
.pfw-tube-in { stroke: var(--cyan); stroke-width: 2.5; }
.pfw-disc { transform-box: view-box; transform-origin: 160px 160px; will-change: transform; }
.pfw-spokes line { stroke: #ff5ce0; stroke-width: 2.5; stroke-linecap: round; }
.slice { transition: filter .4s, opacity .4s; }
.slice-label { fill: #fff; font-family: var(--font-title); font-weight: 800; letter-spacing: .01em; transition: opacity .4s; }
.pfw-hub-ring { fill: #050307; stroke: var(--tube); stroke-width: 3; }
.pfw-pin { fill: var(--yellow); transform-box: view-box; transform-origin: 160px 8px; }
.pfw-pin.tick { animation: pfw-tick .14s ease-out; }
/* gains au paiement et dans le panier */
.gains-title { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--yellow); }
.ticket .code.prize { font-size: clamp(22px, 6.5vw, 30px); letter-spacing: 0; line-height: 1.15; }
.reco { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 700; vertical-align: 2px; }
.reward-later { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; opacity: .85; }
.reward-later small, .gains-reminder small { display: block; color: var(--muted); font-size: 13px; }
.reward-later .btn { width: auto; flex: none; padding: 8px 14px; font-size: 14px; }
.gains-reminder { display: grid; gap: 4px; border-color: rgba(255, 215, 106, .45); }
.gains-reminder small { display: inline; }
.gains-reminder > small { display: block; margin-top: 4px; }
.pfw-pegs circle { fill: #ffd76a; stroke: #6b4c0c; stroke-width: 1; }
/* confettis du gain : calque plein écran au-dessus de tout, ne bloque aucun toucher */
.pfw-confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 2000; }
/* ampoules : chenillard lent au repos, rapide pendant la rotation, flash au gain */
.bulb { fill: var(--bulb-off); }
.bulb.a { animation: pfw-bulb 1s steps(1) infinite; }
.bulb.b { animation: pfw-bulb 1s steps(1) -.5s infinite; }
.spinning .bulb.a, .spinning .bulb.b { animation-duration: .24s; }
.spinning .bulb.b { animation-delay: -.12s; }
.won .bulb { animation: pfw-flash .32s steps(1) infinite; }
.won .slice:not(.win), .won .slice-label:not(.win) { opacity: .35; }
.won .slice.win { filter: brightness(2.1) saturate(1.3); }
@keyframes pfw-bulb { 0% { fill: var(--bulb); filter: drop-shadow(0 0 4px var(--bulb)); } 50% { fill: var(--bulb-off); filter: none; } }
@keyframes pfw-flash { 0% { fill: var(--bulb); filter: drop-shadow(0 0 5px var(--bulb)); } 50% { fill: #fff; } }
@keyframes pfw-tick { 0% { transform: rotate(0); } 35% { transform: rotate(-16deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .bulb.a, .bulb.b, .won .bulb { animation: none; fill: var(--bulb); } .pfw-pin.tick { animation: none; } }


/* ---------- refonte visuelle PornFood FWI : néon tropical premium ---------- */
:root {
  --bg: #07080d; --panel: rgba(17, 20, 29, .94); --pink: #ff2abf;
  --pink-soft: #ffb4e8; --cyan: #29d9ff; --cyan-soft: #c8f7ff;
  --yellow: #ffd76a; --muted: #b7c0cf; --radius: 20px;
  --glow-pink: 0 0 10px rgba(255, 42, 191, .38), 0 0 26px rgba(255, 42, 191, .12);
  --glow-cyan: 0 0 10px rgba(41, 217, 255, .32), 0 0 24px rgba(41, 217, 255, .1);
}
body { background-image: radial-gradient(ellipse at 50% -10%, rgba(255,42,191,.19), transparent 45%), radial-gradient(ellipse at 100% 30%, rgba(41,217,255,.10), transparent 38%), linear-gradient(180deg,#080911 0%,#0b0b12 52%,#08070c 100%); background-attachment: scroll; }
.wrap { max-width: 980px; padding-inline: 22px; }
.hero { overflow:hidden; margin:18px 0 20px; padding:30px 22px 26px; border:1px solid rgba(255,255,255,.12); border-radius:28px; background:radial-gradient(ellipse at 50% 0%,rgba(255,42,191,.18),transparent 60%),linear-gradient(135deg,rgba(20,23,34,.98),rgba(7,8,13,.97)); box-shadow:0 22px 70px rgba(0,0,0,.35),inset 0 1px rgba(255,255,255,.05); }
.hero::before { content:'BURGERS GOURMETS  •  SAVEURS CARAÏBES'; display:inline-flex; align-items:center; justify-content:center; margin-bottom:10px; padding:7px 12px; border:1px solid rgba(41,217,255,.38); border-radius:999px; color:var(--cyan-soft); font-size:11px; font-weight:800; letter-spacing:2px; }
.hero img { width:min(245px,58vw); margin:0 auto 0; }
.brand { font-size:clamp(36px,8vw,56px); }
.tagline { max-width:520px; color:#d6dbe5; font-size:17px; line-height:1.55; }
.hero-cta { display:inline-flex; align-items:center; justify-content:center; gap:10px; width:auto; min-width:220px; margin-top:20px; padding:14px 22px; border:1px solid #ff68d5; border-radius:999px; color:#fff; background:linear-gradient(100deg,#ff21ae,#d80c91); box-shadow:0 8px 28px rgba(255,42,191,.28); font-weight:800; text-decoration:none; transition:transform .18s ease,box-shadow .18s ease; }
.hero-cta:hover { transform:translateY(-2px); box-shadow:0 12px 34px rgba(255,42,191,.38); }
.infos { gap:12px; margin:18px 0 24px; }
.info { min-height:82px; padding:14px 15px; border:1px solid rgba(255,255,255,.1); border-left:3px solid var(--cyan); border-radius:14px; background:rgba(18,20,29,.82); box-shadow:0 8px 24px rgba(0,0,0,.13); }
.info b { color:var(--cyan-soft); margin-bottom:5px; letter-spacing:1px; }
.tabs { margin-inline:-22px; padding-inline:22px; background:linear-gradient(#080911 78%,transparent); }
.tab { border-width:1px; border-color:rgba(255,42,191,.35); background:rgba(20,20,30,.9); padding:10px 16px; }
.tab.active { background:rgba(255,42,191,.15); }
.section-title { text-shadow:0 0 18px rgba(255,42,191,.3); font-size:clamp(30px,5vw,42px); }
.item { border:1px solid rgba(255,255,255,.12); background:linear-gradient(110deg,rgba(20,22,31,.98),rgba(12,13,20,.98)); box-shadow:0 8px 24px rgba(0,0,0,.18); padding:15px; transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease; }
.item:hover { border-color:rgba(255,42,191,.5); transform:translateY(-1px); box-shadow:var(--glow-pink); }
.item h3 { color:#fff; font-size:20px; }
.item p { color:#c4cbd8; }
.item .extra { color:var(--yellow); }
.price { text-shadow:none; color:var(--pink-soft); font-size:34px; }
.btn-add { border-width:1px; background:rgba(41,217,255,.08); box-shadow:none; }
.btn-add:hover { background:rgba(41,217,255,.2); box-shadow:var(--glow-cyan); }
.btn { border-width:1px; border-radius:14px; box-shadow:0 8px 24px rgba(255,42,191,.18); }
.btn.ghost { border-color:rgba(255,180,232,.42); }
.card,.ticket { border-radius:20px; }
.ticket { box-shadow:none; background:linear-gradient(145deg,rgba(20,24,34,.96),rgba(9,11,17,.98)); }
.sheet { background:#11141d; border-width:1px; }
.cartbar { background:linear-gradient(transparent,rgba(7,8,13,.97) 35%); }
.cartbar .btn { border-radius:18px; }
footer { padding:18px 0 12px; border-top:1px solid rgba(255,255,255,.08); }
:focus-visible { outline:2px solid var(--cyan); outline-offset:3px; }
@media (min-width:760px) { .hero { padding:34px 34px 30px; } .hero img { width:210px; } .infos { grid-template-columns:repeat(3,minmax(0,1fr)); } .item.with-photo { grid-template-columns:96px 1fr auto; } .item-photo { width:96px; height:96px; border-radius:14px; } }
@media (max-width:520px) { .wrap { padding-inline:14px; } .hero { margin-top:12px; padding:22px 14px; border-radius:22px; } .hero::before { font-size:9px; letter-spacing:1.3px; } .hero img { width:min(205px,56vw); } .tagline { font-size:15px; } .hero-cta { width:100%; min-width:0; } .infos { gap:8px; } .info { min-height:0; } .tabs { margin-inline:-14px; padding-inline:14px; } .item { gap:6px 10px; padding:12px; } .item.with-photo { grid-template-columns:72px minmax(0,1fr) auto; } .item-photo { width:72px; height:72px; } .item h3 { font-size:17px; } .item p { font-size:13px; } .price { font-size:28px; } }

/* ---------- v3 : écrans façon application (maquette « L'application complète ») ---------- */
:root { --card: #14151d; --line: rgba(255,255,255,.09); --green: #3cdc8c; --orange: #ff9f43; }
.wrap { max-width: 640px; padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
.ico { flex: none; display: block; }
.ico.flip { transform: scaleX(-1); }
.link { text-decoration: none; font-weight: 600; color: var(--pink-soft); }

/* barre de titre */
.topbar { position: sticky; top: 0; z-index: 6; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; margin: 0 -22px 10px; padding: 10px 22px; background: rgba(8,9,14,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar h1 { margin: 0; text-align: center; font-size: 18px; font-weight: 600; line-height: 1.2; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); display: grid; place-items: center; color: #fff; }
.icon-btn.float { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.55); border-color: rgba(255,255,255,.25); }

/* accueil */
.hero::before { content: none; }
.chip { display: inline-block; margin: 0 0 6px; padding: 7px 14px; border: 1px solid rgba(41,217,255,.38); border-radius: 999px; color: var(--cyan-soft); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.hero .tagline { font-weight: 600; letter-spacing: .5px; color: #fff; }
.hero .hero-cta { width: 100%; max-width: 380px; margin-top: 18px; border-radius: 16px; padding: 16px 22px; font-size: 18px; }
.resume { text-decoration: none; color: #fff; align-items: center; }
.resume span:first-child { display: flex; align-items: center; gap: 8px; }
.features { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 6px 0 18px; }
.features div { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; font-weight: 600; color: #d6dbe5; padding: 12px 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.features .ico { width: 26px; height: 26px; color: var(--pink-soft); }
.info { display: flex; gap: 12px; align-items: flex-start; }
.info .ico { color: var(--cyan); margin-top: 2px; }

/* carte : onglets à icônes */
.tabs { top: 64px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(78px, 1fr); gap: 8px; padding-block: 10px; }
.tab { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 14px; font-size: 12px; color: #d6dbe5; text-transform: capitalize; min-width: 0; }
.tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.tab .ico { color: var(--pink-soft); }
.tab.active { background: var(--pink); border-color: var(--pink); color: #fff; box-shadow: 0 6px 20px rgba(255,42,191,.3); }
.tab.active .ico { color: #fff; }
.section-title { font-size: 26px; margin: 22px 0 10px; scroll-margin-top: 150px; }

.item { grid-template-columns: 92px minmax(0, 1fr) auto; gap: 0 14px; padding: 10px; background: var(--card); align-items: center; }
.item-link { display: block; }
.item-body { color: inherit; text-decoration: none; min-width: 0; }
.item h3 { font-size: 17px; text-transform: none; }
.item p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .price { display: block; margin-top: 6px; font-family: var(--font-body); font-weight: 700; font-size: 18px; color: var(--pink); }
.item .side { grid-row: auto; }
.item-photo { width: 92px; height: 92px; border-radius: 14px; object-fit: cover; grid-row: auto; display: block; }
.ph { display: grid; place-items: center; color: var(--pink-soft); background: radial-gradient(circle at 30% 25%, rgba(255,42,191,.35), transparent 60%), radial-gradient(circle at 80% 90%, rgba(41,217,255,.25), transparent 55%), #1b1c26; border: 1px solid rgba(255,42,191,.25); }
.ph .ico { filter: drop-shadow(0 0 8px rgba(255,42,191,.8)); }

/* fiche plat */
.product { position: relative; margin: 0 -22px 16px; }
.hero-photo { width: 100%; height: 300px; object-fit: cover; display: block; border-radius: 0 0 28px 28px; }
.hero-photo.ph { border-width: 0 0 1px; }
.product-name { margin: 0 0 6px; font-size: 26px; font-weight: 700; }
.product-desc { margin: 0; color: #c4cbd8; line-height: 1.45; }
.product-extra { margin: 6px 0 0; color: var(--yellow); font-style: italic; }
.product + .product-name + .product-desc ~ .price, .wrap > .price { font-family: var(--font-body); font-weight: 700; font-size: 26px; color: var(--pink); margin: 10px 0 4px; }
.sub { font-size: 17px; margin: 18px 0 10px; }
.qty-row { margin: 18px 0; }
.qty.big button { width: 46px; height: 46px; font-size: 24px; }
.qty.big span { min-width: 30px; font-size: 18px; }

/* panier */
.line.with-photo { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 0 12px; }
.line-photo { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.line .name { text-transform: none; color: #fff; }
.amt.pink { color: var(--pink); text-align: left; margin-top: 4px; }
.total.big { padding: 6px 2px 16px; font-size: 22px; }
.total.big .price { font-family: var(--font-body); font-weight: 700; font-size: 30px; color: #fff; }
.empty { text-align: center; color: var(--muted); padding: 40px 0 20px; }
.empty .ico { margin: 0 auto 10px; color: var(--pink-soft); }

/* créneaux */
.days { gap: 10px; margin: 6px 0 14px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 92px; border: 1px solid var(--line); background: var(--card); color: #fff; padding: 10px 12px; }
.day small { font-weight: 400; font-size: 12px; color: var(--muted); }
.day.active { background: var(--pink); border-color: var(--pink); box-shadow: 0 6px 20px rgba(255,42,191,.3); }
.day.active small { color: #ffe3f6; }
.slot-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.slot-row { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 16px; text-align: left; }
.slot-row.active { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink), 0 0 18px rgba(255,42,191,.35); }
.slot-row:disabled { cursor: not-allowed; color: var(--muted); }
.pill { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.pill.ok { color: var(--green); background: rgba(60,220,140,.12); }
.pill.last { color: var(--orange); background: rgba(255,159,67,.14); }
.pill.off { color: var(--muted); background: rgba(255,255,255,.06); }

/* paiement */
.summary { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; }
.sum-photo { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; }
.summary .name { font-weight: 600; }
.summary .opts { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin: 4px 0; }
.brands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.brands i { font-style: normal; font-size: 11px; font-weight: 700; color: #111; background: #fff; border-radius: 5px; padding: 2px 6px; }
.secure { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; color: var(--green); }

/* suivi */
.confirm-head { text-align: center; margin: 14px 0 4px; }
.confirm-head h2 { margin: 10px 0 4px; font-size: 24px; color: var(--green); }
.confirm-head.en_preparation h2, .confirm-head.prete h2 { color: var(--pink-soft); }
.confirm-head p { margin: 0; color: var(--muted); }
.big-check { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #062; box-shadow: 0 0 24px rgba(60,220,140,.5); }
.confirm-head.en_preparation .big-check, .confirm-head.prete .big-check { background: var(--pink); color: #fff; box-shadow: 0 0 24px rgba(255,42,191,.5); }
.ticket { border-style: solid; border-width: 1px; border-color: var(--line); }
.ticket .code { font-size: 30px; }
.ticket .opts { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 13px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 8px 0; color: var(--muted); }
.timeline li:not(:last-child)::after { content: ''; position: absolute; left: 17px; top: 44px; bottom: -8px; width: 2px; background: rgba(255,255,255,.12); }
.timeline li.done:not(:last-child)::after { background: var(--green); }
.timeline .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); position: relative; z-index: 1; }
.timeline li.done { color: #fff; }
.timeline li.done .dot { background: var(--green); color: #062; }
.timeline li.current .dot { background: var(--pink); color: #fff; box-shadow: 0 0 16px rgba(255,42,191,.6); }
.timeline .what { font-weight: 600; }
.timeline small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }

/* onglets du bas */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 11; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(10,11,17,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 48px; justify-content: center; color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 600; }
.tabbar a.on { color: var(--pink); }
.tabbar .badge { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 11px; display: grid; place-items: center; }
.cartbar { bottom: calc(60px + env(safe-area-inset-bottom)); padding-bottom: 10px; }
.toast { bottom: calc(140px + env(safe-area-inset-bottom)); }

@media (max-width:520px) {
  .topbar { margin-inline: -14px; padding-inline: 14px; }
  .product { margin-inline: -14px; }
  .hero-photo { height: 250px; }
  .features { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .features div { font-size: 10px; padding: 10px 2px; }
  .features .ico { width: 22px; height: 22px; }
  .item { grid-template-columns: 80px minmax(0, 1fr) auto; }
  .item-photo { width: 80px; height: 80px; }
}
.ph.item-photo, .ph.hero-photo, .ph.line-photo, .ph.sum-photo { display: grid; place-items: center; }
.ph-logo { width: 62%; max-width: 230px; height: auto; mix-blend-mode: screen; }
.sticky-cta { position: sticky; bottom: 0; z-index: 5; margin: 0 -22px; padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(8,9,14,.96) 30%); }
@media (max-width:520px) { .sticky-cta { margin-inline: -14px; padding-inline: 14px; } }
@media (min-width:700px) { .tabbar { left: 50%; right: auto; width: 640px; transform: translateX(-50%); border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0; } }
/* photos en portrait (enseigne néon en haut, plat en bas) : on cadre sur le plat */
img.item-photo, img.line-photo, img.sum-photo { object-position: 50% 78%; }
.hero-photo.framed { position: relative; overflow: hidden; height: 380px; background: #0b0b12; }
.hero-photo.framed .bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(22px) brightness(.55); }
.hero-photo.framed .fg { position: relative; display: block; height: 100%; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
/* lien Google Maps du lieu de retrait */
a.info-link { color: #fff; text-decoration: none; }
a.info-link:active { transform: scale(.99); }
.info-link .go { display: block; margin-top: 6px; color: var(--cyan); font-weight: 600; font-size: 13px; }
.maplink { color: var(--cyan-soft); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
@media (min-width:760px) { .infos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* invitation Instagram */
.insta-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 0 0 16px; padding: 14px; border-radius: 18px; text-decoration: none; color: #fff; background: linear-gradient(120deg, rgba(131,58,180,.35), rgba(253,29,29,.22) 55%, rgba(252,176,69,.22)); border: 1px solid rgba(255,255,255,.14); }
.insta-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(45deg, #feda75, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5); color: #fff; }
.insta-txt b { display: block; font-size: 16px; }
.insta-txt small { display: block; color: #e7dff0; font-size: 13px; line-height: 1.35; margin-top: 2px; }
.insta-btn { background: #fff; color: #111; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 9px 16px; }

/* ---------- accueil plein écran (maquette écran 1) ---------- */
.home-hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; height: calc(100svh - 66px - env(safe-area-inset-bottom)); min-height: 560px; margin: 0 -22px 18px; padding: 22px 22px 18px; overflow: hidden;
  background: radial-gradient(ellipse 70% 40% at 50% 62%, rgba(255,120,30,.28), transparent 70%), radial-gradient(ellipse 80% 45% at 50% 18%, rgba(255,42,191,.22), transparent 70%), linear-gradient(180deg, #0a0710 0%, #120a18 55%, #07080d 100%); }
.home-logo { width: min(230px, 56vw); height: auto; flex: none; mix-blend-mode: screen; }
.home-script { flex: none; margin: 2px 0 0; font-family: 'Yellowtail', cursive; font-size: clamp(30px, 8.5vw, 42px); line-height: 1.05; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,.35), 0 2px 0 rgba(0,0,0,.4); transform: rotate(-4deg); }
.home-food { flex: 1 1 0; min-height: 0; width: 100%; max-width: 440px; margin: 8px 0 14px; object-fit: cover; object-position: 50% 100%; border-radius: 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 82%, transparent 100%); }
.home-food.from-dish { object-position: 50% 68%; }
@media (max-height:720px) { .home-logo { width: min(170px, 44vw); } .home-script { font-size: 30px; } }
.home-cta { flex: none; max-width: 420px; padding: 17px 22px; font-size: 19px; font-weight: 700; border-radius: 16px; box-shadow: 0 10px 30px rgba(255,42,191,.45); }
.home-hero .banner { width: 100%; max-width: 420px; margin: 0 0 12px; }
@media (max-width:520px) { .home-hero { margin-inline: -14px; padding-inline: 14px; } }

/* ---------- animation d'ouverture ---------- */
/* visuel néon + burger (img/splash.webp) ; cheddar qui coule dessiné par cheddar.js (même écran que l'app mobile) */
.splash { display: none; }
.splash.show { position: fixed; inset: 0; z-index: 100; display: block; background: #000; transition: opacity .5s ease; cursor: pointer; }
/* .ready : l'image est chargée, l'animation peut commencer */
.splash.ready { background: #000 url(/img/splash.webp) center / cover no-repeat; animation: sp-in .5s ease-out both; }
.splash.out { opacity: 0; pointer-events: none; }
/* néon du logo qui respire et grésille */
.splash.ready::after { content: ""; position: absolute; left: 10%; right: 10%; top: 4%; height: 44%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,30,214,.35), rgba(34,230,255,.12) 60%, transparent);
  mix-blend-mode: screen; animation: sp-glow 2.4s ease-in-out infinite, sp-flicker 3.1s steps(1) infinite; }
.sp-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* voile noir sur le logo, piloté par neon.js : le néon s'allume par à-coups comme un tube ; halo masqué tant qu'il est éteint */
.sp-neon { position: absolute; top: 0; left: 0; right: 0; height: 0; opacity: 0; background: #000; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.splash.neon-off::after { visibility: hidden; }
@keyframes sp-in { from { opacity: 0; } }
@keyframes sp-glow { 50% { opacity: .45; } }
@keyframes sp-flicker { 0%, 100% { filter: none; } 47% { filter: brightness(.4); } 49% { filter: none; } 51% { filter: brightness(.6); } }
@media (prefers-reduced-motion: reduce) { .splash.ready, .splash.ready::after { animation: none; } }

/* « Complète ton menu » (boisson + extras après un plat) */
.upsell h3 { color: #fff; text-transform: none; font-size: 22px; margin-bottom: 6px; }
.upsell h4 { display: flex; align-items: center; gap: 8px; margin: 16px 0 8px; font-size: 15px; color: var(--pink-soft); }
.up-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.up-photo { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; object-position: 50% 78%; }
.up-photo.ph { display: grid; place-items: center; }
.up-name { font-weight: 600; }
.up-name small { display: block; color: var(--pink); font-weight: 700; margin-top: 2px; }
.upsell .btn#up-ok { margin-top: 16px; }
.note.alcohol { margin: 8px 0 0; font-size: 12px; }

/* paiement : détail de la commande et logos des moyens de paiement */
.recap-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.recap-line { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.12); }
.recap-line .name { font-weight: 600; }
.recap-line .opts { color: var(--muted); font-size: 13px; }
.recap-line .amt { font-weight: 700; }
.recap-photo { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; object-position: 50% 78%; }
.recap-photo.ph { display: grid; place-items: center; }
.recap-photo.ph .ico { width: 22px; height: 22px; }
.recap-slot { display: flex; align-items: center; gap: 8px; padding-top: 10px; color: var(--muted); font-size: 14px; }
.recap-slot span { flex: 1; }
.brands img { height: 24px; width: auto; border-radius: 4px; display: block; }
.brands { gap: 6px; }
.secure { align-items: flex-start; }
.secure .ico { margin-top: 2px; }
.stripe-mark { display: inline-flex; align-items: center; gap: 3px; color: #8f88ff; }
.stripe-mark img { width: 14px; height: 14px; }
.opt small.brands { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; }
.note .stripe-mark { color: #8f88ff; }
.recap-line .qty { justify-self: end; }
.recap-line .amt { color: var(--pink); font-weight: 700; margin-top: 2px; }
.sticky-cta .error { margin: 0 0 8px; padding: 10px 12px; border-radius: 12px; background: rgba(255,84,112,.14); border: 1px solid var(--danger); color: #ffd6dd; font-size: 14px; }

/* téléphone avec indicatif du pays */
.phone-field { display: block; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.phone-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; margin-top: 6px; }
.phone-row select, .phone-row input { width: 100%; padding: 13px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.4); color: #fff; font-size: 16px; margin: 0; }
.phone-row select { text-overflow: ellipsis; }
.phone-row select option { background: #14151d; }
.phone-row input:focus, .phone-row select:focus { outline: none; border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.phone-hint { display: block; min-height: 18px; margin-top: 6px; font-size: 13px; }
.phone-hint.ok { color: var(--green); }
.phone-hint.bad { color: #ff8a9c; }
.phone-hint { display: flex; align-items: center; gap: 4px; }

/* sélecteur d'indicatif avec drapeaux */
.cc-pick { position: relative; }
.cc-btn { display: flex; align-items: center; gap: 8px; height: 100%; min-height: 50px; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.4); color: #fff; font-size: 16px; font-weight: 600; }
.cc-btn[aria-expanded="true"], .cc-btn:focus-visible { border-color: var(--cyan); box-shadow: var(--glow-cyan); outline: none; }
.flag { flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.cc-list { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: min(320px, calc(100vw - 48px)); max-height: 300px; overflow: auto; padding: 6px; border-radius: 14px; background: #171822; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.cc-list button { display: grid; grid-template-columns: 24px 48px minmax(0, 1fr); align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 6px 10px; border: 0; border-radius: 10px; background: none; color: #fff; text-align: left; font-size: 15px; }
.cc-list button span { color: var(--muted); font-size: 13px; }
.cc-list button[aria-selected="true"], .cc-list button:hover, .cc-list button:focus-visible { background: rgba(255,42,191,.14); outline: none; }

/* bienvenue : pseudo, prénom, nom */
.welcome-head { text-align: center; margin: 10px 0 14px; }
.welcome-head h2 { margin: 10px 0 4px; font-size: 24px; color: var(--green); }
.welcome-head p { margin: 0; color: var(--muted); }
.alias-ideas { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.chip-btn { border: 1px solid rgba(255,42,191,.45); background: rgba(255,42,191,.1); color: var(--pink-soft); border-radius: 999px; padding: 8px 12px; font-size: 14px; font-weight: 600; min-height: 38px; }
.chip-btn:active { transform: scale(.97); }

/* quand : dès que possible ou heure choisie */
.when-choice { display: grid; gap: 10px; margin: 6px 0 16px; }
.when-opt { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: #fff; text-align: left; min-height: 72px; }
.when-opt b { display: block; font-size: 17px; }
.when-opt small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.when-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--pink-soft); }
.when-opt.active { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink), 0 0 18px rgba(255,42,191,.3); }
.when-opt.active .when-ico { background: var(--pink); color: #fff; }
.when-opt.active small { color: #ffd2f2; }

/* notifications */
.notif-card { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; text-align: left; color: #fff; border: 1px solid rgba(255,42,191,.35); background: linear-gradient(120deg, rgba(255,42,191,.14), rgba(41,217,255,.08)); font: inherit; cursor: pointer; }
div.notif-card { grid-template-columns: 26px minmax(0, 1fr); cursor: default; }
.notif-card .ico { color: var(--pink-soft); }
.notif-card b { display: block; }
.notif-card small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.notif-on { color: var(--green); }
.notif-on span { display: flex; align-items: center; gap: 8px; }

/* roulette des horaires (15 min) */
.wheel-picker { position: relative; height: 240px; margin: 4px 0 14px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.wheel-band { position: absolute; left: 12px; right: 12px; top: 50%; height: 48px; margin-top: -24px; border-radius: 14px; background: rgba(255,42,191,.14); border: 1px solid rgba(255,42,191,.55); box-shadow: 0 0 18px rgba(255,42,191,.25); pointer-events: none; }
.wheel-list { position: relative; height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; padding: 96px 0; scrollbar-width: none; overscroll-behavior: contain;
  -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.wheel-list::-webkit-scrollbar { display: none; }
.wheel-list:focus-visible { outline: none; }
.wheel-picker:focus-within .wheel-band { border-color: var(--cyan); }
.wheel-item { height: 48px; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; transition: opacity .12s; user-select: none; }
.wheel-item b { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wheel-item small { color: var(--muted); font-size: 13px; min-width: 110px; }
.wheel-item.center b { color: #fff; font-size: 26px; }
.wheel-item.last small { color: var(--orange); }
.wheel-item.off b { text-decoration: line-through; color: var(--muted); }
.wheel-item.off small { color: #ff8a9c; }

/* accueil : la scène de l'animation d'ouverture, animée en continu (logo néon, burger rond, vapeur, goutte de cheddar) */
.home-hero { background: radial-gradient(ellipse 60% 32% at 50% 64%, rgba(255,120,30,.24), transparent 70%), #000; }
/* logo sur fond noir : « screen » efface le noir ; grésillement par l'opacité seule (un filtre casserait le mélange) */
.home-neon { width: min(220px, 52vw); mix-blend-mode: screen; animation: hp-neon 4s linear infinite; }
/* carré : vapeur et goutte sont placées en % du cadre */
.home-stage { position: relative; flex: none; width: min(320px, 82vw, 40svh); height: min(320px, 82vw, 40svh); margin: auto auto 14px; }
.home-stage .sp-food { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%;
  -webkit-mask-image: radial-gradient(closest-side circle at 50% 50%, #000 78%, transparent 100%); mask-image: radial-gradient(closest-side circle at 50% 50%, #000 78%, transparent 100%); }
.home-stage .sp-steam { z-index: 2; }
.home-stage .sp-drop { animation: hp-drop 4.2s cubic-bezier(.5,0,.75,0) 1s infinite; }
@keyframes hp-neon {
  0%, 60%, 64%, 68%, 100% { opacity: 1; }
  62% { opacity: .45; }
  66% { opacity: .8; }
  85% { opacity: .92; }
}
@keyframes hp-drop {
  0% { opacity: 0; transform: translateY(0) scale(.2, .1); }
  6% { opacity: 1; }
  22% { transform: translateY(2px) scale(.85, 1.1); }
  28% { transform: translateY(4px) scale(.75, 1.35); }
  46% { opacity: 0; transform: translateY(150px) scale(.85, 1.15); }
  100% { opacity: 0; transform: translateY(150px); }
}
@media (max-height:720px) { .home-neon { width: min(150px, 40vw); } .home-stage { width: min(300px, 80vw, 34svh); height: min(300px, 80vw, 34svh); } }
@media (prefers-reduced-motion: reduce) { .home-neon, .home-stage .sp-drop, .home-stage .sp-steam i { animation: none; } .home-stage .sp-drop, .home-stage .sp-steam { display: none; } }
/* accueil sans photo : logo néon, texte et bouton centrés à l'écran */
.home-hero { justify-content: center; gap: 18px; }
.home-hero .home-neon { width: min(300px, 70vw); }
.home-hero .home-cta { margin-top: 18px; }
@media (max-height:720px) { .home-hero .home-neon { width: min(220px, 56vw); } }

/* allergènes dans la fiche plat */
.allergen-list { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.allergen-list li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px; background: rgba(255,215,106,.1); border: 1px solid rgba(255,215,106,.4); color: #ffe7a6; font-size: 14px; font-weight: 600; }
.allergen-list svg { color: var(--yellow); flex: none; }
.allergen-note { margin: 4px 0 8px; }
.allergen-note:last-of-type { margin-bottom: 24px; }
.opt-allergens { color: #ffe7a6 !important; }

/* ---------- installer l'app : bouton transparent (verre) + guide iPhone ---------- */
.btn-glass { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 420px; margin-top: 12px;
  padding: 14px 20px; border-radius: 16px; font: inherit; font-size: 16px; font-weight: 600; color: #fff; cursor: pointer;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 24px rgba(0,0,0,.35);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.btn-glass:active { background: rgba(255,255,255,.14); }
.btn-glass .ico { color: var(--cyan, #22e6ff); }
.install-sheet { text-align: center; }
.install-icon { border-radius: 16px; box-shadow: 0 6px 20px rgba(255,42,191,.35); margin: 4px auto 10px; display: block; }
.install-steps { list-style: none; margin: 0 0 14px; padding: 0; text-align: left; }
.install-steps li { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 8px; border-radius: 14px; background: rgba(255,255,255,.05); color: #fff; }
.install-steps li > span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(34,230,255,.12); color: #22e6ff; font-size: 22px; font-weight: 700; }
.install-steps small { display: block; color: rgba(255,255,255,.6); margin-top: 2px; }
.install-arrow { font-size: 34px; line-height: 1; color: #22e6ff; text-shadow: 0 0 12px #22e6ff; margin: 0 0 10px; animation: install-bounce 1s ease-in-out infinite; }
@keyframes install-bounce { 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .install-arrow { animation: none; } }
.install-steps .dots .ico { display: inline-block; vertical-align: -3px; margin: 0 2px; }

/* écran plus large qu'un téléphone : image entière (sinon le palmier du logo est coupé en haut), bords fondus dans le noir */
@media (min-aspect-ratio: 5/8) {
  .splash.ready { background: linear-gradient(90deg, #000, transparent 14%, transparent 86%, #000) center / calc(100vh * 1080 / 1935) 100% no-repeat,
    #000 url(/img/splash.webp) center / contain no-repeat; }
  .splash.ready::after { left: 50%; right: auto; width: calc(80vh * 1080 / 1935); transform: translateX(-50%); }
}

/* ---------- livraison : choix grisé tant que le patron ne l'active pas, carte de la zone ---------- */
.when-opt.soon { opacity: .45; cursor: not-allowed; filter: grayscale(.6); }
.when-opt.soon small { color: var(--yellow, #ffe94d); }
.deliv { padding: 14px; }
.deliv-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.deliv-head small { color: rgba(255,255,255,.6); }
.deliv-map { height: 260px; border-radius: 14px; overflow: hidden; background: #1a1d27; border: 1px solid rgba(30,200,255,.35); z-index: 0; }
.deliv-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.deliv-row .btn { width: auto; flex: none; padding: 10px 14px; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.deliv-status { font-size: 14px; color: rgba(255,255,255,.7); flex: 1; min-width: 160px; }
.deliv-status.ok { color: #5dffa8; }
.deliv-status.ko { color: #ff6b8b; }
.deliv textarea { width: 100%; resize: vertical; }
.leaflet-container { font: inherit; }
/* suivi de livraison : livreur sur la carte */
.driver-pin { display: grid; place-items: center; font-size: 24px; background: #ff2abf; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 14px rgba(255,42,191,.8); }
/* livraison : facture affichée dès que l'adresse est placée */
.deliv-bill:empty { display: none; }
.deliv-bill { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: rgba(30,200,255,.07); border: 1px solid rgba(30,200,255,.3); }
.deliv-bill .line { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.deliv-bill .line small { display: block; color: rgba(255,255,255,.55); font-size: 12px; }
.deliv-bill .line.total { border-top: 1px dashed rgba(255,255,255,.25); margin-top: 4px; padding-top: 8px; font-weight: 800; font-size: 17px; }
.deliv-bill .line.total span:last-child { color: var(--pink-soft, #ff8ae6); }
#deliv-km[hidden], #deliv-fixed[hidden] { display: none; }

/* ---------- promos du moment (accueil) et code promo (paiement) ---------- */
.promo-zone { margin: 4px 0 18px; }
.pz-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-title); font-size: 22px; margin: 0 0 10px; color: var(--pink-soft, #ff8ae6); text-shadow: var(--glow-pink); }
.pz-track { display: grid; gap: 12px; }
.pz-track.multi { grid-auto-flow: column; grid-auto-columns: 88%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.pz-track.multi > * { scroll-snap-align: start; }
.pz-card { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); border-radius: 18px; overflow: hidden; border: 2px solid var(--pink); box-shadow: var(--glow-pink); background: linear-gradient(135deg, #1a0716, #0b0b14); }
.pz-img { display: block; min-height: 100%; }
.pz-img img { width: 100%; height: 100%; object-fit: cover; object-position: right top; display: block; min-height: 220px; }
.pz-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pz-body h3 { margin: 0; font-family: var(--font-title); font-size: 24px; line-height: 1.05; text-transform: uppercase; }
.pz-body p { margin: 0; font-size: 14px; color: rgba(255,255,255,.75); }
.pz-badge { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #111; background: var(--yellow, #ffe94d); padding: 3px 8px; border-radius: 99px; }
.pz-price { font-family: var(--font-title); font-size: 34px; line-height: 1; color: var(--yellow, #ffe94d); text-shadow: 0 0 14px rgba(255,233,77,.5); margin-top: 4px; }
.pz-until { color: rgba(255,255,255,.6); font-size: 12px; }
.pz-cta { margin-top: auto; width: 100%; padding: 12px; font-size: 16px; }
.pz-code { margin-top: auto; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px; border-radius: 12px; border: 2px dashed var(--yellow, #ffe94d); background: rgba(255,233,77,.08); color: #fff; font: inherit; cursor: pointer; }
.pz-code b { font-size: 20px; letter-spacing: .1em; color: var(--yellow, #ffe94d); }
.pz-code span { font-size: 13px; }
@media (max-width: 360px) { .pz-card { grid-template-columns: 1fr; } .pz-img img { min-height: 0; max-height: 260px; } }
.promo-code .pc-row { display: flex; gap: 8px; }
.promo-code .pc-row input { flex: 1; text-transform: uppercase; }
.promo-code .pc-row .btn { width: auto; flex: none; padding: 0 16px; }
.pc-msg { display: block; margin-top: 6px; font-size: 14px; }
.pc-msg.ok { color: #5dffa8; }
.pc-msg.bad { color: #ff6b8b; }
.drink-pick { display: block; width: 100%; margin-top: 6px; padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.4); color: inherit; font: inherit; }

/* ---------- carte de fidélité : papier, tampons à l'encre noire ---------- */
.features a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; font-weight: 600; color: #d6dbe5; padding: 12px 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--pink); text-decoration: none; box-shadow: 0 0 12px rgba(255,42,191,.25); }
.features a .ico { width: 26px; height: 26px; color: var(--pink-soft); }
.paper-card { position: relative; margin: 6px 2px 18px; padding: 18px 16px 14px; color: #1d1a16; border-radius: 6px; transform: rotate(-.6deg);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23p)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 30% 20%, #fbf4e3, #f0e4c8 70%, #e6d5b0);
  box-shadow: 0 10px 24px rgba(0,0,0,.45), inset 0 0 30px rgba(120,90,40,.18); }
.paper-card::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(60,45,25,.35); border-radius: 3px; pointer-events: none; }
.paper-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; font-family: Georgia, 'Times New Roman', serif; }
.paper-head b { font-size: 20px; letter-spacing: .5px; }
.paper-head span { font-size: 12px; font-style: italic; color: #5a4a35; }
.paper-grid { display: grid; gap: 22px 8px; }
.paper-card .slot { position: relative; aspect-ratio: 1; border: 1.5px solid rgba(60,45,25,.45); border-radius: 50%; display: grid; place-items: center; }
.paper-card .slot > span { font-family: Georgia, serif; font-size: 15px; color: rgba(60,45,25,.45); }
.paper-card .slot small { position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%) rotate(-3deg); white-space: nowrap; font: italic 10px Georgia, serif; color: #8a2c1c; }
.paper-card .slot.on { border-color: transparent; }
.paper-card .stamp { width: 112%; height: 112%; opacity: .88; mix-blend-mode: multiply; }
.paper-card .slot.new .stamp { animation: stamp-in .55s cubic-bezier(.2,.9,.3,1.3) both; }
.paper-card .slot.new:nth-of-type(n) .stamp { animation-delay: .3s; }
.paper-foot { margin: 22px 0 0; text-align: center; font: italic 14px Georgia, serif; color: #3d3226; }
@keyframes stamp-in { 0% { transform: scale(2.4) rotate(-20deg); opacity: 0; } 60% { opacity: .95; } 100% { opacity: .88; } }
@media (prefers-reduced-motion: reduce) { .paper-card .slot.new .stamp { animation: none; } }
