/* =========================================
   ORDER PAGE — MOBILE
========================================= */

.menu-nav-toggle,
.menu-mobile-overlay,
.menu-mobile-drawer,
.mobile-order-label {
    display: none;
}

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        margin: 0;
        overflow-x: hidden;
    }

    body.menu-mobile-open {
        overflow: hidden;
    }


    /* =====================================
       TOP NAVBAR
    ===================================== */

    .order-v2-page .home-nav {
        position: relative;
        z-index: 1000;

        display: grid !important;
        grid-template-columns: 42px minmax(0, 1fr) 76px !important;
        align-items: center !important;
        gap: 9px !important;

        width: 100% !important;
        min-height: 68px;
        padding: 10px 12px !important;
        box-sizing: border-box !important;

        background: #ffffff !important;
        box-shadow: 0 4px 18px rgba(50, 28, 21, 0.09);
    }

    .order-v2-page .home-nav-links {
        display: none !important;
    }


    /* Hamburger */

    .order-v2-page .menu-nav-toggle {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;

        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;

        width: 42px;
        height: 42px;
        margin: 0;
        padding: 0;
        box-sizing: border-box;

        border-radius: 11px;
        background: #fff8f1;
        box-shadow: 0 5px 16px rgba(50, 28, 21, 0.11);

        cursor: pointer;
    }

    .order-v2-page .menu-nav-toggle i {
        display: block;

        width: 20px;
        height: 2px;

        margin: 0;
        padding: 0;

        border-radius: 999px;
        background: #321c15;
    }


    /* Brand */

    .order-v2-page .home-nav-brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;

        display: flex !important;
        align-items: center !important;
        gap: 8px !important;

        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;

        color: #321c15;
        text-decoration: none;
    }

    .order-v2-page .home-nav-brand div {
        min-width: 0;
        overflow: hidden;
    }

    .order-v2-page .home-nav-brand strong {
        display: block !important;

        font-size: 13px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    .order-v2-page .home-nav-brand small {
        display: none !important;
    }


    /* Order button */

    .order-v2-page a.home-nav-order-button {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 76px !important;
        min-width: 76px !important;
        max-width: 76px !important;
        height: 40px !important;

        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;

        border-radius: 999px !important;
        background: #b80000 !important;
        color: #ffffff !important;

        box-shadow: 0 7px 18px rgba(184, 0, 0, 0.22) !important;

        font-family: "Poppins", sans-serif !important;
        text-decoration: none !important;
        transform: none !important;
    }

    .order-v2-page a.home-nav-order-button::before,
    .order-v2-page a.home-nav-order-button::after {
        display: none !important;
        content: none !important;
    }

    .order-v2-page .desktop-order-label,
    .order-v2-page .home-nav-order-arrow {
        display: none !important;
    }

    .order-v2-page .mobile-order-label {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;

        color: #ffffff !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }


    /* =====================================
       DARK OVERLAY
    ===================================== */

    .order-v2-page .menu-mobile-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 9998;

        visibility: hidden;
        opacity: 0;

        background: rgba(30, 15, 10, 0.6);
        backdrop-filter: blur(3px);

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
    }

    .order-v2-page .menu-mobile-overlay.is-open {
        visibility: visible;
        opacity: 1;
    }


    /* =====================================
       MOBILE DRAWER
    ===================================== */

    .order-v2-page .menu-mobile-drawer {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;

        width: min(86vw, 350px);
        height: 100dvh;

        padding: 22px;
        box-sizing: border-box;
        overflow-y: auto;

        background: #ffffff;
        box-shadow: 20px 0 50px rgba(30, 15, 10, 0.24);

        transform: translateX(-105%);
        transition: transform 0.3s ease;
    }

    .order-v2-page .menu-mobile-drawer.is-open {
        transform: translateX(0);
    }

    .order-v2-page .menu-mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;

        padding-bottom: 20px;
        border-bottom: 1px solid rgba(50, 28, 21, 0.12);
    }

    .order-v2-page .menu-mobile-brand {
        display: flex;
        align-items: center;
        gap: 10px;

        color: #321c15;
        text-decoration: none;
    }

    .order-v2-page .menu-mobile-brand div {
        display: flex;
        flex-direction: column;
    }

    .order-v2-page .menu-mobile-brand strong {
        font-family: "Playfair Display", serif;
        font-size: 18px;
        line-height: 1.1;
        text-transform: uppercase;
    }

    .order-v2-page .menu-mobile-brand small {
        margin-top: 3px;

        color: #8d756a;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.8px;
        text-transform: uppercase;
    }

    .order-v2-page .menu-mobile-close {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;
        min-width: 42px;
        padding: 0;

        border: none;
        border-radius: 50%;

        background: #f3e6da;
        color: #321c15;

        font-size: 28px;
        line-height: 1;
        cursor: pointer;
    }

    .order-v2-page .menu-mobile-links {
        display: flex;
        flex-direction: column;
        gap: 7px;

        padding-top: 22px;
    }

    .order-v2-page .menu-mobile-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;

        min-height: 54px;
        padding: 0 16px;
        box-sizing: border-box;

        border-radius: 13px;

        color: #382019;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
    }

    .order-v2-page .menu-mobile-links a:hover {
        background: #f5e9dd;
    }

    .order-v2-page .menu-mobile-links .menu-mobile-order {
        justify-content: center;
        gap: 12px;

        margin-top: 14px;
        min-height: 56px;

        background: #b80000;
        color: #ffffff;

        box-shadow: 0 12px 26px rgba(184, 0, 0, 0.22);
    }
}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 420px) {

    .order-v2-page .home-nav {
        grid-template-columns: 40px minmax(0, 1fr) 72px !important;
        gap: 7px !important;
        padding-inline: 9px !important;
    }

    .order-v2-page .menu-nav-toggle {
        width: 40px;
        height: 40px;
    }

    .order-v2-page .home-nav-brand strong {
        font-size: 12px !important;
    }

    .order-v2-page a.home-nav-order-button {
        width: 72px !important;
        min-width: 72px !important;
        max-width: 72px !important;
        height: 40px !important;
    }
}
/* =========================================
   MATCH OTHER PAGE NAVBAR
========================================= */

@media (max-width: 768px) {

    .order-v2-page .home-nav-brand {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
    }

    .order-v2-page .home-nav-brand strong {
        display: block !important;
        color: #321c15 !important;
        font-family: "Playfair Display", serif !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    .order-v2-page .home-nav-brand small {
        display: none !important;
    }
}
/* =========================================
   STICKY CART — PHONE + TABLET
========================================= */

@media (max-width: 1100px) {

    .mobile-cart-button {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 14px;
        z-index: 9000;

        display: flex !important;
        align-items: center;
        justify-content: space-between;

        min-height: 56px;
        padding: 0 20px;

        border: none;
        border-radius: 16px;

        background: #b80000;
        color: #ffffff;

        font-size: 15px;
        font-weight: 700;

        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);

        cursor: pointer;
    }

    .mobile-cart-button strong {
        color: #ffffff;
        font-size: 16px;
        font-weight: 800;
    }

    .order-v2-page {
        padding-bottom: 90px;
    }
}


/* Desktop only */
@media (min-width: 1101px) {

    .mobile-cart-button {
        display: none !important;
    }
}
/* =========================================
   MOBILE HERO LOGO - FIT INTO LAYOUT
========================================= */

.order-v2-mobile-logo {
    display: none;
}

@media (max-width: 768px) {

    /* Hide desktop hero logo */
    .order-v2-heading-decoration {
        display: none !important;
    }

    /* Paragraph + logo side by side */
    .order-v2-mobile-intro {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 105px !important;
        align-items: center !important;
        gap: 12px !important;

        width: 100% !important;
        margin-top: 22px !important;
    }

    .order-v2-mobile-intro p {
        margin: 0 !important;
        min-width: 0 !important;
    }

    .order-v2-mobile-logo {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 105px !important;
        height: 105px !important;
    }

    .order-v2-mobile-logo img {
        display: block !important;

        width: 105px !important;
        height: 105px !important;

        object-fit: cover !important;
        border-radius: 50% !important;
    }

    .order-v2-benefits {
        margin-top: 24px !important;
    }
}
/* =========================================
   BACK TO TOP — PHONE + TABLET
========================================= */

.back-to-top-button {
    display: none;
}

@media (max-width: 1100px) {

    .back-to-top-button {
        position: fixed;

        right: 18px;
        bottom: 84px;

        z-index: 8999;

        width: 46px;
        height: 46px;

        padding: 0;

        align-items: center;
        justify-content: center;

        border: none;
        border-radius: 50%;

        background: #321c15;
        color: #ffffff;

        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);

        font-size: 24px;
        font-weight: 800;
        line-height: 1;

        cursor: pointer;

        opacity: 0;
        visibility: hidden;

        transform: translateY(10px);

        transition:
            opacity 0.2s ease,
            transform 0.2s ease,
            visibility 0.2s ease;
    }

    .back-to-top-button.is-visible {
        display: flex;

        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }
}