
/* Frontend mobile menu */
.frontend-menu-toggle{
    display:none;
    width:46px;
    height:46px;
    border:1px solid rgba(226,232,242,.95);
    border-radius:14px;
    background:#fff;
    box-shadow:0 8px 22px rgba(14,25,48,.08);
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
    color:var(--ink,#0f1b3d);
}
.frontend-menu-toggle span{
    display:block;
    width:21px;
    height:2px;
    border-radius:999px;
    background:currentColor;
}
.frontend-mobile-overlay{
    position:fixed;
    inset:0;
    background:rgba(15,27,61,.42);
    z-index:190;
    opacity:0;
    pointer-events:none;
    transition:opacity .18s ease;
}
.frontend-mobile-menu{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    z-index:200;
    width:min(390px,88vw);
    background:#fff;
    border-left:1px solid rgba(226,232,242,.95);
    box-shadow:-24px 0 70px rgba(14,25,48,.18);
    transform:translateX(105%);
    transition:transform .22s ease;
    padding:22px;
    display:flex;
    flex-direction:column;
    gap:22px;
}
.frontend-mobile-menu-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}
.frontend-menu-close{
    width:44px;
    height:44px;
    border:1px solid #e3e9f2;
    border-radius:14px;
    background:#f7f9fc;
    color:var(--ink,#0f1b3d);
    font-size:30px;
    line-height:1;
    cursor:pointer;
}
.frontend-mobile-menu nav{
    display:grid;
    gap:10px;
}
.frontend-mobile-menu nav a:not(.btn){
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:50px;
    padding:14px 0;
    border-bottom:1px solid #edf1f6;
    color:var(--ink,#0f1b3d);
    font-size:20px;
    font-weight:900;
    text-decoration:none;
}
.frontend-mobile-menu nav a:not(.btn)::after{
    content:'→';
    color:var(--orange,#ff6b00);
}
.frontend-mobile-menu nav .btn{
    width:100%;
    margin-top:10px;
    text-align:center;
    justify-content:center;
}
body.frontend-menu-open{
    overflow:hidden;
}
body.frontend-menu-open .frontend-mobile-overlay{
    opacity:1;
    pointer-events:auto;
}
body.frontend-menu-open .frontend-mobile-menu{
    transform:translateX(0);
}
@media(max-width:900px){
    .topbar{
        position:sticky;
        top:0;
    }
    .topbar .frontend-nav{
        display:none!important;
    }
    .topbar .frontend-header-cta{
        display:none!important;
    }
    .frontend-menu-toggle{
        display:flex;
    }
}
@media(min-width:901px){
    .frontend-mobile-overlay,
    .frontend-mobile-menu{
        display:none;
    }
}
@media(max-width:640px){
    .topbar{
        height:72px;
        padding:13px 18px;
    }
    .frontend-mobile-menu{
        width:min(360px,92vw);
        padding:18px;
    }
    .frontend-mobile-menu nav a:not(.btn){
        font-size:18px;
    }
}
