/* =========================================================
   KRAALSENSE PUBLIC MOBILE NAVIGATION — 2026.08.06.1
   Loaded after responsive.css so sidebar-specific rules can
   safely restore the CTA hidden by the desktop header breakpoint.
========================================================= */

@media screen and (max-width: 1025px) {
    .sidebar {
        display: flex;
        flex-direction: column;
        padding-bottom: max(22px, env(safe-area-inset-bottom));
    }

    .sidebar .menu {
        flex: 0 0 auto;
        margin-bottom: 0;
    }

    .sidebar .mobile-pricing-link {
        display: block;
    }

    .sidebar .mobile-pricing-link > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .sidebar .mobile-pricing-link > a::after {
        content: "Plans";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 25px;
        padding: 4px 9px;
        border: 1px solid rgba(198, 239, 46, 0.72);
        border-radius: 999px;
        color: #607900;
        font-family: var(--font-family-1);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.05em;
        line-height: 1;
        text-transform: uppercase;
    }

    /*
     * responsive.css intentionally hides the desktop header CTA at this
     * breakpoint. Restore only the CTA inside the mobile sidebar.
     */
    .sidebar .sidebar-cta-container {
        display: flex !important;
        width: auto;
        margin: auto 15px 0;
        padding: 22px 0 0;
        border-top: 1px solid #e8e8e2;
        align-items: stretch;
        justify-content: flex-start;
    }

    .sidebar .sidebar-cta-container > div {
        width: 100%;
    }

    .sidebar .sidebar-cta {
        display: flex;
        width: 100%;
        min-height: 58px;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 5px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
    }

    .sidebar .sidebar-cta .btn-title {
        padding: 15px 10px 15px 15px;
        white-space: nowrap;
    }

    .sidebar .sidebar-cta .icon-circle {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: #090909;
        color: #ffffff;
    }

    .sidebar .sidebar-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
    }

    .sidebar .sidebar-cta:focus-visible,
    .sidebar .mobile-pricing-link > a:focus-visible,
    .sidebar .close-btn:focus-visible {
        outline: 3px solid rgba(198, 239, 46, 0.95);
        outline-offset: 3px;
    }
}

@media screen and (max-width: 420px) {
    .sidebar .sidebar-cta-container {
        margin-right: 10px;
        margin-left: 10px;
    }

    .sidebar .sidebar-cta .btn-title {
        font-size: 14px;
    }
}

@media screen and (max-height: 720px) and (max-width: 1025px) {
    .sidebar .sidebar-cta-container {
        margin-top: 18px;
    }
}
