@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #EF4444;
    --primary-hover: #DC2626;
    --secondary: #FF7A00;
    --accent: #F59E0B;
    --success: #10B981;
    --success-light: #ECFDF5;
    --danger: #EF4444;
    --light-bg: #F8FAFC;
    --card-bg: #FFFFFF;
    --dark-text: #0F172A;
    --muted-text: #64748B;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 6px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 25px -4px rgba(15, 23, 42, 0.12);
    --shadow-primary: 0 4px 14px rgba(239, 68, 68, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    color: var(--dark-text);
    font-family: 'Outfit', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.45;
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: 80px; /* Space for mobile floating cart */
}

/* Base Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 14px;
}

/* =========================================================================
   Store Header (HungerStation Market Compact Style)
========================================================================= */
.store-header {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    margin-bottom: 12px;
    color: var(--dark-text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
}

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

.header-top-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #F8FAFC;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-decoration: none;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 700;
    border: 1px solid var(--border);
    transition: background-color 0.15s ease;
}

.header-top-link:hover {
    background: #F1F5F9;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.store-logo-wrap {
    width: 62px;
    height: 62px;
    min-width: 62px;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 3px;
    border: 1.5px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.store-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.store-title {
    flex: 1;
    min-width: 0;
}

.store-title h1 {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--dark-text);
    letter-spacing: -0.3px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-title p {
    font-size: 0.8rem;
    color: var(--muted-text);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
}

.badge-open {
    background: #DCFCE7;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

.badge-closed {
    background: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FECACA;
}

.badge-info {
    background: #F1F5F9;
    color: #334155;
    border: 1px solid #E2E8F0;
}

/* =========================================================================
   Service Type Selector (Delivery / Pickup Segmented Control)
========================================================================= */
.order-type-switch {
    display: flex;
    background: #FFFFFF;
    border: 1px solid var(--border);
    padding: 4px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    margin-bottom: 10px;
    gap: 4px;
}

.type-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: calc(var(--radius-md) - 2px);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--muted-text);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.type-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: var(--shadow-primary);
}

/* =========================================================================
   Branch Selector Bar (HungerStation Style)
========================================================================= */
.branch-selector-bar {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    box-shadow: var(--shadow-xs);
}

.branch-select-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 180px;
}

.branch-select-icon {
    font-size: 1.2rem;
    color: var(--primary);
}

.branch-select-label {
    font-size: 0.72rem;
    color: var(--muted-text);
    font-weight: 700;
}

.branch-dropdown {
    font-weight: 800;
    color: var(--dark-text);
    padding: 2px 4px;
    border: none;
    background: transparent;
    font-size: 0.88rem;
    cursor: pointer;
    font-family: inherit;
    outline: none;
}

.branch-info-badges {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 700;
}

/* =========================================================================
   Instant Search Bar (HungerStation Market Style)
========================================================================= */
.search-bar-wrap {
    margin-bottom: 10px;
    position: relative;
}

.search-input-box {
    width: 100%;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 7px 12px;
    gap: 8px;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.search-icon {
    font-size: 1rem;
    color: var(--muted-text);
    opacity: 0.8;
}

.search-input {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.86rem;
    color: var(--dark-text);
    width: 100%;
    outline: none;
}

.search-input::placeholder {
    color: #94A3B8;
}

.search-clear-btn {
    background: #F1F5F9;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.72rem;
    color: #64748B;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

/* =========================================================================
   Category Navigation (Horizontal Pill Scroll)
========================================================================= */
.category-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(248, 250, 252, 0.94);
    backdrop-filter: blur(10px);
    padding: 8px 0 10px 0;
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

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

.category-pill {
    white-space: nowrap;
    background: #FFFFFF;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark-text);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-xs);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.category-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-pill.active {
    background: var(--dark-text);
    color: white;
    border-color: var(--dark-text);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

/* Top Cart Trigger in Category Nav */
.top-cart-trigger-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    color: white !important;
    border: none !important;
}

.menu-tab-btn {
    background: #0F172A !important;
    color: white !important;
    border-color: #0F172A !important;
}

/* =========================================================================
   Main Layout: Menu + Cart Sidebar
========================================================================= */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 18px;
    align-items: flex-start;
}

.menu-sections-wrapper {
    min-width: 0;
}

/* Category Section Header */
.category-section {
    margin-bottom: 24px;
}

.category-section-header {
    margin: 14px 0 10px 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-section-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* =========================================================================
   Product Grid & Cards (HungerStation Market Compact Aesthetics)
========================================================================= */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.menu-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
}

/* Image Wrap */
.card-img-wrap {
    position: relative;
    width: 100%;
    height: 130px;
    background: #FFFFFF;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border-bottom: 1px solid var(--border-light);
}

.card-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.menu-card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: #F8FAFC;
}

.promo-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
    padding: 2px 7px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.68rem;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Card Content */
.card-content {
    padding: 10px 10px 12px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 3px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.3em;
}

.card-desc {
    font-size: 0.74rem;
    color: var(--muted-text);
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2em;
}

/* Variant Selector (Pills) */
.variant-wrapper {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.variant-pill {
    padding: 2px 7px;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: #F8FAFC;
    color: var(--muted-text);
    cursor: pointer;
    transition: all 0.15s;
}

.variant-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Card Footer & Add Button */
.card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px dashed var(--border-light);
    gap: 4px;
}

.card-price-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-strikethrough {
    text-decoration: line-through;
    color: #94A3B8;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: -2px;
}

.card-price {
    font-size: 0.98rem;
    font-weight: 900;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

.card-price span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted-text);
}

/* Modern HungerStation Compact Add Button */
.btn-add-item {
    background: #FFF1F2;
    color: var(--primary);
    border: 1px solid #FECACA;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 800;
    font-size: 0.78rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-add-item:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

/* =========================================================================
   Desktop Cart Sidebar
========================================================================= */
.cart-sidebar {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 12px;
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}

.cart-sidebar-header h2 {
    font-size: 1.05rem;
    font-weight: 800;
}

.cart-items-container {
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 12px;
    padding-right: 2px;
}

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

.cart-item-info h4 {
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.cart-item-info p {
    font-size: 0.74rem;
    color: var(--primary);
    font-weight: 800;
}

.cart-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #F8FAFC;
    color: var(--dark-text);
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-count {
    font-size: 0.82rem;
    font-weight: 800;
    min-width: 16px;
    text-align: center;
}

.cart-bill-summary {
    background: #F8FAFC;
    border-radius: var(--radius-md);
    padding: 10px 12px;
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
}

.bill-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--muted-text);
    margin-bottom: 4px;
    font-weight: 600;
}

.bill-row.total {
    font-size: 1.02rem;
    font-weight: 900;
    color: var(--dark-text);
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1.5px dashed var(--border);
}

.bill-row.total span:last-child {
    color: var(--primary);
}

.checkout-btn {
    width: 100%;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.checkout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(239, 68, 68, 0.4);
}

/* =========================================================================
   Floating Bottom Cart Bar (Mobile & Tablet)
========================================================================= */
.mobile-cart-bar {
    display: none;
    position: fixed;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
    z-index: 90;
    background: #0F172A;
    color: white;
    border-radius: var(--radius-lg);
    padding: 10px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    animation: slideUpBar 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpBar {
    from { transform: translateY(80px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.mobile-cart-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-count-badge {
    background: var(--primary);
    color: white;
    font-weight: 900;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.mobile-cart-total {
    font-size: 1rem;
    font-weight: 900;
    color: #F8FAFC;
}

.mobile-cart-btn-label {
    font-size: 0.88rem;
    font-weight: 800;
    color: #FBBF24;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =========================================================================
   Modals (Checkout, Pre-Approval Radar, Categories & Cart Popups)
========================================================================= */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.modal-content-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Delivery Live Radar Animation */
.radar-wrapper {
    text-align: center;
    padding: 16px 8px;
}

.radar-circle {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-icon {
    font-size: 2rem;
    z-index: 2;
}

.radar-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.2);
    animation: radarWave 2s infinite;
}

.radar-pulse:nth-child(2) {
    animation-delay: 0.6s;
}

.radar-pulse:nth-child(3) {
    animation-delay: 1.2s;
}

@keyframes radarWave {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Forms */
.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 4px;
}

.form-control {
    width: 100%;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    font-family: inherit;
    font-size: 16px; /* Prevents iOS Safari Zoom */
    color: var(--dark-text);
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* =========================================================================
   Responsive Cross-Device Breakpoints (Mobile, Tablet, Desktop)
========================================================================= */

/* Desktop / Large Screens (> 1200px) */
@media (min-width: 1200px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
        gap: 14px;
    }
}

/* Tablets & Small Laptops (769px - 1024px) */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        display: none; /* Replaced by Floating Bottom Cart */
    }

    .mobile-cart-bar {
        display: flex;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }
}

/* Mobile Phones (HungerStation Market 2-Column Compact Grid: <= 768px) */
@media (max-width: 768px) {
    body {
        font-size: 13.5px;
    }

    .container {
        padding: 8px 10px;
    }

    .store-header {
        padding: 10px 12px;
        margin-bottom: 8px;
    }

    .store-logo-wrap {
        width: 52px;
        height: 52px;
        min-width: 52px;
        border-radius: 12px;
    }

    .store-title h1 {
        font-size: 1.1rem;
    }

    .store-title p {
        font-size: 0.74rem;
    }

    .badge-tag {
        font-size: 0.68rem;
        padding: 2px 6px;
    }

    .order-type-switch {
        margin-bottom: 8px;
        padding: 3px;
    }

    .type-btn {
        padding: 7px 8px;
        font-size: 0.78rem;
    }

    .branch-selector-bar {
        padding: 6px 10px;
        margin-bottom: 8px;
    }

    .branch-select-icon {
        font-size: 1rem;
    }

    .branch-dropdown {
        font-size: 0.82rem;
    }

    .category-nav {
        padding: 6px 0 8px 0;
        margin-bottom: 8px;
        gap: 6px;
    }

    .category-pill {
        padding: 5px 11px;
        font-size: 0.75rem;
    }

    .category-section-header {
        font-size: 1rem;
        margin: 10px 0 8px 0;
    }

    /* HungerStation Market 2-Column Mobile Grid */
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .menu-card {
        border-radius: 12px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }

    .card-img-wrap {
        height: 105px;
        padding: 6px;
    }

    .card-content {
        padding: 8px 8px 10px 8px;
    }

    .card-title {
        font-size: 0.8rem;
        margin-bottom: 2px;
        min-height: 2.1em;
        line-height: 1.25;
    }

    .card-desc {
        font-size: 0.7rem;
        line-height: 1.25;
        margin-bottom: 6px;
        min-height: 1.8em;
    }

    .variant-wrapper {
        margin-bottom: 6px;
        gap: 3px;
    }

    .variant-pill {
        font-size: 0.64rem;
        padding: 2px 5px;
    }

    .card-price {
        font-size: 0.9rem;
    }

    .card-price span {
        font-size: 0.68rem;
    }

    .btn-add-item {
        padding: 4px 8px;
        font-size: 0.74rem;
        border-radius: 6px;
    }
}

/* Ultra Small Screens / iPhone SE (< 360px) */
@media (max-width: 360px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .card-img-wrap {
        height: 90px;
        padding: 4px;
    }

    .card-title {
        font-size: 0.76rem;
    }

    .card-desc {
        display: none; /* Cleaner, tighter view on ultra small screens */
    }

    .card-price {
        font-size: 0.84rem;
    }

    .btn-add-item {
        padding: 3px 6px;
        font-size: 0.7rem;
    }
}
