/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Montserrat:wght@600;700&display=swap');

/* Color Palette - Updated for White Background */
:root {
    --primary-yellow: #FFD700;    /* Bright Yellow from logo - primary accent */
    --accent-dark: #333333;       /* Dark accent for text and primary elements on white */
    --text-dark: #333333;         /* Dark text for general content */
    --text-medium: #555555;       /* Slightly lighter dark for secondary text */
    --text-light: #777777;        /* Even lighter dark for subtle text/placeholders */
    --accent-white: #FFFFFF;      /* Added for clarity on dark backgrounds */

    --bg-light: #F8F8F8;          /* Very light grey/off-white for main background */
    --card-bg: #FFFFFF;           /* Pure white for cards/containers */

    --shadow-light: rgba(0, 0, 0, 0.05); /* Subtle shadow on light elements */
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.2);

    /* Header specific colors for black background */
    --header-bg: #000000;         /* Pure black for header */
    --header-text-on-dark: #FFFFFF; /* White text for header content */

    --button-secondary-bg: #E0E0E0; /* Light grey for inactive/secondary buttons */
    --button-active-bg: #FFD700;     /* Bright Yellow for active/primary buttons */
    --button-hover-bg: #FFC400;      /* Slightly darker yellow for hover */

    --remove-btn-bg: #EF5350;        /* Red for remove actions (retained) */
    --footer-bg: #1A1A1A;            /* Dark grey for footer to contrast with light body */

    /* New variables for borders or subtle dividers to ensure visibility on white */
    --border-light: #EEEEEE;
    --border-medium: #DDDDDD;

    /* New variable for mobile nav active state */
    --nav-active-bg: #FFD700; /* Yellow for active nav item background */
}

/* Base Styles */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light); /* Changed to light background */
    color: var(--text-dark); /* Text color changed to dark */
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Container for main content */
.container {
    max-width: 1300px;
    margin: 30px auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: 1fr; /* Default to single column for mobile */
    gap: 40px;
    flex-grow: 1;
}

/* Header */
.main-header {
    background-color: var(--header-bg); /* Changed to black background */
    color: var(--header-text-on-dark); /* Text color for header changed to white */
    padding: 50px 20px;
    text-align: center;
    box-shadow: none; /* Removed the box shadow as requested */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-content {
    position: relative;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column; /* Default for mobile */
    align-items: center;
    justify-content: center;
}

.restaurant-logo {
    max-width: 100px; /* Adjust as needed */
    height: auto;
    border-radius: 0; /* Changed to 0 if the logo is not circular */
    box-shadow: none; /* Removed glow/shadow from logo by default */
    margin-bottom: 10px; /* Space between logo and table info */
}


.table-info-display {
    font-size: 1.1em;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1); /* White transparent for contrast on dark header */
    color: var(--header-text-on-dark); /* Ensure text is white on this element */
    border-radius: 25px;
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.header-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.cart-icon-btn {
    background-color: rgba(255, 255, 255, 0.15); /* White transparent for contrast on dark header */
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); /* Shadow for button (kept as it's part of the button itself) */
}

.cart-icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.25); /* More transparent white on hover */
}

.cart-icon-btn i {
    color: var(--header-text-on-dark); /* Icon color changed to white */
    font-size: 1.5em;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-yellow);
    color: var(--accent-white); /* Text remains white on yellow button */
    font-size: 0.8em;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 7px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 5px var(--shadow-strong);
}

/* Search Bar */
.search-bar-container {
    position: relative;
    width: 80%;
    max-width: 600px;
    margin: -40px auto 40px auto;
    z-index: 5;
    box-shadow: 0 5px 20px var(--shadow-medium);
    border-radius: 12px;
    background-color: var(--card-bg); /* White */
}

.search-bar {
    width: calc(100% - 60px);
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-family: 'Lato', sans-serif;
    color: var(--text-dark); /* Dark text */
    background-color: var(--card-bg); /* White */
    outline: none;
}

.search-bar::placeholder {
    color: var(--text-light); /* Light dark grey placeholder */
    opacity: 0.8;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-medium); /* Medium dark grey icon */
    font-size: 1.2em;
}

/* Category Navigation */
.category-nav {
    background-color: var(--card-bg); /* White */
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-medium);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.category-btn {
    background-color: var(--button-secondary-bg); /* Light grey */
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-medium); /* Medium dark grey text */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    min-width: 120px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-btn:hover {
    background-color: var(--button-hover-bg);
    color: var(--accent-white); /* Text white on hover */
    transform: translateY(-3px);
    box-shadow: 0 5px 12px var(--shadow-medium);
}

.category-btn.active {
    background-color: var(--button-active-bg);
    color: var(--accent-white); /* Text white on active yellow */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
}

/* Section Title for Menu */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    color: var(--text-dark); /* Dark text */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-yellow);
    border-radius: 5px;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Menu Item Card (Initial View) */
.menu-item {
    background-color: var(--card-bg); /* White */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 20px var(--shadow-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--shadow-strong);
}

/* --- Menu Item Image Styling --- */
.menu-item-image {
    width: 150px;
    height: 150px;
    background-color: var(--bg-light); /* Lighter background for image container */
    border-radius: 50%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9em;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-yellow);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


.menu-item h3 {
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
    color: var(--text-dark); /* Dark text */
    font-size: 1.4em;
    margin-bottom: 8px;
    line-height: 1.2;
    font-weight: 600;
}

.menu-item .price {
    font-weight: 700;
    color: var(--primary-yellow);
    font-size: 1.2em;
    margin-top: 0;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Hide description and add-to-cart button in initial view */
.menu-item .item-description,
.menu-item .add-to-cart-btn,
.menu-item .expand-btn {
    display: none;
}


/* Loading and Error Messages */
.loading-message, .error-message {
    text-align: center;
    grid-column: 1 / -1;
    font-size: 1.2em;
    color: var(--text-medium); /* Medium dark grey */
    padding: 30px;
    background-color: var(--card-bg); /* White */
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow-light);
}

.error-message {
    color: var(--remove-btn-bg); /* Red */
    font-weight: bold;
}

/* Cart Sidebar - MODIFIED FOR MOBILE DISPLAY */
.cart-sidebar {
    background-color: var(--card-bg); /* White */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px var(--shadow-medium);
    position: sticky;
    top: 30px; /* Stays sticky on larger screens */
    align-self: start;
    /* Hide by default on small screens, will be shown by JS */
    display: none; /* Hidden by default for small screens */
    height: calc(100vh - 120px); /* Adjust height to fit viewport (header + nav) */
    overflow-y: auto; /* Enable scrolling within the sidebar if content overflows */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    box-sizing: border-box; /* Include padding in height calculation */
}

/* Ensure cart-sidebar is visible on desktop */
@media (min-width: 992px) {
    .cart-sidebar {
        display: block; /* Always visible on desktop */
        position: sticky;
        top: 30px;
        height: auto; /* No fixed height, let content define it */
        overflow-y: visible;
    }
}


.cart-title {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark); /* Dark text */
    border-bottom: 2px solid var(--border-light); /* Light border */
    padding-bottom: 15px;
    margin-top: 0;
    font-size: 2em;
    font-weight: 700;
}

.cart-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
}

.cart-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dotted var(--border-light); /* Light dotted border */
    font-size: 1.05em;
    color: var(--text-medium); /* Medium dark grey */
}

.cart-list li:last-child {
    border-bottom: none;
}

.remove-item-btn {
    background-color: var(--remove-btn-bg); /* Red */
    color: var(--accent-white);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    margin-left: 15px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.remove-item-btn:hover {
    background-color: #E53935; /* Slightly darker red */
    transform: translateY(-1px);
}

.cart-total-area {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid var(--border-light); /* Light border */
}

.total-label {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-dark); /* Dark text */
}

.total-amount {
    font-weight: 700;
    color: var(--primary-yellow);
    font-size: 2em;
    letter-spacing: 1px;
}

.empty-cart-message {
    text-align: center;
    color: var(--text-light); /* Light dark grey */
    font-style: italic;
    padding: 15px 0;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 20px;
    background-color: var(--primary-yellow);
    color: var(--accent-white); /* Text remains white on yellow button */
    border: none;
    border-radius: 10px;
    font-size: 1.4em;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.checkout-btn:hover {
    background-color: var(--button-hover-bg);
    transform: translateY(-3px);
}

/* Bottom Navigation Bar */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--footer-bg); /* Dark grey for contrast */
    padding: 15px 0;
    position: sticky;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 15px var(--shadow-medium);
    z-index: 1000;
}

.nav-item {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7); /* White with opacity on dark footer */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9em;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
    padding: 5px 10px;
    position: relative; /* For cart count positioning */
}

.nav-item i {
    font-size: 1.6em;
    margin-bottom: 5px;
}

.nav-item:hover {
    color: var(--accent-white);
    transform: translateY(-2px);
}

.nav-item.active {
    color: var(--primary-yellow);
    font-weight: 700;
    /* Optional: Add a subtle background for active tab */
    /* background-color: rgba(255, 215, 0, 0.1); */
    /* border-radius: 5px; */
}
/* Ensure the cart-count in the bottom nav has correct colors */
#bottom-nav-cart-count {
    position: absolute; /* Re-position for the bottom nav button */
    top: -5px; /* Adjust as needed */
    right: 5px; /* Adjust as needed */
    background-color: var(--primary-yellow);
    color: var(--accent-white);
    font-size: 0.8em;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 7px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 5px var(--shadow-strong);
    display: none; /* Hidden by default, shown by JS */
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s forwards;
}

.modal-content {
    background-color: var(--card-bg); /* White */
    margin: auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-strong);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.close-button {
    color: var(--text-light); /* Light dark grey */
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--text-dark); /* Dark text */
    text-decoration: none;
}

.modal-body {
    width: 100%;
}

/* --- Modal Image Styling --- */
.modal-item-image {
    width: 200px;
    height: 200px;
    background-color: var(--bg-light); /* Lighter background for image container */
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1em;
    overflow: hidden;
    border: 4px solid var(--primary-yellow);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.modal-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

#modal-item-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2em;
    color: var(--text-dark); /* Dark text */
    margin-bottom: 10px;
}

#modal-item-description {
    font-size: 1.1em;
    color: var(--text-medium); /* Medium dark grey */
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-item-price {
    font-weight: 700;
    color: var(--primary-yellow);
    font-size: 1.8em;
    margin-bottom: 30px;
}

#modal-add-to-cart-btn {
    padding: 18px 30px;
    font-size: 1.2em;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    background-color: var(--primary-yellow);
    color: var(--accent-white); /* Text remains white on yellow button */
}
#modal-add-to-cart-btn:hover {
    background-color: var(--button-hover-bg);
}


/* Payment Options Modal Specific Styles */
.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    color: var(--text-dark); /* Dark text */
    margin-bottom: 25px;
}

.modal-option-btn {
    display: block;
    width: 80%;
    max-width: 300px;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    margin: 15px auto;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.cash-btn {
    background-color: var(--button-secondary-bg); /* Light grey */
    color: var(--text-dark); /* Dark text on grey button */
    box-shadow: 0 4px 12px var(--shadow-light); /* Light shadow for light button */
}

.cash-btn:hover {
    background-color: #D0D0D0; /* Slightly darker light grey on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px var(--shadow-medium);
}

.payment-btn {
    background-color: var(--primary-yellow);
    color: var(--accent-white); /* Text remains white on yellow button */
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.payment-btn:hover {
    background-color: var(--button-hover-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.5);
}


/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


/* Responsive Design - MODIFIED */
@media (min-width: 992px) {
    .container {
        grid-template-columns: 2.5fr 1fr;
    }
    .main-header {
        flex-direction: row; /* Align items in a row on larger screens */
        justify-content: space-between;
        padding: 40px 50px;
    }
    .header-content {
        text-align: left;
        flex-grow: 0;
        flex-direction: row; /* Logo and text in a row on desktop */
        align-items: center; /* Align items vertically in the middle */
    }
    .restaurant-logo {
        margin-bottom: 0; /* Remove bottom margin when in a row */
        margin-right: 20px; /* Add space to the right of the logo */
    }
    .table-info-display {
        margin-top: 0; /* Adjust margin for row layout */
        font-size: 1em;
        margin-left: 0; /* No left margin needed here if logo has right margin */
    }
    .search-bar-container {
        position: static;
        width: auto;
        max-width: none;
        margin: 0;
        box-shadow: none;
        background-color: transparent;
        order: -1;
    }
    .search-bar {
        background-color: var(--card-bg); /* White */
        box-shadow: 0 5px 20px var(--shadow-medium);
    }
    .category-nav {
        grid-column: 1 / -1;
        margin-top: 20px;
    }
    .bottom-nav {
        display: none; /* Hide bottom nav on larger screens */
    }

    /* Ensure cart-sidebar is always visible on desktop */
    .cart-sidebar {
        display: block;
    }
    /* Ensure main menu sections are visible on desktop */
    .menu-section {
        display: block;
    }
}

@media (max-width: 991px) {
    .container {
        /* When using bottom nav, the container needs to take full width and handle internal display */
        display: flex; /* Change to flex column for easier content switching */
        flex-direction: column;
        padding: 0; /* Remove padding here, add to inner sections */
        margin: 0; /* Remove margin, occupy full width */
        width: 100%; /* Occupy full width */
        min-height: calc(100vh - var(--bottom-nav-height, 60px)); /* Ensure container fills space above nav */
    }

    /* REMOVED: display: none; from .menu-section within this media query */
    /* Instead, its initial visibility will be handled by JavaScript */
    .menu-section {
        /* display: none; */ /* THIS LINE IS COMMENTED OUT/REMOVED */
        padding: 20px 15px; /* Add padding here for content */
        box-sizing: border-box;
        width: 100%; /* Take full width */
        /* It will now default to whatever display property it has outside this media query,
           and the JS will explicitly set it to 'block' on load. */
    }

    /* Cart sidebar will be managed by JS to show/hide */
    .cart-sidebar {
        padding: 20px 15px; /* Add padding here for content */
        box-sizing: border-box;
        width: 100%; /* Take full width */
        height: calc(100vh - 160px); /* Adjust height for header and bottom nav */
        overflow-y: auto;
        position: static; /* No sticky behavior on mobile */
        margin-top: 0; /* No top margin */
        border-radius: 0; /* No border-radius for full width content */
        box-shadow: none; /* No shadow for full width content */
        flex-grow: 1; /* Allow it to grow in the flex container */
        /* Add a background to ensure it covers content beneath it when displayed */
        background-color: var(--card-bg);
    }
    
    /* Ensure home section is hidden by default on mobile */
    #home-section {
        display: none;
        padding: 20px 15px;
        box-sizing: border-box;
        width: 100%;
    }


    /* Adjust search bar positioning if needed for fixed container */
    .search-bar-container {
        margin-top: 20px; /* Push down from header */
        width: calc(100% - 30px); /* Adjust width */
        align-self: center; /* Center it within the flex container */
        box-shadow: 0 5px 20px var(--shadow-medium); /* Add shadow back */
    }

    .bottom-nav {
        display: flex; /* Ensure bottom nav is always displayed on small screens */
    }

    /* These were already present in your original code, retaining them */
    .main-header {
        padding: 30px 15px;
    }
    .table-info-display {
        font-size: 1em;
        padding: 8px 15px;
        margin-top: 15px; /* Adjust for mobile vertical layout */
    }
    /* .search-bar-container { Moved to above mobile general rules } */
    .category-nav {
        padding: 15px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    .category-btn {
        min-width: 100px;
        flex-grow: 0;
        padding: 12px 20px;
        font-size: 1em;
    }
    .section-title {
        font-size: 2em;
    }
    .menu-item {
        padding: 20px;
    }
    .menu-item h3 {
        font-size: 1.4em;
    }
    .menu-item .price {
        font-size: 1.2em;
    }
    .cart-sidebar { /* Merged with the main mobile cart-sidebar style above */
        position: static;
        margin-top: 30px;
    }
    .checkout-btn {
        padding: 15px;
        font-size: 1.1em;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
    }
    #modal-item-name {
        font-size: 1.8em;
    }
    #modal-item-description {
        font-size: 1em;
    }
    .modal-item-price {
        font-size: 1.6em;
    }
    #modal-add-to-cart-btn {
        padding: 15px 25px;
        font-size: 1.1em;
    }
    .modal-option-btn {
        width: 90%;
        padding: 15px;
        font-size: 1.1em;
    }
}

@media (max-width: 576px) {
    .main-header {
        padding: 25px 10px;
    }
    .table-info-display {
        font-size: 0.9em;
        padding: 8px 15px;
    }
    .search-bar-container {
        width: 95%;
    }
    .search-bar {
        padding: 12px 15px;
        font-size: 1em;
    }
    .search-icon {
        font-size: 1em;
        right: 15px;
    }
    .category-nav {
        gap: 8px;
    }
    .category-btn {
        padding: 10px 18px;
        font-size: 0.9em;
    }
    .section-title {
        font-size: 1.8em;
    }
    .menu-item {
        padding: 15px;
    }
    .menu-item h3 {
        font-size: 1.2em;
    }
    .menu-item .price {
        font-size: 1.2em;
    }
    .cart-sidebar {
        padding: 20px;
    }
    .cart-title {
        font-size: 1.6em;
    }
    .cart-list li {
        font-size: 0.95em;
    }
    .remove-item-btn {
        padding: 6px 10px;
        font-size: 0.8em;
    }
    .total-label {
        font-size: 1.4em;
    }
    .total-amount {
        font-size: 2em;
    }
    .checkout-btn {
        padding: 12px;
        font-size: 1em;
    }
    .bottom-nav {
        padding: 10px 0;
    }
    .nav-item {
        font-size: 0.8em;
    }
    .nav-item i {
        font-size: 1.4em;
    }
}