/* =========================================================
   BeanJars Mobile Notice Popup (Enterprise CSS)
   - No inline styles
   - No !important
   - Theme: orange, rounded, clean
   ========================================================= */

.bj-mobile-notice-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
}

.bj-mobile-notice-overlay.is-open {
    display: flex;
}

.bj-mobile-notice-card {
    width: 100%;
    max-width: 420px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.bj-mobile-notice-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #0F9F9A;
    color: #ffffff;
}

.bj-mobile-notice-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.18);
    font-size: 16px;
    line-height: 1;
}

.bj-mobile-notice-title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
}

.bj-mobile-notice-body {
    padding: 14px 16px 16px 16px;
    color: #222;
}

.bj-mobile-notice-text {
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.bj-mobile-notice-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 16px 16px 16px;
}

.bj-mobile-notice-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.bj-mobile-notice-btn--primary {
    background: #0F9F9A;
    color: #fff;
}

.bj-mobile-notice-btn--ghost {
    background: rgba(0, 0, 0, 0.06);
    color: #222;
}

/* =========================================================
   BeanJars Mobile Bottom Navigation
   Scope: Site-wide mobile/tablet bottom nav only
   Desktop: protected because this applies only up to 850px
   ========================================================= */

.bj-mobile-bottom-nav {
    display: none;
}

@media (max-width: 850px) {
    .bj-mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9000;

        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: center;

        min-height: 58px;
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -4px 14px rgba(15, 23, 42, 0.08);
        box-sizing: border-box;
    }

    .bj-mobile-bottom-nav__item {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 4px;
        color: #6b7280;
        font-size: 10.5px;
        line-height: 1.1;
        font-weight: 700;
        text-decoration: none;
    }

    .bj-mobile-bottom-nav__item i {
        font-size: 19px;
        line-height: 1;
    }

    .bj-mobile-bottom-nav__item.is-active {
        color: #0F9F9A;
    }

    body {
        padding-bottom: 72px;
    }
}
