/* Taxio Food for customers: on top of BlazorBlueprint's theme tokens (prefix fw-). */
html, body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body { margin: 0; background: var(--background); color: var(--foreground); }
h1:focus { outline: none; }
a { color: inherit; }
svg { flex: none; }

/* Shown by Blazor only after an unhandled error. */
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; width: 100%; box-sizing: border-box; z-index: 1000;
    padding: 0.6rem 1.25rem 0.7rem; background: #fff7ed; color: #431407; box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }
.fw-boot { display: flex; align-items: center; justify-content: center; min-height: 100vh; color: #78716c; font-weight: 500; }

/* Shell */
.fw-shell { min-height: 100vh; display: flex; flex-direction: column; }
.fw-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem;
    background: color-mix(in srgb, var(--background) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.fw-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1.1rem; text-decoration: none; white-space: nowrap; }
.fw-brand img { width: 30px; height: 30px; }
.fw-header__link { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.6rem; border-radius: var(--radius);
    text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.fw-header__link:hover { background: var(--muted); }
.fw-header svg { width: 18px; height: 18px; }
.fw-select { height: 2.25rem; padding: 0 0.5rem; border: 1px solid var(--input); border-radius: calc(var(--radius) - 2px);
    background: transparent; color: inherit; font: inherit; font-size: 0.875rem; }
.fw-content { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 1.25rem 1rem 6rem; box-sizing: border-box; }
.fw-footer { display: flex; justify-content: center; gap: 0.5rem; padding: 1.25rem 1rem; color: var(--muted-foreground);
    font-size: 0.8rem; border-top: 1px solid var(--border); }
.fw-spacer { flex: 1; }
.fw-center { display: flex; justify-content: center; padding: 3rem 0; }
.fw-center-text { text-align: center; }
.fw-muted { color: var(--muted-foreground); font-size: 0.875rem; }
.fw-muted svg { display: inline-block; width: 13px; height: 13px; vertical-align: -2px; margin-right: 0.15rem; }
.fw-page-title { font-size: 1.6rem; font-weight: 800; margin: 0.5rem 0 1rem; }
.fw-empty { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 3rem 1rem; text-align: center;
    color: var(--muted-foreground); }
.fw-empty h1 { color: var(--foreground); font-size: 1.4rem; margin: 0; }
.fw-empty p { margin: 0; }
.fw-alert { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.7rem 0.9rem; border-radius: var(--radius);
    background: color-mix(in srgb, #dc2626 12%, transparent); color: var(--foreground); font-size: 0.9rem; }
.fw-alert svg { width: 16px; height: 16px; }
/* A calm note (closed now), not an error. */
.fw-notice { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.7rem 0.9rem; border-radius: var(--radius);
    border: 1px dashed var(--border); color: var(--muted-foreground); font-size: 0.9rem; }
.fw-notice svg { width: 16px; height: 16px; }
.fw-notice--paused { border-style: solid; border-color: color-mix(in srgb, #f59e0b 45%, var(--border));
    background: color-mix(in srgb, #f59e0b 10%, var(--background)); color: var(--foreground); }
.fw-notice--paused svg { color: #b45309; }
.fw-error { color: #dc2626; font-size: 0.8rem; }

/* Buttons and inputs */
.fw-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 2.75rem; padding: 0 1.25rem;
    border: 0; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); font: inherit; font-weight: 700;
    text-decoration: none; cursor: pointer; }
.fw-button:hover { filter: brightness(1.05); }
.fw-button:disabled { opacity: 0.55; cursor: not-allowed; }
.fw-button--grow { flex: 1; }
.fw-button--outline { background: transparent; color: var(--foreground); border: 1px solid var(--border); }
.fw-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border: 0;
    border-radius: 999px; background: var(--muted); color: inherit; cursor: pointer; }
.fw-input { width: 100%; box-sizing: border-box; min-height: 2.6rem; padding: 0.5rem 0.75rem; border: 1px solid var(--input);
    border-radius: calc(var(--radius) - 2px); background: var(--background); color: inherit; font: inherit; }
.fw-input[aria-invalid="true"] { border-color: #dc2626; }
.fw-field { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.875rem; font-weight: 600; }
.fw-field .fw-input { font-weight: 400; }
.fw-badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700;
    background: var(--muted); color: var(--muted-foreground); white-space: nowrap; }
.fw-badge--open, .fw-badge--closed { background: var(--background); border: 1px solid var(--border); color: var(--foreground); }
.fw-badge--open::before, .fw-badge--closed::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 999px; }
.fw-badge--open::before { background: #16a34a; }
.fw-badge--closed::before { background: var(--muted-foreground); opacity: 0.6; }
.fw-badge--paused { background: var(--background); border: 1px solid color-mix(in srgb, #f59e0b 50%, var(--border)); color: var(--foreground); }
.fw-badge--paused::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 999px; background: #f59e0b; }
.fw-badge--required { background: color-mix(in srgb, var(--primary) 20%, transparent); color: var(--foreground); }
.fw-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.fw-chip { padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--muted); font-size: 0.75rem; }

/* Home */
.fw-hero { display: flex; flex-direction: column; gap: 0.6rem; padding: 2rem 1.5rem; margin-bottom: 1.5rem; border-radius: calc(var(--radius) * 2);
    background: color-mix(in oklab, var(--primary) 14%, var(--background));
    border: 1px solid color-mix(in oklab, var(--primary) 28%, var(--background)); }
.fw-hero h1 { font-size: 2rem; font-weight: 800; line-height: 1.15; margin: 0; }
.fw-hero p { margin: 0; color: var(--muted-foreground); max-width: 46rem; }
.fw-hero--restaurant { margin-bottom: 1rem; padding: 1.5rem; }
/* With a cover photo: the photo across the top of the header, the logo half over its edge. */
.fw-hero--cover { padding-top: 0; overflow: hidden; }
.fw-hero__cover { display: block; width: calc(100% + 3rem); height: 220px; margin: 0 -1.5rem 0.25rem; object-fit: cover; }
.fw-hero__title { display: flex; align-items: center; gap: 0.9rem; }
.fw-hero__logo { width: 72px; height: 72px; flex: none; border-radius: 999px; object-fit: cover; background: var(--card);
    border: 3px solid var(--card); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); }
.fw-hero--cover .fw-hero__logo { margin-top: -2.6rem; }
.fw-hero--cover .fw-hero__title { align-items: flex-end; }
.fw-search { display: flex; align-items: center; gap: 0.5rem; max-width: 34rem; margin-top: 0.5rem; padding: 0 1rem; border-radius: 999px;
    background: var(--background); color: var(--foreground); border: 1px solid var(--border); }
.fw-search input { flex: 1; min-width: 0; height: 3rem; border: 0; outline: none; background: transparent; color: inherit; font: inherit; }
.fw-search svg { width: 18px; height: 18px; color: var(--muted-foreground); }
.fw-finder { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.fw-finder .fw-search { flex: 1 1 20rem; margin-top: 0; }
.fw-city { display: flex; align-items: center; gap: 0.4rem; padding: 0 0.9rem; border-radius: 999px; background: var(--background);
    color: var(--foreground); border: 1px solid var(--border); }
.fw-city svg { width: 18px; height: 18px; color: var(--muted-foreground); }
.fw-city select { height: 3rem; border: 0; outline: none; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.fw-location { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--muted-foreground); }
.fw-location svg { width: 15px; height: 15px; }
.fw-link-button { padding: 0; border: 0; background: none; color: var(--primary); font: inherit; font-weight: 600; cursor: pointer;
    text-decoration: underline; text-underline-offset: 2px; }
.fw-restaurants { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.fw-restaurant { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.5);
    overflow: hidden; text-decoration: none; background: var(--card); transition: transform 0.15s, box-shadow 0.15s; }
.fw-restaurant:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
.fw-restaurant--closed .fw-restaurant__cover { filter: grayscale(0.8); opacity: 0.7; }
.fw-restaurant__cover { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 800;
    color: #fff; background: linear-gradient(135deg, #f97316, #b45309); }
.fw-restaurant__cover img { width: 100%; height: 100%; object-fit: cover; }
.fw-restaurant__body { position: relative; display: flex; flex-direction: column; gap: 0.4rem; padding: 0.9rem 1rem 1rem; }
/* The logo sits half over the cover's edge; the name moves below it. */
.fw-restaurant__body--logo { padding-top: 2.3rem; }
.fw-restaurant__logo { position: absolute; top: -28px; left: 1rem; width: 56px; height: 56px; border-radius: 999px; object-fit: cover;
    background: var(--card); border: 3px solid var(--card); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.fw-restaurant__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.fw-restaurant__name { font-size: 1.1rem; font-weight: 700; margin: 0; }
.fw-restaurant__body > .fw-muted { display: flex; align-items: center; gap: 0.3rem; }
.fw-restaurant__place > span:first-of-type { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-distance { margin-left: auto; padding-left: 0.5rem; font-weight: 600; color: var(--foreground); white-space: nowrap; }
.fw-restaurant__description { margin: 0; font-size: 0.875rem; color: var(--muted-foreground);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Restaurant */
.fw-back { display: inline-flex; align-items: center; gap: 0.35rem; margin-bottom: 0.75rem; font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.fw-back svg { width: 16px; height: 16px; }
.fw-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; font-size: 0.9rem; }
.fw-meta > span, .fw-meta > a { display: inline-flex; align-items: center; gap: 0.3rem; text-decoration: none; }
.fw-meta svg, .fw-week summary svg { width: 15px; height: 15px; }
.fw-week summary { cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; }
.fw-week table { margin-top: 0.5rem; border-collapse: collapse; font-size: 0.875rem; }
.fw-week th { text-align: left; font-weight: 500; padding: 0.15rem 1.5rem 0.15rem 0; color: var(--muted-foreground); }
.fw-week__today th, .fw-week__today td { font-weight: 700; color: var(--foreground); }
.fw-restaurant-page { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.5rem; align-items: start; }
.fw-restaurant-page__menu { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.fw-restaurant-page__cart { position: sticky; top: 4.5rem; }
.fw-tabs { display: flex; gap: 0.5rem; position: sticky; top: 3.4rem; z-index: 10; padding: 0.5rem 0; background: var(--background); }
.fw-tab { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid var(--border);
    background: transparent; color: var(--foreground); font: inherit; font-weight: 700; cursor: pointer; }
.fw-tab svg { width: 16px; height: 16px; }
.fw-tab--on { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.fw-category { display: flex; flex-direction: column; gap: 0.75rem; }
.fw-category h2 { font-size: 1.3rem; font-weight: 800; margin: 0; }
.fw-category > .fw-muted { margin: -0.5rem 0 0; }
.fw-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.fw-item { display: flex; align-items: stretch; gap: 0.75rem; padding: 0.9rem; border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--card); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.fw-item:hover:not(:disabled) { border-color: var(--primary); }
.fw-item:disabled { cursor: default; }
.fw-item--off .fw-item__name, .fw-item--off .fw-item__description, .fw-item--off .fw-item__photo { opacity: 0.5; }
.fw-item__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.fw-item__name { font-weight: 700; }
.fw-item__description { font-size: 0.85rem; color: var(--muted-foreground);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fw-item__price { display: flex; align-items: center; gap: 0.5rem; margin-top: auto; padding-top: 0.25rem; font-weight: 700; }
.fw-item__side { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; min-width: 2.25rem; }
.fw-item__photo { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); }
.fw-item__add { position: absolute; right: -0.25rem; bottom: -0.25rem; display: inline-flex; align-items: center; justify-content: center;
    width: 2rem; height: 2rem; border-radius: 999px; background: var(--primary); color: var(--primary-foreground);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.fw-item__add svg { width: 16px; height: 16px; }
.fw-item__side:not(:has(img)) .fw-item__add { position: static; }

/* Item dialog */
.fw-dialog-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.55); }
.fw-dialog { position: fixed; z-index: 41; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem); display: flex; flex-direction: column; overflow: hidden; border-radius: calc(var(--radius) * 1.5);
    background: var(--background); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.fw-dialog__close { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
    width: 2.25rem; height: 2.25rem; border: 0; border-radius: 999px; background: var(--background); color: inherit; cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }
.fw-dialog__photo { width: 100%; height: 220px; object-fit: cover; flex: none; }
.fw-dialog__body { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.25rem; overflow-y: auto; }
.fw-dialog__title { font-size: 1.4rem; font-weight: 800; margin: 0; padding-right: 2.5rem; }
.fw-dialog__body > .fw-muted { margin: -0.4rem 0 0; }
.fw-dialog__price { font-size: 1.1rem; font-weight: 700; }
.fw-dialog__footer { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1.25rem; border-top: 1px solid var(--border); }
.fw-group { margin: 0; padding: 0.75rem 0 0; border: 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.15rem; }
.fw-group__head { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0 0 0.35rem; }
.fw-group__name { font-weight: 700; }
.fw-group--missing .fw-badge { background: #dc2626; color: #fff; }
.fw-option { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.25rem; border-radius: calc(var(--radius) - 2px); cursor: pointer; }
.fw-option:hover { background: var(--muted); }
.fw-option input { width: 1.1rem; height: 1.1rem; accent-color: var(--primary); }
.fw-option__name { flex: 1; }
.fw-option--off .fw-option__name { text-decoration: line-through; color: var(--muted-foreground); }
.fw-stepper { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.2rem; border-radius: 999px; background: var(--muted); }
.fw-stepper button { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border: 0;
    border-radius: 999px; background: var(--background); color: inherit; cursor: pointer; }
.fw-stepper button:disabled { opacity: 0.4; cursor: default; }
.fw-stepper button svg { width: 16px; height: 16px; }
.fw-stepper span { min-width: 1.5rem; text-align: center; font-weight: 700; }
.fw-stepper--small { align-self: flex-end; }
.fw-stepper--small button { width: 1.8rem; height: 1.8rem; }

/* Cart */
.fw-cart { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.1rem; border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.5); background: var(--card); }
.fw-cart__head { display: flex; align-items: center; justify-content: space-between; }
.fw-cart__head h2 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.15rem; font-weight: 800; margin: 0; }
.fw-cart__head svg { width: 18px; height: 18px; }
.fw-cart__empty { margin: 0; padding: 1rem 0; text-align: center; }
.fw-cart__lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fw-cart__lines li { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.6rem 0; }
.fw-cart__lines li + li { border-top: 1px dashed var(--border); }
.fw-cart__line { display: flex; justify-content: space-between; gap: 0.75rem; }
.fw-cart__line > :last-child { white-space: nowrap; font-weight: 600; }
.fw-cart__name { font-weight: 600; }
.fw-cart__total { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; padding-top: 0.75rem;
    border-top: 1px solid var(--border); }
.fw-cart__total strong { font-size: 1.2rem; white-space: nowrap; }
.fw-checkout { display: flex; flex-direction: column; gap: 0.8rem; }
.fw-checkout .fw-muted { margin: 0; }
.fw-cart-bar, .fw-sheet { display: none; }

/* Order */
.fw-order { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.fw-order__status { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.75rem 1.5rem; border-radius: calc(var(--radius) * 2);
    border: 1px solid var(--border); background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, transparent), transparent 75%); }
.fw-order__status--ready, .fw-order__status--completed { background: linear-gradient(135deg, color-mix(in srgb, #16a34a 22%, transparent), transparent 75%); }
.fw-order__status--rejected, .fw-order__status--cancelled { background: linear-gradient(135deg, color-mix(in srgb, #dc2626 18%, transparent), transparent 75%); }
.fw-order__restaurant { font-weight: 600; color: var(--muted-foreground); }
.fw-order__status h1 { font-size: 2.4rem; font-weight: 800; margin: 0; }
.fw-order__headline { font-size: 1.2rem; font-weight: 700; margin: 0; }
.fw-order__reason { display: flex; gap: 0.4rem; margin: 0; }
.fw-order__reason svg { width: 16px; height: 16px; margin-top: 0.15rem; }
.fw-order__status > .fw-muted { margin: 0; }
.fw-steps { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.fw-steps li { display: flex; align-items: center; gap: 0.75rem; color: var(--muted-foreground); }
.fw-steps__dot { display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; border-radius: 999px;
    border: 2px solid var(--border); font-weight: 700; font-size: 0.85rem; }
.fw-steps--done { color: var(--foreground); }
.fw-steps--done .fw-steps__dot { background: #16a34a; border-color: #16a34a; color: #fff; }
.fw-steps--now { color: var(--foreground); font-weight: 700; }
.fw-steps--now .fw-steps__dot { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground);
    animation: fw-pulse 1.6s ease-in-out infinite; }
@keyframes fw-pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 25%, transparent); } }
.fw-order__details { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.25rem; border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.5); background: var(--card); }
.fw-order__details h2 { font-size: 1.1rem; font-weight: 800; margin: 0; }
.fw-order__facts { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; margin: 0.5rem 0 0; font-size: 0.9rem; }
.fw-order__facts dt { color: var(--muted-foreground); }
.fw-order__facts dd { margin: 0; }
.fw-order__facts svg { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 0.15rem; }
.fw-my-orders { display: flex; flex-direction: column; gap: 0.5rem; max-width: 640px; margin-top: 0.75rem; }
.fw-my-order { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem;
    border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; background: var(--card); }
.fw-my-order:hover { border-color: var(--primary); }
.fw-my-order svg { width: 16px; height: 16px; color: var(--muted-foreground); }

@media (max-width: 960px) {
    .fw-restaurant-page { grid-template-columns: 1fr; }
    .fw-restaurant-page__cart { display: none; }
    /* Phones and tablets: the cart is a bar at the bottom that opens a sheet. */
    .fw-cart-bar { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 30; display: flex; align-items: center;
        justify-content: space-between; gap: 1rem; min-height: 3.25rem; padding: 0 1.25rem; border: 0; border-radius: 999px;
        background: var(--primary); color: var(--primary-foreground); font: inherit; font-weight: 700; cursor: pointer;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
    .fw-cart-bar span { display: inline-flex; align-items: center; gap: 0.5rem; }
    .fw-cart-bar svg { width: 18px; height: 18px; }
    .fw-sheet { position: fixed; inset: 0; z-index: 35; display: block; overflow-y: auto; padding: 1rem; background: var(--background); }
    .fw-sheet .fw-cart { border: 0; padding: 0; background: transparent; }
    .fw-order { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .fw-hide-narrow { display: none; }
    .fw-hero { padding: 1.25rem 1rem; }
    .fw-hero h1 { font-size: 1.5rem; }
    .fw-hero--cover { padding-top: 0; }
    .fw-hero__cover { width: calc(100% + 2rem); height: 160px; margin: 0 -1rem 0.25rem; }
    .fw-hero__logo { width: 60px; height: 60px; }
    .fw-items { grid-template-columns: 1fr; }
    .fw-item__photo { width: 80px; height: 80px; }
    .fw-dialog { top: auto; bottom: 0; transform: translateX(-50%); width: 100vw; max-height: 92vh;
        border-radius: calc(var(--radius) * 1.5) calc(var(--radius) * 1.5) 0 0; }
    .fw-dialog__photo { height: 180px; }
    .fw-order__status h1 { font-size: 2rem; }
    .fw-my-order { grid-template-columns: auto 1fr auto; }
    .fw-my-order .fw-muted { grid-column: 1 / -1; grid-row: 2; }
}
