.mbk-footer {
    width: 100%;
    box-sizing: border-box;
    margin-top: 60px;
    padding: 58px 0 0;
    background: #101815;
    color: #fff;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.mbk-footer-main {
    width: 100%;
    display: grid;
    grid-template-columns:
        1.7fr
        repeat(4, 1fr);
    gap: 35px;
    padding-bottom: 48px;
    box-sizing: border-box;
}

.mbk-footer-brand {
    max-width: 310px;
}

.mbk-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.mbk-footer-logo-mark {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #ff6b00;
    color: #fff;
    font-size: 12px;
    font-weight: 950;
}

.mbk-footer-logo-name {
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -.04em;
}

.mbk-footer-logo-name strong {
    font-weight: 900;
}

.mbk-footer-tagline {
    margin: 17px 0 7px;
    color: #ff8a1f;
    font-size: 15px;
    font-weight: 850;
}

.mbk-footer-description {
    margin: 0;
    max-width: 280px;
    color: rgba(255,255,255,.56);
    font-size: 12px;
    line-height: 1.65;
}

.mbk-footer-socials {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.mbk-footer-socials a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition:
        background .2s ease,
        transform .2s ease;
}

.mbk-footer-socials a:hover {
    background: #ff6b00;
    transform: translateY(-2px);
}

.mbk-footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.mbk-footer-column h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.mbk-footer-column a {
    color: rgba(255,255,255,.56);
    text-decoration: none;
    font-size: 12px;
    line-height: 1.4;
    transition:
        color .2s ease,
        transform .2s ease;
}

.mbk-footer-column a:hover {
    color: #ff8a1f;
    transform: translateX(3px);
}

.mbk-footer-bottom {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.38);
    font-size: 10px;
}

.mbk-footer-bottom > div {
    display: flex;
    gap: 18px;
}

.mbk-footer-bottom a {
    color: rgba(255,255,255,.45);
    text-decoration: none;
}

.mbk-footer-bottom a:hover {
    color: #ff8a1f;
}

/* =========================================================
   MOBILE APP NAVIGATION
   ========================================================= */

.mbk-mobile-app-nav {
    display: none;
}

@media (max-width: 767px) {

    .mbk-footer {
        margin-top: 35px;
        padding: 35px 0 95px;
    }

    .mbk-footer-main {
        display: block;
        padding-bottom: 25px;
    }

    .mbk-footer-brand {
        max-width: none;
        padding-bottom: 24px;
    }

    .mbk-footer-description {
        max-width: 310px;
    }

    .mbk-footer-column {
        padding: 16px 0;
        border-top: 1px solid rgba(255,255,255,.07);
    }

    .mbk-footer-column h3 {
        margin: 0;
        font-size: 13px;
    }

    .mbk-footer-column a {
        font-size: 12px;
    }

    .mbk-footer-bottom {
        min-height: auto;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .mbk-footer-bottom > div {
        gap: 13px;
    }

    /* Mobile commerce app bar */

    .mbk-mobile-app-nav {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        z-index: 99999;
        height: 66px;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        align-items: center;
        padding: 5px;
        box-sizing: border-box;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 22px;
        background: rgba(16,24,21,.96);
        box-shadow:
            0 14px 45px rgba(0,0,0,.25);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .mbk-mobile-nav-item {
        position: relative;
        min-width: 0;
        height: 56px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        border-radius: 17px;
        color: rgba(255,255,255,.55);
        text-decoration: none;
        font-size: 8px;
        font-weight: 700;
        -webkit-tap-highlight-color: transparent;
    }

    .mbk-mobile-nav-item.is-active {
        color: #ff8a1f;
    }

    .mbk-mobile-nav-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 23px;
        font-size: 21px;
        line-height: 1;
    }

    .mbk-mobile-nav-shop {
        color: #fff;
    }

    .mbk-mobile-nav-shop-icon {
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -20px;
        border-radius: 16px;
        background: #ff6b00;
        box-shadow:
            0 8px 22px rgba(255,107,0,.3);
        font-size: 21px;
    }

    .mbk-mobile-nav-shop span:last-child {
        color: #fff;
    }
}

/* ============================================================
   MERCI BOKKU — MOBILE APP FOOTER
   FINAL PINNED BOTTOM NAVIGATION
   Desktop footer is intentionally untouched.
   Icons and navigation backend remain unchanged.
   ============================================================ */

@media (max-width: 767px) {

    /* --------------------------------------------------------
       MOBILE: HIDE THE NORMAL WEBSITE FOOTER COMPLETELY
       The mobile app navigation becomes the only footer.
       -------------------------------------------------------- */

    .mbk-footer {
        display: none !important;
    }


    /* --------------------------------------------------------
       PINNED MOBILE APP NAVIGATION
       Remove floating appearance and attach directly
       to the bottom edge of the viewport.
       -------------------------------------------------------- */

    .mbk-mobile-app-nav {
        position: fixed !important;

        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        z-index: 2147483647 !important;

        height: 66px !important;

        border-radius: 0 !important;

        border-left: 0 !important;
        border-right: 0 !important;
        border-bottom: 0 !important;

        box-sizing: border-box !important;
    }


    /* --------------------------------------------------------
       SAFE AREA SUPPORT
       Keeps navigation correct on modern phones while
       remaining pinned to the physical bottom.
       -------------------------------------------------------- */

    .mbk-mobile-app-nav {
        padding-bottom: max(
            5px,
            env(safe-area-inset-bottom)
        ) !important;

        height: calc(
            66px + env(safe-area-inset-bottom)
        ) !important;
    }


    /* --------------------------------------------------------
       RESERVE REAL PAGE SPACE FOR THE FIXED FOOTER
       Prevents page content from disappearing underneath
       or visually passing through the navigation.
       -------------------------------------------------------- */

    body {
        padding-bottom: calc(
            66px + env(safe-area-inset-bottom)
        ) !important;
    }


    /* --------------------------------------------------------
       Ensure the page's final content has a clean endpoint
       before the mobile footer begins.
       -------------------------------------------------------- */

    #page,
    .site,
    main,
    .site-main,
    .elementor-location-single,
    .elementor-location-archive {
        margin-bottom: 0 !important;
    }

}

