/* ════════════════════════════════════════════════════
   Delicious Bites — Premium QR Menu Stylesheet
   Colors: Deep charcoal + warm amber gold
   Fonts : Playfair Display + Inter
   ════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,500;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ──────────────────────────────── */
:root {
    --gold: #D4A843;
    --gold-lt: #F0C96A;
    --gold-dk: #A8832A;
    --gold-glow: rgba(212, 168, 67, .22);
    --bg: #0C0C0E;
    --bg2: #121216;
    --bg3: #18181F;
    --bg4: #212129;
    --card: #1A1A22;
    --card-h: #22222D;
    --border: #2A2A35;
    --border-lt: #363645;
    --text: #F0EEE8;
    --text-2: #B8B4A8;
    --text-3: #787470;
    --green: #3DD68C;
    --red: #FF5C5C;
    --blue: #5B9BD5;
    --purple: #9B72CF;
    --font-h: 'Playfair Display', Georgia, serif;
    --font-b: 'Inter', system-ui, sans-serif;
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 9999px;
    --nav-h: 58px;
    --sfbar-h: 98px;
    /* search + filter chips height */
    --cat-h: 48px;
    --sh-sm: 0 2px 12px rgba(0, 0, 0, .35);
    --sh-md: 0 8px 28px rgba(0, 0, 0, .50);
    --sh-lg: 0 20px 60px rgba(0, 0, 0, .65);
    --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ── Reset ───────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    color-scheme: dark;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-b);
    background: var(--bg);
    color: var(--text);
    min-height: 100dvh;
    overflow-x: hidden;
    line-height: 1.6;
    max-width: 100vw;
}

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

button {
    cursor: pointer;
    font-family: var(--font-b);
    border: none;
    background: none;
    color: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

input {
    font-family: var(--font-b);
}

ul {
    list-style: none;
}

/* ── Utilities ───────────────────────────────────── */
.glass-card {
    background: rgba(26, 26, 34, .72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .07);
}

/* ════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    height: var(--nav-h);
    background: rgba(12, 12, 15, .85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}

.navbar.scrolled {
    box-shadow: 0 4px 32px rgba(0, 0, 0, .5);
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    gap: .75rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: .625rem;
}

.logo-ring {
    width: 34px;
    height: 34px;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, var(--gold), var(--gold-dk));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.logo-name {
    font-family: var(--font-h);
    font-size: .875rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}

.logo-table {
    font-size: .625rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gold);
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.btn-waiter {
    display: flex;
    align-items: center;
    gap: .375rem;
    padding: .4rem 1rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dk) 100%);
    color: #000;
    border-radius: var(--r-full);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .01em;
    transition: transform .2s var(--ease), box-shadow .2s;
    box-shadow: 0 0 24px var(--gold-glow);
    white-space: nowrap;
}

.btn-waiter:hover {
    transform: scale(1.04);
    box-shadow: 0 0 36px rgba(212, 168, 67, .4);
}

.btn-waiter:active {
    transform: scale(.97);
}

.btn-cart-nav {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    transition: all .2s;
}

.btn-cart-nav:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: var(--r-full);
    background: var(--gold);
    color: #000;
    font-size: .625rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid var(--bg);
    display: none;
}

.cart-badge.show {
    display: flex;
}

/* ════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════ */
.hero {
    position: relative;
    margin-top: var(--nav-h);
    height: 56vw;
    min-height: 280px;
    max-height: 440px;
    overflow: hidden;
}

.hero-img-box {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero:hover .hero-img {
    transform: scale(1.1);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(12, 12, 15, .15) 0%,
            rgba(12, 12, 15, .05) 35%,
            rgba(12, 12, 15, .6) 70%,
            var(--bg) 100%);
}

/* Gallery thumbnails */
.hero-thumbs {
    position: absolute;
    bottom: 100px;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: .375rem;
    z-index: 5;
}

.hero-thumb {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .15);
    cursor: pointer;
    transition: border-color .2s, transform .2s;
    opacity: .8;
}

.hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-thumb:hover,
.hero-thumb.active {
    border-color: var(--gold);
    opacity: 1;
    transform: scale(1.05);
}

/* Restaurant identity card */
.hero-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    border-bottom: none;
    padding: 1rem 1.125rem 0;
    z-index: 10;
}

.hero-card-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    /* KEY: prevent hero-card from expanding wider than vw */
    overflow: hidden;
}

.hero-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dk));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    color: #0F0F12;
    flex-shrink: 0;
    border: 3px solid var(--bg2);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.hero-meta {
    flex: 1;
    min-width: 0;
    /* KEY: allow text children to shrink */
    overflow: hidden;
}

.hero-name {
    font-family: var(--font-h);
    font-size: clamp(1.15rem, 4vw, 1.625rem);
    font-weight: 700;
    font-style: italic;
    color: var(--text);
    line-height: 1.2;
    /* Prevent wrapping-caused overflow */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-tags {
    font-size: .75rem;
    color: var(--text-3);
    font-weight: 500;
    margin-top: .125rem;
    margin-bottom: .375rem;
    /* Do NOT use white-space:nowrap — it pushes parent width out */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* safe here because parent has min-width:0 */
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: .375rem;
    flex-wrap: wrap;
    row-gap: .25rem;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: .25rem;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-2);
    white-space: nowrap;
}

.hero-stat strong {
    color: var(--text);
}

.star-icon {
    color: var(--gold);
    flex-shrink: 0;
}

.dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--border-lt);
    flex-shrink: 0;
}

.open-status {
    color: var(--green);
    font-weight: 700;
}

/* ════════════════════════════════════════════════════
   INFO SECTION — Premium Redesign
   ════════════════════════════════════════════════════ */
.info-section {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.25rem;
}

/*
  Info Tabs — scrollable so Contact is ALWAYS reachable.
  The only truly robust fix for 3-tab availability at any screen width.
*/
.info-tabs {
    display: flex;
    padding: 0.75rem 0.875rem 0;
    gap: 0.375rem;
    position: relative;
    overflow-x: auto;
    /* Scroll if tabs don't fit */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -webkit-overflow-scrolling: touch;
}

.info-tabs::-webkit-scrollbar {
    display: none;
}

.info-tab {
    flex-shrink: 0;
    /* Never shrink — let row scroll instead */
    padding: 0.5rem 1.125rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-3);
    border-radius: var(--r-full);
    background: transparent;
    border: 1.5px solid transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.info-tab:hover {
    color: var(--text-2);
    background: rgba(255, 255, 255, 0.04);
}

.info-tab.active {
    color: #000;
    background: linear-gradient(135deg, var(--gold), var(--gold-dk));
    border-color: transparent;
    box-shadow: 0 4px 16px var(--gold-glow);
}

/* Panels */
.info-panels {
    padding: 1rem 0.875rem 0.875rem;
    width: 100%;
    box-sizing: border-box;
    /* Don't use overflow:hidden — it clips description text */
}

.info-panel {
    display: none;
    flex-direction: column;
    gap: 0;
    animation: fadeSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    /* Fix text overflow via width constraint, not clipping */
    width: 100%;
    min-width: 0;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-panel.active {
    display: flex;
}

/* Info Rows */
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.info-row>div:last-child {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}


.info-icon-wrap {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon-wrap.gold {
    background: rgba(212, 168, 67, .15);
    color: var(--gold);
    box-shadow: 0 0 0 1px rgba(212, 168, 67, 0.2);
}

.info-icon-wrap.green {
    background: rgba(61, 214, 140, .12);
    color: var(--green);
    box-shadow: 0 0 0 1px rgba(61, 214, 140, 0.15);
}

.info-icon-wrap.blue {
    background: rgba(91, 155, 213, .12);
    color: var(--blue);
    box-shadow: 0 0 0 1px rgba(91, 155, 213, 0.15);
}

.info-icon-wrap.purple {
    background: rgba(155, 114, 207, .12);
    color: var(--purple);
    box-shadow: 0 0 0 1px rgba(155, 114, 207, 0.15);
}

.info-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-3);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.55;
    overflow-wrap: break-word;
    word-break: break-word;
}

.info-value.link {
    color: var(--gold-lt);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.info-value.link:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* Hours Grid */
.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-2);
}

.hours-time {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    text-align: right;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--r-full);
    padding: 2px 10px;
}

.hours-row.today .hours-day {
    color: var(--gold);
    font-weight: 700;
}

.hours-row.today .hours-time {
    background: rgba(212, 168, 67, 0.12);
    color: var(--gold);
}

.hours-row.closed-day .hours-day,
.hours-row.closed-day .hours-time {
    color: var(--text-3);
}

/* ════════════════════════════════════════════════════
   SEARCH & FILTER — Premium Redesign
   ════════════════════════════════════════════════════ */
.search-filter-bar {
    position: sticky;
    top: var(--nav-h);
    z-index: 200;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-3);
    pointer-events: none;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 0.75rem 2.75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-full);
    background: var(--bg3);
    color: var(--text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.search-input::placeholder {
    color: var(--text-3);
}

.search-input:focus {
    border-color: var(--gold);
    background: var(--bg4);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.search-clear {
    position: absolute;
    right: 0.875rem;
    color: var(--text-3);
    padding: 0.3rem;
    border-radius: 50%;
    background: var(--bg3);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-clear:hover {
    color: var(--text);
    background: var(--bg4);
}

/* Filter Chips */
.filter-chips {
    display: flex;
    gap: 0.375rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
}

.filter-chips::-webkit-scrollbar {
    display: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.875rem;
    border-radius: var(--r-full);
    border: 1.5px solid var(--border);
    background: var(--bg3);
    color: var(--text-3);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.chip:hover {
    border-color: rgba(212, 168, 67, 0.35);
    color: var(--text-2);
    background: var(--bg4);
}

.chip.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-dk));
    border-color: transparent;
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 14px var(--gold-glow);
}

/* ════════════════════════════════════════════════════
   CATEGORY NAV
   ════════════════════════════════════════════════════ */
.cat-nav {
    position: sticky;
    top: calc(var(--nav-h) + var(--sfbar-h));
    z-index: 190;
    background: rgba(15, 15, 18, .96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    height: var(--cat-h);
}

.cat-scroll {
    display: flex;
    align-items: center;
    gap: .25rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    padding: 0 1rem;
}

.cat-scroll::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .375rem 1rem;
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-3);
    font-size: .78125rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: all .25s var(--ease);
    position: relative;
}

.cat-pill .cat-emoji {
    font-size: .875rem;
    line-height: 1;
}

.cat-pill:hover {
    color: var(--text-2);
    border-color: var(--border-lt);
    background: var(--bg3);
}

.cat-pill.active {
    color: #000;
    border-color: var(--gold);
    background: var(--gold);
    box-shadow: 0 0 16px var(--gold-glow);
}

.cat-pill .cat-count {
    background: rgba(0, 0, 0, .25);
    color: inherit;
    font-size: .625rem;
    font-weight: 800;
    border-radius: var(--r-full);
    padding: .05rem .4rem;
}

/* ════════════════════════════════════════════════════
   MENU MAIN
   ════════════════════════════════════════════════════ */
.menu-main {
    padding: 0 0 8rem;
    max-width: 900px;
    margin: 0 auto;
}

.no-results {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-3);
}

.no-results-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-results-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-2);
}

/* ── Category block ───────────────────────────────── */
.menu-cat-block {
    scroll-margin-top: calc(var(--nav-h) + var(--sfbar-h) + var(--cat-h) + 8px);
}

.cat-head {
    display: flex;
    align-items: center;
    padding: 1.25rem 1rem .875rem;
    gap: .75rem;
    position: sticky;
    top: calc(var(--nav-h) + var(--sfbar-h) + var(--cat-h));
    z-index: 100;
    background: var(--bg);
    border-bottom: 2px solid rgba(255, 255, 255, .03);
}

.cat-head-accent {
    width: 4px;
    height: 28px;
    border-radius: var(--r-full);
    flex-shrink: 0;
}

.cat-head-emoji {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.cat-head-title {
    font-family: var(--font-h);
    font-size: 1.125rem;
    font-weight: 700;
    font-style: italic;
    color: var(--text);
}

.cat-head-count {
    margin-left: auto;
    font-size: .6875rem;
    color: var(--text-3);
    font-weight: 600;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: .15rem .5rem;
}

/* ── Item cards list ───────────────────────────────── */
.items-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
}

/* ════ REDESIGNED ITEM CARD ════
   Layout: full-width card with image ABOVE text on mobile
   More space, higher contrast, clearly readable text
*/
.item-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: var(--card);
    /* Lighter card BG */
    cursor: pointer;
    transition: all .2s var(--ease);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, .02);
    min-height: 120px;
}

.item-card:last-child {
    border-bottom: none;
}

.item-card:hover,
.item-card:active {
    background: var(--bg3);
}

/* Left accent strip for bestsellers */
.item-card.bestseller {
    border-left: 3px solid var(--gold);
}

.item-card.bestseller .item-text {
    padding-left: 1rem;
}

/* ── Text column (left, ~60%) ── */
.item-text {
    flex: 1;
    padding: .875rem 0 .875rem 1.125rem;
    display: flex;
    flex-direction: column;
    gap: .375rem;
    justify-content: space-between;
    min-width: 0;
}

/* Flag badges */
.item-flags {
    display: flex;
    gap: .3rem;
    flex-wrap: wrap;
}

.flag {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    font-size: .5625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .15rem .45rem;
    border-radius: 4px;
}

.flag-veg {
    background: rgba(61, 214, 140, .15);
    color: #4ADE80;
    border: 1px solid rgba(61, 214, 140, .25);
}

.flag-nonveg {
    background: rgba(255, 100, 100, .15);
    color: #FF7070;
    border: 1px solid rgba(255, 100, 100, .25);
}

.flag-star {
    background: rgba(212, 168, 67, .18);
    color: var(--gold-lt);
    border: 1px solid rgba(212, 168, 67, .3);
}

.flag-new {
    background: rgba(100, 160, 240, .15);
    color: #82B4FF;
    border: 1px solid rgba(100, 160, 240, .25);
}

.flag-spicy {
    background: rgba(255, 100, 50, .15);
    color: #FF9060;
    border: 1px solid rgba(255, 100, 50, .25);
}

/* Item name — must be large & pure white */
.item-name {
    font-family: var(--font-h);
    font-size: 1.0625rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    font-style: italic;
    letter-spacing: .015em;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Description — slightly brighter grey */
.item-desc {
    font-size: .8125rem;
    color: #B2B0AA;
    line-height: 1.5;
    margin-top: .125rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-price-row {
    display: flex;
    align-items: center;
    gap: .375rem;
    flex-wrap: wrap;
    margin-top: .125rem;
}

.item-price {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--gold-lt);
    font-family: var(--font-h);
    letter-spacing: -.01em;
}

.item-orig {
    font-size: .6875rem;
    color: #5A5650;
    text-decoration: line-through;
}

.item-tax {
    font-size: .625rem;
    color: #5A5650;
    font-style: italic;
    background: rgba(255, 255, 255, .04);
    border-radius: 3px;
    padding: .1rem .35rem;
}

/* ── Image column (right ~120px) ── */
.item-right {
    position: relative;
    width: 120px;
    min-width: 120px;
    flex-shrink: 0;
    background: var(--bg3);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: .625rem;
    overflow: hidden;
}

.item-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    /* brighter: remove strong overlay so image is visible */
    filter: brightness(.92);
}

.item-card:hover .item-img {
    transform: scale(1.07);
    filter: brightness(1);
}

.item-img-overlay {
    position: absolute;
    inset: 0;
    /* softer gradient — only at bottom for the button */
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, .6) 100%);
}

.add-btn-wrap {
    position: relative;
    z-index: 2;
}

.add-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    /* White button — highly visible on dark/image background */
    background: rgba(255, 255, 255, .95);
    border: none;
    color: #1A1A22;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s var(--ease);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .5);
    font-size: 0;
}

.add-btn:hover {
    background: var(--gold);
    color: #000;
    transform: scale(1.12);
    box-shadow: 0 4px 20px rgba(212, 168, 67, .5);
}

.add-btn.added {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 16px rgba(212, 168, 67, .4);
}

.add-btn-qty {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: .5625rem;
    font-weight: 800;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg2);
}

.add-btn-qty.show {
    display: flex;
}

/* ════════════════════════════════════════════════════
   FLOATING CART BAR
   ════════════════════════════════════════════════════ */
.cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 250;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, var(--bg) 60%, transparent);
    pointer-events: none;
    transform: translateY(100%);
    transition: transform .4s var(--ease), opacity .3s;
    opacity: 0;
}

.cart-bar.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.cart-bar-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg3);
    border: 1px solid rgba(212, 168, 67, .3);
    border-radius: var(--r-lg);
    padding: .875rem 1rem;
    box-shadow: var(--sh-lg), 0 0 40px var(--gold-glow);
}

.cart-bar-left {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.cart-bar-count {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dk));
    color: #000;
    font-size: .9375rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px var(--gold-glow);
}

.cart-bar-label {
    font-weight: 700;
    display: block;
    font-size: .9375rem;
}

.cart-bar-items {
    font-size: .75rem;
    color: var(--text-3);
    display: block;
}

.cart-bar-cta {
    display: flex;
    align-items: center;
    gap: .375rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dk));
    color: #000;
    padding: .6875rem 1.25rem;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: .875rem;
    transition: all .2s;
    white-space: nowrap;
    box-shadow: 0 2px 12px var(--gold-glow);
}

.cart-bar-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(212, 168, 67, .4);
}

/* ════════════════════════════════════════════════════
   SCRIM (backdrop)
   ════════════════════════════════════════════════════ */
.scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    z-index: 350;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity .3s;
}

.scrim.show {
    opacity: 1;
    pointer-events: all;
}

/* ════════════════════════════════════════════════════
   CART DRAWER
   ════════════════════════════════════════════════════ */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(430px, 100vw);
    background: var(--bg2);
    border-left: 1px solid var(--border);
    z-index: 360;
    transform: translateX(110%);
    transition: transform .4s var(--ease);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.no-scroll {
  overflow: hidden;
}
.cart-drawer.open {
    transform: translateX(0);
    overflow-y: scroll;
}

.drawer-head {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.125rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
}

.drawer-head-left {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.drawer-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    background: rgba(212, 168, 67, .1);
    border: 1px solid rgba(212, 168, 67, .2);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.drawer-title {
    font-family: var(--font-h);
    font-size: 1.175rem;
    font-weight: 700;
    font-style: italic;
}

.drawer-subtitle {
    font-size: .75rem;
    color: var(--gold);
    font-weight: 500;
    margin-top: .125rem;
}

.drawer-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    transition: all .2s;
}

.drawer-close:hover {
    color: var(--text);
    border-color: var(--border-lt);
}

/* Empty state */
.drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-3);
    gap: .625rem;
}

.drawer-empty-art {
    opacity: .25;
    margin-bottom: .5rem;
}

.drawer-empty-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-2);
}

.drawer-empty-hint {
    font-size: .8125rem;
}

/* Items */
.drawer-items {
    flex: 1;
    /* overflow-y: auto; */
    padding: .5rem 1.125rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.drawer-items::-webkit-scrollbar {
    width: 3px;
}

.drawer-items::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 99px;
}

.d-item {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .875rem 0;
    border-bottom: 1px solid rgba(42, 42, 53, .6);
}

.d-item:last-child {
    border-bottom: none;
}

.d-img {
    width: 56px;
    height: 56px;
    border-radius: var(--r-sm);
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.d-info {
    flex: 1;
    min-width: 0;
}

.d-name {
    font-size: .875rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.d-price {
    font-size: .8125rem;
    color: var(--gold);
    font-weight: 600;
    margin-top: .15rem;
}

.d-tax-note {
    font-size: .625rem;
    color: var(--text-3);
}

.d-ctrl {
    display: flex;
    align-items: center;
    gap: .375rem;
}

.d-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg3);
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    transition: all .2s;
}

.d-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 168, 67, .08);
}

.d-btn.del:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(255, 92, 92, .08);
}

.d-qty {
    font-size: .875rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

/* ── Customer Details Form ─────────────────────── */
/* ── Footer Checkout Flow ─────────────────────── */
.drawer-foot {
    flex-shrink: 0;
    border-top: 1px solid var(--border);
    padding: 1.5rem 1.125rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    background: var(--bg2);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cust-form {
    padding: 0;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    animation: fadeSlideUp 0.4s var(--ease);
}

.cust-form-title,
.payment-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    opacity: 0.95;
    margin-bottom: 0.25rem;
}

.cust-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

.cust-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cust-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-3);
    padding-left: 2px;
}

.cust-input {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 0.8125rem 1rem;
    color: var(--text);
    font-size: 0.9375rem;
    font-family: var(--font-b);
    transition: all 0.25s var(--ease);
}

.cust-input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--bg4);
    box-shadow: 0 0 0 4px var(--gold-glow);
}

/* Delivery Slider Refined */
.dt-control {
    position: relative;
    display: flex;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: 4px;
    z-index: 1;
}

.dt-opt span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-2);
    transition: color 0.3s;
    user-select: none;
    position: relative;
    z-index: 2;
    opacity: 0.75;
}

.dt-opt input:checked+span {
    color: #000;
    opacity: 1;
}

.dt-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(33.33% - 2.66px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, var(--gold), var(--gold-dk));
    border-radius: var(--r-full);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    box-shadow: 0 4px 12px var(--gold-glow);
}

.dt-opt:nth-child(2) input:checked~.dt-slider {
    transform: translateX(0);
}

.dt-opt:nth-child(3) input:checked~.dt-slider {
    transform: translateX(100%);
}

.dt-opt:nth-child(4) input:checked~.dt-slider {
    transform: translateX(200%);
}

@media (max-width: 360px) {
    .cust-row-2 {
        grid-template-columns: 1fr;
    }

    .dt-opt span {
        font-size: 0.7rem;
    }
}

/* Totals Refined */
.drawer-totals {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.125rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: .875rem;
    color: var(--text-2);
}

.total-grand {
    border-top: 1px dashed var(--border-lt);
    padding-top: .5rem;
    margin-top: .25rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.total-grand span:last-child {
    color: var(--gold);
    font-size: 1.125rem;
}

/* Payment methods */
.drawer-payment {
    margin-bottom: .875rem;
}

.payment-title {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-3);
    margin-bottom: .5rem;
}

.payment-methods {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.pay-opt {
    flex: 1 1 auto;
    cursor: pointer;
}

.pay-opt input {
    display: none;
}

.pay-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6875rem 1rem;
    border: 1px solid var(--border-lt);
    border-radius: var(--r-md);
    background: var(--bg3);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-2);
    transition: all 0.2s var(--ease);
    cursor: pointer;
    white-space: nowrap;
}

.pay-card .pay-icon {
    font-size: 1.125rem;
}

.pay-opt input:checked+.pay-card {
    border-color: var(--gold);
    background: rgba(212, 168, 67, 0.08);
    color: var(--gold);
    box-shadow: 0 4px 12px var(--gold-glow);
}

.pay-opt .pay-card:hover {
    border-color: var(--border-lt);
    color: var(--text);
}

@keyframes fadeReveal {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-reveal {
    animation: fadeReveal 0.3s var(--ease) forwards;
}

/* Payment Refinement */
.drawer-payment {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.pay-opt {
    cursor: pointer;
}

.pay-opt input {
    display: none;
}

.pay-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--bg);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-2);
    transition: all 0.25s var(--ease);
    text-align: center;
}

.pay-card .pay-icon {
    font-size: 1.25rem;
}

.pay-opt input:checked+.pay-card {
    border-color: var(--gold);
    background: rgba(212, 168, 67, 0.1);
    color: var(--gold);
    box-shadow: 0 4px 16px var(--gold-glow);
    transform: translateY(-2px);
}

.pay-opt .pay-card:hover {
    border-color: var(--border-lt);
    color: var(--text);
}

.btn-process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dk) 100%);
    color: #000;
    border-radius: var(--r-md);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    transition: all .2s var(--ease);
    box-shadow: 0 4px 20px var(--gold-glow);
    margin-bottom: .5rem;
}

.btn-process:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 168, 67, .45);
}

.btn-process:active {
    transform: translateY(0);
}

.btn-clear {
    width: 100%;
    padding: .625rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: transparent;
    color: var(--text-3);
    font-size: .8125rem;
    font-weight: 600;
    transition: all .2s;
    cursor: pointer;
}

.btn-clear:hover {
    border-color: #FF5C5C50;
    color: var(--red);
}

/* ════════════════════════════════════════════════════
   ITEM DETAIL BOTTOM SHEET
   ════════════════════════════════════════════════════ */
.item-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 370;
    background: var(--bg2);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    border-top: 1px solid var(--border);
    transform: translateY(100%);
    transition: transform .4s var(--ease);
    max-height: 92dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.item-sheet.open {
    transform: translateY(0);
}

.sheet-drag-handle {
    width: 40px;
    height: 4px;
    border-radius: var(--r-full);
    background: var(--border-lt);
    margin: .75rem auto 0;
    flex-shrink: 0;
}

.sheet-img-wrap {
    position: relative;
    height: 230px;
    flex-shrink: 0;
    overflow: hidden;
}

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

.sheet-close-btn {
    position: absolute;
    top: .75rem;
    right: .75rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .6);
    border: 1px solid rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(8px);
    transition: all .2s;
}

.sheet-close-btn:hover {
    background: rgba(0, 0, 0, .85);
}

.sheet-img-badges {
    position: absolute;
    bottom: .75rem;
    left: .75rem;
    display: flex;
    gap: .375rem;
}

.sheet-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.125rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    scrollbar-width: none;
}

.sheet-body::-webkit-scrollbar {
    display: none;
}

.sheet-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .875rem;
    margin-bottom: .625rem;
}

.sheet-flags {
    display: flex;
    gap: .3rem;
    flex-wrap: wrap;
    margin-bottom: .375rem;
}

.sheet-name {
    font-family: var(--font-h);
    font-size: 1.375rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.25;
}

.sheet-price-block {
    flex-shrink: 0;
    text-align: right;
}

.sheet-price {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
}

.sheet-orig {
    font-size: .875rem;
    color: var(--text-3);
    text-decoration: line-through;
    display: block;
}

.sheet-desc {
    font-size: .9375rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: .875rem;
}

.sheet-meta-pills {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: .75rem;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    font-weight: 600;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text-2);
    padding: .3rem .75rem;
    border-radius: var(--r-full);
}

.meta-pill svg {
    color: var(--text-3);
}

.sheet-tax-note {
    font-size: .75rem;
    color: var(--text-3);
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: .4rem .75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .375rem;
}

.sheet-qty-row {
    display: flex;
    align-items: center;
    gap: .875rem;
    margin-top: .25rem;
}

.qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--bg3);
}

.qty-btn {
    width: 44px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
    transition: background .15s;
}

.qty-btn:hover {
    background: rgba(212, 168, 67, .1);
}

.qty-btn.minus:hover {
    background: rgba(255, 92, 92, .08);
    color: var(--red);
}

.qty-num {
    font-size: 1rem;
    font-weight: 700;
    min-width: 36px;
    text-align: center;
    color: var(--text);
}

.btn-add-sheet {
    flex: 1;
    padding: .875rem 1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dk));
    color: #000;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: .9375rem;
    border: none;
    white-space: nowrap;
    transition: all .2s var(--ease);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-add-sheet:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212, 168, 67, .4);
}

/* ════════════════════════════════════════════════════
   MODALS (Waiter + Order)
   ════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity .3s;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2rem 1.75rem 1.75rem;
    width: min(380px, 100%);
    text-align: center;
    position: relative;
    transform: scale(.9) translateY(20px);
    opacity: 0;
    transition: transform .4s var(--ease), opacity .3s;
    box-shadow: var(--sh-lg), 0 0 60px rgba(0, 0, 0, .6);
}

.modal-overlay.show .modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Modal close X */
.modal-x {
    position: absolute;
    top: .875rem;
    right: .875rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    transition: all .2s;
}

.modal-x:hover {
    color: var(--text);
    border-color: var(--border-lt);
}

/* Waiter animation */
.waiter-anim {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waiter-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--gold);
    opacity: 0;
    animation: wring 2s ease-out infinite;
}

.waiter-ring.r1 {
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.waiter-ring.r2 {
    width: 80px;
    height: 80px;
    animation-delay: .6s;
}

.waiter-ring.r3 {
    width: 80px;
    height: 80px;
    animation-delay: 1.2s;
}

@keyframes wring {
    0% {
        transform: scale(.6);
        opacity: .8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.waiter-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dk));
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
    box-shadow: 0 0 20px var(--gold-glow);
}

.modal-title {
    font-family: var(--font-h);
    font-size: 1.375rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: .625rem;
}

.modal-body {
    font-size: .9375rem;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.waiter-dots {
    display: flex;
    gap: .375rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.waiter-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    animation: waveDot .9s ease-in-out infinite;
}

.waiter-dots span:nth-child(2) {
    animation-delay: .18s;
}

.waiter-dots span:nth-child(3) {
    animation-delay: .36s;
}

@keyframes waveDot {

    0%,
    100% {
        transform: scaleY(1);
        opacity: .4;
    }

    50% {
        transform: scaleY(1.6);
        opacity: 1;
    }
}

.modal-dismiss {
    width: 100%;
    padding: .875rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--bg3);
    color: var(--text-2);
    font-size: .9375rem;
    font-weight: 600;
    transition: all .2s;
    cursor: pointer;
}

.modal-dismiss:hover {
    border-color: var(--border-lt);
    color: var(--text);
}

.modal-dismiss.success {
    background: linear-gradient(135deg, var(--gold), var(--gold-dk));
    color: #000;
    border: none;
    box-shadow: 0 4px 20px var(--gold-glow);
}

.modal-dismiss.success:hover {
    box-shadow: 0 8px 32px rgba(212, 168, 67, .45);
}

/* Success animation */
.success-check {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.check-svg {
    display: block;
}

.check-circle {
    stroke: var(--gold);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: dash .8s cubic-bezier(.65, 0, .45, 1) forwards;
}

.check-path {
    stroke: var(--gold);
    stroke-width: 2;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: dash .4s cubic-bezier(.65, 0, .45, 1) .8s forwards;
}

@keyframes dash {
    100% {
        stroke-dashoffset: 0;
    }
}

/* Order receipt in success modal */
.order-receipt {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: .875rem 1rem;
    text-align: left;
    font-size: .8125rem;
    color: var(--text-2);
    margin-bottom: .75rem;
    max-height: 140px;
    overflow-y: auto;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: .25rem 0;
}

.receipt-total {
    border-top: 1px dashed var(--border-lt);
    padding-top: .5rem;
    margin-top: .375rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    justify-content: space-between;
}

.receipt-total span:last-child {
    color: var(--gold);
}

.receipt-payment {
    font-size: .75rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: .875rem;
    background: rgba(212, 168, 67, .08);
    border: 1px solid rgba(212, 168, 67, .15);
    border-radius: var(--r-sm);
    padding: .4rem .75rem;
    display: flex;
    align-items: center;
    gap: .375rem;
}

/* ════════════════════════════════════════════════════
   TOAST
   ════════════════════════════════════════════════════ */
.toast-stack {
    position: fixed;
    top: calc(var(--nav-h) + .75rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: .375rem;
    width: min(340px, calc(100vw - 2rem));
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: .625rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: .625rem 1rem;
    font-size: .875rem;
    font-weight: 500;
    box-shadow: var(--sh-md);
    animation: toastIn .35s var(--ease) forwards,
        toastOut .3s ease 2.3s forwards;
}

.toast.gold {
    border-color: rgba(212, 168, 67, .3);
}

.toast-ico {
    font-size: 1rem;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(.95)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

@keyframes toastOut {
    from {
        opacity: 1
    }

    to {
        opacity: 0;
        transform: translateY(-6px)
    }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */
@media (min-width: 640px) {

    .nav-inner,
    .info-tabs,
    .info-panels,
    .search-filter-bar {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .cat-scroll {
        padding-left: 1.5rem;
    }

    .item-card {
        grid-template-columns: 1fr 120px;
    }

    .sheet-img-wrap {
        height: 280px;
    }
}
@media (max-width: 768px) {
    .hero-thumbs {
        flex-direction: row;
        bottom: 120px;
        right: auto;
        left: 1.5rem;
    }
    .item-sheet{
        top: 5%;
    }
}

@media (min-width: 768px) {
    .hero-thumbs {
        flex-direction: row;
        bottom: 120px;
        right: auto;
        left: 1.5rem;
    }


    .hero-thumb {
        width: 64px;
        height: 48px;
    }

    .items-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .items-list .item-card {
        border-left: 1px solid var(--border);
    }
}

@media (max-width:360px) {
    .btn-waiter span {
        display: none;
    }

    .btn-waiter {
        padding: .4rem .625rem;
    }

    .item-card {
        grid-template-columns: 1fr 88px;
    }
}