:root {
    --bg-dark: #0A0A0A; /* Premium Matte Black */
    --text-light: #FFFFFF; /* Pure White */
    --accent-gold: #A8864F; /* Custom Canva Gold */
    --accent-hover: #C5A059;
    --nav-bg: rgba(10, 10, 10, 0.85); /* Frosted Matte Black */
    
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Cinzel Decorative', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for fixed navbar */
}

html, body {
    overflow-x: hidden;
    width: 100%;
}
body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-light);
    /* For demo purpose, adding some height so we can see glassmorphism on scroll */
    min-height: 200vh; 
    background-image: none;
    overflow-x: hidden;
}

/* Navbar Base */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s ease;
    padding: 0 0 14px 0; /* Extends the background down by exactly 2px */
    display: flex;
    flex-direction: column;
}

/* Class to hide the navbar when scrolling down */
.navbar.hidden-nav {
    transform: translateY(-100%);
}

.nav-top {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem 2rem;
    position: relative;
    width: 100%;
}

.nav-bottom {
    display: flex;
    justify-content: flex-start; /* Align links to the left */
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

/* Logo */
.nav-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-logo span {
    color: var(--accent-gold);
    font-style: italic;
    display: inline-block;
    animation: steam 3s infinite ease-in-out; /* Steam rising effect */
}

.nav-logo span.tagline {
    color: #fff !important;
    font-size: 0.4rem;
    font-family: var(--font-sans);
    font-style: normal;
    animation: none;
    padding-left: 0.1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8); /* White */
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px; /* Thinner, more refined line */
    background-color: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: right; /* Sweeps out to the right when you leave */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Elegant easing */
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left; /* Sweeps in from the left on hover */
}

/* Actions */
.nav-actions {
    position: absolute;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.icon-btn:hover {
    color: var(--accent-gold);
}

/* Animations for Cafe Vibe */
@keyframes steam {
    0% { transform: translateY(0) scale(1); text-shadow: 0 0 0px transparent; }
    50% { transform: translateY(-2px) scale(1.02); text-shadow: 0 -3px 8px var(--accent-gold); }
    100% { transform: translateY(0) scale(1); text-shadow: 0 0 0px transparent; }
}

@keyframes swing {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(-10deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

@keyframes appetizingPulse {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

.cart-btn {
    width: 42px;
    height: 42px;
    background-color: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
}

.cart-btn:hover i {
    animation: swing 0.6s ease-in-out;
    transform-origin: top center; /* Swings from the handle */
}

.cart-btn .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #FFFFFF; /* High contrast white */
    color: var(--bg-dark); /* Black text */
    font-size: 0.75rem;
    font-weight: 800;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--bg-dark); /* Adds depth by cutting into the circle */
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.btn-primary {
    background-color: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Slowed down for ultra-smoothness */
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: appetizingPulse 3s infinite; /* Food craving pulse */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* 60fps Left-to-Right Horizontal Fill */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-gold);
    z-index: -1;
    transform: scaleX(0); /* Start with 0 width */
    transform-origin: left; /* Starts from the left side */
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); /* Slower, elegant sweep */
    border-radius: 30px;
    will-change: transform; /* Hardware acceleration for 60fps */
}

.btn-primary:hover::before {
    transform: scaleX(1); /* Fill completely */
}

.btn-primary:hover {
    color: var(--bg-dark);
    transform: translateY(-2px); /* Slight lift */
    animation: none; /* Stop pulsing */
}

.btn-secondary {
    background-color: transparent;
    border: none;
    color: var(--text-light);
    padding: 0.6rem 1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    color: var(--accent-gold);
}

.mobile-menu-toggle {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-bottom {
        display: none; /* Hide bottom nav completely on mobile, usually replaced with a sliding drawer */
    }
    .nav-bottom.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        padding: 2rem 0;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .nav-bottom.active .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 1.5rem;
        gap: 1.5rem;
    }
    .nav-bottom.active .nav-actions {
        position: static;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        width: 100%;
    }
    .mobile-menu-toggle {
        display: block;
    }
}

/* -------------------------------------
   Cart Sidebar & Animation Styles
------------------------------------- */

.flying-item {
    position: fixed;
    font-size: 4.5rem; /* Massive size to highlight */
    color: #F1C40F; /* Brighter gold to highlight against black */
    z-index: 9999;
    pointer-events: none;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.9));
    /* Hardware Accelerated 60fps transition */
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s ease-in; 
    will-change: transform, opacity;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100vh;
    background-color: #111111; /* Very dark, slightly lighter than bg-dark */
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
    z-index: 2000;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2.5rem;
    border-left: 1px solid rgba(197, 160, 89, 0.2);
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px); /* Premium blur effect */
    -webkit-backdrop-filter: blur(8px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.cart-header h2 {
    font-family: var(--font-serif);
    color: var(--accent-gold);
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.close-cart {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-cart:hover {
    color: var(--accent-gold);
    transform: rotate(90deg);
}

/* -------------------------------------
   Hero Carousel Styles
------------------------------------- */

.hero-carousel {
    position: relative;
    width: 100%;
    margin-top: 135px; /* Pushes the hero down so it is exactly below the fixed navbar */
    height: 100vh; /* Massively increased height */
    min-height: 900px; /* Forces the box to be very tall to prevent horizontal stretching */
    overflow: hidden;
    background-color: #F8F5EC; /* Matched the image background */
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* Ultra smooth 60fps start state: slightly zoomed in */
    transform: scale(1.05);
    filter: blur(8px);
    /* Using only hardware-accelerated properties for buttery smooth feel */
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 1.6s cubic-bezier(0.25, 1, 0.5, 1),
                filter 1.2s ease-out;
    will-change: transform, opacity, filter; /* Forces GPU acceleration */
    background-size: contain; /* Shows the ENTIRE image without cropping any sides */
    background-repeat: no-repeat;
    background-position: top center; /* Aligns to top to remove gap below navbar */
    background-color: transparent; /* Prevents black sliding blocks during crossfade */
    display: flex;
    align-items: flex-start; /* Move the text block from the absolute top */
    padding-top: 6rem; /* Massively increased to push the entire section much further down */
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 2;
}

/* Dark gradient overlay removed for a clear aesthetic */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none; /* Completely clear */
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    text-align: left;
    transform: translateY(40px);
    opacity: 0;
}

.carousel-slide.active .slide-content {
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.4s; /* Wait for slide to fade in */
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--accent-gold); /* Completely colored with the Canva gold */
    margin-bottom: 0.5rem; 
    line-height: 1.1;
    letter-spacing: 1px;
    text-shadow: none; /* Removed shadow for a flat, clear look */
}

.slide-title span {
    color: #393502; /* Rich dark brown matching the subtitle for a perfect duo-tone contrast */
    font-style: italic;
}

.slide-subtitle {
    font-family: 'Atteron', 'Playfair Display', serif; /* Tries to use Atteron, otherwise an elegant serif */
    font-size: 1.6rem; /* Increased size */
    color: #393502; /* Custom Canva color */
    margin-bottom: 1rem; /* Reduced to pull the button UP */
    max-width: 600px;
    line-height: 1.6;
    font-weight: 500; /* Thicker weight for better readability */
    text-shadow: 0 1px 3px rgba(255,255,255,0.3); /* Slight white glow so the dark text pops against dark backgrounds */
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 3rem;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none; /* Let clicks pass through */
}

.carousel-btn {
    pointer-events: auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--accent-gold);
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.5);
}

.carousel-btn:hover {
    color: var(--bg-dark);
    border-color: var(--accent-gold);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.5), inset 0 0 15px rgba(197, 160, 89, 0.3);
}

.carousel-btn:hover::before {
    opacity: 1;
    transform: scale(2);
}

.carousel-btn i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#nextSlide:hover i {
    transform: translateX(4px) scale(1.1);
}

#prevSlide:hover i {
    transform: translateX(-4px) scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    top: 49rem; /* Moved slightly down (was -4rem) */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
    align-items: center;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4); /* More visible white */
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 28px; height: 28px;
    background: rgba(197, 160, 89, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.indicator.active {
    background-color: var(--accent-gold);
    width: 35px;
    border-radius: 8px; /* Elegant pill shape for active state */
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.6);
}

.indicator:hover:not(.active) {
    background-color: rgba(197, 160, 89, 0.8);
    transform: scale(1.2);
}

.indicator:hover:not(.active)::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Responsive tweaks for Hero */
@media (max-width: 768px) {
    .slide-title { font-size: 3.5rem; }
    .slide-subtitle { font-size: 1.1rem; }
    .carousel-controls { padding: 0 1rem; }
    .carousel-btn { width: 45px; height: 45px; font-size: 1.1rem; }
}

/* -------------------------------------
   Food Order / Menu Section
------------------------------------- */
.menu-section {
    padding: 6rem 5%;
    background-color: #F8F5EC; /* Same background color as requested */
    position: relative;
    z-index: 5;
}

.menu-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.menu-filters {
    display: inline-flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    background: #FFFFFF;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(57, 53, 2, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.filter-btn {
    background: transparent;
    border: none;
    color: #393502;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover {
    color: var(--accent-gold);
}

.filter-btn.active {
    background: var(--accent-gold);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
    max-width: 1500px;
    margin: 0 auto;
}

.menu-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(57, 53, 2, 0.08); /* Warm subtle shadow */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(57, 53, 2, 0.15);
}

.menu-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.menu-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-card:hover .menu-img-wrapper img {
    transform: scale(1.1);
}

.price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FFFFFF;
    color: #393502;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.15rem;
    padding: 0.4rem 1.2rem;
    border-radius: 8px;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 4px 12px rgba(57, 53, 2, 0.2);
    z-index: 2;
    letter-spacing: 1px;
}

.menu-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #FFFFFF;
}

.menu-info h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: #393502;
    margin-bottom: 0.8rem;
}

.menu-info p {
    color: rgba(57, 53, 2, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.add-to-cart-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.add-to-cart-btn:hover {
    background: var(--accent-gold);
    color: #393502;
}

.add-to-cart-btn i {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.add-to-cart-btn:hover i {
    transform: translateX(3px) scale(1.1);
}

/* -------------------------------------
   Gallery Section
------------------------------------- */
.gallery-section {
    padding: 8rem 5%;
    position: relative;
    z-index: 5;
    background-color: #F8F5EC; /* Light cream color matching the Canva hero images */
}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: #393502; /* Dark text for light background */
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.section-title span {
    color: var(--accent-gold);
    font-style: italic;
}

.section-subtitle {
    font-family: var(--font-sans);
    color: rgba(57, 53, 2, 0.7); /* Dark text with opacity */
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #111; /* fallback */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.2) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.gallery-overlay i {
    color: var(--accent-gold);
    font-size: 2.5rem;
    transform: scale(0.5) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1) translateY(0);
}

/* Premium Bento Box Layout for 4 items */
.item-1 { grid-column: 1 / 3; grid-row: 1 / 3; } /* Large left image */
.item-2 { grid-column: 3 / 5; grid-row: 1 / 2; } /* Wide top right image */
.item-3 { grid-column: 3 / 4; grid-row: 2 / 3; } /* Small bottom middle */
.item-4 { grid-column: 4 / 5; grid-row: 2 / 3; } /* Small bottom right */

/* Responsive Gallery */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
    .item-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
    .item-2 { grid-column: 1 / 2; grid-row: 2 / 3; }
    .item-3 { grid-column: 2 / 3; grid-row: 2 / 3; }
    .item-4 { grid-column: 1 / 3; grid-row: 3 / 4; }
}

@media (max-width: 600px) {
    .section-title { font-size: 2.5rem; }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
    .item-1, .item-2, .item-3, .item-4 {
        grid-column: 1 / 2;
        grid-row: auto;
    }
}

/* Options Modal Styles */
.options-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.options-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.options-modal {
    background: #FFFFFF;
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.options-modal-overlay.active .options-modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-family: var(--font-serif);
    color: #393502;
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: rgba(57, 53, 2, 0.5);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-gold);
}

.modal-subtitle {
    color: rgba(57, 53, 2, 0.7);
    font-family: var(--font-sans);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.option-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid rgba(197, 160, 89, 0.2);
    border-radius: 12px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.option-card:hover {
    border-color: var(--accent-gold);
    background: rgba(197, 160, 89, 0.05);
}

.option-card input[type="radio"] {
    display: none;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(197, 160, 89, 0.5);
    border-radius: 50%;
    margin-left: auto;
    position: relative;
    transition: all 0.3s ease;
}

.option-card input[type="radio"]:checked ~ .custom-radio {
    border-color: var(--accent-gold);
}

.option-card input[type="radio"]:checked ~ .custom-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--accent-gold);
    border-radius: 50%;
}

/* Firefox compatibility for :has */
.option-card.selected {
    border-color: var(--accent-gold);
    background: rgba(197, 160, 89, 0.05);
}

.option-info {
    flex-grow: 1;
}

.option-title {
    font-family: var(--font-sans);
    font-weight: 700;
    color: #393502;
    font-size: 1rem;
}

.option-price {
    font-weight: 800;
    color: var(--accent-gold);
    margin-right: 1rem;
    font-size: 1.1rem;
}

.modal-footer {
    margin-top: 1.5rem;
}

.modal-footer .btn-primary {
    width: 100%;
}


/* --- AESTHETIC FOOTER --- */
.shiva-footer {
    position: relative;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    color: #fff;
    padding: 60px 20px 20px;
    margin-top: 50px;
    overflow: hidden;
    font-family: var(--font-sans);
    border-top: 3px solid var(--accent-gold);
}

.footer-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-brand h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.footer-brand p {
    color: #ccc;
    line-height: 1.6;
    font-size: 1rem;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.footer-links h3::after, .footer-contact h3::after, .footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.footer-links:hover h3::after, .footer-contact:hover h3::after, .footer-social:hover h3::after {
    width: 100%;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #ccc;
}

.contact-info li i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-icon:hover {
    transform: translateY(-5px);
    color: #fff;
}

.social-icon.fb:hover { background: #3b5998; box-shadow: 0 5px 15px rgba(59, 89, 152, 0.5); }
.social-icon.insta:hover { background: #e1306c; box-shadow: 0 5px 15px rgba(225, 48, 108, 0.5); }
.social-icon.twit:hover { background: #1da1f2; box-shadow: 0 5px 15px rgba(29, 161, 242, 0.5); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3::after, .footer-contact h3::after, .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* -------------------------------------
   Premium Zomato Style Add & Buy Buttons
------------------------------------- */
.item-actions {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
    width: 100%;
    align-items: center;
}

.cart-stepper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF4F4; /* Light elegant tint */
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid var(--accent-gold);
    border-radius: 12px;
    height: 44px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.1);
}

.cart-stepper:hover {
    background: rgba(197, 160, 89, 0.15);
}

.cart-stepper.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
}

.step-btn {
    background: transparent;
    border: none;
    color: var(--accent-gold);
    font-size: 1.1rem;
    cursor: pointer;
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: absolute;
    top: 0;
}

.cart-stepper.active .step-btn {
    color: #fff;
}

.step-btn.minus {
    left: 0;
}
.step-btn.plus {
    right: 0;
}

.step-qty {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.cart-stepper.active .step-qty {
    color: #fff;
}

.buy-now-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #a47a3f 100%);
    border: none;
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    height: 44px;
    box-shadow: 0 5px 15px rgba(164, 122, 63, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    white-space: nowrap;
    padding: 0 0.5rem;
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(164, 122, 63, 0.5);
    background: linear-gradient(135deg, #b69255 0%, #8e6833 100%);
}

.buy-now-btn i {
    font-size: 1.1rem;
}

/* -------------------------------------
   Zomato-Style Floating Cart Bar
------------------------------------- */
#floating-cart-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: #ffffff;
    border: 2px solid var(--accent-gold);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(57, 53, 2, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.2rem;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#floating-cart-bar.hidden {
    bottom: -100px;
    opacity: 0;
    pointer-events: none;
}

.fc-info {
    display: flex;
    flex-direction: column;
}

#fc-items-count {
    font-size: 0.8rem;
    font-weight: 700;
    color: #666;
    letter-spacing: 1px;
}

#fc-total-price {
    font-size: 1.2rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: #393502;
}

#fc-continue-btn {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #a47a3f 100%);
    border: none;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-family: var(--font-sans);
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
    transition: transform 0.3s ease;
}

#fc-continue-btn:hover {
    transform: scale(1.05);
}

/* -------------------------------------
   Light Theme Cart Sidebar
------------------------------------- */
.light-theme-cart {
    background-color: #F8F5EC !important; /* Soft light theme bg */
    color: #393502 !important;
    border-left: 1px solid rgba(197, 160, 89, 0.3) !important;
    display: flex;
    flex-direction: column;
}

.light-theme-cart .cart-header {
    border-bottom: 2px solid rgba(197, 160, 89, 0.2) !important;
}

.light-theme-cart .cart-header h2 {
    color: #393502 !important;
}

.light-theme-cart .close-cart {
    color: #393502 !important;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 50%;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
}

.light-theme-cart .close-cart:hover {
    background: var(--accent-gold);
    color: #fff !important;
}

/* Cart Items Container */
.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border: 1px solid rgba(197,160,89, 0.1);
}

.ci-details h4 {
    margin: 0;
    font-size: 1rem;
    color: #393502;
}

.ci-details span {
    font-size: 0.9rem;
    color: #666;
}

.ci-qty {
    background: rgba(197, 160, 89, 0.1);
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--accent-gold);
}

.ci-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: #393502;
}

/* Cart Summary Section */
.cart-summary {
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    margin-top: auto;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #555;
}

.summary-row small {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-gold);
}

.summary-row.grand-total {
    border-top: 2px dashed rgba(197,160,89,0.3);
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: #393502;
}

.checkout-btn {
    width: 100%;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #a47a3f 100%);
    border: none;
    color: #fff;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(164, 122, 63, 0.4);
    transition: transform 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
}

/* -------------------------------------
   Interactive Cart Stepper
------------------------------------- */
.ci-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.ci-stepper {
    display: flex;
    align-items: center;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    height: 32px;
    overflow: hidden;
}

.ci-stepper button {
    background: transparent;
    border: none;
    color: var(--accent-gold);
    font-size: 0.8rem;
    width: 28px;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.ci-stepper button:hover {
    background: var(--accent-gold);
    color: #fff;
}

.ci-stepper span {
    font-weight: 700;
    color: #393502;
    width: 24px;
    text-align: center;
    font-size: 0.9rem;
}

.ci-total {
    font-weight: 800;
    font-size: 1.15rem;
    color: #393502;
}

/* Very Small Mobile Devices (320px - 375px) */
@media screen and (min-width: 320px) and (max-width: 375px) {
    html {
        font-size: 14px;
    }
    
    .nav-top {
        padding: 10px 15px;
    }
    
    .nav-logo {
        font-size: 1.5rem;
    }
    
    .nav-actions button[aria-label="Search"] {
        display: none !important;
    }
    
    .nav-bottom.active .nav-actions {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    .nav-bottom.active .nav-actions .btn-primary,
    .nav-bottom.active .nav-actions .cart-btn {
        margin: 0 !important;
        width: 85% !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .nav-bottom.active .nav-actions .cart-btn {
        width: 50px !important;
        height: 50px !important;
    }
    
    .btn-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .slide-title {
        font-size: 2.5rem !important;
        line-height: 1.1;
    }
    
    .slide-subtitle {
        font-size: 0.9rem !important;
    }
    
    .section-title {
        font-size: 2.2rem !important;
    }
    
    .menu-card {
        padding: 15px;
    }
    
    .item-name {
        font-size: 1.2rem;
    }
    
    .item-price {
        font-size: 1.1rem;
    }
    
    .add-to-cart-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .modal-content {
        padding: 20px 15px;
        width: 95%;
        margin: 10px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-container {
        padding: 20px 15px;
    }
    
    .footer-col h4 {
        font-size: 1.3rem;
    }
    
    .hero-carousel {
        height: auto !important;
        min-height: auto !important;
        aspect-ratio: 16 / 9 !important;
        margin-top: 60px !important; /* Fixes black gap between navbar and hero */
        width: 100% !important; /* Fixes black line on the right side without causing horizontal scroll */
    }
    
    .order-options-section {
        padding-top: 2rem !important;
    }
    
    .carousel-slide {
        background-size: contain !important;
        background-position: top center !important; /* Aligns image to top to remove gap below navbar */
        background-repeat: no-repeat !important;
        padding-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .carousel-slide:first-child .slide-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        transform: none !important;
        top: -15px !important;
    }
    
    .carousel-controls {
        top: 50% !important; /* Center arrows */
        padding: 0 10px !important; /* Bring them closer to the edges if needed */
    }
    
    .carousel-btn {
        display: none !important; 
    }
    
    .slide-title {
        font-size: 1.5rem !important; 
        line-height: 1.1 !important;
        color: var(--accent-gold) !important;
        margin-bottom: 0.3rem !important;
        text-shadow: none !important;
        text-align: left !important;
    }
    
    .slide-subtitle {
        font-size: 0.65rem !important;
        color: #333 !important;
        font-weight: normal !important;
        margin-bottom: 0.8rem !important;
        padding: 0 40px 0 15px !important;
        width: 100% !important;
        max-width: 100% !important; 
        text-align: left !important;
        text-shadow: none !important;
    }
    
    .carousel-slide .btn-primary {
        padding: 6px 9px !important;
        font-size: 0.6rem !important;
        margin-top: 5px;
    }
    
    .about-content h2 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
    
    .about-content h2 span {
        font-size: 1.1rem !important;
    }
    
    .about-content h4 {
        font-size: 0.68rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    
    .section-subtitle {
        font-size: 0.75rem !important;
        letter-spacing: 1px !important;
        text-align: center !important;
    }
    
    .menu-filters {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 5px !important; /* Extremely tight gap so they pack closely */
        margin-top: 10px !important;
    }
    
    .filter-btn {
        font-size: 0.7rem !important;
        padding: 6px 10px !important;
        margin: 0 !important;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .menu-img-wrapper {
        height: 100px !important; /* Made image bigger, similar to 376px */
    }
    
    .menu-card {
        padding: 4px !important;
        border-radius: 6px !important;
        text-align: center !important;
        align-items: center !important;
    }
    
    .menu-card h3 {
        font-size: 0.85rem !important;
        margin: 4px 0 2px !important;
        white-space: normal !important; 
        overflow: visible !important;
        line-height: 1.2 !important;
    }
    
    .menu-card p {
        font-size: 0.7rem !important;
        margin-bottom: 4px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        overflow: visible !important;
    }
    
    /* Fix for Combo Cards */
    .combo-grid {
        grid-template-columns: 1fr !important;
    }
    
    .combo-card {
        padding: 12px !important;
        margin: 0 !important;
    }
    
    .combo-card .menu-img-wrapper {
        height: 130px !important; /* Make images visible but not too large */
        border-radius: 8px !important;
        margin-bottom: 10px !important;
    }
    
    .combo-card h3 {
        font-size: 1.1rem !important;
        white-space: normal !important; /* Allow combo titles to wrap */
        overflow: visible !important;
    }
    
    .combo-card p {
        font-size: 0.75rem !important;
        white-space: normal !important; /* Allow combo text to wrap */
        overflow: visible !important;
        line-height: 1.4 !important;
        margin-top: 5px !important;
        margin-bottom: 10px !important;
    }
    
    .combo-card .price-tag {
        font-size: 1.1rem !important;
        padding: 6px 12px !important;
    }
    
    .item-actions {
        flex-direction: row !important; 
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        margin-top: 5px !important;
        width: 100% !important;
    }
    
    .price-text {
        font-size: 0.7rem !important;
    }
    
    .add-to-cart {
        padding: 0 !important; 
        width: 70px !important; /* Explicitly wider */
        height: 20px !important; /* Explicitly shorter */
        line-height: 20px !important;
        font-size: 0.65rem !important;
        border-radius: 4px !important;
        text-align: center !important;
    }
    
    .cart-stepper {
        gap: 4px !important;
    }
    
    .cart-stepper button {
        width: 32px !important; 
        height: 100% !important; /* Fixed: Allow full height for clickability */
        font-size: 0.8rem !important;
        line-height: 1 !important;
        border-radius: 3px !important;
    }
    
    .cart-stepper span {
        font-size: 0.7rem !important;
    }
    
    .price-tag {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
        top: 5px !important;
        right: 5px !important;
        border-width: 1px !important;
        border-radius: 4px !important;
        letter-spacing: 0 !important;
    }
    
    #floating-cart-bar {
        padding: 0.5rem 0.8rem !important;
        border-radius: 12px !important;
        bottom: 10px !important;
        width: 95% !important;
    }
    
    #fc-items-count {
        font-size: 0.55rem !important;
        letter-spacing: 0 !important;
    }
    
    #fc-total-price {
        font-size: 0.85rem !important;
    }
    
    #fc-continue-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.75rem !important;
        border-radius: 8px !important;
    }
    
    #fc-clear-cart {
        font-size: 1rem !important;
        padding-right: 10px !important;
    }
    
    .cart-sidebar {
        width: 100% !important; /* Use full screen width safely */
        right: -120% !important; /* Hide completely off-screen (and its shadow) initially */
        padding: 1.5rem !important;
        box-shadow: none !important; /* Remove shadow to ensure no black leakage */
    }
    
    .cart-sidebar.open {
        right: 0 !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.8) !important; /* Restore shadow when open */
    }
    
    .cart-header h2 {
        font-size: 1.2rem !important;
    }
    
    .cart-item-row h4 {
        font-size: 0.85rem !important;
    }
    
    .checkout-btn {
        padding: 0.8rem !important;
        font-size: 0.9rem !important;
    }
    
    .combo-card h3 {
        font-size: 0.8rem !important;
        margin-bottom: 0.1rem !important;
    }
    
    .combo-card p {
        font-size: 0.55rem !important;
    }
    
    .combo-card .menu-info span {
        font-size: 0.5rem !important;
        padding: 2px 6px !important;
        border-radius: 6px !important;
    }
    
    .slide-title {
        font-size: 1.2rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .slide-subtitle {
        font-size: 0.7rem !important;
        margin-bottom: 0.8rem !important;
    }

    .about-content p {
        font-size: 0.65rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }
}
@media screen and (min-width: 376px) and (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .nav-top {
        padding: 10px 15px;
    }
    
    .nav-logo {
        font-size: 1.5rem;
    }
    
    .nav-actions button[aria-label="Search"] {
        display: none !important;
    }
    
    .nav-bottom.active .nav-actions {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    .nav-bottom.active .nav-actions .btn-primary,
    .nav-bottom.active .nav-actions .cart-btn {
        margin: 0 !important;
        width: 85% !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .nav-bottom.active .nav-actions .cart-btn {
        width: 50px !important;
        height: 50px !important;
    }
    
    .btn-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .slide-title {
        font-size: 2.5rem !important;
        line-height: 1.1;
    }
    
    .slide-subtitle {
        font-size: 0.75rem !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .menu-card {
        padding: 15px;
    }
    
    .item-name {
        font-size: 1.2rem;
    }
    
    .item-price {
        font-size: 1.1rem;
    }
    
    .add-to-cart-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .modal-content {
        padding: 20px 15px;
        width: 95%;
        margin: 10px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-container {
        padding: 20px 15px;
    }
    
    .footer-col h4 {
        font-size: 1.3rem;
    }
    
    .hero-carousel {
        height: auto !important;
        min-height: auto !important;
        aspect-ratio: 16 / 9 !important;
        margin-top: 60px !important; /* Fixes black gap between navbar and hero */
        width: 100% !important; /* Fixes black line on the right side without causing horizontal scroll */
    }
    
    .order-options-section {
        padding-top: 2rem !important;
    }
    
    .carousel-slide {
        background-size: contain !important;
        background-position: top center !important; /* Aligns image to top to remove gap below navbar */
        background-repeat: no-repeat !important;
        padding-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .carousel-slide:first-child .slide-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        transform: none !important;
        top: -11px !important;
    }
    
    .carousel-controls {
        top: 50% !important; /* Center arrows */
        padding: 0 10px !important; /* Bring them closer to the edges if needed */
    }
    
    .carousel-btn {
        display: none !important; 
    }
    
    .slide-title {
        font-size: 1.4rem !important;
        line-height: 1.1 !important;
        color: var(--accent-gold) !important;
        margin-bottom: 0.3rem !important;
        text-shadow: none !important;
        text-align: left !important;
    }
    
    .slide-subtitle {
        font-size: 0.6rem !important;
        color: #333 !important;
        font-weight: normal !important;
        margin-bottom: 0.8rem !important;
        padding: 0 40px 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        text-shadow: none !important;
    }
    
    .carousel-slide .btn-primary {
        padding: 4px 8px !important;
        font-size: 0.6rem !important;
        margin-top: 5px;
    }
    
    .section-title {
        font-size: 1.9rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    
    .section-subtitle {
        font-size: 0.8rem !important;
        letter-spacing: 1px !important;
        text-align: center !important;
    }
    
    .menu-filters {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 5px !important; /* Extremely tight gap so they pack closely */
        margin-top: 10px !important;
    }
    
    .filter-btn {
        font-size: 0.9rem !important;
        padding: 6px 10px !important;
        margin: 0 !important;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .menu-img-wrapper {
        height: 120px !important; /* Made image bigger */
    }
    
    .menu-card {
        padding: 4px !important;
        border-radius: 6px !important;
        text-align: center !important;
        align-items: center !important;
    }
    
    .menu-card h3 {
        font-size: 0.9rem !important;
        margin: 4px 0 2px !important;
        white-space: normal !important; 
        overflow: visible !important;
        line-height: 1.2 !important;
    }
    
    .menu-card p {
        font-size: 0.75rem !important;
        margin-bottom: 4px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        overflow: visible !important;
    }
    
    /* Fix for Combo Cards */
    .combo-grid {
        grid-template-columns: 1fr !important;
    }
    
    .combo-card {
        padding: 12px !important;
        margin: 0 !important;
    }
    
    .combo-card .menu-img-wrapper {
        height: 150px !important; /* Make images visible but not too large */
        border-radius: 8px !important;
        margin-bottom: 10px !important;
    }
    
    .combo-card h3 {
        font-size: 1.35rem !important;
        white-space: normal !important; /* Allow combo titles to wrap */
        overflow: visible !important;
    }
    
    .combo-card p {
        font-size: 0.95rem !important;
        white-space: normal !important; /* Allow combo text to wrap */
        overflow: visible !important;
        line-height: 1.4 !important;
        margin-top: 5px !important;
        margin-bottom: 10px !important;
    }
    
    .combo-card .price-tag {
        font-size: 1rem !important;
        padding: 4px 8px !important;
    }
    
    .item-actions {
        flex-direction: row !important; 
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        margin-top: 5px !important;
        width: 100% !important;
    }
    
    .price-text {
        font-size: 0.9rem !important;
    }
    
    .add-to-cart {
        padding: 0 !important; 
        width: 80px !important; /* Explicitly wider */
        height: 24px !important; /* Explicitly shorter */
        line-height: 24px !important;
        font-size: 0.95rem !important;
        border-radius: 4px !important;
        text-align: center !important;
    }
    
    .cart-stepper {
        gap: 4px !important;
    }
    
    .cart-stepper button {
        width: 36px !important; 
        height: 100% !important; /* Fixed: Allow full height for clickability */
        font-size: 0.9rem !important;
        line-height: 1 !important;
        border-radius: 3px !important;
    }
    
    .cart-stepper span {
        font-size: 0.9rem !important;
    }
    
    .price-tag {
        font-size: 0.75rem !important;
        padding: 2px 6px !important;
        top: 5px !important;
        right: 5px !important;
        border-width: 1px !important;
        border-radius: 4px !important;
        letter-spacing: 0 !important;
    }
    
    #floating-cart-bar {
        padding: 0.5rem 0.8rem !important;
        border-radius: 12px !important;
        bottom: 10px !important;
        width: 95% !important;
    }
    
    #fc-items-count {
        font-size: 0.65rem !important;
        letter-spacing: 0 !important;
    }
    
    #fc-total-price {
        font-size: 0.95rem !important;
    }
    
    #fc-continue-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.95rem !important;
        border-radius: 8px !important;
    }
    
    #fc-clear-cart {
        font-size: 1.1rem !important;
        padding-right: 10px !important;
    }
    
    .cart-sidebar {
        width: 100% !important; /* Use full screen width safely */
        right: -120% !important; /* Hide completely off-screen (and its shadow) initially */
        padding: 1.5rem !important;
        box-shadow: none !important; /* Remove shadow to ensure no black leakage */
    }
    
    .cart-sidebar.open {
        right: 0 !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.8) !important; /* Restore shadow when open */
    }
    
    .cart-header h2 {
        font-size: 1.35rem !important;
    }
    
    .cart-item-row h4 {
        font-size: 0.95rem !important;
    }
    
    .checkout-btn {
        padding: 0.8rem !important;
        font-size: 0.9rem !important;
    }
    
    .combo-card h3 {
        font-size: 0.9rem !important;
        margin-bottom: 0.1rem !important;
    }
    
    .combo-card p {
        font-size: 0.65rem !important;
    }
    
    .combo-card .menu-info span {
        font-size: 0.6rem !important;
        padding: 2px 6px !important;
        border-radius: 6px !important;
    }
    

    
    .about-content h2 {
        font-size: 1.9rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
    
    .about-content h2 span {
        font-size: 1.1rem !important;
    }
    
    .about-content h4 {
        font-size: 0.7rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
    }
    
    .about-content p {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    #old-whatsapp-btn {
        display: none !important;
    }
}


@media screen and (min-width: 481px) and (max-width: 600px) {
    html {
        font-size: 15px;
    }
    
    .nav-top {
        padding: 10px 15px;
    }
    
    .nav-logo {
        font-size: 1.7rem;
    }
    
    .nav-actions button[aria-label="Search"] {
        display: none !important;
    }
    
    .nav-bottom.active .nav-actions {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    .nav-bottom.active .nav-actions .btn-primary,
    .nav-bottom.active .nav-actions .cart-btn {
        margin: 0 !important;
        width: 85% !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .nav-bottom.active .nav-actions .cart-btn {
        width: 50px !important;
        height: 50px !important;
    }
    
    .btn-primary {
        padding: 8px 16px;
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .slide-title {
        font-size: 2.5rem !important;
        line-height: 1.1;
    }
    
    .slide-subtitle {
        font-size: 0.85rem !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .menu-card {
        padding: 15px;
    }
    
    .item-name {
        font-size: 1.2rem;
    }
    
    .item-price {
        font-size: 1.1rem;
    }
    
    .add-to-cart-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .modal-content {
        padding: 20px 15px;
        width: 95%;
        margin: 10px;
    }
    
    .modal-title {
        font-size: 1.7rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-container {
        padding: 20px 15px;
    }
    
    .footer-col h4 {
        font-size: 1.3rem;
    }
    
    .hero-carousel {
        height: auto !important;
        min-height: auto !important;
        aspect-ratio: 16 / 9 !important;
        margin-top: 80px !important; /* Fixes black gap between navbar and hero */
        width: 100% !important; /* Fixes black line on the right side without causing horizontal scroll */
    }
    
    .order-options-section {
        padding-top: 2rem !important;
    }
    
    .carousel-slide {
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        padding-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .carousel-slide:first-child .slide-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        transform: none !important;
        top: -45px !important;
    }
    
    .carousel-controls {
        top: 50% !important; /* Center arrows */
        padding: 0 10px !important; /* Bring them closer to the edges if needed */
    }
    
    .carousel-btn {
        display: none !important; 
    }
    
    .slide-title {
        font-size: 2.4rem !important; 
        line-height: 1.1 !important;
        color: var(--accent-gold) !important;
        margin-bottom: 0.3rem !important;
        text-shadow: none !important;
        text-align: left !important;
    }
    
    .slide-subtitle {
        font-size: 0.85rem !important;
        color: #333 !important;
        font-weight: normal !important;
        margin-bottom: 0.8rem !important;
        padding: 0 40px 0 15px !important;
        width: 100% !important;
        max-width: 100% !important; 
        text-align: left !important;
        text-shadow: none !important;
    }
    
    .carousel-slide .btn-primary {
        padding: 10px 20px !important;
        font-size: 0.7rem !important;
        margin-top: 5px;
    }
    
    .section-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    
    .section-subtitle {
        font-size: 0.8rem !important;
        letter-spacing: 1px !important;
        text-align: center !important;
    }
    
    .menu-filters {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 5px !important; /* Extremely tight gap so they pack closely */
        margin-top: 10px !important;
    }
    
    .filter-btn {
        font-size: 1rem !important;
        padding: 6px 10px !important;
        margin: 0 !important;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .menu-img-wrapper {
        height: 140px !important; /* Made image bigger */
    }
    
    .menu-card {
        padding: 4px !important;
        border-radius: 6px !important;
        text-align: center !important;
        align-items: center !important;
    }
    
    .menu-card h3 {
        font-size: 1rem !important;
        margin: 4px 0 2px !important;
        white-space: normal !important; 
        overflow: visible !important;
        line-height: 1.2 !important;
    }
    
    .menu-card p {
        font-size: 0.85rem !important;
        margin-bottom: 4px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        overflow: visible !important;
    }
    
    /* Fix for Combo Cards */
    .combo-grid {
        grid-template-columns: 1fr !important;
    }
    
    .combo-card {
        padding: 12px !important;
        margin: 0 !important;
    }
    
    .combo-card .menu-img-wrapper {
        height: 150px !important; /* Make images visible but not too large */
        border-radius: 8px !important;
        margin-bottom: 10px !important;
    }
    
    .combo-card h3 {
        font-size: 1.5rem !important;
        white-space: normal !important; /* Allow combo titles to wrap */
        overflow: visible !important;
    }
    
    .combo-card p {
        font-size: 0.95rem !important;
        white-space: normal !important; /* Allow combo text to wrap */
        overflow: visible !important;
        line-height: 1.4 !important;
        margin-top: 5px !important;
        margin-bottom: 10px !important;
    }
    
    .combo-card .price-tag {
        font-size: 1rem !important;
        padding: 4px 8px !important;
    }
    
    .item-actions {
        flex-direction: row !important; 
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        margin-top: 5px !important;
        width: 100% !important;
    }
    
    .price-text {
        font-size: 1rem !important;
    }
    
    .add-to-cart {
        padding: 0 !important; 
        width: 80px !important; /* Explicitly wider */
        height: 24px !important; /* Explicitly shorter */
        line-height: 24px !important;
        font-size: 0.95rem !important;
        border-radius: 4px !important;
        text-align: center !important;
    }
    
    .cart-stepper {
        gap: 4px !important;
    }
    
    .cart-stepper button {
        width: 36px !important; 
        height: 100% !important; /* Fixed: Allow full height for clickability */
        font-size: 1rem !important;
        line-height: 1 !important;
        border-radius: 3px !important;
    }
    
    .cart-stepper span {
        font-size: 1rem !important;
    }
    
    .price-tag {
        font-size: 0.85rem !important;
        padding: 2px 6px !important;
        top: 5px !important;
        right: 5px !important;
        border-width: 1px !important;
        border-radius: 4px !important;
        letter-spacing: 0 !important;
    }
    
    #floating-cart-bar {
        padding: 0.5rem 0.8rem !important;
        border-radius: 12px !important;
        bottom: 10px !important;
        width: 95% !important;
    }
    
    #fc-items-count {
        font-size: 0.65rem !important;
        letter-spacing: 0 !important;
    }
    
    #fc-total-price {
        font-size: 0.95rem !important;
    }
    
    #fc-continue-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.95rem !important;
        border-radius: 8px !important;
    }
    
    #fc-clear-cart {
        font-size: 1.1rem !important;
        padding-right: 10px !important;
    }
    
    .cart-sidebar {
        width: 100% !important; /* Use full screen width safely */
        right: -120% !important; /* Hide completely off-screen (and its shadow) initially */
        padding: 1.5rem !important;
        box-shadow: none !important; /* Remove shadow to ensure no black leakage */
    }
    
    .cart-sidebar.open {
        right: 0 !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.8) !important; /* Restore shadow when open */
    }
    
    .cart-header h2 {
        font-size: 1.5rem !important;
    }
    
    .cart-item-row h4 {
        font-size: 0.95rem !important;
    }
    
    .checkout-btn {
        padding: 0.8rem !important;
        font-size: 1rem !important;
    }
    
    .combo-card h3 {
        font-size: 1rem !important;
        margin-bottom: 0.1rem !important;
    }
    
    .combo-card p {
        font-size: 0.65rem !important;
    }
    
    .combo-card .menu-info span {
        font-size: 0.6rem !important;
        padding: 2px 6px !important;
        border-radius: 6px !important;
    }
    

    
    .about-content h2 {
        font-size: 2.2rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
    
    .about-content h2 span {
        font-size: 1.5rem !important;
    }
    
    .about-content h4 {
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
        margin: 0 auto 1rem auto !important;
        text-align: center !important;
        display: block !important;
        width: fit-content !important;
    }
    
    .about-content p {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }
}

@media screen and (min-width: 601px) and (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .nav-top {
        padding: 10px 15px;
    }
    
    .nav-logo {
        font-size: 2rem;
    }
    
    .nav-actions button[aria-label="Search"] {
        display: none !important;
    }
    
    .nav-bottom.active .nav-actions {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    .nav-bottom.active .nav-actions .btn-primary,
    .nav-bottom.active .nav-actions .cart-btn {
        margin: 0 !important;
        width: 85% !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .nav-bottom.active .nav-actions .cart-btn {
        width: 50px !important;
        height: 50px !important;
    }
    
    .btn-primary {
        padding: 8px 16px;
        font-size: 1.15rem;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .slide-title {
        font-size: 2.5rem !important;
        line-height: 1.1;
    }
    
    .slide-subtitle {
        font-size: 0.95rem !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .menu-card {
        padding: 15px;
    }
    
    .item-name {
        font-size: 1.2rem;
    }
    
    .item-price {
        font-size: 1.1rem;
    }
    
    .add-to-cart-btn {
        padding: 8px 15px;
        font-size: 0.95rem;
    }

    .modal-content {
        padding: 20px 15px;
        width: 95%;
        margin: 10px;
    }
    
    .modal-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-container {
        padding: 20px 15px;
    }
    
    .footer-col h4 {
        font-size: 1.3rem;
    }
    
    .hero-carousel {
        height: auto !important;
        min-height: auto !important;
        aspect-ratio: 16 / 9 !important;
        margin-top: 60px !important; /* Fixes black gap between navbar and hero */
        width: 100% !important; /* Fixes black line on the right side without causing horizontal scroll */
    }
    
    .order-options-section {
        padding-top: 2rem !important;
    }
    
    .carousel-slide {
        background-size: contain !important;
        background-position: top center !important; /* Aligns image to top to remove gap below navbar */
        background-repeat: no-repeat !important;
        padding-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .carousel-slide:first-child .slide-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        transform: none !important;
        top: -55px !important;
    }
    
    .carousel-controls {
        top: 50% !important; /* Center arrows */
        padding: 0 10px !important; /* Bring them closer to the edges if needed */
    }
    
    .carousel-btn {
        display: none !important; 
    }
    
    .slide-title {
        font-size: 3.2rem !important; 
        line-height: 1.1 !important;
        color: var(--accent-gold) !important;
        margin-bottom: 0.3rem !important;
        text-shadow: none !important;
        text-align: left !important;
    }
    
    .slide-subtitle {
        font-size: 1.1rem !important;
        color: #333 !important;
        font-weight: normal !important;
        margin-bottom: 0.8rem !important;
        padding: 0 40px 0 15px !important;
        width: 100% !important;
        max-width: 100% !important; 
        text-align: left !important;
        text-shadow: none !important;
    }
    
    .carousel-slide .btn-primary {
        padding: 15px 25px !important;
        font-size: 1.1rem !important;
        margin-top: 12px;
    }
    
    .section-title {
        font-size: 2.6rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    
    .section-subtitle {
        font-size: 0.8rem !important;
        letter-spacing: 1px !important;
        text-align: center !important;
    }
    
    .menu-filters {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 5px !important; /* Extremely tight gap so they pack closely */
        margin-top: 10px !important;
    }
    
    .filter-btn {
        font-size: 1.15rem !important;
        padding: 6px 10px !important;
        margin: 0 !important;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .menu-img-wrapper {
        height: 160px !important; /* Made image bigger */
    }
    
    .menu-card {
        padding: 4px !important;
        border-radius: 6px !important;
        text-align: center !important;
        align-items: center !important;
    }
    
    .menu-card h3 {
        font-size: 1.15rem !important;
        margin: 4px 0 2px !important;
        white-space: normal !important; 
        overflow: visible !important;
        line-height: 1.2 !important;
    }
    
    .menu-card p {
        font-size: 0.95rem !important;
        margin-bottom: 4px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        overflow: visible !important;
    }
    
    /* Fix for Combo Cards */
    .combo-grid {
        grid-template-columns: 1fr !important;
    }
    
    .combo-card {
        padding: 12px !important;
        margin: 0 !important;
    }
    
    .combo-card .menu-img-wrapper {
        height: 150px !important; /* Make images visible but not too large */
        border-radius: 8px !important;
        margin-bottom: 10px !important;
    }
    
    .combo-card h3 {
        font-size: 1.7rem !important;
        white-space: normal !important; /* Allow combo titles to wrap */
        overflow: visible !important;
    }
    
    .combo-card p {
        font-size: 0.95rem !important;
        white-space: normal !important; /* Allow combo text to wrap */
        overflow: visible !important;
        line-height: 1.4 !important;
        margin-top: 5px !important;
        margin-bottom: 10px !important;
    }
    
    .combo-card .price-tag {
        font-size: 1.15rem !important;
        padding: 4px 8px !important;
    }
    
    .item-actions {
        flex-direction: row !important; 
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        margin-top: 5px !important;
        width: 100% !important;
    }
    
    .price-text {
        font-size: 1.15rem !important;
    }
    
    .add-to-cart {
        padding: 0 !important; 
        width: 80px !important; /* Explicitly wider */
        height: 24px !important; /* Explicitly shorter */
        line-height: 24px !important;
        font-size: 0.95rem !important;
        border-radius: 4px !important;
        text-align: center !important;
    }
    
    .cart-stepper {
        gap: 4px !important;
    }
    
    .cart-stepper button {
        width: 36px !important; 
        height: 100% !important; /* Fixed: Allow full height for clickability */
        font-size: 1.15rem !important;
        line-height: 1 !important;
        border-radius: 3px !important;
    }
    
    .cart-stepper span {
        font-size: 1.15rem !important;
    }
    
    .price-tag {
        font-size: 0.95rem !important;
        padding: 2px 6px !important;
        top: 5px !important;
        right: 5px !important;
        border-width: 1px !important;
        border-radius: 4px !important;
        letter-spacing: 0 !important;
    }
    
    #floating-cart-bar {
        padding: 0.5rem 0.8rem !important;
        border-radius: 12px !important;
        bottom: 10px !important;
        width: 95% !important;
    }
    
    #fc-items-count {
        font-size: 0.65rem !important;
        letter-spacing: 0 !important;
    }
    
    #fc-total-price {
        font-size: 0.95rem !important;
    }
    
    #fc-continue-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.95rem !important;
        border-radius: 8px !important;
    }
    
    #fc-clear-cart {
        font-size: 1.1rem !important;
        padding-right: 10px !important;
    }
    
    .cart-sidebar {
        width: 100% !important; /* Use full screen width safely */
        right: -120% !important; /* Hide completely off-screen (and its shadow) initially */
        padding: 1.5rem !important;
        box-shadow: none !important; /* Remove shadow to ensure no black leakage */
    }
    
    .cart-sidebar.open {
        right: 0 !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.8) !important; /* Restore shadow when open */
    }
    
    .cart-header h2 {
        font-size: 1.7rem !important;
    }
    
    .cart-item-row h4 {
        font-size: 0.95rem !important;
    }
    
    .checkout-btn {
        padding: 0.8rem !important;
        font-size: 1.15rem !important;
    }
    
    .combo-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 0.1rem !important;
    }
    
    .combo-card p {
        font-size: 0.65rem !important;
    }
    
    .combo-card .menu-info span {
        font-size: 0.6rem !important;
        padding: 2px 6px !important;
        border-radius: 6px !important;
    }
    

    
    .about-content h2 {
        font-size: 2.6rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
    
    .about-content h2 span {
        font-size: 1.1rem !important;
    }
    
    .about-content h4 {
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
    }
    
    .about-content p {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {


}

@media screen and (min-width: 601px) and (max-width: 768px) {
    .order-opt-card:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        width: 100%;
        max-width: 350px;
    }

    .about-crafted-subtitle {
        font-size: 1.4rem !important;
        display: block !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Tablet to Laptop Styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .order-opt-card:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        width: 100%;
        max-width: 350px;
    }

    .about-crafted-subtitle {
        font-size: 1.1rem !important;
        display: block !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #old-whatsapp-btn {
        display: none !important;
    }

    /* Fix for hero carousel huge gap */
    .hero-carousel {
        height: auto !important;
        min-height: auto !important;
        aspect-ratio: 16 / 9 !important;
        margin-top: 85px !important; 
        width: 100% !important; 
    }
    
    .carousel-slide {
        background-size: contain !important;
        background-position: top center !important; 
        background-repeat: no-repeat !important;
        padding-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .carousel-slide:first-child .slide-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        transform: none !important;
        top: -70px !important; 
        padding-left: 8% !important;
    }
    
    .slide-title {
        font-size: 2.7rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .slide-subtitle {
        font-size: 1rem !important;
        margin-bottom: 0.8rem !important;
        max-width: 70%; 
    }
    
    .carousel-slide .btn-primary {
        padding: 10px 18px !important;
        font-size: 0.9rem !important;
        margin-top: 5px;
    }

    .carousel-controls,
    .carousel-btn {
        display: none !important;
    }

    .about-content h2 {
        text-align: center !important;
        font-size: 2.8rem !important;
    }
    
    .about-content h2 span {
        font-size: 1.8rem !important;
    }

    .footer-container {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-evenly !important;
        gap: 2rem !important;
    }
}

/* Tablet to Laptop specific grid fix */
@media screen and (min-width: 1025px) and (max-width: 1155px) {
    .order-opt-card:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        width: 100%;
        max-width: 350px;
    }
}

/* Laptop/Desktop Small Styles */
@media screen and (min-width: 1025px) and (max-width: 1280px) {
    .about-crafted-subtitle {
        font-size: 0.85rem !important;
        letter-spacing: 2px !important;
        display: block !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #old-whatsapp-btn {
        display: none !important;
    }

    /* Fix for hero carousel huge gap */
    .hero-carousel {
        height: auto !important;
        min-height: auto !important;
        aspect-ratio: 16 / 9 !important;
        margin-top: 185px !important; 
        width: 100% !important; 
    }
    
    .carousel-slide {
        background-size: contain !important;
        background-position: top center !important; 
        background-repeat: no-repeat !important;
        padding-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .carousel-slide .btn-primary {
        padding: 15px 30px !important;
        font-size: 1.2rem !important;
        margin-top: 10px;
    }

    .carousel-slide:first-child .slide-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        transform: none !important;
        top: -100px !important; 
        padding-left: 8% !important;
    }
    
    .slide-title {
        font-size: 3.6rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .slide-subtitle {
        font-size: 1.5rem !important;
        margin-bottom: 0.8rem !important;
        max-width: 70%; 
    }
    
    .carousel-controls,
    .carousel-btn {
        display: none !important;
    }

    .about-content h2 {
        text-align: center !important;
        font-size: 3rem !important;
    }
    
    .about-content h2 span {
        font-size: 1.5rem !important;
    }

    /* Fix navbar overlapping */
    .nav-bottom {
        justify-content: space-between !important;
        padding: 1rem 1.5rem !important;
    }

    .nav-actions {
        position: static !important;
        gap: 0.8rem !important;
    }

    .nav-links {
        gap: 1.5rem !important;
    }

    .nav-links a {
        font-size: 0.95rem !important;
    }

    .nav-actions .btn-primary {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }

    .footer-container {
        display: grid !important;
        grid-template-columns: 2fr 1fr 1.5fr 1fr !important;
        gap: 2rem !important;
        text-align: left !important;
    }

    #old-whatsapp-btn {
        display: none !important;
    }
}

/* Large Desktop Styles */
@media screen and (min-width: 1281px) {
    #old-whatsapp-btn {
        display: none !important;
    }
}

/* Hide old whatsapp button globally */
#old-whatsapp-btn {
    display: none !important;
}
