/* Sals Kebab House: customer website.
   Colours come from the shop's own sign: chilli red and pita gold. The page itself is the shop at night
   (warm char-black, lit by the grill), since Sal's is open till the early hours; the item window and basket
   stay light and plain so ordering is easy to read.
   One display face (Big Shoulders Display, condensed like shop-front lettering), system fonts for everything else. */
@font-face {
    font-family: "Big Shoulders";
    src: url("fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2");
    font-weight: 900;
    font-display: swap;
}

:root {
    --red: #d42a1e;
    --red-deep: #a81c13;
    --gold: #ffb81c;
    --gold-soft: #fff3d1;
    --char: #241b16;
    --char-2: #5b4f48;
    --char-3: #7d726b;
    --line: #e6e1de;
    --tile: #f5f3f2;
    --paper: #fff;
    --green: #1d7a34;
    --green-soft: #e2f3e5;
    --no: #b91f14;
    --no-soft: #fdeceb;
    --night: #140d0b;
    --night-2: #1f1613;
    --night-3: #2d211c;
    --cream: #f7efe8;
    --dim: #b9aaa1;
    --edge: rgb(255 255 255 / .08);
    --display: "Big Shoulders", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
    --body: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    --bar-h: 60px;
    --bar-gap: 10px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.45;
    color: var(--char);
    background: var(--paper);
    -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
/* room for the floating header plus the sticky menu strip (two rows on phones, one on tablets, none beside the desktop sidebar) */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + var(--bar-gap) * 2 + 128px); }
body { margin: 0; background: var(--night); color: var(--cream); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, ul, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { cursor: default; }
a { color: inherit; }
:focus-visible { outline: 3px solid #1f5fd1; outline-offset: 2px; }
body > header :focus-visible, main :focus-visible, .foot :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--paper); color: var(--char); border-radius: 8px; }
.skip:focus { left: 8px; }
.demo-banner { margin: 0; padding: 9px 16px; background: var(--gold); color: var(--char); font-weight: 700; font-size: 14px; text-align: center; }
.site-banner { margin: 0; padding: 10px 16px; background: var(--gold); color: var(--char); font-weight: 700; font-size: 15px; text-align: center; }
.site-banner[data-tone="red"] { background: var(--red); color: #fff; }
.site-banner[data-tone="dark"] { background: var(--night-3); color: var(--cream); }
.busy-banner { background: var(--night-3); color: var(--cream); font-weight: 600; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 20px; }
.small { font-size: 14px; color: var(--char-3); }
.price { font-variant-numeric: tabular-nums; font-weight: 700; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; text-decoration: none; transition: transform .12s var(--ease), background-color .15s;
}
.btn:active:not(:disabled) { transform: scale(.97); }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 17px; }
.btn-gold { background: var(--gold); color: var(--char); }
.btn-gold:hover { background: #ffc94d; }
.btn-line { border-color: rgb(255 255 255 / .7); color: #fff; }
.btn-line:hover { background: rgb(255 255 255 / .12); }
.btn-dark { background: var(--char); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover:not(:disabled) { background: var(--red-deep); }
.btn-red:disabled { background: #d9d3cf; color: var(--char-2); }
.btn-block { width: 100%; justify-content: space-between; }
.link { color: var(--red-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--char); }
.icon-btn:hover { background: var(--tile); }

/* ---------- top bar ---------- */
/* floats over the hero as a dark glass pill, turns solid chilli red once the page moves */
.bar {
    position: sticky; top: var(--bar-gap); z-index: 40; height: var(--bar-h);
    margin: var(--bar-gap) max(10px, env(safe-area-inset-left)) calc(-1 * var(--bar-h));
    display: flex; align-items: center; gap: 20px; padding: 0 8px 0 14px; border-radius: 999px;
    background: rgb(20 13 11 / .55); border: 1px solid var(--edge); color: #fff;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.bar.scrolled { background: var(--red); border-color: transparent; box-shadow: 0 10px 30px rgb(0 0 0 / .45); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { height: 40px; width: auto; border-radius: 6px; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; letter-spacing: .01em; }
.brand img + .brand-name { display: none; }
.nav { display: none; gap: 26px; }
.nav a { font-weight: 600; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--gold); }
.basket-btn {
    position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px;
    border-radius: 999px; background: var(--night); color: #fff; font-weight: 700; border: 1px solid rgb(255 255 255 / .14);
}
.basket-btn .count {
    min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; display: grid; place-items: center;
    background: var(--gold); color: var(--char); font-size: 13px; font-variant-numeric: tabular-nums;
}
.basket-btn.bump .count { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.45); } 60% { transform: scale(.9); } }
.basket-label { display: none; }

/* ---------- hero ---------- */
.hero {
    position: relative; overflow: hidden; display: grid; gap: 8px;
    padding: calc(var(--bar-h) + var(--bar-gap) + 28px) 20px 40px; color: #fff;
    background:
        radial-gradient(ellipse 60% 55% at 78% 48%, rgb(212 42 30 / .62), transparent 70%),
        radial-gradient(ellipse 50% 40% at 10% 105%, rgb(255 184 28 / .16), transparent 70%),
        var(--night);
    border-bottom: 1px solid var(--edge);
}
.hero-copy { position: relative; z-index: 2; max-width: 640px; }
.status { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 14px 0 12px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid var(--edge); font-weight: 600; font-size: 15px; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: #bdb2ab; }
.status.open .dot { background: #5ee07c; box-shadow: 0 0 0 0 rgb(94 224 124 / .7); animation: ping 2.4s infinite; }
.status.closed .dot { background: var(--gold); }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgb(94 224 124 / 0); } 100% { box-shadow: 0 0 0 0 rgb(94 224 124 / 0); } }
.hero-title {
    margin: 18px 0 16px; font-family: var(--display); font-weight: 900; text-transform: uppercase;
    font-size: clamp(38px, 12.6vw, 64px); line-height: .9; white-space: nowrap; letter-spacing: .005em;
}
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .ln > span { display: block; }
.hero-title .ln:last-child { color: var(--gold); }
.lede { max-width: 40ch; font-size: 18px; color: rgb(255 255 255 / .85); }
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 440px; margin: 24px 0 18px; padding: 6px; border-radius: 18px; background: rgb(255 255 255 / .08); border: 1px solid var(--edge); }
.mode button { display: flex; flex-direction: column; align-items: flex-start; padding: 10px 14px; border-radius: 13px; color: #fff; text-align: left; transition: background-color .2s, color .2s; }
.mode button strong { font-size: 17px; }
.mode button span { font-size: 13px; opacity: .85; }
.mode button[aria-checked="true"] { background: #fff; color: var(--char); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .06); border: 1px solid var(--edge); font-size: 14px; color: var(--dim); }

.hero-art { position: relative; height: 300px; display: grid; place-items: center; margin-top: 8px; }
.spit { height: 100%; width: auto; position: relative; z-index: 1; filter: drop-shadow(0 18px 30px rgb(0 0 0 / .55)); }
.turn { animation: turn 9s linear infinite; }
@keyframes turn { to { transform: translateX(-180px); } }
.glow {
    position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, #ffb347 0%, rgb(255 140 40 / .55) 35%, rgb(212 42 30 / 0) 70%);
    animation: glow 3.2s ease-in-out infinite alternate;
}
@keyframes glow { from { opacity: .55; transform: scale(.94); } to { opacity: .95; transform: scale(1.04); } }
.sticker {
    position: absolute; z-index: 2; right: 8%; top: 8%; width: 104px; height: 104px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    background: var(--gold); color: var(--char); transform: rotate(10deg); box-shadow: 0 6px 0 rgb(0 0 0 / .18);
    font-weight: 700; font-size: 13px; line-height: 1.1;
}
.sticker strong { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; }
.sticker.shut { background: #fff; }

/* the one page-load moment: the sign lines rise in turn, the spit swings in, the sticker stamps on */
.hero-title .ln > span { animation: rise .7s var(--ease) both; }
.hero-title .ln:nth-child(2) > span { animation-delay: .08s; }
.hero-title .ln:nth-child(3) > span { animation-delay: .16s; }
.spit { animation: swing-in .9s .1s var(--ease) both; }
.sticker { animation: stamp .5s .65s var(--ease) both; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes swing-in { from { opacity: 0; transform: translateY(40px) rotate(-6deg); } }
@keyframes stamp { from { opacity: 0; transform: rotate(-30deg) scale(1.6); } }

/* ---------- most ordered ---------- */
.popular { padding: 40px 0 8px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 16px; }
.section-head h2, .visit h2 { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; text-transform: uppercase; }
.section-head p { color: var(--dim); }
.rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 14px; overflow-x: auto;
    padding: 4px max(20px, calc((100vw - 1160px) / 2)) 20px; scroll-snap-type: x mandatory; scroll-padding: 0 20px;
    scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail .item { scroll-snap-align: start; }
.rail .rank {
    position: absolute; z-index: 1; left: 10px; top: 10px; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 17px;
    display: grid; place-items: center; background: var(--char); color: #fff; font-family: var(--display); font-weight: 900; font-size: 20px;
}

/* ---------- menu ---------- */
.menu { padding-bottom: 56px; outline: none; }
.menu-layout { display: block; }
/* phones and tablets: a sticky strip of category pills under the header, search beneath */
.menu-bar {
    position: sticky; top: calc(var(--bar-h) + var(--bar-gap) * 2); z-index: 30; display: flex; flex-direction: column-reverse; gap: 8px;
    margin: 0 -20px; padding: 10px 20px; background: rgb(20 13 11 / .92); border-bottom: 1px solid var(--edge);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.cats { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.cats::-webkit-scrollbar { display: none; }
.cats a {
    position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px;
    border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--dim); transition: color .2s;
}
.cats a:hover { color: #fff; }
.cats a[aria-current="true"] { color: #fff; }
.cat-ink {
    position: absolute; z-index: 0; left: 0; top: 0; height: 42px; width: 0; border-radius: 999px; background: var(--red);
    transition: transform .35s var(--ease), width .35s var(--ease), height .35s var(--ease);
}
.search { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--night-2); border: 1px solid var(--edge); color: var(--dim); }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--cream); font-size: 16px; padding: 10px 0; }
.search input::placeholder { color: var(--dim); }
.search:focus-within { border-color: var(--gold); }

.cat-block { padding-top: 34px; }
.cat-block > h2 { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1; text-transform: uppercase; margin-bottom: 4px; }
.group-title { margin: 20px 0 10px; font-size: 18px; font-weight: 700; color: var(--dim); }
.empty-search { padding: 40px 0; font-size: 18px; color: var(--dim); }
.empty-search .link { color: var(--gold); }

/* menu list cards (Uber-style): words left, square photo right */
.dishes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 14px; }
.dish {
    position: relative; display: flex; gap: 14px; align-items: stretch; min-height: 124px; padding: 14px; border-radius: 18px;
    background: var(--night-2); border: 1px solid var(--edge); text-align: left;
    transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.dish:hover { border-color: rgb(255 184 28 / .45); background: var(--night-3); }
.dish:active { transform: scale(.985); }
.dish-text { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 2px 0; }
.dish .name { font-weight: 800; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.dish .price { font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.dish .desc { font-size: 14px; color: var(--dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish .photo { position: relative; flex: none; width: 96px; aspect-ratio: 1; align-self: center; border-radius: 14px; overflow: hidden; background: var(--night-3); }
.dish .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.dish:hover .photo img { transform: scale(1.06); }
.dish.no-photo .photo { width: 40px; align-self: flex-end; background: none; overflow: visible; }
.dish .add {
    position: absolute; right: 6px; bottom: 6px; width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 4px 12px rgb(0 0 0 / .4);
}
.dish.no-photo .add { right: 0; bottom: 0; width: 40px; height: 40px; }
.dish.unavailable { opacity: .5; }
.dish.unavailable .price { color: var(--dim); font-weight: 600; }

.item { position: relative; display: flex; flex-direction: column; text-align: left; width: 100%; }
.item .photo {
    position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--tile);
}
.item .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.item:hover .photo img { transform: scale(1.05); }
.item .tag {
    position: absolute; left: 8px; bottom: 10px; max-width: calc(100% - 62px); white-space: nowrap; padding: 4px 10px 3px; border-radius: 8px;
    background: var(--gold); color: var(--char); font-family: var(--display); font-weight: 900; font-size: clamp(17px, 4.6vw, 22px); line-height: 1.05;
    transform: rotate(-3deg); font-variant-numeric: tabular-nums;
}
.item .tag.off { background: #fff; font-family: var(--body); font-size: 13px; font-weight: 700; line-height: 1.6; transform: none; }
.item .add {
    position: absolute; right: 8px; bottom: 8px; width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 4px 10px rgb(120 10 4 / .3);
    transition: transform .15s var(--ease);
}
.item:active .add { transform: scale(.88); }
.item .name { margin-top: 10px; font-weight: 700; font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.item .desc { font-size: 14px; color: var(--dim); }
.item .photo { border: 1px solid var(--edge); }
.item.unavailable { opacity: .55; }
.item.unavailable .add { display: none; }
/* no photo: the item's name, signwritten */
.noimg {
    width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 14px 14px 52px;
    background: repeating-linear-gradient(135deg, var(--char) 0 14px, #2e231d 14px 28px); color: var(--gold);
    font-family: var(--display); font-weight: 900; font-size: clamp(22px, 5vw, 30px); line-height: .95; text-transform: uppercase;
    overflow-wrap: anywhere;
}

/* flying dot when something is added */
.fly {
    position: fixed; z-index: 90; width: 44px; height: 44px; border-radius: 50%; pointer-events: none;
    background: var(--gold) center / cover no-repeat; box-shadow: 0 4px 14px rgb(0 0 0 / .25);
}

/* ---------- visit ---------- */
.visit { padding: 64px 0; background: var(--night-2); color: #fff; border-top: 1px solid var(--edge); }
.visit-grid { display: grid; gap: 40px; }
.visit h2 { font-size: 34px; margin-bottom: 16px; color: var(--gold); }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgb(255 255 255 / .12); font-variant-numeric: tabular-nums; }
.hours-list li.today { font-weight: 800; }
.hours-list li.closure { color: var(--gold); }
.hours-list li.today span:first-child::after { content: "Today"; margin-left: 10px; padding: 2px 8px; border-radius: 6px; background: var(--gold); color: var(--char); font-size: 12px; font-weight: 800; vertical-align: 2px; }
.visit .small { color: rgb(255 255 255 / .7); margin-top: 10px; }
.find address { font-size: 20px; line-height: 1.35; margin-bottom: 16px; }
.find p + p { margin-top: 14px; }
.find .btn-dark { background: #fff; color: var(--char); }
.find a[href^="tel"] { font-weight: 700; }
.facts li { padding: 9px 0; border-bottom: 1px solid rgb(255 255 255 / .12); }
.allergy { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgb(255 184 28 / .14); color: #ffe7b0; }

/* footer: big signwritten links, GDK-style */
.foot { padding: 48px 0 120px; background: var(--night); color: var(--dim); font-size: 15px; border-top: 3px solid var(--red); }
.foot-inner { display: grid; gap: 32px; }
.foot-brand { display: grid; gap: 8px; align-content: start; }
.foot-brand img { height: 52px; width: auto; border-radius: 6px; margin-bottom: 6px; }
.foot-late { color: var(--gold); font-weight: 700; }
.foot-links { display: grid; }
.foot-links a {
    display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid rgb(255 184 28 / .35);
    font-family: var(--display); font-weight: 900; font-size: 30px; text-transform: uppercase; text-decoration: none; color: var(--gold);
    transition: color .2s, padding-left .25s var(--ease);
}
.foot-links a:hover { color: #fff; padding-left: 8px; }

/* ---------- floating basket (phones) ---------- */
.float-basket {
    position: fixed; z-index: 35; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 0 22px;
    border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 17px;
    box-shadow: 0 10px 28px rgb(120 10 4 / .35); animation: float-in .35s var(--ease);
}
@keyframes float-in { from { transform: translateY(120%); } }

/* ---------- basket drawer ---------- */
.drawer {
    position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%;
    background: var(--paper); color: var(--char);
}
.drawer[open] { display: flex; flex-direction: column; animation: drawer-in .32s var(--ease); }
.drawer.closing { animation: drawer-out .22s ease-in forwards; }
.drawer::backdrop { background: rgb(36 27 22 / .5); animation: fade .3s; }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes drawer-out { to { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }
.drawer-head { flex: none; display: flex; align-items: center; gap: 6px; min-height: 64px; padding: 0 10px 0 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { flex: 1; font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; text-transform: uppercase; }
.drawer-head .icon-btn:first-child:not([hidden]) + h2 { margin-left: -6px; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px 24px; }
.drawer-body.slide-in { animation: slide .28s var(--ease); }
@keyframes slide { from { opacity: 0; transform: translateX(28px); } }
.drawer-foot { flex: none; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-foot:empty { display: none; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: var(--tile); margin-bottom: 14px; }
.seg button { min-height: 42px; border-radius: 10px; font-weight: 700; color: var(--char-2); }
.seg button[aria-checked="true"] { background: var(--paper); color: var(--char); box-shadow: 0 1px 4px rgb(0 0 0 / .1); }

.lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); animation: line-in .3s var(--ease); }
@keyframes line-in { from { opacity: 0; transform: translateY(-6px); } }
.lines .thumb { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--tile); }
.lines .thumb img { width: 100%; height: 100%; object-fit: cover; }
.lines .thumb.blank { background: repeating-linear-gradient(135deg, var(--char) 0 8px, #2e231d 8px 16px); }
.lines strong { display: block; line-height: 1.25; }
.lines .opts { font-size: 14px; color: var(--char-2); overflow-wrap: anywhere; }
.lines .note { font-style: italic; }
.lines .side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.lines li.bad strong, .lines li.bad .opts { color: var(--no); }
.qty { display: inline-flex; align-items: center; border-radius: 999px; background: var(--tile); }
.qty button { width: 38px; height: 38px; border-radius: 50%; font-size: 20px; font-weight: 700; display: grid; place-items: center; }
.qty button:hover:not(:disabled) { background: var(--line); }
.qty button:disabled { opacity: .35; }
.qty span { min-width: 20px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; margin: 16px 0 4px; font-variant-numeric: tabular-nums; }
.totals dt, .totals dd { margin: 0; }
.totals dd { text-align: right; }
.totals .grand { font-size: 20px; font-weight: 800; }
.note-box { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--no-soft); color: #7f160e; font-weight: 600; }
.note-box.ok { background: var(--green-soft); color: #11501f; }
.empty { text-align: center; padding: 40px 10px; }
.empty .big { font-family: var(--display); font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.empty p + .btn, .empty p + p { margin-top: 16px; }
.drawer-foot .small { text-align: center; margin-top: 8px; }
.small.fine { margin-top: 14px; }
.note-box.recent { margin-top: 20px; }
.btn.wide { width: 100%; }
.noimg.mini { padding: 0; }

/* checkout form */
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.field > span, .field > legend { font-size: 14px; font-weight: 700; color: var(--char-2); padding: 0; }
.field small { color: var(--char-3); }
fieldset.field { border: 0; margin-inline: 0; padding: 0; min-width: 0; }
.input {
    width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
    font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--char); box-shadow: 0 0 0 3px rgb(36 27 22 / .1); }
.input:user-invalid { border-color: var(--no); }
textarea.input { resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; margin-top: 8px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.choice-row:has(input:checked) { border-color: var(--char); background: var(--tile); }
.choice-row input { width: 20px; height: 20px; accent-color: var(--red); margin: 0; }
.check { display: flex; align-items: center; gap: 10px; margin-top: 16px; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.summary { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--tile); font-weight: 600; }

/* confirmation */
.done { text-align: center; padding: 20px 4px; }
.done .stamp {
    width: 120px; height: 120px; margin: 4px auto 20px; border-radius: 50%; display: grid; place-items: center;
    background: var(--gold); color: var(--char); font-family: var(--display); font-weight: 900; font-size: 46px; line-height: 1;
    transform: rotate(-8deg); animation: stamp .55s var(--ease) both;
}
.done h3 { font-family: var(--display); font-weight: 900; font-size: 36px; line-height: 1; text-transform: uppercase; margin-bottom: 12px; }
.done p { margin-top: 10px; font-size: 17px; }
.done .small { font-size: 15px; }

/* ---------- item sheet ---------- */
.sheet {
    margin: auto auto 0; padding: 0; border: 0; width: 100%; max-width: 100%; max-height: 92dvh;
    border-radius: 22px 22px 0 0; background: var(--paper); color: var(--char); overflow: hidden;
}
.sheet[open] { display: flex; flex-direction: column; animation: sheet-up .32s var(--ease); }
.sheet.closing { animation: sheet-down .2s ease-in forwards; }
.sheet::backdrop { background: rgb(36 27 22 / .55); animation: fade .3s; }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }
.sheet-head { position: relative; flex: none; display: flex; gap: 14px; align-items: center; padding: 16px 60px 14px 18px; border-bottom: 1px solid var(--line); }
.sheet-head .pic { flex: none; width: 76px; height: 76px; border-radius: 16px; overflow: hidden; background: var(--tile); }
.sheet-head .pic img { width: 100%; height: 100%; object-fit: cover; }
.sheet-head h2 { font-family: var(--display); font-weight: 900; font-size: 32px; line-height: .95; text-transform: uppercase; overflow-wrap: anywhere; }
.sheet-head p { color: var(--char-3); font-size: 14px; margin-top: 4px; }
.sheet-head .icon-btn { position: absolute; right: 8px; top: 8px; }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 18px 22px; }
.opt { padding-top: 20px; }
.opt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.opt-head h3 { font-size: 17px; }
.opt-head span { font-size: 13px; color: var(--char-3); font-weight: 600; white-space: nowrap; }
.opt-head .need { padding: 2px 8px; border-radius: 6px; background: var(--gold-soft); color: #6b4a00; }
.opt-head .need.miss { background: var(--no-soft); color: var(--no); }
.opt-head .done-mark { color: var(--green); }

/* list rows: sizes, choices, add-ons */
.rows { display: grid; gap: 8px; }
.rows.cols { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.row-btn {
    display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border-radius: 12px;
    border: 1.5px solid var(--line); text-align: left; transition: border-color .15s, background-color .15s;
}
.row-btn .mark { flex: none; width: 22px; height: 22px; border: 2px solid var(--char-3); display: grid; place-items: center; transition: background-color .15s, border-color .15s; }
.row-btn .mark.round { border-radius: 50%; }
.row-btn .mark.box { border-radius: 6px; }
.row-btn .label { flex: 1; font-weight: 600; }
.row-btn .extra { font-size: 14px; color: var(--char-2); font-variant-numeric: tabular-nums; font-weight: 600; }
.row-btn[aria-pressed="true"] { border-color: var(--char); background: var(--tile); }
.row-btn[aria-pressed="true"] .mark { background: var(--red); border-color: var(--red); }
.row-btn[aria-pressed="true"] .mark.round { box-shadow: inset 0 0 0 4px var(--tile); }
.row-btn[aria-pressed="true"] .mark.box::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.row-btn:disabled { opacity: .4; }
.row-btn.removed .label { text-decoration: line-through; color: var(--char-3); }

/* tiles: salad, sauce, on the chips */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.tile {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 9px;
    border-radius: 14px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; line-height: 1.15; text-align: center;
    transition: border-color .15s, background-color .15s, transform .12s;
}
.tile:active { transform: scale(.95); }
.tile .ico { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--tile); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 22px; color: var(--char-3); }
.tile .ico img { width: 100%; height: 100%; object-fit: cover; }
.tile .badge { position: absolute; right: 6px; top: 6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; }
.tile.on { border-color: var(--green); background: var(--green-soft); }
.tile.on .badge { background: var(--green); }
.tile.no { border-color: var(--no); background: var(--no-soft); color: var(--no); }
.tile.no .badge { background: var(--no); }
.tile.no .ico { filter: grayscale(1); opacity: .6; }
.tile.extra { border-color: #c98a00; background: var(--gold-soft); }
.tile.extra .badge { background: #a86f00; font-size: 9px; }
.tile.none-tile { border-style: dashed; }
.hint-line { font-size: 13px; color: var(--char-3); margin: -4px 0 10px; }

.sheet-foot { flex: none; display: flex; gap: 12px; align-items: center; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-foot .btn { flex: 1; justify-content: space-between; min-height: 54px; }
.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- toast ---------- */
.toast {
    position: fixed; z-index: 95; left: 50%; bottom: 92px; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px;
    background: var(--char); color: #fff; font-weight: 600; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- tablets ---------- */
@media (min-width: 640px) {
    .wrap { padding: 0 28px; }
    .bar { padding: 0 28px; }
    html { scroll-padding-top: calc(var(--bar-h) + var(--bar-gap) * 2 + 80px); }
    .bar { margin-inline: 16px; }
    .hero { padding: calc(var(--bar-h) + var(--bar-gap) + 40px) 28px 56px; }
    .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .dish .photo { width: 112px; }
    .dish.no-photo .photo { width: 40px; }
    .basket-label { display: inline; }
    .menu-bar { flex-direction: row-reverse; align-items: center; margin: 0 -28px; padding: 10px 28px; }
    .cats { flex: 1; margin: 0; padding: 0; }
    .search { width: 240px; flex: none; }
    .foot-inner { grid-template-columns: 1fr 1.2fr; gap: 48px; }
    .drawer { max-width: 440px; border-left: 1px solid var(--line); }
    .sheet { margin: auto; max-width: 560px; max-height: min(860px, 90dvh); border-radius: 22px; }
    @keyframes sheet-up { from { transform: translateY(40px) scale(.97); opacity: 0; } }
    @keyframes sheet-down { to { transform: translateY(30px) scale(.97); opacity: 0; } }
    .visit-grid { grid-template-columns: 1fr 1fr; }
    .ordering { grid-column: 1 / -1; }
}
/* ---------- laptops ---------- */
@media (min-width: 960px) {
    :root { --bar-h: 64px; --bar-gap: 14px; }
    html { scroll-padding-top: calc(var(--bar-h) + var(--bar-gap) * 2 + 24px); }
    .bar { margin-inline: max(24px, calc((100vw - 1240px) / 2)); padding: 0 10px 0 18px; }
    .nav { display: flex; }
    .hero {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; min-height: min(700px, 100dvh);
        padding: calc(var(--bar-h) + var(--bar-gap) + 40px) max(28px, calc((100vw - 1144px) / 2)) 48px;
    }
    /* desktop menu: category list down the left (sticky, highlights as you scroll), cards on the right */
    .menu-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
    .menu-bar {
        top: calc(var(--bar-h) + var(--bar-gap) * 2 + 16px); flex-direction: column; align-items: stretch; gap: 14px;
        margin: 34px 0 0; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
        max-height: calc(100dvh - var(--bar-h) - 80px); overflow-y: auto; scrollbar-width: thin;
    }
    .search { width: auto; }
    .cats { flex-direction: column; gap: 2px; overflow: visible; }
    .cats a { min-height: 44px; padding: 0 16px; font-size: 16px; }
    .cat-ink { border-radius: 12px; width: 100%; }
    .cats a { border-radius: 12px; }
    .hero-art { height: 480px; margin: 0; }
    .hero-title { font-size: clamp(64px, 6.4vw, 96px); }
    .sticker { width: 124px; height: 124px; font-size: 14px; }
    .sticker strong { font-size: 40px; }
    .rail { grid-auto-columns: 250px; }
    .visit-grid { grid-template-columns: 1fr 1fr 1.2fr; gap: 56px; }
    .ordering { grid-column: auto; }
    .float-basket { display: none !important; }
    .foot { padding-bottom: 48px; }
    .foot-links a { font-size: 38px; min-height: 64px; }
    .toast { bottom: 28px; }
}
@media (min-width: 1280px) {
    .menu-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .turn, .glow, .status.open .dot { animation: none !important; }
}

/* ---------- privacy page ---------- */
.page { width: min(760px, 100%); margin: 0 auto; padding: 32px 20px 64px; }
.page h1 { font-family: var(--display); font-weight: 900; font-size: 52px; line-height: .95; text-transform: uppercase; margin: 16px 0 6px; }
.page h2 { font-size: 20px; margin: 28px 0 8px; }
.page p, .page li { margin-bottom: 8px; }
.page ul { list-style: disc; padding-left: 22px; }
.page .small { margin-bottom: 8px; }

/* offers */
.dish .deal { align-self: flex-start; padding: 2px 8px; border-radius: 6px; background: var(--red, #d42a1e); color: #fff; font-size: 12px; font-weight: 800; }
.totals .saving { color: #2e9e4f; font-weight: 700; }
.savings { margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; background: rgb(46 158 79 / .12); color: #1d7a34; font-weight: 700; font-size: 14px; }
.promo { margin-top: 14px; }
.promo-row { display: flex; gap: 8px; }
.promo-row .input { flex: 1; text-transform: uppercase; }

/* your order */
.your-order .done { padding-bottom: 6px; }
.order-status { margin: 4px 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--gold-soft, #fff3d1); color: #5a3d00; font-weight: 700; text-align: center; }
.order-status.st-accepted, .order-status.st-ready, .order-status.st-done { background: rgb(46 158 79 / .14); color: #1d6b31; }
.order-status.st-rejected { background: #fdeceb; color: #8a1a12; }
.order-status.st-on_way { background: rgb(46 158 79 / .14); color: #1d6b31; }
.order-status.late { background: #fff3d1; color: #5a3d00; }
.order-status .why { display: block; font-weight: 600; font-size: 15px; margin-top: 2px; }
.ref { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 2px; }
.chat { margin-top: 18px; padding: 14px; border-radius: 14px; background: rgb(0 0 0 / .035); }
.chat h4 { margin: 0 0 4px; }
.chat .tip { margin: 0 0 10px; font-size: 14px; color: var(--char-3); }
.chat ol { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.chat li { max-width: 85%; padding: 8px 12px; border-radius: 14px; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.chat li.customer { justify-self: end; background: var(--red); color: #fff; border-bottom-right-radius: 4px; }
.chat li.shop { justify-self: start; background: #fff; border: 1px solid rgb(0 0 0 / .1); border-bottom-left-radius: 4px; }
.chat li time { display: block; font-size: 12px; opacity: .75; margin-top: 2px; }
.chat form { display: flex; gap: 8px; align-items: flex-end; }
.chat textarea { flex: 1; min-height: 46px; resize: vertical; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0 0 18px; }
.details dt { color: var(--muted, #6b5d55); font-size: 14px; }
.details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.your-order h4 { margin: 18px 0 8px; font-size: 16px; }
.lines.compact li { grid-template-columns: 1fr auto; }
.requests ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.req { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: rgb(0 0 0 / .04); }
.req-status { font-size: 14px; font-weight: 700; color: #7a5300; }
.req-accepted .req-status { color: #1d6b31; }
.req-declined .req-status { color: #8a1a12; }
.change-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.change-acts h4, .change-acts p { flex-basis: 100%; margin-bottom: 0; }
.change-form { margin-top: 16px; padding: 14px; border-radius: 12px; background: rgb(0 0 0 / .04); }
.change-form h4 { margin-top: 0; }
.form-acts { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
