/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global link styles */
a {
    color: inherit;
    text-decoration: none;
}

.top-bar-categories {
    padding-top: 130px;
}

a:hover {
    color: inherit;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #000;
}

h2 {
    font-size: 2.5rem;
    color: #000;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
    color: #000;
}

h4 {
    font-size: 1.3rem;
    color: #000;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Header and Navigation */
.header {
    background: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 90px; /* 50% bigger than normal 60px */
    width: auto;
    object-fit: contain;
    transition: height 0.6s ease; /* Smooth transition for size changes */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

/* Hover effects removed */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #000;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
    overflow: hidden;
    padding-bottom: 14vh;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.99) 70%, rgba(0,0,0,1.0) 100%);
    z-index: -1;
}

.hero-content h1 {
    font-family: 'Nata Sans', sans-serif;
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.9), 1px 1px 2px rgba(0,0,0,0.8);
    max-width: 1400px;
    line-height: 1.0;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: left;
    padding-left: 2rem;
    padding-right: 2rem;
}

.hero-content p {
    font-family: 'Nata Sans', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: #fff;
    max-width: 1200px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9), 1px 1px 3px rgba(0,0,0,0.8);
    font-weight: 500;
    letter-spacing: 0.03em;
    text-align: left;
    padding-left: 2rem;
    padding-right: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-left: 2rem;
    padding-right: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button.primary {
    background: #FF4500;
    color: #fff;
    border: 2px solid #FF4500;
}

.cta-button.primary:hover {
    background: #DC143C;
    border-color: #DC143C;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-button.secondary:hover {
    background: #fff;
    color: #FF4500;
    transform: translateY(-2px);
}

/* Featured Section */
.featured-section {
    padding: 5rem 0;
    background: #fff;
}

.featured-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #000;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.featured-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-10px);
}

.featured-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-item:hover .featured-image img {
    transform: scale(1.1);
}

.featured-item h3 {
    color: #000;
    font-size: 1.3rem;
    margin: 0;
}

/* Welcome Section */
.welcome-section {
    padding: 5rem 0;
    background: #fff;
}

.welcome-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.welcome-content h2 {
    color: #000;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.welcome-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Reservation Section */
.reservation-section {
    padding: 5rem 0;
    background: #fff;
}

.reservation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.reservation-content h2 {
    color: #000;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.reservation-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Cuisine Section */
.cuisine-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.cuisine-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cuisine-content h2 {
    color: #000;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.cuisine-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Experience Section */
.experience-section {
    padding: 5rem 0;
    background: #fff;
}

.experience-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.experience-content h2 {
    color: #000;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.experience-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Order Section */
.order-section {
    padding: 5rem 0;
    background: #fff;
}

.order-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.order-content h2 {
    color: #000;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.order-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Photos Section */
.photos-section {
    padding: 2rem 0;
    background: #22252a;
}

.photos-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    flex: 0 0 auto;
    max-width: 500px;
}

.photo-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.photos-content {
    flex: 1;
    text-align: left;
}

.photos-content h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #fff;
    text-align: left;
}

.photos-content p {
    font-size: 1.2rem;
    color: #e2e8f0;
    line-height: 1.6;
}

/* Menu Section */
.menu-section {
    padding: 5rem 0;
    background: #fff;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.menu-category {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-top: 5px solid #8B4513;
}

.menu-category h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #000;
    border-bottom: 2px solid #DEB887;
    padding-bottom: 0.5rem;
}

.menu-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.menu-item h4 {
    color: #000;
    margin-bottom: 0.5rem;
}

.menu-item p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.price {
    font-weight: 600;
    color: #000;
    font-size: 1.2rem;
    float: right;
}

/* Price styling */
.price-tag {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #000000;
    text-shadow: none;
    letter-spacing: 0.2px;
}

/* Meal description styling */
.meal-card p.w3-opacity-min {
    line-height: 1.2;
    margin: 8px 0;
}

.meal-grid-container .meal-card .w3-col {
    padding: 0 2px; /* Add horizontal padding between columns */
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: #fff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    border-radius: 10px;
    border: 2px solid #DEB887;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature h4 {
    color: #000;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #666;
    font-size: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    position: relative;
    z-index: 1000;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: #000;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #555;
}

.map-container {
    padding: 0;
}

.map-container h3 {
    color: #000;
    margin-bottom: 1.5rem;
    text-align: center;
}

.google-map {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.google-map iframe {
    border-radius: 8px;
    filter: grayscale(60%) saturate(50%) brightness(1) contrast(0.9);
}

.map-info {
    text-align: center;
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Footer */
.footer {
    background: #4a5568;
    color: #fff;
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 1000;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #cbd5e0;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: #a0aec0;
}

.legal-links {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.legal-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #e2e8f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .logo-image {
        height: 75px; /* 50% bigger than normal 50px */
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 1rem 0;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .hero-buttons .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .photos-layout {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 400px;
        gap: 1rem;
    }
    
    .photos-content {
        text-align: center;
    }
    
    .photos-content h2 {
        text-align: center;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.6rem;
    }
    
    .hero-buttons {
        align-items: stretch;
        width: 100%;
    }
    
    .hero-buttons .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-category {
        padding: 1.5rem;
    }
    
    .reservation-form {
        padding: 1.5rem;
    }
    
    .welcome-content h2,
    .reservation-content h2,
    .cuisine-content h2,
    .experience-content h2,
    .order-content h2,
    .photos-section h2 {
        font-size: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation for menu items */
.menu-item {
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateX(10px);
}

/* Animation for features */
.feature {
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

/* Loading animation for form submission */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #333;
}

/* Custom scrollbar for category filter - hidden */
.category-filter-container::-webkit-scrollbar {
    width: 0px;
    display: none;
}

.category-filter-container::-webkit-scrollbar-track {
    display: none;
}

.category-filter-container::-webkit-scrollbar-thumb {
    display: none;
}

.category-filter-container::-webkit-scrollbar-thumb:hover {
    display: none;
}

/* Hide scrollbar for Firefox */
.category-filter-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Main content width */
.w3-content {
    max-width: 1400px !important;
    margin: auto;
}

/* Custom spacing for meal grid columns */
.meal-grid-container {
    margin: 0 -16px; /* Negative margin to offset column padding */
}

.meal-grid-container .w3-col {
    padding: 0 8px; /* Add horizontal padding between columns */
}

/* Add left/right padding to meal items */
.meal-item {
    padding: 0 8px; /* Add horizontal padding to meal items */
}

/* Ensure proper spacing on mobile */
@media (max-width: 768px) {
    .meal-grid-container .w3-col {
        padding: 0 8px; /* Slightly less padding on mobile */
    }
    
    .meal-item {
        padding: 0 4px; /* Less padding on mobile */
    }
}

/* Category title styling */
.category-title {
    padding-top: 48px !important;
    margin-bottom: 24px;
}

.category-title:first-child {
    margin-top: 0;
}

.category-title h2 {
    margin-bottom: 8px;
    font-weight: 600;
    color: #000000;
}

.category-title hr {
    display: none;
}

/* Category Filter Styling */
.category-filter-container {
    background: white;
    border-radius: 8px;
    padding-left: 20px;
    padding-top: 88px;
    padding-bottom: 100px;
    position: fixed;
    top: 120px;
    left: 5px;
    right: 5px;
    max-width: 300px;
    max-height: calc(100vh - 140px);
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
}

.search-container {
    margin-bottom: 24px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    position: relative;
}

.search-input:focus {
    outline: none;
    border-color: #f98820;
    box-shadow: 0 0 0 2px rgba(249, 136, 32, 0.1);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
}

.category-filter-container h3 {
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
}

.category-filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.category-filter-btn {
    display: block;
    padding: 12px 32px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 22px;
    font-weight: 400;
    cursor: pointer;
    text-align: left;
    width: 100%;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.category-filter-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.category-filter-btn.w3-theme {
    background: #f5f5f5;
    color: #333;
    font-weight: 600;
}

/* Meals content area */
.meals-content {
    padding-left: 0;
}

/* Responsive adjustments */

@media (max-width: 992px) {
    .category-filter-container {
        position: fixed;
        top: 76px;
        left: 10px;
        right: 10px;
        max-width: none;
        max-height: calc(100vh - 120px);
        padding: 20px;
        padding-bottom: 20px;
        padding-top: 55px;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .category-filter-buttons {
        display: flex;
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        width: 100%;
    }
    
    .category-filter-buttons::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .category-filter-btn {
        padding: 8px 16px;
        font-size: 18px;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: auto;
        width: auto;
    }
}

body.modal-open {
    overflow: hidden !important;
}

/* Special handling for meal modals to maintain scroll position */
body.modal-open.meal-modal-open {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

/* Special handling for cart modal to prevent scrolling without jumping */
/* body.modal-open.cart-modal-open {
    Don't use position: fixed to avoid jumping
    Just prevent scrolling
} */

        .meal-modal .w3-modal-content {
max-width: 600px;
width: 95%;
margin: 20px auto;
z-index: 1001;
}

.meal-modal {
z-index: 3000;
padding-top:0px;
}

/* Fix transparent modal headers */
.meal-modal header.w3-container.w3-theme {
background-color: white !important;
color: #333 !important;
}

.meal-modal header.w3-container.w3-theme .w3-xlarge {
color: #333 !important;
}

/* Image stretching for all screen sizes */
.meal-modal .w3-center img {
width: 100% !important;
height: auto !important;
max-width: 150px !important;
max-height: none !important;
}

             @media (max-width: 768px) {
     .meal-modal .w3-modal-content {
         position: fixed !important;
         top: 0 !important;
         left: 0 !important;
         right: 0 !important;
         width: 100% !important;
         max-width: 100% !important;
         height: 100vh !important;
         margin: 0 !important;
         border-radius: 0 !important;
         overflow-y: auto !important;
         display: block !important;
     }

     .meal-modal header.w3-container {
         position: sticky;
         top: 0;
         z-index: 1002;
     }

     .meal-modal .modal-bottom-bar {
         position: fixed;
         left: 0;
         right: 0;
         bottom: 0;
         background: #fff;
         z-index: 3000;
         box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
         padding: 12px 0 16px 0;
     }

                       .meal-modal .modal-content-area {
          padding-bottom: 280px !important;
      }

      .meal-modal .w3-center {
          width: 100% !important;
          margin-bottom: 16px !important;
      }

     .meal-modal .w3-col.m7 {
         width: 100% !important;
         text-align: center !important;
     }
 }

/* Modal bottom bar for larger screens */
@media (min-width: 769px) {
    .meal-modal .modal-bottom-bar {
        position: sticky;
        bottom: 0;
        background: #fff;
        z-index: 3000;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
        padding: 12px 0 16px 0;
        margin-top: auto;
    }
    .meal-modal .modal-content-area {
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }
}

.meal-modal .customize-title {
    font-size: 2.2em !important;
    text-align: left !important;
    font-weight: bold !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    letter-spacing: -1px;
}

/* Make description text bigger in meal modals */
.meal-modal .w3-opacity-min {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin: 4px 0 !important;
}

.meal-modal header.w3-container h2 {
    font-size: 2.2em !important;
    text-align: left !important;
    font-weight: bold !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    letter-spacing: -1px;
}

/* Sticky Cart Bar */
.sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid #FF4500;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    padding: 12px 16px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    /* Ensure it works well on mobile browsers */
    -webkit-transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.3s ease;
}

.sticky-cart.show {
    transform: translateY(0);
}

.sticky-cart-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.sticky-cart-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sticky-cart-count {
    background: #f0f0f0;
    color: #333;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 14px;
}

.sticky-cart-total {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.sticky-cart-actions {
    display: flex;
    gap: 8px;
}

.sticky-cart-button {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Touch-friendly improvements */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.sticky-cart-view {
    background: #FF4500;
    color: white;
}

.sticky-cart-view:hover {
    background: #e67e22;
}

.sticky-cart-checkout {
    background: #FF4500;
    color: white;
}

.sticky-cart-checkout:hover {
    background: #e67e22;
}

/* Add bottom padding to body when cart is visible */
body.cart-visible {
    padding-bottom: 80px;
}

/* Add left padding to main content to account for fixed category filter */
.meals-content {
    padding-left: 305px;
}

@media (max-width: 992px) {
    .meals-content {
        padding-left: 0;
        
    }
}

@media (max-width: 768px) {
    .sticky-cart {
        padding: 16px 12px;
    }

    .sticky-cart-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .sticky-cart-info {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .sticky-cart-count {
        font-size: 16px;
        padding: 6px 12px;
    }

    .sticky-cart-total {
        font-size: 20px;
    }

    .sticky-cart-actions {
        width: 100%;
        justify-content: center;
        gap: 12px;
    }

    .sticky-cart-button {
        flex: 1;
        max-width: 160px;
        padding: 12px 16px;
        font-size: 16px;
        min-height: 48px;
    }

    body.cart-visible {
        padding-bottom: 140px;
    }
}

@media (max-width: 480px) {
    .sticky-cart {
        padding: 12px 8px;
    }

    .sticky-cart-content {
        gap: 8px;
    }

    .sticky-cart-info {
        gap: 8px;
    }

    .sticky-cart-count {
        font-size: 14px;
        padding: 4px 8px;
    }

    .sticky-cart-total {
        font-size: 18px;
    }

    .sticky-cart-actions {
        gap: 8px;
    }

    .sticky-cart-button {
        max-width: 140px;
        padding: 10px 12px;
        font-size: 14px;
        min-height: 44px;
    }

    body.cart-visible {
        padding-bottom: 120px;
    }
}



/* Fix meal grid alignment for W3.CSS */
.meal-grid-container .w3-col {
    display: flex;
    flex-direction: column;
}

.meal-item {
    height: 100%;
}

.meal-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.meal-card .w3-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.meal-card .w3-container .w3-row {
    flex: 1;
    align-items: flex-start;
}

.meal-card .w3-container .w3-opacity-min {
    flex: 1;
    margin-bottom: 0;
}

/* Ensure consistent card heights */
.meal-card {
    min-height: 200px;
}