:root {
    color-scheme: light;
    --charcoal: #17120e;
    --charcoal-soft: #241b14;
    --ink: #211a15;
    --muted: #71685f;
    --gold: #c78b37;
    --gold-bright: #e7b967;
    --sand: #dfb785;
    --ivory: #fbf8f2;
    --cream: #f2ebe1;
    --line: rgba(45, 34, 25, 0.11);
    --glass: rgba(27, 22, 18, 0.58);
    --shell-width: 720px;
    --shadow-lg: 0 28px 70px rgba(14, 9, 6, 0.28);
    --shadow-soft: 0 16px 38px rgba(31, 22, 15, 0.12);
    --app-offset: max(0px, calc(50vw - (var(--shell-width) / 2)));
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #17120e;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100%;
    overflow-x: hidden;
    color: var(--ink);
    background: #17120e;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.is-locked {
    overflow: hidden;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ambient-backdrop {
    position: fixed;
    inset: -40px;
    z-index: -2;
    background:
        linear-gradient(110deg, rgba(19, 12, 8, 0.82), rgba(77, 44, 19, 0.58)),
        var(--home-poster) center 70% / cover;
    filter: blur(24px) saturate(0.85);
    transform: scale(1.08);
}

.ambient-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 8, 6, 0.45);
}

.app-shell {
    position: relative;
    width: min(100%, var(--shell-width));
    min-height: 100dvh;
    margin-inline: auto;
    overflow: clip;
    background: var(--ivory);
    box-shadow: var(--shadow-lg);
    isolation: isolate;
}

.home-view {
    position: relative;
    display: flex;
    min-height: 100dvh;
    flex-direction: column;
    padding: clamp(38px, 7.5vh, 76px) 28px 196px;
    color: #fff;
    overflow: hidden;
}

.home-background,
.home-shade {
    position: absolute;
    inset: 0;
}

.home-background {
    z-index: -3;
    background: var(--home-poster) center 68% / cover no-repeat;
    transform: scale(1.015);
    animation: hero-breathe 12s ease-in-out infinite alternate;
}

.home-shade {
    z-index: -2;
    background:
        radial-gradient(circle at 50% 17%, rgba(12, 8, 6, 0.06), rgba(12, 8, 6, 0.62) 60%),
        linear-gradient(180deg, rgba(10, 7, 5, 0.22), rgba(10, 7, 5, 0.06) 30%, rgba(10, 7, 5, 0.5) 68%, rgba(10, 7, 5, 0.94));
}

.brand {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand--home {
    align-self: center;
    color: #f7d89e;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.42));
}

.brand__main {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4.25rem, 14vw, 6.8rem);
    font-weight: 500;
    letter-spacing: 0.045em;
    line-height: 0.82;
}

.brand__sub {
    margin-top: 7px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 6vw, 2.6rem);
    letter-spacing: 0.08em;
    line-height: 1;
}

.brand__ornament {
    width: 82%;
    height: 1px;
    margin-top: 13px;
    background: linear-gradient(90deg, transparent, currentColor 18%, currentColor 82%, transparent);
}

.brand__tagline {
    margin: 12px 0 0;
    color: rgba(255, 247, 232, 0.8);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.brand--compact {
    color: #f3cf90;
}

.brand--compact .brand__main {
    font-size: 4.8rem;
}

.brand--compact .brand__sub {
    font-size: 1.8rem;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: auto;
}

.home-card {
    position: relative;
    display: flex;
    min-height: clamp(142px, 20vh, 190px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 12px;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(31, 27, 23, 0.62), rgba(18, 15, 12, 0.43));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 16px 34px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px) saturate(1.1);
    -webkit-backdrop-filter: blur(15px) saturate(1.1);
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(230, 179, 96, 0.18), transparent 53%);
    pointer-events: none;
}

.home-card:hover,
.home-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(237, 193, 117, 0.65);
    background: linear-gradient(145deg, rgba(53, 40, 29, 0.7), rgba(19, 15, 12, 0.5));
    outline: none;
}

.home-card:active {
    transform: scale(0.98);
}

.home-card__icon {
    width: 68px;
    height: 68px;
    color: #fff9ed;
    stroke-width: 1.55;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.3));
}

.home-card span {
    position: relative;
    max-width: 160px;
    font-size: 0.97rem;
    font-weight: 760;
    letter-spacing: 0.075em;
    line-height: 1.24;
}

.menu-view {
    min-height: 100dvh;
    padding-bottom: 192px;
    background: var(--ivory);
}

.menu-header {
    display: flex;
    height: 116px;
    align-items: center;
    justify-content: space-between;
    padding: max(16px, env(safe-area-inset-top)) 28px 14px;
    color: #f4d397;
    background:
        radial-gradient(circle at 16% -10%, rgba(202, 139, 55, 0.27), transparent 42%),
        linear-gradient(135deg, #17120e, #2a2018);
}

.mini-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    color: inherit;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mini-brand span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.35rem;
    letter-spacing: 0.05em;
    line-height: 0.82;
}

.mini-brand small {
    margin-top: 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.9rem;
    letter-spacing: 0.09em;
}

.mini-brand--dark {
    color: #342417;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 4px 11px 14px;
    color: #fff;
    border: 0;
    background: transparent;
    font-size: 1rem;
    font-weight: 720;
    cursor: pointer;
}

.back-button svg {
    width: 23px;
    height: 23px;
    stroke-width: 2.4;
}

.category-strip {
    position: relative;
    z-index: 4;
    display: flex;
    gap: 9px;
    padding: 14px 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 22px rgba(25, 18, 12, 0.08);
}

.category-strip::-webkit-scrollbar,
.recommended-track::-webkit-scrollbar {
    display: none;
}

.category-chip {
    display: inline-flex;
    min-height: 54px;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 10px 17px;
    color: #443a32;
    border: 1px solid rgba(60, 47, 37, 0.1);
    border-radius: 17px;
    background: #f8f6f2;
    font-size: 0.93rem;
    font-weight: 650;
    white-space: nowrap;
    cursor: pointer;
    transition: 160ms ease;
}

.category-chip svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.8;
}

.category-chip:hover,
.category-chip:focus-visible {
    border-color: rgba(190, 127, 45, 0.45);
    outline: none;
}

.category-chip.is-active {
    color: #fff;
    border-color: var(--gold);
    background: linear-gradient(135deg, #b87828, #d29b4d);
    box-shadow: 0 9px 18px rgba(178, 113, 34, 0.25);
}

.category-hero {
    position: relative;
    height: 355px;
    overflow: hidden;
    color: #fff;
    background: #24170f;
}

.category-hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 64% 50%;
    transition: opacity 180ms ease, transform 700ms ease;
}

.category-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 9, 5, 0.08), rgba(15, 9, 5, 0.19) 36%, rgba(15, 9, 5, 0.9)),
        linear-gradient(90deg, rgba(12, 8, 5, 0.64), transparent 74%);
}

.category-hero__content {
    position: absolute;
    inset: auto 32px 42px;
    z-index: 2;
}

.category-hero__content > svg {
    width: 52px;
    height: 52px;
    margin-bottom: 5px;
    color: #f2c779;
    stroke-width: 1.55;
}

.category-hero h1 {
    max-width: 610px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 8vw, 4.3rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 0.98;
    text-wrap: balance;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.42);
}

.category-hero p {
    margin: 11px 0 2px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.03rem;
}

.category-hero span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
}

.product-sheet {
    position: relative;
    z-index: 5;
    min-height: 450px;
    margin-top: -28px;
    padding: 28px 20px 32px;
    border-radius: 34px 34px 0 0;
    background: var(--ivory);
    box-shadow: 0 -12px 28px rgba(26, 18, 12, 0.1);
}

.result-summary {
    display: none;
    margin: 0 8px 18px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 650;
}

.result-summary:not(:empty) {
    display: block;
}

.product-list {
    display: grid;
    gap: 12px;
}

.product-card {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    min-height: 138px;
    padding: 12px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 8px 24px rgba(41, 29, 20, 0.055);
    cursor: pointer;
    transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
    animation: card-rise 420ms both;
}

.product-card:hover,
.product-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(187, 125, 44, 0.34);
    box-shadow: 0 15px 32px rgba(41, 29, 20, 0.11);
    outline: none;
}

.product-card__image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 114px;
    overflow: hidden;
    border-radius: 17px;
    background: #2a1d14;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: inherit;
    pointer-events: none;
}

.product-card__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 3px 4px 2px 17px;
}

.product-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.product-card__name {
    display: block;
    margin: 0;
    color: #201914;
    font-size: 1.05rem;
    font-weight: 790;
    line-height: 1.25;
}

.product-card__price {
    flex: 0 0 auto;
    color: #a76e25;
    font-size: 1.04rem;
    font-weight: 820;
    white-space: nowrap;
}

.product-card__description {
    display: -webkit-box;
    margin: 8px 0 10px;
    overflow: hidden;
    color: #5e554e;
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.portion-pill {
    display: inline-flex;
    max-width: 100%;
    min-height: 27px;
    align-items: center;
    padding: 4px 10px;
    overflow: hidden;
    color: #80684c;
    border: 1px solid rgba(151, 111, 65, 0.18);
    border-radius: 999px;
    background: #f8f3ea;
    font-size: 0.76rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-allergens {
    display: flex;
    gap: 5px;
}

.mini-allergen {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 999px;
}

.mini-allergen svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.8;
}

.tone-orange { color: #a8561f; background: #ffe5c9; }
.tone-blue { color: #596ba8; background: #e5e8ff; }
.tone-yellow { color: #9b7210; background: #fff0b9; }
.tone-stone { color: #76675a; background: #ece6df; }

.empty-state {
    padding: 76px 28px;
    text-align: center;
}

.empty-state svg {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    color: #a17d56;
}

.empty-state h2 {
    margin: 0;
    font-size: 1.3rem;
}

.empty-state p {
    max-width: 360px;
    margin: 8px auto 0;
    color: var(--muted);
}

.floating-controls {
    position: fixed;
    right: max(0px, calc(50vw - (var(--shell-width) / 2)));
    bottom: 0;
    left: max(0px, calc(50vw - (var(--shell-width) / 2)));
    z-index: 40;
    padding: 40px 24px max(12px, env(safe-area-inset-bottom));
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(27, 19, 13, 0.88) 33%, rgba(19, 14, 10, 0.98));
    pointer-events: none;
}

.search-pill,
.bottom-nav {
    pointer-events: auto;
}

.search-pill {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 54px;
    min-height: 70px;
    align-items: center;
    gap: 10px;
    padding: 7px 8px 7px 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(238, 217, 181, 0.28), rgba(118, 79, 37, 0.34));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 28px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

.search-pill > svg {
    width: 27px;
    height: 27px;
    color: #f2d29a;
    stroke-width: 1.9;
}

.search-pill input {
    width: 100%;
    min-width: 0;
    color: #fff;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 1rem;
}

.search-pill input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-pill:focus-within {
    border-color: rgba(237, 193, 117, 0.74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 0 4px rgba(214, 158, 74, 0.13), 0 14px 28px rgba(0, 0, 0, 0.24);
}

.sparkle-button {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: #fff9ea;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: radial-gradient(circle at 36% 24%, #f7e6bd, #d39942 48%, #9f631e);
    box-shadow: 0 5px 17px rgba(188, 118, 30, 0.42), inset 0 0 18px rgba(255, 255, 255, 0.34);
    cursor: pointer;
}

.sparkle-button svg {
    width: 29px;
    height: 29px;
    stroke-width: 1.5;
    animation: sparkle-pulse 2.6s ease-in-out infinite;
}

.bottom-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 10px;
}

.bottom-nav button {
    position: relative;
    display: flex;
    min-height: 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: rgba(255, 255, 255, 0.83);
    border: 0;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.bottom-nav button + button::before {
    content: "";
    position: absolute;
    top: 13px;
    bottom: 13px;
    left: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.bottom-nav svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.8;
}

.bottom-nav .is-active {
    color: #f4cf8e;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    right: max(0px, calc(50vw - (var(--shell-width) / 2)));
    bottom: 0;
    left: max(0px, calc(50vw - (var(--shell-width) / 2)));
    z-index: 69;
    background: rgba(28, 21, 16, 0.34);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
}

.category-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: max(0px, calc(50vw - (var(--shell-width) / 2)));
    z-index: 70;
    display: flex;
    width: min(82vw, 570px);
    flex-direction: column;
    overflow: hidden;
    color: var(--ink);
    border-radius: 0 38px 38px 0;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: 18px 0 55px rgba(24, 16, 10, 0.24);
    transform: translateX(calc(-106% - var(--app-offset)));
    transition: transform 300ms cubic-bezier(0.22, 0.76, 0.24, 1);
}

.category-drawer.is-open {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    min-height: 118px;
    align-items: center;
    justify-content: space-between;
    padding: max(20px, env(safe-area-inset-top)) 28px 18px 36px;
    border-bottom: 1px solid var(--line);
}

.round-button,
.modal-close {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #877b70;
    border: 0;
    border-radius: 50%;
    background: #f1efec;
    cursor: pointer;
}

.round-button svg,
.modal-close svg {
    width: 25px;
    height: 25px;
    stroke-width: 2.1;
}

.drawer-section-title {
    display: grid;
    grid-template-columns: 48px 1fr 28px;
    min-height: 98px;
    align-items: center;
    gap: 16px;
    padding: 19px 31px 17px 36px;
    color: #2b2119;
}

.drawer-section-title > svg:first-child {
    width: 45px;
    height: 45px;
    color: #9a682c;
    stroke-width: 1.55;
}

.drawer-section-title strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.drawer-section-title__chevron {
    width: 22px;
    height: 22px;
    color: #9a682c;
}

.drawer-list {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 0 15px;
}

.drawer-item {
    position: relative;
    display: grid;
    grid-template-columns: 38px 1fr 22px;
    width: 100%;
    min-height: 66px;
    align-items: center;
    gap: 15px;
    padding: 10px 27px 10px 48px;
    text-align: left;
    color: #51483f;
    border: 0;
    background: transparent;
    font-size: 1rem;
    cursor: pointer;
}

.drawer-item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    border-radius: 0 5px 5px 0;
    background: transparent;
}

.drawer-item svg {
    width: 31px;
    height: 31px;
    color: #75695f;
    stroke-width: 1.55;
}

.drawer-item .drawer-item__chevron {
    width: 20px;
    height: 20px;
    opacity: 0.42;
}

.drawer-item:hover,
.drawer-item:focus-visible,
.drawer-item.is-active {
    color: #9d6827;
    background: #f3eee6;
    outline: none;
}

.drawer-item.is-active::before {
    background: var(--gold);
}

.drawer-item.is-active svg {
    color: #ae742d;
}

.drawer-recommended {
    flex: 0 0 auto;
    padding: 17px 0 max(18px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: #fffdf9;
}

.eyebrow {
    margin: 0 24px 12px;
    color: #a29a91;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.recommended-track {
    display: flex;
    gap: 10px;
    padding: 0 18px;
    overflow-x: auto;
    scrollbar-width: none;
}

.recommended-card {
    display: grid;
    width: 154px;
    flex: 0 0 154px;
    grid-template-columns: 58px 1fr;
    gap: 9px;
    padding: 8px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    cursor: pointer;
}

.recommended-card img {
    width: 58px;
    height: 66px;
    object-fit: cover;
    border-radius: 12px;
}

.recommended-card span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.recommended-card b {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.recommended-card strong {
    margin-top: 5px;
    color: #a56c27;
    font-size: 0.84rem;
}

.modal-layer {
    position: fixed;
    top: 0;
    right: max(0px, calc(50vw - (var(--shell-width) / 2)));
    bottom: 0;
    left: max(0px, calc(50vw - (var(--shell-width) / 2)));
    z-index: 90;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 12, 8, 0.54);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fade-in 170ms both;
}

.product-modal,
.info-modal {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 93dvh;
    overflow: auto;
    border-radius: 34px 34px 0 0;
    background: var(--ivory);
    box-shadow: 0 -24px 70px rgba(18, 11, 6, 0.35);
    animation: sheet-up 320ms cubic-bezier(0.22, 0.76, 0.24, 1) both;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    color: #fff;
    background: rgba(17, 12, 8, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-close--light {
    color: #fff;
}

.product-modal__media {
    position: relative;
    height: min(43dvh, 410px);
    margin: 0;
    overflow: hidden;
    background: #24160e;
}

.product-modal__media::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(22, 14, 8, 0.68));
}

.product-modal__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-modal__portion {
    position: absolute;
    right: 22px;
    bottom: 20px;
    z-index: 2;
    padding: 7px 13px;
    color: #fff9ed;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(25, 17, 11, 0.6);
    font-size: 0.8rem;
    font-weight: 750;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-modal__body {
    padding: 28px 25px max(34px, env(safe-area-inset-bottom));
}

.product-modal__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.product-modal__heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    line-height: 1.08;
}

.product-modal__heading strong {
    flex: 0 0 auto;
    color: #a56b24;
    font-size: 1.45rem;
    white-space: nowrap;
}

.product-modal__description {
    margin: 14px 0 24px;
    color: #62584f;
    font-size: 1rem;
    line-height: 1.58;
}

.allergen-block {
    padding: 19px;
    border: 1px solid var(--line);
    border-radius: 21px;
    background: #fff;
}

.allergen-block .eyebrow {
    margin: 0 0 12px;
    color: #8c7862;
}

.allergen-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.allergen-chip {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 8px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 720;
}

.allergen-chip svg {
    width: 23px;
    height: 23px;
    padding: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.56);
}

.allergen-empty {
    color: #756a60;
    font-size: 0.88rem;
}

.allergen-note {
    display: grid;
    grid-template-columns: 23px 1fr;
    gap: 9px;
    margin: 15px 0 0;
    color: #80756a;
    font-size: 0.76rem;
    line-height: 1.45;
}

.allergen-note svg {
    width: 22px;
    height: 22px;
    color: #b6782c;
}

.info-modal__hero {
    display: grid;
    min-height: 220px;
    place-items: center;
    background:
        linear-gradient(rgba(19, 13, 9, 0.38), rgba(19, 13, 9, 0.75)),
        var(--home-poster) 66% 50% / cover;
}

.info-modal__body {
    padding: 28px 25px max(36px, env(safe-area-inset-bottom));
}

.info-modal__body h2 {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
}

.info-row {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 13px;
    align-items: start;
    padding: 15px 0;
    color: #4f453c;
    border-top: 1px solid var(--line);
    text-decoration: none;
}

.info-row svg {
    width: 27px;
    height: 27px;
    color: #ad742d;
    stroke-width: 1.8;
}

.noscript-message {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 200;
    padding: 14px 18px;
    color: #fff;
    border-radius: 14px;
    background: #7d2c22;
    text-align: center;
}

[hidden] {
    display: none !important;
}

@keyframes hero-breathe {
    from { transform: scale(1.015); }
    to { transform: scale(1.055); }
}

@keyframes sparkle-pulse {
    0%, 100% { transform: scale(0.92) rotate(-4deg); opacity: 0.88; }
    50% { transform: scale(1.08) rotate(4deg); opacity: 1; }
}

@keyframes card-rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes sheet-up {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 721px) {
    .app-shell {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    .home-card {
        min-height: 175px;
    }

    .product-card {
        grid-template-columns: 148px minmax(0, 1fr);
        min-height: 156px;
    }

    .product-card__name {
        font-size: 1.12rem;
    }
}

@media (max-width: 520px) {
    .home-view {
        padding-right: 20px;
        padding-left: 20px;
    }

    .home-grid {
        gap: 12px;
    }

    .home-card {
        min-height: 132px;
        border-radius: 23px;
    }

    .home-card__icon {
        width: 56px;
        height: 56px;
    }

    .home-card span {
        font-size: 0.82rem;
    }

    .brand__tagline {
        max-width: 300px;
        font-size: 0.65rem;
        line-height: 1.65;
    }

    .menu-header {
        height: 98px;
        padding-right: 19px;
        padding-left: 20px;
    }

    .mini-brand span {
        font-size: 2rem;
    }

    .category-strip {
        padding-right: 12px;
        padding-left: 12px;
    }

    .category-chip {
        min-height: 49px;
        padding: 8px 13px;
        font-size: 0.82rem;
    }

    .category-hero {
        height: 310px;
    }

    .category-hero__content {
        right: 22px;
        bottom: 38px;
        left: 22px;
    }

    .category-hero h1 {
        font-size: clamp(2.2rem, 11vw, 3.4rem);
    }

    .product-sheet {
        padding-right: 12px;
        padding-left: 12px;
        border-radius: 28px 28px 0 0;
    }

    .product-card {
        grid-template-columns: 108px minmax(0, 1fr);
        min-height: 128px;
        padding: 9px;
        border-radius: 20px;
    }

    .product-card__image {
        min-height: 110px;
        border-radius: 15px;
    }

    .product-card__content {
        padding-left: 12px;
    }

    .product-card__top {
        gap: 7px;
    }

    .product-card__name {
        font-size: 0.93rem;
    }

    .product-card__price {
        font-size: 0.9rem;
    }

    .product-card__description {
        margin: 7px 0 8px;
        font-size: 0.79rem;
    }

    .portion-pill {
        max-width: 112px;
        min-height: 24px;
        padding: 3px 8px;
        font-size: 0.68rem;
    }

    .mini-allergen {
        width: 24px;
        height: 24px;
    }

    .mini-allergen:nth-child(n+3) {
        display: none;
    }

    .floating-controls {
        padding: 34px 16px max(8px, env(safe-area-inset-bottom));
    }

    .search-pill {
        min-height: 63px;
        grid-template-columns: 27px minmax(0, 1fr) 49px;
        padding-left: 16px;
    }

    .sparkle-button {
        width: 49px;
        height: 49px;
    }

    .category-drawer {
        width: min(87vw, 480px);
        border-radius: 0 30px 30px 0;
    }

    .drawer-head {
        min-height: 100px;
        padding-right: 20px;
        padding-left: 25px;
    }

    .drawer-section-title {
        min-height: 82px;
        grid-template-columns: 40px 1fr 24px;
        padding-right: 21px;
        padding-left: 26px;
    }

    .drawer-section-title > svg:first-child {
        width: 39px;
        height: 39px;
    }

    .drawer-section-title strong {
        font-size: 1.3rem;
    }

    .drawer-item {
        min-height: 58px;
        grid-template-columns: 32px 1fr 18px;
        padding-right: 20px;
        padding-left: 36px;
        font-size: 0.92rem;
    }

    .drawer-item svg {
        width: 28px;
        height: 28px;
    }

    .recommended-card {
        width: 142px;
        flex-basis: 142px;
    }

    .product-modal__heading {
        display: block;
    }

    .product-modal__heading strong {
        display: block;
        margin-top: 10px;
    }
}

@media (max-height: 720px) {
    .home-view {
        padding-top: 26px;
        padding-bottom: 174px;
    }

    .brand__main {
        font-size: 3.7rem;
    }

    .brand__sub {
        font-size: 1.4rem;
    }

    .brand__tagline {
        display: none;
    }

    .home-grid {
        margin-top: 24px;
    }

    .home-card {
        min-height: 112px;
    }

    .home-card__icon {
        width: 48px;
        height: 48px;
    }

    .search-pill {
        min-height: 58px;
    }

    .sparkle-button {
        width: 45px;
        height: 45px;
    }

    .bottom-nav button {
        min-height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
