#restaurantDigitalMenu {
    --dish-pink: #eb3d8c;
    --dish-pill: #65434c;
    --dish-border: #f6c8b666;
    --dish-header: 0px;
    --dish-nav-height: 0px;
    font-family: Montserrat, system-ui, sans-serif;
}

#restaurantDigitalMenu [hidden] { display: none !important; }

#foodStickyMenu {
    position: sticky;
    top: var(--dish-header);
    z-index: 20;
    padding: 8px 20px;
    background: #21191beb;
    border-bottom: 1px solid #ffffff26;
    backdrop-filter: blur(10px);
}

.dish-nav-row, .dish-filter-list {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 3px;
    scrollbar-width: thin;
    white-space: nowrap;
}

#restaurantDigitalMenu .dish-menu-group {
    margin-inline: 20px;
}

#restaurantDigitalMenu .dish-no-results[hidden] + .dish-menu-group {
    margin-top: 0;
}

#foodStickyMenu :is(a, summary, button) {
    font-family: inherit;
    font-weight: 600;
}

#foodStickyMenu :is(a, summary, .dish-filter-pill) {
    font-family: 'Fenles Kou', Montserrat, system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.dish-nav-row + .dish-nav-row { margin-top: 6px; }
.dish-nav-row a {
    display: block;
    padding: 12px 16px;
    color: white;
    text-decoration: none;
}
.dish-menu-links a {
    padding-inline: 20px;
    border-radius: 999px;
    background: #ffffff17;
}
.dish-menu-links a[aria-current] { background: var(--dish-pink); }
.dish-section-links a { border-bottom: 3px solid transparent; }
.dish-section-links a[aria-current] { border-color: var(--dish-pink); }

#restaurantDigitalMenu :is(.dish-menu-group, .dish-section-group h3, .dish-no-results) {
    scroll-margin-top: calc(var(--dish-header) + var(--dish-nav-height) + 8px);
}

.dish-filters summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 4px;
    cursor: pointer;
    list-style: none;
}
.dish-filters summary::-webkit-details-marker { display: none; }
.dish-filters summary::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-inline-start: auto;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.dish-filters[open] summary::after { transform: rotate(225deg); }
.dish-filters summary span { margin-inline-start: 8px; font-size: .85em; }
.dish-filter-note { padding: 4px 3px; font-size: .8rem; color: #eee4e7; }
.dish-no-results { padding: 24px 12px; text-align: center; }
.dish-trigger { display: block; }
.dish-trigger:focus-visible, #foodStickyMenu :focus-visible,
.dish-detail :focus-visible, .dish-viewer :focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}
.dish-filter-pill, .dish-allergens li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    background: var(--dish-pill);
    color: white;
    padding: 4px 8px;
    font-size: .875rem;
}
.dish-filter-pill {
    min-height: 44px;
    padding: 6px 12px;
    border: 1px solid #ffffff59;
}
.dish-filter-pill[aria-pressed="true"] { background: var(--dish-pink); color: #220d17; }
.dish-filter-pill img, .dish-allergens li img { flex: none; width: 20px; height: 20px; object-fit: contain; }

html.dish-dialog-open { overflow: hidden; }
.dish-detail, .dish-viewer {
    position: fixed;
    inset: 0;
    margin: auto;
    padding: 0;
    border: 0;
    color: white;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    overflow: hidden;
    background: linear-gradient(145deg, #221611, #38232f);
}
.dish-detail::backdrop, .dish-viewer::backdrop { background: #0e0808df; backdrop-filter: blur(8px); }

.dish-scroll { height: 100%; overflow: auto; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom); }
.dish-layout { min-width: 0; }
.dish-hero {
    position: relative;
    height: min(77vh, max(9rem, calc(100vh - 12rem)));
    height: min(77dvh, max(9rem, calc(100dvh - 12rem - env(safe-area-inset-bottom))));
    background: #201510;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.dish-detail.dish-no-photo .dish-hero { height: 8rem; padding-top: 2rem; }
.dish-hero-photo { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.dish-hero::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(#10080699, transparent 27% 68%, #10080699);
    content: "";
    pointer-events: none;
}
.dish-photo-status { z-index: 1; color: #e7d7d0; }
.dish-hero-open { position: absolute; inset: 0; z-index: 1; display: grid; place-items: end; padding: 0 14px 26px; cursor: zoom-in; }
.dish-hero-open:focus-visible { outline-offset: -4px; }
.dish-round {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    border: 1px solid var(--dish-border);
    background: #3b2926ae;
    backdrop-filter: blur(8px);
}
.dish-back, .dish-close-photo { position: absolute; z-index: 3; top: max(10px, env(safe-area-inset-top)); }
.dish-back { left: max(12px, env(safe-area-inset-left)); }
.dish-close-photo { right: max(12px, env(safe-area-inset-right)); }
#restaurantDigitalMenu svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.dish-panel {
    position: relative;
    z-index: 2;
    margin-top: -14px;
    padding: 12px max(16px, env(safe-area-inset-left), env(safe-area-inset-right)) 20px;
    border: 1px solid var(--dish-border);
    border-radius: 26px;
    background: linear-gradient(140deg, #6a4840e3, #312026 55%, #4e2836);
    backdrop-filter: blur(8px);
    overflow-wrap: anywhere;
}
.dish-handle { width: 42px; height: 4px; margin: 0 auto 14px; border-radius: 4px; background: #ffffff8c; }
.dish-heading { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
#restaurantDigitalMenu :is(.dish-heading h2, .dish-menu-group > h2, .dish-section-group > h3) {
    font-family: 'Fenles Kou', Montserrat, system-ui, sans-serif !important;
}
.dish-heading h2, .dish-price { line-height: 1.12; }
.dish-price { font-family: 'Fenles Kou', Montserrat, system-ui, sans-serif; }
.dish-heading h2 { flex: 1 1 9rem; font-size: clamp(1.7rem, 6vw, 2.15rem); }
.dish-price { font-size: 1.35rem; border: 1px solid var(--dish-pink); border-radius: 14px; padding: 5px 10px; background: linear-gradient(160deg, #a63f62, #74253f); }
.dish-description { margin-top: 10px; white-space: pre-wrap; font-size: 1.125rem; line-height: 1.45; color: #fff7f4; }
.dish-detail.dish-compact .dish-description:not([hidden]) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.dish-hint { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 0; min-height: 48px; color: #fffe; font-size: .85rem; }
@media (prefers-reduced-motion: no-preference) {
    .dish-hint svg { animation: dish-swipe 1.8s ease-in-out infinite; }
}
@keyframes dish-swipe { 45% { transform: translateY(-4px); } 70% { transform: translateY(2px); } }
.dish-more { display: grid; gap: 10px; margin-top: 12px; }
.dish-allergens { padding: 12px; background: #39242252; border: 1px solid #ffffff2e; border-radius: 16px; }
#restaurantDigitalMenu .dish-allergens h3 { font-family: inherit !important; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 700; }
.dish-allergens h3 svg, .dish-view-action svg:first-child, [data-dish-call] svg { color: #ffa0ca; }
.dish-allergens ul { display: flex; flex-wrap: wrap; gap: 6px; }
.dish-actions { display: flex; gap: 8px; }
.dish-actions:has(> :is(a):not([hidden])) { min-height: 48px; }
.dish-actions:not(:has(a:not([hidden]))) { display: none; }
.dish-actions .dish-action { flex: 4 1 0; min-width: 0; }
.dish-actions .dish-booking { flex-grow: 5; }
.dish-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 15px;
    border: 1px solid var(--dish-border);
    background: linear-gradient(155deg, #65454d, #4a3238);
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}
.dish-action:hover { filter: brightness(1.12); }
.dish-booking { background: linear-gradient(160deg, #f43d8b, #a50f4c); }
.dish-view-action { justify-content: flex-start; text-align: start; }
.dish-view-action span { flex: 1; }

.dish-viewer { background: #170d0a; }
.dish-viewer-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(28px); opacity: .64; transform: scale(1.1); }
.dish-viewer-shell {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(#140b07cc, #160c098f 50%, #1b0e0ee6);
}
.dish-frame-area {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    touch-action: none;
    user-select: none;
}
@media (min-width: 768px) and (pointer: fine) {
    .dish-frame-area { inset: 64px 12px 68px; }
}
.dish-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #1a0f0a99;
    box-shadow: 0 1rem 2rem #0c060488;

}
.dish-frame::after { position: absolute; inset: 0; content: ""; border: 1px solid var(--dish-border); border-radius: inherit; pointer-events: none; }
.dish-viewer.dish-zoomed .dish-frame { overflow: visible; background: transparent; box-shadow: none; }
.dish-viewer.dish-zoomed .dish-frame::after { content: none; }
.dish-full-photo { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.dish-zoom {
    position: absolute;
    z-index: 3;
    bottom: max(12px, env(safe-area-inset-bottom));
    background: #3b29269e;
}
.dish-zoom-touch { display: none; }
@media (pointer: coarse) {
    .dish-zoom-touch { display: inline; }
    .dish-zoom-mouse { display: none; }
}

@media (min-width: 768px) {
    .dish-detail { width: min(94vw, 1200px); height: fit-content; max-height: 92dvh; border-radius: 26px; border: 1px solid var(--dish-border); }
    .dish-scroll { height: auto; max-height: 92dvh; }
    .dish-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
    .dish-hero { position: sticky; top: 0; height: clamp(15rem, 72dvh, 52rem); }
    .dish-hero-photo { object-fit: contain; }
    .dish-panel { margin: 12px; }
    .dish-handle, .dish-hint { display: none; }
    .dish-detail.dish-compact .dish-description:not([hidden]) { display: block; overflow: visible; -webkit-line-clamp: unset; }
    .dish-no-photo .dish-layout { display: block; }
    .dish-no-photo .dish-hero { position: static; }
}
