:root {
    /* Color Palette - Light Pista Theme */
    --primary-bg: #e9f5e9; /* Light Pista */
    --secondary-bg: #ffffff; /* White for cards */
    --text-dark: #2d5a27; /* Dark Earthy Green */
    --text-light: #52794f; /* Lighter Green for subtitles */
    --accent-color: #ff6b6b; /* Accent red/orange for discounts */
    --button-bg: #4caf50; /* Fresh Green */
    --button-hover: #388e3c;
    --border-color: #d0e8d0;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(45, 90, 39, 0.08);
    --shadow-md: 0 8px 24px rgba(45, 90, 39, 0.12);
    --shadow-hover: 0 12px 32px rgba(45, 90, 39, 0.18);
    
    /* Typography */
    --font-family: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--primary-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navbar with Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.cafe-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.cart-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-bg);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cart-container:hover {
    background: var(--border-color);
}

.cart-icon {
    font-size: 1.2rem;
}

.cart-count {
    font-weight: 600;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    margin-top: 73px; /* Account for fixed navbar */
    height: 60vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 0 2rem;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 4rem;
}

.hero-logo-container {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    animation: fadeInUp 0.8s ease-out;
    position: relative; /* For the glow effect */
}

/* Approach 3 refined: Soft background glow independent of the logo image */
.hero-logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 200px; /* Aligns with the center of the logo roughly */
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233, 245, 233, 0.85) 0%, rgba(233, 245, 233, 0.3) 40%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(25px);
}

.hero-large-logo {
    width: 460px;
    height: 460px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
    margin-left: -50px; /* Nudged left to align with the navbar brand name */
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 620px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.65;
    margin-bottom: 2rem;
    color: #f1f8f1;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
}

.cta-button {
    background: var(--button-bg);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.cta-button:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}

/* Menu Section */
.menu-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.menu-header {
    text-align: center;
    margin-bottom: 3rem;
}

.menu-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.menu-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Dish Grid */
.dish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Dish Card */
.dish-card {
    background: var(--secondary-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
}

.dish-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.dish-image-container {
    height: 160px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.dish-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dish-card:hover .dish-image {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dish-details {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dish-title {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.dish-description {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.3px;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.price-section {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.mrp-price {
    text-decoration: line-through;
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.final-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 6px;
}

.save-text {
    color: #2e7d32;
    font-size: 0.85rem;
    font-weight: 600;
    background: #e8f5e9;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid #c8e6c9;
}

.add-btn {
    width: 100%;
    padding: 12px;
    background: var(--button-bg);
    border: 2px solid var(--button-bg);
    color: white;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dish-card:hover .add-btn {
    background: var(--button-bg);
    color: white;
}

.card-qty-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: white;
    border: 2px solid var(--button-bg);
    border-radius: 12px;
    overflow: hidden;
}

.card-qty-btn {
    background: var(--button-bg);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.card-qty-btn:hover {
    background: var(--button-hover);
}

.card-qty-display {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    width: 100%;
    text-align: center;
}

/* Blog Section */
.blog-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.blog-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--secondary-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-image-container {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.blog-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.5;
}

.read-more {
    color: var(--button-bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    display: inline-block;
    align-self: flex-start;
}

.read-more:hover {
    color: var(--button-hover);
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--secondary-bg);
    margin-top: 125px; /* Reduced gap as requested */
    padding: 4rem 2rem; /* Increased padding */
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

footer p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.seo-text {
    font-size: 11px;
    color: #a0a0a0; /* Subtle light grey, slightly visible */
    margin-top: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.4;
    cursor: default;
    user-select: none; /* Prevents text highlighting */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Cart Sidebar Styles --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--secondary-bg);
    z-index: 1002;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
}

.cart-items {
    flex-grow: 1;
    padding: 0.5rem 1.2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-light);
    margin-top: 2rem;
}

/* Individual Cart Item */
.cart-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.cart-item-img {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0px;
}

.cart-item-price {
    font-size: 0.75rem;
    color: var(--text-light);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--primary-bg);
    padding: 1px 4px;
    border-radius: 20px;
}

.qty-btn {
    background: white;
    border: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.qty-display {
    font-weight: 600;
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

/* Cart Summary */
.cart-summary {
    padding: 0.8rem 1.2rem;
    border-top: 1px solid var(--border-color);
    background: #fdfdfd;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.summary-row.discount-row {
    color: var(--button-bg);
    font-weight: 500;
}

.summary-row.final {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 2px dashed #ddd;
}

.checkout-btn {
    width: 100%;
    background: var(--button-bg);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background: var(--button-hover);
}

/* Responsive Design Overhaul */
@media (max-width: 900px) {
    .hero {
        height: auto;
        min-height: unset;
        padding: 3rem 1.5rem 3.5rem;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-logo-container {
        justify-content: center;
    }

    .hero-logo-container::before {
        width: 300px;
        height: 300px;
        left: 50%;
    }
    
    .hero-large-logo {
        width: 200px;
        height: 200px;
        margin-left: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
    }
    
    .dish-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .navbar {
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    .nav-content {
        padding: 0.6rem 1rem;
    }

    .logo {
        height: 48px;
    }

    .cafe-name {
        font-size: 1.15rem;
        line-height: 1.2;
    }

    .cart-container {
        padding: 6px 12px;
    }

    .hero {
        margin-top: 62px;
        padding: 2rem 1rem 2.5rem;
    }

    .hero-logo-container::before {
        display: none;
    }

    .hero-large-logo {
        width: 150px;
        height: 150px;
        margin-left: 0;
        filter: drop-shadow(0 6px 15px rgba(0,0,0,0.35));
    }

    .hero h1 {
        font-size: 1.55rem;
        line-height: 1.28;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 0.92rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0 4px;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .menu-section {
        padding: 2.5rem 1rem;
    }

    .menu-header {
        margin-bottom: 2rem;
    }

    .menu-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .menu-header p {
        font-size: 0.9rem;
    }

    /* Clean Vertical Mobile Dish Cards */
    .dish-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .dish-card {
        border-radius: 16px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    }

    .dish-image-container {
        height: 180px;
    }

    .dish-details {
        padding: 1.1rem;
    }

    .dish-title {
        font-size: 1.15rem;
        margin-bottom: 0.35rem;
    }

    .dish-description {
        font-size: 0.86rem;
        line-height: 1.45;
        margin-bottom: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .price-section {
        margin-bottom: 0.9rem;
    }

    .add-btn {
        padding: 10px 16px;
        font-size: 0.95rem;
    }

    /* Mobile Bottom-Sheet Checkout Form */
    .checkout-modal {
        position: fixed;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        transform: translateY(100%) !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 24px 24px 0 0 !important;
        max-height: 88vh;
        overflow-y: auto;
        padding: 1.5rem 1.2rem 2.2rem !important;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
    }

    .checkout-modal.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Mobile Cart Bottom-Sheet */
    .cart-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 85vh !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 24px 24px 0 0 !important;
        transform: translateY(100%) !important;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.2) !important;
    }

    .cart-sidebar.active {
        transform: translateY(0) !important;
    }

    .cart-sidebar .cart-header {
        padding: 1.2rem 1.4rem 0.8rem;
    }

    .cart-sidebar .cart-item {
        padding: 0.8rem 0;
    }

    .cart-sidebar .cart-item-img {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    .cart-sidebar .cart-item-title {
        font-size: 0.95rem;
    }

    .cart-sidebar .qty-btn {
        width: 26px;
        height: 26px;
        font-size: 1rem;
    }

    .cart-sidebar .qty-display {
        font-size: 1rem;
        width: 24px;
    }

    .blog-section {
        padding: 2.5rem 1rem;
    }

    .blog-header h2 {
        font-size: 1.5rem;
    }

    .footer {
        padding: 2.5rem 1rem 5rem; /* Extra bottom padding so sticky bar doesn't overlap footer */
    }
}

/* Checkout Modal */
.checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1005;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.checkout-overlay.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 480px;
    max-height: 88vh;
    overflow-y: auto;
    background: white;
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
    z-index: 1006;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.checkout-modal::-webkit-scrollbar {
    width: 6px;
}

.checkout-modal::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.checkout-modal::-webkit-scrollbar-track {
    background: transparent;
}

.checkout-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 8px;
}

.checkout-header h2 {
    font-size: 1.35rem;
    color: var(--text-dark);
    flex-grow: 1;
    text-align: center;
}

.back-to-cart-btn {
    background: transparent;
    border: none;
    color: var(--button-bg);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.back-to-cart-btn:hover {
    background: var(--primary-bg);
}

.close-checkout {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--button-bg);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.error-msg {
    display: none;
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 4px;
    font-weight: 500;
}

.pincode-status {
    display: none;
    font-size: 0.85rem;
    margin-top: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pincode-status.loading {
    display: block !important;
    color: #555;
    background: #f5f5f5;
    padding: 6px 10px;
    border-radius: 6px;
}

.pincode-status.success {
    display: block !important;
    color: #1b5e20;
    background: #e8f5e9;
    padding: 6px 10px;
    border-radius: 6px;
    border-left: 3px solid #2e7d32;
}

.pincode-status.error {
    display: block !important;
    color: #b71c1c;
    background: #ffebee;
    padding: 6px 10px;
    border-radius: 6px;
    border-left: 3px solid #d32f2f;
}

.confirm-order-btn {
    width: 100%;
    background: var(--button-bg);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.confirm-order-btn:hover {
    background: var(--button-hover);
}

/* Availability Modal */
.availability-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.availability-overlay.active {
    opacity: 1;
    visibility: visible;
}

.availability-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 400px;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    text-align: center;
}

.availability-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Dish Detail Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1005;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

#dish-detail-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    width: 90%;
    max-width: 450px;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1010;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#dish-detail-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

#dish-detail-modal .dish-image-container {
    height: 280px;
}

#dish-detail-modal .dish-details {
    padding: 1.5rem;
}

#dish-detail-modal .dish-description {
    -webkit-line-clamp: unset;
    display: block;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.close-dish-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.2s;
}

.close-dish-modal:hover {
    background: white;
    transform: scale(1.1);
}

.dish-card {
    cursor: pointer;
}

/* Floating Mobile Bottom Order Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: white;
    padding: 12px 18px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(27, 94, 32, 0.45);
    z-index: 999;
    cursor: pointer;
    transform: translateY(150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sticky-bar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.sticky-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-bar-icon {
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.2);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-bar-details {
    display: flex;
    flex-direction: column;
}

.sticky-bar-items {
    font-size: 0.8rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.sticky-bar-total {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.sticky-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.mobile-sticky-bar:active .sticky-bar-right {
    background: rgba(255, 255, 255, 0.35);
}

.sticky-bar-arrow {
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.mobile-sticky-bar:hover .sticky-bar-arrow {
    transform: translateX(4px);
}

/* --- GPS Location & Interactive Map Styling --- */
.location-detect-box {
    margin-bottom: 12px;
}

.detect-location-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1.5px solid #22c55e;
    color: #15803d;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.12);
}

.detect-location-btn:hover {
    background: #dcfce7;
    border-color: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.2);
}

.detect-location-btn:active {
    transform: translateY(0);
}

.detect-location-btn .location-icon {
    font-size: 1.1rem;
    animation: locationPulse 2s infinite ease-in-out;
}

@keyframes locationPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.gps-status {
    margin-top: 6px;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.gps-status.loading {
    background: #fef9c3;
    color: #854d0e;
    border: 1px solid #fde047;
}

.gps-status.success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.gps-status.error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.map-wrapper {
    margin-bottom: 14px;
    border: 1.5px solid #86efac;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.map-header-hint {
    background: #f0fdf4;
    color: #166534;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    border-bottom: 1px solid #bbf7d0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#leaflet-map {
    height: 180px;
    width: 100%;
    z-index: 1;
}

.map-coords-badge {
    background: #ffffff;
    color: #4b5563;
    padding: 4px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

/* Suppress any 3rd-party preview bars */
[data-netlify-deploy-id], #netlify-drawer, netlify-drawer, [class*="netlify-drawer"] {
    display: none !important;
}

/* 🔴 Professional English Store Closed Alert Banner */
.store-closed-banner {
    position: sticky;
    top: 66px;
    z-index: 998;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-bottom: 2px solid #ef4444;
    color: #f8fafc;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.store-closed-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.closed-pulse-dot {
    font-size: 1.4rem;
    animation: pulse 1.5s infinite;
}

.closed-text-wrap strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: #f87171;
    display: block;
    letter-spacing: 0.5px;
}

.closed-text-wrap p {
    font-size: 0.82rem;
    color: #cbd5e1;
    margin-top: 2px;
    line-height: 1.35;
}

.kitchen-call-link {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #fca5a5;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.2s;
}

.kitchen-call-link:hover {
    background: #ef4444;
    color: white;
}

.add-btn.store-closed-btn {
    background: #475569 !important;
    color: #cbd5e1 !important;
    cursor: not-allowed !important;
    border: 1px solid #64748b !important;
}

@media (max-width: 768px) {
    .store-closed-banner {
        top: 58px;
        padding: 10px 14px;
        flex-direction: column;
        text-align: center;
    }
    .store-closed-content {
        flex-direction: column;
        gap: 6px;
    }
}
