/* =========================================================
   BUBBLE TIME — bubble tea · Épernay
   Direction : minimaliste et frais. Fond lavande pâle, encre
   prune, violet taro en accent, pastels des boissons (menthe,
   fraise, mangue). Les perles et les bulles (clin d'œil au
   champagne d'Épernay) servent de motif.
   ========================================================= */

/* Polices hébergées sur le site (aucun appel à Google : RGPD).
   Licence SIL Open Font License — Bricolage Grotesque, DM Sans. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Palette « taro & menthe » : froide et fraîche, sans crème ni or
     (pour ne pas ressembler aux autres sites). Les bulles = Épernay. */
  --bg:        #F5F3FB;   /* lavande très pâle */
  --bg-2:      #ECE8F7;   /* sections alternées, fonds d'illustration */
  --card:      #FFFFFF;
  --ink:       #2A1F3D;   /* prune profonde — texte, boutons */
  --muted:     #6B6280;
  --line:      #E2DCF0;
  --accent:    #6B4FBB;   /* violet taro — accents, petits textes (AA) */
  --accent-lt: #D9CCF7;
  --milk:      #F3E1D3;   /* couleurs des boissons */
  --taro:      #D8CBF4;
  --matcha:    #C6EEDC;   /* menthe */
  --berry:     #FFCADB;
  --mango:     #FFE7A6;
  --open:      #2F9E74;
  --closed:    #D0475B;

  --serif: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;   /* titres */
  --sans:  "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gutter: clamp(1rem, 5vw, 4rem);
  --maxw:   1180px;
  --radius: 1.25rem;
  --ease:   cubic-bezier(.22, .61, .36, 1);
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--taro); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .75rem 1.5rem;
  border-radius: 999px; font-weight: 500;
  transition: transform .2s var(--ease), background .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: #45375E; }
.btn--solid:disabled { opacity: .4; cursor: not-allowed; }
.btn--ghost { border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--wide { width: 100%; }
.icon-btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; }
.icon-btn:hover { background: var(--bg-2); }
.link-btn { text-decoration: underline; text-underline-offset: 3px; color: var(--muted); margin-top: 1rem; }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--gutter);
  background: rgba(245, 243, 251, .88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.is-scrolled { border-color: var(--line); }

.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo__name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; }
.logo__dots { display: inline-flex; gap: 3px; align-items: flex-end; }
.logo__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.logo__dots i:nth-child(2) { transform: translateY(-5px); background: var(--accent); }
.logo--small .logo__name { font-size: 1.1rem; }

.nav { display: flex; gap: 2rem; font-size: .95rem; }
.nav a { position: relative; padding: .25rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: .5rem; }
.lang { font-size: .85rem; font-weight: 700; letter-spacing: .05em; padding: .5rem .75rem; border-radius: 999px; }
.lang:hover { background: var(--bg-2); }
.cart-btn { position: relative; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--ink); color: var(--bg); }
.cart-btn__count {
  position: absolute; top: -4px; right: -4px;
  min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem;
  display: grid; place-items: center;
  border-radius: 999px; background: var(--accent-lt); color: var(--ink);
  font-size: .75rem; font-weight: 700;
  transform: scale(0); transition: transform .25s var(--ease);
}
.cart-btn.has-items .cart-btn__count { transform: scale(1); }
.cart-btn.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.15); } }

/* ---------- Accueil ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  min-height: calc(92vh - var(--header-h));
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 2rem;
  padding: 2rem var(--gutter) 4rem;
}
.status {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .35rem .9rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  font-size: .85rem; margin: 0 0 1.5rem;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.is-open .status__dot { background: var(--open); box-shadow: 0 0 0 4px rgba(47, 158, 116, .18); }
.status.is-closed .status__dot { background: var(--closed); }
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.5rem, 6.5vw, 5rem); line-height: 1.04; letter-spacing: -.025em;
  margin: 0 0 1.5rem;
}
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 32rem; margin: 0 0 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__art { position: relative; display: grid; place-items: center; min-height: 340px; }
.cup--hero { width: min(220px, 55vw); height: auto; animation: float 6s ease-in-out infinite; position: relative; z-index: 1; }
.hero__art::before {
  content: ""; position: absolute; width: min(340px, 80vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0, var(--bg-2) 60%);
}
.hero__bubbles i {
  position: absolute; bottom: 10%; border-radius: 50%;
  border: 1.5px solid var(--accent-lt); background: rgba(255, 255, 255, .5);
  animation: rise 7s linear infinite; opacity: 0;
}
.hero__bubbles i:nth-child(1) { left: 12%; width: 14px; height: 14px; animation-delay: 0s; }
.hero__bubbles i:nth-child(2) { left: 26%; width: 8px;  height: 8px;  animation-delay: 1.6s; }
.hero__bubbles i:nth-child(3) { left: 74%; width: 18px; height: 18px; animation-delay: .8s; }
.hero__bubbles i:nth-child(4) { left: 86%; width: 10px; height: 10px; animation-delay: 3s; }
.hero__bubbles i:nth-child(5) { left: 64%; width: 7px;  height: 7px;  animation-delay: 4.4s; }
.hero__bubbles i:nth-child(6) { left: 18%; width: 11px; height: 11px; animation-delay: 5.2s; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-2deg); } }
@keyframes rise {
  0%   { transform: translateY(0); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translateY(-300px); opacity: 0; }
}

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) var(--gutter); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .75rem; }
.section__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 2.5rem; }

/* Comment ça marche */
.how { border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.step__num {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--ink); color: var(--bg); font-weight: 700; margin-bottom: 1.25rem;
}
.step:nth-child(2) .step__num { background: var(--accent); }
.step h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Carte ---------- */
.menu { border-top: 1px solid var(--line); }
.menu__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.menu__head .section__title { margin-bottom: 0; }
.tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: 2px; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); font-size: .92rem; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s;
  animation: in .4s var(--ease) both;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(42, 31, 61, .35); }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
.card__art { display: grid; place-items: center; height: 170px; background: var(--tint, var(--bg-2)); }
.card__art svg { width: 74px; height: auto; }
.card__art .food { width: 96px; }
.card__badge {
  position: absolute; top: .8rem; left: .8rem;
  padding: .2rem .6rem; border-radius: 999px; background: var(--card);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}
.card__body { flex: 1; display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.2rem 1.2rem; }
.card__name { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.card__desc { margin: 0; color: var(--muted); font-size: .9rem; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .8rem; }
.price { font-weight: 700; }
.add {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--ink); color: var(--bg); font-size: 1.35rem; line-height: 1;
  transition: transform .2s var(--ease);
}
.add:hover { transform: rotate(90deg); }
.menu__note { margin: 2rem 0 0; color: var(--muted); font-size: .9rem; }

/* ---------- Infos ---------- */
.infos { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; border-top: 1px solid var(--line); }
.infos__line { display: flex; gap: .75rem; font-size: 1.1rem; margin: 0 0 1rem; }
.infos__line svg { flex: none; margin-top: .25rem; color: var(--accent); }
.infos__text { color: var(--muted); max-width: 28rem; margin: 0 0 1.5rem; }
.infos__sub { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; margin: 0 0 1rem; }
.infos__sub svg { color: var(--accent); }
.hours { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.hours li { display: flex; justify-content: space-between; padding: .85rem 1.25rem; border-bottom: 1px solid var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours li.is-today { font-weight: 700; }
.hours li.is-today span:first-child::after { content: " ●"; color: var(--accent); font-size: .7em; vertical-align: middle; }
.hours .off { color: var(--muted); }

/* ---------- Pied de page ---------- */
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 2.5rem var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem;
}
.footer p { margin: 0; }
.footer .logo { color: var(--ink); }
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover { color: var(--ink); }

/* ---------- Suivi de commande (suivi.html) + bandeau sur l'accueil ---------- */
.track { max-width: 560px; margin: 0 auto; padding: 1.5rem var(--gutter) 3rem; }
.track__demo { background: var(--mango); border-radius: .75rem; padding: .6rem .9rem; font-size: .9rem; }
.track__card { background: var(--card); border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.5rem 1.25rem; display: grid; gap: 1rem; }
.track__card .eyebrow { margin: 0; }
.track__lead { margin: 0; text-align: center; color: var(--muted); }
.track__num { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin: 0; }
.track__num strong { font-weight: 700; letter-spacing: .04em; }
.track__when { margin: -.5rem 0 0; color: var(--muted); }
.track__status { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem; border-radius: 1rem; background: var(--bg-2); }
.track__status.is-prete { background: var(--open); color: #fff; }
.track__status.is-recuperee { background: var(--taro); }
.track__status.is-retiree { background: #FBE3E7; }
.track__status.is-new { animation: ready-pulse 1s ease 4; }
@keyframes ready-pulse { 50% { transform: scale(1.03); box-shadow: 0 0 0 6px rgba(47, 158, 116, .25); } }
.track__icon { font-size: 1.8rem; line-height: 1; }
.track__title { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin: 0 0 .25rem; }
.track__text { margin: 0; line-height: 1.5; }
.track__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; text-align: center; font-size: .78rem; color: var(--muted); }
.track__steps li { display: grid; justify-items: center; gap: .35rem; }
.track__steps span { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid var(--line); background: var(--card); }
.track__steps b { font-weight: 500; }
.track__steps .is-done span { background: var(--accent); border-color: var(--accent); }
.track__steps .is-current span { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-lt); }
.track__steps .is-current b, .track__steps .is-done b { color: var(--ink); font-weight: 700; }
.track__auto { text-align: center; margin-top: -.4rem; }
.track__recap summary { cursor: pointer; font-weight: 700; }
.track__recap ul { padding-left: 1.1rem; margin: .6rem 0; }
.track__recap li { margin: .25rem 0; }
.track__shop { border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .4rem; justify-items: start; }
.track__shop p { margin: 0; }
.track__shop a[href^="tel"] { color: var(--accent); text-decoration: underline; }
.track__back { text-align: center; margin-top: 1.5rem; }
.track__back a { color: var(--accent); font-weight: 700; }

.track-banner { display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap;
  padding: .7rem var(--gutter); background: var(--ink); color: var(--bg); font-weight: 700; font-size: .95rem; text-align: center; }
.track-banner.is-prete { background: var(--open); color: #fff; }
.track-banner span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pages légales ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 2.5rem var(--gutter) 4rem; }
.legal__back { display: inline-block; margin-bottom: 1.5rem; font-weight: 700; color: var(--accent); }
.legal h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5rem; }
.legal h2 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__maj { color: var(--muted); font-size: .9rem; margin: 0 0 2rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--line); }
/* Information que Fred doit fournir avant la mise en ligne (chercher « À COMPLÉTER ») */
.a-completer { background: var(--mango); padding: 0 .3em; border-radius: .3em; font-weight: 700; }

/* ---------- Fenêtre de personnalisation + panier ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(42, 31, 61, .35); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }

.modal {
  position: fixed; z-index: 60; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem);
  display: flex; flex-direction: column;
  background: var(--bg); border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(42, 31, 61, .4);
  animation: pop .3s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%); } }
.modal__close { position: absolute; top: .75rem; right: .75rem; }
.modal__body { overflow-y: auto; padding: 2rem 1.5rem 1rem; }
.modal__title { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; line-height: 1.15; margin: 0 2.5rem .4rem 0; }
.modal__desc { color: var(--muted); margin: 0 0 1.5rem; }
.modal__foot { display: flex; gap: .75rem; padding: 1rem 1.5rem 1.5rem; border-top: 1px solid var(--line); background: var(--bg); }

.opt { border: 0; padding: 0; margin: 0 0 1.5rem; }
.opt legend { font-weight: 700; margin-bottom: .6rem; padding: 0; }
.opt legend small { font-weight: 400; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: .5rem .95rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); font-size: .92rem; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip__price { font-style: normal; font-size: .8em; opacity: .7; margin-left: .15rem; }
.chip input:disabled + span { opacity: .4; cursor: not-allowed; }
.chip input:disabled + span:hover { border-color: var(--line); }
.opt[hidden] { display: none; }
.price small { font-weight: 500; color: var(--muted); font-size: .8em; }
.infos__line a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.qty button { width: 2.6rem; height: 2.8rem; font-size: 1.2rem; }
.qty span { min-width: 1.5rem; text-align: center; font-weight: 700; }
.qty--sm button { width: 2rem; height: 2rem; font-size: 1rem; }

.drawer {
  position: fixed; z-index: 60; top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  display: flex; flex-direction: column;
  background: var(--bg); box-shadow: -20px 0 50px -25px rgba(42, 31, 61, .4);
  animation: slide .35s var(--ease);
}
@keyframes slide { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem 1rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; }
.drawer__foot { padding: 1rem 1.5rem 1.5rem; border-top: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: .9rem; }

.empty { color: var(--muted); text-align: center; padding: 2rem 0; }
.lines { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.line { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.line__name { font-weight: 700; }
.line__opts { grid-column: 1; color: var(--muted); font-size: .85rem; margin-top: -.25rem; }
.line__price { text-align: right; font-weight: 700; }
.line__ctrl { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.line__remove { font-size: .85rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.checkout fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
.checkout legend { font-weight: 700; margin-bottom: .6rem; padding: 0; }
.field { display: block; margin-bottom: .75rem; }
.field > span { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .25rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; border-radius: .75rem;
  border: 1px solid var(--line); background: var(--card); font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--closed); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.hint { color: var(--muted); font-size: .85rem; margin: 0; }
.pay { font-size: .9rem; padding: .8rem 1rem; border-radius: .75rem; background: var(--bg-2); margin: 0; }
.terms { font-size: .8rem; color: var(--muted); margin: .6rem 0 0; }
.terms a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form-error { color: var(--closed); font-size: .9rem; min-height: 1.2em; margin: .75rem 0 0; }

.done { text-align: center; padding-top: 1rem; }
.done__icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--matcha); }
.done h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin: 1rem 0 .25rem; }
.done__num { margin: 0; }
.done__num strong { font-size: 1.3rem; letter-spacing: .05em; }
.done__when { color: var(--muted); margin: .25rem 0 1rem; }
.done__recap {
  text-align: left; white-space: pre-wrap; font-family: var(--sans); font-size: .88rem;
  background: var(--card); border: 1px solid var(--line); border-radius: .75rem;
  padding: 1rem; margin: 0 0 1rem;
}
.done__actions { display: grid; gap: .6rem; margin-top: 1rem; }

.toast {
  position: fixed; z-index: 70; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%);
  padding: .8rem 1.3rem; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: .92rem; white-space: nowrap; transition: transform .35s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); }
body.is-locked .toast { bottom: auto; top: 1rem; transform: translate(-50%, -200%); }
body.is-locked .toast.is-on { transform: translate(-50%, 0); }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 1.5rem; text-align: left; }
  .hero__art { min-height: 260px; order: -1; }
  .steps { grid-template-columns: 1fr; }
  .infos { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .card__art { height: 120px; }
  .card__art svg { width: 54px; }
  .card__art .food { width: 70px; }
  .card__body { padding: .8rem .85rem .9rem; }
  .card__name { font-size: .95rem; }
  .card__desc { display: none; }
  .modal { top: auto; bottom: 0; left: 0; transform: none; width: 100vw; border-radius: 1.5rem 1.5rem 0 0; max-height: 92vh; animation: up .3s var(--ease); }
  @keyframes up { from { transform: translateY(100%); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
