.bxv5-topbar{
    width:100%;
    background:var(--bxv5-navy);
    color:#fff;
    font-size:12px;
}
.bxv5-topbar__inner{
    min-height:30px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}
.bxv5-topbar__links{
    display:flex;
    align-items:center;
    gap:18px;
}
.bxv5-topbar a{color:#fff;text-decoration:none}

.bxv5-header{
    width:100%;
    position:relative;
    z-index:120;
    background:#fff;
    border-bottom:1px solid var(--bxv5-border);
    transition:box-shadow .2s ease;
}
.bxv5-header.is-scrolled{
    box-shadow:0 10px 28px rgba(6,38,74,.10);
}
.bxv5-header__inner{
    min-height:86px;
    display:grid;
    grid-template-columns:270px minmax(360px,700px) auto;
    gap:24px;
    align-items:center;
    padding:8px 0;
}
.bxv5-brand,
.bxv5-brand .custom-logo-link{
    display:flex;
    align-items:center;
    min-height:60px;
}
.bxv5-brand img,
.bxv5-brand .custom-logo{
    width:auto!important;
    height:auto!important;
    max-width:255px!important;
    max-height:58px!important;
    object-fit:contain!important;
}

.bxv5-search{
    position:relative;
    width:100%;
    max-width:700px;
    justify-self:center;
}
.bxv5-search form{
    display:flex!important;
    width:100%!important;
    margin:0!important;
}
.bxv5-search input[type="search"]{
    width:100%!important;
    min-height:48px!important;
    padding:0 16px!important;
    border:1px solid #bacbd9!important;
    border-radius:10px 0 0 10px!important;
    background:#fff!important;
    color:var(--bxv5-text)!important;
    font-size:15px!important;
    outline:none!important;
}
.bxv5-search input[type="search"]:focus{
    border-color:var(--bxv5-blue)!important;
    box-shadow:0 0 0 3px rgba(14,79,135,.10)!important;
}
.bxv5-search button{
    min-width:120px!important;
    min-height:48px!important;
    border:0!important;
    border-radius:0 10px 10px 0!important;
    background:var(--bxv5-navy)!important;
    color:#fff!important;
    font-weight:900!important;
    cursor:pointer!important;
}

.bxv5-header__actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
}
.bxv5-action{
    display:flex;
    min-height:48px;
    align-items:center;
    gap:8px;
    padding:5px 8px;
    border-radius:9px;
    color:var(--bxv5-navy);
    text-decoration:none;
}
.bxv5-action:hover{background:var(--bxv5-soft)}
.bxv5-action__icon{
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    border:1px solid var(--bxv5-border);
    border-radius:10px;
    font-size:18px;
}
.bxv5-action__text{display:flex;flex-direction:column;line-height:1.12}
.bxv5-action__text small{color:var(--bxv5-muted);font-size:10px}
.bxv5-action__text strong{font-size:12px}
.bxv5-search-toggle,.bxv5-menu-toggle{display:none}

.bxv5-navigation{
    width:100%;
    position:sticky;
    top:0;
    z-index:110;
    background:#fff;
    border-bottom:1px solid var(--bxv5-border);
    box-shadow:0 5px 16px rgba(6,38,74,.04);
}
body.admin-bar .bxv5-navigation{top:32px}
.bxv5-navigation__inner{
    min-height:54px;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:22px;
    align-items:center;
}
.bxv5-catalog-trigger{
    display:flex;
    min-height:40px;
    align-items:center;
    gap:9px;
    padding:0 15px;
    border:0;
    border-radius:8px;
    background:var(--bxv5-navy);
    color:#fff;
    cursor:pointer;
}
.bxv5-catalog-trigger span{font-size:18px}
.bxv5-menu{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:22px;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}
.bxv5-menu li{margin:0!important;padding:0!important}
.bxv5-menu a{
    display:flex;
    min-height:54px;
    align-items:center;
    color:var(--bxv5-navy);
    font-size:13px;
    font-weight:800;
    text-decoration:none;
    white-space:nowrap;
}
.bxv5-menu a:hover,
.bxv5-menu .current-menu-item>a{color:var(--bxv5-green-dark)}
.bxv5-navigation__cta{
    display:flex;
    align-items:center;
    gap:9px;
}
.bxv5-whatsapp{
    display:inline-flex;
    min-height:40px;
    align-items:center;
    padding:0 14px;
    border:1px solid #25a846;
    border-radius:8px;
    color:#167b2d;
    font-size:13px;
    font-weight:900;
    text-decoration:none;
}
.bxv5-navigation__cta .bxv5-button{min-height:40px;font-size:13px}

.bxv5-mega-menu{
    position:fixed;
    inset:0;
    z-index:1800;
    display:none;
}
.bxv5-mega-menu.is-open{display:block}
.bxv5-mega-menu__backdrop{
    position:absolute;
    inset:0;
    background:rgba(3,20,38,.62);
}
.bxv5-mega-menu__panel{
    position:absolute;
    left:0;
    right:0;
    top:84px;
    max-height:calc(100vh - 105px);
    overflow:auto;
    padding:32px 0 26px;
    background:#fff;
    box-shadow:0 25px 70px rgba(3,20,38,.24);
}
body.admin-bar .bxv5-mega-menu__panel{top:116px}
.bxv5-mega-menu__header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:26px;
}
.bxv5-mega-menu__header span{
    color:var(--bxv5-green-dark);
    font-size:11px;
    font-weight:900;
    letter-spacing:.11em;
}
.bxv5-mega-menu__header h2{
    margin:5px 0 0;
    color:var(--bxv5-navy);
    font-size:32px;
}
.bxv5-mega-menu__close{
    width:42px;
    height:42px;
    border:1px solid var(--bxv5-border);
    border-radius:50%;
    background:#fff;
    color:var(--bxv5-navy);
    font-size:27px;
    cursor:pointer;
}
.bxv5-mega-menu__grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr)) 1.25fr;
    gap:28px;
}
.bxv5-mega-menu__column h3{
    margin:0 0 13px;
    color:var(--bxv5-navy);
    font-size:16px;
}
.bxv5-mega-menu__column a{
    display:block;
    padding:8px 0;
    color:var(--bxv5-text);
    font-size:13px;
    font-weight:700;
    text-decoration:none;
}
.bxv5-mega-menu__column a:hover{color:var(--bxv5-green-dark)}
.bxv5-mega-menu__feature{
    padding:24px;
    border-radius:var(--bxv5-radius);
    background:linear-gradient(135deg,var(--bxv5-navy),var(--bxv5-blue));
    color:#fff;
}
.bxv5-mega-menu__feature>span{
    color:#8de17d;
    font-size:10px;
    font-weight:900;
    letter-spacing:.1em;
}
.bxv5-mega-menu__feature h3{font-size:23px}
.bxv5-mega-menu__feature p{color:#dceaf6;line-height:1.6}
.bxv5-mega-menu__footer{
    display:flex;
    gap:28px;
    margin-top:25px;
    padding-top:18px;
    border-top:1px solid var(--bxv5-border);
}
.bxv5-mega-menu__footer a{
    color:var(--bxv5-navy);
    font-weight:900;
    text-decoration:none;
}

.bxv5-mobile-drawer{
    position:fixed;
    inset:0;
    z-index:1900;
    display:none;
}
.bxv5-mobile-drawer.is-open{display:block}
.bxv5-mobile-drawer__backdrop{
    position:absolute;
    inset:0;
    background:rgba(3,20,38,.65);
}
.bxv5-mobile-drawer__panel{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:min(90vw,390px);
    overflow:auto;
    padding:20px;
    background:#fff;
    box-shadow:-18px 0 50px rgba(3,20,38,.26);
}
.bxv5-mobile-drawer__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:22px;
}
.bxv5-mobile-drawer__brand{max-width:190px}
.bxv5-mobile-drawer__close{
    width:40px;
    height:40px;
    border:1px solid var(--bxv5-border);
    border-radius:50%;
    background:#fff;
    font-size:26px;
}
.bxv5-mobile-drawer__quick{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-bottom:14px;
}
.bxv5-mobile-drawer__quick a,
.bxv5-mobile-catalog-trigger{
    display:flex;
    min-height:46px;
    align-items:center;
    justify-content:center;
    border:1px solid var(--bxv5-border);
    border-radius:9px;
    background:var(--bxv5-soft);
    color:var(--bxv5-navy);
    font-weight:800;
    text-decoration:none;
}
.bxv5-mobile-catalog-trigger{
    width:100%;
    margin-bottom:14px;
    background:var(--bxv5-navy);
    color:#fff;
}
.bxv5-mobile-menu{margin:0 0 22px;padding:0;list-style:none}
.bxv5-mobile-menu a{
    display:flex;
    min-height:49px;
    align-items:center;
    border-bottom:1px solid var(--bxv5-border);
    color:var(--bxv5-navy);
    font-weight:800;
    text-decoration:none;
}

@media(max-width:1160px){
    .bxv5-header__inner{grid-template-columns:230px minmax(280px,1fr) auto;gap:15px}
    .bxv5-brand img,.bxv5-brand .custom-logo{max-width:220px!important}
    .bxv5-action__text{display:none}
    .bxv5-menu{gap:14px}
    .bxv5-menu a{font-size:12px}
    .bxv5-navigation__cta .bxv5-whatsapp{display:none}
    .bxv5-mega-menu__grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    .bxv5-mega-menu__feature{grid-column:1/-1}
}
@media(max-width:780px){
    body{padding-bottom:70px}
    .bxv5-topbar{display:none}
    .bxv5-header{position:sticky;top:0}
    body.admin-bar .bxv5-header{top:46px}
    .bxv5-header__inner{
        min-height:70px;
        grid-template-columns:1fr auto;
        gap:10px;
        padding:5px 0;
    }
    .bxv5-brand,.bxv5-brand .custom-logo-link{min-height:54px}
    .bxv5-brand img,.bxv5-brand .custom-logo{
        max-width:185px!important;
        max-height:54px!important;
    }
    .bxv5-search{display:none}
    .bxv5-search.is-mobile-open{
        display:block;
        position:fixed;
        left:12px;
        right:12px;
        top:78px;
        z-index:2100;
        max-width:none;
        padding:13px;
        border:1px solid var(--bxv5-border);
        border-radius:13px;
        background:#fff;
        box-shadow:0 18px 50px rgba(6,38,74,.24);
    }
    body.admin-bar .bxv5-search.is-mobile-open{top:124px}
    .bxv5-action{display:none}
    .bxv5-search-toggle,.bxv5-menu-toggle{
        display:grid;
        place-items:center;
        width:41px;
        height:41px;
        border:1px solid var(--bxv5-border);
        border-radius:10px;
        background:#fff;
        color:var(--bxv5-navy);
        font-size:21px;
    }
    .bxv5-navigation{display:none}
    .bxv5-mega-menu__panel{
        top:auto;
        bottom:0;
        max-height:86vh;
        border-radius:20px 20px 0 0;
    }
    body.admin-bar .bxv5-mega-menu__panel{top:auto}
    .bxv5-mega-menu__header h2{font-size:26px}
    .bxv5-mega-menu__grid{grid-template-columns:1fr 1fr;gap:22px}
    .bxv5-mega-menu__feature{grid-column:1/-1}
    .bxv5-mega-menu__footer{flex-direction:column;gap:11px}
}
@media(max-width:480px){
    .bxv5-mega-menu__grid{grid-template-columns:1fr}
    .bxv5-mega-menu__feature{grid-column:auto}
}
