:root {
    /* Color Palette */
    --bg-color: #F5EFE6; /* Creamy Beige */
    --text-main: #3E362E; /* Deep Espresso Brown */
    --text-muted: #7A6F66; /* Warm Taupe */
    --card-bg: #FCFAF8; /* Soft White/Beige */
    --primary-color: #E8DFD3; /* Soft Beige Border */
    --accent-color: #829377; /* Sage Green */
    --accent-hover: #6A7C5F; /* Darker Sage */
    --price-color: #6A7C5F; /* Premium Sage for price */
    --modal-overlay: rgba(62, 54, 46, 0.4); /* Brown overlay */
    
    /* Header */
    --header-bg: rgba(245, 239, 230, 0.85); /* Creamy with blur */
    --header-border: rgba(130, 147, 119, 0.15); /* Sage border for depth */
    
    /* Spacing & Borders */
    --radius-md: 16px; /* Slightly rounder */
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 20px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    background-image: radial-gradient(var(--primary-color) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

/* Header */
.app-header {
    background-color: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--header-border);
    padding: 16px 24px; /* Default for mobile */
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%; /* Push elements to the extreme edges */
    width: 100%;
    margin: 0 auto;
}

.logo {
    font-size: 26px;
    font-weight: 800; /* Bolder */
    background: linear-gradient(135deg, var(--text-main), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* Responsive Header Adjustments */
@media (min-width: 768px) {
    .app-header {
        padding: 20px 24px; /* Less padding to keep items at the extreme edges */
    }
    
    .logo {
        font-size: 32px; /* Much larger logo on desktop */
    }
}

.active-order-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EBF8FF;
    color: #2B6CB0;
    text-decoration: none;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid #BEE3F8;
    transition: background 0.2s;
}

.active-order-banner:hover {
    background: #BEE3F8;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #3182CE;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 0 0 rgba(49, 130, 206, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(49, 130, 206, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(49, 130, 206, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(49, 130, 206, 0); }
}

/* User Actions in Header */
.user-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name-badge {
    background: #F0FFF4;
    color: #065F46;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.logout-btn {
    background: none;
    border: none;
    color: #EF4444;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

/* Landing Overlay */
.landing-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-content {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    max-width: 400px;
    width: 90%;
}

.landing-content h1 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 12px;
}

.landing-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.landing-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.secondary-btn {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
    width: 100%;
}

.secondary-btn:hover {
    background: #FFF5F0;
}

/* Restaurant Info Section */
.restaurant-info {
    max-width: 1200px;
    margin: 24px auto 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.restaurant-info .info-content {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.restaurant-info .info-map {
    flex: 1;
    min-width: 300px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    height: 300px;
}
.info-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.info-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}
.info-rating .stars {
    color: #F59E0B; /* Amber/Gold */
    font-size: 18px;
    letter-spacing: 2px;
}
.info-rating .reviews {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}
.info-details p {
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.6;
}
.info-details a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
}
body.dark-mode .restaurant-info .info-content {
    background: rgba(44, 38, 33, 0.7);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Menu Container */
.menu-container {
    padding: 24px 20px;
    max-width: 1200px; /* Wider for Grid layout */
    margin: 0 auto;
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

/* Category Nav */
.category-nav {
    display: flex;
    overflow-x: auto;
    background: var(--bg-color);
    padding: 16px 20px;
    gap: 12px;
    position: sticky;
    top: 73px; /* Below header (72px height + 1px border) */
    z-index: 9;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    border-bottom: none; /* Removed harsh border */
}

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

.cat-btn {
    background: var(--card-bg);
    border: 1px solid var(--primary-color);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.cat-btn:hover {
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cat-btn.active {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4);
}

/* Categories */
.category-section {
    margin-bottom: 48px;
    animation: fadeIn 0.4s ease-out forwards;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.category-title {
    grid-column: 1 / -1; /* spans full width */
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
    border: none;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.category-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 4px;
}

/* Artistic Grid Items */
.menu-item-art {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.menu-item-art:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08), 0 0 0 2px rgba(255, 107, 107, 0.2);
    border-color: transparent;
}

.menu-item-art:active {
    transform: translateY(-4px) scale(0.98);
}

.item-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.menu-item-art:hover .item-image-wrapper img {
    transform: scale(1.08);
}

.item-price-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-main);
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 14px;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 2;
}

body.dark-mode .item-price-badge {
    background: rgba(15, 23, 42, 0.85);
    color: white;
}

.item-details {
    padding: 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
    line-height: 1.3;
}

.item-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 12px;
    padding-right: 40px; /* Leave space for the add button */
}

.item-add-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--bg-color);
    border: 1px solid var(--primary-color);
    color: var(--text-main);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.item-add-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 8px 16px rgba(255, 107, 107, 0.3);
}

.item-add-btn:active {
    transform: scale(0.95);
}

/* CTA Spacer */
.cta-spacer {
    height: 80px; /* Space for the sticky button */
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    z-index: 20;
    pointer-events: none; /* Let clicks pass through container */
}

.cta-button {
    pointer-events: auto;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 20px;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:active {
    transform: translateY(2px);
    box-shadow: var(--shadow-sm);
}

.cta-icon {
    font-size: 24px;
}

.cta-text {
    font-size: 13px;
    text-align: left;
    line-height: 1.3;
}

.cta-text strong {
    font-weight: 700;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--modal-overlay);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    
    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    width: 100%;
    max-width: 360px;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--primary-color);
    
    /* Animation state */
    transform: scale(0.95) translateY(10px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-backdrop.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 14px;
    color: var(--text-muted);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-main);
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    background: var(--bg-color);
}

.input-group input:focus {
    border-color: var(--accent-color);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border: none;
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cart Specific Styles */
.cart-fab {
    position: fixed;
    bottom: 40px;
    right: 24px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.4);
    cursor: pointer;
    z-index: 30;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.cart-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(255, 107, 107, 0.5);
}

.cart-fab:active {
    transform: scale(0.95);
}

.cart-icon {
    font-size: 28px;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--text-main);
    color: var(--bg-color);
    font-size: 13px;
    font-weight: 700;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--card-bg);
}

.add-to-cart-btn {
    background: var(--primary-color);
    border: none;
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    margin-left: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.add-to-cart-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.add-to-cart-btn:active {
    transform: translateY(0) scale(0.9);
}

.item-action {
    display: flex;
    align-items: center;
}

/* Cart Modal Content */
.cart-content {
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 8px;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    padding: 20px 0;
}

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

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

.cart-item-name {
    font-size: 15px;
    font-weight: 600;
}

.cart-item-price {
    font-size: 14px;
    color: var(--price-color);
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    font-size: 20px;
}

.cart-footer {
    border-top: 2px solid var(--primary-color);
    padding-top: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.checkout-form .submit-btn:disabled {
    background: var(--primary-color);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: #38A169;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: bottom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    opacity: 0;
    z-index: 2000;
    pointer-events: none;
    white-space: nowrap;
}

.toast.show {
    bottom: 30px;
    opacity: 1;
}

/* Dark Mode Variables */
body.dark-mode {
    --bg-color: #1E1A17; /* Dark Mocha */
    --text-main: #F5EFE6; /* Cream Text */
    --text-muted: #9E9185; /* Lighter Taupe */
    --card-bg: #2C2621; /* Lighter Mocha Card */
    --primary-color: #3E362E; /* Espresso Border */
    --price-color: #9CAE90; /* Lighter Sage for dark mode */
    --modal-overlay: rgba(20, 17, 15, 0.75);
    --header-bg: rgba(30, 26, 23, 0.90); /* Dark Mocha Header */
    --header-border: rgba(156, 174, 144, 0.15);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 20px -3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.5);
}

body.dark-mode .item-image {
    background-color: #2D3748;
}

body.dark-mode .user-name-badge {
    background: #2D3748;
    color: #E2E8F0;
}

body.dark-mode .active-order-banner {
    background: #2B6CB0;
    color: #EBF8FF;
    border-bottom: 1px solid #2C5282;
}

/* Item Detail Modal Specifics */
.item-detail-content {
    padding: 0 !important;
    max-width: 500px !important;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--card-bg);
}

.detail-image-edge {
    width: 100%;
    height: 300px;
    background: #ffffff;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-image-edge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-body {
    padding: 24px;
}

.option-group {
    margin-bottom: 20px;
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--primary-color);
}
.option-group h4 {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.option-required-badge {
    font-size: 11px;
    background: var(--accent-color);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}
.option-choice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--primary-color);
}
.option-choice:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.option-choice label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex: 1;
    font-size: 15px;
}
.option-choice input[type="radio"], .option-choice input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-color);
}
.option-price {
    font-size: 14px;
    color: var(--price-color);
    font-weight: 700;
}

.landing-choice-btn:hover { transform: translateY(-6px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15), 0 10px 10px -5px rgba(0,0,0,0.1); }

/* Mobile Optimization */
@media (max-width: 768px) {
    /* Header */
    .app-header {
        padding: 12px 16px !important;
    }
    .logo {
        font-size: 22px;
    }
    
    /* Landing Overlay */
    .landing-content {
        padding: 32px 20px !important;
        width: 95% !important;
    }
    .landing-content h1 {
        font-size: 26px !important;
    }
    .landing-buttons {
        grid-template-columns: 1fr !important;
    }
    .landing-choice-btn {
        padding: 16px 12px !important;
        gap: 12px !important;
    }
    .landing-choice-btn > span:first-child {
        font-size: 28px !important;
        padding: 10px !important;
    }
    .landing-choice-btn div span:first-child {
        font-size: 18px !important;
        margin-bottom: 4px !important;
    }
    .landing-choice-btn div span:last-child {
        font-size: 13px !important;
    }
    
    /* Restaurant Info */
    .restaurant-info {
        flex-direction: column !important;
        padding: 0 16px !important;
    }
    .restaurant-info .info-content {
        padding: 24px !important;
        min-width: 100% !important;
    }
    .restaurant-info .info-map {
        min-width: 100% !important;
        height: 250px !important;
    }
    .info-title {
        font-size: 24px !important;
    }
    
    /* Category Nav */
    .category-nav {
        padding: 12px 16px !important;
        gap: 8px !important;
        top: 47px !important; /* Close the gap on mobile */
    }
    .cat-btn {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }
    
    /* Menu Categories & Items */
    .category-section {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .menu-container {
        padding: 16px !important;
    }
    .category-title {
        font-size: 24px !important;
    }
    
    /* Menu Items */
    .item-image-wrapper {
        aspect-ratio: 4 / 3 !important;
        height: auto !important;
    }
    .item-details {
        padding: 16px !important;
    }
    .item-desc {
        padding-right: 50px !important; /* Space for add button */
    }
    .item-add-btn {
        bottom: 16px !important;
        right: 16px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }
    
    /* Modals & Cart */
    .modal-content {
        max-width: 95% !important;
        padding: 24px 16px !important;
    }
    .cart-fab {
        bottom: 24px !important;
        right: 16px !important;
        width: 56px !important;
        height: 56px !important;
    }
    .cart-icon {
        font-size: 24px !important;
    }
    
    /* Sticky CTA */
    .sticky-cta {
        bottom: 16px !important;
    }
    .cta-button {
        padding: 12px 16px !important;
    }
}
