/* ============================================================
   AKURE DELIGHT EATERY — Custom Styles
   ============================================================ */

:root {
    --primary:   #e63946;
    --secondary: #f4a261;
    --dark:      #1d1d2c;
    --light-bg:  #faf9f7;
    --card-bg:   #ffffff;
    --text-muted:#6c757d;
    --radius:    14px;
    --shadow:    0 4px 24px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light-bg);
    color: var(--dark);
}

/* ── TOP BAR ── */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,.65);
    font-size: .78rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-bar a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.top-bar a:hover { color: var(--secondary); }
.top-bar i { opacity: .7; }

/* ── NAVBAR ── */
#mainNav {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,.07);
    box-shadow: none;
    padding: .55rem 0;
    transition: padding .3s ease, box-shadow .3s ease, background .3s ease;
    position: sticky;
    top: 0;
    z-index: 1030;
}
#mainNav.nav-scrolled {
    background: rgba(255,255,255,.98);
    box-shadow: 0 4px 24px rgba(0,0,0,.1);
    padding: .35rem 0;
    border-bottom-color: transparent;
}
/* Accent bar under navbar on scroll */
#mainNav.nav-scrolled::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    animation: navBarSlide 3s linear infinite;
}
@keyframes navBarSlide {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* Nav links */
#mainNav .nav-link {
    font-weight: 600;
    font-size: .86rem;
    color: #374151;
    padding: .5rem .85rem;
    border-radius: 8px;
    position: relative;
    transition: color .2s;
    letter-spacing: .15px;
}
#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%; right: 50%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: left .2s ease, right .2s ease;
}
#mainNav .nav-link:hover,
#mainNav .nav-link.nav-active {
    color: var(--primary);
    background: transparent;
}
#mainNav .nav-link:hover::after,
#mainNav .nav-link.nav-active::after {
    left: .85rem;
    right: .85rem;
}
/* Dropdown items */
#mainNav .dropdown-menu {
    border: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    border-radius: 12px;
    padding: .5rem;
    margin-top: .25rem;
    animation: dropIn .15s ease;
}
@keyframes dropIn {
    from { opacity:0; transform:translateY(-6px); }
    to   { opacity:1; transform:none; }
}
#mainNav .dropdown-item {
    border-radius: 8px;
    font-size: .86rem;
    font-weight: 500;
    padding: .5rem .85rem;
    transition: background .15s;
}
#mainNav .dropdown-item:hover { background: rgba(230,57,70,.07); color: var(--primary); }

/* Brand */
.brand-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(230,57,70,.3);
    transition: transform .2s, box-shadow .2s;
}
.navbar-brand:hover .brand-icon {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 6px 18px rgba(230,57,70,.4);
}
.brand-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; line-height: 1.1; color: var(--dark); }
.brand-sub  { font-size: .6rem; letter-spacing: 3px; text-transform: uppercase; color: var(--primary); font-weight: 600; }

/* Hamburger */
.navbar-toggler {
    border: none;
    padding: .4rem .5rem;
    background: rgba(230,57,70,.07);
    border-radius: 8px;
    transition: background .15s;
}
.navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(230,57,70,.25); }
.navbar-toggler:hover { background: rgba(230,57,70,.12); }
.hamburger-line {
    display: block;
    width: 22px; height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform .3s ease, opacity .2s;
    margin: 4px 0;
}
.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0; transform: scaleX(0);
}
.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu */
@media (max-width:991.98px) {
    /* Overlay the expanded menu instead of letting it grow #mainNav's own
       in-flow height — when it was a normal flow child, expanding it added
       ~400px to the sticky nav's box, which shifted the whole document and
       raced with the browser's scroll-anchoring, causing page content to
       visibly collide with the menu panel while the page was scrolled. */
    #navMenu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: 80vh;
        overflow-y: auto;
        background: #fff;
        border-top: 1px solid rgba(0,0,0,.07);
        border-radius: 0 0 16px 16px;
        padding: .75rem 0 1rem;
        margin: 0;
        box-shadow: 0 8px 24px rgba(0,0,0,.1);
    }
    #navMenu .nav-link::after { display: none; }
    #navMenu .nav-link {
        padding: .6rem 1.25rem;
        border-radius: 0;
        border-left: 3px solid transparent;
    }
    #navMenu .nav-link:hover,
    #navMenu .nav-link.nav-active {
        border-left-color: var(--primary);
        background: rgba(230,57,70,.05);
    }
    #navMenu .d-flex.align-items-center {
        padding: .75rem 1.25rem 0;
        border-top: 1px solid rgba(0,0,0,.06);
        margin-top: .5rem;
        flex-wrap: wrap;
        gap: .5rem !important;
    }
}
.btn-cart {
    position: relative;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    padding: .45rem .8rem;
    font-size: 1.1rem;
    border: none;
}
.btn-cart:hover { background: #c1121f; color: #fff; }
.cart-badge {
    position: absolute; top: -6px; right: -6px;
    background: var(--secondary); color: #fff;
    border-radius: 50%; width: 20px; height: 20px;
    font-size: .65rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

/* ── HERO ── */
.hero {
    background: #0b0913;           /* fallback — canvas paints over this */
    color: #fff;
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before { display: none; }  /* remove old static bg image */

/* Canvas fills the whole hero */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Gradient overlay — dark on left (text) → transparent on right (chef) */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(8,4,18,0.94)  0%,
        rgba(8,4,18,0.80) 38%,
        rgba(8,4,18,0.30) 62%,
        rgba(8,4,18,0.05) 100%
    );
    pointer-events: none;
}

/* On mobile keep a denser overlay for readability */
@media (max-width: 991px) {
    .hero-overlay {
        background: rgba(8,4,18,0.82);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 5rem 0 4rem;
}

/* Title */
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    line-height: 1.12;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0,0,0,0.5);
    margin-bottom: 1.1rem;
}
.hero-title-accent { color: var(--secondary); }

/* Subtitle */
.hero-subtitle {
    font-size: clamp(.9rem, 1.8vw, 1.1rem);
    color: rgba(255,255,255,.78);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(244,162,97,.15);
    border: 1px solid rgba(244,162,97,.55);
    color: var(--secondary);
    padding: .3rem 1rem;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* CTA Buttons */
.hero-btns { display: flex; gap: .9rem; flex-wrap: wrap; }
.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary), #c1121f);
    color: #fff;
    border: none;
    padding: .85rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .3px;
    box-shadow: 0 8px 28px rgba(230,57,70,.40);
    transition: transform .2s, box-shadow .2s;
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(230,57,70,.55);
    color: #fff;
}
.btn-hero-secondary {
    background: rgba(255,255,255,.10);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.35);
    padding: .85rem 2.2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: all .2s;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,.20);
    border-color: rgba(255,255,255,.6);
    color: #fff;
    transform: translateY(-3px);
}

/* Stats row */
.hero-stats {
    display: flex;
    gap: 2.2rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}
.hero-stat {
    position: relative;
    text-align: center;
}
.hero-stat + .hero-stat::before {
    content: '';
    position: absolute; left: -1.1rem; top: 20%;
    height: 60%; width: 1px;
    background: rgba(255,255,255,.2);
}
.stat-number {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    text-shadow: 0 2px 12px rgba(244,162,97,.4);
}
.stat-label {
    font-size: .72rem;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: .25rem;
}

/* ── SECTION TITLE ── */
.section-title { font-family: 'Playfair Display', serif; }
.section-title span { color: var(--primary); }
.divider {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px; margin: .5rem 0 1.5rem;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* ── CATEGORY PILLS ── */
.category-pill {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: .6rem 1.4rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: all .25s;
    white-space: nowrap;
}
.category-pill:hover,
.category-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.category-pill i { font-size: 1.1rem; }

/* ── MENU CARD ── */
.menu-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
    height: 100%;
    display: flex; flex-direction: column;
}
.menu-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,.13); }
.menu-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f0ebe3;
}
.menu-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.menu-card:hover .menu-card-img img { transform: scale(1.06); }
.menu-badge-featured {
    position: absolute; bottom: 10px; left: 10px;
    background: linear-gradient(135deg, #f59e0b, #e85d04);
    color: #fff; font-size: .7rem; font-weight: 700;
    padding: .25rem .7rem; border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    pointer-events: none; z-index: 2;
}
.menu-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--primary); color: #fff;
    font-size: .7rem; font-weight: 700;
    padding: .2rem .6rem; border-radius: 50px;
}
.menu-card-body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.menu-card-title { font-weight: 700; font-size: 1rem; margin-bottom: .3rem; }
.menu-card-desc { color: var(--text-muted); font-size: .82rem; line-height: 1.5; flex: 1; }
.menu-card-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: .9rem;
}
.menu-price { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.btn-add {
    width: 38px; height: 38px;
    background: var(--primary); color: #fff;
    border: none; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    transition: background .2s, transform .15s;
    cursor: pointer;
}
.btn-add:hover { background: #c1121f; transform: scale(1.1); }

/* ── CART ── */
.cart-item-row {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: .75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.qty-control {
    display: flex; align-items: center; gap: .5rem;
}
.qty-btn {
    width: 30px; height: 30px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    background: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    transition: all .2s;
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-num { font-weight: 700; min-width: 24px; text-align: center; }

/* ── ORDER SUMMARY ── */
.order-summary-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: sticky; top: 90px;
}

/* ── STATUS BADGE ── */
.status-badge {
    padding: .35rem .8rem;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.status-pending   { background: #fff3cd; color: #856404; }
.status-confirmed { background: #cff4fc; color: #055160; }
.status-preparing { background: #fff3cd; color: #664d03; }
.status-ready     { background: #d1e7dd; color: #0a3622; }
.status-delivered { background: #d1e7dd; color: #0a3622; }
.status-cancelled { background: #f8d7da; color: #842029; }

/* ── FORM CARD ── */
.form-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}
.form-label { font-weight: 600; font-size: .9rem; }
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: .65rem 1rem;
    font-size: .9rem;
    transition: border-color .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230,57,70,.1);
}

/* ── BUTTONS ── */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 10px;
    font-weight: 600;
    padding: .65rem 1.8rem;
}
.btn-primary:hover { background: #c1121f; border-color: #c1121f; }
.btn-outline-primary { border-color: var(--primary); color: var(--primary); border-radius: 10px; font-weight: 600; }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-secondary { background: var(--secondary); border-color: var(--secondary); color: #fff; border-radius: 10px; font-weight: 600; }

/* ── FEATURE ICONS (legacy) ── */
.feature-icon-box {
    width: 70px; height: 70px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

/* ── PERKS SECTION v2 ── */
.perks-section {
    background: linear-gradient(160deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

/* Ambient blobs */
.perk-blob {
    position: absolute; border-radius: 50%;
    filter: blur(80px); pointer-events: none;
    animation: perkBlobDrift 8s ease-in-out infinite alternate;
}
.perk-blob-1 {
    width: 420px; height: 420px;
    background: rgba(230,57,70,.18);
    top: -120px; left: -80px;
}
.perk-blob-2 {
    width: 320px; height: 320px;
    background: rgba(99,102,241,.15);
    bottom: -80px; right: -60px;
    animation-delay: 3s;
}
@keyframes perkBlobDrift {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(30px,20px) scale(1.08); }
}

/* Eyebrow + heading */
.perk-eyebrow {
    display: inline-block;
    font-size: .72rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(230,57,70,.12);
    border: 1px solid rgba(230,57,70,.25);
    padding: .3rem .85rem; border-radius: 20px;
    margin-bottom: .75rem;
}
.perk-heading {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0;
}

/* Cards */
.perk-card-v2 {
    background: rgba(255,255,255,.05);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 1.75rem 1.25rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
    cursor: default;
    height: 100%;
}
.perk-card-v2:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,.09);
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

/* Giant accent number */
.perk-num {
    position: absolute;
    top: .5rem; right: .85rem;
    font-size: 4.5rem; font-weight: 900;
    line-height: 1; -webkit-user-select: none; user-select: none;
    pointer-events: none;
    transition: opacity .28s;
}
.perk-card-v2:hover .perk-num { opacity: .6; }

/* Icon */
.perk-icon-v2 {
    width: 68px; height: 68px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; color: #fff;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    transition: transform .28s ease, box-shadow .28s ease;
}
.perk-card-v2:hover .perk-icon-v2 {
    transform: scale(1.12) rotate(-4deg);
    box-shadow: 0 12px 32px rgba(0,0,0,.4);
}

/* Badge */
.perk-badge {
    display: inline-block;
    font-size: .68rem; font-weight: 700; letter-spacing: .5px;
    padding: .2rem .7rem; border-radius: 20px;
    margin-bottom: .75rem;
}

/* Text */
.perk-title-v2 {
    font-size: 1rem; font-weight: 800; color: #fff;
    margin-bottom: .4rem;
}
.perk-desc-v2 {
    font-size: .8rem; color: rgba(255,255,255,.5);
    line-height: 1.55; margin: 0;
}

/* Bottom glow line */
.perk-glow-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity .28s;
    border-radius: 0 0 20px 20px;
}
.perk-card-v2:hover .perk-glow-line { opacity: 1; }

/* Legacy perk classes used on about page — keep intact */

/* ── SPECIALTIES SECTION ── */
.specialties-section {
    background: #f9f7f5;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.specialties-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800; color: #1a1a2e;
}
.specialties-title span { color: var(--primary); }
.specialties-underline {
    width: 56px; height: 4px; border-radius: 4px;
    background: var(--primary); margin: .5rem auto 0;
}

/* Specialty card */
.specialty-card {
    display: block; text-decoration: none;
    background: #fff; border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .24s, box-shadow .24s;
    height: 100%;
}
.specialty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.12);
}
.specialty-top-bar {
    height: 5px;
    background: var(--cat-color, var(--primary));
}
.specialty-body {
    padding: 1.5rem;
    display: flex; flex-direction: column;
}
.specialty-icon {
    width: 64px; height: 64px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; margin-bottom: 1rem;
    transition: transform .22s;
}
.specialty-card:hover .specialty-icon { transform: scale(1.1); }
.specialty-name {
    font-size: 1rem; font-weight: 800; color: #1a1a2e;
    margin-bottom: .3rem;
}
.specialty-desc {
    font-size: .8rem; color: #888; line-height: 1.55;
    flex: 1; margin-bottom: 1rem;
}
.specialty-footer {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid #f0f0f0; padding-top: .85rem; margin-top: auto;
}
.specialty-count {
    font-size: .75rem; font-weight: 700;
    color: #999; background: #f5f5f5;
    padding: .2rem .6rem; border-radius: 50px;
}
.specialty-browse {
    font-size: .78rem; font-weight: 700;
    color: var(--cat-color, var(--primary));
    display: flex; align-items: center; gap: .3rem;
    transition: gap .2s;
}
.specialty-card:hover .specialty-browse { gap: .6rem; }

@media (max-width: 576px) {
    .perk-icon  { width: 62px; height: 62px; font-size: 1.6rem; border-radius: 16px; }
    .perk-title { font-size: .85rem; }
    .specialty-body { padding: 1rem; }
    .specialty-icon { width: 52px; height: 52px; font-size: 1.4rem; border-radius: 14px; }
    .specialty-name { font-size: .9rem; }
}

/* ======================================================
   SECTION UTILITIES (used on every page section)
   ====================================================== */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(230,57,70,.08), rgba(244,162,97,.08));
    border: 1px solid rgba(230,57,70,.22);
    color: var(--primary);
    padding: .28rem 1rem;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: .6rem;
}
.section-subtitle {
    color: #777;
    font-size: .95rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ======================================================
   ANIMATED SECTION KEYFRAMES
   ====================================================== */
@keyframes dotGrid   { to { background-position: 60px 60px, 90px 90px; } }
@keyframes diagDrift { to { background-position: 60px 60px; } }
@keyframes shimmerBand {
    0%   { left: -70%; opacity: 0; }
    6%   { opacity: 1; }
    94%  { opacity: 1; }
    100% { left: 120%; opacity: 0; }
}
@keyframes stepPop {
    0%, 100% { box-shadow: 0 4px 18px rgba(230,57,70,.30), 0 0 0  0    rgba(230,57,70,.45); }
    50%       { box-shadow: 0 4px 18px rgba(230,57,70,.50), 0 0 0  14px rgba(230,57,70,0);  }
}
@keyframes starTwinkle {
    0%, 100% { opacity: .12; }
    50%       { opacity: .80; }
}
@keyframes ctaFire {
    0%, 100% { background-position: 0%   50%; }
    50%       { background-position: 100% 50%; }
}
@keyframes floatOrb {
    0%, 100% { transform: translate(0,   0)    scale(1);    }
    40%       { transform: translate(22px,-16px) scale(1.06); }
    70%       { transform: translate(-14px,10px) scale(.94);  }
}

/* ── PERKS – drifting dot grid ── */
.perks-section::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle, rgba(230,57,70,.07) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(244,162,97,.05) 1.5px, transparent 1.5px);
    background-size: 60px 60px, 88px 88px;
    background-position: 0 0, 30px 30px;
    animation: dotGrid 20s linear infinite;
    pointer-events: none; z-index: 0;
}
.perks-section > .container { position: relative; z-index: 1; }

/* ── SPECIALTIES – diagonal stripe drift + ambient colour orbs ── */
.specialties-section::before {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 28px,
        rgba(230,57,70,.022) 28px,
        rgba(230,57,70,.022) 30px
    );
    animation: diagDrift 3s linear infinite;
    pointer-events: none; z-index: 0;
}
.specialties-section::after {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 8%  90%, rgba(244,162,97,.10) 0%, transparent 45%),
        radial-gradient(ellipse at 92% 10%, rgba(230,57,70,.08)  0%, transparent 45%);
    animation: floatOrb 12s ease-in-out infinite;
    pointer-events: none; z-index: 0;
}
.specialties-section > .container { position: relative; z-index: 1; }

/* ── FEATURED – dot grid + sweeping shimmer band ── */
.featured-section {
    background: #fff;
    position: relative; overflow: hidden;
    padding: 5rem 0;
}
.featured-section::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle, rgba(230,57,70,.06) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(244,162,97,.04) 1.5px, transparent 1.5px);
    background-size: 54px 54px, 82px 82px;
    background-position: 0 0, 27px 27px;
    animation: dotGrid 24s linear infinite;
    pointer-events: none; z-index: 0;
}
.featured-section::after {
    content: '';
    position: absolute; top: 0;
    left: -70%; width: 40%; height: 100%;
    background: linear-gradient(
        90deg,
        transparent  0%,
        rgba(255,255,255,.07) 50%,
        transparent  100%
    );
    transform: skewX(-10deg);
    animation: shimmerBand 6s ease-in-out 1s infinite;
    pointer-events: none; z-index: 1;
}
.featured-section > .container { position: relative; z-index: 2; }

/* ── STEPS – diagonal drift + pulsing step numbers ── */
.steps-section {
    background: #f9f7f5;
    position: relative; overflow: hidden;
    padding: 5rem 0;
}
.steps-section::before {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent, transparent 28px,
        rgba(230,57,70,.016) 28px,
        rgba(230,57,70,.016) 30px
    );
    animation: diagDrift 4s linear infinite;
    pointer-events: none; z-index: 0;
}
.steps-section > .container { position: relative; z-index: 1; }

.step-number {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #c1121f);
    color: #fff;
    font-size: 1.35rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto .75rem;
    animation: stepPop 2.5s ease-in-out infinite;
    box-shadow: 0 4px 18px rgba(230,57,70,.3);
}
.steps-section .row > *:nth-child(2) .step-number { animation-delay:  .65s; }
.steps-section .row > *:nth-child(3) .step-number { animation-delay: 1.30s; }
.steps-section .row > *:nth-child(4) .step-number { animation-delay: 1.95s; }

.step-icon {
    width: 70px; height: 70px;
    border-radius: 20px;
    background: #fff;
    border: 2px solid rgba(230,57,70,.15);
    color: var(--primary);
    font-size: 1.75rem;
    display: flex; align-items: center; justify-content: center;
    margin: .5rem auto 0;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    transition: transform .25s, box-shadow .25s;
}
.step-icon:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(230,57,70,.18); }

/* ── REVIEWS – twinkling star / spice field ── */
.reviews-section {
    background: #fff;
    position: relative; overflow: hidden;
    padding: 5rem 0;
}
.reviews-section::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 2px; height: 2px; border-radius: 50%;
    background: transparent;
    /* First star layer */
    box-shadow:
        120px 40px  0 rgba(244,162,97,.6),  340px 80px  0 rgba(230,57,70,.5),
        560px 25px  0 rgba(244,162,97,.4),  780px 65px  0 rgba(230,57,70,.3),
        960px 90px  0 rgba(244,162,97,.6), 1100px 35px  0 rgba(230,57,70,.5),
        1300px 70px  0 rgba(244,162,97,.4),
        80px 145px  0 rgba(230,57,70,.3),  260px 170px  0 rgba(244,162,97,.6),
        480px 155px  0 rgba(230,57,70,.5),  650px 135px  0 rgba(244,162,97,.4),
        820px 165px  0 rgba(230,57,70,.3), 1000px 145px  0 rgba(244,162,97,.6),
        1200px 160px  0 rgba(230,57,70,.5),
        150px 255px  0 rgba(244,162,97,.4),  380px 270px  0 rgba(230,57,70,.3),
        600px 245px  0 rgba(244,162,97,.6),  760px 280px  0 rgba(230,57,70,.5),
        900px 258px  0 rgba(244,162,97,.4), 1080px 265px  0 rgba(230,57,70,.3),
        1260px 242px  0 rgba(244,162,97,.5),
        200px 340px  0 rgba(230,57,70,.3),  420px 360px  0 rgba(244,162,97,.5),
        640px 345px  0 rgba(230,57,70,.4),  840px 370px  0 rgba(244,162,97,.6),
        1020px 355px  0 rgba(230,57,70,.3), 1180px 340px  0 rgba(244,162,97,.4);
    animation: starTwinkle 3s ease-in-out infinite;
    pointer-events: none; z-index: 0;
}
.reviews-section::after {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 3px; height: 3px; border-radius: 50%;
    background: transparent;
    /* Second star layer — staggered timing */
    box-shadow:
        200px 60px  0 rgba(244,162,97,.5),  450px 100px  0 rgba(230,57,70,.4),
        670px 50px  0 rgba(244,162,97,.6),  880px 85px   0 rgba(230,57,70,.3),
        1050px 45px  0 rgba(244,162,97,.4), 1220px 75px  0 rgba(230,57,70,.6),
        320px 205px  0 rgba(244,162,97,.3),  540px 225px  0 rgba(230,57,70,.5),
        700px 210px  0 rgba(244,162,97,.4),  860px 195px  0 rgba(230,57,70,.3),
        1130px 215px  0 rgba(244,162,97,.5),
        400px 300px  0 rgba(230,57,70,.4),  590px 325px  0 rgba(244,162,97,.6),
        780px 310px  0 rgba(230,57,70,.3),  970px 295px  0 rgba(244,162,97,.4),
        1160px 315px  0 rgba(230,57,70,.5);
    animation: starTwinkle 4.5s ease-in-out 1.5s infinite;
    pointer-events: none; z-index: 0;
}
.reviews-section > .container { position: relative; z-index: 1; }

/* ── CTA BANNER – animated fire gradient + glow orbs + dot overlay ── */
.cta-banner {
    background: linear-gradient(135deg, #160810, #2c1016, #1d1a2e, #240c10, #160810);
    background-size: 400% 400%;
    animation: ctaFire 8s ease infinite;
    color: #fff;
    position: relative; overflow: hidden;
    padding: 5.5rem 0;
}
.cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(230,57,70,.25)  0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(244,162,97,.18) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(230,57,70,.06)  0%, transparent 60%);
    animation: floatOrb 9s ease-in-out infinite;
    pointer-events: none; z-index: 0;
}
.cta-banner::after {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle, rgba(244,162,97,.06) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(230,57,70,.04)  1.5px, transparent 1.5px);
    background-size: 50px 50px, 75px 75px;
    background-position: 0 0, 25px 25px;
    animation: dotGrid 18s linear infinite;
    pointer-events: none; z-index: 0;
}
.cta-banner > .container { position: relative; z-index: 1; }

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.cta-subtitle {
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.btn-cta-primary {
    background: linear-gradient(135deg, var(--primary), #c1121f);
    color: #fff; border: none;
    padding: .9rem 2.4rem;
    border-radius: 12px;
    font-weight: 700; font-size: 1.05rem;
    box-shadow: 0 8px 30px rgba(230,57,70,.45);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none; display: inline-flex; align-items: center;
}
.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(230,57,70,.6);
    color: #fff;
}
.btn-cta-secondary {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.35);
    padding: .9rem 2.4rem;
    border-radius: 12px;
    font-weight: 600; font-size: 1.05rem;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: all .2s;
    text-decoration: none; display: inline-flex; align-items: center;
}
.btn-cta-secondary:hover {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.6);
    color: #fff; transform: translateY(-3px);
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .perks-section::before,
    .specialties-section::before, .specialties-section::after,
    .featured-section::before, .featured-section::after,
    .steps-section::before,
    .reviews-section::before, .reviews-section::after,
    .cta-banner, .cta-banner::before, .cta-banner::after,
    .step-number { animation: none !important; }
}

/* ── REVIEW CARD ── */
.review-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    height: 100%;
}
.stars { color: #ffc107; }

/* ── TRACKING TIMELINE ── */
.tracking-timeline {
    list-style: none; padding: 0; margin: 0;
}
.tracking-timeline li {
    display: flex; gap: 1rem;
    padding-bottom: 1.5rem;
    position: relative;
}
.tracking-timeline li:not(:last-child)::before {
    content: '';
    position: absolute; left: 19px; top: 38px;
    width: 2px; height: calc(100% - 14px);
    background: #dee2e6;
}
.tracking-timeline li.done::before { background: #198754; }
.tracking-dot {
    width: 40px; height: 40px; flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: #adb5bd;
}
.tracking-timeline li.done .tracking-dot {
    background: #198754; border-color: #198754; color: #fff;
}
.tracking-timeline li.current .tracking-dot {
    background: var(--primary); border-color: var(--primary); color: #fff;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230,57,70,.4); }
    70% { box-shadow: 0 0 0 10px rgba(230,57,70,0); }
    100% { box-shadow: 0 0 0 0 rgba(230,57,70,0); }
}

/* ── FOOTER ── */
.footer { background: var(--dark); }
.footer-top { border-bottom: 1px solid rgba(255,255,255,.08); }

/* Brand block in footer */
.footer-brand .brand-name { color: #ffffff !important; font-size: 1.15rem; }
.footer-brand .brand-sub  { color: var(--secondary) !important; }
.footer-brand p,
.footer p.footer-about {
    color: #d1d5db !important;
    font-size: .9rem;
    line-height: 1.75;
}

.footer-heading { color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-links a { color: #d1d5db; font-size: .9rem; margin-bottom: .5rem; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--secondary); }
.footer-links.contact-list li { display: flex; align-items: flex-start; gap: .6rem; color: #d1d5db; }
.footer-links.contact-list i { color: var(--secondary); margin-top: .15rem; flex-shrink: 0; }
.social-btn {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #d1d5db;
    text-decoration: none;
    transition: all .2s;
    font-size: 1rem;
}
.social-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
/* Per-platform brand colours on hover */
.social-btn.social-fb:hover  { background: #1877f2; }
.social-btn.social-ig:hover  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-btn.social-wa:hover  { background: #25d366; }
.social-btn.social-tw:hover  { background: #000; }
.social-btn.social-tk:hover  { background: #010101; }
.social-btn.social-yt:hover  { background: #ff0000; }
.social-btn.social-li:hover  { background: #0a66c2; }
.social-btn.social-sc:hover  { background: #fffc00; color: #333; }
.social-btn.social-thr:hover { background: #000; }
.footer-bottom { background: rgba(0,0,0,.3); }
.footer-bottom,
.footer-bottom p,
.footer-bottom div { color: #9ca3af !important; }
.footer-bottom a { color: #9ca3af !important; text-decoration: none; }
.footer-bottom a:hover { color: #fff !important; }

/* ── ADMIN STYLES ── */
.admin-sidebar {
    background: var(--dark);
    min-height: 100vh;
    width: 260px;
    position: fixed; top: 0; left: 0;
    padding: 0;
    z-index: 100;
    overflow-y: auto;
}
.admin-sidebar .sidebar-brand {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-sidebar .nav-link {
    color: #adb5bd;
    padding: .75rem 1.5rem;
    border-radius: 0;
    display: flex; align-items: center; gap: .75rem;
    font-size: .9rem;
    transition: all .2s;
    border-left: 3px solid transparent;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255,255,255,.06);
    color: #fff;
    border-left-color: var(--primary);
}
.admin-sidebar .nav-link i { font-size: 1.1rem; width: 22px; }
.admin-sidebar .nav-section {
    color: #555; font-size: .72rem; text-transform: uppercase;
    letter-spacing: 1.5px; padding: 1.5rem 1.5rem .5rem;
}
.admin-content {
    margin-left: 260px;
    min-height: 100vh;
    background: #f0f2f5;
}
.admin-topbar {
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    padding: .9rem 1.5rem;
    position: sticky; top: 0; z-index: 99;
}
.stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}
.stat-card .stat-num { font-size: 2rem; font-weight: 800; }
.stat-card .stat-lbl { color: var(--text-muted); font-size: .85rem; }
.stat-card.secondary { border-left-color: var(--secondary); }
.stat-card.success   { border-left-color: #198754; }
.stat-card.info      { border-left-color: #0dcaf0; }

.admin-table th { background: #f8f9fa; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .5px; color: #6c757d; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .admin-sidebar { transform: translateX(-100%); transition: transform .3s; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-content { margin-left: 0; }
}
@media (max-width: 576px) {
    .hero { min-height: 70vh; }
    .hero-stats { gap: 1rem; }
    .form-card { padding: 1.5rem; }
}

/* ── UTILITY ── */
.text-primary { color: var(--primary) !important; }
.bg-primary   { background: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }
.fw-700 { font-weight: 700 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-800 { font-weight: 800 !important; }

.img-food {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.empty-state {
    text-align: center; padding: 4rem 1rem; color: var(--text-muted);
}
.empty-state i { font-size: 4rem; margin-bottom: 1rem; display: block; }

/* ── NAVBAR LOGO ── */
.navbar-logo {
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
}

/* ── BACK TO TOP ── */
#backToTop {
    will-change: opacity, transform;
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(230,57,70,.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0; visibility: hidden;
    transform: translateY(12px);
    transition: all .25s;
    z-index: 9990;
}
#backToTop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover   { background: #c1121f; transform: translateY(-2px); }

/* ── CART DRAWER MINI ── */
.cart-pulse { animation: cartPulse .4s ease; }
@keyframes cartPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* ── SMOOTH PAGE TRANSITIONS ── */
.page-fade-in { animation: pageFadeIn .3s ease; }
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── IMPROVED DROPDOWN ── */
.dropdown-menu {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    padding: .5rem;
}
.dropdown-item {
    border-radius: 10px;
    padding: .5rem 1rem;
    font-weight: 500;
    transition: all .15s;
}
.dropdown-item:hover { background: rgba(230,57,70,.08); color: var(--primary); }

/* ── SKELETON LOADER ── */
.skeleton {
    will-change: background-position;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    border-radius: 8px;
}
@keyframes skeleton {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── IMPROVED HERO (mobile) ── */
@media (max-width: 576px) {
    .hero { min-height: 80vh; padding: 2rem 0; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
    .hero-stat .num { font-size: 1.5rem; }
}

/* ── IMPROVED SECTION SPACING ── */
@media (max-width: 768px) {
    .section-title { font-size: 1.5rem; }
    .menu-card-img { height: 160px; }
    .form-card { padding: 1.25rem; }
}

/* ── STICKY CART SUMMARY ── */
.order-summary-card { position: sticky; top: 90px; }

/* ── FOCUS STYLES ── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ── NICE SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e0; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #a0aec0; }

/* ── CHECKOUT ── */
.checkout-section {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.checkout-section .section-heading {
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid #f5f5f5;
}

/* Order type toggle */
.order-type-btn {
    display: block;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all .2s;
    background: #fafafa;
    font-weight: 600;
    font-size: .85rem;
    color: #555;
}
.btn-check:checked + .order-type-btn {
    border-color: var(--primary);
    background: #fff5f5;
    color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230,57,70,.1);
}
.order-type-btn:hover { border-color: var(--primary); background: #fff5f5; }

/* Payment method cards */
.pay-method-btn {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all .2s;
    background: #fafafa;
    font-weight: 600;
    font-size: .88rem;
    color: #444;
}
.btn-check:checked + .pay-method-btn {
    border-color: var(--primary);
    background: #fff5f5;
    color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230,57,70,.1);
}
.pay-method-btn:hover { border-color: var(--primary); background: #fff5f5; }
.pay-method-btn .bi { font-size: 1.2rem; }

/* ── Bank transfer info box ── */
.bank-transfer-box {
    background: linear-gradient(135deg,#1d1d2c 0%,#2d2d3d 100%);
    border-radius: 14px;
    overflow: hidden;
    animation: fadeUp .25s ease both;
}
.bank-transfer-header {
    display: flex;
    align-items: center;
    padding: .75rem 1.1rem;
    background: rgba(255,255,255,.06);
    font-weight: 700;
    font-size: .9rem;
    color: rgba(255,255,255,.8);
}
.bank-transfer-body { padding: .85rem 1.1rem; }
.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .4rem 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.bank-row:last-child { border: none; }
.bank-key  { font-size: .78rem; color: rgba(255,255,255,.45); font-weight: 600; }
.bank-val  { font-weight: 700; color: #fff; font-size: .9rem; }
.bank-acct-num { font-size: 1.25rem; color: #4ade80; letter-spacing: .05em; }
.bank-note {
    margin-top: .65rem;
    font-size: .78rem;
    color: rgba(255,255,255,.45);
    font-style: italic;
}
.bank-amount-row {
    margin: .75rem 1.1rem .85rem;
    padding: .65rem .85rem;
    background: rgba(250,200,0,.08);
    border: 1px solid rgba(250,200,0,.22);
    border-radius: 8px;
    font-size: .84rem;
    color: rgba(255,255,255,.85);
    line-height: 1.5;
}
.btn-copy-acct {
    background: rgba(255,255,255,.1);
    border: none;
    color: rgba(255,255,255,.7);
    border-radius: 6px;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.btn-copy-acct:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ── SCROLL REVEAL (data-animate) ── */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s ease, transform .5s ease;
}
[data-animate].animate-visible {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════════════════════
   MISSING COMPONENT STYLES + FULL MOBILE RESPONSIVENESS
   ═══════════════════════════════════════════════════════════ */

/* ── CART COMPONENTS ── */
.cart-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: .5rem 1rem;
}
.cart-item {
    border-bottom: 1px solid #f5f5f5;
    transition: opacity .25s, transform .25s;
}
.cart-item:last-child { border-bottom: none; }
.btn-remove-cart {
    background: none;
    border: none;
    color: #cbd5e0;
    padding: .3rem .5rem;
    border-radius: 8px;
    transition: all .2s;
    cursor: pointer;
    flex-shrink: 0;
}
.btn-remove-cart:hover { color: var(--primary); background: rgba(230,57,70,.08); }

/* ── MENU PAGE — SEARCH BOX ── */
.search-box {
    position: relative;
}
.search-box > i {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: .9rem;
    pointer-events: none;
    z-index: 2;
}
.search-box input {
    padding-left: 2.5rem;
    border-radius: 50px !important;
}

/* ── MENU PAGE — CATEGORY TABS ── */
.cat-tabs {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    padding-bottom: .4rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: .5rem !important;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1.1rem;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    color: var(--dark);
    font-weight: 600;
    font-size: .83rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s;
    background: #fff;
    flex-shrink: 0;
}
.cat-tab:hover, .cat-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ── MENU PAGE — CARD COMPONENTS ── */
.menu-card-img-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #f0ebe3;
}
.menu-card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.menu-card:hover .menu-card-img-wrap img { transform: scale(1.06); }

/* Allow .menu-card-img on <img> directly (menu.ejs usage) */
img.menu-card-img {
    width: 100%; height: 180px;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.menu-card:hover img.menu-card-img { transform: scale(1.06); }

.menu-card-name {
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: .25rem;
    color: var(--dark);
    line-height: 1.3;
}
.menu-card-desc {
    color: var(--text-muted);
    font-size: .8rem;
    line-height: 1.5;
}
.menu-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}
.btn-add-cart {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: .85rem;
    padding: .5rem 1rem;
    cursor: pointer;
    transition: background .2s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
}
.btn-add-cart:hover { background: #c1121f; color: #fff; }
.btn-add-cart:disabled { opacity: .6; cursor: not-allowed; }

.menu-section-header { margin-bottom: 1rem; }
.section-divider {
    width: 40px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    margin-top: .35rem;
}

/* ── TABLE QR BANNER ── */
.table-qr-banner {
    background: var(--primary);
    color: #fff;
    padding: .55rem 0;
    font-size: .88rem;
    font-weight: 600;
}

/* ── PAGE HERO (non-home pages) ── */
.page-hero {
    padding: 2rem 0;
    min-height: 100px;
}

/* ── MOBILE BREAKPOINTS ── */

/* ≤ 992px (tablets + phones) */
@media (max-width: 991.98px) {
    /* Order summary — not sticky on small screens */
    .order-summary-card {
        position: static !important;
        top: auto !important;
    }

    /* Navbar collapse — style auth buttons full-width */
    #navMenu .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: .35rem;
    }
    #navMenu .d-flex.align-items-center.gap-2 {
        flex-direction: column;
        align-items: stretch !important;
        gap: .35rem !important;
    }
    .dropdown { width: 100%; }
    .dropdown > .btn { width: 100%; }
}

/* ≤ 768px (phones landscape + portrait) */
@media (max-width: 767.98px) {
    /* Cart item — stack controls below name on small phones */
    .cart-item.d-flex {
        flex-wrap: wrap;
        gap: .5rem !important;
    }
    .cart-item .flex-grow-1 { min-width: 0; width: 100%; }
    .cart-item > .d-flex { width: 100%; justify-content: space-between; }

    /* Menu filters — full width on mobile */
    .menu-filter-form .form-select { width: 100% !important; }

    /* Checkout — tighter padding */
    .checkout-section { padding: 1rem; }
    .checkout-section .section-heading { font-size: .88rem; }

    /* Order type toggle labels — smaller text */
    .order-type-btn { font-size: .78rem; padding: .6rem .25rem; }
    .order-type-btn i { font-size: 1.2rem !important; }

    /* Payment method — fit in 2-col layout */
    .pay-method-btn { font-size: .8rem; padding: .65rem .75rem; }
    .pay-method-btn .bi { font-size: 1rem; }

    /* Hero stats */
    .hero-stats { gap: 1.2rem; }
    .hero-stat + .hero-stat::before { left: -.6rem; }
    .stat-number { font-size: 1.5rem; }

    /* Menu card image shorter on phones */
    .menu-card-img-wrap { height: 150px; }
    img.menu-card-img { height: 150px; }

    /* Page hero tighter */
    .page-hero { padding: 1.25rem 0; }
}

/* ≤ 576px (small phones) */
@media (max-width: 575.98px) {
    /* Reduce section vertical padding */
    .perks-section,
    .specialties-section,
    .featured-section,
    .steps-section,
    .reviews-section,
    .cta-banner { padding: 3rem 0; }

    /* Hero CTA buttons stack */
    .hero-btns { flex-direction: column; gap: .6rem; }
    .btn-hero-primary,
    .btn-hero-secondary { text-align: center; padding: .8rem 1.5rem; }

    /* Footer columns reflow */
    .footer-top .row > [class*="col-6"] { margin-bottom: .5rem; }

    /* Back-to-top — higher from bottom for iOS home bar */
    #backToTop { bottom: 2.5rem; right: 1rem; }

    /* Toast — full width on small phones */
    #toast-container { right: .75rem; left: .75rem; bottom: 3rem; }
    #toast-container > div { max-width: 100% !important; }

    /* Stat cards — smaller numbers */
    .stat-number { font-size: 1.35rem; }
    .stat-label { font-size: .68rem; }

    /* Form card padding */
    .form-card { padding: 1.25rem; }

    /* Menu card — 2 cols is tight; show full card desc truncated */
    .menu-card-name { font-size: .88rem; }
    .menu-card-price { font-size: 1rem; }
    .btn-add-cart { font-size: .8rem; padding: .45rem .75rem; }

    /* Promo section */
    .promo-section { padding: .75rem; }

    /* Category pills on home */
    .category-pill { padding: .5rem 1rem; font-size: .82rem; }

    /* Section title smaller */
    .section-title { font-size: 1.5rem; }
    .specialties-title { font-size: 1.5rem; }
    .cta-title { font-size: 1.75rem; }
}

/* ═══════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVENESS FIXES
   ═══════════════════════════════════════════════════ */

/* ── Hero title tighter clamp for phones ── */
.hero-title { font-size: clamp(1.85rem, 5.5vw, 4.2rem); }

/* ── Hide hero stat divider when stats wrap ── */
@media (max-width: 480px) {
    .hero-stat + .hero-stat::before { display: none; }
    .hero-stats { gap: .75rem; flex-wrap: wrap; justify-content: center; }
}

/* ── Navbar: top-bar hidden on mobile (already d-none d-md-flex), ensure no overflow ── */
@media (max-width: 767.98px) {
    #mainNav .container { padding-left: .75rem; padding-right: .75rem; }
    .brand-name { font-size: .95rem; }
    .brand-sub  { font-size: .55rem; }
    .navbar-logo { max-height: 38px; }
}

/* ── Qty controls: increase tap targets ── */
.menu-qty-btn {
    min-width: 36px;
    min-height: 36px;
    width: 36px;
    height: 36px;
}
.menu-qty-val { width: 44px; cursor: default; caret-color: transparent; -webkit-user-select: none; user-select: none; }
.menu-qty-val[readonly] { cursor: default; pointer-events: none; }
@media (max-width: 575.98px) {
    .menu-qty-btn { min-width: 38px; min-height: 38px; width: 38px; height: 38px; }
}

/* ── Qty Stepper ── */
.qty-stepper {
    display: inline-flex;
    align-items: center;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 3px;
    flex-shrink: 0;
}
.qty-step-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(230,57,70,.12);
    color: #e63946;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background .15s, transform .1s;
    flex-shrink: 0;
}
.qty-step-btn:hover { background: rgba(230,57,70,.25); transform: scale(1.1); }
.qty-step-btn:active { transform: scale(.95); }
.qty-step-num {
    min-width: 32px;
    text-align: center;
    font-weight: 700;
    font-size: .95rem;
    color: #1a1a1a;
    -webkit-user-select: none;
    user-select: none;
}
@media (max-width: 575.98px) {
    .qty-step-btn { width: 30px; height: 30px; font-size: 1rem; }
    .qty-step-num { min-width: 28px; font-size: .88rem; }
}

/* ── Home qty row: don't overflow card ── */
.home-qty-row { flex-wrap: nowrap; }
@media (max-width: 575.98px) {
    .home-qty-row .menu-qty-ctrl { flex-shrink: 0; }
    .home-qty-row .btn-add-cart  { min-width: 0; font-size: .78rem; padding: .4rem .5rem; }
}

/* ── Menu page qty row: same overflow fix as .home-qty-row above —
   the qty-stepper + Add button don't fit side-by-side in a 2-column
   mobile card without this ── */
.menu-qty-row { flex-wrap: nowrap; }
@media (max-width: 575.98px) {
    .menu-qty-row .qty-stepper  { flex-shrink: 0; }
    .menu-qty-row .btn-add-cart { min-width: 0; font-size: .78rem; padding: .4rem .5rem; }
}

/* ── Menu page: filter bar stacks on mobile ── */
@media (max-width: 767.98px) {
    .menu-filter-bar { flex-direction: column; gap: .5rem; }
    .menu-filter-bar .form-select,
    .menu-filter-bar .form-control { width: 100% !important; }
}

/* ── Category tab pills: scroll horizontally ── */
.category-tabs-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    padding-bottom: .25rem;
}
.category-tabs-wrap::-webkit-scrollbar { display: none; }
.category-tabs-wrap .d-flex { flex-wrap: nowrap !important; }

/* ── Cart: item row stacks on phone ── */
@media (max-width: 575.98px) {
    .cart-item-row {
        flex-direction: column;
        align-items: flex-start !important;
        gap: .5rem !important;
    }
    .cart-item-row .qty-control { margin-left: 0; }
    .cart-item-row .fw-700[style*="min-width"] { min-width: unset !important; text-align: left !important; }
    /* Promo code stacks */
    .promo-row { flex-direction: column !important; }
    .promo-row input,
    .promo-row button { width: 100% !important; }
}

/* ── Checkout: payment method buttons readable on phones ── */
@media (max-width: 480px) {
    .pay-method-btn { font-size: .75rem !important; padding: .65rem .5rem !important; }
    .pay-method-btn .bi { font-size: .95rem !important; }
}
/* On phones, stack order summary below form (not sticky) */
@media (max-width: 991.98px) {
    .order-summary-card { position: static !important; }
}
/* Bank transfer box full-width on mobile */
@media (max-width: 575.98px) {
    .bank-transfer-box { border-radius: 10px; }
    .bank-acct-num { font-size: 1.1rem !important; }
}

/* ── Track order: metadata stacks on phone ── */
@media (max-width: 575.98px) {
    .track-meta [class*="col-6"] { width: 100%; }
    #deliveryMap { height: 180px !important; }
}

/* ── Order tracking steps: scrollable row on phones ── */
@media (max-width: 575.98px) {
    .order-track-steps {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        padding-bottom: .5rem;
    }
    .order-track-step { min-width: 80px; }
}

/* ── About page stats ── */
@media (max-width: 575.98px) {
    .about-stat-num  { font-size: 1.5rem !important; }
    .about-stat-label{ font-size: .65rem !important; }
}

/* ── Footer: full-width on phones ── */
@media (max-width: 575.98px) {
    .footer-top [class*="col-6"] { width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; margin-bottom: 1.25rem; }
    .footer-logo-area { text-align: center; }
    .footer-logo-area p { text-align: center; }
    .footer-social { justify-content: center; }
    .footer-bottom .d-flex { flex-direction: column; gap: .25rem; text-align: center; }
}

/* ── Addon modal: no overflow on phones ── */
@media (max-width: 575.98px) {
    .modal-dialog { margin: .5rem; max-width: calc(100vw - 1rem); }
    .modal-content { max-width: 100%; }
    .addon-option { padding: .55rem .75rem; }
    .addon-option-name { font-size: .82rem; }
}

/* ── Perks v2: 1-col on very small phones ── */
@media (max-width: 400px) {
    .perk-card-v2 { padding: 1.25rem 1rem; }
    .perk-icon-v2 { width: 56px; height: 56px; font-size: 1.4rem; }
    .perk-num     { font-size: 3rem; }
    .perk-title-v2{ font-size: .9rem; }
}

/* ── Menu cards: better 2-col layout on phones ── */
@media (max-width: 575.98px) {
    .menu-card-body { padding: .75rem; }
    .menu-card-name { font-size: .85rem; margin-bottom: .2rem; }
    .menu-card-desc { font-size: .72rem; -webkit-line-clamp: 2; }
    .menu-card-price{ font-size: .95rem; }
    .menu-card-time { font-size: .72rem; }
    /* Qty row tighter */
    .menu-qty-row { gap: .35rem; }
}

/* ── Featured section cards on phones ── */
@media (max-width: 575.98px) {
    .featured-section .menu-card-body { padding: .75rem .65rem; }
}

/* ── Steps section: 2x2 grid stacks better ── */
@media (max-width: 575.98px) {
    .step-icon { width: 56px; height: 56px; font-size: 1.4rem; }
    .step-number{ width: 26px; height: 26px; font-size: .75rem; }
}

/* ── Reviews: card text smaller on phone ── */
@media (max-width: 575.98px) {
    .review-card { padding: 1.25rem; }
    .review-text  { font-size: .82rem; }
}

/* ── General: all tables wrapped ── */
.table-responsive-always { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 767.98px) {
    .table { min-width: 500px; }
    .admin-table { font-size: .8rem; }
}

/* ── Input / select tap targets ── */
@media (max-width: 767.98px) {
    .form-control,
    .form-select { min-height: 44px; font-size: 16px !important; /* prevents iOS zoom */ }
    .btn { min-height: 40px; }
}

/* ── Cart badge: scale on small phones ── */
@media (max-width: 380px) {
    .cart-badge { width: 17px; height: 17px; font-size: .58rem; }
}

/* ── Admin pages on mobile ── */
@media (max-width: 767.98px) {
    .admin-card-header { flex-wrap: wrap; gap: .4rem; }
    .report-filter-row { flex-direction: column; }
    .report-date-group,
    .report-date-action { width: 100% !important; flex: 1 1 100% !important; }
    .pstatus-grid { grid-template-columns: 1fr; }
    .rpt-net-banner { flex-direction: column; gap: .75rem; }
    .rpt-net-icon   { display: none; }
}

/* ── Chef dashboard on mobile ── */
@media (max-width: 575.98px) {
    .kitchen-order-card { padding: 1rem; }
}

/* ── Prevent horizontal scroll globally ── */
body { overflow-x: hidden; }
.container, .container-fluid { max-width: 100%; }
