/* Réservation de table (téléphone d'abord) — même habillage que la page de commande */
body { min-height: 100dvh; }
.toasts { top: calc(14px + env(safe-area-inset-top)); bottom: auto; }
.resa { width: min(100%, 560px); margin: 0 auto; padding: 0 0 calc(40px + env(safe-area-inset-bottom)); }
.resa__loading { min-height: 70dvh; display: grid; place-items: center; }
.spinner {
  display: inline-block; width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid var(--line-2); border-top-color: var(--accent); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.resa__top {
  margin: calc(10px + env(safe-area-inset-top)) 10px 6px; padding: 30px 22px 28px;
  border-radius: 28px; background: var(--ink); color: var(--paper);
}
.resa__kicker { font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-soft); }
.resa__name { font: 500 clamp(40px, 12vw, 52px)/1 var(--serif); margin-top: 12px; }
.resa__intro { color: rgb(247 242 234 / 78%); margin-top: 12px; max-width: 36ch; }

.resa__card { margin: 12px 10px 0; padding: 20px 18px 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 22px; }
.step { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.step > legend, .step__title { font: 500 21px/1.2 var(--serif); padding: 0; margin-bottom: 10px; }
.step__hint { color: var(--muted); font-size: 14px; font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.chip { position: relative; cursor: pointer; flex: none; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; min-width: 64px;
  padding: 8px 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff;
  font-weight: 800; font-size: 15px; color: var(--ink); text-align: center; line-height: 1.15;
}
.chip span small { font-size: 12px; font-weight: 700; color: var(--muted); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:checked + span small { color: rgb(255 255 255 / 75%); }
.chip input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }

.people { display: flex; align-items: center; gap: 14px; }
.people__btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; font: 800 24px/1 var(--sans); color: var(--ink); cursor: pointer; }
.people__btn:disabled { opacity: .35; cursor: default; }
.people__val { min-width: 4ch; text-align: center; font: 800 30px/1 var(--sans); color: var(--ink); }
.people__unit { font-weight: 700; color: var(--muted); }

.resa .field { display: grid; gap: 6px; }
.resa .field > span { font-weight: 700; font-size: 14.5px; }
.resa .input { min-height: 50px; font-size: 16px; }
.resa__send { min-height: 56px; font-size: 17px; width: 100%; }
.resa__legal { color: var(--muted); font-size: 13px; line-height: 1.45; }
.resa__error { color: var(--danger); font-weight: 700; font-size: 14.5px; }

.done { text-align: center; justify-items: center; }
.done__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.done__icon svg { width: 32px; height: 32px; }
.done__when { font: 500 26px/1.25 var(--serif); }
.done__who { font-weight: 700; color: var(--ink-2); }
