/* Mini app restaurant France — base commune + 3 styles de marque (street · retro · trattoria).
   Les couleurs et polices viennent du store (thème injecté par le serveur dans <style> :root). Mobile-first. */
:root {
  --radius: 14px; --radius-lg: 18px; --nav-h: 64px; --bw: 1px;
  --safe-b: max(env(safe-area-inset-bottom), 10px);
  --shadow: 0 2px 14px rgba(0, 0, 0, .06);
  --wa: #25D366; --tg: #229ED9; --ok: #1F9D55; --bad: #D93025;
  --hdr: 60px;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--font-ui); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-title); font-weight: 400; margin: 0; text-transform: var(--title-case); letter-spacing: .01em; line-height: 1.05; }
h2 { font-size: 24px; } h3 { font-size: 18px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- coquille ---- */
#app { opacity: 0; transition: opacity .25s; }
#app.is-ready { opacity: 1; }
.announce { background: var(--accent); color: var(--accent-ink); text-align: center; font-size: 12.5px; font-weight: 700; padding: 7px 14px; }
.header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: var(--bw) solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 10px; height: var(--hdr); padding: 0 16px; max-width: 640px; margin: 0 auto; }
.brand { flex: 1; min-width: 0; display: flex; align-items: center; height: 100%; }
.brand__logo { height: 46px; width: auto; max-width: 170px; object-fit: contain; object-position: left center; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: var(--surface); border: var(--bw) solid var(--line); white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.install { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 11px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; }
.install svg { width: 15px; height: 15px; stroke-width: 2.4; }

main { max-width: 640px; margin: 0 auto; padding: 0 16px calc(var(--nav-h) + var(--safe-b) + 90px); }
.screen { padding-top: 14px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 0 12px; }
.screen > .section-title:first-child { margin-top: 6px; }
.card { background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 15px; text-decoration: none; transition: transform .08s, filter .15s; }
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(.98); }
.btn--block { width: 100%; }
.btn--grow { flex: 1; justify-content: space-between; }
.btn--ghost { background: var(--surface); color: var(--ink); border: var(--bw) solid var(--line); }
.btn--wa { background: var(--wa); color: #fff; } .btn--wa svg { fill: #fff; stroke: none; }
.btn--tg { background: var(--tg); color: #fff; } .btn--tg svg { fill: #fff; stroke: none; }
.btn:disabled { opacity: .45; cursor: default; }
.link { color: var(--accent); font-weight: 800; font-size: 13px; white-space: nowrap; text-decoration: none; }
.link--danger { color: var(--muted); }
.price { font-weight: 800; white-space: nowrap; }
.error { padding: 40px 16px; text-align: center; }
.warn { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); font-size: 13.5px; font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.pill { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); }
.pill--nouveau { background: var(--accent2); color: #111; }
.pill--epice { background: #D93025; color: #fff; }
.pill--vegetarien { background: #2E7D32; color: #fff; }
.pill--halal, .pill--fait-maison { background: var(--surface); color: var(--ink); border: var(--bw) solid var(--line); }

/* ---- nav du bas ---- */
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: var(--bw) solid var(--line); padding-bottom: var(--safe-b); }
.nav__inner { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 640px; margin: 0 auto; height: var(--nav-h); }
.nav__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--muted); position: relative; }
.nav__item svg { width: 23px; height: 23px; stroke-width: 1.9; }
.nav__item.is-active { color: var(--accent); }
.nav__item--cart { overflow: visible; }
.nav__bubble { position: relative; width: 66px; height: 66px; margin-top: -34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px var(--surface), 0 8px 18px color-mix(in srgb, var(--accent) 40%, transparent); transition: transform .15s; }
.nav__bubble svg { width: 29px; height: 29px; stroke-width: 2.1; }
.nav__item--cart.is-active { color: var(--ink); }
.nav__badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--surface); }
.nav__badge:empty { display: none; }
.is-bump { animation: bump .35s; }
@keyframes bump { 30% { transform: scale(1.22); } 100% { transform: scale(1); } }

/* barre « Voir mon panier » au-dessus de la nav */
.cartbar { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + var(--safe-b) + 6px); z-index: 29; padding: 0 16px; animation: up .25s ease-out; }
.cartbar__btn { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 608px; margin: 0 auto; height: 52px; padding: 0 16px 0 8px; border-radius: var(--radius); background: var(--ink); color: var(--bg); font-weight: 800; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.cartbar__btn span:nth-child(2) { flex: 1; text-align: left; }
.cartbar__count { min-width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; }
@keyframes up { from { transform: translateY(20px); opacity: 0; } }

/* ---- accueil ---- */
.hero { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3.6; background: var(--surface); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .78) 100%); }
.hero__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; }
.hero__kicker { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { font-size: 38px; color: #fff; }
.hero p { margin: 8px 0 0; font-size: 14px; opacity: .92; max-width: 34ch; }
.facts { display: flex; gap: 8px; overflow-x: auto; margin: 12px -16px 0; padding: 0 16px 2px; scrollbar-width: none; }
.facts::-webkit-scrollbar, .reco-row::-webkit-scrollbar, .cats::-webkit-scrollbar { display: none; }
.fact { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--surface); border: var(--bw) solid var(--line); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.fact svg { width: 16px; height: 16px; color: var(--accent); }
.fact svg.fill { fill: var(--accent2); stroke: none; }
.reco-row { display: flex; gap: 12px; overflow-x: auto; padding: 2px 16px 8px; margin: 0 -16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reco { flex: 0 0 168px; scroll-snap-align: start; background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; }
.reco__media { position: relative; }
.reco__media .pills { position: absolute; top: 8px; left: 8px; margin: 0; }
.reco__img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.reco__body { padding: 10px 12px 12px; }
.reco__name { font-family: var(--font-title); text-transform: var(--title-case); font-size: 17px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reco__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 14px; }

/* ---- carte ---- */
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; margin: 18px -16px 0; position: sticky; top: var(--hdr); z-index: 10; background: var(--bg); border-bottom: var(--bw) solid var(--line); scrollbar-width: none; }
.cat { flex: none; display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: var(--bw) solid var(--line); font-size: 13.5px; font-weight: 800; color: var(--muted); white-space: nowrap; transition: background .15s, color .15s; }
.cat img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; margin-left: -9px; }
.cat.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.group { scroll-margin-top: 130px; }
.group__title { margin: 24px 0 8px; font-size: 26px; }
.dishes { display: flex; flex-direction: column; }
.dish { display: flex; gap: 14px; padding: 14px 0; border-bottom: var(--bw) solid var(--line); cursor: pointer; }
.dish__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dish__name { font-size: 19px; }
.dish__desc { margin: 4px 0 0; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish__row { margin-top: auto; padding-top: 8px; font-size: 15px; }
.dish__media { position: relative; flex: none; }
.dish__img { width: 108px; height: 108px; border-radius: var(--radius); object-fit: cover; background: var(--surface); }
.dish .add { position: absolute; right: -6px; bottom: -6px; }
.dish.is-off { opacity: .55; }
.tag { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; }
.tag--off { background: var(--surface); border: var(--bw) solid var(--line); }
.add { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--bg), 0 4px 10px rgba(0, 0, 0, .2); transition: transform .12s; }
.add svg { width: 19px; height: 19px; stroke-width: 2.8; }
.add--sm { width: 32px; height: 32px; box-shadow: none; }
.demo-note { margin: 28px 0 0; text-align: center; font-size: 12px; color: var(--muted); }

/* ---- fiche plat ---- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .2s; }
.sheet-backdrop.is-open { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-width: 640px; margin: 0 auto; max-height: 94dvh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); border-radius: 22px 22px 0 0; transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -10px 30px rgba(0, 0, 0, .25); }
.sheet.is-open { transform: translateY(0); }
.sheet__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.sheet__media { position: relative; aspect-ratio: 4 / 3; border-radius: 22px 22px 0 0; overflow: hidden; background: var(--surface); }
.sheet__media img { width: 100%; height: 100%; object-fit: cover; }
.sheet__close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #111; display: flex; align-items: center; justify-content: center; }
.sheet__close svg { width: 18px; height: 18px; stroke-width: 2.4; }
.sheet__grip { position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: rgba(255, 255, 255, .85); }
.sheet__body { padding: 16px 18px 20px; }
.sheet__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sheet__head h2 { font-size: 30px; }
.sheet__head .price { font-size: 17px; color: var(--accent); }
.sheet__desc { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }
.opt { margin-top: 20px; padding: 14px; border-radius: var(--radius-lg); background: var(--surface); border: var(--bw) solid var(--line); transition: border-color .2s; }
.opt.is-bad { border-color: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 18%, transparent); }
.opt__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.opt__head h3 { font-size: 18px; }
.opt__rule { flex: none; font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 999px; background: var(--bg); color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.opt__rule.is-req { background: var(--accent); color: var(--accent-ink); }
.opt__hint { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.opt__list { display: flex; flex-direction: column; margin-top: 8px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 2px; text-align: left; border-bottom: var(--bw) solid var(--line); }
.choice:last-child { border-bottom: 0; }
.choice__name { flex: 1; font-weight: 600; }
.choice__price { font-size: 13px; font-weight: 800; color: var(--muted); }
.choice.is-on .choice__price { color: var(--accent); }
.choice.is-full { opacity: .4; }
.choice__mark { flex: none; width: 22px; height: 22px; border: 2px solid var(--line); background: var(--bg); position: relative; transition: background .12s, border-color .12s; }
.choice__mark.is-radio { border-radius: 50%; }
.choice__mark.is-check { border-radius: 6px; }
.choice.is-on .choice__mark { border-color: var(--accent); background: var(--accent); }
.choice.is-on .choice__mark.is-radio::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--accent-ink); }
.choice.is-on .choice__mark.is-check::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--accent-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.allergens { margin-top: 20px; font-size: 12.5px; line-height: 1.5; }
.allergens b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
.sheet__foot { display: flex; gap: 10px; align-items: center; padding: 12px 16px calc(var(--safe-b) + 6px); background: var(--bg); border-top: var(--bw) solid var(--line); }
.qty { display: inline-flex; align-items: center; gap: 2px; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 999px; padding: 4px; }
.qty button { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 800; }
.qty button:disabled { opacity: .3; }
.qty output { min-width: 26px; text-align: center; font-weight: 800; font-size: 16px; }
body.is-locked { overflow: hidden; }

/* ---- panier ---- */
.empty-cart { text-align: center; padding: 56px 16px; }
.empty-cart svg { width: 64px; height: 64px; color: var(--accent); stroke-width: 1.5; margin: 0 auto 14px; }
.empty-cart h2 { margin-bottom: 6px; } .empty-cart .btn { margin-top: 18px; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 999px; background: var(--surface); border: var(--bw) solid var(--line); }
.mode { height: 40px; border-radius: 999px; font-weight: 800; color: var(--muted); }
.mode.is-on { background: var(--accent); color: var(--accent-ink); }
.lines { display: flex; flex-direction: column; gap: 10px; }
.line { display: flex; gap: 12px; padding: 10px; background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--radius-lg); }
.line__img { width: 70px; height: 70px; border-radius: var(--radius); object-fit: cover; flex: none; }
.line__body { flex: 1; min-width: 0; }
.line__name { font-family: var(--font-title); text-transform: var(--title-case); font-size: 18px; line-height: 1.1; }
.line__opts { margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.line__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.qty--sm { padding: 2px; } .qty--sm button { width: 32px; height: 32px; font-size: 18px; } .qty--sm output { min-width: 24px; font-size: 15px; }
.more { margin-top: 10px; min-height: 44px; font-size: 14px; }
.summary { margin: 14px 0; padding: 14px 16px; }
.summary__row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14.5px; }
.summary__row--total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; font-size: 17px; font-weight: 800; }
.summary__row--total .price { font-size: 20px; color: var(--accent); }
.summary__hint { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.ok { color: var(--ok); }
.form { display: flex; flex-direction: column; gap: 10px; }
.field { width: 100%; padding: 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); outline: none; font-size: 16px; transition: border-color .15s; }
.field::placeholder { color: var(--muted); }
.field:focus { border-color: var(--accent); }
.field.is-bad { border-color: var(--bad); }
textarea.field { resize: vertical; min-height: 58px; }
.channel { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-lg); background: color-mix(in srgb, var(--wa) 12%, var(--surface)); }
.channel--telegram { background: color-mix(in srgb, var(--tg) 12%, var(--surface)); }
.channel svg { width: 32px; height: 32px; flex: none; fill: var(--wa); stroke: none; }
.channel--telegram svg { fill: var(--tg); }
.channel b { font-size: 14px; } .channel p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 70px); transform: translate(-50%, 16px); z-index: 60; padding: 11px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 800; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast.is-bad { background: var(--bad); color: #fff; }

/* aperçu démo du message WhatsApp + fiche d'installation iPhone */
.preview { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s; }
.preview.is-open { opacity: 1; }
.preview__card { width: 100%; max-width: 480px; max-height: 92dvh; overflow-y: auto; background: #fff; color: #111; border-radius: 22px 22px 0 0; transform: translateY(30px); transition: transform .3s cubic-bezier(.2, .8, .2, 1); font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
.preview.is-open .preview__card { transform: none; }
.preview__top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #075E54; color: #fff; border-radius: 22px 22px 0 0; }
.preview__top svg { width: 28px; height: 28px; fill: #fff; stroke: none; }
.preview__top div { flex: 1; display: flex; flex-direction: column; } .preview__top span { font-size: 12px; opacity: .85; }
.preview__x { color: #fff; font-size: 18px; width: 32px; height: 32px; }
.preview__chat { padding: 16px 14px; background: #ECE5DD; }
.bubble { position: relative; margin-left: auto; max-width: 92%; padding: 9px 10px 20px; border-radius: 10px 0 10px 10px; background: #DCF8C6; font-size: 14px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.bubble__time { position: absolute; right: 8px; bottom: 4px; font-size: 11px; color: #667781; }
.preview__foot { padding: 14px 16px calc(var(--safe-b) + 10px); display: flex; flex-direction: column; gap: 8px; }
.preview__foot p { margin: 0 0 4px; font-size: 13px; color: #555; }
.preview__foot .btn--ghost { background: #f3f3f3; color: #111; border-color: #e5e5e5; }
.install-card { padding: 22px 20px calc(var(--safe-b) + 14px); }
.install-card h2 { font-family: system-ui, -apple-system, sans-serif; text-transform: none; font-weight: 800; font-size: 20px; line-height: 1.2; }
.install-card ol { padding-left: 20px; margin: 14px 0 18px; line-height: 1.9; }
.install-card small { display: block; font-size: 13px; line-height: 1.4; opacity: .65; margin-top: -4px; }
.install-card svg { width: 18px; height: 18px; vertical-align: -3px; color: #0A84FF; }
.install-card .btn { background: #111; color: #fff; }

/* ---- infos / avis / contact ---- */
.about { display: flex; align-items: center; gap: 14px; padding: 16px; }
.about__logo { width: 84px; height: 64px; object-fit: contain; flex: none; }
.about p { margin: 4px 0 0; font-size: 13.5px; }
.about__text { margin: 16px 2px; font-size: 15px; line-height: 1.6; }
.infos { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.info { display: flex; gap: 12px; padding: 12px 14px; background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--radius-lg); }
.info__ic { width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, var(--surface)); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.info__ic svg { width: 20px; height: 20px; }
.info b { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.info p { margin: 3px 0 0; font-weight: 600; line-height: 1.5; }
.legal { font-size: 12px; text-align: center; margin-top: 18px; }
.rating { display: flex; align-items: center; gap: 16px; padding: 16px 18px; margin-bottom: 12px; }
.rating__num { font-family: var(--font-title); font-size: 48px; color: var(--accent); line-height: 1; }
.stars { display: inline-flex; gap: 2px; }
.stars i { width: 16px; height: 16px; display: inline-block; }
.stars svg { width: 100%; height: 100%; fill: var(--line); stroke: none; }
.stars i.on svg { fill: var(--accent2); }
.reviews { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.review { padding: 12px 14px; }
.review__head { display: flex; align-items: center; gap: 10px; }
.review__meta { display: flex; align-items: center; gap: 4px; font-size: 12px; }
.review__meta .stars i { width: 13px; height: 13px; }
.review p { margin: 10px 0 0; font-size: 14.5px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.contact__sub { margin: -4px 0 14px; }
.contacts { display: flex; flex-direction: column; gap: 10px; }
.contact { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; text-decoration: none; color: var(--ink); }
.contact__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--net); display: flex; align-items: center; justify-content: center; flex: none; }
.contact__ic svg { width: 26px; height: 26px; fill: #fff; stroke: none; }
.contact__body { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; }
.contact__body b { font-size: 15px; }
.contact__arrow { font-size: 24px; color: var(--muted); }
.contact__hours { display: flex; align-items: flex-start; gap: 8px; justify-content: center; margin-top: 18px; font-size: 13px; text-align: center; }
.contact__hours svg { width: 18px; height: 18px; flex: none; }
.empty { text-align: center; padding: 30px 0; }

/* ---- confettis ---- */
.confetti { position: fixed; width: 7px; height: 11px; border-radius: 2px; margin: -5px 0 0 -4px; pointer-events: none; z-index: 80; animation: confetti var(--dur, 850ms) cubic-bezier(.15, .85, .35, 1) forwards; }
@keyframes confetti {
  0% { transform: translate(0, 0) rotate(0) scale(.6); opacity: 1; }
  15% { transform: translate(calc(var(--dx) * .35), calc(var(--dy) * .45)) rotate(calc(var(--rot) * .2)) scale(1.1); }
  65% { transform: translate(calc(var(--dx) * .9), calc(var(--dy) * .95)) rotate(calc(var(--rot) * .75)); opacity: 1; }
  100% { transform: translate(var(--dx), calc(var(--dy) + 90px)) rotate(var(--rot)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* =========================================================================================
   STYLE « street » — FUEGO : nuit, condensé très gras, orange brûlé, étiquettes de travers
   ========================================================================================= */
.style-street { --radius: 10px; --radius-lg: 14px; --shadow: none; }
.style-street h1, .style-street h2, .style-street h3 { letter-spacing: .02em; }
.style-street .hero { aspect-ratio: 4 / 4.4; }
.style-street .hero h1 { font-size: 52px; line-height: .92; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.style-street .hero__kicker { transform: rotate(-3deg); border-radius: 4px; font-size: 13px; }
.style-street .hero__shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .9) 100%); }
.style-street .group__title { font-size: 34px; color: var(--accent); }
.style-street .dish__name { font-size: 22px; }
.style-street .reco__name { font-size: 20px; }
.style-street .pill { border-radius: 4px; transform: rotate(-2deg); }
.style-street .btn, .style-street .cartbar__btn { font-family: var(--font-title); text-transform: uppercase; font-weight: 400; font-size: 18px; letter-spacing: .04em; }
.style-street .cartbar__btn { background: var(--accent); color: var(--accent-ink); }
.style-street .cartbar__count { background: var(--accent-ink); color: var(--accent); }
.style-street .btn--wa span, .style-street .btn--tg span { font-size: 17px; }
.style-street .sheet__head h2 { font-size: 36px; }
.style-street .opt__head h3 { font-size: 21px; }
.style-street .add { box-shadow: 0 0 0 3px var(--bg); }
.style-street .fact svg.fill { fill: var(--accent); }

/* =========================================================================================
   STYLE « retro » — BRAISE : crème, gros contours noirs, ombres franches décalées, ton BD
   ========================================================================================= */
.style-retro { --bw: 2px; --radius: 14px; --radius-lg: 16px; --shadow: 4px 4px 0 var(--ink); --line: var(--ink); }
.style-retro .hero { border: 2.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.style-retro .hero h1 { font-size: 33px; line-height: 1.02; }
.style-retro .hero__kicker { font-family: var(--font-script); text-transform: none; font-size: 19px; font-weight: 400; letter-spacing: 0; background: var(--accent2); color: var(--ink); border: 2px solid var(--ink); transform: rotate(-2deg); }
.style-retro .reco, .style-retro .card, .style-retro .line, .style-retro .opt, .style-retro .info { box-shadow: var(--shadow); }
.style-retro .dish { border-bottom: 2px dashed color-mix(in srgb, var(--ink) 35%, transparent); }
.style-retro .dish__img { border: 2px solid var(--ink); }
.style-retro .add { border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.style-retro .btn { border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.style-retro .btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.style-retro .btn--ghost { background: var(--surface); }
.style-retro .cat.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.style-retro .group__title::after { content: ''; display: block; width: 60px; height: 6px; margin-top: 6px; border-radius: 3px; background: var(--accent2); border: 2px solid var(--ink); }
.style-retro .nav__bubble { border: 2.5px solid var(--ink); box-shadow: 0 0 0 4px var(--surface), 2px 3px 0 4px var(--ink); }
.style-retro .pill { border: 1.5px solid var(--ink); }
.style-retro .cartbar__btn { border: 2.5px solid var(--ink); background: var(--accent); color: var(--accent-ink); box-shadow: 4px 4px 0 var(--ink); }
.style-retro .cartbar__count { background: var(--accent2); color: var(--ink); border: 2px solid var(--ink); }
.style-retro .status { box-shadow: 2px 2px 0 var(--ink); }
.style-retro .field { border-width: 2px; border-color: var(--ink); }

/* =========================================================================================
   STYLE « trattoria » — NONNA LUCIA : serif italique, arche, douceur, citron
   ========================================================================================= */
.style-trattoria { --radius: 16px; --radius-lg: 22px; --shadow: 0 6px 22px rgba(80, 40, 20, .08); }
.style-trattoria h1, .style-trattoria h2, .style-trattoria h3, .style-trattoria .reco__name, .style-trattoria .line__name { font-style: italic; font-weight: 700; letter-spacing: -.01em; }
.style-trattoria .hero { border-radius: 200px 200px var(--radius-lg) var(--radius-lg); aspect-ratio: 4 / 4.6; }
.style-trattoria .hero h1 { font-size: 40px; line-height: 1.02; }
.style-trattoria .hero__kicker { font-family: var(--font-script); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 22px; background: none; color: var(--accent2); padding: 0; }
.style-trattoria .group__title { text-align: center; font-size: 30px; margin-top: 30px; }
.style-trattoria .group__title::before { content: '✦'; display: block; font-size: 14px; font-style: normal; color: var(--accent2); margin-bottom: 4px; }
.style-trattoria .dish__img { border-radius: 50%; }
.style-trattoria .dish__name { font-size: 21px; }
.style-trattoria .cat.is-active { background: var(--accent); }
.style-trattoria .add { background: var(--accent2); color: var(--ink); }
.style-trattoria .btn { border-radius: 999px; }
.style-trattoria .cartbar__btn { border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.style-trattoria .cartbar__count { border-radius: 50%; background: var(--accent2); color: var(--ink); }
.style-trattoria .pill { background: var(--accent2); color: var(--ink); }
.style-trattoria .rating__num { font-style: italic; }
.style-retro .hero__shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(17, 17, 17, .85) 100%); }
.style-trattoria .hero__shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(59, 32, 22, .85) 100%); }
