/* =====================================================================
   PIKSOU SNACK — feuille de style
   Noir + jaune (identité), vert & or (la salle), typo Lilita / Lalezar.
   ===================================================================== */

@font-face { font-family: "Cairo"; src: url(../fonts/cairo-arabic.woff2) format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Cairo"; src: url(../fonts/cairo-latin.woff2) format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Lalezar"; src: url(../fonts/lalezar-arabic.woff2) format("woff2"); font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Lilita One"; src: url(../fonts/lilita-latin.woff2) format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }

:root {
  /* Bleu nuit du plafond et de la façade */
  --bg: #0a1424;
  --bg-2: #0d1a2e;
  --card: #12213a;
  --card-2: #182b48;
  --line: rgba(170, 200, 240, .12);
  --text: #f5f2ea;
  --soft: #d6dde8;
  --muted: #a3b2c7;
  /* Jaune et orange du logo */
  --yellow: #ffc20e;
  --yellow-2: #ffd84a;
  --orange: #ff9b0a;
  --ink: #0a1424;
  /* La salle : murs verts, bois, moulures dorées, LED, néon de la façade */
  --green: #0e6252;
  --green-2: #0a4a3e;
  --wood: #6b4226;
  --wood-2: #3e2614;
  --gold: #d9b45c;
  --led: #d8e8ff;
  --neon: #ff4a4a;
  --ok: #35d07f;
  --warn: #ffb020;
  --bad: #ff5b4f;
  --r: 18px;
  --r-lg: 28px;
  --header-h: 64px;
  --f-body: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "Lilita One", "Lalezar", "Cairo", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
html[lang="ar"] { --f-display: "Lalezar", "Lilita One", "Cairo", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: .005em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; letter-spacing: 0; }
p { margin: 0; }
.muted { color: var(--muted); }

.ic { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .container { padding-inline: 24px; } }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  font-weight: 800; font-size: .98rem; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255, 194, 14, .55); }
.btn-yellow:hover { background: var(--yellow-2); }
.btn-ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .11); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .88rem; }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line); position: relative; transition: background .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .14); }
.link-btn { display: inline-flex; align-items: center; gap: .4em; color: var(--muted); font-size: .88rem; margin: 10px auto 0; }
.link-btn:hover { color: var(--text); }

.badge {
  position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--yellow); color: var(--ink); font: 800 .72rem/20px var(--f-body); text-align: center;
}

/* --------------------------------------------------------------- Annonce */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 16px; background: linear-gradient(90deg, var(--orange), var(--yellow));
  color: var(--ink); font-weight: 800; font-size: .92rem; text-align: center;
}
.announce a { text-decoration: underline; text-underline-offset: 3px; }
.announce-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------------------------------------------------------------- Header */
.topbar {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgba(10, 20, 36, .74); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.topbar.scrolled { border-color: var(--line); background: rgba(10, 20, 36, .92); }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; opacity: 0; transition: opacity .4s;
  background: linear-gradient(90deg, transparent, var(--neon) 18%, var(--neon) 82%, transparent); box-shadow: 0 0 14px rgba(255, 74, 74, .55); }
.topbar.scrolled::after { opacity: .55; }
.topbar-in { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand-txt { font-family: "Lilita One", var(--f-display); font-size: 1.3rem; letter-spacing: .01em; }
.brand-txt b { font-weight: 400; color: var(--yellow); }
.nav { display: none; gap: 4px; margin-inline: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--soft); font-weight: 700; font-size: .95rem; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.top-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lang-btn { font: 700 1.05rem/1 var(--f-body); }
html[lang="ar"] .lang-btn { font-size: .85rem; }
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); } }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.status-dot.open { background: var(--ok); box-shadow: 0 0 0 4px rgba(53, 208, 127, .18); }
.status-dot.soon, .status-dot.maybe { background: var(--warn); box-shadow: 0 0 0 4px rgba(255, 176, 32, .18); }
.status-dot.closed { background: var(--bad); box-shadow: 0 0 0 4px rgba(255, 91, 79, .16); }
.hide-sm { display: none; }
/* Le numéro reste dans le bon ordre même en arabe */
[data-phone-text] { direction: ltr; unicode-bidi: isolate; }
@media (min-width: 980px) {
  :root { --header-h: 74px; }
  .nav { display: flex; }
  .top-actions { margin-inline-start: 0; }
  .hide-sm { display: inline-flex; }
}

/* ----------------------------------------------------------- Table (QR) */
.table-banner { background: var(--green); border-bottom: 1px solid rgba(217, 180, 92, .4); }
.table-banner .container { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-block: 12px; font-size: .95rem; }
.table-banner strong { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; color: var(--yellow); }
.table-banner .wifi { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; width: 100%; padding: 8px 12px; border-radius: 12px; background: rgba(0, 0, 0, .25); }
.table-banner code { font: 700 1rem var(--f-body); color: var(--yellow); }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; overflow: hidden; padding-block: 28px 56px; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background:
    radial-gradient(36% 42% at 74% 58%, rgba(255, 194, 14, .2), transparent 70%),
    radial-gradient(38% 40% at 10% 16%, rgba(14, 98, 82, .38), transparent 70%),
    radial-gradient(55% 30% at 55% -4%, rgba(140, 180, 255, .16), transparent 70%);
}
/* Bandes LED en diagonale, comme au plafond du snack */
.led { position: absolute; height: 2px; border-radius: 2px; background: var(--led); pointer-events: none; transform: rotate(-11deg); transform-origin: left center;
  box-shadow: 0 0 8px 1px rgba(170, 205, 255, .7), 0 0 28px 6px rgba(120, 165, 255, .22); }
.led-1 { top: 7%; left: 38%; width: 70%; opacity: .5; }
.led-2 { top: 17%; left: 55%; width: 60%; opacity: .28; }
@media (max-width: 899px) { .led-1 { top: 3%; left: 20%; } .led-2 { display: none; } }
html[dir="rtl"] .hero-glow { transform: scaleX(-1); }
.hero-grid { position: relative; display: grid; gap: 28px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero-logo { width: clamp(190px, 52vw, 330px); margin-block: -6px -14px; filter: drop-shadow(0 12px 40px rgba(255, 194, 14, .25)); }
.hero-title { font-size: clamp(2.3rem, 7.4vw, 4.2rem); }
.hero-title em { font-style: normal; color: var(--yellow); display: inline-block; }
.hero-sub { color: var(--soft); font-size: clamp(1rem, 2.4vw, 1.15rem); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--soft); font-weight: 700; font-size: .92rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: 6px; }
.hero-badges .ic { color: var(--yellow); }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-weight: 700; font-size: .9rem;
}
html[dir="rtl"] .status-pill { padding: 7px 10px 7px 14px; }
.status-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); position: relative; }
.status-pill.open .dot { background: var(--ok); }
.status-pill.open .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); animation: ping 1.8s infinite; }
.status-pill.soon .dot, .status-pill.maybe .dot { background: var(--warn); }
.status-pill.closed .dot { background: var(--bad); }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.hero-visual { position: relative; height: 380px; max-width: 520px; width: 100%; margin-inline: auto; }
.snap {
  position: absolute; margin: 0; padding: 8px 8px 30px; background: #f4efe3; border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); width: 46%;
}
.snap img { border-radius: 3px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.snap-1 { top: -1%; inset-inline-end: 0; transform: rotate(7deg); width: 40%; }
.snap-2 { top: 5%; inset-inline-start: 0; transform: rotate(-8deg); width: 36%; }
.hero-emblem { position: absolute; left: 50%; bottom: 0; width: min(78%, 420px); aspect-ratio: 1; transform: translateX(-50%); z-index: 2; }
.hero-emblem::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 194, 14, .32), rgba(255, 155, 10, .1) 60%, transparent); filter: blur(18px); }
.name-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; direction: ltr; animation: spin 26s linear infinite; }
.nr-txt { font: 400 33px "Lilita One", sans-serif; fill: var(--yellow); letter-spacing: 1px; }
.nr-bg { fill: rgba(10, 20, 36, .92); stroke: rgba(255, 194, 14, .35); stroke-width: 3; }
.nr-dash { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 10 9; opacity: .75; }
.nr-line { fill: none; stroke: rgba(217, 180, 92, .45); stroke-width: 1.5; }
.hero-round-logo { position: absolute; inset: 15%; width: 70%; height: 70%; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .55)); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 900px) {
  .hero { padding-block: 40px 90px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .hero-visual { height: 520px; }
}

/* ---------------------------------------------------------------- Ticker */
.ticker-wrap { overflow: hidden; padding: 18px 0; margin-top: -28px; position: relative; z-index: 2; }
.ticker { direction: ltr; background: var(--yellow); color: var(--ink); transform: rotate(-1.6deg); margin: 0 -20px; overflow: hidden; box-shadow: 0 12px 40px -12px rgba(255, 194, 14, .45); }
.ticker-track { display: flex; width: max-content; direction: ltr; gap: 22px; padding: 12px 0; animation: ticker 30s linear infinite; font: 400 1.5rem/1 "Lilita One", sans-serif; letter-spacing: .04em; }
.ticker-track i { font-style: normal; opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------- Infos rapides */
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.q-card {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s;
}
.q-card:hover { transform: translateY(-3px); border-color: rgba(255, 194, 14, .4); }
.q-card .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255, 194, 14, .12); color: var(--yellow); }
.q-card div { display: flex; flex-direction: column; min-width: 0; }
.q-card strong { font-size: .95rem; }
.q-card span { color: var(--muted); font-size: .82rem; line-height: 1.35; }
@media (min-width: 900px) { .quick { grid-template-columns: repeat(4, 1fr); gap: 14px; } .q-card { padding: 18px; } }

/* -------------------------------------------------------------- Sections */
.section { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.hours { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.contact { background: radial-gradient(50% 60% at 85% 40%, rgba(14, 98, 82, .18), transparent 70%); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sec-head.left { text-align: start; align-items: flex-start; margin-inline: 0; }
.sec-head h2 { font-size: clamp(2rem, 5.6vw, 3.2rem); }
.sec-head p { color: var(--muted); font-size: 1.02rem; }
.kicker { font: 400 1.05rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
html[lang="ar"] .kicker { text-transform: none; font-size: 1.15rem; }
.brush {
  display: inline-block; padding: .55em 1.1em .5em; color: var(--ink); background: var(--yellow); transform: rotate(-2deg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 60' preserveAspectRatio='none'%3E%3Cpath d='M7 13 24 7l38 3 58-5 70 4 60-5 42 6-7 10 12 10-10 10 8 12-56 3-70-4-70 5-60-4-36 3 8-11-10-11 8-9Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 60' preserveAspectRatio='none'%3E%3Cpath d='M7 13 24 7l38 3 58-5 70 4 60-5 42 6-7 10 12 10-10 10 8 12-56 3-70-4-70 5-60-4-36 3 8-11-10-11 8-9Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ------------------------------------------------------------------ Menu */
.search {
  display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 0 auto; padding: 0 16px; height: 52px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s;
}
.search:focus-within { border-color: var(--yellow); }
.search .ic { color: var(--muted); }
.search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 1rem; }
.search input::placeholder { color: #7b8aa0; }

.cat-bar { position: sticky; top: var(--header-h); z-index: 30; margin-top: 20px; background: rgba(10, 20, 36, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.cat-bar-in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 16px; max-width: 1180px; margin-inline: auto; }
.cat-bar-in::-webkit-scrollbar { display: none; }
.cat-bar a { flex: none; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: .92rem; background: var(--card); border: 1px solid var(--line); color: var(--soft); transition: background .2s, color .2s, border-color .2s; }
.cat-bar a.on { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.menu-grid { display: grid; gap: 18px; margin-top: 26px; align-items: start; }
@media (min-width: 900px) { .menu-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
.cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; scroll-margin-top: calc(var(--header-h) + 70px); }
.cat-head { display: flex; align-items: center; gap: 14px; padding: 6px 6px 12px; }
.cat-head img { width: 84px; height: 64px; object-fit: cover; border-radius: 14px; background: #000; flex: none; }
.cat-head div { flex: 1; min-width: 0; }
.cat-head h3 { font-size: 1.6rem; color: var(--yellow); }
.cat-head p { color: var(--muted); font-size: .9rem; }
.cat-count { font: 800 .8rem var(--f-body); color: var(--muted); background: rgba(255, 255, 255, .06); border-radius: 999px; padding: 3px 10px; }
.cat-note { margin: -4px 8px 10px; color: var(--soft); font-size: .9rem; }
.items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 14px; transition: background .2s; }
.item + .item { border-top: 1px dashed rgba(255, 255, 255, .08); }
.item:hover { background: rgba(255, 255, 255, .03); }
.it-name { display: flex; flex-direction: column; min-width: 0; }
.it-name span { font-weight: 800; font-size: 1.02rem; line-height: 1.3; }
.it-name small { color: var(--muted); font-size: .84rem; }
.tag { display: inline-block; font: 800 .66rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .04em; padding: 4px 7px; border-radius: 6px; vertical-align: 2px; margin-inline-start: 4px; font-style: normal; }
.tag-new { background: var(--bad); color: #fff; }
.tag-deal { background: var(--ok); color: var(--ink); }
.it-price { font-weight: 800; white-space: nowrap; color: var(--yellow); font-size: 1.05rem; }
.it-price small { font-size: .72em; color: var(--muted); }
.it-price .ask { font-size: .78rem; color: var(--muted); font-weight: 700; }
.it-act { display: flex; justify-content: flex-end; min-width: 40px; }
.add { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); transition: transform .15s; }
.add:active { transform: scale(.9); }
.add .ic { stroke-width: 3; }
.stepper { display: inline-flex; align-items: center; gap: 2px; background: rgba(255, 194, 14, .12); border: 1px solid rgba(255, 194, 14, .35); border-radius: 12px; padding: 2px; }
.stepper button { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--yellow); }
.stepper button:hover { background: rgba(255, 194, 14, .15); }
.stepper b { min-width: 20px; text-align: center; font-size: 1rem; }
.menu-empty { text-align: center; color: var(--muted); padding: 30px 0; }

/* ---------------------------------------------------------------- Budget */
.budget {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 194, 14, .12), transparent 70%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .26) 0 3px, rgba(255, 255, 255, .025) 3px 4px, transparent 4px 30px),
    linear-gradient(180deg, var(--wood), var(--wood-2));
  border-block: 1px solid rgba(217, 180, 92, .3);
}
.budget .sec-head p { color: #ecd9c4; }
.budget-controls, .budget .idea { background: rgba(10, 20, 36, .86); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.budget-box { display: grid; gap: 22px; }
@media (min-width: 900px) { .budget-box { grid-template-columns: 380px 1fr; gap: 30px; align-items: start; } }
.budget-controls { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.budget-amount { font: 400 3.4rem/1 "Lilita One", var(--f-display); color: var(--yellow); text-align: center; }
.budget-amount span { font-size: .45em; color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--yellow) var(--p, 10%), rgba(255, 255, 255, .1) var(--p, 10%)); outline-offset: 6px; }
html[dir="rtl"] input[type="range"] { background: linear-gradient(-90deg, var(--yellow) var(--p, 10%), rgba(255, 255, 255, .1) var(--p, 10%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 5px solid var(--yellow); box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--yellow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips button { padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-weight: 800; font-size: .88rem; }
.chips button.on { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.people { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; }
.seg { display: inline-flex; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 14px; padding: 3px; gap: 3px; }
.seg button { min-width: 42px; height: 38px; border-radius: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; color: var(--soft); }
.seg button.on { background: var(--yellow); color: var(--ink); }
.surprise .ic { transition: transform .5s var(--ease); }
.surprise:hover .ic { transform: rotate(180deg); }

.ideas { display: grid; gap: 14px; }
@media (min-width: 640px) { .ideas { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } }
.idea {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 12px;
  animation: rise .5s var(--ease) both; animation-delay: var(--d, 0ms);
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.idea.lucky { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 194, 14, .12), 0 30px 60px -30px rgba(255, 194, 14, .5); grid-column: 1 / -1; max-width: 520px; width: 100%; justify-self: center; }
.idea-n { font: 400 .95rem var(--f-display); color: var(--yellow); text-transform: uppercase; letter-spacing: .04em; }
.idea ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.idea li { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.idea li img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; background: #000; }
.idea li b { color: var(--yellow); }
.idea-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); padding-top: 12px; }
.idea-foot b { font-size: 1.25rem; display: block; }
.idea-foot small { color: var(--muted); font-size: .8rem; }
.idea-none { padding: 26px; border-radius: var(--r-lg); border: 1px dashed var(--line); color: var(--soft); text-align: center; }
.slot { font: 400 2rem/1.2 var(--f-display); color: #fff; text-align: center; padding: 26px 0; }

/* -------------------------------------------------------------- Horaires */
.hours-grid { display: grid; gap: 18px; max-width: 980px; margin-inline: auto; }
@media (min-width: 900px) { .hours-grid { grid-template-columns: 340px 1fr; } }
.hours-now { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; position: relative; overflow: hidden; }
.hours-now::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; inset-inline-end: -80px; top: -80px; background: radial-gradient(closest-side, rgba(255, 194, 14, .18), transparent); }
.hn-label { color: var(--muted); font-weight: 700; }
.hn-state { font: 400 3rem/1 var(--f-display); }
.hn-state.open { color: var(--ok); }
.hn-state.soon, .hn-state.maybe { color: var(--warn); }
.hn-state.closed { color: var(--bad); }
.hn-sub { font-weight: 700; font-size: 1.05rem; }
.hn-clock { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.hn-clock b { color: var(--text); font-variant-numeric: tabular-nums; }
.week { list-style: none; margin: 0; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.week li { display: grid; grid-template-columns: 1fr; gap: 4px 16px; padding: 12px 14px; border-radius: 14px; }
.week li + li { border-top: 1px solid rgba(255, 255, 255, .05); }
@media (min-width: 560px) { .week li { grid-template-columns: 1.2fr 1fr 1fr; align-items: center; } }
.week li.today { background: rgba(255, 194, 14, .1); border-color: transparent; box-shadow: inset 0 0 0 1px rgba(255, 194, 14, .35); }
.w-day { font-weight: 800; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.w-today { font: 800 .68rem/1 var(--f-body); text-transform: uppercase; background: var(--yellow); color: var(--ink); padding: 4px 7px; border-radius: 6px; }
.w-day .tue { font-style: normal; font-weight: 700; font-size: .78rem; color: var(--warn); }
.w-slot { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; color: var(--soft); }
.w-slot .ic { color: var(--yellow); width: 1.05em; height: 1.05em; }
.hours-note { max-width: 980px; margin: 16px auto 0; color: var(--muted); font-size: .92rem; text-align: center; }

/* -------------------------------------------------------------- Fidélité */
.loyalty { overflow: hidden; }
.loyalty-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .loyalty-grid { grid-template-columns: 1fr 1.1fr; gap: 60px; } }
.loyalty-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.loyalty-copy h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.loyalty-copy h2 em { font-style: normal; color: var(--yellow); }
.loyalty-copy p { color: var(--soft); font-size: 1.05rem; max-width: 30em; }
.loyalty-card {
  position: relative; border-radius: 26px; padding: 22px; aspect-ratio: 1.6; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  background: radial-gradient(70% 90% at 100% 0%, rgba(255, 194, 14, .25), transparent 60%), linear-gradient(145deg, #17294a, #0b1628);
  border: 1px solid rgba(255, 194, 14, .35); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: rotate(-2deg); max-width: 560px; width: 100%; margin-inline: auto;
}
.lc-head { display: flex; align-items: center; gap: 12px; }
.lc-head img { width: 54px; height: 54px; }
.lc-head div { display: flex; flex-direction: column; line-height: 1.2; }
.lc-head b { font: 400 1.3rem "Lilita One", var(--f-display); color: var(--yellow); }
.lc-head span { color: var(--muted); font-size: .85rem; font-weight: 700; }
.stamps { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(6px, 1.6vw, 12px); }
.stamp { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: #f2eee4; border: 3px solid var(--yellow); color: #c9c3b6; position: relative; }
.stamp svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; }
.loyalty-card.play .stamp:not(.gift) { animation: stamp .45s var(--ease) both; animation-delay: calc(var(--i) * 140ms + 200ms); }
@keyframes stamp { 0% { transform: scale(1); } 45% { transform: scale(1.25) rotate(-10deg); background: var(--yellow); color: var(--ink); } 100% { transform: scale(1); background: var(--yellow); color: var(--ink); } }
.stamp.gift { background: var(--bad); border-color: #fff; color: #fff; }
.stamp.gift .ic { width: 42%; height: 42%; }
.stamp.gift b { position: absolute; bottom: -18px; font: 800 .58rem/1 var(--f-body); letter-spacing: .05em; color: var(--yellow); white-space: nowrap; }
.loyalty-card.play .stamp.gift { animation: gift 1s var(--ease) both; animation-delay: calc(var(--i) * 140ms + 300ms); }
@keyframes gift { 0% { transform: scale(.6); opacity: .4; } 50% { transform: scale(1.35) rotate(12deg); box-shadow: 0 0 0 10px rgba(255, 91, 79, .25); } 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 30px rgba(255, 91, 79, .6); } }
.lc-foot { text-align: center; font: 400 1.05rem var(--f-display); color: var(--yellow); margin-top: 8px; }

/* -------------------------------------------------- L'espace (vert & or) */
.place { background: linear-gradient(180deg, var(--green), var(--green-2)); overflow: hidden; }
.place::before, .place::after { content: ""; position: absolute; pointer-events: none; border: 2px dashed rgba(217, 180, 92, .38); border-radius: 4px; }
.place::before { inset: 22px; }
.place::after { inset: 44px; border-color: rgba(217, 180, 92, .22); }
.place .container { position: relative; z-index: 1; }
.place .sec-head p { color: #cfe6df; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .gallery { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, 260px); gap: 14px; } .g-tall { grid-row: span 2; } }
.g-item { position: relative; overflow: hidden; border-radius: 18px; background: #072f27; aspect-ratio: 3 / 4; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
@media (min-width: 900px) { .g-item { aspect-ratio: auto; } }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item span { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; text-align: start; font-weight: 800; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.g-tall { grid-column: span 2; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .g-tall { grid-column: auto; aspect-ratio: auto; } }

.review-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; margin-top: 30px; padding: 20px; border-radius: var(--r-lg); background: rgba(0, 0, 0, .28); border: 1px solid rgba(217, 180, 92, .35); text-align: center; }
.review-cta > div:not(.stars) { display: flex; flex-direction: column; }
.review-cta strong { font: 400 1.4rem var(--f-display); }
.review-cta span { color: #cfe6df; }
.stars { display: flex; gap: 2px; color: var(--yellow); }
.stars .ic { fill: currentColor; width: 1.5em; height: 1.5em; }

/* --------------------------------------------------------------- Contact */
.contact-grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 50px; } }
.contact-list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: rgba(255, 194, 14, .12); color: var(--yellow); }
.contact-list div { display: flex; flex-direction: column; }
.contact-list strong { font-size: .85rem; color: var(--muted); font-weight: 700; }
.contact-list a, .contact-list span { font-weight: 800; font-size: 1.05rem; }
.contact-list a { color: var(--yellow); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: .9rem; transition: border-color .2s, transform .2s; }
.socials a:hover { border-color: var(--yellow); transform: translateY(-2px); }
.map-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: var(--card); }
.map-card iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.map-fake {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 47%, rgba(255, 194, 14, .55) 47.5%, rgba(255, 194, 14, .55) 49%, transparent 49.5%),
    linear-gradient(25deg, transparent 58%, rgba(255, 255, 255, .14) 58.3%, rgba(255, 255, 255, .14) 59.6%, transparent 60%),
    linear-gradient(170deg, transparent 30%, rgba(255, 255, 255, .1) 30.3%, rgba(255, 255, 255, .1) 31.2%, transparent 31.5%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 34px),
    radial-gradient(60% 60% at 50% 45%, #18305a, #0b1628);
}
.map-pin { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: #000; border: 3px solid var(--yellow); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255, 194, 14, .5); animation: pulse 2.2s infinite; }
.map-pin img { width: 70px; height: 70px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 26px rgba(255, 194, 14, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 194, 14, 0); } }
.map-overlay { position: absolute; inset: auto 0 0; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.map-overlay p { line-height: 1.3; font-size: .95rem; }

/* ---------------------------------------------------------------- Footer */
.footer { border-top: 1px solid rgba(217, 180, 92, .25); background: #070f1d; padding: 46px 0 120px; }
@media (min-width: 860px) { .footer { padding-bottom: 36px; } }
.footer-grid { display: grid; gap: 26px; align-items: center; text-align: center; justify-items: center; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1fr auto 1fr; text-align: start; justify-items: stretch; } .f-actions { justify-content: flex-end; } }
.f-brand { display: flex; flex-direction: column; align-items: center; gap: 4px; }
@media (min-width: 860px) { .f-brand { align-items: flex-start; } }
.f-thanks { font: 400 1.4rem "Lalezar", var(--f-display); color: var(--yellow); }
.f-brand p:last-child { color: var(--muted); font-size: .9rem; }
.f-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-weight: 700; color: var(--soft); }
.f-links a:hover { color: var(--yellow); }
.f-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.f-copy { margin-top: 26px; color: #6d7c93; font-size: .82rem; text-align: center; }

/* ------------------------------------------------------- Barre mobile */
.dock {
  position: fixed; inset: auto 10px calc(10px + env(safe-area-inset-bottom)); z-index: 45;
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; border-radius: 22px;
  background: rgba(18, 33, 58, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8);
}
.dock a, .dock button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 4px; border-radius: 16px; font-size: .74rem; font-weight: 800; color: var(--soft); position: relative; }
.dock .ic { width: 22px; height: 22px; }
.dock .dock-cart { background: var(--yellow); color: var(--ink); }
.dock .badge { top: 2px; inset-inline-end: calc(50% - 26px); background: var(--ink); color: var(--yellow); }
@media (min-width: 860px) { .dock { display: none; } }

/* ---------------------------------------------------------------- Panier */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .25s; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%);
  background: var(--bg-2); border-inline-start: 1px solid var(--line); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s var(--ease);
}
html[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.7rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 18px; overscroll-behavior: contain; }
.cart-empty { text-align: center; padding: 50px 10px; display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--muted); }
.ic.big { width: 64px; height: 64px; color: rgba(255, 194, 14, .5); stroke-width: 1.5; }
.cart-lines { list-style: none; margin: 0 0 16px; padding: 0; }
.cart-lines li { display: grid; grid-template-columns: 1fr auto 64px; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cl-name { display: flex; flex-direction: column; min-width: 0; }
.cl-name small { color: var(--muted); }
.cl-total { text-align: end; font-weight: 800; color: var(--yellow); }
.cart-form { display: flex; flex-direction: column; gap: 12px; }
.seg-wide { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
.seg-wide button { height: 52px; flex-direction: column; gap: 2px; font-size: .8rem; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--soft); }
.field input { height: 48px; padding: 0 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); outline: 0; font-weight: 600; font-size: 1rem; }
.field input:focus { border-color: var(--yellow); }
.cart-hint { font-size: .82rem; color: var(--muted); }
.drawer-foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 1.05rem; }
.cart-total b { font: 400 1.9rem "Lilita One", var(--f-display); color: var(--yellow); }
.cart-unknown { font-size: .8rem; color: var(--warn); margin-top: -8px; }
.foot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.foot-row .btn { padding: 0 8px; font-size: .88rem; }

/* ------------------------------------------ Commande plein écran (comptoir) */
.counter { position: fixed; inset: 0; z-index: 80; background: var(--yellow); color: var(--ink); overflow-y: auto; }
.counter-close { position: absolute; top: 14px; inset-inline-end: 14px; background: var(--ink); color: var(--yellow); border: 0; }
.counter-in { max-width: 640px; margin: 0 auto; padding: 30px 22px 50px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.counter-in img { width: 72px; height: 72px; background: #000; border-radius: 50%; }
.cn-hint { font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; opacity: .7; }
.cn-mode { font: 400 2rem var(--f-display); }
.counter-in ul { list-style: none; margin: 8px 0; padding: 0; width: 100%; text-align: start; }
.counter-in li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 3px dashed rgba(0, 0, 0, .2); font: 400 clamp(1.6rem, 6vw, 2.4rem)/1.15 "Lilita One", var(--f-display); }
.counter-in li b { font-weight: 400; min-width: 2.2em; }
.counter-in li small { display: block; font: 700 1rem var(--f-body); opacity: .7; }
.cn-total { font: 400 3.2rem "Lilita One", var(--f-display); }
.cn-extra { font-weight: 800; font-size: 1.2rem; }

/* ------------------------------------------------------------- Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 60px 16px 30px; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 14px; cursor: pointer; }
.lightbox p { font-weight: 800; }
.lb-close { position: absolute; top: 14px; inset-inline-end: 14px; }

/* ----------------------------------------------------------------- Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 95; transform: translate(-50%, 20px);
  background: #fff; color: var(--ink); font-weight: 800; padding: 12px 18px; border-radius: 999px; box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.no-scroll .toast { bottom: auto; top: calc(16px + env(safe-area-inset-top)); }
@media (min-width: 860px) { .toast { bottom: 30px; } }

/* --------------------------------------------------------- Apparitions */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.loyalty-card.reveal.in { transform: rotate(-2deg); }

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

/* ================================================== Page "Tous nos liens" */
.links-page { min-height: 100vh; min-height: 100dvh; background: radial-gradient(70% 50% at 50% 0%, rgba(255, 194, 14, .16), transparent 70%), var(--bg); }
.lp { max-width: 480px; margin: 0 auto; padding: 26px 16px 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.lp-top { width: 100%; display: flex; justify-content: flex-end; }
.lp-logo { width: 150px; height: 150px; filter: drop-shadow(0 10px 30px rgba(255, 194, 14, .3)); }
.lp h1 { font-size: 2rem; }
.lp-tag { color: var(--muted); font-weight: 700; }
.lp-list { list-style: none; margin: 8px 0 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 10px; }
.lp-list a, .lp-list button {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; text-align: start;
  background: var(--card); border: 1px solid var(--line); font-weight: 800; font-size: 1rem; transition: transform .2s var(--ease), border-color .2s;
}
.lp-list a:hover, .lp-list button:hover { transform: translateY(-2px); border-color: var(--yellow); }
.lp-list .ic { width: 26px; height: 26px; color: var(--yellow); }
.lp-list .primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.lp-list .primary .ic { color: var(--ink); }
.lp-list .arrow { margin-inline-start: auto; opacity: .45; }
html[dir="rtl"] .lp-list .arrow { transform: scaleX(-1); }
.lp-hours { color: var(--muted); font-size: .85rem; }
.lp-hours a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.lp-foot { color: #6d7c93; font-size: .8rem; margin-top: 10px; }

/* ===================================================== Backend : en direct */
.announce.closed { background: var(--bad); color: #fff; }
.announce.closed .announce-dot { background: #fff; }
.status-pill.exceptional .dot { background: var(--bad); }
.status-dot.exceptional { background: var(--bad); box-shadow: 0 0 0 4px rgba(255, 91, 79, .16); }
.hn-state.exceptional { color: var(--bad); font-size: 2.2rem; }
.tag-hot { background: var(--orange); color: var(--ink); }
.tag-out { background: #26385a; color: var(--soft); }
.item.out { opacity: .5; }
.item.has-img { grid-template-columns: 56px 1fr auto auto; }
.it-img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: #000; }

/* Pied du panier */
.cart-closed { font-size: .82rem; color: var(--warn); text-align: center; font-weight: 700; }

/* Puce de suivi de commande */
.tracker {
  position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 44;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; max-width: calc(100% - 24px);
  background: #fff; color: var(--ink); font-weight: 800; font-size: .92rem; box-shadow: 0 16px 40px -8px rgba(0, 0, 0, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (min-width: 860px) { .tracker { bottom: 24px; } }
.tr-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); flex: none; }
.tracker.st-new .tr-dot, .tracker.st-preparing .tr-dot { animation: blink 1.2s infinite; }
.tracker.st-preparing .tr-dot { background: #4ea8ff; }
.tracker.st-ready { background: var(--ok); }
.tracker.st-ready .tr-dot { background: var(--ink); }
.tracker.st-done .tr-dot { background: var(--ok); }
.tracker.st-cancelled .tr-dot { background: var(--bad); }

/* Panneau "commande envoyée" */
.order-panel { display: flex; flex-direction: column; gap: 18px; padding: 8px 0 20px; }
.op-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.op-head h3 { font-size: 1.7rem; }
.op-head p { color: var(--muted); }
.op-check { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); animation: pop .5s var(--ease); }
.op-check .ic { width: 34px; height: 34px; stroke-width: 3; }
.op-head.bad .op-check { background: var(--bad); color: #fff; }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.12); } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; font-size: .76rem; font-weight: 700; color: var(--muted); counter-reset: s; }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.steps li span { width: 18px; height: 18px; border-radius: 50%; background: #26385a; border: 3px solid #26385a; position: relative; z-index: 1; }
.steps li::before { content: ""; position: absolute; top: 8px; inset-inline-end: 50%; width: 100%; height: 3px; background: #26385a; }
.steps li:first-child::before { display: none; }
.steps li.done, .steps li.now { color: var(--text); }
.steps li.done span, .steps li.done::before, .steps li.now::before { background: var(--yellow); border-color: var(--yellow); }
.steps li.now span { background: var(--bg-2); border-color: var(--yellow); box-shadow: 0 0 0 5px rgba(255, 194, 14, .25); animation: blink 1.4s infinite; }
.op-items { list-style: none; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--card); display: flex; flex-direction: column; gap: 4px; }
.op-items b { color: var(--yellow); }
.op-actions { display: flex; flex-direction: column; gap: 10px; }

/* Vérification des tampons */
.loy-check { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 440px; margin-top: 4px; font-weight: 700; color: var(--soft); }
.loy-row { display: flex; gap: 8px; }
.loy-row input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: 1rem; outline: 0; }
.loy-row input:focus { border-color: var(--yellow); }
.loy-msg { color: var(--yellow); min-height: 1.4em; }
.loyalty-card.checked .stamp:not(.gift) { animation: none; background: #f2eee4; color: #c9c3b6; }
.loyalty-card.checked .stamp.mine:not(.gift) { background: var(--yellow); color: var(--ink); animation: stamp .45s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
.loyalty-card.checked .stamp.gift:not(.mine) { animation: none; opacity: .45; box-shadow: none; }

/* ======================= Badge « Powered by Netlify » =======================
   Ajouté automatiquement par l'hébergeur (offre gratuite) en bas à droite.
   Il passe sous le panier et les fenêtres, et sur téléphone la barre du bas
   se place au-dessus de lui pour que tous les boutons restent cliquables.
   Sans badge (offre payante), la mise en page revient toute seule à la normale. */
#nl-badge-frame { z-index: 46 !important; }
@media (max-width: 859px) {
  body:has(#nl-badge-frame) .dock { bottom: calc(62px + env(safe-area-inset-bottom)); }
  body:has(#nl-badge-frame) .tracker { bottom: calc(144px + env(safe-area-inset-bottom)); }
  body:has(#nl-badge-frame) .toast { bottom: calc(148px + env(safe-area-inset-bottom)); }
  body:has(#nl-badge-frame) .footer { padding-bottom: 190px; }
  body.no-scroll:has(#nl-badge-frame) .toast { bottom: auto; }
}
