/* Public phone menu. Class names stay so the open, close, and submenu script keep working. */

@media (max-width: 1023px) {
    .bravo_wrap .bravo_header .bravo-menu-mobile {
        display: flex !important;
        flex-direction: column;
        width: min(100%, 420px);
        background: #f3f4f6;
        border-right: 0;
        font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
        color: #0f172a;
    }
}

.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile {
    flex: 0 0 auto;
    border-bottom: 0;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 20px 4px;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile .avatar:empty {
    display: none;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .mobile-menu-brand {
    display: flex;
    align-items: center;
    min-height: 36px;
    margin-right: 48px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .mobile-menu-brand img {
    display: block;
    max-width: 148px;
    max-height: 32px;
    width: auto;
    height: auto;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile .b-close {
    top: calc(14px + env(safe-area-inset-top, 0px));
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid #e7e9ee;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 16px;
    line-height: 34px;
    text-align: center;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile .b-close i {
    font-size: 14px;
    line-height: 34px;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile > ul.mobile-menu-account {
    padding: 6px;
    margin: 14px 16px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e7e9ee;
    border-radius: 16px;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile > ul.mobile-menu-account li {
    margin: 0;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile > ul.mobile-menu-account:has(a.login) {
    display: flex;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: 0;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile > ul:not(.multi-lang):has(a.login) li {
    flex: 1 1 0;
    margin: 0;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile > ul:not(.multi-lang) a.login,
.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile > ul:not(.multi-lang) a.signup {
    display: block;
    padding: 10px 12px;
    border: 1px solid #e7e9ee;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile > ul:not(.multi-lang) a.signup {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile > ul.mobile-menu-account:not(:has(a.login)) a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px;
    border-radius: 12px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile > ul.mobile-menu-account:not(:has(a.login)) a i {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #0f172a;
    font-size: 16px;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile > ul.mobile-menu-account:not(:has(a.login)) li:first-child {
    margin-bottom: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid #e7e9ee;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile > ul.mobile-menu-account:not(:has(a.login)) li:first-child a {
    font-size: 15px;
    font-weight: 600;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .user-profile > ul.mobile-menu-account:not(:has(a.login)) li:first-child a i {
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .g-menu {
    flex: 1 1 auto;
    max-height: none !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .mobile-menu-kicker {
    flex: 0 0 auto;
    margin: 18px 22px 8px;
    color: #5b677a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .g-menu > ul {
    padding: 6px;
    margin: 0 16px 16px;
    background: #fff;
    border: 1px solid #e7e9ee;
    border-radius: 16px;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .g-menu > ul > li a,
.bravo_wrap .bravo_header .bravo-menu-mobile .g-menu > ul > li a:hover,
.bravo_wrap .bravo_header .bravo-menu-mobile .g-menu > ul > li.active > a {
    border-bottom: 0;
    color: #0f172a;
    text-decoration: none;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .g-menu > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.011em;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .g-menu > ul > li:not(:has(.caret)) > a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1.5px solid #c5cad3;
    border-right: 1.5px solid #c5cad3;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .g-menu > ul > li > a:hover,
.bravo_wrap .bravo_header .bravo-menu-mobile .g-menu > ul > li.active > a {
    background: #f4f6f8;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .g-menu > ul > li > .children-menu a {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #5b677a;
    font-size: 14px;
    font-weight: 500;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .pwa-menu-install-wrapper:not(:has(.is-available)) {
    display: none;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .pwa-menu-install-wrapper {
    flex: 0 0 auto;
    margin-top: auto;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 0;
    background: transparent;
}

.bravo_wrap .bravo_header .bravo-menu-mobile .pwa-menu-install-wrapper .pwa-manual-install-btn,
.bravo_wrap .bravo_header .bravo-menu-mobile .pwa-menu-install-wrapper .pwa-manual-install-btn.btn-success,
.bravo_wrap .bravo_header .bravo-menu-mobile .pwa-menu-install-wrapper .pwa-manual-install-btn.btn-success:hover,
.bravo_wrap .bravo_header .bravo-menu-mobile .pwa-menu-install-wrapper .pwa-manual-install-btn:hover,
.bravo_wrap .bravo_header .bravo-menu-mobile .pwa-menu-install-wrapper .pwa-manual-install-btn:active {
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-radius: 12px;
    background: #6da544;
    box-shadow: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transform: none;
}
