.header_mid .header_mid_inner .logo_wrap {
    max-width: 300px;
    width: 100%;
}

@media screen and (min-width: 1025px) {
    .menu-item-mega-container{
        display: none !important;
    }
}


/*Mega Menu*/
#mega-menu {
    padding-top: 150px;
    background: #222222;
    padding-bottom: 50px;
    position: fixed;
    z-index: 2000;
    width: 100%;
    display: none;
    overflow: hidden;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

#mega-menu .container-menu {
    max-width: 1640px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    gap: 30px;
    width: calc(100% - 48px);
}

#mega-menu .container-image{
    margin-top: 20px;
}

@media screen and (min-width: 1025px) {
    #mega-menu .container-menu {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (min-width: 1200px) {
    #mega-menu .container-menu {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media screen and (min-width: 1500px) {
    #mega-menu .container-menu {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}

#mega-menu a{
    display: block;
    font-size: 16px;
    line-height: clamp(1.5rem, calc(24px + (37 - 24) * ((100vw - 320px) / (1920 - 320))), 2.3125rem);
    font-family: 'Montserrat', 'sans-serif';
    font-weight: 600;
    letter-spacing: 0.21px;
    color: #F5F4F0;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.2s ease;
}

#mega-menu a:hover{
    color: #C1A021;
}

#mega-menu ul li:before{
    display: none;
}

#mega-menu .sub-menu a {
    font: normal normal normal 16px/40px Montserrat, sans-serif;
}

#mega-menu a:hover {
    color: #C1A021;
    transform: translateX(5px);
}

#mega-menu .container-menu > div {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInUp 0.5s ease forwards;
}

#mega-menu .container-menu > div:nth-child(1) { animation-delay: 0.1s; }
#mega-menu .container-menu > div:nth-child(2) { animation-delay: 0.15s; }
#mega-menu .container-menu > div:nth-child(3) { animation-delay: 0.2s; }
#mega-menu .container-menu > div:nth-child(4) { animation-delay: 0.25s; }
#mega-menu .container-menu > div:nth-child(5) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#menu-item-19172.menu-item-active > a {
    color: #C1A021;
}

@media screen and (max-width: 1499px){
    #mega-menu {
        padding-top: 150px;
        background: #202020;
        padding-bottom: 50px;
        position: fixed;
        z-index: 2000;
        width: 100%;
        display: none;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
        max-height: calc(100vh - 100px);
        overflow: hidden;
    }
    
    #mega-menu .container-menu {
        max-width: 1640px;
        margin-left: auto;
        margin-right: auto;
        display: grid;
        gap: 30px;
        width: calc(100% - 48px);
        max-height: calc(100vh - 250px); 
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 10px;
    }
    
    #mega-menu .container-menu::-webkit-scrollbar {
        width: 6px;
    }
    
    #mega-menu .container-menu::-webkit-scrollbar-track {
        background: transparent;
    }
    
    #mega-menu .container-menu::-webkit-scrollbar-thumb {
        background: #C1A021;
        border-radius: 3px;
    }
}