/* Carte (C1), fiche plat (C2) et panier : bannière, colonne du restaurant, encart « À emporter », recherche, ardoise du
   jour, onglets collants (téléphone) ou menu à gauche (ordinateur), fiches de plat en ligne avec photo à droite. */

/* Photo d'accueil (pleine largeur sur téléphone, arrondie sur tablette et ordinateur) avec, posés sur son bas, le logo,
   le nom, le sous-titre et le bouton « i » ; un dégradé sombre garde le texte lisible. */
.shop-hero { position: relative; margin: 0 calc(-1 * var(--gutter)); height: 200px; overflow: hidden; }
.shop-hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.shop-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(23, 29, 36, 0) 28%, rgba(23, 29, 36, 0.55) 62%, rgba(23, 29, 36, 0.92) 100%);
}
.shop-brand {
    position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 14px;
    display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; column-gap: 12px;
}
.brand-logo { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.brand-logo img { display: block; width: 100%; height: 100%; }
.brand-text { min-width: 0; }
.brand-name { font-size: 1.7rem; line-height: 1.05; color: var(--cream); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45); }
.brand-sub {
    font-size: 0.8125rem; color: rgba(239, 237, 231, 0.88); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shop-info-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 44px; height: 44px; padding: 0;
    border-radius: var(--pill); border: 1px solid rgba(239, 237, 231, 0.28); background: rgba(23, 29, 36, 0.55); color: var(--cream);
    font-size: 0.875rem; font-weight: 600; text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.shop-info-link:hover { background: rgba(23, 29, 36, 0.78); }
.shop-info-link .ic { color: var(--caramel-bright); }

/* Colonne de gauche, sur ordinateur seulement : adresse, téléphone, menu des sections. */
.shop-aside { display: none; }
.shop-contact { display: grid; gap: 6px; }
.brand-line { display: flex; gap: 8px; align-items: flex-start; font-size: 0.875rem; color: var(--ink-on-navy-2); }
.brand-line .ic { margin-top: 3px; color: var(--caramel-bright); }
.brand-line a { color: inherit; }
.shop-info-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.side-menu { display: none; }
.side-menu-title { font-family: var(--font-cond); font-size: 1.35rem; font-weight: 600; margin-bottom: 6px; }
.side-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-link {
    width: 100%; min-height: 44px; padding: 0 14px; border: 0; border-left: 3px solid transparent; border-radius: 0 8px 8px 0;
    background: none; color: var(--cream-muted); font-size: 0.97rem; font-weight: 600; text-align: left;
}
.side-link:hover { background: var(--navy-2); color: var(--cream); }
.side-link[aria-current="true"] { border-left-color: var(--caramel); background: var(--navy-2); color: var(--cream); }

/* Colonne principale : bandeau de retrait et recherche (côte à côte dès la tablette), messages, sections */
.shop-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 12px; min-width: 0; }
.shop-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.menu-search { position: relative; display: flex; align-items: center; }
.menu-search .ic { position: absolute; left: 16px; color: var(--ink-on-navy-2); pointer-events: none; }
.menu-search-input {
    width: 100%; min-height: 44px; padding: 0 16px 0 44px; border-radius: var(--pill); border: 1px solid var(--rule-dark);
    background: var(--navy-2); color: var(--cream); font-size: 1rem; -webkit-appearance: none; appearance: none;
}
.menu-search-input::placeholder { color: var(--ink-on-navy-2); opacity: 1; }
.menu-search-input:focus { border-color: var(--caramel); }
.search-empty { padding: 1.5rem 0; color: var(--cream-muted); text-align: center; }
.search-empty:empty { display: none; }
.pickup-card { display: flex; align-items: center; padding: 6px 4px; border-radius: 12px; border: 1px solid var(--rule-dark); background: var(--navy-2); }
.pickup-facts { display: flex; width: 100%; }
.pickup-fact { flex: 1 1 auto; display: grid; justify-items: center; align-content: center; gap: 0; padding: 0 6px; text-align: center; color: inherit; text-decoration: none; }
.pickup-fact + .pickup-fact { border-left: 1px solid var(--rule-dark); }
.pickup-fact strong { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-cond); font-size: 1.05rem; font-weight: 600; white-space: nowrap; }
.pickup-fact span { font-size: 0.72rem; color: var(--ink-on-navy-2); white-space: nowrap; }
.pickup-fact .ic { color: var(--caramel-bright); }
a.pickup-fact { min-height: 44px; border-radius: var(--r); }
a.pickup-fact:hover strong { color: var(--caramel-bright); }
.shop-notices { display: grid; gap: 8px; }
.price { font-family: var(--font-cond); font-weight: 600; font-size: 1.2rem; white-space: nowrap; }
.unit { font-size: 0.75rem; color: var(--ink-on-navy-2); }

/* Onglets de catégories collés en haut (téléphone et tablette) */
.cat-tabs { position: sticky; top: 0; z-index: 20; margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter); background: var(--navy); border-bottom: 1px solid var(--rule-dark); }
.cat-track { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cat-track::-webkit-scrollbar { display: none; }
.cat-tab { flex: none; min-height: 44px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--rule-dark); background: transparent; color: var(--cream-muted); font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }
.cat-tab[aria-current="true"] { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.cat-section { scroll-margin-top: 72px; padding-top: 10px; }
.cat-section h2 { font-size: 1.6rem; margin-bottom: 12px; }
.ardoise-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; }
.ardoise-head h2 { margin-bottom: 0; }
.ardoise-date { font-size: 0.8125rem; font-weight: 600; color: var(--caramel-bright); letter-spacing: 0.04em; text-transform: uppercase; }
.ardoise .dish-card { border-color: rgba(204, 160, 119, 0.5); }

/* Fiches de plat en ligne : texte à gauche, photo carrée et « + » à droite ; toute la fiche ouvre le plat */
.dish-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.dish-card {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 128px; min-height: 128px; overflow: hidden;
    border-radius: 14px; border: 1px solid var(--rule-dark); background: var(--navy-2); transition: border-color 160ms var(--ease);
}
.dish-card:hover { border-color: var(--caramel); }
.dish-card:has(.dish-open:focus-visible) { outline: 2px solid var(--caramel-bright); outline-offset: 2px; }
.dish-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px 14px 12px 16px; }
.dish-name { font-family: var(--font); font-size: 1rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.dish-open { color: inherit; text-decoration: none; }
.dish-open::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.dish-meta { display: flex; align-items: baseline; gap: 5px; }
.dish-desc {
    font-size: 0.875rem; line-height: 1.35; color: var(--ink-on-navy-2);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dish-flags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; padding-top: 4px; }
.flag { font-size: 0.75rem; font-weight: 600; color: var(--caramel-bright); border: 1px solid rgba(204, 160, 119, 0.45); border-radius: var(--pill); padding: 0 8px; }
.flag-muted { color: var(--cream-muted); border-color: var(--rule-dark); background: var(--navy-3); }
.dish-photo-wrap { position: relative; }
.dish-photo { width: 100%; height: 100%; object-fit: cover; background: var(--navy-3); }
.dish-photo-empty { display: grid; place-items: center; font-family: var(--font-cond); font-size: 2.4rem; font-weight: 600; color: var(--ink-on-navy-2); }
.add-round {
    position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 44px; height: 44px; border-radius: var(--pill);
    border: 2px solid var(--navy); background: var(--caramel); color: var(--navy); display: grid; place-items: center; padding: 0;
}
.add-round:hover:not(:disabled) { background: var(--caramel-bright); }
.add-round:disabled { opacity: 0.45; cursor: not-allowed; }
/* Épuisé aujourd'hui : photo atténuée, nom lisible et « + » actif (commandable pour un autre jour de retrait). */
.dish-card.is-off .dish-photo { opacity: 0.55; }
.in-cart { position: absolute; left: 8px; top: 8px; z-index: 2; pointer-events: none; min-height: 26px; padding: 0 10px; border-radius: var(--pill); background: var(--navy); color: var(--cream); font-size: 0.75rem; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.in-cart .ic { color: var(--caramel-bright); }

/* Fiche plat (C2) : photo pleine largeur, feuille arrondie qui la recouvre, grand bouton « Ajouter » en bas */
.sheet { margin: 0 calc(-1 * var(--gutter)); }
.sheet-photo-wrap { position: relative; height: 340px; }
.sheet-photo { width: 100%; height: 100%; object-fit: cover; }
.sheet-photo-empty { width: 100%; height: 100%; background: var(--navy-2); }
.round-back { position: absolute; top: max(14px, env(safe-area-inset-top)); left: 14px; width: 44px; height: 44px; border-radius: var(--pill); background: rgba(23, 29, 36, 0.85); color: var(--cream); display: grid; place-items: center; z-index: 2; }
.sheet-body { position: relative; margin-top: -26px; border-radius: 22px 22px 0 0; background: var(--navy); padding: 20px var(--gutter) 0; display: grid; gap: 12px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sheet-head h1 { font-size: 1.9rem; line-height: 1.05; overflow-wrap: anywhere; }
.sheet-price { text-align: right; flex: none; }
.sheet-price .price { font-size: 1.5rem; }
.sheet-desc { color: var(--cream-muted); font-size: 0.97rem; line-height: 1.45; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.allergen { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: var(--pill); background: var(--navy-3); color: var(--cream-muted); font-size: 0.8125rem; font-weight: 600; }
.fact-text { font-size: 0.8125rem; color: var(--ink-on-navy-2); }
/* Options en lignes (à la manière d'Uber Eats) : titre du groupe et « Obligatoire », une ligne par option avec son
   supplément, rond (un seul choix) ou case (plusieurs) à droite */
.opt-group { border: 0; margin: 8px 0 0; padding: 0; min-width: 0; }
.opt-group legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; width: 100%; padding: 0; }
.opt-title { font-family: var(--font-cond); font-size: 1.4rem; font-weight: 600; line-height: 1.15; }
.opt-required { padding: 3px 10px; border-radius: var(--pill); background: var(--navy-3); color: var(--cream); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; }
.opt-group.is-missing .opt-required { background: var(--terracotta); color: var(--paper); }
.opt-hint { margin-top: 2px; font-size: 0.875rem; color: var(--ink-on-navy-2); }
/* « 20 options au plus par plat » : zone live gardée dans la page, hors du flux tant qu'elle est vide (aucun espace). */
.opt-limit:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.opt-list { display: grid; margin-top: 4px; }
.opt-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px; padding: 12px 0;
    border: 0; border-bottom: 1px solid var(--rule-dark); background: none; color: var(--cream); text-align: left;
}
.opt-row:last-child { border-bottom: 0; }
.opt-text { display: grid; gap: 2px; min-width: 0; }
.opt-name { font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.opt-delta { font-size: 0.875rem; color: var(--ink-on-navy-2); }
.opt-mark {
    flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 2px solid var(--cream-muted); color: transparent;
    transition: background-color 120ms var(--ease), border-color 120ms var(--ease);
}
.opt-mark.is-box { border-radius: 6px; }
.opt-mark.is-radio { border-radius: 50%; }
.opt-mark.is-radio::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: transparent; }
.opt-row:hover .opt-mark { border-color: var(--cream); }
.opt-row[aria-checked="true"] .opt-mark { border-color: var(--caramel); }
.opt-row[aria-checked="true"] .opt-mark.is-box { background: var(--caramel); color: var(--navy); }
.opt-row[aria-checked="true"] .opt-mark.is-radio::after { background: var(--caramel); }

/* Quantité (sélecteur discret sous les options) et grand bouton « Ajouter … à la commande · total » */
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; }
.qty-row-label { font-family: var(--font-cond); font-size: 1.4rem; font-weight: 600; }
.qty-stepper { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--pill); background: var(--navy-3); }
.qty-btn { width: 44px; height: 44px; flex: none; border-radius: var(--pill); border: 0; background: transparent; color: var(--cream); display: grid; place-items: center; }
.qty-btn:hover:not(:disabled) { background: var(--rule-dark); }
.qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.qty-value { min-width: 64px; text-align: center; font-family: var(--font-cond); font-size: 1.2rem; font-weight: 700; }
.add-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 56px; padding: 0 20px;
    border: 0; border-radius: 14px; background: var(--caramel); color: var(--navy); font-size: 1.0625rem; font-weight: 700;
    white-space: nowrap; overflow: hidden;
}
.add-btn:hover:not(:disabled) { background: var(--caramel-bright); }
.add-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.add-total { font-family: var(--font-cond); font-size: 1.2rem; }

/* Fenêtre du plat, à la manière d'Uber Eats : croix en haut à gauche ; photo puis détails (photo à gauche, collée
   pendant le défilement, sur ordinateur) ; grand bouton « Ajouter » sur toute la largeur en bas. Posée en bas sur
   téléphone, centrée ailleurs ; fond assombri. */
.dish-modal {
    width: 100%; max-width: none; max-height: 94vh; max-height: 94dvh; margin: auto 0 0; padding: 0; border: 0;
    border-radius: 22px 22px 0 0; background: var(--navy); color: var(--cream); overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.dish-modal[open] { display: flex; flex-direction: column; }
.dish-modal::backdrop { background: rgba(10, 13, 17, 0.75); }
html:has(.dish-modal[open]) { overflow: hidden; }
.modal-top { flex: none; display: flex; align-items: center; padding: 8px 10px 4px; }
.modal-close, .drawer-close { width: 48px; height: 48px; flex: none; padding: 0; border: 0; border-radius: var(--pill); background: transparent; color: var(--cream); display: grid; place-items: center; }
.modal-close:hover, .drawer-close:hover { background: var(--navy-3); }
.modal-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.modal-grid { display: grid; gap: 20px; padding: 0 20px 24px; }
.modal-photo { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--navy-2); }
.modal-photo-img { width: 100%; height: 100%; object-fit: cover; }
.modal-photo-img-empty { width: 100%; height: 100%; }
.dish-modal .sheet-body { margin: 0; padding: 0; border-radius: 0; background: transparent; gap: 14px; }
.dish-modal .sheet-head { display: grid; gap: 4px; justify-content: start; }
.dish-modal .sheet-head h2 { font-size: 2.2rem; line-height: 1.05; overflow-wrap: anywhere; }
.dish-modal .sheet-price { display: flex; align-items: baseline; gap: 6px; text-align: left; }
.dish-modal .sheet-price .price { font-size: 1.5rem; color: var(--cream-muted); }
.dish-modal .sheet-desc { font-size: 1.0625rem; line-height: 1.5; }
.modal-bar { flex: none; padding: 12px 20px calc(12px + var(--safe-bottom)); border-top: 1px solid var(--rule-dark); background: var(--navy); }
@media (min-width: 720px) {
    .dish-modal { width: min(760px, calc(100% - 48px)); max-height: 92vh; max-height: 92dvh; margin: auto; border-radius: 22px; }
    .modal-top { padding: 12px 16px 4px; }
    .modal-grid { gap: 24px; padding: 0 32px 28px; }
    .modal-photo { aspect-ratio: 16 / 10; }
    .modal-bar { padding: 14px 32px 18px; }
}
@media (min-width: 1024px) {
    .dish-modal { width: min(1080px, calc(100% - 64px)); height: min(88vh, 820px); height: min(88dvh, 820px); max-height: none; }
    .modal-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; padding: 8px 32px 32px; }
    .modal-photo { position: sticky; top: 8px; aspect-ratio: 1; }
    .dish-modal .sheet-head h2 { font-size: 2.6rem; }
}

/* Panier ouvert depuis la carte, fond assombri : tiroir qui monte du bas (téléphone, tablette), panneau qui glisse
   depuis la droite sur toute la hauteur (ordinateur). Le bon défile ; le total et « Choisir l'heure de retrait »
   restent en bas. */
.cart-drawer {
    position: fixed; inset: auto 0 0 0; width: 100%; height: auto; max-width: none; max-height: 90vh; max-height: 90dvh;
    margin: 0; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: var(--navy); color: var(--cream);
    box-shadow: 0 -24px 64px rgba(0, 0, 0, 0.5);
}
.cart-drawer[open] { display: flex; flex-direction: column; animation: drawer-up 280ms var(--ease); }
/* Poignée du tiroir (repère visuel, comme sur les applications de téléphone) */
.cart-drawer::before { content: ''; flex: none; width: 40px; height: 4px; margin: 10px auto 0; border-radius: var(--pill); background: var(--rule-dark); }
@keyframes drawer-up { from { transform: translateY(100%); } }
@keyframes drawer-in { from { transform: translateX(100%); } }
.cart-drawer::backdrop { background: rgba(10, 13, 17, 0.6); }
html:has(.cart-drawer[open]) { overflow: hidden; }
.drawer-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 10px 10px var(--gutter); border-bottom: 1px solid var(--rule-dark); }
.drawer-head h2 { font-size: 1.6rem; }
.drawer-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px var(--gutter) 20px; }
.drawer-bar { flex: none; display: grid; gap: 10px; padding: 12px var(--gutter) calc(14px + var(--safe-bottom)); border-top: 1px solid var(--rule-dark); background: var(--navy); }
/* Tablette : tiroir centré de 640 px (gauche et droite à 0, marges automatiques) */
@media (min-width: 720px) {
    .cart-drawer { width: min(640px, 100%); margin: 0 auto; }
}
@media (min-width: 1024px) {
    .cart-drawer {
        inset: 0 0 0 auto; width: min(460px, 100%); height: 100%; max-height: none; margin: 0; border-radius: 0;
        border-left: 1px solid var(--rule-dark); box-shadow: -24px 0 64px rgba(0, 0, 0, 0.5);
    }
    .cart-drawer[open] { animation: drawer-in 280ms var(--ease); }
    .cart-drawer::before { display: none; }
    .drawer-head { padding: 16px 16px 12px 24px; }
    .drawer-head h2 { font-size: 1.75rem; }
    .drawer-body { padding: 8px 24px 24px; }
    .drawer-bar { padding: 16px 24px 20px; }
}

/* Panier : bon de commande sur papier crème (objet signature de DESIGN.md) */
.ticket { background: var(--cream); color: var(--ink); border-radius: 4px 4px 0 0; padding: 1.1rem; margin-top: 8px; position: relative; }
.ticket::after { content: ''; position: absolute; left: 0; right: 0; bottom: -9px; height: 9px; background: radial-gradient(circle at 9px 0, transparent 0 0, var(--cream) 0 9px, transparent 9px) 0 0 / 18px 9px repeat-x; }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 0.6rem; border-bottom: 1.5px dashed #b9b3a7; }
.ticket-title { font-family: var(--font-cond); font-size: 1.35rem; font-weight: 600; }
.ticket-ref { font-size: 0.8125rem; color: var(--ink-2); }
.ticket-lines { list-style: none; margin: 0; padding: 0; }
.ticket-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 10px; padding: 0.7rem 0; border-bottom: 1px dotted #c8c2b6; align-items: baseline; }
.ticket-line:last-child { border-bottom: 0; }
.ticket-qty { font-family: var(--font-cond); font-weight: 700; font-size: 1.1rem; }
.ticket-name { font-weight: 600; overflow-wrap: anywhere; }
.ticket-price { font-family: var(--font-cond); font-weight: 600; font-size: 1.1rem; white-space: nowrap; }
.ticket-opts { grid-column: 2 / 4; font-size: 0.875rem; color: var(--ink-2); }
.ticket-edit { grid-column: 1 / 4; display: flex; justify-content: flex-end; gap: 6px; margin-top: 4px; }
.ticket-edit button { width: 44px; height: 44px; border-radius: var(--pill); border: 1px solid #b9b3a7; background: transparent; color: var(--ink); display: grid; place-items: center; }
.ticket-edit button:hover { background: var(--cream-3); }
.ticket :focus-visible { outline-color: var(--terracotta); }
.line-issue { grid-column: 1 / 4; font-size: 0.875rem; font-weight: 600; color: var(--terracotta-deep); }
.ticket-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 0.7rem; margin-top: 0.2rem; border-top: 1.5px dashed #b9b3a7; font-weight: 600; }
.ticket-total span:last-child { font-family: var(--font-cond); font-weight: 700; font-size: 1.35rem; }
.ticket-empty { padding: 1rem 0 0.4rem; color: var(--ink-2); }
.cart-notes { display: grid; gap: 8px; margin-top: 18px; }

@media (min-width: 720px) {
    .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .dish-card { grid-template-columns: minmax(0, 1fr) 144px; min-height: 144px; }
    .shop-hero { margin: 0; height: 240px; border-radius: 0 0 18px 18px; }
    .shop-brand { left: 20px; right: 20px; bottom: 18px; grid-template-columns: 72px minmax(0, 1fr) auto; column-gap: 14px; }
    .brand-logo { width: 72px; height: 72px; }
    .brand-name { font-size: 2.1rem; }
    .shop-info-link { width: auto; height: auto; min-height: 44px; padding: 0 16px 0 12px; }
    .shop-info-text { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
    .cat-tabs { margin: 0; padding: 8px 0; }
    .shop-toolbar { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
    .pickup-facts { width: auto; }
    .pickup-fact { flex: none; padding: 0 14px; }
}
/* Ordinateur : colonne de gauche collée (adresse, téléphone, menu des sections), photo avec le restaurant et carte à
   droite ; le menu remplace les onglets. */
@media (min-width: 1024px) {
    .page.shop { max-width: 1240px; display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 40px; align-items: start; padding-top: 24px; }
    .shop-hero { grid-column: 2; grid-row: 1; height: 280px; border-radius: 16px; }
    .shop-brand { left: 24px; right: 24px; bottom: 22px; grid-template-columns: 84px minmax(0, 1fr) auto; column-gap: 16px; }
    .brand-logo { width: 84px; height: 84px; }
    .brand-name { font-size: 2.4rem; }
    .brand-sub { font-size: 0.9375rem; }
    .shop-aside {
        grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 24px; display: grid; align-content: start; gap: 22px;
        max-height: calc(100vh - 48px - var(--bottom-space)); overflow-y: auto; scrollbar-width: thin;
    }
    .side-menu { display: block; padding-top: 18px; border-top: 1px solid var(--rule-dark); }
    .shop-main { grid-column: 2; grid-row: 2; margin-top: 18px; }
    .cat-tabs { display: none; }
    .sheet { margin: 24px auto 0; max-width: 1000px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
    .sheet-photo-wrap { height: 460px; border-radius: 16px; overflow: hidden; }
    .sheet-body { margin-top: 0; padding-top: 4px; border-radius: 0; }
}
