:root {
    --spice: #C0392B;
    --spice-dark: #922B21;
    --gold: #D4A017;
    --gold-light: #F0C040;
    --cream: #FDF6EC;
    --dark: #1A0A00;
    --dark-2: #3D1500;
    --card-bg: #FFFAF4;
    --border: #EDD9B8;
    --text: #3D2000;
    --muted: #9B7553;
    --green: #2D7A4F;
    --nav-h: 64px;
    --radius: 14px;
    --page-px: 16px; /* mobile side padding */
}

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text);
    min-height: 100vh;
    padding-top: var(--nav-h);
    overflow-x: hidden; /* prevent horizontal scroll on mobile */
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* ── Container — always has side padding ── */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--page-px);
}

@media (min-width: 640px) {
    :root {
        --page-px: 20px;
    }
}

@media (min-width: 1024px) {
    :root {
        --page-px: 28px;
    }
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 900;
    color: var(--dark);
}

/* ============================================================
   SITE HEADER — fixed, full-width
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    /* overflow:visible is critical — drawer must NOT be clipped */
}

.navbar {
    height: var(--nav-h);
    background: var(--dark);
    border-bottom: 1px solid rgba(212,160,23,.25);
    position: relative;
    z-index: 9001;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 var(--page-px);
    max-width: 1200px;
    margin: 0 auto;
    gap: 12px;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-icon {
    font-size: 1.7rem;
    line-height: 1;
}

.brand-name {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
}

.brand-tagline {
    display: block;
    font-size: .58rem;
    color: rgba(255,255,255,.45);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Desktop nav links — hidden by default, flex on desktop */
.nav-links {
    display: none;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    font-weight: 500;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}

    .nav-link:hover, .nav-link.active {
        color: var(--gold);
        border-bottom-color: var(--gold);
    }

/* Nav right actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Cart button — always visible */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 1.45rem;
    color: #fff;
    padding: 6px;
    transition: transform .2s;
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
}

    .cart-btn:hover {
        transform: scale(1.1);
    }

.cart-icon-emoji {
    line-height: 1;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 18px;
    height: 18px;
    background: var(--spice);
    color: #fff;
    border-radius: 9px;
    font-size: .6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--dark);
    line-height: 1;
}

/* Hamburger — visible on mobile, hidden on desktop */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 6px;
    cursor: pointer;
    background: none;
    border: none;
    flex-shrink: 0;
}

.ham-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
    pointer-events: none;
}

.hamburger.open .ham-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open .ham-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open .ham-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Drawer ──
   FIXED position so it is NEVER clipped by parent overflow   */
.mobile-drawer {
    position: fixed; /* ← KEY FIX: fixed, not absolute */
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #1A0800;
    padding: 6px 0 20px;
    border-bottom: 2px solid var(--gold);
    transform: translateY(-110%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    z-index: 8999;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
}

    .mobile-drawer.open {
        transform: translateY(0);
    }

.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.88);
    font-size: .97rem;
    font-weight: 500;
    padding: 14px var(--page-px);
    border-bottom: 1px solid rgba(255,255,255,.07);
    transition: background .18s, color .18s;
}

    .drawer-link:hover {
        background: rgba(255,255,255,.06);
        color: var(--gold);
    }

    .drawer-link:active {
        background: rgba(255,255,255,.1);
    }

.drawer-badge {
    margin-left: auto;
    background: var(--spice);
    color: #fff;
    border-radius: 10px;
    font-size: .7rem;
    font-weight: 700;
    padding: 2px 8px;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 8998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

    .drawer-overlay.show {
        opacity: 1;
        pointer-events: all;
    }

/* ── 768 px+ desktop ── */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    .mobile-drawer {
        display: none !important;
    }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: .93rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    line-height: 1;
    /* Prevent text from being cut off on mobile */
    white-space: nowrap;
}

    .btn:active {
        transform: scale(.97);
    }

.btn-spice {
    background: var(--spice);
    color: #fff;
    border-color: var(--spice);
}

    .btn-spice:hover {
        background: var(--spice-dark);
        box-shadow: 0 4px 16px rgba(192,57,43,.35);
    }

.btn-gold {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

    .btn-gold:hover {
        background: var(--gold-light);
    }

.btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,.45);
    color: #fff;
}

    .btn-outline:hover {
        background: rgba(255,255,255,.1);
        border-color: #fff;
    }

.btn-outline-spice {
    background: transparent;
    border-color: var(--spice);
    color: var(--spice);
}

    .btn-outline-spice:hover {
        background: var(--spice);
        color: #fff;
    }

.add-btn {
    width: 34px;
    height: 34px;
    background: var(--spice);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, transform .15s;
    flex-shrink: 0;
}

    .add-btn:hover {
        background: var(--spice-dark);
    }

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

    .add-btn:disabled {
        cursor: not-allowed;
    }

/* ============================================================
   CATEGORY TABS
   ============================================================ */
.cats-wrap {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--nav-h);
    z-index: 80;
}

.cats {
    display: flex;
    gap: 8px;
    padding: 10px var(--page-px);
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 1100px;
    margin: 0 auto;
}

    .cats::-webkit-scrollbar {
        display: none;
    }

.cat-tab {
    flex-shrink: 0;
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: 24px;
    padding: 7px 16px;
    font-size: .83rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    user-select: none;
}

    .cat-tab:hover {
        border-color: var(--spice);
        color: var(--spice);
    }

    .cat-tab.active {
        background: var(--spice);
        border-color: var(--spice);
        color: #fff;
    }

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section {
    padding: 28px 0 44px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.see-all {
    font-size: .85rem;
    color: var(--spice);
    font-weight: 600;
}

    .see-all:hover {
        text-decoration: underline;
    }

/* ============================================================
   MENU GRID & ITEM CARDS
   ============================================================ */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
/* Mobile: 2 column, with proper spacing */
@media (max-width: 600px) {
    .menu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

@media (max-width: 340px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

.item-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .22s, box-shadow .22s;
}

    .item-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 32px rgba(26,10,0,.13);
    }

.item-thumb {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    background: #2a1000;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .item-thumb {
        height: 120px;
    }
}

.item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
    display: block;
}

.item-card:hover .item-thumb img {
    transform: scale(1.05);
}

.item-thumb-emoji {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.thumb-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    pointer-events: none;
}

.badge-gold {
    background: var(--gold);
    color: var(--dark);
}

.badge-spice {
    background: var(--spice);
    color: #fff;
}

.badge-green {
    background: var(--green);
    color: #fff;
}

.badge-blue {
    background: #1A5FA0;
    color: #fff;
}

.veg-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--green);
    border-radius: 3px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

    .veg-dot::after {
        content: '';
        width: 9px;
        height: 9px;
        background: var(--green);
        border-radius: 50%;
    }

.item-body {
    padding: 10px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--gold);
    font-size: .8rem;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

    .stars span {
        color: var(--muted);
        font-size: .72rem;
    }

.item-name {
    font-family: 'Playfair Display', serif;
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
    line-height: 1.3;
}

.item-desc {
    font-size: .75rem;
    color: var(--muted);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 10px;
}

.item-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--spice);
}

/* ============================================================
   PROMO BANNER
   ============================================================ */
.promo-banner {
    background: linear-gradient(135deg, #1B5A30, #0D3D1F);
    border-radius: var(--radius);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0 0;
    cursor: pointer;
}

.promo-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.promo-text {
    color: rgba(255,255,255,.85);
    font-size: .86rem;
    line-height: 1.5;
}

.promo-code {
    display: inline-block;
    background: rgba(255,255,255,.2);
    color: #fff;
    border: 1px dashed rgba(255,255,255,.4);
    padding: 2px 7px;
    border-radius: 5px;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: .83rem;
    margin-top: 2px;
}

.promo-arrow {
    margin-left: auto;
    color: rgba(255,255,255,.5);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ============================================================
   WHY-US CARDS
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.why-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
}

.why-icon {
    font-size: 1.9rem;
    margin-bottom: 8px;
}

.why-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: .95rem;
}

.why-desc {
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ============================================================
   MOBILE FLOATING CART BAR
   ============================================================ */
.cart-float {
    position: fixed;
    bottom: 14px;
    left: var(--page-px);
    right: var(--page-px);
    background: var(--dark);
    border-radius: 14px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 8500;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
    transform: translateY(120px);
    opacity: 0;
    transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s;
    pointer-events: none;
}

    .cart-float.visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

@media (min-width: 768px) {
    .cart-float {
        display: none !important;
    }
}

.cf-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cf-badge {
    background: var(--spice);
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 700;
}

.cf-text {
    color: #fff;
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.2;
}

.cf-sub {
    color: rgba(255,255,255,.5);
    font-size: .72rem;
}

.cf-total {
    color: var(--gold);
    font-size: .95rem;
    font-weight: 700;
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page {
    padding: 24px 0 80px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 800px) {
    .cart-layout {
        grid-template-columns: 1fr 350px;
    }
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

    .empty-cart .ec-icon {
        font-size: 4.5rem;
        margin-bottom: 14px;
    }

.cart-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.cart-thumb {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #2a1000;
}

    .cart-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.cart-thumb-emoji {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
}

.cart-info {
    flex: 1;
    min-width: 0;
}

.cart-name {
    font-weight: 600;
    font-size: .92rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-unit {
    font-size: .76rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.qty-ctrl {
    display: flex;
    align-items: center;
    gap: 7px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    border-radius: 7px;
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}

    .qty-btn:hover {
        border-color: var(--spice);
        color: var(--spice);
    }

.qty-val {
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    font-size: .92rem;
}

.cart-right {
    text-align: right;
    flex-shrink: 0;
}

.line-price {
    font-size: .98rem;
    font-weight: 700;
    color: var(--spice);
    margin-bottom: 6px;
}

.remove-btn {
    font-size: .76rem;
    color: var(--muted);
    cursor: pointer;
}

    .remove-btn:hover {
        color: var(--spice);
    }

.order-summary {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

@media (min-width: 800px) {
    .order-summary {
        position: sticky;
        top: calc(var(--nav-h) + 14px);
    }
}

.summary-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: .88rem;
    color: var(--muted);
}

    .summary-row.discount {
        color: var(--green);
    }

    .summary-row.total {
        border-top: 1.5px solid var(--border);
        margin-top: 8px;
        padding-top: 12px;
        color: var(--dark);
        font-size: 1.02rem;
        font-weight: 700;
    }

.promo-input {
    display: flex;
    gap: 8px;
    margin: 14px 0 5px;
}

    .promo-input input {
        flex: 1;
        padding: 9px 12px;
        border: 1.5px solid var(--border);
        border-radius: 8px;
        font-family: inherit;
        font-size: .86rem;
        color: var(--text);
        background: #fff;
        outline: none;
        text-transform: uppercase;
    }

        .promo-input input:focus {
            border-color: var(--spice);
        }

        .promo-input input::placeholder {
            text-transform: none;
            color: var(--muted);
        }

.promo-msg {
    font-size: .78rem;
    min-height: 1.3em;
    padding: 2px 0;
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-page {
    padding: 28px 0 80px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 800px) {
    .checkout-layout {
        grid-template-columns: 1fr 350px;
    }
}

.form-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 16px;
}

    .form-group label {
        display: block;
        font-size: .83rem;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 5px;
    }

.form-control {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: .92rem;
    color: var(--text);
    background: #fff;
    transition: border-color .2s;
    outline: none;
}

    .form-control:focus {
        border-color: var(--spice);
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.field-validation-error, .text-danger {
    color: var(--spice);
    font-size: .76rem;
    display: block;
    margin-top: 3px;
}

/* ============================================================
   CONFIRMATION PAGE
   ============================================================ */
.confirm-hero {
    text-align: center;
    padding: 40px 16px 24px;
}

.confirm-icon {
    font-size: 4.5rem;
    animation: pop .45s cubic-bezier(.17,.67,.4,1.4) both;
    display: block;
}

@keyframes pop {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.order-num-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 22px;
    display: inline-block;
    margin: 18px auto 0;
}

.order-num-label {
    font-size: .7rem;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.order-num-val {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--spice);
}

.progress-track {
    display: flex;
    justify-content: center;
    margin: 28px 0;
    padding: 0 var(--page-px);
    overflow: hidden;
}

.progress-step {
    flex: 1;
    max-width: 120px;
    text-align: center;
    position: relative;
}

    .progress-step::after {
        content: '';
        position: absolute;
        top: 13px;
        left: calc(50% + 16px);
        right: calc(-50% + 16px);
        height: 2px;
        background: var(--border);
        z-index: 0;
    }

    .progress-step:last-child::after {
        display: none;
    }

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border);
    color: var(--muted);
    font-size: .74rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
}

    .step-dot.active {
        background: var(--spice);
        color: #fff;
        border-color: var(--spice);
    }

    .step-dot.done {
        background: var(--green);
        color: #fff;
        border-color: var(--green);
    }

.step-label {
    font-size: .68rem;
    color: var(--muted);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
    position: fixed;
    bottom: 24px;
    right: var(--page-px);
    background: var(--dark);
    color: #fff;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 500;
    z-index: 99999;
    border-left: 4px solid var(--gold);
    max-width: min(300px, calc(100vw - 32px));
    transform: translateY(80px);
    opacity: 0;
    transition: transform .3s, opacity .3s;
    pointer-events: none;
}

    .toast.show {
        transform: translateY(0);
        opacity: 1;
    }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--dark);
    margin-top: 40px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px var(--page-px) 32px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .footer-inner {
        grid-template-columns: 200px 1fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    margin-top: 6px;
}

.footer-sub {
    color: rgba(255,255,255,.45);
    font-size: .78rem;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
}

.footer-col h4 {
    color: var(--gold);
    font-size: .72rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,.55);
    font-size: .83rem;
    margin-bottom: 7px;
    transition: color .2s;
}

    .footer-col a:hover {
        color: var(--gold);
    }

.footer-col span {
    display: block;
    color: rgba(255,255,255,.5);
    font-size: .8rem;
    margin-bottom: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 14px var(--page-px);
    text-align: center;
    color: rgba(255,255,255,.3);
    font-size: .76rem;
}

/* ============================================================
   MOBILE GLOBAL SPACING FIXES
   ============================================================ */
@media (max-width: 600px) {
    /* Every card/section gets safe padding from screen edges */
    .section {
        padding: 20px 0 32px;
    }

    .item-card {
        border-radius: 10px;
    }

    .order-summary {
        padding: 16px;
        border-radius: 10px;
    }

    .cart-item {
        gap: 10px;
    }

    .cart-thumb {
        width: 58px;
        height: 58px;
        border-radius: 8px;
    }

    .btn {
        padding: 11px 18px;
        font-size: .88rem;
    }

    .section-title {
        font-size: 1.4rem;
    }
    /* Deals full card */
    .deal-full-img {
        height: 170px;
    }
}

/* ============================================================
   PAGE ANIMATION
   ============================================================ */
#main-content {
    animation: fadeUp .4s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}
