@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/outfit-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/outfit-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
    --ink: #1c1410;
    --muted: #6e645c;
    --paper: #f3efe8;
    --card: #ffffff;
    --line: #e6dcd2;
    --red: #c8102e;
    --red-dark: #9d0c24;
    --green: #157a34;
    --black: #111111;
    --shadow: 0 12px 40px rgba(28, 20, 16, 0.08);
    --font: "Outfit", "Avenir Next", sans-serif;
    --header: 72px;
}

* { box-sizing: border-box; touch-action: manipulation; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.45;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
input, textarea, select { font-family: inherit; font-style: inherit; font-weight: inherit; color: inherit; font-size: 16px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

.top {
    position: sticky; top: 0; z-index: 50;
    height: var(--header);
    background: var(--black);
    color: white;
}
.top-inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-copy strong { display: block; font-size: 1.05rem; line-height: 1.1; color: white; }
.brand-copy span { display: block; color: #c8c0b8; font-size: 0.82rem; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #f4efe8; padding: 8px 12px; border-radius: 999px; font-weight: 600; }
.nav a.on, .nav a:hover { background: rgba(255,255,255,.1); }
.phone { color: white; font-weight: 650; padding: 8px 4px; white-space: nowrap; }
.cart-btn {
    position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    border: 0; cursor: pointer; background: var(--red); color: white;
    border-radius: 999px; padding: 10px 14px; font-weight: 700;
}
.cart-hint {
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 2;
    background: var(--black); color: white; border-radius: 999px;
    padding: 8px 12px; font-size: 0.85rem; font-weight: 700; white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
    opacity: 0; transform: translateY(-4px); pointer-events: none;
}
.cart-btn.bump { animation: cart-bump .4s ease; }
.cart-btn.bump .cart-hint { animation: cart-hint 1.8s ease; }
@keyframes cart-bump {
    0% { transform: scale(1); }
    45% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
@keyframes cart-hint {
    0% { opacity: 0; transform: translateY(-4px); }
    12% { opacity: 1; transform: translateY(0); }
    75% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
    .cart-btn.bump { animation: none; }
    .cart-btn.bump .cart-hint { animation: none; opacity: 1; transform: none; }
}
.cart-btn:hover { background: var(--red-dark); }
.cart-btn b {
    min-width: 22px; height: 22px; border-radius: 50%;
    display: inline-grid; place-items: center;
    background: white; color: var(--red); font-size: 0.8rem;
}
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; cursor: pointer; background: var(--red); color: white;
    border-radius: 12px; padding: 12px 16px; font-weight: 700;
}
.btn:hover { background: var(--red-dark); }
.btn.full { width: 100%; }
.btn.is-disabled { opacity: .4; pointer-events: none; }
.ghost, .text-link { color: var(--muted); background: transparent; border: 0; cursor: pointer; font-weight: 650; }
.text-link { color: var(--red); }

.cover {
    width: 100%; height: 280px; margin-top: 16px;
    object-fit: cover; object-position: center;
    border-radius: 22px; background: #111;
}
.muted { color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.status-line { margin: 14px 2px 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #c9a227; }
.dot.on { background: var(--green); }
.dot.off { background: var(--red); }

.cats {
    position: sticky; top: var(--header); z-index: 20;
    display: flex; flex-wrap: wrap; gap: 6px;
    margin: 8px 0 14px; padding: 10px 0;
    background: var(--paper);
}
.cats button {
    flex: 0 0 auto; padding: 8px 12px; border-radius: 999px;
    background: white; border: 1px solid var(--line); font: inherit; font-weight: 650; font-size: 0.92rem;
    cursor: pointer; color: inherit;
}
.cats button:hover, .cats button.on { background: var(--black); color: white; border-color: var(--black); }
.category { display: none; }
.category.on { display: block; }

.cats { scroll-margin-top: calc(var(--header) + 8px); }
.category {
    background: white; border: 1px solid var(--line); border-radius: 18px;
    margin-bottom: 16px; overflow: hidden;
}
.category h2 { padding: 16px 16px 12px; font-size: 1.45rem; }
.category h2::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--red); vertical-align: 3px; }
.item {
    display: grid; grid-template-columns: 104px 1fr; gap: 10px 14px;
    padding: 14px 16px; border-top: 1px solid var(--line); align-items: center;
}
.item-copy { min-width: 0; }
.item img {
    width: 104px; height: 104px; object-fit: contain;
    background: #f6f1ea; border-radius: 14px;
}
.item h3 { font-size: 1.05rem; }
.item p {
    margin-top: 3px; color: var(--muted); font-size: 0.92rem;
}
.add-form { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.size {
    position: relative; border: 1px solid var(--line); border-radius: 10px;
    padding: 7px 10px; background: #fff; cursor: pointer;
    display: flex; flex-direction: column; min-width: 78px;
}
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size span { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.size strong { font-size: 0.92rem; white-space: nowrap; }
.size:has(input:checked) { border-color: var(--red); background: #fff5f6; color: var(--red); }
.size:has(input:checked) span, .size:has(input:checked) strong { color: var(--red); }
.btn.add { padding: 10px 14px; border-radius: 10px; white-space: nowrap; }
.menu-form { flex-wrap: wrap; align-items: stretch; }
.lunch-note { margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: #fff4e5; color: #8a4b00; font-weight: 650; }
.menu-picks { flex: 1 1 100%; display: grid; gap: 8px; }
.menu-picks label { display: grid; gap: 4px; margin: 0; font-size: 0.78rem; font-weight: 750; color: var(--muted); }
.menu-picks select {
    width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 10px;
    padding: 10px 12px; background: white; color: var(--ink); font-size: 16px;
}
.menu-form .btn.add { width: 100%; }
.line span { display: block; overflow-wrap: anywhere; }

.hours-card, .panel, .order-card, .auth-card {
    background: white; border: 1px solid var(--line); border-radius: 18px;
}
.hours-card { padding: 16px; margin: 8px 0 28px; }
.hours-card h2 { margin-bottom: 12px; font-size: 1.2rem; }
.hours { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.hours article { background: var(--paper); border-radius: 12px; padding: 10px; }
.hours strong { display: block; font-size: 0.92rem; }
.hours span { color: var(--muted); font-size: 0.82rem; }
.site-footer { color: var(--muted); padding: 8px 0 28px; font-size: 0.92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer a { color: var(--ink); font-weight: 650; }

.page { padding: 28px 0 80px; }
.page h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 16px; }
.crumb { color: var(--muted); margin-bottom: 8px; }
.crumb a { color: var(--red); font-weight: 700; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.stack { display: grid; gap: 16px; }
.panel { padding: 20px; }
.contact-card { padding: 20px; display: grid; gap: 12px; margin-bottom: 14px; }
.contact-card a { color: var(--red); font-weight: 750; }
.page .lead { color: var(--muted); margin: -6px 0 16px; }
.checkout-page h1 { margin-bottom: 18px; }
.panel h2, .ticket h2 { font-size: 1.05rem; margin-bottom: 14px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label.field { display: block; font-weight: 650; margin: 0 0 10px; }
.field span { display: block; margin-bottom: 6px; font-size: 0.88rem; }
input[type="text"], input[type="tel"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], textarea, select {
    width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; background: #fff;
    font-size: 16px;
}
.city-error, .delivery-note.is-error { color: var(--red); font-size: 0.88rem; font-weight: 650; margin: -2px 0 10px; }
.delivery-note { color: var(--ink); font-size: 0.9rem; font-weight: 650; margin: -2px 0 10px; }
.delivery-details { margin-top: 10px; }
.delivery-details summary { cursor: pointer; color: var(--red); font-weight: 700; list-style: none; }
.delivery-details summary::-webkit-details-marker { display: none; }
.delivery-details .when-open { display: none; }
.delivery-details[open] .when-closed { display: none; }
.delivery-details[open] .when-open { display: inline; }
.delivery-rules { list-style: none; margin: 10px 0 0; display: grid; gap: 6px; }
.text-button { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--red); font: inherit; font-weight: 700; cursor: pointer; }
.delivery-rules li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 12px; background: #f6f1ea; font-size: 0.84rem; }
.delivery-rules strong { white-space: nowrap; }
textarea { min-height: 84px; resize: vertical; }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.choice label {
    position: relative; margin: 0; border: 1px solid var(--line); border-radius: 16px;
    padding: 14px; background: #fff; cursor: pointer; min-height: 72px;
    display: flex; align-items: center;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label span { display: grid; gap: 2px; }
.choice label strong { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.choice label i { font-style: normal; font-size: 1.25rem; line-height: 1; }
.choice label small { font-weight: 550; color: var(--muted); font-size: 0.82rem; }
.choice label:has(input:checked) { background: #111; color: white; border-color: #111; }
.choice label:has(input:checked) small { color: rgba(255,255,255,.7); }
.choice label:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.day-label { margin: 4px 0 10px; font-weight: 750; }
.picks { display: flex; gap: 8px; margin-bottom: 12px; }
.pick {
    flex: 1; border: 1px solid var(--line); background: white; color: inherit;
    border-radius: 14px; padding: 12px 10px; font: inherit; font-weight: 750; cursor: pointer;
}
.pick.on { background: #111; color: white; border-color: #111; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slots label {
    position: relative; margin: 0; border: 1px solid var(--line); border-radius: 12px;
    min-height: 46px; display: grid; place-items: center;
    font-weight: 750; background: #fff; cursor: pointer;
}
.slots input { position: absolute; opacity: 0; }
.slots label:has(input:checked) { background: var(--red); color: white; border-color: var(--red); }
.alert { background: #ffe8e6; color: #8d1d16; border-radius: 12px; padding: 12px 14px; }
.alert p + p { margin-top: 6px; }
.panel.invalid { border-color: #c8102e; box-shadow: 0 0 0 3px rgba(200, 16, 46, .16); }
.field.invalid input, .field.invalid textarea, .field.invalid select {
    border-color: #c8102e; background: #fff6f6; box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
}
.choice.invalid label, .slots.invalid label { border-color: #c8102e; box-shadow: inset 0 0 0 1px #c8102e; }
.ticket { position: sticky; top: 88px; background: #111; color: white; border-color: #111; }
.ticket h2 { color: white; }
.ticket ul, .order-card ul { list-style: none; margin: 0; padding: 0; }
.ticket li, .order-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ticket li { border-bottom-color: rgba(255,255,255,.14); font-size: 0.92rem; }
.ticket .total { margin-top: 14px; font-size: 1.35rem; }
.paybar { margin-top: 4px; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.25rem; font-weight: 750; margin-top: 12px; }
.note { margin: 0 0 12px; color: var(--muted); font-size: 0.88rem; }

.auth-page {
    min-height: calc(100vh - var(--header));
    display: flex; flex-direction: column; align-items: center;
    padding: 24px 16px 80px;
}
.auth-card { width: min(460px, 100%); margin-inline: auto; padding: 22px; box-shadow: var(--shadow); }
.auth-card.wide { width: min(560px, 100%); }
.saved { background: #e7f6ea; color: #14632c; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.ghost-btn { background: white; color: var(--ink); border: 1px solid var(--line); margin-top: 10px; }
.auth-logo { width: 72px; height: 72px; object-fit: contain; margin-bottom: 8px; }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-card .lead { color: var(--muted); margin-bottom: 16px; }
.switch { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 12px; padding: 4px; margin: 14px 0; }
.switch button { border: 0; background: transparent; border-radius: 10px; padding: 10px; cursor: pointer; font-weight: 700; }
.switch button.on { background: white; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.profile { display: grid; gap: 8px; margin: 16px 0; }
.profile div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.profile dt { color: var(--muted); }
.auth-card .btn { margin-top: 8px; }
.forgot { margin: 14px 0 0; text-align: center; }
.forgot a { color: var(--red); font-weight: 700; }
.logout { display: inline-block; margin-top: 14px; }
.account-menu { display: grid; gap: 10px; }
.account-block, .account-row {
    background: var(--paper); border-radius: 16px; color: inherit;
}
.account-block summary, .account-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 750;
}
.account-block summary::-webkit-details-marker { display: none; }
.account-block summary::marker { content: ""; }
.account-block summary span, .account-row span { display: grid; gap: 2px; text-align: left; }
.account-block summary small, .account-row small { color: var(--muted); font-weight: 550; font-size: 0.85rem; }
.account-block summary::after, .account-row::after {
    content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-right: 4px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}
.account-block[open] summary::after { transform: rotate(45deg); margin-top: -4px; }
.account-block form, .account-block .alert, .account-block .saved { margin: 0 14px 14px; }
.account-row.out { color: var(--red); }
.account-row.out::after { display: none; }

.order-filters { display: flex; gap: 6px; overflow: auto; margin: 0 0 14px; }
.order-filters button {
    flex: 0 0 auto; border: 1px solid var(--line); background: white; color: inherit;
    border-radius: 999px; padding: 8px 12px; font: inherit; font-weight: 750; cursor: pointer;
}
.order-filters button.on { background: #111; color: white; border-color: #111; }
.orders { display: grid; gap: 12px; }
.order-card { padding: 16px; }
.order-card.attente { background: #fff5f6; border-color: #f0c3cb; }
.order-card.preparation { background: #fff8ec; border-color: #f0d7a4; }
.order-card.prete { background: #f3fbf5; border-color: #b7e4c4; }
.order-card.terminee { background: #f3f7fc; border-color: #c5d6ea; }
.order-card.annulee { background: #f7f5f3; border-color: #e0d9d2; }
.order-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.order-top > div:last-child { display: grid; gap: 6px; justify-items: end; text-align: right; }
.badge { display: inline-flex; border-radius: 999px; padding: 4px 10px; font-size: 0.82rem; font-weight: 750; background: #111; color: white; }
.badge.attente { background: #9d1024; }
.badge.preparation { background: #8a5a08; }
.badge.prete { background: #157a34; }
.badge.terminee { background: #1d4e89; }
.badge.annulee { background: #6e645c; }
.order-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.order-actions .btn { margin: 0; }
.order-actions .quiet { background: white; color: var(--ink); border: 1px solid var(--line); }
.empty { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }

.track { display: flex; gap: 0; list-style: none; margin: 18px 0; padding: 0; }
.track li { flex: 1; text-align: center; position: relative; color: var(--muted); font-weight: 700; padding-top: 18px; }
.track li::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--line); border-radius: 4px;
}
.track li.done { color: var(--green); }
.track li.done::before, .track li.now::before { background: var(--green); }
.track li.now { color: var(--red); }
.track li.now::before { background: var(--red); }
.suivi { width: min(680px, 100%); }
.suivi h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

body.cart-open {
    position: fixed; left: 0; right: 0; width: 100%; overflow: hidden;
}
.backdrop {
    position: fixed; inset: 0; z-index: 55; background: rgba(17,17,17,.45);
}
.backdrop[hidden] { display: none; }
.drawer {
    position: fixed; z-index: 60; top: 0; right: 0; bottom: 0;
    width: min(400px, 100%); background: #f6f2eb;
    display: flex; flex-direction: column;
    transform: translateX(105%); transition: transform .22s ease;
    box-shadow: -16px 0 50px rgba(0,0,0,.16);
}
.drawer.is-open { transform: none; }
.drawer header { padding: 16px 16px 12px; display: flex; justify-content: space-between; align-items: center; background: white; }
.drawer header strong { display: block; font-size: 1.2rem; }
.drawer-count { color: var(--muted); font-size: 0.85rem; }
.drawer footer { padding: 16px; display: block; background: #111; color: white; }
.drawer footer .total { margin: 0 0 12px; color: white; }
.deal { margin: 0 0 8px; color: #9be7b0; font-size: 0.86rem; font-weight: 700; }
.drawer footer .btn { background: var(--red); }
.drawer-body { flex: 1; overflow: auto; padding: 12px; overscroll-behavior: contain; }
.line {
    display: flex; justify-content: space-between; gap: 12px; align-items: center;
    background: white; border-radius: 16px; padding: 12px; margin-bottom: 8px;
}
.line strong { display: block; font-size: 0.98rem; }
.line span { color: var(--muted); font-size: 0.82rem; }
.line-side { display: grid; justify-items: end; gap: 8px; }
.line-side > b { font-size: 0.95rem; }
.cart-empty { text-align: center; padding: 36px 12px; color: var(--muted); }
.cart-empty a { display: inline-block; margin-top: 10px; color: var(--red); font-weight: 750; }
.qty { display: flex; align-items: center; gap: 4px; background: var(--paper); border-radius: 999px; padding: 3px; }
.qty b { min-width: 18px; text-align: center; }
.qty button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: white; cursor: pointer; font-size: 1.1rem; font-weight: 700; }
.mobile-bar {
    display: none; position: fixed; z-index: 30; left: 12px; right: 12px; bottom: 12px;
    background: var(--black); color: white; border: 0; border-radius: 14px;
    padding: 14px 16px; justify-content: space-between; align-items: center;
    font-weight: 750; cursor: pointer;
}
.mobile-bar[hidden] { display: none !important; }

.tabbar { display: none; }

@media (min-width: 1080px) {
    body.page-home .menu-page { margin-right: 360px; padding: 0 18px 0 8px; }
    body.page-home .drawer {
        top: var(--header); width: 360px; transform: none;
        box-shadow: none; border-left: 1px solid var(--line); z-index: 30;
    }
    body.page-home .backdrop { display: none !important; }
    body.page-home .drawer [data-close-cart] { visibility: hidden; }
}
@media (max-width: 1079px) {
    .brand-copy span, .phone { display: none; }
    .nav a { padding: 8px; font-size: 0.92rem; }
    .cart-word { display: none; }
}
@media (max-width: 800px) {
    .nav, .phone { display: none; }
    .top { height: var(--header); }
    .top-inner { height: 100%; flex-wrap: nowrap; padding: 0; }
    .brand img { width: 44px; height: 44px; }
    .brand-copy strong { white-space: nowrap; font-size: 1rem; }
    .status-line { white-space: normal; }
    .drawer {
        top: auto; left: 0; right: 0; bottom: 0; width: 100%;
        height: auto; max-height: min(82vh, 680px);
        border-radius: 22px 22px 0 0;
        transform: translateY(110%);
    }
    .drawer-body { min-height: 0; }
    .drawer.is-open { transform: none; }
    .checkout { display: flex; flex-direction: column; align-items: stretch; }
    .checkout > .stack, .checkout > .ticket { width: 100%; min-width: 0; }
    .fields, .hours { grid-template-columns: 1fr; }
    .checkout .fields { grid-template-columns: 1fr 1fr; }
    .checkout .fields:has(input[type="email"]),
    .checkout .fields:has(select) { grid-template-columns: 1fr; }
    .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ticket { position: static; order: -1; width: 100%; }
    .ticket li span:first-child { min-width: 0; }
    .paybar {
        position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
        background: white; border-top: 1px solid var(--line);
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        margin: 0;
    }
    body.page-checkout .tabbar { display: none; }
    body.page-checkout { padding-bottom: 0; }
    .checkout-page { padding-bottom: 108px; }
    .cover { height: 210px; border-radius: 18px; }
    .cats { top: var(--header); flex-wrap: nowrap; overflow: auto; }
    .item { grid-template-columns: 88px 1fr; gap: 8px 12px; padding: 12px 14px; }
    .item img { width: 88px; height: 88px; }
    .add-form { flex-wrap: wrap; align-items: stretch; }
    .sizes { flex: 1 0 100%; }
    .size { flex: 1; min-width: 0; align-items: center; text-align: center; padding: 8px 4px; }
    .btn.add { width: 100%; padding: 12px 14px; }
    .hours { grid-template-columns: 1fr 1fr; }
    .tabbar {
        display: grid; grid-template-columns: repeat(3, 1fr);
        position: fixed; z-index: 35; left: 18px; right: 18px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        background: rgba(22, 16, 14, .62); color: white;
        border: 1px solid rgba(255, 255, 255, .22);
        border-radius: 18px; padding: 3px;
        box-shadow: 0 8px 22px rgba(28, 20, 16, .16);
        backdrop-filter: blur(16px) saturate(1.35);
        -webkit-backdrop-filter: blur(16px) saturate(1.35);
    }
    .tabbar a {
        display: flex; flex-direction: column; align-items: center; gap: 1px;
        text-align: center; font-weight: 700; font-size: 0.68rem;
        padding: 5px 4px 4px; border-radius: 15px; color: rgba(255, 255, 255, .88);
    }
    .tabbar svg { width: 18px; height: 18px; }
    .tabbar a.on { color: #1c1410; background: rgba(255, 255, 255, .9); }
    .account-block .fields { grid-template-columns: 1fr 1fr; }
    body { padding-bottom: 78px; }
}
@media (min-width: 801px) {
    body.page-home .mobile-bar { display: none !important; }
}
