﻿:root {
    --menu-bg: #f8f1e7;
    --menu-surface: rgba(255, 255, 255, 0.82);
    --menu-ink: #181412;
    --menu-muted: #736861;
    --menu-line: rgba(24, 20, 18, 0.08);
    --menu-accent: #141414;
    --menu-shadow: 0 24px 60px rgba(26, 18, 9, 0.12);
    --menu-hero-ink: #fffaf4;
    --menu-hero-muted: rgba(255,250,244,0.78);
    --menu-hero-control-bg: rgba(255,255,255,0.10);
    --menu-hero-control-ink: #fffaf4;
    --menu-hero-control-border: rgba(255,255,255,0.22);
    --menu-hero-control-active-bg: #fffaf4;
    --menu-hero-control-active-ink: #181412;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--menu-ink);
    background: var(--menu-bg);
}

img.menu-lazy-img {
    transition: filter .22s ease, opacity .22s ease;
    filter: blur(10px);
    opacity: 0.86;
}

img.menu-lazy-img.is-loaded {
    filter: blur(0);
    opacity: 1;
}

button {
    font: inherit;
    cursor: pointer;
}

.hidden {
    display: none !important;
}

.menu-shell {
    padding: 20px 16px 120px;
}

.menu-hero {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: 18px;
    min-height: 240px;
    background: linear-gradient(135deg, var(--menu-accent), color-mix(in srgb, var(--menu-accent) 76%, #ffffff 24%));
    color: var(--menu-hero-ink);
    box-shadow: var(--menu-shadow);
}

.menu-hero::before,
.menu-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
}

.menu-hero::before {
    width: 180px;
    height: 180px;
    top: -70px;
    right: -50px;
}

.menu-hero::after {
    width: 200px;
    height: 200px;
    left: -80px;
    bottom: -120px;
}

.back-pill {
    position: relative;
    z-index: 1;
    border: 1px solid var(--menu-hero-control-border);
    background: var(--menu-hero-control-bg);
    color: var(--menu-hero-control-ink);
    border-radius: 999px;
    padding: 10px 14px;
    margin-bottom: 20px;
}

.menu-hero-top {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
}

.menu-hero.is-compact {
    position: sticky;
    top: 10px;
    z-index: 24;
    min-height: auto;
    padding: 16px 18px;
    margin-bottom: 10px;
    backdrop-filter: blur(18px);
}

.menu-hero.is-compact::before,
.menu-hero.is-compact::after {
    opacity: 0.45;
}

.menu-hero.is-compact .menu-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.menu-hero.is-compact .menu-logo-wrap,
.menu-hero.is-compact .menu-eyebrow,
.menu-hero.is-compact .menu-hero-copy h1,
.menu-hero.is-compact #menuRestaurantTagline {
    display: none;
}

.menu-hero.is-compact .menu-hero-copy {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0;
}

.menu-hero.is-compact .lang-switch {
    margin-top: 0;
    position: static;
    transform: none;
    justify-content: flex-end;
}

.menu-hero.is-compact .menu-hero-side {
    display: none;
}

.menu-hero.is-compact .back-pill {
    margin-bottom: 0;
}

.menu-hero.logo-hidden .menu-logo-wrap {
    display: none;
}

.menu-logo-wrap {
    width: 92px;
    height: 92px;
    border-radius: 28px;
    background: rgba(255,255,255,0.16);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.menu-logo-wrap.has-image img {
    display: block;
}

.menu-logo-wrap.has-image span {
    display: none;
}

.menu-logo-wrap span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 54px;
}

.menu-eyebrow {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 11px;
    opacity: 0.76;
}

.menu-hero-copy h1,
.state-card h2,
.category-card h3,
.items-head h2,
.item-card h4,
.drawer-head h3 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.03em;
}

.menu-hero-copy h1 {
    font-size: 48px;
    line-height: 0.92;
}

.menu-hero-copy p:last-child {
    margin: 12px 0 0;
    max-width: 560px;
    line-height: 1.7;
    color: var(--menu-hero-muted);
}

.lang-switch {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.menu-hero-side {
    position: absolute;
    right: 0;
    bottom: 4px;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.menu-hero-top .lang-switch {
    position: static;
}

.menu-hero-copy {
    padding-right: min(22vw, 210px);
    padding-top: 0;
}

.lang-btn {
    border: 1px solid var(--menu-hero-control-border);
    background: var(--menu-hero-control-bg);
    color: var(--menu-hero-control-ink);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 700;
}

.lang-btn.is-active {
    background: var(--menu-hero-control-active-bg);
    color: var(--menu-hero-control-active-ink);
}

.wifi-pill {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--wifi-pill-border, rgba(255,255,255,0.18));
    border-radius: 999px;
    padding: 11px 16px;
    background: var(--wifi-pill-bg, rgba(255, 248, 235, 0.96));
    color: var(--wifi-pill-ink, #1a140f);
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(13,11,9,0.18);
    isolation: isolate;
}

.wifi-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(13,11,9,0.22);
}

.wifi-pill-glow {
    position: absolute;
    top: 50%;
    right: -22px;
    width: 72px;
    height: 72px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 185, 83, 0.62), rgba(255, 185, 83, 0));
    pointer-events: none;
    z-index: -1;
}

.wifi-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 179, 73, 0.18);
    color: #7a4510;
}

.menu-content {
    margin-top: 20px;
    display: grid;
    gap: 16px;
}

.state-card,
.category-card,
.item-card,
.items-head {
    border-radius: 28px;
    background: var(--menu-surface);
    border: 1px solid rgba(255,255,255,0.65);
    box-shadow: var(--menu-shadow);
    backdrop-filter: blur(18px);
}

.state-card {
    padding: 24px;
    text-align: center;
}

.state-card h2 {
    font-size: 38px;
}

.categories-grid {
    display: grid;
    gap: 16px;
}

.category-card {
    overflow: hidden;
}

.category-visual {
    aspect-ratio: 4 / 3;
    min-height: 168px;
    background: linear-gradient(135deg, rgba(20,20,20,0.12), rgba(20,20,20,0.03));
}

.category-visual img,
.item-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.category-copy,
.items-head,
.item-body {
    padding: 18px;
}

.category-copy {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.category-copy h3 {
    font-size: 32px;
    line-height: 0.95;
}

.category-copy p,
.item-body p {
    margin: 8px 0 0;
    color: var(--menu-muted);
    line-height: 1.7;
}

.category-enter {
    border: 1px solid color-mix(in srgb, var(--menu-accent) 12%, #ffffff 88%);
    background: rgba(255,255,255,0.72);
    color: var(--menu-ink);
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(20,20,20,0.12);
    backdrop-filter: blur(12px);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.category-enter:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(20,20,20,0.16);
    background: rgba(255,255,255,0.82);
}

body[data-menu-theme="midnight"] .category-enter {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.92);
    color: #13181d;
    box-shadow: 0 18px 36px rgba(0,0,0,0.24);
}

body[data-menu-theme="midnight"] .category-enter:hover {
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.28);
}

body[data-menu-theme="midnight"] .item-qty-control {
    background: rgba(255,255,255,0.92);
    border-color: rgba(255,255,255,0.26);
    box-shadow: 0 10px 22px rgba(0,0,0,0.24);
}

body[data-menu-theme="midnight"] .qty-value {
    color: #1a1411;
}

.items-head h2 {
    font-size: 40px;
}

.items-grid {
    display: grid;
    gap: 16px;
}

/* Mobile preference (controlled from restaurant dashboard). Desktop stays on 2 columns (min-width: 900px). */
@media (max-width: 899px) {
    .menu-hero-top {
        display: grid;
        gap: 18px;
    }

    .state-card,
    .category-card,
    .item-card,
    .items-head,
    .category-enter,
    .item-qty-control,
    .drawer-overlay,
    .menu-confirm-overlay {
        backdrop-filter: none;
    }

    .state-card,
    .category-card,
    .item-card,
    .items-head {
        box-shadow: 0 12px 28px rgba(24,20,18,0.08);
    }

    body[data-mobile-layout="grid"] .categories-grid,
    body[data-mobile-layout="grid"] .items-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        align-items: stretch;
    }

    body[data-mobile-layout="grid"] .category-copy h3 {
        font-size: 22px;
        line-height: 1.05;
    }

    body[data-mobile-layout="grid"] .category-visual {
        min-height: 140px;
    }

    body[data-mobile-layout="grid"] .category-copy {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    body[data-mobile-layout="grid"] .category-enter {
        padding: 10px 14px;
        font-size: 13px;
        align-self: stretch;
        text-align: center;
        width: 100%;
        box-shadow: 0 12px 26px rgba(20,20,20,0.10);
    }

    body[data-mobile-layout="grid"] .item-media {
        min-height: 140px;
    }

    body[data-mobile-layout="grid"] .item-body {
        gap: 10px;
        padding: 14px;
    }

    body[data-mobile-layout="grid"] .item-body h4 {
        font-size: 20px;
        line-height: 1.05;
    }

    body[data-mobile-layout="grid"] .item-price {
        font-size: 16px;
    }

    body[data-mobile-layout="grid"] .item-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    body[data-mobile-layout="grid"] .item-toggle {
        min-width: 0;
        width: 100%;
        padding: 10px 12px;
        font-size: 13px;
        text-align: center;
    }

    body[data-mobile-layout="grid"] .item-body p {
        font-size: 13px;
        line-height: 1.55;
    }

    body[data-mobile-layout="grid"] .item-qty-control {
        width: 100%;
        justify-content: space-between;
        padding: 6px 10px;
        box-shadow: 0 12px 24px rgba(24,20,18,0.06);
    }

    body[data-mobile-layout="grid"] .qty-btn {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .menu-hero-side {
        position: static;
        margin-top: 6px;
        justify-content: flex-end;
    }

    .menu-hero-top .lang-switch {
        position: static;
    }

    .menu-hero.is-compact .lang-switch {
        position: static;
        transform: none;
    }

    .menu-hero-copy {
        padding-right: 0;
        padding-top: 0;
    }

    .menu-hero.is-compact {
        top: 8px;
    }

    .wifi-pill {
        width: auto;
        justify-content: flex-start;
    }

    .wifi-public-row,
    .wifi-social-links {
        align-items: stretch;
    }
}

.menu-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 18px;
    position: relative;
    min-height: 34px;
}

.menu-autoload-state {
    font-size: 13px;
    font-weight: 600;
    color: var(--menu-muted);
}

.menu-auto-load-sentinel {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.item-card {
    overflow: hidden;
}

.item-media {
    aspect-ratio: 4 / 3;
    min-height: 184px;
    background: linear-gradient(135deg, rgba(20,20,20,0.12), rgba(20,20,20,0.03));
}

.item-body {
    display: grid;
    gap: 14px;
}

.item-body h4 {
    font-size: 32px;
    line-height: 0.95;
}

.item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.item-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 44px;
}

.item-price {
    font-size: 20px;
    font-weight: 700;
}

.item-toggle {
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--menu-accent), #2d2d2d);
    color: #fff;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 700;
    min-height: 44px;
    min-width: 126px;
    box-shadow: 0 10px 20px rgba(20,20,20,0.12);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.item-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(20,20,20,0.16);
}

.item-toggle.is-disabled {
    background: #fff2f0;
    color: #b83a2f;
    border-color: rgba(184,58,47,0.18);
}

/* (reserved) */

.item-qty-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 8px;
    min-height: 44px;
    border-radius: 999px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(24,20,18,0.10);
    box-shadow: 0 10px 22px rgba(24,20,18,0.06);
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, var(--menu-accent), #2d2d2d);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}

.qty-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(20,20,20,0.16);
}

.qty-btn:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.qty-btn:disabled,
.drawer-step-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

.qty-value {
    min-width: 26px;
    text-align: center;
    font-weight: 900;
    font-size: 14px;
}

.floating-summary {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, #151515, #2f2a26);
    color: #fffaf4;
    box-shadow: 0 24px 60px rgba(20, 20, 20, 0.24);
}

.floating-summary strong {
    font-size: 18px;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(9, 8, 8, 0.42);
    backdrop-filter: blur(8px);
}

.summary-drawer {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    min-height: 340px;
    max-height: 82vh;
    overflow: auto;
    border-radius: 28px 28px 0 0;
    background: #fffdf9;
    color: #181412;
    box-shadow: 0 -24px 70px rgba(24,20,18,0.2);
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
}

.summary-drawer .menu-eyebrow,
.summary-drawer .drawer-item span,
.summary-drawer .drawer-footer span {
    color: #736861;
}

.summary-drawer h3,
.summary-drawer strong,
.summary-drawer .drawer-close,
.summary-drawer .drawer-clear-btn,
.summary-drawer .drawer-step-btn,
.summary-drawer .drawer-remove-btn {
    color: #181412;
}

.drawer-head,
.drawer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.drawer-head {
    margin-bottom: 18px;
}

.drawer-head h3 {
    font-size: 36px;
}

.drawer-close,
.drawer-clear-btn {
    border: 1px solid var(--menu-line);
    border-radius: 999px;
    background: linear-gradient(180deg, #fff6f4, #ffeceb);
    color: #b83a2f;
    padding: 10px 16px;
    box-shadow: 0 10px 24px rgba(184,58,47,0.1);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.drawer-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

body.is-classic-order .drawer-order-meta {
    display: none !important;
}

body.is-classic-order .drawer-footer-row {
    justify-content: space-between;
    flex-wrap: nowrap;
}

body.is-classic-order .drawer-footer-actions {
    justify-content: flex-end;
    margin-left: auto;
}

body.is-classic-order .drawer-footer-status {
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: rgba(24,20,18,0.72);
    letter-spacing: 0.005em;
}

/* Classic/server mode: "Terminer" button should look lighter (not like a real online submit). */
.drawer-submit-btn.is-classic {
    background: rgba(255,255,255,0.86);
    border-color: rgba(24,20,18,0.12);
    color: var(--menu-ink);
    box-shadow: 0 10px 22px rgba(24,20,18,0.08);
}

body[data-menu-theme="midnight"] .drawer-submit-btn.is-classic {
    background: rgba(255,255,255,0.94);
    border-color: rgba(24,20,18,0.18);
    color: #1a1411;
}

.drawer-submit-btn.is-classic:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(24,20,18,0.12);
    filter: none;
}

.drawer-submit-btn {
    border: 1px solid rgba(24, 20, 18, 0.12);
    border-radius: 999px;
    background: linear-gradient(135deg, #181412, #2e2a26);
    color: #fffaf4;
    padding: 10px 16px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 16px 34px rgba(24,20,18,0.18);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    white-space: nowrap;
}

.drawer-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 20px 46px rgba(24,20,18,0.22);
    filter: brightness(1.03);
}

.drawer-submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    filter: none;
}

.drawer-close:hover,
.drawer-clear-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(184,58,47,0.14);
    background: linear-gradient(180deg, #fff3f1, #ffe3e0);
}

.drawer-items {
    display: grid;
    gap: 12px;
}

.drawer-item {
    padding: 14px 0;
    border-bottom: 1px solid rgba(24,20,18,0.08);
}

.drawer-item:last-child {
    border-bottom: 0;
}

.drawer-item-main {
    min-width: 0;
    flex: 1 1 auto;
}

.drawer-item-side {
    display: grid;
    justify-items: end;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 156px;
}

.drawer-item strong {
    display: block;
    font-size: 16px;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
}

.drawer-item span {
    color: var(--menu-muted);
    font-size: 13px;
    display: block;
    margin-top: 4px;
}

.drawer-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.drawer-step-btn,
.drawer-remove-btn {
    border: 1px solid var(--menu-line);
    border-radius: 999px;
    background: rgba(20,20,20,0.05);
    color: var(--menu-ink);
    padding: 8px 12px;
}

.drawer-step-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    font-size: 18px;
}

.drawer-remove-btn {
    background: linear-gradient(180deg, #fff5f3, #ffe7e3);
    color: #b83a2f;
    box-shadow: 0 8px 18px rgba(184,58,47,0.08);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.drawer-remove-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(184,58,47,0.12);
    background: linear-gradient(180deg, #fff1ee, #ffdeda);
}

.drawer-qty {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
}

.menu-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(9, 8, 8, 0.4);
    backdrop-filter: blur(8px);
}

.menu-confirm-card {
    width: min(420px, 100%);
    border-radius: 28px;
    background: #fffdf9;
    color: #181412;
    box-shadow: 0 28px 70px rgba(24,20,18,0.22);
    padding: 24px;
}

.menu-confirm-card h3 {
    margin: 0;
    font-size: 38px;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.03em;
}

.menu-confirm-card p:last-of-type {
    margin: 12px 0 0;
    color: #736861;
    line-height: 1.7;
}

.wifi-modal-card {
    width: min(680px, 100%);
    max-height: min(88vh, 920px);
    overflow: auto;
    border-radius: 30px;
    background: #fffdf9;
    color: #181412;
    box-shadow: 0 32px 90px rgba(14, 12, 10, 0.24);
    padding: 0;
}

.review-prompt-card {
    width: min(520px, 100%);
    border-radius: 30px;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 194, 108, 0.34), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,247,235,0.94));
    box-shadow: 0 28px 72px rgba(16, 12, 8, 0.28);
    color: #181412;
}

.review-prompt-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(24,20,18,0.08);
    color: #8a5b24;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.review-prompt-card h3 {
    margin: 18px 0 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 5vw, 54px);
    letter-spacing: -0.03em;
}

.review-prompt-card p {
    margin: 0;
    color: #5f544d;
    line-height: 1.8;
}

.review-prompt-stars {
    margin-top: 18px;
    color: #d18a20;
    font-size: 28px;
    letter-spacing: 0.16em;
}

.review-prompt-actions {
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.review-prompt-cta {
    border: 1px solid rgba(24,20,18,0.10);
    border-radius: 999px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #1b1715, #3a3027);
    color: #fffaf4;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(24,20,18,0.18);
}

.wifi-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 22px 10px;
}

.wifi-modal-head h3 {
    margin: 0;
    font-size: 40px;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.03em;
}

.wifi-modal-head p:last-child {
    margin: 12px 0 0;
    color: #736861;
    line-height: 1.7;
}

.wifi-modal-body {
    display: grid;
    gap: 18px;
    padding: 10px 22px 22px;
}

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

.wifi-public-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 24px;
    background:
        radial-gradient(circle at right top, rgba(255, 190, 112, 0.18), transparent 40%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,245,238,0.92));
    border: 1px solid rgba(24,20,18,0.08);
}

.wifi-public-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wifi-public-top strong {
    font-size: 20px;
}

.wifi-network-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 192, 108, 0.18);
    color: #6e451c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wifi-public-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.wifi-public-secret {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(24,20,18,0.05);
    font-weight: 700;
    letter-spacing: 0.03em;
}

.wifi-copy-btn {
    border: 1px solid rgba(24,20,18,0.10);
    background: rgba(255,255,255,0.88);
    color: #181412;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 800;
}

.wifi-public-note {
    margin: 0;
    color: #736861;
    line-height: 1.65;
}

.wifi-social-block {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(24,20,18,0.08);
    background: rgba(255,255,255,0.76);
}

.wifi-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wifi-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 132px;
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(24,20,18,0.06);
    border: 1px solid rgba(24,20,18,0.08);
    color: #181412;
    text-decoration: none;
    font-weight: 800;
}

.menu-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
    flex-wrap: wrap;
}

.menu-confirm-cancel,
.menu-confirm-accept {
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    border: 1px solid rgba(24,20,18,0.08);
}

.menu-confirm-cancel {
    background: #f3efe8;
    color: #181412;
}

.menu-confirm-accept {
    background: linear-gradient(135deg, #181412, #2e2a26);
    color: #fffaf4;
    border-color: transparent;
}

.drawer-footer {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(24,20,18,0.08);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.drawer-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.drawer-order-meta {
    border: 1px solid rgba(24,20,18,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.65));
    border-radius: 18px;
    padding: 14px 14px 12px;
}

.order-mode-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.order-mode-title strong {
    font-size: 14px;
}

.order-mode-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.order-mode-chip {
    border: 1px solid rgba(24,20,18,0.1);
    background: #fffdf9;
    border-radius: 999px;
    padding: 9px 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
    user-select: none;
}

.order-mode-chip.is-active {
    background: linear-gradient(135deg, #181412, #2e2a26);
    border-color: transparent;
    color: #fffaf4;
    box-shadow: 0 14px 30px rgba(24,20,18,0.16);
}

.order-meta-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.order-meta-field {
    display: grid;
    gap: 6px;
}

.order-meta-field span {
    font-size: 12px;
    color: rgba(24,20,18,0.62);
    font-weight: 700;
}

.order-meta-field input {
    width: 100%;
    border: 1px solid rgba(24,20,18,0.12);
    border-radius: 14px;
    padding: 11px 12px;
    background: #fffdf9;
    font-family: inherit;
    font-weight: 650;
    outline: none;
}

.order-meta-field input:focus {
    border-color: rgba(24,20,18,0.26);
    box-shadow: 0 0 0 4px rgba(24,20,18,0.06);
}

.order-meta-field textarea {
    width: 100%;
    border: 1px solid rgba(24,20,18,0.12);
    border-radius: 14px;
    padding: 11px 12px;
    background: #fffdf9;
    font-family: inherit;
    font-weight: 650;
    outline: none;
    resize: vertical;
    min-height: 84px;
}

.order-meta-field textarea:focus {
    border-color: rgba(24,20,18,0.26);
    box-shadow: 0 0 0 4px rgba(24,20,18,0.06);
}

.order-meta-note {
    margin-top: 12px;
}

.order-meta-grid.is-single {
    grid-template-columns: 1fr;
}

.drawer-footer strong {
    display: block;
    margin-top: 4px;
    font-size: 24px;
}

.drawer-footer-status {
    width: 100%;
    text-align: right;
    font-size: 12px;
    color: rgba(24,20,18,0.62);
}

.drawer-footer-status[data-type="success"] {
    color: rgba(28, 102, 58, 0.92);
}

.drawer-footer-status[data-type="error"] {
    color: rgba(184, 58, 47, 0.92);
}

.drawer-footer-status[data-type="loading"] {
    color: rgba(24,20,18,0.7);
}


/* Thank-you view after order submission */
.drawer-thankyou {
    margin-top: 8px;
    padding-top: 6px;
}

.drawer-thankyou-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 14px;
    border: 1px solid rgba(24,20,18,0.10);
    border-radius: 18px;
    background:
        radial-gradient(circle at top left, rgba(40, 199, 111, 0.16), transparent 46%),
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.74));
    box-shadow: 0 18px 48px rgba(24,20,18,0.12);
}

.drawer-thankyou-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 950;
    font-size: 18px;
    line-height: 1;
    color: rgba(18, 114, 82, 0.98);
    background:
        radial-gradient(circle at top, rgba(40, 199, 111, 0.24), rgba(40, 199, 111, 0.10)),
        linear-gradient(180deg, rgba(244, 255, 249, 0.94), rgba(235, 255, 244, 0.84));
    border: 1px solid rgba(18, 114, 82, 0.18);
    box-shadow: 0 14px 30px rgba(18, 114, 82, 0.14);
}

.drawer-thankyou h4 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 900;
    color: rgba(18, 114, 82, 0.96);
    letter-spacing: -0.01em;
}

.drawer-thankyou p {
    margin: 6px 0 0;
    color: rgba(24,20,18,0.64);
    font-size: 13px;
    line-height: 1.55;
}

.drawer-thankyou-meta {
    margin-top: 14px;
    border: 1px solid rgba(24,20,18,0.10);
    border-radius: 18px;
    padding: 12px 12px;
    background: rgba(20,20,20,0.03);
    display: grid;
    gap: 8px;
}

.drawer-thankyou-meta-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.drawer-thankyou-meta-row span {
    color: rgba(24,20,18,0.62);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.drawer-thankyou-meta-row strong {
    font-size: 14px;
    margin: 0;
    font-weight: 900;
    color: rgba(24,20,18,0.92);
    text-align: right;
    overflow-wrap: anywhere;
}

.drawer-thankyou-items {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(24,20,18,0.10);
}

.thankyou-items-list {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

.thankyou-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px;
    border: 1px solid rgba(24,20,18,0.08);
    border-radius: 16px;
    background: rgba(255,255,255,0.82);
}

.thankyou-item strong {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 900;
    color: rgba(24,20,18,0.92);
}

.thankyou-item span {
    display: block;
    margin-top: 4px;
    color: rgba(24,20,18,0.60);
    font-size: 12px;
}

.thankyou-item-price {
    flex: 0 0 auto;
    font-weight: 900;
    font-size: 13px;
    color: rgba(24,20,18,0.88);
    text-align: right;
}

.drawer-thankyou-total {
    margin-top: 16px;
    border-radius: 18px;
    padding: 12px 12px;
    border: 1px solid rgba(24,20,18,0.10);
    background: linear-gradient(135deg, rgba(24,20,18,0.06), rgba(24,20,18,0.02));
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.drawer-thankyou-total span {
    color: rgba(24,20,18,0.62);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.drawer-thankyou-total strong {
    margin: 0;
    font-size: 22px;
    font-weight: 950;
}

.drawer-thankyou-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.thankyou-secondary,
.thankyou-primary {
    border: 1px solid rgba(24, 20, 18, 0.12);
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.thankyou-secondary {
    background: linear-gradient(180deg, #fff8f1, #ffe8c9);
    color: #8a5b24;
    box-shadow: 0 14px 32px rgba(209, 138, 32, 0.12);
}

.thankyou-primary {
    background: linear-gradient(135deg, #181412, #2e2a26);
    color: #fffaf4;
    box-shadow: 0 18px 38px rgba(24,20,18,0.18);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.thankyou-secondary:hover,
.thankyou-primary:hover {
    transform: translateY(-1px);
}

.thankyou-secondary:hover {
    box-shadow: 0 18px 38px rgba(209, 138, 32, 0.18);
}

.thankyou-primary:hover {
    box-shadow: 0 22px 48px rgba(24,20,18,0.22);
    filter: brightness(1.03);
}
@media (min-width: 900px) {
    .menu-shell {
        max-width: 1080px;
        margin: 0 auto;
        padding: 28px 28px 140px;
    }

    .categories-grid,
    .items-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .summary-drawer {
        left: auto;
        width: min(430px, 100%);
        border-radius: 28px 0 0 28px;
        top: 0;
        bottom: 0;
    }
}

