﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0e0d0c;
    color: #ece3db;
    padding: 2rem 1.5rem;
    scroll-behavior: smooth;
}

.menu-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* Toggle Button - Always Visible */
.header-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #c47d58;
    color: #0e0d0c;
    border: 2px solid #e6b18c;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(196, 125, 88, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: scale(1);
}

    .header-toggle-btn:hover {
        transform: scale(1.1);
        background: #e6b18c;
        box-shadow: 0 6px 30px rgba(196, 125, 88, 0.6);
    }

    .header-toggle-btn:active {
        transform: scale(0.95);
    }

    .header-toggle-btn i {
        transition: transform 0.3s ease;
    }

    .header-toggle-btn.header-hidden i {
        transform: rotate(180deg);
    }

/* header dark - sticky with toggle */
.brand-header {
    background: #1e1b18;
    padding: 1.5rem 2rem 1.2rem 2rem;
    border-radius: 40px 40px 20px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    margin-bottom: 2.5rem;
    border: 1px solid #3d322b;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(30, 27, 24, 0.95);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    transform: translateY(0);
    opacity: 1;
}

    .brand-header.hidden {
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
    }

    .brand-header h1 {
        font-size: 3.2rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        background: linear-gradient(145deg, #e6b18c, #c47d58);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        display: inline-block;
        margin: 0;
    }

        .brand-header h1 i {
            -webkit-text-fill-color: #c47d58;
            background: none;
            margin-right: 10px;
        }

    .brand-header .shop-details {
        font-size: 1rem;
        color: #d6c6b8;
        background: #2c2520;
        display: inline-block;
        padding: 0.6rem 1.8rem;
        border-radius: 60px;
        font-weight: 400;
        letter-spacing: 0.3px;
        backdrop-filter: blur(4px);
        box-shadow: inset 0 0 0 1px #4d3d33;
        border: 1px solid #3f3229;
        line-height: 1.8;
    }

        .brand-header .shop-details i {
            margin: 0 6px;
            color: #d4936b;
        }
/* cart bar */
.cart-bar {
    background: #2c2520;
    border-radius: 60px;
    padding: 0.6rem 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    border: 1px solid #3d322b;
    flex-wrap: wrap;
    justify-content: center;
}

    .cart-bar .cart-icon {
        color: #d4936b;
        font-size: 1.2rem;
    }

    .cart-bar .cart-count {
        background: #c47d58;
        color: #0e0d0c;
        font-weight: 700;
        padding: 0.1rem 0.8rem;
        border-radius: 40px;
        font-size: 0.9rem;
        min-width: 28px;
        text-align: center;
    }

    .cart-bar .cart-total {
        color: #e6b18c;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .cart-bar .view-cart-btn {
        background: #c47d58;
        color: #0e0d0c;
        border: none;
        padding: 0.3rem 1.2rem;
        border-radius: 40px;
        font-weight: 600;
        cursor: pointer;
        transition: 0.2s;
        font-size: 0.9rem;
    }

        .cart-bar .view-cart-btn:hover {
            background: #e6b18c;
            transform: scale(1.02);
        }
/* category nav */
.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.category-pill {
    background: #1e1b18;
    border-radius: 100px;
    padding: 0.6rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #d6c6b8;
    border: 1px solid #3d322b;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    letter-spacing: 0.3px;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    user-select: none;
}

    .category-pill i {
        margin-right: 10px;
        color: #d4936b;
    }

    .category-pill:hover {
        background: #2c2520;
        border-color: #c47d58;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(196, 125, 88, 0.15);
        color: #f0e3da;
    }
/* section heading */
.section-heading {
    font-size: 2rem;
    font-weight: 700;
    margin: 2.8rem 0 1.2rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #3d322b;
    color: #e6d3c4;
    display: flex;
    align-items: center;
    gap: 12px;
    scroll-margin-top: 30px;
}

    .section-heading i {
        color: #d4936b;
        font-size: 1.8rem;
    }

    .section-heading small {
        font-size: 1rem;
        font-weight: 400;
        color: #9a877a;
        margin-left: 8px;
    }
/* grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.8rem;
    margin-top: 0.5rem;
}

.menu-card {
    background: #1a1714;
    border-radius: 28px;
    padding: 1.5rem 1.5rem 1.4rem 1.5rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6), 0 0 0 1px #2f2822;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #2f2822;
    position: relative;
}

    .menu-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px -8px rgba(0,0,0,0.8), 0 0 0 1px #5a4538;
        background: #221d19;
    }

.card-image {
    width: 100%;
    height: 200px;
    border-radius: 18px;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
    background: #2a231e;
    flex-shrink: 0;
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.menu-card:hover .card-image img {
    transform: scale(1.05);
}

.card-image .image-label {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.6rem;
    padding: 0.2rem 0.9rem;
    border-radius: 40px;
    letter-spacing: 0.4px;
    font-weight: 400;
    border: 1px solid rgba(255,255,255,0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px dashed #3d322b;
    padding-bottom: 0.7rem;
    margin-bottom: 0.7rem;
}

.item-name {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.3px;
    color: #f0e3da;
    line-height: 1.3;
    flex: 1;
    padding-right: 0.5rem;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.item-price {
    font-weight: 700;
    font-size: 1.3rem;
    color: #e6b18c;
    background: #2c2520;
    padding: 0.1rem 0.8rem;
    border-radius: 60px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border: 1px solid #3d322b;
    flex-shrink: 0;
}

    .item-price small {
        font-size: 0.7rem;
        font-weight: 500;
        color: #9a877a;
    }

    .item-price.original {
        text-decoration: line-through;
        color: #9a877a;
        font-size: 0.9rem;
        background: transparent;
        border: none;
        padding: 0.1rem 0.3rem;
    }

    .item-price.discounted {
        color: #4ade80;
        border-color: #4ade80;
        background: rgba(74, 222, 128, 0.1);
    }

.discount-badge {
    background: #4ade80;
    color: #0e0d0c;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.1rem 0.6rem;
    border-radius: 40px;
    margin-left: 0.3rem;
}

.category-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #2c2520;
    color: #c7b2a0;
    padding: 0.2rem 0.9rem;
    border-radius: 40px;
    margin-bottom: 0.5rem;
    align-self: flex-start;
    border: 1px solid #3d322b;
}

.desc-box {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #c7b2a0;
    margin: 0.2rem 0 0.6rem 0;
    flex: 1;
}

.meta-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    border-top: 1px solid #2f2822;
    padding-top: 0.7rem;
    font-size: 0.78rem;
    color: #9a877a;
}

.portion {
    background: #1e1b18;
    padding: 0.15rem 1rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #3d322b;
    color: #c7b2a0;
}

.food-type {
    background: #1e2a22;
    padding: 0.1rem 1rem;
    border-radius: 30px;
    font-weight: 500;
    color: #9bc4af;
    border: 1px solid #2d4a3a;
}

.gst-badge {
    color: #9a877a;
    font-size: 0.65rem;
    background: #1e1b18;
    padding: 0.1rem 0.8rem;
    border-radius: 40px;
    border: 1px solid #3d322b;
}
/* e-commerce: add to cart button & quantity */
.cart-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.8rem;
    padding-top: 0.7rem;
    border-top: 1px solid #2f2822;
}

.add-to-cart-btn {
    background: #c47d58;
    color: #0e0d0c;
    border: none;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.85rem;
    flex: 1;
}

    .add-to-cart-btn:hover {
        background: #e6b18c;
        transform: scale(1.02);
    }

    .add-to-cart-btn:active {
        transform: scale(0.97);
    }

.in-cart-badge {
    background: #2d4a3a;
    color: #9bc4af;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #3d6b4a;
    white-space: nowrap;
}
/* cart modal / slide-out */
.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 999;
}

    .cart-overlay.active {
        display: block;
    }

.cart-drawer {
    position: fixed;
    top: 0;
    right: -500px;
    width: 460px;
    max-width: 92vw;
    height: 100%;
    background: #1a1714;
    border-left: 1px solid #3d322b;
    box-shadow: -10px 0 40px rgba(0,0,0,0.8);
    transition: right 0.35s ease;
    z-index: 1000;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

    .cart-drawer.open {
        right: 0;
    }

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3d322b;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

    .cart-drawer-header h2 {
        color: #e6d3c4;
        font-size: 1.6rem;
    }

    .cart-drawer-header .close-cart {
        background: none;
        border: none;
        color: #9a877a;
        font-size: 1.8rem;
        cursor: pointer;
        transition: 0.2s;
    }

        .cart-drawer-header .close-cart:hover {
            color: #e6b18c;
            transform: rotate(90deg);
        }

.cart-items-list {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #2f2822;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    color: #f0e3da;
    font-weight: 500;
    font-size: 0.95rem;
}

.cart-item-meta {
    color: #9a877a;
    font-size: 0.8rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

    .cart-item-actions .qty-control {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        background: #1e1b18;
        border-radius: 40px;
        border: 1px solid #3d322b;
        padding: 0.05rem 0.2rem;
    }

        .cart-item-actions .qty-control button {
            background: transparent;
            border: none;
            color: #d6c6b8;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            font-size: 0.8rem;
            cursor: pointer;
            transition: 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .cart-item-actions .qty-control button:hover {
                background: #3d322b;
                color: #e6b18c;
            }

        .cart-item-actions .qty-control .qty-display {
            min-width: 20px;
            text-align: center;
            font-weight: 600;
            color: #ece3db;
            font-size: 0.85rem;
        }

.cart-item-price {
    color: #e6b18c;
    font-weight: 600;
    min-width: 60px;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #6b4f3f;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s;
}

    .cart-item-remove:hover {
        color: #e06b4a;
    }

.cart-footer {
    border-top: 1px solid #3d322b;
    padding-top: 1.2rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    color: #e6d3c4;
    margin-bottom: 0.8rem;
}

    .cart-total-row span:last-child {
        color: #e6b18c;
    }

.checkout-btn {
    width: 100%;
    background: #c47d58;
    color: #0e0d0c;
    border: none;
    padding: 0.9rem;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
}

    .checkout-btn:hover {
        background: #e6b18c;
        transform: scale(1.01);
    }

.empty-cart {
    color: #9a877a;
    text-align: center;
    padding: 3rem 0;
    font-size: 1.1rem;
}

    .empty-cart i {
        font-size: 3rem;
        color: #3d322b;
        display: block;
        margin-bottom: 1rem;
    }

/* ----- Footer Styles ----- */
.site-footer {
    margin-top: 4rem;
    background: #1a1714;
    border-radius: 28px 28px 0 0;
    border: 1px solid #2f2822;
    padding: 3rem 2rem 1.5rem 2rem;
    border-bottom: none;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-column h4 {
    color: #e6b18c;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

    .footer-column h4 i {
        margin-right: 8px;
        color: #c47d58;
    }

.footer-column p {
    color: #9a877a;
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0.3rem;
}

    .footer-column p a {
        color: #9a877a;
        text-decoration: none;
        transition: color 0.2s;
    }

        .footer-column p a:hover {
            color: #e6b18c;
        }

.footer-column ul {
    list-style: none;
    padding: 0;
}

    .footer-column ul li {
        margin-bottom: 0.5rem;
    }

        .footer-column ul li a {
            color: #9a877a;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

            .footer-column ul li a i {
                font-size: 0.5rem;
                color: #c47d58;
                transition: transform 0.2s;
            }

            .footer-column ul li a:hover {
                color: #e6b18c;
                transform: translateX(4px);
            }

                .footer-column ul li a:hover i {
                    transform: translateX(2px);
                }

.social-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

    .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #2c2520;
        color: #9a877a;
        border: 1px solid #3d322b;
        transition: all 0.3s;
        text-decoration: none;
    }

        .social-icons a:hover {
            background: #c47d58;
            color: #0e0d0c;
            border-color: #c47d58;
            transform: translateY(-2px);
        }

/* Center column for payment and FSSAI */
.footer-center-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .footer-center-column h4 {
        text-align: center;
    }

    .footer-center-column .payment-icons {
        display: flex;
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

        .footer-center-column .payment-icons i {
            font-size: 2rem;
            color: #9a877a;
            transition: color 0.2s;
        }

            .footer-center-column .payment-icons i:hover {
                color: #e6b18c;
            }

    .footer-center-column .fssai-badge {
        display: inline-block;
        background: #1e2a22;
        color: #9bc4af;
        padding: 0.3rem 1.5rem;
        border-radius: 40px;
        font-size: 0.75rem;
        border: 1px solid #2d4a3a;
        margin: 0 auto;
        width: auto;
    }

        .footer-center-column .fssai-badge i {
            margin-right: 6px;
            color: #4ade80;
        }

.footer-bottom {
    border-top: 1px solid #2f2822;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    text-align: center;
}

    .footer-bottom p {
        color: #6b5544;
        font-size: 0.85rem;
    }

        .footer-bottom p i {
            color: #c47d58;
        }

@media (max-width: 680px) {
    body {
        padding: 1rem;
    }

    .brand-header h1 {
        font-size: 2.2rem;
    }

    .brand-header {
        padding: 1rem 1rem 0.8rem 1rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .brand-header .shop-details {
        font-size: 0.8rem;
        padding: 0.3rem 1rem;
    }

    .card-image {
        height: 180px;
    }

    .section-heading {
        font-size: 1.6rem;
        scroll-margin-top: 30px;
    }

    .cart-drawer {
        width: 100vw;
        max-width: 100vw;
    }

    .cart-bar {
        gap: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .category-pill {
        padding: 0.4rem 1.2rem;
        font-size: 0.8rem;
    }

    .header-toggle-btn {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .site-footer {
        padding: 2rem 1rem 1rem 1rem;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.menu-wrapper {
    animation: fadeSlide 0.6s ease;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-top {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.5rem 1.8rem;
    background: #1e1b18;
    border-radius: 60px;
    border: 1px solid #3d322b;
    font-weight: 500;
    color: #d6c6b8;
    text-decoration: none;
    transition: 0.2s;
}

    .back-top i {
        margin-right: 8px;
        color: #d4936b;
    }

    .back-top:hover {
        background: #2c2520;
        border-color: #c47d58;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        color: #f0e3da;
    }

.footer-nav {
    text-align: center;
    margin-top: 1.5rem;
}
