.menu {
    color: white !important;
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: start;
    flex-wrap: wrap;
    margin: 0;
}

.overlap-padding-header {
    padding-top: 55px;
}

.fixed-height {
    min-height: 80px;
    position: absolute;
    z-index: 9999;
    background: black !important;
}

.menu-mobile,
.menu-desktop {
    /* position: absolute; */
    z-index: 10000;
    height: auto;
}

.header-pp {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 17%, rgba(0, 0, 0, 1) 63%, rgba(0, 0, 0, 1) 100%);
    min-height: 140px;
    position: absolute;
}

/* Top Bar*/
.social{
    margin-right: 10px;
    align-items:center;
}
.menu-desktop a{
    font-size:14px;
}

.social i{
 color:white;
 /* width: 40px; */
 /* height:30px; */
 font-size: 1.4rem;
 margin-right: 5px;
}

.social i.fa-facebook {
    color: white;
    /* width: 40px; */
    /* height:30px; */
    font-size: 1.4rem;
    margin-top: -3px;
    margin-right: 2px;
    display: inline-block;
}

.menu-container {
    position: static;
}

.menu li {
    /* margin-right: 1.4rem; */
}

.menu li a {
    color: white !important;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    position: relative;
}

.btn-yellow {
    background-color: #FFBA00 !important;
}



.header-general .no-header {
    padding-top: 0;
}

.sub-menu img {
    display: none;
}

.menu-secondary--content a,
.menu-secondary--content a:hover {
    align-items: center;
    background-color: transparent;
    border: 1px solid #ffffff;
    border-radius: 0px;
    color: #ffffff !important;
    display: inline-flex;
    justify-content: center;
    font-size: 14px;
    font-size: 14px;
    font-weight: 500;
    height: auto;
    letter-spacing: normal;
    margin: 0px 4px !important;
    overflow: hidden;
    opacity: 1;
    padding: .6em .8em;
    /* position: relative; */
    text-align: center;
    z-index: 10;
}
@media(min-width: 1200px) {
    .overlap-padding-header {
        padding-top: 92px;
    }
}


@media(min-width:1200px) {
    .header-pp {
   
    min-height: 246px!important;
    
    }
    .overlap-padding-header{
        padding-top: 95px;
    }

    .mega-menu {
        position: static !important;
    }

    .content-menu-wrapper {
        position: static !important;
    }

    .mega-menu .sub-menu {
       position:absolute;
       z-index: 99999999999999999999999999999999999999;
       display: flex;
       flex-wrap:wrap;
       top: 80px!important;
       background: white;
       padding: 30px 50px;
       /* padding-top: 0!important; */
       /* padding-top: 50px; */
       box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    }

    .mega-menu .sub-menu li {
        margin-right: 0;
        width: 20%;
        padding-right: 2.5%;
        padding-left: 2.5%;
    }

    .mega-menu .sub-menu li a {
        border: none;
        display: flex;
        align-items: center;
        flex-direction: column;
        align-items: center;
        color: black !important;
        text-align: center;
        font-size: 16px;


    }

    .mega-menu .sub-menu img {
        width: 100%;
        display: block;
        max-height: 150px;
        object-fit: cover;
    }

    .mega-menu .sub-menu img {
        width: 100%;
    }


    .menu ul.menu>li {
        display: flex;
        list-style: none;
        height: 72px;
        align-items: center;
        padding: 0 12px;
    }

    .menu ul.menu>li.mega-menu>a {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .menu ul.menu>li.mega-menu>a:after {
        /* content:""; */
        display: block;
        width: 100%;
        height: 20px;
        background: black;
        position: absolute;
        top: 100%;
    }
}


@media (max-width: 1200px) {

    .btn-submenu i{
        cursor:pointer;
    }
    .menu {
        margin: 0;
    }

    .menu li {
        margin-right: 0;
        padding: 10px 0;
        /* width: 100%; */
        position: relative;
        height: auto;
        display: flex;
        gap: 5px;
        align-items: center;
        flex-wrap: wrap;
    }
    .menu.mobile li{
        width:100%;
    }
    .menu-mobile .navbar-mobile{
        /* background-color: black; */
        padding: 0;
    }

    .menu .sub-menu {
        list-style: none;
        padding-top: 10px;
        /* min-width: 100%; */
        order: 3;
        width: 100%;
    }

    .menu-mobile .brand-logo {
        width: 40vw;
        max-width: 150px;
    }

    .menu-mobile .jeep-logo {
        margin-left: auto;
    }

    .menu-mobile .jeep-logo img {
        width: 10vw;
        max-width: 60px;
        max-width: 50px;
    }

    .menu-mobile .navbar-toggler {
        position: static;
        border: none;
    }

    .menu-mobile .navbar-toggler svg {
        width: 28px;
    }

    .menu-mobile .navbar-collapse {
        border-top: none;
        background: black;
        /* margin-top: 20px; */
        /* min-width: 100vw; */
        /* position: relative; */
        /* left: 0; */
    }

    .menu-mobile .menu-item a {
        font-size: 14px;
    }

    .menu-mobile .menu-item a:hover {
        background-color: black;
    }

    .nav-item-header li .submenu-toggle:before {
        content: "";
        position: absolute;
        transform: rotate(45deg);
        top: 8px;
        width: 8px;
        height: 8px;
    }

    .nav-item-header li.open>.submenu-toggle:before {
        transform: rotate(135deg);
    }

    .nav-item-header li.menu-item ul li:before {
        content: none;
    }

    .nav-item-header li.menu-item ul li {
        list-style: none;
    }

    .menu .sub-menu {
        display: none;
        padding-left:25px;
        padding-top:5px;
    }

    .submenu-toggle {
        margin-left: 10px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    /* Rotación del ícono cuando se expande el submenú */
    .submenu-toggle.rotate {
        transform: rotate(180deg);
    }

    .header-general .no-header {
        padding-top: 120px !important;
    }

    .dropdown-menu img {
        display: none !important;
    }

    .has-submenu .dropdown-menu {
        top: 70%;
        background-color: black;
        position: static;
        width: 100%;
        padding-left: 30px;
    }

    .dropdown-toggle::after {
        margin-left: 7px;
        top: 2px;
        position: relative;
        border-top: .4em solid;
        border-right: .4em solid transparent;
        border-bottom: 0;
        border-left: .4em solid transparent;
    }

    #navbarSupportedContent .dexctzusd_menu_header,
    #navbarSupportedContent #wp-test-drive {
        color: white !important;
        display: block;
        font-size: 14px;
        font-weight: 600;
        line-height: 16px;
        padding: .8rem 1rem;
        width: auto!important;
        max-width: max-content;
        border: 1px solid white;
    }
    #navbarSupportedContent .dexctzusd_menu_header{
        margin-top:20px;
        margin-bottom: 10px;
    }
    .main-header--menu-secondary {
        display: none;
    }
}