/* ==========================================================================
   LA TABLE UPOS - Classic Luxury Restaurant Menu Stylesheet
   PREMIUM LIGHT THEME: Ivory, Champagne Gold, Marble White & Midnight Charcoal
   Mobile-Optimized for Zomato/Swiggy UX with High-End Fine Dining Aesthetics
   ========================================================================== */

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

:root {
    /* Premium Light Luxury Color Palette */
    --bg-page: #f6f5f1;               /* Warm French Linen background */
    --bg-primary: #ffffff;            /* Pure Crisp White */
    --bg-secondary: #fbfaf8;          /* Soft Ivory Silk */
    --bg-card: #ffffff;
    --bg-card-hover: #faf8f5;
    --bg-elevated: #f4f1eb;
    --bg-glass: rgba(255, 255, 255, 0.92);
    --bg-glass-heavy: rgba(255, 255, 255, 0.97);

    /* Royal Imperial Gold Accents */
    --gold-primary: #b38219;          /* Readable, rich deep gold */
    --gold-light: #d4af37;           /* Classic metallic gold */
    --gold-pale: #fcf8ee;            /* Light gold tint background */
    --gold-hover: #996d07;
    --gold-dark: #7a5400;
    --gold-gradient: linear-gradient(135deg, #f3df95 0%, #d4af37 50%, #b38219 100%);
    --gold-gradient-soft: linear-gradient(135deg, #fefbf3 0%, #f7ecd2 100%);
    --gold-subtle: rgba(179, 130, 25, 0.08);
    --gold-border: rgba(179, 130, 25, 0.35);

    /* Text Hierarchy */
    --text-primary: #181d24;         /* Deep Midnight Charcoal */
    --text-secondary: #526071;       /* Refined Slate Gray */
    --text-muted: #8292a2;          /* Subtle Caption Gray */
    --text-gold: #996d07;           /* High-contrast Gold text */

    /* Borders & Lines */
    --border-color: #e8e4db;
    --border-subtle: #f0ede6;
    --border-card: #e5e0d5;

    /* Food Industry Standard Colors */
    --veg-color: #16a34a;
    --veg-border: #15803d;
    --nonveg-color: #dc2626;
    --nonveg-border: #b91c1c;
    
    --rating-star: #eab308;
    --badge-bg: rgba(179, 130, 25, 0.1);

    /* Layout & Elevation */
    --max-width: 680px;              /* Ideal Mobile First width */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 25px rgba(45, 35, 15, 0.08);
    --shadow-lg: 0 16px 40px rgba(30, 25, 10, 0.12);
    --shadow-gold: 0 6px 20px rgba(179, 130, 25, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --trans-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-page);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    padding-bottom: 95px; /* Clearance for floating cart / action bar */
    -webkit-font-smoothing: antialiased;
}

/* Mobile-First App Container */
.menu-app-container {
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg-primary);
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}

/* Typography Enhancements */
h1, h2, h3, .font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-cinzel {
    font-family: 'Cinzel', serif;
}

/* ==========================================================================
   TOP HEADER BANNER (CLASSY SPEAKEASY & GASTROPUB LUXURY)
   ========================================================================== */
.top-header-banner {
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 14px 16px 12px;
}

.top-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.brand-crest {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
    flex: 1;
}

.crest-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b1f00;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 12px rgba(179, 130, 25, 0.25);
    border: 2px solid #ffffff;
    flex-shrink: 0;
}

.brand-titles {
    min-width: 0;
}

.brand-titles h1 {
    font-family: 'Cinzel', serif;
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #171f28;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-titles .tagline {
    font-size: 10.5px;
    color: var(--gold-dark);
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-top: 1px;
}

.header-actions {
    flex-shrink: 0;
}

.table-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--gold-pale);
    border: 1px solid var(--gold-border);
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(179, 130, 25, 0.08);
    transition: var(--trans-fast);
}

.table-badge:hover {
    background: #fdf5df;
    border-color: var(--gold-primary);
}

.table-edit-hint {
    font-size: 10px;
    opacity: 0.55;
    margin-left: 2px;
}

/* Mobile-Optimized Offer Banners Slider */
.offer-banners-wrapper {
    margin: 10px 0 6px 0;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    background: #0f172a;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.offer-banners-slider {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.offer-banner-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 220px;
    position: relative;
    cursor: default;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    box-sizing: border-box;
}

.offer-banner-slide.clickable {
    cursor: pointer;
}

.offer-banner-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .offer-banner-slide {
        aspect-ratio: 21 / 9;
        max-height: 240px;
    }
    .offer-banner-img {
        max-height: 240px;
    }
}

.offer-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.72) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px 14px;
    color: #ffffff;
    pointer-events: none;
}

.offer-banner-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.25;
}

.offer-banner-subtitle {
    font-size: 11.5px;
    font-weight: 600;
    color: #fef08a;
    margin-top: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    line-height: 1.25;
}

.banner-link-pill {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
    z-index: 2;
}

.offer-banners-dots {
    position: absolute;
    bottom: 8px;
    right: 12px;
    display: flex;
    gap: 5px;
    z-index: 2;
}

.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transition: all 0.25s ease;
}

.banner-dot.active {
    background: #ffffff;
    width: 18px;
    border-radius: 10px;
}

/* Restaurant Meta Highlights Bar */
.restaurant-meta-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: #faf8f5;
    border: 1px solid var(--border-color);
    padding: 7px 12px;
    border-radius: var(--radius-md);
    font-size: 11.5px;
    gap: 4px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.meta-bold {
    font-weight: 800;
    color: #111827;
    font-size: 12px;
}

.meta-sub {
    color: var(--text-muted);
    font-size: 10.5px;
}

.meta-divider {
    width: 1px;
    height: 14px;
    background: #e5e0d5;
    flex-shrink: 0;
}

.meta-rating .star-icon {
    color: var(--rating-star);
    font-size: 13px;
}

.meta-status {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #15803d;
    font-weight: 700;
}

.meta-status .pulse-dot {
    width: 7px;
    height: 7px;
    background: #16a34a;
    border-radius: 50%;
    animation: pulseGlowLight 1.8s infinite;
}

@keyframes pulseGlowLight {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* ==========================================================================
   STICKY SEARCH & CONTROLS (LIGHT THEME)
   ========================================================================== */
.sticky-controls-wrapper {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.search-container {
    padding: 12px 18px 8px;
}

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

.search-input-box input {
    width: 100%;
    height: 44px;
    background: #f4f3ef;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0 42px 0 42px;
    color: var(--text-primary);
    font-size: 13.5px;
    font-family: inherit;
    transition: var(--trans-fast);
    outline: none;
}

.search-input-box input:focus {
    background: #ffffff;
    border-color: var(--gold-light);
    box-shadow: 0 0 0 3px rgba(179, 130, 25, 0.15);
}

.search-input-box .search-icon {
    position: absolute;
    left: 15px;
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    display: none;
    padding: 4px;
}

.search-clear-btn.active {
    display: block;
}

/* Filter Pills */
.filter-pills-row {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 16px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-pills-row::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid #e2ddd3;
    color: #4b5563;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--trans-fast);
    user-select: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.filter-pill:hover {
    color: var(--text-primary);
    border-color: var(--gold-light);
    background: #faf8f5;
}

.filter-pill.active {
    background: #fdfaf2;
    border-color: #b38219;
    color: #7a5400;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(179, 130, 25, 0.2);
}

/* Dietary Markers (Industry Standard) */
.diet-mark {
    width: 15px;
    height: 15px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
}

.diet-mark.veg {
    border: 1.5px solid var(--veg-border);
}

.diet-mark.veg::after {
    content: '';
    width: 7px;
    height: 7px;
    background-color: var(--veg-color);
    border-radius: 50%;
}

.diet-mark.nonveg {
    border: 1.5px solid var(--nonveg-border);
}

.diet-mark.nonveg::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid var(--nonveg-color);
}

/* ==========================================================================
   STICKY CATEGORY HORIZONTAL TABS (HIGH VISIBILITY LUXURY)
   ========================================================================== */
.category-tabs-nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 8px 16px 14px;
    gap: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.category-tabs-nav::-webkit-scrollbar {
    display: none;
}

.category-tab-btn,
.cat-tab-btn {
    flex-shrink: 0;
    background: #f7f5f0;
    border: 1px solid #ded8cb;
    color: var(--text-secondary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 7px 14px !important;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--trans-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: none;
}

.category-tab-btn .tab-icon,
.cat-tab-btn .tab-icon {
    font-size: 15px;
    line-height: 1;
}

.category-tab-btn:hover,
.cat-tab-btn:hover {
    color: var(--text-primary);
    background: #eae6dd;
}

.category-tab-btn.active,
.cat-tab-btn.active {
    background: var(--gold-gradient) !important;
    color: #2b1f00 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(179, 130, 25, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: none !important;
}

.category-tab-btn.active .tab-icon,
.cat-tab-btn.active .tab-icon {
    transform: none;
}

/* ==========================================================================
   MENU CONTENT & DISH CARDS (LIGHT ELEGANCE)
   ========================================================================== */
.menu-sections-wrapper {
    padding: 16px 16px 40px;
}

.category-section,
.menu-category-section {
    margin-bottom: 34px;
    scroll-margin-top: 155px;
}

.category-header,
.category-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1.5px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 16px;
    position: relative;
}

.category-header::after,
.category-section-header::after {
    content: '';
    position: absolute;
    bottom: -1.5px;
    left: 0;
    width: 48px;
    height: 2.5px;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
}

.category-header-title,
.category-section-header h2 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1e2630;
    letter-spacing: 0.3px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-header-title h2 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1e2630;
    margin: 0;
}

.cat-badge-count,
.category-count,
.category-header-title .cat-badge-count {
    background: var(--gold-pale);
    color: var(--gold-dark);
    border: 1px solid var(--gold-border);
    font-size: 11px !important;
    padding: 2px 8px !important;
    border-radius: var(--radius-full);
    font-weight: 700;
}

.category-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ==========================================================================
   MENU ITEM CARD (PREMIUM LIGHT CARD WITH ENLARGED THUMBNAIL & OVERLAY ADD)
   ========================================================================== */
.dish-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 16px 26px;
    margin-bottom: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    transition: var(--trans-smooth);
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.dish-card:hover {
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dish-card.out-of-stock {
    opacity: 0.6;
    filter: grayscale(0.65);
}

/* Left details */
.dish-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.dish-badges-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.tag-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 4px;
}

.tag-chef {
    background: #fcf6e5;
    color: var(--gold-dark);
    border: 1px solid rgba(179, 130, 25, 0.3);
}

.tag-bestseller {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.25);
}

.dish-title {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #171f28;
    margin-bottom: 4px;
    cursor: pointer;
    transition: var(--trans-fast);
    line-height: 1.35;
}

.dish-title:hover {
    color: var(--gold-primary);
}

.dish-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}

.dish-price {
    font-size: 16.5px;
    font-weight: 800;
    color: #111827;
    letter-spacing: 0.2px;
}

.dish-original-price {
    font-size: 12.5px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.dish-ratings {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #ca8a04;
    font-weight: 700;
    margin-bottom: 6px;
}

.dish-description {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dish-meta-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
}

.dish-meta-info span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Right Enlarged Thumbnail (172px x 162px) with Overlay ADD button */
.dish-media-container {
    position: relative;
    width: 172px;
    height: 162px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: visible;
}

.dish-img-wrap {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: #f4f1eb;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

.dish-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dish-card:hover .dish-img-wrap img {
    transform: scale(1.08);
}

.sold-out-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: var(--radius-md);
}

/* ADD Button Overlay on Thumbnail */
.dish-action-anchor {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 104px;
    z-index: 5;
    display: flex;
    justify-content: center;
}

.btn-add-dish {
    width: 104px;
    height: 36px;
    background: #ffffff;
    border: 1.5px solid var(--gold-primary);
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(179, 130, 25, 0.2);
    transition: var(--trans-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.btn-add-dish:hover {
    background: var(--gold-gradient);
    color: #2b1f00;
    border-color: transparent;
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

.badge-sold-out {
    font-size: 11px;
    font-weight: 800;
    color: #dc2626;
    background: #ffffff;
    border: 1.5px solid #fecaca;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

/* Quantity Stepper (Active State) */
.quantity-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 104px;
    height: 36px;
    background: var(--gold-gradient);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(179, 130, 25, 0.35);
    padding: 0 6px;
    color: #2b1f00;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.step-btn {
    width: 26px;
    height: 26px;
    background: transparent;
    border: none;
    color: #2b1f00;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--trans-fast);
}

.step-btn:hover {
    background: rgba(0, 0, 0, 0.12);
}

.step-val {
    font-size: 13.5px;
    font-weight: 800;
}

/* Empty State */
.empty-menu-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-menu-state .empty-icon {
    font-size: 42px;
    margin-bottom: 12px;
    display: block;
}

.empty-menu-state h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (ZOMATO MENU & PERSISTENT CART FAB)
   ========================================================================== */
.floating-menu-fab {
    display: none !important;
}

.floating-cart-fab {
    position: fixed;
    bottom: 22px;
    right: 20px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #181d24 0%, #0f1318 100%);
    border: 1.5px solid var(--gold-primary);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 18px rgba(212, 175, 55, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-cart-fab:hover {
    transform: scale(1.05);
    background: var(--gold-gradient);
    color: #181d24;
}

.cart-fab-icon {
    font-size: 16px;
}

.cart-fab-label {
    letter-spacing: 0.5px;
}

.cart-fab-badge {
    background: var(--gold-primary);
    color: #181d24;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 9999px;
    min-width: 18px;
    text-align: center;
}

.floating-cart-fab:hover .cart-fab-badge {
    background: #181d24;
    color: #ffffff;
}

body.cart-active .floating-menu-fab {
    bottom: 84px;
}

body.cart-active .floating-cart-fab {
    display: none !important;
}

/* OTP Input styling */
.otp-input-field {
    width: 100%;
    padding: 12px 14px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 12px;
    text-align: center;
    border: 2px solid var(--gold-light);
    border-radius: 12px;
    background: #ffffff;
    color: #181d24;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s;
}

.otp-input-field:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

/* ==========================================================================
   FLOATING BOTTOM CART TRAY (ZOMATO-STYLE)
   ========================================================================== */
.bottom-cart-tray {
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 656px;
    z-index: 9000;
    display: none;
    pointer-events: none;
}

.bottom-cart-tray.active,
.bottom-cart-tray.open {
    display: block !important;
    pointer-events: auto !important;
    animation: slideUpTray 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-tray-content {
    background: linear-gradient(135deg, #181d24 0%, #0f1318 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 18px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 0 20px rgba(179, 130, 25, 0.2);
    cursor: pointer;
    pointer-events: auto;
}

.cart-tray-info {
    display: flex;
    flex-direction: column;
}

.cart-items-count {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #d4af37;
    text-transform: uppercase;
}

.cart-total-amount {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.cart-total-amount .tax-tag {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    margin-left: 3px;
}

.cart-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-tray-view-cart {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-tray-view-cart:hover {
    background: rgba(255, 255, 255, 0.16);
}

.btn-tray-direct-order {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: #ffffff;
    padding: 11px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    animation: orderGlow 2.5s infinite;
}

.btn-tray-direct-order:hover, .btn-tray-direct-order:active {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.55);
}

/* ==========================================================================
   MODALS: CATEGORY SHEET & CART DRAWER & DISH DETAIL & CENTER DIALOGS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.modal-overlay.open,
.modal-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.sheet-modal {
    width: 100%;
    max-width: var(--max-width);
    background: #ffffff;
    border-top: 2px solid var(--gold-light);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    pointer-events: auto;
}

.modal-overlay.open .sheet-modal,
.modal-overlay.active .sheet-modal {
    transform: translateY(0) !important;
}

/* Center Modal Variant (Login, Receipt, Security Warning, Order Success) */
.modal-overlay.center-modal {
    align-items: center !important;
    padding: 16px;
}

.modal-overlay.center-modal .sheet-modal {
    border-radius: 24px !important;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.center-modal.open .sheet-modal,
.modal-overlay.center-modal.active .sheet-modal {
    transform: scale(1) translateY(0) !important;
}

/* Sheet Handle */
.sheet-drag-handle {
    width: 44px;
    height: 5px;
    background: #cbd5e1;
    border-radius: var(--radius-full);
    margin: 10px auto 4px;
}

.sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 14px;
    border-bottom: 1px solid var(--border-color);
}

.sheet-header h3 {
    font-size: 17px;
    color: #1e2632;
    letter-spacing: 0.3px;
}

.btn-close-modal {
    background: #f1f5f9;
    border: none;
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans-fast);
}

.btn-close-modal:hover {
    background: #e2e8f0;
    color: var(--text-primary);
}

.sheet-body {
    padding: 16px 20px 24px;
    overflow-y: auto;
}

/* Category Quick Jump Grid */
.category-quick-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
}

.category-quick-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--trans-fast);
}

.category-quick-item:hover, .category-quick-item.active {
    background: var(--gold-pale);
    border-color: var(--gold-light);
}

.quick-item-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.quick-item-title .icon {
    font-size: 18px;
}

.quick-item-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-dark);
    background: rgba(179, 130, 25, 0.12);
    padding: 3px 9px;
    border-radius: var(--radius-full);
}

/* Cart Breakdown Drawer */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-item-unit-price {
    font-size: 12px;
    color: var(--text-muted);
}

.cart-item-total {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
}

.cart-bill-summary {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 20px;
}

.bill-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.bill-line.total {
    border-top: 1.5px solid var(--border-color);
    padding-top: 10px;
    margin-top: 10px;
    font-size: 17px;
    font-weight: 800;
    color: #1e2632;
}

.chef-notes-box {
    margin-bottom: 20px;
}

.chef-notes-box label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.chef-notes-box textarea {
    width: 100%;
    height: 60px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    resize: none;
    outline: none;
}

.chef-notes-box textarea:focus {
    border-color: var(--gold-light);
    background: #ffffff;
}

.btn-confirm-order {
    width: 100%;
    background: var(--gold-gradient);
    color: #2b1f00;
    border: none;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 14px;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--trans-fast);
}

.btn-confirm-order:hover {
    filter: brightness(1.05);
}

/* Dish Detail Modal */
.dish-detail-card {
    border-radius: var(--radius-lg);
    background: #ffffff;
    overflow: hidden;
    max-height: 90vh;
}

.dish-detail-hero {
    position: relative;
    height: 240px;
    width: 100%;
}

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

.dish-detail-hero .close-hero-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
}

.dish-detail-body {
    padding: 20px;
}

.dish-detail-body h2 {
    font-size: 20px;
    color: #1e2632;
    margin-bottom: 8px;
}

.detail-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 14px 0;
    background: #f8fafc;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.detail-specs-grid .spec-val {
    font-weight: 800;
    color: var(--text-primary);
    display: block;
}

.detail-specs-grid .spec-lbl {
    color: var(--text-muted);
}

/* Toast Notice */
.toast-notice {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #1e2632;
    border: 1.5px solid var(--gold-light);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1200;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-notice.show {
    transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 480px) {
    .menu-sections-wrapper {
        padding: 12px 10px 40px;
    }
    .dish-card {
        gap: 14px;
        padding: 14px 12px 26px;
        margin-bottom: 18px;
    }
    .dish-media-container {
        width: 160px;
        height: 154px;
    }
    .dish-title {
        font-size: 15.5px;
    }
    .dish-price {
        font-size: 16px;
    }
    .dish-action-anchor {
        width: 104px;
        bottom: -14px;
    }
    .btn-add-dish, .quantity-stepper {
        width: 104px;
        height: 36px;
        font-size: 12.5px;
    }
}

@media (max-width: 375px) {
    .dish-card {
        gap: 10px;
        padding: 12px 10px 24px;
    }
    .dish-media-container {
        width: 148px;
        height: 144px;
    }
    .dish-action-anchor {
        width: 96px;
        bottom: -13px;
    }
    .btn-add-dish, .quantity-stepper {
        width: 96px;
        height: 34px;
        font-size: 12px;
    }
}

@media (max-width: 340px) {
    .dish-media-container {
        width: 134px;
        height: 130px;
    }
    .dish-action-anchor {
        width: 88px;
        bottom: -12px;
    }
    .btn-add-dish, .quantity-stepper {
        width: 88px;
        height: 32px;
        font-size: 11px;
    }
}

@media (min-width: 768px) {
    body {
        background-color: #edeae2;
    }
    .menu-app-container {
        border-left: 1px solid var(--border-color);
        border-right: 1px solid var(--border-color);
    }
}

/* ==========================================================================
   ENHANCED LUXURY UI STYLES: Direct Order Tray, Live Bill & Table Security
   ========================================================================== */

/* Header Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-header-action {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 6px 11px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.btn-header-action:hover, .btn-header-action:active {
    background: #fbfaf7;
    border-color: var(--gold-primary);
    color: var(--gold-dark);
    transform: translateY(-1px);
}

.btn-header-action.has-active {
    background: #ecfdf5;
    border-color: #10b981;
    color: #047857;
}

.bill-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    animation: livePulse 1.8s infinite;
}

/* Table Security Mismatch Banner */
.table-mismatch-banner {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-bottom: 1.5px solid #f87171;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideDownAlert 0.3s ease;
}

.mismatch-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.mismatch-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.mismatch-text {
    flex-grow: 1;
}

.mismatch-text strong {
    font-size: 13.5px;
    color: #991b1b;
    display: block;
}

.mismatch-text p {
    font-size: 12px;
    color: #b91c1c;
    margin-top: 2px;
    line-height: 1.35;
}

.btn-resolve-mismatch {
    background: #dc2626;
    color: #ffffff;
    border: none;
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.25);
    transition: all 0.2s;
}

.btn-resolve-mismatch:hover {
    background: #b91c1c;
}

/* ==========================================================================
   LIVE BILL RECEIPT MODAL
   ========================================================================== */
.bill-sheet-modal {
    max-width: 520px;
    margin: auto;
    border-radius: 24px;
    background: #ffffff;
    overflow: hidden;
}

.receipt-card {
    background: #ffffff;
    padding: 6px 4px;
}

.receipt-top-banner {
    text-align: center;
    padding: 10px 0 16px;
    border-bottom: 2px dashed #e2e8f0;
    position: relative;
}

.receipt-brand-logo {
    font-size: 32px;
    margin-bottom: 6px;
}

.receipt-restaurant-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.receipt-table-pill {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
}

.receipt-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px 4px;
    font-size: 12.5px;
    border-bottom: 1px solid #f1f5f9;
}

.receipt-meta-grid span {
    color: var(--text-muted);
}

.receipt-meta-grid strong {
    color: var(--text-primary);
    display: block;
    margin-top: 2px;
}

.receipt-items-container {
    padding: 14px 4px;
    max-height: 260px;
    overflow-y: auto;
}

.receipt-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f8fafc;
    font-size: 13.5px;
}

.receipt-item-name {
    font-weight: 600;
    color: var(--text-primary);
}

.receipt-item-qty {
    color: var(--gold-dark);
    font-weight: 700;
    margin-right: 6px;
}

.receipt-item-amount {
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.receipt-calculations {
    background: #fafaf9;
    border: 1px solid #e7e5e4;
    border-radius: 14px;
    padding: 12px 16px;
    margin: 14px 0;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.calc-row.total-row {
    border-top: 1.5px solid #d6d3d1;
    padding-top: 8px;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
}

.calc-row.total-row .total-val {
    color: #b38219;
    font-size: 20px;
}

.receipt-status-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 12px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.btn-receipt-action {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-receipt-action.primary {
    background: var(--text-primary);
    color: #ffffff;
}

.btn-receipt-action.secondary {
    background: #f1f5f9;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Security Table Mismatch Modal */
.security-alert-box {
    text-align: center;
    padding: 24px 16px;
}

.security-lock-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fef2f2;
    border: 2px solid #ef4444;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 16px;
}

.security-actions-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn-sec-action {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-sec-action.stay {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-sec-action.switch {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
}

@keyframes slideDownAlert {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideUpTray {
    from { transform: translate(-50%, 100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* ==========================================================================
   COMPATIBILITY ALIASES & MOBILE RESPONSIVE THUMBNAILS
   ========================================================================== */
.dish-details-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.dish-media-col {
    position: relative;
    width: 172px;
    height: 162px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: visible;
}

.dish-action-container {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 104px;
    z-index: 5;
    display: flex;
    justify-content: center;
}

.btn-dish-add {
    width: 104px;
    height: 36px;
    background: #ffffff;
    border: 1.5px solid var(--gold-primary);
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(179, 130, 25, 0.2);
    transition: var(--trans-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

/* Mobile Responsive Breakpoints */
@media (max-width: 480px) {
    .menu-sections-wrapper {
        padding: 12px 10px 40px;
    }
    .dish-card {
        gap: 14px;
        padding: 14px 12px 26px;
        margin-bottom: 18px;
    }
    .dish-media-container,
    .dish-media-col {
        width: 160px !important;
        height: 154px !important;
        flex-shrink: 0 !important;
    }
    .dish-title {
        font-size: 15.5px !important;
    }
    .dish-price {
        font-size: 16px !important;
    }
    .dish-action-anchor,
    .dish-action-container {
        width: 104px !important;
        bottom: -14px !important;
    }
    .btn-add-dish,
    .btn-dish-add,
    .quantity-stepper {
        width: 104px !important;
        height: 36px !important;
        font-size: 12.5px !important;
    }
}

@media (max-width: 375px) {
    .dish-card {
        gap: 10px;
        padding: 12px 10px 24px;
    }
    .dish-media-container,
    .dish-media-col {
        width: 148px !important;
        height: 144px !important;
        flex-shrink: 0 !important;
    }
    .dish-action-anchor,
    .dish-action-container {
        width: 96px !important;
        bottom: -13px !important;
    }
    .btn-add-dish,
    .btn-dish-add,
    .quantity-stepper {
        width: 96px !important;
        height: 34px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 340px) {
    .dish-media-container,
    .dish-media-col {
        width: 134px !important;
        height: 130px !important;
        flex-shrink: 0 !important;
    }
    .dish-action-anchor,
    .dish-action-container {
        width: 88px !important;
        bottom: -12px !important;
    }
    .btn-add-dish,
    .btn-dish-add,
    .quantity-stepper {
        width: 88px !important;
        height: 32px !important;
        font-size: 11px !important;
    }
}

@media (min-width: 768px) {
    body {
        background-color: #edeae2;
    }
    .menu-app-container {
        border-left: 1px solid var(--border-color);
        border-right: 1px solid var(--border-color);
    }
}

/* Out of Stock & Stock Status Indicators */
.dish-card.out-of-stock {
    opacity: 0.75;
}
.dish-card.out-of-stock .dish-img-wrap {
    position: relative;
}
.badge-sold-out {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1.5px solid #f87171 !important;
    border-radius: 9999px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.12) !important;
}
.tag-badge.tag-low-stock {
    background: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
}


