/* =========================================================
   TOO GOOD BURGER — Habillage du site public
   Chargé après tgb-tokens, tgb-components et tgb-shop.

   Une idée, prise au logo : le burger dessiné d'un seul trait orange
   sur fond bordeaux. Les photos sont donc cadrées dans la voûte du
   pain du dessus, les pleins sont bordeaux, l'orange porte l'action,
   et la page claire (la mie) laisse la carte se lire sans effort.
   ========================================================= */

/* ---------------- Base ---------------- */
html { overflow-x: clip; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); max-width: none; margin-inline: auto; padding-inline: 0; }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: calc(var(--section-y) * .62); }

/* Blocs toujours foncés : couleurs fixes, quel que soit le thème. */
.section--bord, .section--ink {
  background: var(--c-bordeaux); color: #FFE9D6; isolation: isolate;
  --text: #FFF6EA; --text-mute: #F3C9B9; --line: rgba(255,255,255,.16); --line-strong: rgba(255,255,255,.34);
  --bg-raise: rgba(255,255,255,.07); --bg-alt: rgba(255,255,255,.06);
}
.section--ink { background: var(--c-braise); }
.section--bord h2, .section--bord h3, .section--ink h2, .section--ink h3 { color: #fff; }
.section--bord p, .section--ink p { color: #F3C9B9; }
.section--bun { background: var(--c-bun); color: var(--c-braise); --text: var(--c-braise); --text-mute: #5A2A12; }

/* Le pain du dessus, au trait : l'ornement des grands blocs foncés. */
.hero::before, .pagehead::before, .footer::before, .section--bord.has-bun::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: max(-6rem, calc(50% - var(--maxw) / 2 - 10rem)); top: -3.5rem;
  width: clamp(360px, 46vw, 720px); aspect-ratio: 126 / 48;
  background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 126 48' fill='none' stroke='%23F39039' stroke-width='3'%3E%3Cpath d='M1.5 48V30A28.5 28.5 0 0 1 30 1.5h66A28.5 28.5 0 0 1 124.5 30v18'/%3E%3Cpath d='M60 3l3 22 3-22' fill='%23F39039' stroke='none'/%3E%3C/svg%3E");
  opacity: .16;
}

/* Étiquette au-dessus d'un titre : le petit pain du logo, puis le mot. */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-size: var(--t-sm); font-weight: 700;
  letter-spacing: 0; text-transform: none; color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 18px; height: 9px; flex: none; background: none;
  border: 2.5px solid var(--c-bun); border-bottom: 0; border-radius: 9px 9px 0 0;
}
.section--bord .eyebrow, .section--ink .eyebrow, .pagehead .eyebrow, .hero .eyebrow, .footer .eyebrow { color: var(--c-bun-hi); }
.section--bun .eyebrow { color: var(--c-braise); }
.section--bun .eyebrow::before { border-color: var(--c-braise); }

.sec-head { max-width: 60ch; margin-bottom: clamp(1.75rem, 3.6vw, 3rem); position: relative; }
.sec-head h2 { font-size: var(--t-2xl); margin-top: var(--s-3); }
.sec-head > h2:first-child { margin-top: 0; }
.sec-head p { color: var(--text-mute); margin-top: var(--s-4); font-size: var(--t-lg); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--split { display: flex; justify-content: space-between; align-items: end; gap: var(--s-5); flex-wrap: wrap; max-width: none; }
.sec-head--split > div { max-width: 58ch; }
.brush, .flag, .pagehead__k { display: none; }

/* ---------------- Boutons : une touche qui s'enfonce ---------------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-edge: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.45rem;
  border-radius: var(--r-md); border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 800; font-size: var(--t-sm);
  letter-spacing: 0; line-height: 1.1; text-align: center; text-transform: none;
  cursor: pointer; overflow: visible; isolation: isolate; will-change: auto;
  box-shadow: 0 4px 0 var(--btn-edge);
  transition: transform var(--d-fast) var(--e-out), box-shadow var(--d-fast) var(--e-out), background var(--d-fast), color var(--d-fast), border-color var(--d-fast);
}
.btn::after { content: none; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--btn-edge); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--btn-edge); }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--primary, .btn--gold { --btn-bg: var(--c-bun); --btn-fg: var(--c-braise); --btn-edge: var(--c-bun-lo); }
.btn--primary:hover, .btn--gold:hover { --btn-bg: var(--c-bun-hi); box-shadow: 0 5px 0 var(--btn-edge); }
.btn--ink { --btn-bg: var(--c-bordeaux); --btn-fg: #fff; --btn-edge: var(--c-bordeaux-lo); }
.btn--ink:hover { --btn-bg: var(--c-bordeaux-hi); }
.btn--ghost { --btn-fg: var(--text); border-color: var(--line-strong); background: transparent; box-shadow: none; }
.btn--ghost:hover { border-color: currentColor; box-shadow: none; }
.btn--ghost:active { transform: translateY(1px); box-shadow: none; }
.section--bord .btn--ghost, .section--ink .btn--ghost, .hero .btn--ghost, .pagehead .btn--ghost, .footer .btn--ghost {
  --btn-fg: #FFF6EA; border-color: rgba(255,246,234,.45);
}
.section--bun .btn--primary { --btn-bg: var(--c-bordeaux); --btn-fg: #fff; --btn-edge: var(--c-bordeaux-lo); }
.section--bun .btn--primary:hover { --btn-bg: var(--c-bordeaux-hi); }
.section--bun .btn--ghost { --btn-fg: var(--c-braise); border-color: rgba(43,10,14,.45); }
.btn--wa { --btn-bg: #1FAF55; --btn-fg: #fff; --btn-edge: #14803D; }
.btn--wa:hover { --btn-bg: #25C160; }
.btn--sm { min-height: 44px; padding: .5rem 1rem; font-size: var(--t-sm); box-shadow: 0 3px 0 var(--btn-edge); }
.btn--sm:hover { box-shadow: 0 4px 0 var(--btn-edge); }
.btn--lg { min-height: 58px; padding: 1rem 1.9rem; font-size: var(--t-base); border-radius: var(--r-lg); }
.btn--block { width: 100%; }

/* ---------------- Pastilles, puces, champs ---------------- */
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .28rem .6rem; border-radius: var(--r-full);
  font-family: var(--font-body); font-size: .74rem; font-weight: 800; letter-spacing: 0; text-transform: none;
  background: var(--c-braise); color: #FFF6EA; border: 0;
}
.badge--gold, .badge--best { background: var(--c-cheddar); color: var(--c-braise); }
.badge--red  { background: var(--c-bordeaux); color: #fff; }
.badge--veg  { background: var(--c-cornichon); color: #fff; }
.badge--spice{ background: #C2261B; color: #fff; }

.chip {
  min-height: 44px; padding: .5rem 1rem; border-radius: var(--r-full);
  border: 2px solid var(--line-strong); background: transparent; color: var(--text);
  font-weight: 700; font-size: var(--t-sm);
}
.chip:hover { border-color: var(--c-bun); }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--c-bordeaux); color: #fff; border-color: var(--c-bordeaux); box-shadow: none; }
[data-theme="dark"] .chip.is-on, [data-theme="dark"] .chip[aria-pressed="true"] { background: var(--c-bun); border-color: var(--c-bun); color: var(--c-braise); }

.field label { font-size: var(--t-sm); font-weight: 700; }
.field input, .field select, .field textarea, select#sort {
  min-width: 0; width: 100%;
  min-height: 50px; padding: .75rem 1rem;
  border-radius: var(--r-md); border: 2px solid var(--line-strong);
  background: var(--bg-raise); color: var(--text); font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, select#sort:focus,
.searchbar input:focus, .coupon input:focus, .sheet__note textarea:focus {
  outline: none; border-color: var(--c-bun); box-shadow: var(--ring);
}
.range { width: 100%; padding: 0; min-height: 0; border: 0; background: none; accent-color: var(--accent); }
.check { display: flex; align-items: flex-start; gap: .6rem; min-height: 44px; font-size: var(--t-sm); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin-top: 2px; }
.frow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--s-4); }
.alert { padding: var(--s-4); border-radius: var(--r-md); font-weight: 600; font-size: var(--t-sm); }
.alert--ok { background: rgba(63,125,58,.12); border: 2px solid var(--c-cornichon); }
.alert--err { background: rgba(194,38,27,.1); border: 2px solid var(--danger); }

.card, .glass {
  background: var(--bg-raise); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-1);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.card:hover { transform: none; box-shadow: var(--sh-1); border-color: var(--line); }

/* ---------------- Bandeau d'annonce ---------------- */
.announce { background: var(--c-bun); color: var(--c-braise); font-size: var(--t-sm); font-weight: 600; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: var(--s-3); min-height: 40px; padding-right: 44px; position: relative; text-align: center; }
.announce__dot { display: none; }
.announce b { font-weight: 800; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }
.announce__short { display: none; }
.announce__close { position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 44px; height: 40px; font-size: 1rem; color: var(--c-braise); }
@media (max-width: 760px) { .announce__long { display: none; } .announce__short { display: inline; } }

/* ---------------- En-tête : la barre bordeaux du logo ---------------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--c-bordeaux); color: #FFF6EA;
  transition: box-shadow var(--d-mid), background var(--d-mid);
}
.header.is-stuck { box-shadow: 0 10px 30px rgba(43,10,14,.32); }
.header__bar { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .7rem; flex: none; color: #fff; }
.logo__mark { width: 48px; height: 48px; flex: none; display: grid; place-items: center; }
.logo__mark img, .logo__mark svg { width: 100%; height: 100%; object-fit: contain; }
.logo__word {
  display: grid; font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; line-height: 1.05;
  letter-spacing: -.02em; white-space: nowrap;
}
.logo__word small { font-family: var(--font-body); font-weight: 700; font-size: .76rem; letter-spacing: .02em; color: var(--c-bun-hi); margin-top: .22rem; }
.nav { display: flex; align-items: center; gap: clamp(.1rem, .5vw, .5rem); margin-inline: auto; }
.nav a {
  position: relative; padding: .55rem .8rem; border-radius: var(--r-full);
  font-weight: 700; font-size: var(--t-sm); color: #FFF6EA; white-space: nowrap;
  transition: background var(--d-fast), color var(--d-fast);
}
.nav a:hover { background: rgba(255,255,255,.12); }
.nav a[aria-current="page"] { background: #FFF6EA; color: var(--c-bordeaux); }
.header__tools { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav + .header__tools { margin-left: 0; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: #FFF6EA;
  transition: background var(--d-fast), color var(--d-fast);
}
.icon-btn:hover { background: rgba(255,255,255,.14); transform: none; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn__count {
  position: absolute; top: 1px; right: -1px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: var(--r-full); background: var(--c-bun); color: var(--c-braise);
  font-size: .72rem; font-weight: 800; display: grid; place-items: center;
}
.header__cta { margin-left: .5rem; }
.burger, .nav-close { display: none; }

@media (max-width: 1080px) {
  .header__tools, .nav + .header__tools { margin-left: auto; }
  .burger { display: grid; }
  .header__cta { display: none; }
  /* Le menu couvre tout l'écran, en-tête compris, et porte sa propre ligne
     de titre avec le bouton « Fermer » : il ne dépend ni de la position de
     l'en-tête, ni du bandeau d'annonce, ni du défilement de la page. */
  .nav {
    position: fixed; inset: 0; z-index: var(--z-drawer);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .35rem;
    padding: 0 var(--gutter) calc(var(--s-8) + env(safe-area-inset-bottom, 0px));
    background: var(--c-bordeaux-lo); overflow-y: auto; overscroll-behavior: contain; isolation: isolate;
    transform: translateX(100%); visibility: hidden;
    transition: transform var(--d-mid) var(--e-out), visibility 0s linear var(--d-mid);
    margin: 0; height: 100vh; height: 100dvh;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform var(--d-mid) var(--e-out); }
  .nav::before {
    content: "Menu"; flex: none; position: sticky; top: 0; z-index: 1;
    display: flex; align-items: center; min-height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 60px 0 56px; margin-bottom: var(--s-4);
    background: var(--c-bordeaux-lo) url(../img/logo-mark.svg) left calc(50% + env(safe-area-inset-top, 0px) / 2) / 42px 42px no-repeat;
    border-bottom: 2px solid rgba(255,246,234,.14);
    font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: #FFF6EA;
  }
  .nav-open .nav-close {
    display: grid; position: fixed; z-index: calc(var(--z-drawer) + 1);
    top: calc(env(safe-area-inset-top, 0px) + (var(--header-h) - 46px) / 2); right: var(--gutter);
    width: 46px; height: 46px; background: var(--c-bun); color: var(--c-braise);
  }
  .nav-open .nav-close:hover { background: var(--c-bun-hi); }
  .nav-open .nav-close svg { width: 24px; height: 24px; }
  html.nav-open { overflow: hidden; }
  .nav a {
    font-family: var(--font-display); font-size: clamp(1.25rem, 5.4vw, 1.7rem); font-weight: 800; letter-spacing: -.02em;
    padding: .9rem 1.1rem; border-radius: var(--r-lg); border: 2px solid rgba(255,246,234,.16);
  }
  .nav a[aria-current="page"] { background: var(--c-bun); color: var(--c-braise); border-color: var(--c-bun); }
}
@media (max-width: 520px) {
  :root { --header-h: 66px; }
  .logo__mark { width: 42px; height: 42px; }
  .logo__word { font-size: .9rem; }
  .header__bar { gap: var(--s-2); }
  .icon-btn { width: 42px; height: 42px; }
}
@media (max-width: 600px) {
  /* Sur téléphone, la barre garde l'essentiel : favoris, panier, menu. */
  .header__tools [data-theme-toggle], .header__tools a[href*="compte"] { display: none; }
}
@media (max-width: 370px) { .logo__word small { display: none; } .logo__word { font-size: .82rem; } .header__tools button[aria-label="Voir mes favoris"] { display: none; } }

/* =========================================================
   ACCUEIL
   ========================================================= */

/* ---- Ouverture : les photos dans la voûte du pain ---- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 120% at 82% 30%, var(--c-bordeaux-hi) 0%, var(--c-bordeaux) 48%, var(--c-bordeaux-lo) 100%);
  color: #FFE9D6;
  padding-block: clamp(2rem, 1.4rem + 3.4vw, 4.75rem) clamp(2.75rem, 2rem + 4vw, 5.5rem);
}
.hero::before { top: auto; bottom: -2.2rem; right: auto; left: max(-9rem, calc(50% - var(--maxw) / 2 - 12rem)); opacity: .12; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center; }
.hero h1 {
  font-size: clamp(1.8rem, .95rem + 3.5vw, 3.6rem); font-weight: 900; line-height: 1.04; letter-spacing: -.045em;
  color: #fff; max-width: 15ch;
}
.hero__lede { margin-top: var(--s-5); font-size: var(--t-lg); color: #FAD9C8; max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: var(--s-6); }

.hero__stage { display: grid; grid-template-columns: 1.62fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(.7rem, 1.4vw, 1.1rem); }
.shot { position: relative; margin: 0; min-width: 0; }
.shot--main { grid-row: 1 / span 2; }
.shot__img {
  position: relative; overflow: hidden; height: 100%; min-height: 150px;
  background: var(--c-bordeaux-lo) center / 46% no-repeat url("/assets/img/logo-mark.svg");
  border-radius: var(--r-xl);
  box-shadow: 0 0 0 var(--stroke) var(--c-bun), 0 26px 60px rgba(43,10,14,.45);
}
.shot--main .shot__img { aspect-ratio: 4 / 4.7; border-radius: var(--r-bun) var(--r-bun) var(--r-xl) var(--r-xl); }
.shot__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot__tag {
  position: absolute; left: .7rem; right: .7rem; bottom: .7rem; z-index: 2;
  display: flex; align-items: center; gap: .7rem;
  padding: .55rem .55rem .55rem .9rem; border-radius: var(--r-lg);
  background: #FFF6EA; color: var(--c-braise); box-shadow: 0 10px 26px rgba(43,10,14,.35);
}
.shot__tag > span:first-child { display: grid; min-width: 0; margin-right: auto; line-height: 1.15; }
.shot__tag b { font-family: var(--font-display); font-weight: 800; font-size: .95rem; letter-spacing: -.02em; }
.shot__tag small { font-size: .78rem; color: #74545A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: .15rem; }
.shot__price { font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--c-bordeaux); white-space: nowrap; }
.shot__add, .plus {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--c-bun); color: var(--c-braise); font-size: 1.5rem; font-weight: 700; line-height: 1;
  box-shadow: 0 3px 0 var(--c-bun-lo); transition: transform var(--d-fast) var(--e-out), box-shadow var(--d-fast), background var(--d-fast);
}
.shot__add:hover, a:hover > .plus, .plus:hover { background: var(--c-bun-hi); transform: translateY(-1px); }
.shot__add:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--c-bun-lo); }
.shot:not(.shot--main) .shot__tag { padding: .45rem .45rem .45rem .75rem; gap: .5rem; left: .5rem; right: .5rem; bottom: .5rem; }
.shot:not(.shot--main) .shot__tag small { display: none; }
.shot:not(.shot--main) .shot__tag b { font-size: .8rem; }
.shot:not(.shot--main) .shot__price { font-size: .8rem; }
.shot:not(.shot--main) .shot__add { width: 38px; height: 38px; font-size: 1.3rem; }

/* Entrée : une seule, à l'ouverture. */
.js-anim .hero__copy > * { opacity: 0; transform: translateY(16px); animation: rise .8s var(--e-out) forwards; }
.js-anim .hero__copy > *:nth-child(2) { animation-delay: .08s; }
.js-anim .hero__copy > *:nth-child(3) { animation-delay: .16s; }
.js-anim .hero__stage .shot { opacity: 0; transform: translateY(22px) scale(.97); animation: rise .9s var(--e-out) forwards; }
.js-anim .hero__stage .shot--main { animation-delay: .1s; }
.js-anim .hero__stage .shot--a { animation-delay: .22s; }
.js-anim .hero__stage .shot--b { animation-delay: .32s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero__stage { order: -1; grid-template-columns: 1.5fr 1fr; }
  .hero h1 { max-width: 18ch; }
  .shot--main .shot__img { aspect-ratio: 4 / 4.2; }
}
@media (max-width: 520px) {
  .hero__stage { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .shot--main { grid-row: auto; grid-column: 1 / -1; }
  .shot--main .shot__img { aspect-ratio: 4 / 2.9; --r-bun: 84px; }
  .shot:not(.shot--main) .shot__img { aspect-ratio: 1 / .84; min-height: 0; }
  .hero { padding-top: 1.1rem; }
  .shot:not(.shot--main) .shot__tag { flex-wrap: wrap; row-gap: .1rem; }
  .shot:not(.shot--main) .shot__add { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---- Bande défilante : ce qu'on sert ---- */
.ticker { background: var(--c-bun); color: var(--c-braise); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: tick 44s linear infinite; }
.ticker ul { display: flex; align-items: center; gap: 1.6rem; padding: .85rem .8rem; list-style: none; margin: 0; }
.ticker li { display: inline-flex; align-items: center; gap: 1.6rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(.95rem, .9rem + .35vw, 1.2rem); letter-spacing: -.02em; white-space: nowrap; }
.ticker li::after { content: ""; width: 22px; height: 11px; border: 3px solid var(--c-bordeaux); border-bottom: 0; border-radius: 11px 11px 0 0; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ---- Les familles : chaque photo sous sa voûte ---- */
.fams { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: clamp(.9rem, 2vw, 1.5rem); }
.fam { position: relative; display: flex; flex-direction: column; gap: .7rem; color: var(--text); }
.fam__img {
  position: relative; aspect-ratio: 1 / 1.02; overflow: hidden;
  border-radius: 46% 46% var(--r-lg) var(--r-lg) / 38% 38% var(--r-lg) var(--r-lg);
  background: var(--c-bordeaux) center 58% / 42% no-repeat url("/assets/img/logo-mark.svg");
  transition: box-shadow var(--d-mid) var(--e-out), transform var(--d-mid) var(--e-out);
}
.fam__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fam:hover .fam__img, .fam:focus-visible .fam__img { box-shadow: 0 0 0 var(--stroke) var(--c-bun); transform: translateY(-4px); }
.fam__name { font-family: var(--font-display); font-weight: 800; font-size: var(--t-base); letter-spacing: -.025em; line-height: 1.15; }
.fam__meta { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; font-size: var(--t-sm); color: var(--text-mute); margin-top: -.35rem; }
.fam__meta b { font-weight: 800; color: var(--accent); white-space: nowrap; }
.fams__more { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-6); }
.fams__more a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .45rem 1rem; border-radius: var(--r-full); border: 2px solid var(--line-strong); font-size: var(--t-sm); font-weight: 700; }
.fams__more a:hover { border-color: var(--c-bun); }
.fams__more a small { color: var(--text-mute); font-weight: 600; font-size: 1em; }
@media (max-width: 520px) { .fams { grid-template-columns: 1fr 1fr; } }

/* ---- Rail de plats (accueil) ---- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(248px, 1fr); gap: var(--s-4);
  overflow-x: auto; scroll-snap-type: x proximity; padding: 6px 4px var(--s-5); margin: -6px -4px 0; scrollbar-width: thin;
  scrollbar-color: var(--c-bun) transparent;
}
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 3 * var(--s-4)) / 4); } }

/* ---- Compose ton sandwich : les quatre étapes de la carte ---- */
.composer { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.csteps { display: grid; gap: var(--s-5); counter-reset: etape; list-style: none; padding: 0; }
.cstep { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem 1rem; align-items: start; }
.cstep::before {
  counter-increment: etape; content: counter(etape);
  grid-row: 1 / span 2; width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--c-braise); background: var(--c-bun);
}
.cstep h3 { font-size: var(--t-lg); color: #fff; align-self: center; min-height: 46px; display: flex; align-items: center; }
.cstep .chips { grid-column: 2; }
.section--bord.has-bun { overflow: clip; }
.section--bord .chip { color: #FFF6EA; border-color: rgba(255,246,234,.38); }
.section--bord .chip:hover { border-color: var(--c-bun); }
.section--bord .chip[aria-pressed="true"] { background: #FFF6EA; color: var(--c-bordeaux); border-color: #FFF6EA; }
.chip small { font-weight: 600; opacity: .8; margin-left: .3rem; font-size: .92em; }

/* Le ticket : ce que tu viens de composer, comme sur le bon de commande. */
.ticket {
  position: sticky; top: calc(var(--header-h) + 1.25rem);
  background: #FFF6EA; color: var(--c-braise); padding: var(--s-6) var(--s-5) calc(var(--s-6) + 10px);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, radial-gradient(circle at 10px 0, #000 9.5px, transparent 10px) bottom left / 20px 10px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, radial-gradient(circle at 10px 0, #000 9.5px, transparent 10px) bottom left / 20px 10px repeat-x;
}
.section--bord .ticket h3 { font-size: var(--t-lg); color: var(--c-braise); }
.section--bord .ticket p { color: #74545A; }
.ticket dl { margin-top: var(--s-4); display: grid; }
.ticket dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-bottom: 2px dashed rgba(43,10,14,.18); }
.ticket dt { color: #74545A; font-size: var(--t-sm); font-weight: 600; }
.ticket dd { margin: 0; font-weight: 800; text-align: right; }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: var(--s-4); }
.ticket__total span { font-weight: 700; color: #74545A; font-size: var(--t-sm); }
.ticket__total b { font-family: var(--font-display); font-weight: 800; font-size: var(--t-2xl); color: var(--c-bordeaux); letter-spacing: -.03em; }
.ticket__menu { font-size: var(--t-sm); text-align: right; }
.ticket .btn { margin-top: var(--s-5); }
.ticket__note { margin-top: var(--s-4); font-size: var(--t-xs); color: #74545A; }
@media (max-width: 900px) { .composer { grid-template-columns: 1fr; } .ticket { position: static; } }

/* ---- Tacos : trois tailles ---- */
.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.size {
  position: relative; display: flex; flex-direction: column; gap: .4rem; padding: var(--s-5); text-align: left;
  background: var(--bg-raise); border: 2px solid var(--line); border-radius: var(--r-xl); cursor: pointer;
  transition: border-color var(--d-fast), transform var(--d-mid) var(--e-out), box-shadow var(--d-mid);
}
.size:hover, .size:focus-visible { border-color: var(--c-bun); transform: translateY(-3px); box-shadow: var(--sh-2); }
.size__n { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 6vw, 4rem); line-height: .9; color: var(--accent); letter-spacing: -.05em; }
.size__name { font-family: var(--font-display); font-weight: 800; font-size: var(--t-lg); letter-spacing: -.025em; }
.size__prices { display: flex; gap: 1.2rem; margin-top: auto; padding-top: var(--s-4); font-size: var(--t-sm); color: var(--text-mute); }
.size__prices b { display: block; font-family: var(--font-display); font-weight: 800; font-size: var(--t-lg); color: var(--text); letter-spacing: -.02em; }
.size .plus { position: absolute; right: var(--s-4); top: var(--s-4); }
.optlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-6); }
.optlist h3 { font-size: var(--t-base); }
.optlist p { margin-top: .5rem; color: var(--text-mute); font-size: var(--t-sm); }
@media (max-width: 760px) { .sizes, .optlist { grid-template-columns: 1fr; } .size { flex-direction: row; align-items: center; flex-wrap: wrap; gap: .3rem 1rem; padding-right: 4.2rem; } .size__prices { margin: 0; padding: 0; width: 100%; } .size .plus { top: 50%; translate: 0 -50%; } }

/* ---- Le menu : ce qu'il y a dedans ---- */
.menubox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.menubox__photo { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--r-bun) var(--r-bun) var(--r-xl) var(--r-xl); background: var(--c-bordeaux) center / 40% no-repeat url("/assets/img/logo-mark.svg"); box-shadow: 0 0 0 var(--stroke) var(--c-bun); }
.menubox__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plusrow { display: flex; flex-wrap: wrap; align-items: stretch; gap: .6rem; margin-top: var(--s-5); list-style: none; padding: 0; }
.plusrow li { flex: 1 1 150px; padding: var(--s-4); border-radius: var(--r-lg); background: var(--bg-raise); border: 1px solid var(--line); }
.plusrow b { display: block; font-family: var(--font-display); font-weight: 800; font-size: var(--t-base); letter-spacing: -.02em; }
.plusrow span { display: block; margin-top: .3rem; font-size: var(--t-sm); color: var(--text-mute); }
@media (max-width: 860px) { .menubox { grid-template-columns: 1fr; } }

/* ---- Nous trouver : adresse, horaires, zone ---- */
.findus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.late__addr { font-style: normal; display: grid; gap: .1rem; margin-top: var(--s-4); font-size: var(--t-lg); }
.late__addr b { font-family: var(--font-display); font-size: var(--t-xl); font-weight: 800; letter-spacing: -.03em; }
.late__note { margin-top: var(--s-4); color: var(--text-mute); }
.late__links { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: var(--s-5); }
.late__panel { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-xl); background: var(--bg-raise); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.late__panel h3 { font-size: var(--t-lg); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.openpill { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .7rem; border-radius: var(--r-full); font-family: var(--font-body); font-size: var(--t-xs); font-weight: 800; letter-spacing: 0; background: var(--bg-alt); color: var(--text-mute); }
.openpill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.openpill.is-open { background: rgba(63,125,58,.14); color: var(--ok); }
.hours { list-style: none; padding: 0; margin-top: var(--s-4); display: grid; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 2px dashed var(--line); font-size: var(--t-sm); }
.hours li:last-child { border-bottom: 0; }
.hours b { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.hours .is-today, .hours [data-today] { color: var(--accent); }
.hours .is-today span::after { content: " (aujourd’hui)"; font-weight: 600; }
.late__panel .gcard { margin-top: var(--s-5); }
.zonelist { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-5); }
.zonelist li { display: inline-flex; align-items: baseline; gap: .5rem; padding: .55rem 1rem; border-radius: var(--r-full); background: var(--bg-raise); border: 2px solid var(--line); font-weight: 800; }
.zonelist li small { color: var(--text-mute); font-weight: 600; font-size: var(--t-xs); }
@media (max-width: 860px) { .findus { grid-template-columns: 1fr; } }

/* ---- Questions ---- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq .sec-head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
.qa { display: grid; gap: .6rem; }
.qa details { border-radius: var(--r-lg); background: var(--bg-raise); border: 2px solid var(--line); transition: border-color var(--d-fast); }
.qa details[open] { border-color: var(--c-bun); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.15rem; font-family: var(--font-body); font-weight: 800; font-size: var(--t-base); min-height: 58px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); font-size: 1.25rem; font-weight: 700; transition: transform var(--d-mid) var(--e-out), background var(--d-fast); }
.qa details[open] summary::after { transform: rotate(45deg); background: var(--c-bun); color: var(--c-braise); }
.qa details p { padding: 0 1.15rem 1.15rem; color: var(--text-mute); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq .sec-head { position: static; } }

/* ---- Appel final ---- */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.cta h2 { font-size: var(--t-3xl); max-width: 18ch; }
.cta p { margin-top: var(--s-3); font-size: var(--t-lg); color: #5A2A12; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.footer { position: relative; isolation: isolate; background: var(--c-braise); color: #E9C9BE; padding-top: clamp(3.25rem, 6vw, 5.25rem); overflow: hidden; }
.footer::before { opacity: .1; top: -2.6rem; }
.footer__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: clamp(1.5rem, 3vw, 3rem); }
.footer .logo__mark { width: 60px; height: 60px; }
.footer .logo__word { font-size: 1.2rem; }
.footer__cols p { margin-top: var(--s-4); font-size: var(--t-sm); color: #D9B5AB; max-width: 40ch; }
.footer h4 { font-family: var(--font-body); font-weight: 800; font-size: var(--t-sm); letter-spacing: 0; text-transform: none; color: var(--c-bun-hi); margin-bottom: var(--s-3); }
.footer ul { list-style: none; padding: 0; display: grid; gap: 0; }
.footer ul a, .footer ul li { display: inline-block; padding: .38rem 0; font-size: var(--t-sm); color: #FFF0E2; }
.footer ul a:hover { color: var(--c-bun-hi); text-decoration: underline; text-underline-offset: 4px; }
.footer__social { display: flex; gap: .4rem; margin-top: var(--s-5); }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(255,240,226,.25); color: #fff; }
.footer__social a:hover { background: var(--c-bun); border-color: var(--c-bun); color: var(--c-braise); }
.footer__social svg { width: 19px; height: 19px; }
.footer__zones { margin-top: clamp(2rem, 4vw, 3rem); padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); border: 2px solid rgba(255,240,226,.14); display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-size: var(--t-sm); }
.footer__zones b { color: #fff; font-weight: 800; margin-right: .4rem; }
.footer__zones a { color: #FFF0E2; }
.footer__zones a:hover { color: var(--c-bun-hi); }
.footer__zones span[aria-hidden] { color: var(--c-bun); }
.gcard {
  display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-5); padding: var(--s-4) var(--s-5);
  border-radius: var(--r-lg); border: 2px solid var(--line); background: var(--bg-raise); color: var(--text); box-shadow: none;
  transition: border-color var(--d-fast);
}
.gcard:hover { border-color: var(--c-bun); transform: none; box-shadow: none; }
.gcard__logo { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; box-shadow: var(--sh-1); }
.gcard__body b { display: block; font-family: var(--font-body); font-weight: 800; font-size: var(--t-base); }
.gcard__body span { font-size: var(--t-sm); color: var(--text-mute); }
.gcard__score { margin-left: auto; text-align: right; }
.gcard__score b { font-family: var(--font-display); font-weight: 800; font-size: var(--t-xl); color: var(--accent); }
.gcard__arrow { width: 22px; height: 22px; color: var(--c-bun); flex: none; }
.section--bord .gcard, .section--ink .gcard, .gcard--footer { background: rgba(255,255,255,.06); border-color: rgba(255,240,226,.16); color: #fff; }
.section--bord .gcard__body span, .section--ink .gcard__body span, .gcard--footer .gcard__body span { color: #D9B5AB; }
.gcard--footer .gcard__score b { color: var(--c-bun-hi); }
.gcard--footer { margin-top: var(--s-4); }
.gstars { color: var(--c-cheddar); letter-spacing: .05em; }
.gstars__off { opacity: .3; }
.footer__bottom {
  margin-top: var(--s-6); padding-block: var(--s-5) calc(var(--s-5) + 76px);
  border-top: 2px solid rgba(255,240,226,.12);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5);
  font-size: var(--t-xs); color: #D9B5AB;
}
.footer__bottom a { color: #FFF0E2; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--c-bun-hi); }
.footer__credit a { color: var(--c-bun-hi); font-weight: 800; text-decoration: none; letter-spacing: .03em; }
.pay { display: flex; flex-wrap: wrap; gap: .35rem; }
.pay span { padding: .25rem .6rem; border-radius: var(--r-full); border: 2px solid rgba(255,240,226,.2); font-size: .72rem; font-weight: 700; color: #F3D9CE; }
@media (max-width: 960px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr; } }
/* Téléphone : tout le pied de page est centré. */
@media (max-width: 560px) {
  .footer { text-align: center; }
  .footer__cols { justify-items: center; gap: var(--s-7); }
  .footer__cols > * { width: 100%; }
  .footer .logo { justify-content: center; }
  .footer .logo__word { text-align: left; }
  .footer__cols p { margin-inline: auto; }
  .footer ul { justify-items: center; }
  .footer__social { justify-content: center; }
  .footer__social:empty { display: none; }
  .footer__zones { justify-content: center; text-align: center; }
  .footer__zones b { flex-basis: 100%; margin-right: 0; }
  .footer__zones { gap: .15rem 1.1rem; }
  .footer__zones span[aria-hidden] { display: none; }
  .gcard--footer { flex-direction: column; text-align: center; gap: var(--s-3); }
  .gcard--footer .gcard__score { margin-left: 0; text-align: center; }
  .gcard--footer .gcard__arrow { display: none; }
  .footer__bottom { flex-direction: column; justify-content: center; text-align: center; }
  .pay { justify-content: center; }
}

/* =========================================================
   Boutons flottants, cookies, chargement, toasts
   ========================================================= */
.fab-stack {
  position: fixed; right: max(var(--s-4), env(safe-area-inset-right)); bottom: max(var(--s-4), env(safe-area-inset-bottom));
  z-index: var(--z-sticky); display: flex; flex-direction: column; align-items: flex-end; gap: .55rem;
}
.fab {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 54px; min-width: 54px;
  padding: 0 1.2rem; border-radius: var(--r-full); font-weight: 800; font-size: var(--t-sm);
  box-shadow: 0 12px 28px rgba(43,10,14,.35);
  transition: transform var(--d-fast) var(--e-out);
}
.fab:hover { transform: translateY(-2px); }
.fab svg { width: 22px; height: 22px; flex: none; }
.fab--order { background: var(--c-bun); color: var(--c-braise); border: 2px solid var(--c-braise); }
.fab--wa { background: #1FAF55; color: #fff; }
.fab--call { background: var(--c-bordeaux); color: #fff; border: 2px solid rgba(255,246,234,.5); }
.fab--top { justify-content: center; padding: 0; width: 46px; min-height: 46px; min-width: 46px; background: var(--c-mie); color: var(--c-braise); border: 2px solid var(--c-braise); opacity: 0; pointer-events: none; box-shadow: none; }
.fab--top.is-on { opacity: 1; pointer-events: auto; }
.fab--contact span { display: none; }
.fab--contact { padding: 0; justify-content: center; width: 54px; }
/* Téléphone : une barre d'action en bas, sous le pouce, plutôt que des pastilles posées sur le contenu. */
@media (max-width: 640px) {
  .fab-stack {
    left: 0; right: 0; bottom: 0; flex-direction: row; align-items: stretch; gap: .5rem;
    padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom, 0px));
    background: var(--c-braise); box-shadow: 0 -8px 24px rgba(43,10,14,.28);
  }
  .fab { box-shadow: none; min-height: 50px; min-width: 50px; border-radius: var(--r-md); }
  .fab:hover { transform: none; }
  .fab--top { display: none; }
  .fab--order { flex: 1; order: 3; justify-content: center; border: 0; }
  .fab--contact { width: 54px; }
  .fab--call { background: transparent; border-color: rgba(255,246,234,.4); }
  body:has(#cart-body) .fab--contact, body:has(#checkout) .fab--contact, body:has(#done) .fab--contact { flex: 1; }
  .toasts { bottom: 84px; }
}
body:has(#cart-body) .fab--order, body:has(#checkout) .fab--order, body:has(#done) .fab--order { display: none; }

.cookie {
  position: fixed; left: var(--s-4); bottom: var(--s-4); z-index: calc(var(--z-modal) - 1);
  width: min(430px, calc(100% - 2 * var(--s-4) - 70px)); padding: var(--s-5);
  display: none; flex-direction: column; gap: var(--s-4);
  background: var(--c-braise); color: #FFF0E2; border: 2px solid var(--c-bun); border-radius: var(--r-lg); box-shadow: var(--sh-3);
  font-size: var(--t-sm);
}
.cookie.is-on { display: flex; }
.cookie__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie .btn--ghost { --btn-fg: #fff; border-color: rgba(255,240,226,.4); }
@media (max-width: 640px) {
  .cookie { left: .5rem; right: .5rem; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); width: auto; padding: var(--s-4); gap: var(--s-3); font-size: var(--t-xs); }
  .cookie__row { flex-wrap: nowrap; } .cookie__row .btn { flex: 1; }
}

.preload {
  position: fixed; inset: 0; z-index: 9999; background: var(--c-bordeaux);
  display: grid; place-items: center; align-content: center; gap: var(--s-4);
  transition: opacity 420ms var(--e-out), visibility 420ms;
}
.preload.is-done { opacity: 0; visibility: hidden; }
.preload__img { width: min(34vw, 150px); height: auto; animation: breathe 1.1s var(--e-inout) infinite alternate; }
.preload__text { font-weight: 700; }
.preload__spin { width: 46px; height: 46px; border-radius: 50%; border: 4px solid; animation: spin 900ms linear infinite; }
.preload__dots { display: flex; gap: 8px; } .preload__dots i { width: 12px; height: 12px; border-radius: 50%; animation: breathe .8s infinite alternate; }
.preload__bar { width: 180px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.18); overflow: hidden; }
.preload__bar i { display: block; height: 100%; width: 40%; animation: bar 1.1s var(--e-inout) infinite; }
@keyframes breathe { from { transform: scale(.95); opacity: .8; } to { transform: scale(1.03); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

.toasts { z-index: var(--z-toast); }
.toast { background: var(--c-braise); color: #fff; border: 0; border-left: 5px solid var(--c-bun); border-radius: var(--r-md); font-weight: 700; box-shadow: var(--sh-2); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 520ms var(--e-out) var(--reveal-delay, 0ms), transform 520ms var(--e-out) var(--reveal-delay, 0ms); }
.reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   PAGES INTÉRIEURES
   ========================================================= */
.pagehead {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--c-bordeaux); color: #FFE9D6; border-bottom: 0;
  padding-block: clamp(2.2rem, 1.7rem + 2.6vw, 4.25rem) clamp(2.4rem, 1.9rem + 2.8vw, 4.5rem);
}
.pagehead .wrap { position: relative; z-index: 2; }
.pagehead--slim { padding-block: var(--s-5); }
.pagehead--slim::before { display: none; }
.pagehead h1, .catblock__head h2, .sheet__title, .cartd__head h2 { text-transform: none; letter-spacing: -.03em; }
.pagehead h1 { font-size: var(--t-3xl); font-weight: 900; color: #fff; margin-top: var(--s-4); max-width: 22ch; letter-spacing: -.04em; }
.pagehead p { color: #FAD9C8; max-width: 58ch; margin-top: var(--s-4); font-size: var(--t-lg); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; font-size: var(--t-sm); color: #F3C9B9; }
.crumbs li + li::before { content: "›"; margin-right: .5rem; color: var(--c-bun); opacity: 1; font-weight: 800; }
.crumbs a { color: #FFF0E2; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,240,226,.4); }
.crumbs a:hover { color: var(--c-bun-hi); }
.pagehead--photo { min-height: clamp(260px, 30vw, 400px); display: flex; align-items: flex-end; padding-block: clamp(2.2rem, 1.7rem + 2.6vw, 4.25rem); }
.pagehead--photo::before { display: none; }
.pagehead--photo .wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); }
.pagehead__img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.pagehead__veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(106,15,24,.97) 0%, rgba(137,23,33,.86) 42%, rgba(137,23,33,.28) 100%); }
.pagehead--photo h1 { text-shadow: none; }
.pagehead--photo p { color: #FFE9D6; }
.pagehead--photo .crumbs, .pagehead--photo .crumbs a { color: #FFF0E2; }
@media (max-width: 700px) { .pagehead__veil { background: linear-gradient(180deg, rgba(137,23,33,.62) 0%, rgba(106,15,24,.96) 68%); } }

.prose { max-width: var(--maxw-text); font-size: var(--t-lg); }
.prose h2 { font-size: var(--t-xl); margin: var(--s-7) 0 var(--s-4); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--t-lg); margin: var(--s-6) 0 var(--s-3); }
.prose p, .prose ul, .prose ol { margin-top: var(--s-4); color: var(--text-mute); }
.prose p:first-of-type { color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 3px; color: var(--accent); font-weight: 700; }
.story { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: .2rem; border-left: 3px solid var(--line-strong); padding-left: var(--s-4); list-style: none; }
.toc a { display: block; padding: .45rem 0; font-weight: 700; font-size: var(--t-sm); color: var(--text-mute); }
.toc a.is-on, .toc a:hover { color: var(--accent); }
.toc a.is-on { box-shadow: -1.2rem 0 0 -.98rem var(--c-bun); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .toc { position: static; } }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.pillar { padding: var(--s-6) var(--s-5); border-radius: var(--r-xl); background: var(--bg-raise); border: 1px solid var(--line); }
.pillar__k { font-family: var(--font-display); font-weight: 900; font-size: var(--t-2xl); line-height: 1; color: var(--accent); letter-spacing: -.04em; }
.pillar h3 { font-size: var(--t-lg); margin-top: var(--s-3); }
.pillar p { color: var(--text-mute); margin-top: var(--s-3); font-size: var(--t-sm); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.photo-band { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--s-3); }
.photo-band img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); background: var(--c-bordeaux); }
.photo-band img:first-child { grid-row: span 2; aspect-ratio: auto; border-radius: var(--r-bun) var(--r-bun) var(--r-xl) var(--r-xl); }
@media (max-width: 700px) { .photo-band { grid-template-columns: 1fr 1fr; } .photo-band img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/11; } }

/* Cartes d'information (contact, accès, recrutement) */
.infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: var(--s-4); }
.info, #contact-cards .card {
  position: relative; display: flex; flex-direction: column; gap: var(--s-2);
  padding: var(--s-6) var(--s-5) !important; border-radius: var(--r-xl);
  background: var(--bg-raise); border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.info h2, .info h3, #contact-cards .card h2 { font-size: var(--t-lg) !important; }
.info p, #contact-cards .card p { color: var(--text-mute); font-size: var(--t-sm); white-space: pre-line; }
.info .btn, #contact-cards .card .btn { margin-top: auto !important; align-self: flex-start; }
.info > .btn:last-child { margin-top: var(--s-4) !important; }
.info__big { font-family: var(--font-display); font-weight: 800; font-size: var(--t-lg); color: var(--accent) !important; word-break: break-word; letter-spacing: -.03em; white-space: normal !important; }

.twocol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .twocol { grid-template-columns: 1fr; } }
.formcard { padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--r-xl); background: var(--bg-raise); border: 1px solid var(--line); box-shadow: var(--sh-1); display: grid; gap: var(--s-4); }
.formcard h2 { font-size: var(--t-xl); }
.mapbox { position: relative; border-radius: var(--r-bun) var(--r-bun) var(--r-xl) var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--c-bordeaux); box-shadow: 0 0 0 var(--stroke) var(--c-bun); }
.mapbox iframe { width: 100%; height: 100%; border: 0; display: block; }
.mapbox__load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s-4); padding: var(--s-6); text-align: center; color: #FFE9D6; }
.mapbox__load::before { content: ""; width: clamp(84px, 22%, 130px); aspect-ratio: 1; background: center / contain no-repeat url("/assets/img/logo-mark.svg"); }
.mapbox__load p { max-width: 30ch; font-size: var(--t-sm); color: #FFE9D6; }
.formcard .check span:last-child, .cartd .check span:last-child, .fieldset .check span:last-child { margin-left: 0; font-size: var(--t-sm); color: var(--text); }

/* Offres */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.bento__item { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-direction: column; justify-content: flex-start; gap: var(--s-3); min-height: 240px; border: 1px solid var(--line); background: var(--bg-raise); color: var(--text); }
.bento__item h2 { font-size: var(--t-xl); line-height: 1.1; }
.bento__item p { color: var(--text-mute); font-size: var(--t-base); }
.bento__item--large { grid-column: span 2; grid-row: span 2; min-height: 380px; border-radius: var(--r-bun) var(--r-xl) var(--r-xl) var(--r-xl); }
.bento__item--large h2 { font-size: var(--t-3xl); max-width: 14ch; }
.bento__item--red { background: var(--c-bordeaux); color: #fff; border-color: transparent; }
.bento__item--red p { color: #FAD9C8; }
.bento__item--gold { background: var(--c-bun); color: var(--c-braise); border-color: transparent; }
.bento__item--gold p { color: #5A2A12; }
.bento__item--gold .btn { --btn-bg: var(--c-bordeaux); --btn-fg: #fff; --btn-edge: var(--c-bordeaux-lo); }
.bento__item--dark { background: var(--c-braise); color: #fff; border-color: transparent; }
.bento__item--dark p { color: #E9C9BE; }
.bento__tag { align-self: flex-start; padding: .28rem .75rem; border-radius: var(--r-full); font-family: var(--font-body); font-size: var(--t-xs); font-weight: 800; letter-spacing: 0; text-transform: none; background: var(--c-cheddar); color: var(--c-braise); }
.bento__item--gold .bento__tag { background: var(--c-braise); color: #FFF6EA; }
.bento__price { font-family: var(--font-display); font-weight: 800; font-size: var(--t-2xl); margin-top: auto; letter-spacing: -.04em; }
.bento__item--large .bento__price { font-size: var(--t-4xl); line-height: 1; }
.bento__item .btn { align-self: flex-start; position: relative; z-index: 1; margin-top: var(--s-2); }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .bento__item--large { grid-column: auto; grid-row: auto; min-height: 280px; } }

/* Liste de prix : seul / en menu */
.pricelist { list-style: none; padding: 0; display: grid; }
.pricelist li { display: grid; grid-template-columns: minmax(0, 1fr) 5.4rem 5.4rem; align-items: baseline; gap: .6rem; padding: .7rem 0; border-bottom: 2px dashed var(--line); font-size: var(--t-sm); }
.pricelist li:last-child { border-bottom: 0; }
.pricelist li.pricelist__head { font-size: var(--t-xs); font-weight: 800; color: var(--text-mute); border-bottom-style: solid; }
.pricelist span a { font-weight: 700; }
.pricelist span a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.pricelist small, .pricelist b { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 1em; }
.pricelist small { color: var(--text-mute); font-weight: 600; }
.pricelist b { font-weight: 800; color: var(--accent); }

/* Tableaux publics (allergènes) */
.tbl-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-raise); }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--t-sm); min-width: 720px; }
.tbl th, .tbl td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl thead th { background: var(--c-bordeaux); color: #FFF6EA; font-family: var(--font-body); font-weight: 800; position: sticky; top: 0; letter-spacing: 0; text-transform: none; font-size: var(--t-sm); }
.tbl tbody tr:hover { background: var(--bg-alt); }
.tbl--sans-nutrition { min-width: 0; }
.tbl--sans-nutrition th:nth-child(n+3), .tbl--sans-nutrition td:nth-child(n+3) { display: none; }

.stars-input { display: flex; gap: .25rem; }
.stars-input button { font-size: 1.8rem; width: 44px; height: 44px; color: var(--line-strong); }
.stars-input button[aria-pressed="true"], .stars-input button.is-on { color: var(--c-cheddar); }

/* 404 */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: var(--s-9); position: relative; }
.lost__code { font-family: var(--font-display); font-weight: 900; font-size: clamp(5rem, 20vw, 11rem); line-height: .9; color: var(--accent); letter-spacing: -.06em; }
.lost h1 { font-size: var(--t-2xl); margin-top: var(--s-4); }
.lost p { color: var(--text-mute); margin-top: var(--s-4); max-width: 46ch; margin-inline: auto; }
.lost .hero__cta { justify-content: center; }

/* =========================================================
   CARTE EN LIGNE — skin des éléments rendus par shop.js
   ========================================================= */
.menu-intro { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-5); }
.menu-intro span { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border-radius: var(--r-full); background: rgba(255,255,255,.1); border: 2px solid rgba(255,240,226,.2); font-size: var(--t-sm); font-weight: 700; color: #FFF0E2; }
.searchbar input { min-height: 58px; border-radius: var(--r-lg) !important; border: 2px solid var(--line-strong) !important; background: var(--bg-raise) !important; font-size: 1.02rem; }
.suggest { border-radius: var(--r-lg); border: 2px solid var(--line); }
.suggest mark { background: rgba(243,144,57,.35); color: inherit; }
.filters { border-radius: var(--r-xl); background: var(--bg-raise); border: 1px solid var(--line); }
.filters h3 { font-family: var(--font-body); font-weight: 800; font-size: var(--t-sm); letter-spacing: 0; text-transform: none; color: var(--text); }
.catnav {
  position: sticky; top: var(--header-h); z-index: 50;
  background: var(--glass-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); margin-bottom: var(--s-5);
}
.catnav__row { display: flex; gap: .45rem; overflow-x: auto; padding-block: .7rem; scrollbar-width: none; }
.catnav__row::-webkit-scrollbar { display: none; }
.catnav a { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: .35rem 1rem; border-radius: var(--r-full); border: 2px solid var(--line-strong); font-weight: 700; font-size: var(--t-sm); white-space: nowrap; background: var(--bg-raise); }
.catnav a:hover { border-color: var(--c-bun); }
.catnav a.is-on { background: var(--c-bordeaux); color: #fff; border-color: var(--c-bordeaux); }
.catblock { scroll-margin-top: calc(var(--header-h) + 84px); }
.catblock + .catblock { margin-top: clamp(2.5rem, 5vw, 4rem); }
.catblock__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .3rem var(--s-4); padding-bottom: var(--s-3); margin-bottom: var(--s-5); border-bottom: var(--stroke) solid var(--c-bun); position: relative; }
.catblock__head h2 { font-size: var(--t-2xl); }
.catblock__head span { color: var(--text-mute); font-size: var(--t-sm); font-weight: 700; }
.catblock__intro { width: 100%; font-size: var(--t-base); color: var(--text-mute); order: 3; }

/* La carte d'un plat : la photo sous la voûte du pain, le reste dessous. */
.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: var(--s-5) var(--s-4); }
.dish {
  position: relative; display: flex; flex-direction: column; overflow: visible;
  background: transparent; border: 0; border-radius: 0;
  transition: none;
}
.dish:hover { transform: none; box-shadow: none; }
.dish__media {
  position: relative; aspect-ratio: 4 / 3.25; overflow: hidden;
  border-radius: 68px 68px var(--r-lg) var(--r-lg);
  background: var(--c-bordeaux) center 56% / 40% no-repeat url("/assets/img/logo-mark.svg");
  transition: box-shadow var(--d-mid) var(--e-out), transform var(--d-mid) var(--e-out);
}
.dish__media img, .dish__media svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: none; }
.dish:hover .dish__media { box-shadow: 0 0 0 var(--stroke) var(--c-bun); transform: translateY(-4px); }
.dish:hover .dish__media img { transform: none; }
.dish__flags { position: absolute; top: auto; bottom: .65rem; left: .65rem; z-index: 2; display: flex; gap: .3rem; flex-wrap: wrap; }
.dish__pcs { position: absolute; right: .65rem; bottom: .65rem; z-index: 2; padding: .28rem .6rem; border-radius: var(--r-full); background: #FFF6EA; color: var(--c-braise); font-size: .74rem; font-weight: 800; }
.dish__fav { position: absolute; top: .55rem; right: .55rem; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #FFF6EA; color: var(--c-braise); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--sh-1); }
.dish__fav:hover { transform: scale(1.06); color: var(--c-bordeaux); }
.dish__fav svg { width: 20px; height: 20px; }
.dish__fav[aria-pressed="true"] { background: var(--c-bordeaux); color: #fff; }
.dish__fav[aria-pressed="true"] svg { fill: currentColor; }
.dish__body { padding: var(--s-4) .3rem 0; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.dish__name { font-family: var(--font-display); font-weight: 800; font-size: var(--t-base); line-height: 1.2; letter-spacing: -.025em; }
.dish__name a:hover { color: var(--accent); }
.dish__desc { font-size: var(--t-sm); color: var(--text-mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 0 1 auto; }
.dish__meta { font-size: var(--t-xs); color: var(--text-mute); }
.dish__foot { margin-top: auto; padding-top: var(--s-3); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); border-top: 0; }
.dish__price { display: grid; font-family: var(--font-display); font-weight: 800; font-size: var(--t-lg); color: var(--accent); letter-spacing: -.03em; line-height: 1.1; }
.dish__price s { font-family: var(--font-body); font-size: var(--t-sm); color: var(--text-mute); margin-right: .4rem; }
.dish__price small { font-family: var(--font-body); font-weight: 700; font-size: .8rem; color: var(--text-mute); letter-spacing: 0; margin-top: .2rem; }
.dish.is-out { opacity: .55; }
.empty { text-align: center; padding: var(--s-8) var(--s-4); display: grid; gap: var(--s-3); justify-items: center; border: 2px dashed var(--line-strong); border-radius: var(--r-xl); }
.empty h3 { font-size: var(--t-xl); }
.section--bord .dish__name { color: #fff; }
.section--bord .dish__price { color: var(--c-bun-hi); }

/* Fenêtre de configuration */
.sheet-back { background: rgba(43,10,14,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet { background: var(--bg); border: 0; border-radius: var(--r-xl); box-shadow: var(--sh-3); }
.sheet__title { font-family: var(--font-display); font-weight: 800; }
.sheet__price { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--accent); font-family: var(--font-display); font-weight: 800; }
.sumrow--total b, .sumrow--total span:last-child { color: var(--accent); font-family: var(--font-display); font-weight: 800; }
.sheet__media { border-radius: 64px 64px var(--r-lg) var(--r-lg); background: var(--c-bordeaux) center / 40% no-repeat url("/assets/img/logo-mark.svg"); }
.product__media, .line__thumb, .cline__img, .favrow__img { background: var(--c-bordeaux) center / 50% no-repeat url("/assets/img/logo-mark.svg"); }
.sheet__media img, .product__media img { width: 100%; height: 100%; object-fit: cover; }
.sheet__close { background: #FFF6EA; color: var(--c-braise); border: 0; }
.sheet__close:hover { background: var(--c-bun); color: var(--c-braise); }
[data-theme="dark"] .sheet__close { color: var(--c-braise); }
.ogroup { border-radius: var(--r-lg); border: 2px solid var(--line); background: var(--bg-raise); }
.ogroup__head h4, .ogroup__head b { font-family: var(--font-body); font-weight: 800; text-transform: none; letter-spacing: 0; font-size: var(--t-base); }
.ogroup__req { background: var(--c-bordeaux) !important; color: #fff !important; text-transform: none; letter-spacing: 0; font-size: .72rem; }
.ogroup.is-missing { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(194,38,27,.15); }
.orow { min-height: 50px; border-bottom: 1px dashed var(--line); }
.orow__plus { color: var(--accent); background: rgba(243,144,57,.2); font-weight: 800; }
.opick { width: 50px; height: 30px; background: var(--line-strong); }
.opick::after { width: 24px; height: 24px; }
.opick[aria-pressed="true"] { background: var(--c-bun) !important; }
.opick[aria-pressed="true"]::after { transform: translateX(20px); background: var(--c-braise); }
.ostep button { width: 38px; height: 38px; }
.ostep button:hover:not(:disabled) { background: var(--c-bun); color: var(--c-braise); }
.ostep output[data-on="1"] { color: var(--accent); }
.sheet__note textarea { border-width: 2px; }

/* Panier en volet et favoris */
.cart-back, .fav-back { background: rgba(43,10,14,.66); }
.cartd, .fav { background: var(--bg); border: 0; box-shadow: var(--sh-3); }
.cartd__head, .fav__head { border-bottom: var(--stroke) solid var(--c-bun); }
.cartd__head h2, .fav__head h2 { font-family: var(--font-display); font-weight: 800; }
.cartd__seal, .done__seal { background: var(--c-bun); color: var(--c-braise); box-shadow: none; }
.cartd__warn { background: rgba(194,38,27,.1); }
.cartd__more:hover { color: var(--accent); }
.pay-opt { border-width: 2px; }
.pay-opt.is-on, .pay-opt:has(input:checked), .mode.is-on, .mode[aria-pressed="true"] { border-color: var(--c-bun) !important; background: rgba(243,144,57,.12); }
.mode { border-width: 2px; min-height: 44px; }
.stepdot.is-on b { background: var(--c-bordeaux); color: #fff; }
.summary { border-radius: var(--r-xl); }
.fieldset h2 { font-family: var(--font-display); font-weight: 800; }
.track__step.is-done .track__dot, .track__step.is-done .track__bar { background: var(--c-bun); border-color: var(--c-bun); }
.track__step.is-now .track__dot { border-color: var(--c-bun); }
.qty { border-width: 2px; }
.pickup svg { color: var(--accent); }

/* Journal */
.journal-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--s-5); }
.article { max-width: 760px; margin-inline: auto; }
.article--journal { padding-block: var(--section-y); }
.article__head h1 { font-size: var(--t-3xl); margin-top: var(--s-3); }
.article__lede { font-size: var(--t-lg); color: var(--text-mute); margin-top: var(--s-4); }
.article__byline { font-size: var(--t-sm); color: var(--text-mute); margin-top: var(--s-4); }
.article__body { margin-top: var(--s-7); }
.article .crumbs ol { color: var(--text-mute); }
.article .crumbs a { color: var(--text); text-decoration-color: var(--line-strong); }

/* Fiche plat statique (/plat/…) */
.fiche { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.fiche__media { position: relative; border-radius: var(--r-bun) var(--r-bun) var(--r-xl) var(--r-xl); overflow: hidden; aspect-ratio: 1 / .96; background: var(--c-bordeaux) center / 40% no-repeat url("/assets/img/logo-mark.svg"); box-shadow: 0 0 0 var(--stroke) var(--c-bun); }
.fiche__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fiche h1 { font-size: var(--t-3xl); margin-top: var(--s-3); }
.fiche__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.2rem; font-family: var(--font-display); font-weight: 800; font-size: var(--t-2xl); color: var(--accent); line-height: 1; margin-top: var(--s-5); letter-spacing: -.04em; }
.fiche__price small { font-family: var(--font-body); font-size: var(--t-base); font-weight: 700; color: var(--text-mute); letter-spacing: 0; }
.fiche__desc { margin-top: var(--s-4); font-size: var(--t-lg); }
.fiche h2 { font-size: var(--t-lg); margin-top: var(--s-6); }
.fiche ul { margin-top: var(--s-3); padding-left: 1.1rem; color: var(--text-mute); }
.fiche__note { margin-top: var(--s-4); font-size: var(--t-sm); color: var(--text-mute); }
.fiche__note a { text-decoration: underline; text-underline-offset: 3px; }
.fiche__cta { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-6); }
.fiche__where { margin-top: var(--s-6); padding: var(--s-5); border-radius: var(--r-lg); background: var(--bg-raise); border: 1px solid var(--line); font-size: var(--t-sm); color: var(--text-mute); }
.fiche__where b { color: var(--text); }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: var(--s-3); }
.related a { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; padding: .9rem 1.1rem; border-radius: var(--r-lg); background: var(--bg-raise); border: 2px solid var(--line); font-weight: 700; }
.related a:hover { border-color: var(--c-bun); }
.related a b { color: var(--accent); font-weight: 800; white-space: nowrap; }
@media (max-width: 860px) { .fiche { grid-template-columns: 1fr; } }

/* Impression : le ticket compte, pas le décor. */
@media print {
  .header, .footer, .fab-stack, .cookie, .announce, .preload { display: none !important; }
  body { background: #fff; color: #000; }
}

select#sort { width: auto; min-width: 200px; }
.toolbar { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-5); }
.toolbar__count { margin-left: auto; font-size: var(--t-sm); color: var(--text-mute); }
@media (max-width: 560px) { select#sort { min-width: 0; flex: 1; } .toolbar__count { order: 3; width: 100%; margin-left: 0; } }
.filters-toggle { display: none; }
@media (max-width: 940px) { .filters-toggle { display: inline-flex; } }

/* Moyens de paiement : l'étiquette reste à droite, à sa largeur. */
.pay-opt > .pay-opt__tag { flex: none; margin-left: auto; align-self: center; }
.pay-opt b { font-family: var(--font-body); font-weight: 700; font-size: var(--t-base); }

/* Sur téléphone, le message de confirmation monte en haut de l'écran :
   en bas il masquait le total et le bouton « Commander » du panier. */
@media (max-width: 640px) {
  .toasts { top: calc(env(safe-area-inset-top, 0px) + 12px); bottom: auto; left: var(--s-4); right: var(--s-4); }
}

/* Commande en ligne fermée (Unique Owls CP → Réglages → Maintenance) */
.closed-bar { background: var(--c-braise); color: #FFF6EA; text-align: center; font-weight: 700; font-size: var(--t-sm); padding: .7rem 0; border-bottom: 3px solid var(--c-bun); }
.closed-bar a { color: var(--c-bun-hi); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
