.btch_wrapper-header{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--menu-wrapper-pd);
}
.btch_nav_header.fixed{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 999;
}

.btch_header {
    position: fixed;
    top: 0;
    width: var(--menu-width);
    background-color: transparent; /* Color inicial */
    z-index: 1000;
    transition: background-color 0.3s ease-in-out; /* Efecto suave */
}
.btch_header.style-between{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btch_wrapper-header .btch-topnav{
    display: flex;
    justify-content: center;
    padding: 15px 0;
}
.btch_wrapper-header .header-left{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}
.btch_wrapper-header .btch_header:not("style-between") .header-right{
    position: absolute;
    right: 3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}
.btch_header .header-right li{
    list-style: none;
}


#toggle-nav{
    width: 40px;
    height: auto;
    cursor: pointer;
}


/* nav menu*/
.nav_content_header ul.menu{
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    height: 70px;
    align-items: center;
}
.nav_content_header ul.menu li.menu-item{
    list-style: none;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav_content_header ul.menu li.menu-item > a {
    display: flex;
    font: var(--primary-text);
    font-size: var(--size-menu-item);
    color: var(--color-menu-item);
    padding: var(--pd-menu-item);
    text-decoration: var(--text-decoration-menu-item);
    text-transform: var(--text-transform-menu-item);
    cursor: pointer;
    font-weight: 500;
    height: 100%;
    align-items: center;
    font-family: 'FuturaND-Medium' !important;
}
.nav_content_header ul.menu li.menu-item:hover > a {
    background-color: var(--hover-bg-menu-item);
    color: var(--hover-color-menu-item);
}
.nav_content_header ul.menu li.menu-item.current-menu-item{
    background-color: var(--current-bg-menu-item);
    display: flex;
    align-items: center;
}
/* .nav_content_header ul.menu li.menu-item.current-menu-item > a{
    font-weight: var(--current-weight-menu-item);
    color: var(--current-color-menu-item);
} */

/* Aplicar estilos solo al último clickeado */
.nav_content_header ul.menu li.menu-item.current-menu-item > a {
    font-weight: var(--current-weight-menu-item);
    color: var(--current-color-menu-item);
}

/* Evitar que los enlaces internos se marquen automáticamente */
.nav_content_header ul.menu li.menu-item.current-menu-item a[href*="#"] {
    color: var(--color-menu-item);
    font-weight: normal;
    background-color: transparent;
}

li.menu-item.current-menu-item#menu-item-257 > a{
    color: var(--color-menu-item);
}

/* Oculta el submenú por defecto */
.menu-item-has-children .sub-menu {
    display: none !important;
    position: absolute;
    background: white; /* Ajusta el fondo si es necesario */
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

/* Muestra el submenú cuando el usuario pasa el mouse */
.menu-item-has-children:hover .sub-menu {
    display: block !important;
    top: 60px;
}

/*toggle lang*/
.toggle-lang ul{
    display: flex;
}
.toggle-lang .lang-es{
    border-right: 2px solid var(--blue);
}
.toggle-lang .lang-item{
    cursor: pointer;
}
.toggle-lang .lang-item > a {
    display: block;
    text-decoration: none;
    padding: 0 8px;
    line-height: 1;
}
.toggle-lang .lang-item > a > span{
    font-size: 1.2rem;
    font-family: Open Sans, sans-serif;
    color: var(--blue);
    text-decoration: none;
} 
.toggle-lang .wpml-ls-current-language > span{
    font-weight: 900;
    color: var(--dark-sea-green) !important;
    transition: .3s ease-in-out;
}

/*follow-us-socials*/
.follow-us-socials{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}
.follow-us-socials h4,
.follow-us-socials > a{
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    margin: 0;
    margin-right: 10px;
}
.follow-us-socials > a{
    margin-right: 4rem;
}
.follow-us-socials .btch_nav-socials ul.menu li.nav-socials_item img{
    width: 30px;
    height: 30px;
}

/*menu mobile*/
.btch-menu-top-mobile, .btch_mobile_nav_header {
    display: none;
}

@media only screen and (max-width: 960px) {
    .btch_header{
        justify-content: space-between;
        padding: .8rem 1.5rem;
        gap: 0 15px;
    }

    #btch_nav_header{
        display: none;
        overflow: hidden;
    }

    .btch_wrapper-header .btch-topnav{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 15px;
    }

    .btch_wrapper-header .btch_content-logo img{
        width: 150px;
    }

    /* menu mobile */
    .btch_wrapper-mobile_menu{
        
    }

    #btch-menu-top-mobile{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 15px;
        background-color: #eeeeee;
    }
    #btch-menu-top-mobile .btn-toggle-menu{
        display: block;
        width: var(--mobile-menu-open-width);
        height: auto;
        cursor: pointer;
        position: absolute;
        left: var(--mobile-menu-open-left);
    }

    #btch_mobile_nav_header{
        display: block;
        width: 300px;
        min-height: 100vh;
        position: absolute;
        top: 0;
        transform: translateX(-110%);
        transition: all .5s;
        z-index: 9999999;
        padding: 3.2rem 1.5rem 5% 1.5rem;
        left: 0;
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    }
    #btch_mobile_nav_header .btn-toggle-close{
        width: var(--mobile-menu-close-width);
        height: auto;
        cursor: pointer;
        position: absolute;
        right: var(--mobile-menu-close-right);
        top: var(--mobile-menu-close-top);
    }

    /* nav menu */
    #btch_mobile_nav_header .nav_content_header ul.menu, 
    #btch_mobile_nav_header .nav_bottom{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        margin: 0;
        padding: 0;
    }
    #btch_mobile_nav_header .nav_content_header ul.menu li.menu-item,
    #btch_mobile_nav_header .nav_bottom li.menu-item {
        list-style: none;
    }
    #btch_mobile_nav_header .nav_content_header ul.menu li.menu-item > a {
        display: block;
        font: var(--primary-text);
        font-size: var(--mobile-menu-item-size);
        font-weight: var(--mobile-menu-item-weight);
        color: var(--mobile-menu-item-color);
        padding: var(--mobile-menu-item-pd);
        text-decoration: none;
        text-transform: uppercase;
        cursor: pointer;
    }
    #btch_mobile_nav_header .nav_content_header ul.menu li.menu-item.current-menu-item {
        width: 100%;
        background-color: #EA2028;
        padding: 0 .8rem;
    }
    #btch_mobile_nav_header .nav_content_header ul.menu li.menu-item.current-menu-item > a{
        color: var(--mobile-menu-item-current-color);
    }

    #btch_mobile_nav_header .nav_content_header ul.menu li.menu-item.current-menu-item > a{
        color: var(--mobile-menu-item-current-color);
    }
    
}

@media only screen and (max-width: 575px) {
    .btch_header .header-left{
        display: grid;
        grid-template-columns: 1fr 30px;
        grid-template-rows: auto auto;
        width: 100%;
        gap: 10px 20px;
    }

    #toggle-nav{
        width: 30px;
    }
}


/* @media only screen and (max-height: 385px) {
    .content-mega-menu {
        height: 65vh;
    }
}

@media only screen and (max-width: 575px) {
    .content-mega-menu {
        height: 65vh;
    }
} */