.header-style-one.header-3{ z-index: 9999999 !important; }
.header-lower .auto-container {
    max-width: 100% !important;
    padding: 0 40px !important;
}

.header-lower .main-box {
    max-width: 1700px !important;
    margin: 0 auto !important;
    overflow: visible !important;
}

.header-lower .nav-outer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 20px !important;
}

.header-lower .logo-box {
    flex-shrink: 0 !important;
    max-width: 220px !important;
}

.header-lower .logo-box img {
    max-width: 100% !important;
    height: auto !important;
}

@media (min-width: 992px) {
    .header-lower .outer-box {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex: 1 !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
        min-width: 0 !important;
    }

    .header-lower .nav.main-menu {
        flex: 1 !important;
        display: flex !important;
        justify-content: center !important;
        min-width: 0 !important;
    }

    .header-lower .main-menu .navigation {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
    }

    .header-lower .main-menu .navigation > li {
        padding: 0 9px !important;
        flex-shrink: 1 !important;
    }

    .header-lower .main-menu .navigation > li > a {
        font-size: 15px !important; 
        white-space: nowrap !important;
    }

    .header-lower .ui-btn-outer {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
    }

    .header-lower .header-contact {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    .header-lower .header-contact .info-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        font-size: 13px !important; 
        padding: 5px 8px !important;
    }

    .header-lower .header-contact .info-btn i {
        font-size: 12px !important; 
    }


    .header-lower .theme-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        padding: 9px 18px !important; 
        font-size: 14px !important; 
    }
}

@media (min-width: 1600px) {
    .header-lower .main-box {
        max-width: 1800px !important;
    }
    
    .header-lower .logo-box {
        max-width: 240px !important; 
    }
    
    .header-lower .main-menu .navigation > li {
        padding: 0 12px !important;
    }
    
    .header-lower .main-menu .navigation > li > a {
        font-size: 16px !important;
    }
    
    .header-lower .header-contact .info-btn {
        font-size: 14px !important;
        padding: 6px 10px !important;
    }
    
    .header-lower .header-contact .info-btn i {
        font-size: 13px !important;
    }
    
    .header-lower .theme-btn {
        font-size: 15px !important; 
        padding: 10px 20px !important; 
    }
}

/* Orta ekranlarda */
@media (min-width: 1200px) and (max-width: 1599px) {
    .header-lower .main-box {
        max-width: 1600px !important;
    }
    
    .header-lower .main-menu .navigation > li {
        padding: 0 8px !important;
    }
    
    .header-lower .main-menu .navigation > li > a {
        font-size: 14px !important; 
    }
}

/* Orta-küçük ekranlarda */
@media (min-width: 992px) and (max-width: 1199px) {
    .header-lower .main-box {
        max-width: 100% !important;
    }
    
    .header-lower .main-menu .navigation > li {
        padding: 0 7px !important;
    }
    
    .header-lower .main-menu .navigation > li > a {
        font-size: 14px !important;
    }
}

@media (max-width: 991px) {
    
}

.header-lower .main-menu .navigation > li > a {
    position: relative !important;
    text-decoration: none !important;
    border-top: none !important;
}

.header-lower .main-menu .navigation > li > a::before,
.header-lower .main-menu .navigation > li > a::after,
.header-lower .main-menu .navigation > li::before,
.header-lower .main-menu .navigation > li::after {
    top: auto !important;
    bottom: 0 !important;
}

.header-lower .main-menu .navigation > li:hover > a,
.header-lower .main-menu .navigation > li.current > a,
.header-lower .main-menu .navigation > li.current-menu-item > a,
.header-lower .main-menu .navigation > li.active > a,
.header-lower .main-menu .navigation > li.dropdown:hover > a {
    border-top: none !important;
}
