@media screen and (max-width: 1024px) {
    #site-header .top-part.is_mobile .menu-item-has-children > a {
        position: relative;
        padding-right: 42px;
        cursor: pointer;
    }

    #site-header .top-part.is_mobile .menu-item-has-children > a::after {
        content: "+";
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        line-height: 1;
        font-weight: 600;
    }

    #site-header .top-part.is_mobile .menu-item-has-children.submenu-open > a::after {
        content: "−";
    }

    #site-header .top-part.is_mobile .menu-item-has-children > .sub-menu {
        display: none;
    }

    #site-header .top-part.is_mobile .menu-item-has-children.submenu-open > .sub-menu {
        display: block;
    }

    #site-header .top-part.is_mobile .bottom-part .mobile-auth-wrapper {
        flex: 100%;
        max-width: 100%;
        margin-top: 8px;
    }

    #site-header .top-part.is_mobile .bottom-part .mobile-auth-row {
        display: flex;
        gap: 10px;
        width: 100%;
    }

    #site-header .top-part.is_mobile .bottom-part .mobile-auth-row-stack {
        flex-direction: column;
    }

    #site-header .top-part.is_mobile .bottom-part .mobile-auth-button,
    #site-header .top-part.is_mobile .bottom-part .mobile-auth-link {
        display: block;
        width: 100%;
        text-align: center;
        text-decoration: none;
        border-radius: 6px;
        padding: 12px 16px;
        font-weight: 600;
        transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
        box-sizing: border-box;
    }

    #site-header .top-part.is_mobile .bottom-part .mobile-auth-button.btn-login {
        background: transparent;
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.7);
    }

    #site-header .top-part.is_mobile .bottom-part .mobile-auth-button.btn-signup {
        background: #ffffff;
        color: var(--BM-blue);
        border: 1px solid #ffffff;
    }

    #site-header .top-part.is_mobile .bottom-part .mobile-auth-link {
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.25);
    }

    #site-header .top-part.is_mobile .bottom-part .user-block .mobile-auth-wrapper {
        margin-top: 12px;
    }
}
