:root {
    --ink: #1c1c1c;
    --muted: #6b6b6b;
    --line: #ececec;
    --bg: #f3f3f3;
    --paper: #ffffff;
    --tap: 48px;
    --pad: 1rem;
    --max: 48rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.shopfront {
    margin: 0;
    min-height: 100dvh;
    background: var(--bg);
    color: var(--ink);
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.shop-shell {
    max-width: 28rem;
    margin: 0 auto;
    min-height: 100dvh;
    background: var(--paper);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 18px 50px rgba(0, 0, 0, 0.08);
}
.shop-head {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem var(--pad);
    padding-top: max(0.7rem, env(safe-area-inset-top));
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.shop-brand {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    line-height: 1.2;
}
.shop-tabs {
    display: flex;
    gap: 0.4rem;
    flex: 0 0 auto;
}
.shop-tab {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #333;
    text-decoration: none;
    position: relative;
}
.shop-tab svg { width: 18px; height: 18px; display: block; }
.shop-tab.is-active { border-color: #111; box-shadow: inset 0 0 0 1px #111; }
.shop-tab:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.demo-banner {
    margin: 0;
    padding: 0.45rem var(--pad);
    background: #111;
    color: #fff;
    font-size: 0.75rem;
}
.shop-main {
    padding: 1rem var(--pad) 5.5rem;
    overflow-x: hidden;
}
.shop-main > h1 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.shop-main > h1.cat-heading {
    letter-spacing: 0;
    text-transform: none;
    font-size: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #111;
    margin-bottom: 0.85rem;
}
.shop-main > h2 {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.totals .total-row {
    font-size: 1.05rem;
    border-bottom: 0;
    padding-top: 0.85rem;
}
.row-end {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}
.row-end form { margin: 0; }
.remove-line {
    width: auto;
    min-height: 32px;
    padding: 0.2rem 0.5rem;
    background: #fff;
    color: #111;
    border: 1px solid #d8d8d8;
    font-size: 0.72rem;
    font-weight: 700;
}
.stack-actions {
    display: grid;
    gap: 0.5rem;
    margin: 1rem 0 0;
}
.pay-amount {
    margin: 0 0 0.25rem;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.place {
    margin: 0 0 0.55rem;
    color: var(--muted);
    font-size: 0.88rem;
}
.place a { font-weight: 700; color: var(--ink); }
.info-card {
    margin: 0 0 1rem;
    padding: 0.95rem 1rem 1.05rem;
    border: 1px solid var(--line);
    background: #fff;
}
.info-card > h2 {
    margin: 0 0 0.55rem;
    padding: 0 0 0.45rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    border-bottom: 1px solid var(--line);
}
.info-card .lede,
.info-card .place { margin-bottom: 0.45rem; }
.info-card .menu-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-card .menu-row .muted { display: inline; font-weight: 600; }
.delivery-map {
    height: 18rem;
    margin: 0.85rem -1rem -1.05rem;
    background: #ececec;
    border: 0;
    border-top: 1px solid var(--line);
    overflow: hidden;
    position: relative;
    z-index: 0;
}
.delivery-map-canvas {
    height: 18rem;
    width: 100%;
}
.delivery-map .leaflet-container {
    height: 18rem !important;
    width: 100% !important;
    background: #ececec;
    font: inherit;
}
.leaflet-container img,
.leaflet-pane img,
.leaflet-tile {
    max-width: none !important;
    max-height: none !important;
    box-sizing: content-box;
}
#payment-element { margin: 0 0 0.85rem; }
.lede {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.82rem;
}
.status {
    display: inline-block;
    margin: 0 0 0.85rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--line);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #333;
}
.menu-block { margin: 0 0 1.85rem; }
.menu-block > h2 {
    margin: 0 0 0.15rem;
    padding: 0.15rem 0 0.5rem;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 800;
    border-bottom: 2px solid #111;
}
.menu-block > h2 a {
    margin: 0;
    font-size: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    font-weight: inherit;
    text-decoration: none;
    color: var(--ink);
    border: 0;
    padding: 0;
}
.cat-lede {
    margin: 0.35rem 0 0.65rem;
    color: var(--muted);
    font-size: 0.82rem;
}
.cat-split { display: grid; gap: 1rem; }
.cat-photo {
    margin: 0;
}
.cat-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #eee;
}
.cat-split.has-photo-top .cat-photo { order: -1; max-width: 22rem; }
.product-photo {
    margin: 0 0 0.85rem;
}
.product-photo img {
    width: 100%;
    max-height: 16rem;
    object-fit: cover;
    aspect-ratio: 16 / 10;
    background: #eee;
}
.dish {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
}
.dish:last-child { border-bottom: 0; }
.dish-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}
.dish-name {
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 700;
}
.dish-desc,
.dish-opts {
    display: block;
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 400;
}
.dish-opts { font-size: 0.72rem; }
.dish-price {
    flex: 0 0 auto;
    font-size: 0.95rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.dish.is-sold { opacity: 0.55; }
.card {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 0.9rem;
    margin: 0 0 1rem;
}
.muted { color: var(--muted); }
.error { color: #8b1515; margin: 0 0 0.75rem; }
.ok { color: #1f6b2c; }
.price {
    margin: 0.35rem 0 0;
    font-size: 1.05rem;
    font-weight: 800;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.5rem 0 0.35rem;
}
.chips a {
    border: 1px solid #cfcfcf;
    background: #fff;
    text-decoration: none;
    min-height: 38px;
    padding: 0.35rem 0.75rem;
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
}
.chips a:hover { border-color: #111; }
.menu-block .chips { margin-bottom: 0.85rem; }
.btn, button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: var(--tap);
    padding: 0.7rem 1rem;
    border: 0;
    background: #111;
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    touch-action: manipulation;
}
.btn.ghost, button.secondary {
    background: #fff;
    color: #111;
    border: 1px solid #111;
}
label { display: block; margin: 0.55rem 0 0.3rem; font-size: 0.78rem; font-weight: 700; }
input, select, textarea {
    display: block;
    width: 100%;
    margin: 0 0 0.7rem;
    padding: 0.7rem 0.7rem;
    border: 1px solid #d8d8d8;
    background: #fff;
    font: inherit;
    font-size: 16px;
    min-height: var(--tap);
    border-radius: 0;
}
textarea { min-height: 6rem; }
.pair { display: grid; grid-template-columns: 1fr; gap: 0 0.75rem; }
@media (min-width: 640px) {
    .pair { grid-template-columns: 1fr 1fr; }
}
fieldset {
    border: 0;
    margin: 0 0 0.9rem;
    padding: 0;
}
legend {
    padding: 0;
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.choice-grid { display: grid; gap: 0.4rem; }
.choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: var(--tap);
    padding: 0.55rem 0.7rem;
    border: 1px solid #d8d8d8;
    background: #fff;
    font-size: 0.88rem;
}
.choice:has(input:checked) {
    border-color: #111;
    box-shadow: inset 0 0 0 1px #111;
}
.choice.is-off { opacity: 0.55; }
.choice input { width: auto; min-height: 0; margin: 0 0.55rem 0 0; }
.choice-copy { display: flex; align-items: center; gap: 0.55rem; }
.choice-note {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0;
    text-transform: none;
}
.menu-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
}
.menu-row:last-child { border-bottom: 0; }
.ready-line {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 800;
}
.clocks { margin: 0 0 0.85rem; font-size: 0.82rem; color: var(--muted); }
.timeline { display: grid; gap: 0.35rem; margin-top: 0.75rem; }
.step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.75rem;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}
.step time { font-variant-numeric: tabular-nums; font-weight: 600; }
.step.done { color: var(--ink); background: #f7f7f7; }
.step.current { color: #fff; background: #111; border-color: #111; }
.bar {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: center;
    padding: 0.65rem var(--pad);
    padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
    background: #111;
}
.bar a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    min-height: 42px;
    min-width: 12rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
}
ul { padding-left: 1.1rem; }
@media (min-width: 720px) {
    body.shopfront { padding: 1.25rem 0; }
    .shop-shell { max-width: 40rem; }
    .cat-split.has-photo-right {
        grid-template-columns: 1fr minmax(11rem, 15rem);
        align-items: start;
    }
    .cat-split.has-photo-left {
        grid-template-columns: minmax(11rem, 15rem) 1fr;
        align-items: start;
    }
    .cat-split.has-photo-left .cat-photo { order: -1; }
}
@media (min-width: 960px) {
    .shop-shell { max-width: var(--max); }
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.shop-menu-btn {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #111;
    position: relative;
    flex: 0 0 auto;
    padding: 0;
}
.shop-menu-btn svg { width: 20px; height: 20px; display: block; }
.shop-menu-btn:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.shop-drawer-mask {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.45);
}
.shop-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 41;
    width: min(20rem, 86vw);
    height: 100dvh;
    background: #fff;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    padding-top: env(safe-area-inset-top);
}
body.shop-drawer-open { overflow: hidden; }
.shop-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid var(--line);
}
.shop-drawer-head strong {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.shop-drawer-close {
    width: 42px;
    min-height: 42px;
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    color: #111;
}
.shop-drawer-nav { display: grid; padding: 0.5rem 0 1.5rem; }
.shop-drawer-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 1.1rem;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
}
.shop-drawer-nav a.is-active { background: #f6f6f6; }
.welcome-kicker {
    margin: 0 0 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.status.is-open {
    background: #1f8a4c;
    border-color: #1f8a4c;
    color: #fff;
}
.today-hours {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
    font-weight: 700;
}
.see-all {
    margin: 0.85rem 0 0;
}
.see-all a {
    font-size: 0.85rem;
    font-weight: 700;
}
.chips a.is-on {
    background: #111;
    border-color: #111;
    color: #fff;
}
.shop-hours {
    margin: 1.5rem 0 0;
    padding: 1rem 0 0;
    border-top: 2px solid #111;
}
.shop-hours > h2 {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 800;
}
