/* ======================================================================
   Mobile bottom navigation — fixed 5-tab bar, visible <992px only.
   ====================================================================== */

.ota-mob-nav {
    display: none;
}

@media (max-width: 991px) {
    .ota-mob-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9990;
        display: flex;
        justify-content: space-around;
        align-items: stretch;
        padding: 4px 6px calc(4px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid rgba(14, 59, 46, 0.08);
        box-shadow: 0 -10px 28px rgba(14, 59, 46, 0.10);
        font-family: var(--body-font, "Inter", sans-serif);
    }

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

    /* Push back-to-top + sticky bits above the bar */
    .scroll-top,
    .scrollToTop,
    .back-to-top {
        bottom: calc(74px + env(safe-area-inset-bottom)) !important;
    }

    .ota-mob-nav-item {
        flex: 1;
        min-width: 0;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 6px 4px;
        color: #889a90;
        font-size: 10.5px;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-decoration: none;
        position: relative;
        transition: color 0.18s ease;
    }

    .ota-mob-nav-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 12px;
        background: transparent;
        color: inherit;
        font-size: 17px;
        transition: background 0.2s ease, color 0.2s ease, transform 0.18s ease;
    }

    .ota-mob-nav-label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .ota-mob-nav-item:hover,
    .ota-mob-nav-item:focus {
        color: #0e3b2e;
    }

    .ota-mob-nav-item.is-active {
        color: #0e3b2e;
    }
    .ota-mob-nav-item.is-active .ota-mob-nav-icon {
        background: rgba(29, 127, 95, 0.12);
        color: #145944;
    }
    .ota-mob-nav-item.is-active::before {
        content: "";
        position: absolute;
        top: 0;
        left: 22%;
        right: 22%;
        height: 3px;
        background: #e9b949;
        border-radius: 0 0 999px 999px;
    }

    /* Center "Explore" CTA item — bigger, amber */
    .ota-mob-nav-item--cta .ota-mob-nav-icon {
        width: 48px;
        height: 48px;
        margin-top: -16px;
        border-radius: 50%;
        background: linear-gradient(135deg, #e9b949, #f1c75c);
        color: #2b1c00;
        font-size: 19px;
        box-shadow: 0 10px 22px rgba(233, 185, 73, 0.45);
        border: 3px solid #fff;
    }
    .ota-mob-nav-item--cta {
        color: #0e3b2e;
    }
    .ota-mob-nav-item--cta.is-active::before {
        display: none;
    }
}

/* Hide on tiny landscape if there's not enough vertical room (optional) */
@media (max-height: 420px) and (orientation: landscape) {
    .ota-mob-nav { display: none; }
    body { padding-bottom: 0 !important; }
}
