/* ── RESET ────────────────────────────────────────────────────── */
* { margin:0; padding:0; box-sizing:border-box; }

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

a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    z-index: 1000;
}

.logo img { width: 100px; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: #222; font-size: 16px; font-weight: 500; transition: .2s; }
.nav-links a:hover { color: #26643B; }

.nav-right { display: flex; align-items: center; gap: 14px; }

.cta-btn {
    padding: 10px 22px;
    background: #26643B;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: .2s;
}
.cta-btn a { color: #fff; }
.cta-btn:hover { background: #1f512d; transform: translateY(-1px); }

/* Cart icon button */
.cart-icon-btn {
    position: relative;
    background: #f0f7f1;
    border: 2px solid #26643B;
    color: #26643B;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}
.cart-icon-btn:hover { background: #26643B; color: #fff; }

.cart-badge {
    position: absolute;
    top: -6px; right: -6px;
    background: #e53e3e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

/* ── HERO BANNER ─────────────────────────────────────────────── */
.menu-hero {
    margin-top: 70px;
    background: linear-gradient(135deg, #26643B 0%, #3a8c56 100%);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.menu-hero h1 {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.menu-hero p {
    font-size: 18px;
    opacity: .85;
    font-weight: 400;
}

/* ── FILTER TABS ─────────────────────────────────────────────── */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 28px 6%;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 70px;
    z-index: 900;
}

.tab-btn {
    padding: 9px 22px;
    background: #f0f7f1;
    color: #26643B;
    border: 2px solid #c8e0cc;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', Arial, sans-serif;
    transition: .2s;
}

.tab-btn:hover,
.tab-btn.active {
    background: #26643B;
    color: #fff;
    border-color: #26643B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38,100,59,0.25);
}

/* ── MENU GRID ───────────────────────────────────────────────── */
.menu-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 6% 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

/* Section title spans full width */
.section-title {
    grid-column: 1 / -1;
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    padding: 20px 0 8px;
    border-bottom: 3px solid #26643B;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.section-title i { color: #26643B; font-size: 22px; }

/* ── MENU CARD ───────────────────────────────────────────────── */
.menu-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    transition: transform .25s, box-shadow .25s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(38,100,59,0.15);
}

.menu-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: #26643B;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.card-stars {
    color: #f5a623;
    font-size: 14px;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 14px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.card-price {
    font-size: 22px;
    font-weight: 800;
    color: #26643B;
}

.add-to-cart-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-input {
    width: 45px;
    padding: 8px 4px;
    border: 2px solid #dde9de;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #26643B;
    background: #f8fbf9;
    outline: none;
    transition: .2s;
}

.qty-input:focus {
    border-color: #26643B;
}

.add-btn {
    padding: 9px 18px;
    background: #26643B;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', Arial, sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: .2s;
}

.add-btn:hover {
    background: #1f512d;
    transform: scale(1.05);
}

.add-btn:active {
    transform: scale(0.97);
}

/* ── CART OVERLAY ────────────────────────────────────────────── */
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1100;
    backdrop-filter: blur(2px);
}
.cart-overlay.active { display: block; }

/* ── CART SIDEBAR ────────────────────────────────────────────── */
.cart-sidebar {
    position: fixed;
    top: 0; right: -420px;
    width: 420px;
    height: 100vh;
    background: #fff;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    transition: right .35s cubic-bezier(.4,0,.2,1);
}

.cart-sidebar.open { right: 0; }

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 2px solid #f0f7f1;
    background: #f8fbf9;
    flex-shrink: 0;
    z-index: 10;
}

.cart-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #26643B;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-close {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}
.cart-close:hover { background: #dc2626; color: #fff; }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    min-height: 0;
    position: relative;
}

/* Empty state */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #aaa;
    text-align: center;
    gap: 10px;
}
.cart-empty i { font-size: 48px; color: #d0e6d4; }
.cart-empty p { font-size: 16px; font-weight: 600; }
.cart-empty small { font-size: 13px; }

/* Cart item row */
.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fbf9;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid #e8f0e9;
}

.cart-item img {
    width: 56px; height: 56px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; color: #1a1a1a; margin-bottom: 2px; }
.cart-item-price { font-size: 12px; color: #888; }

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 4px 8px;
}

.cart-item-controls button {
    background: none;
    border: none;
    cursor: pointer;
    color: #26643B;
    font-size: 12px;
    padding: 2px 4px;
    transition: .15s;
}
.cart-item-controls button:hover { color: #1a1a1a; }
.cart-item-controls span { font-size: 15px; font-weight: 700; min-width: 18px; text-align: center; }

.cart-item-subtotal {
    font-size: 15px;
    font-weight: 700;
    color: #26643B;
    min-width: 48px;
    text-align: right;
}

.cart-remove {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    transition: .15s;
}
.cart-remove:hover { color: #dc2626; }

/* ── CART FOOTER ─────────────────────────────────────────────── */
.cart-footer {
    padding: 20px 24px;
    border-top: 2px solid #f0f7f1;
    background: #f8fbf9;
    flex-shrink: 0;
    z-index: 10;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.cart-total span:last-child { color: #26643B; }

.order-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #dde9de;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', Arial, sans-serif;
    background: #fff;
    outline: none;
    margin-bottom: 10px;
    transition: border-color .2s;
    resize: none;
}
.order-input:focus { border-color: #26643B; }

.checkout-btn {
    width: 100%;
    padding: 14px;
    background: #26643B;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Inter', Arial, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .2s;
    margin-bottom: 10px;
}
.checkout-btn:hover { background: #1f512d; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(38,100,59,0.3); }

.clear-cart-btn {
    width: 100%;
    padding: 10px;
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', Arial, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: .2s;
}
.clear-cart-btn:hover { background: #dc2626; color: #fff; }

/* ── ORDER SUCCESS TOAST ─────────────────────────────────────── */
.order-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #26643B;
    color: #fff;
    padding: 18px 28px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity .4s, transform .4s;
    z-index: 9999;
    pointer-events: none;
    min-width: 300px;
}
.order-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.order-toast i { font-size: 28px; color: #a8f0c0; flex-shrink: 0; }
.order-toast strong { font-size: 16px; display: block; }
.order-toast p { font-size: 13px; opacity: .85; margin: 0; }

/* ── MINI TOAST ──────────────────────────────────────────────── */
.mini-toast {
    position: fixed;
    bottom: 30px; right: 30px;
    background: #1a1a1a;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s;
    z-index: 9998;
    pointer-events: none;
}
.mini-toast.show { opacity: 1; transform: translateY(0); }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
    background: #d4e8d3;
    padding: 60px 8% 30px;
    margin-top: 80px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-section { flex: 1; min-width: 200px; }

.footer-logo img { width: 120px; margin-bottom: 15px; }

.footer-section h3 { margin-bottom: 15px; color: #222; }

.footer-section p { font-size: 15px; color: #555; margin-bottom: 8px; }

.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 10px; }
.footer-section ul li a { color: #555; transition: .3s; }
.footer-section ul li a:hover { color: #26643B; }

.social-links { display: flex; gap: 15px; margin-top: 15px; }
.social-links a {
    width: 40px; height: 40px;
    background: #fff;
    border-radius: 13%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #26643B;
    font-size: 18px;
    transition: .3s;
}
.social-links a:hover { background: #26643B; color: #fff; }

.footer-bottom p {
    padding: 18px 8%;
    font-size: 14px;
    color: #555;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        flex-wrap: wrap;
        height: auto;
        padding: 12px 5%;
        gap: 10px;
    }

    .nav-links { gap: 16px; }
    .nav-links a { font-size: 14px; }

    .menu-hero h1 { font-size: 30px; }

    .filter-tabs { top: 90px; gap: 8px; padding: 16px 5%; }
    .tab-btn { padding: 7px 14px; font-size: 13px; }

    .menu-grid {
        grid-template-columns: 1fr;
        padding: 24px 5% 60px;
    }

    .cart-sidebar { width: 100%; right: -100%; }

    .footer-top { flex-direction: column; gap: 30px; }
}

/* ── MOBILE HAMBURGER MENU OVERRIDES ─────────────────────────── */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger i {
    color: #26643B;
    font-size: 24px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: block !important;
    }

    .navbar {
        position: fixed !important;
        height: 70px !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 5% !important;
        background: #f5f5f5 !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    }

    .navbar nav {
        position: fixed !important;
        top: 70px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: #f5f5f5 !important;
        transition: 0.3s ease-in-out !important;
        z-index: 999 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        padding-top: 40px !important;
    }

    .navbar.nav-open nav {
        left: 0 !important;
    }

    .nav-links {
        flex-direction: column !important;
        gap: 25px !important;
        margin: 0 !important;
        text-align: center !important;
        display: flex !important;
    }

    .nav-links a {
        font-size: 20px !important;
        font-weight: 600 !important;
    }

    .navbar .cta-btn {
        display: none !important;
    }

    .navbar .nav-right {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
    }
}