/* ═══════════════════════════════════════════════════════
   RESPONSIVE.CSS — Mobile & Tablet Optimization
   Le Maison Yelo Lane
   Safe add-on: Does NOT override desktop styles.
   Only activates at smaller breakpoints.
   ═══════════════════════════════════════════════════════ */

/* ─── GLOBAL OVERFLOW FIX ─── */
html,
body {
    overflow-x: hidden;
}

/* ─── MOBILE SIDE DRAWER NAVIGATION ─── */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 310px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #4E342E 0%, #3E2723 100%);
    color: #FFFFFF;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
}

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

.mobile-drawer-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.15);
}

.mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-drawer-brand img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.mobile-drawer-brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    color: #FFFFFF;
}

.mobile-drawer-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #FFFFFF;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mobile-drawer-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0.9rem 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 14px;
    transition: all 0.25s ease;
    background: transparent;
}

.mobile-nav-item i {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.25s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    transform: translateX(4px);
}

.mobile-nav-item:hover i,
.mobile-nav-item.active i {
    color: #E0C097;
}

.mobile-nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.mobile-drawer-footer {
    padding: 1.25rem 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.15);
}

.mobile-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-user-avatar-initial {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #8B634B;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.mobile-user-avatar-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

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

.mobile-user-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-user-email {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-mobile-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.btn-mobile-signin {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-mobile-signin:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-mobile-join {
    background: #8B634B;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(139, 99, 75, 0.4);
}

.btn-mobile-join:hover {
    background: #5D4037;
}

.btn-mobile-logout {
    width: 100%;
    background: rgba(255, 82, 82, 0.15);
    color: #FF5252 !important;
    border: 1px solid rgba(255, 82, 82, 0.3);
}

.btn-mobile-logout:hover {
    background: rgba(255, 82, 82, 0.25);
}


/* ═══════════════════════════════════════
   TABLET BREAKPOINT (768px - 1024px)
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {

    /* Navbar brand spacing */
    .navBrand span {
        font-size: 1rem !important;
    }

    /* Footer adjustments */
    footer .row {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}


/* ═══════════════════════════════════════
   MOBILE BREAKPOINT (max-width: 767px)
   ═══════════════════════════════════════ */
@media (max-width: 767px) {

    /* ── NAVBAR ── */
    .main-nav {
        padding: 0.6rem 0 !important;
    }

    .nav-scrolled,
    .nav-always-solid {
        padding: 0.5rem 0 !important;
    }

    .navBrand {
        font-size: 0.9rem !important;
        gap: 8px !important;
    }

    .navBrand span {
        font-size: 0.85rem !important;
        letter-spacing: 1px !important;
    }

    .navbar-toggler {
        font-size: 1.1rem;
        padding: 0.4rem 0.6rem;
    }

    /* ── HERO SECTION 1 (Homepage) ── */
    .main-container section:first-child {
        min-height: 85vh !important;
    }

    .main-container section:first-child h1 {
        font-size: 2.2rem !important;
        line-height: 1.15 !important;
        margin-bottom: 1rem !important;
    }

    .main-container section:first-child p {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }

    .main-container section:first-child .btn-premium {
        padding: 0.85rem 2rem !important;
        font-size: 0.85rem !important;
        letter-spacing: 1px !important;
    }

    /* Hero content overlay - center on mobile */
    .main-container section:first-child>div:nth-child(2) {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        justify-content: center !important;
    }

    .main-container section:first-child>div:nth-child(2)>div {
        text-align: center !important;
        max-width: 100% !important;
    }

    /* Hero gradient - cover evenly on mobile */
    .main-container section:first-child>div:first-child>div:last-child {
        background: linear-gradient(180deg, rgba(12, 12, 12, 0.85) 0%, rgba(12, 12, 12, 0.6) 60%, rgba(12, 12, 12, 0.85) 100%) !important;
    }


    /* ── HERO SECTION 2 (Split Layout) ── */
    .main-container .row.align-items-center.mb-5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 16px !important;
    }

    .main-container .row.align-items-center.mb-5 .col-md-6.p-5 {
        padding: 2rem 1.5rem !important;
        text-align: center !important;
    }

    .main-container .row.align-items-center.mb-5 .col-md-6.p-5 h2 {
        font-size: 2rem !important;
    }

    .main-container .row.align-items-center.mb-5 .col-md-6.p-5 p {
        margin-left: auto !important;
        margin-right: auto !important;
    }


    /* ── MENU CATEGORIES GRID ── */
    .main-container section.mx-0 div[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .main-container section.mx-0 h2[style*="Playfair"] {
        font-size: 1.8rem !important;
    }

    /* Category card image height */
    .category-card div[style*="height: 160px"] {
        height: 120px !important;
    }

    .category-card div[style*="padding: 1.15rem"] {
        padding: 0.85rem 1rem !important;
    }

    .category-card h4 {
        font-size: 0.9rem !important;
    }

    .category-card p {
        font-size: 0.75rem !important;
    }


    /* ── CONTENT CARDS (Why us / Features) ── */
    .main-container .row.mt-5.mb-5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .main-container .card.flex-md-row {
        flex-direction: column !important;
    }

    .main-container .card.flex-md-row .col-md-5 {
        min-height: 200px !important;
    }

    .main-container .card.flex-md-row .card-body {
        padding: 2rem 1.5rem !important;
    }

    .main-container .card.flex-md-row .card-body h3 {
        font-size: 1.3rem !important;
    }


    /* ── WHY DINE WITH US ── */
    .main-container section[style*="background-color: #ffffff"] .col-md-3 {
        text-align: center;
    }

    .main-container section[style*="background-color: #ffffff"] .container h2 {
        font-size: 1.8rem !important;
    }

    .main-container section[style*="background-color: #ffffff"] .col-md-3>div:first-child {
        font-size: 2.5rem !important;
    }

    .main-container section[style*="background-color: #ffffff"] .col-md-3 h5 {
        font-size: 1rem !important;
    }


    /* ── REVIEWS ── */
    .main-container section[style*="background-color: #ffffff"][class*="py-5"] .col-md-5 .p-5 {
        padding: 1.5rem !important;
    }

    .main-container section[style*="background-color: #ffffff"][class*="py-5"] h2 {
        font-size: 1.8rem !important;
    }


    /* ── MAP & LOCATION ── */
    .main-container section.py-5 .col-md-6.p-5 {
        padding: 2rem 1.5rem !important;
    }

    .main-container section.py-5 .col-md-6.p-5 h2 {
        font-size: 1.8rem !important;
    }

    .main-container section.py-5 .col-md-6[style*="min-height: 400px"] {
        min-height: 250px !important;
    }


    /* ── MENU PAGE ── */
    /* Menu hero banner */
    div[style*="height: 400px"][style*="border-radius: 20px"] {
        height: 250px !important;
        border-radius: 12px !important;
        margin-bottom: 2rem !important;
    }

    div[style*="height: 400px"] h1,
    div[style*="height: 250px"] h1 {
        font-size: 2.2rem !important;
    }

    div[style*="height: 400px"] p.fs-4,
    div[style*="height: 250px"] p.fs-4 {
        font-size: 0.95rem !important;
    }

    /* Menu categories grid on menu page */
    div[style*="grid-template-columns: repeat(auto-fill, minmax(280px, 1fr))"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    /* Menu item cards grid */
    div[style*="grid-template-columns: repeat(auto-fill, minmax(320px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Menu item card image */
    div[style*="height: 250px"][style*="overflow: hidden"][style*="position: relative"] {
        height: 200px !important;
    }

    /* Menu item card body */
    .card-body.p-4.p-md-5 {
        padding: 1.5rem !important;
    }

    .card-body h4[style*="font-size: 1.5rem"] {
        font-size: 1.2rem !important;
    }

    /* Back to categories button */
    .back-btn {
        font-size: 0.9rem !important;
        padding: 0.75rem 1.5rem !important;
    }

    /* Menu page CTA */
    div[style*="border-radius: 24px"][style*="border: 1px dashed"] {
        padding: 2rem 1.5rem !important;
    }

    div[style*="border-radius: 24px"][style*="border: 1px dashed"] h3 {
        font-size: 1.4rem !important;
    }


    /* ── TOAST NOTIFICATIONS ── */
    .toast-notif {
        min-width: unset !important;
        max-width: calc(100vw - 40px) !important;
        margin-left: auto;
    }

    #toastContainer {
        right: 10px !important;
        left: 10px !important;
    }


    /* ── NOTIFICATION PANEL ── */
    #userNotifPanel {
        width: calc(100vw - 20px) !important;
        right: -10px !important;
    }


    /* ── FOOTER ── */
    footer {
        margin-top: 3rem !important;
    }

    footer .row {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    footer h6 {
        font-size: 0.8rem !important;
        margin-bottom: 1rem !important;
    }

    footer ul li {
        margin-bottom: 0.4rem !important;
    }

    footer ul li a {
        font-size: 0.78rem !important;
    }

    footer .list-inline {
        text-align: center !important;
    }

    footer .list-inline-item {
        display: inline !important;
        font-size: 0.7rem !important;
    }

    footer .col-md-4.text-md-end {
        text-align: center !important;
    }

    /* Footer brand */
    footer .col-12.col-lg-4 {
        align-items: center !important;
        text-align: center;
    }

    footer .col-12.col-lg-4 p {
        text-align: center !important;
    }


    /* ── GENERAL UTILITIES ── */
    .container-fluid.main-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Sections with mx-md-4 on desktop, ensure full width on mobile */
    section.mx-0 {
        padding-left: 1rem;
        padding-right: 1rem;
    }


    /* ── CHATBOT WIDGET ── */
    .chatbot-btn {
        width: 50px !important;
        height: 50px !important;
        bottom: 15px !important;
        right: 15px !important;
    }

    .chatbot-window {
        width: calc(100vw - 20px) !important;
        right: 10px !important;
        bottom: 75px !important;
        max-height: 70vh !important;
    }


    /* ── FORM WRAPPER (Login/Signup) ── */
    .form-wrapper {
        padding: 2rem 1.5rem !important;
        border-radius: 16px !important;
        margin: 0 0.5rem !important;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .title {
        font-size: 1.5rem !important;
    }

    /* ── STEPPER ── */
    .step-label {
        font-size: 0.6rem !important;
    }

    .step-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }
}


/* ═══════════════════════════════════════
   SMALL PHONE (max-width: 400px)
   ═══════════════════════════════════════ */
@media (max-width: 400px) {
    .main-container section:first-child h1 {
        font-size: 1.8rem !important;
    }

    .main-container section:first-child p {
        font-size: 0.85rem !important;
    }

    /* Category cards: single column on tiny screens */
    .main-container section.mx-0 div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns: repeat(auto-fill, minmax(280px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }

    /* Footer: single column */
    footer .col-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .navBrand span {
        font-size: 0.75rem !important;
    }
}


/* ═══════════════════════════════════════
   CART PAGE — Mobile
   ═══════════════════════════════════════ */
@media (max-width: 767px) {
    .cartPage {
        margin-top: 4.5rem !important;
        padding: 0 1rem !important;
    }

    .cartHead h2 {
        font-size: 1.4rem !important;
    }

    .cartGrid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .cartItem {
        grid-template-columns: 24px 50px 1fr auto !important;
        gap: 0.6rem !important;
        padding: 0.9rem !important;
    }

    .cartItem-img,
    .cartItem-noImg {
        width: 50px !important;
        height: 50px !important;
        border-radius: 10px !important;
    }

    .cartItem-name {
        font-size: 0.82rem !important;
    }

    .cartItem-subtotal {
        font-size: 0.9rem !important;
        min-width: auto !important;
    }

    .cartItem-price {
        display: none !important;
    }

    .qty-control-wrap {
        display: none !important;
    }

    .cartSummary {
        position: static !important;
        border-radius: 16px !important;
        padding: 1.5rem !important;
    }

    .cartSummary h5 {
        font-size: 1.1rem !important;
    }

    .cartOpt label {
        font-size: 0.75rem !important;
        padding: 0.5rem 0.5rem !important;
    }

    .cartSubmit {
        font-size: 0.9rem !important;
    }

    .cartList {
        max-height: 350px !important;
    }

    /* Cart controls */
    .cart-controls {
        flex-direction: row !important;
        gap: 0.5rem;
    }

    .cart-controls label {
        font-size: 0.85rem !important;
    }
}


/* ═══════════════════════════════════════
   USER HOME / DASHBOARD — Mobile
   ═══════════════════════════════════════ */
@media (max-width: 767px) {
    .dashHero {
        height: 40vh !important;
        min-height: 280px !important;
    }

    .dashHero-text h1 {
        font-size: 1.8rem !important;
    }

    .dashHero-text .greeting {
        font-size: 0.95rem !important;
    }

    .dashHero-text .tagline {
        font-size: 0.65rem !important;
        letter-spacing: 2px !important;
    }

    .dashWrap {
        padding: 0 1rem !important;
    }

    .dashStats {
        margin-top: -30px !important;
        gap: 0.75rem !important;
    }

    .dashStat {
        padding: 1.25rem !important;
        border-radius: 14px !important;
        gap: 1rem !important;
    }

    .dashStat h3 {
        font-size: 1.5rem !important;
    }

    .dashStat-icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
        font-size: 1.1rem !important;
    }

    .dashPanels {
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }

    .dashPanel {
        padding: 1.25rem !important;
        border-radius: 14px !important;
    }

    .dashPanel-head h5 {
        font-size: 0.95rem !important;
    }

    .dashPanel-head .panelBtn {
        font-size: 0.65rem !important;
        padding: 0.35rem 0.85rem !important;
    }

    .dashItem {
        padding: 0.8rem !important;
        border-radius: 10px !important;
    }

    .dashItem .itemTitle {
        font-size: 0.82rem !important;
    }

    .dashSecHead {
        margin-top: 2.5rem !important;
    }

    .dashSecHead h3 {
        font-size: 1.3rem !important;
    }

    .dashSecHead .secBtn {
        font-size: 0.75rem !important;
        padding: 0.45rem 1rem !important;
    }

    /* Menu cards */
    .dashMenuGrid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .dashMenuCard .mcImg {
        height: 130px !important;
    }

    .dashMenuCard .mcInfo {
        padding: 0.8rem 0.9rem !important;
    }

    .dashMenuCard .mcInfo h6 {
        font-size: 0.85rem !important;
    }

    .dashMenuCard .mcInfo .mcPrice {
        font-size: 0.85rem !important;
    }

    /* Category cards on dashboard */
    .dashCatGrid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .dashCatCard .ccImg {
        height: 100px !important;
    }

    .dashCatCard .ccInfo {
        padding: 0.7rem 0.9rem !important;
    }

    .dashCatCard .ccInfo h5 {
        font-size: 0.82rem !important;
    }

    /* Location */
    .dashLocation {
        grid-template-columns: 1fr !important;
        margin: 2rem 0 !important;
        border-radius: 16px !important;
    }

    .dashLocInfo {
        padding: 1.5rem !important;
    }

    .dashLocInfo h3 {
        font-size: 1.4rem !important;
        margin-bottom: 1.25rem !important;
    }

    .dashLocation iframe {
        height: 200px !important;
        min-height: 200px !important;
    }
}


/* ═══════════════════════════════════════
   MY ORDERS — Mobile
   ═══════════════════════════════════════ */
@media (max-width: 767px) {

    /* Order cards */
    .order-card {
        border-radius: 14px !important;
    }

    .order-card .card-body {
        padding: 1.25rem !important;
    }

    /* Order summary */
    .order-items-table {
        font-size: 0.82rem !important;
    }
}


/* ═══════════════════════════════════════
   CHECKOUT — Mobile
   ═══════════════════════════════════════ */
@media (max-width: 767px) {
    .checkout-page {
        margin-top: 4.5rem !important;
        padding: 0 1rem !important;
    }

    .checkout-card {
        border-radius: 14px !important;
        padding: 1.25rem !important;
    }
}


/* ═══════════════════════════════════════
   ABOUT PAGE — Mobile
   ═══════════════════════════════════════ */
@media (max-width: 767px) {
    .about-hero {
        height: 250px !important;
    }

    .about-hero h1 {
        font-size: 2rem !important;
    }
}


/* ═══════════════════════════════════════
   HOT MENU ITEMS GRID — Full Cover Image & Hover Zoom
   ═══════════════════════════════════════ */
@media (max-width: 991px) {
    .lm-menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 1.25rem !important;
        width: 100% !important;
    }

    .lm-menu-card,
    .lm-menu-card:nth-child(n+4):nth-child(-n+6),
    .lm-menu-card:nth-child(n+10):nth-child(-n+12) {
        position: relative !important;
        flex-direction: column !important;
        height: 320px !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        overflow: hidden !important;
        background: transparent !important;
        margin: 0 !important;
    }

    .lm-menu-card .img-wrap {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        z-index: 1 !important;
    }

    .lm-menu-card .img-wrap img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    }

    .lm-menu-card:hover .img-wrap img {
        transform: scale(1.08) !important;
    }

    .lm-menu-card .menu-text,
    .lm-menu-card:nth-child(n+4):nth-child(-n+6) .menu-text,
    .lm-menu-card:nth-child(n+10):nth-child(-n+12) .menu-text {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: auto !important;
        padding: 3rem 1.25rem 1.25rem !important;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 35%, rgba(0, 0, 0, 0.88) 100%) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        text-align: left !important;
        z-index: 2 !important;
    }

    .lm-menu-card .menu-text h6 {
        font-size: 1.3rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.4rem !important;
        color: #FFFFFF !important;
        font-family: 'Playfair Display', serif !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
    }

    .lm-menu-card .menu-text p {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.5 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
    }

    .lm-menu-card .menu-text .price-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-top: 0.5rem !important;
    }

    .lm-menu-card .menu-text .price {
        font-size: 1.3rem !important;
        font-weight: 800 !important;
        color: #E0C097 !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9) !important;
    }

    .lm-menu-card .menu-text .btn-order {
        padding: 8px 24px !important;
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        border-radius: 50px !important;
        background: #8B634B !important;
        color: #FFFFFF !important;
        border: none !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
    }

    .lm-menu-card .menu-text .btn-order:hover {
        background: #5D4037 !important;
        transform: translateY(-2px) !important;
    }
}


/* ═══════════════════════════════════════
   TABBED MENU (FULL MENU) — Mobile Optimization
   ═══════════════════════════════════════ */
@media (max-width: 991px) {
    .lm-tab-content-area {
        padding: 3rem 1.5rem !important;
    }

    .lm-nav-pills {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        padding-bottom: 10px !important;
        margin-bottom: 2rem !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .lm-nav-pills::-webkit-scrollbar {
        display: none !important;
    }

    .lm-nav-pills .nav-link {
        white-space: nowrap !important;
        border-radius: 50px !important;
        padding: 10px 22px !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.8px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        color: rgba(255, 255, 255, 0.85) !important;
        transition: all 0.25s ease !important;
    }

    .lm-nav-pills .nav-link.active,
    .lm-nav-pills .nav-link:hover {
        background: #8B634B !important;
        border-color: #8B634B !important;
        color: #FFFFFF !important;
        box-shadow: 0 4px 14px rgba(139, 99, 75, 0.4) !important;
    }

    .lm-tab-item {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 20px !important;
        padding: 1.75rem 1.25rem !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
        transition: all 0.3s ease !important;
    }

    .lm-tab-item:hover {
        transform: translateY(-2px) !important;
        border-color: rgba(224, 192, 151, 0.3) !important;
    }

    .lm-tab-item .img-circle {
        width: 130px !important;
        height: 130px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        margin: 0 auto 1.25rem !important;
        border: 3px solid rgba(224, 192, 151, 0.35) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
    }

    .lm-tab-item h5 {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        color: #FFFFFF !important;
        margin-bottom: 0.5rem !important;
        font-family: 'Playfair Display', serif !important;
    }

    .lm-tab-item p {
        font-size: 0.88rem !important;
        color: rgba(255, 255, 255, 0.72) !important;
        line-height: 1.6 !important;
        margin-bottom: 1.25rem !important;
    }

    .lm-tab-item .price {
        font-size: 1.25rem !important;
        font-weight: 800 !important;
        color: #E0C097 !important;
        margin-bottom: 1.25rem !important;
        display: block !important;
    }

    .lm-tab-item .btn-add {
        display: inline-block !important;
        padding: 9px 26px !important;
        border-radius: 50px !important;
        background: #8B634B !important;
        color: #FFFFFF !important;
        border: none !important;
        font-weight: 700 !important;
        font-size: 0.85rem !important;
        box-shadow: 0 4px 14px rgba(139, 99, 75, 0.35) !important;
        text-decoration: none !important;
        transition: all 0.25s ease !important;
    }

    .lm-tab-item .btn-add:hover {
        background: #5D4037 !important;
    }
}


/* ═══════════════════════════════════════
   SHOP MENU PAGE (/menu) — Mobile Optimization
   ═══════════════════════════════════════ */
@media (max-width: 767px) {
    /* Hero Banner */
    div[style*="height: 400px; border-radius: 20px;"] {
        height: 220px !important;
        margin-top: 75px !important;
        margin-bottom: 2rem !important;
        border-radius: 16px !important;
    }

    div[style*="height: 400px; border-radius: 20px;"] h1 {
        font-size: 2.2rem !important;
        margin-bottom: 0.25rem !important;
    }

    div[style*="height: 400px; border-radius: 20px;"] p {
        font-size: 0.88rem !important;
        letter-spacing: 1px !important;
    }

    /* Explore & Filter Control Buttons Bar */
    .menu-controls {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.75rem !important;
        margin-bottom: 2.5rem !important;
        padding: 0 0.5rem !important;
    }

    .btn-outline-menu {
        padding: 0.65rem 1.25rem !important;
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        border-radius: 50px !important;
        background: #FFFFFF !important;
        border: 1px solid rgba(139, 99, 75, 0.25) !important;
        color: #4E342E !important;
        box-shadow: 0 4px 12px rgba(93, 64, 55, 0.08) !important;
        gap: 0.5rem !important;
    }

    .btn-outline-menu i {
        font-size: 1rem !important;
        color: #8B634B !important;
    }

    /* Category Grid Header & Cards */
    #categories-grid-view h2 {
        font-size: 1.6rem !important;
        margin-bottom: 1.5rem !important;
    }

    #categories-grid-view > div[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .category-card {
        border-radius: 18px !important;
        overflow: hidden !important;
        background: transparent !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Menu Items Grid View */
    .menu-items-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .menu-item-card {
        border-radius: 16px !important;
        overflow: hidden !important;
        background: #FFFFFF !important;
        border: 1px solid rgba(139, 99, 75, 0.1) !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05) !important;
    }

    .menu-item-img-wrap {
        height: 135px !important;
    }

    .menu-item-info {
        padding: 0.75rem !important;
    }

    .menu-item-name {
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        color: #3E2723 !important;
    }

    .menu-item-price {
        font-size: 0.9rem !important;
        font-weight: 800 !important;
        color: #8B634B !important;
    }

    /* Filter Drawer on Mobile */
    .filter-drawer {
        width: 310px !important;
        max-width: 85vw !important;
        right: -310px !important;
    }
}


/* ═══════════════════════════════════════
   CRYSTAL CLEAR CATEGORY CARDS (WITH GRADIENT TEXT OVERLAY)
   ═══════════════════════════════════════ */
.category-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.category-card {
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent !important;
    padding: 0 !important;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.category-card-inner {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 20px;
}

.category-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card:hover .category-card-img {
    transform: scale(1.08);
}

.category-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4E342E, #3E2723);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-glass-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.25rem 1.1rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0.85) 100%);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
}

.category-card:hover .category-glass-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 35%, rgba(0, 0, 0, 0.92) 100%);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.category-card-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.category-card-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #E0C097;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

@media (max-width: 767px) {
    .category-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        padding: 0 !important;
    }

    .category-card-inner {
        height: 220px !important;
        border-radius: 18px !important;
    }

    .category-glass-overlay {
        padding: 1.8rem 1rem 0.9rem !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .category-card-title {
        font-size: 1.05rem !important;
        font-weight: 700 !important;
    }

    .category-card-link {
        font-size: 0.75rem !important;
    }
}


/* ═══════════════════════════════════════
   MY ORDERS PAGE (/my-orders) — Mobile Optimization
   ═══════════════════════════════════════ */
@media (max-width: 767px) {
    .moPage {
        padding: 6rem 1rem 3rem !important;
    }

    .moHeader {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .moHeader h2 {
        font-size: 1.6rem !important;
    }

    .moOrderBtn {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.75rem 1.25rem !important;
    }

    /* 2x2 Balanced Grid for Stat Cards */
    .moStats,
    #moStatsBar {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem !important;
        margin-bottom: 1.5rem !important;
    }

    .moStat {
        padding: 1.1rem 0.75rem !important;
        border-radius: 20px !important;
    }

    .moStat h4 {
        font-size: 1.7rem !important;
    }

    .moStat p {
        font-size: 0.72rem !important;
    }

    /* Touch-Scrollable Horizontal Filter Pills */
    .moTabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        gap: 0.4rem !important;
        padding: 0.4rem !important;
        margin-bottom: 1.5rem !important;
        border-radius: 50px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .moTabs::-webkit-scrollbar {
        display: none !important;
    }

    .moTab {
        padding: 0.55rem 1.25rem !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        border-radius: 50px !important;
    }

    /* Order Cards */
    .moCards,
    #ordersContainer {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .moCard {
        padding: 1.25rem 1rem !important;
        border-radius: 20px !important;
    }

    .moCard-price {
        font-size: 1.2rem !important;
    }

    .moCard-id {
        font-size: 0.95rem !important;
    }

    .moCard-date {
        font-size: 0.75rem !important;
    }

    .moStepper {
        padding: 0.6rem 0.4rem !important;
        gap: 2px !important;
    }

    .moStep {
        font-size: 0.58rem !important;
    }
}


/* ═══════════════════════════════════════
   LOGGED-IN CUSTOMER HOME DASHBOARD — Mobile Optimization
   ═══════════════════════════════════════ */
@media (max-width: 767px) {
    .dashHero {
        height: 240px !important;
        margin-top: 60px !important;
    }

    .dashHero-text h1 {
        font-size: 2rem !important;
        margin-bottom: 0.2rem !important;
    }

    .dashHero-text .greeting {
        font-size: 0.85rem !important;
    }

    .dashHero-text .tagline {
        font-size: 0.78rem !important;
    }

    /* Balanced 2-Column Stat Cards */
    .dashStats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem !important;
        margin-top: -30px !important;
        position: relative !important;
        z-index: 3 !important;
        padding: 0 1rem !important;
    }

    .dashStat {
        background: #FFFFFF !important;
        border-radius: 18px !important;
        padding: 1.1rem 0.85rem !important;
        border: 1px solid rgba(139, 99, 75, 0.12) !important;
        box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.6rem !important;
    }

    .dashStat::after {
        display: none !important;
    }

    .dashStat-icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 14px !important;
        font-size: 1.1rem !important;
    }

    .dashStat h3 {
        font-size: 1.5rem !important;
        font-weight: 800 !important;
        color: #3E2723 !important;
        margin-bottom: 0.1rem !important;
    }

    .dashStat .statLabel {
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        color: #8B634B !important;
    }

    /* Panels & Actions */
    .dashPanels {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        margin-top: 1.5rem !important;
    }

    .dashPanel {
        border-radius: 18px !important;
        padding: 1.25rem 1rem !important;
    }

    .dashActions {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem !important;
    }

    .dashAction {
        padding: 1.25rem 0.85rem !important;
        border-radius: 18px !important;
    }

    .dashAction-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }

    .dashAction h6 {
        font-size: 0.88rem !important;
    }
}