.logo img {
    max-height: 40px;
}

.top-header .logo {
    padding-right: 10px;
}

.top-header {
    border-bottom: 1.5px solid #fff;
}

.top-header-wrapper {
    align-items: center;
    padding: 12px 0;
    transition: all 0.3s;
}

.header-left {
    align-items: center;
    margin-left: auto;
}

.language {
    margin-left: 10px;
    gap: 12px;
}

.language .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #000;
    flex-direction: column;
    min-width: 100px;
    padding: 10px;
}

.language .dropdown-content a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 0;
}

.language .dropdown-toggle {
    display: flex;
    align-items: center;
    padding: 0;
    background: none;
    border: none;
    font-size: 10px;
    color: #fff;
    gap: 5px;
    cursor: pointer;
    text-transform: uppercase;

}

.language a img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.search-container {
    justify-content: center;
    height: 40px;
    overflow: hidden;
}

.search-input {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
}

.search-icon {
    left: auto;
    top: 5px;
    right: 5px;
    border: none;
}

.header .navigation {
    transition: padding 0.3s;
    max-height: calc(100vh - 73px);
    overflow-y: auto;
}

.eyou-nav li .v1 {
    width: 200px !important;
}

.header {
    position: fixed;
    z-index: 80;
    width: 100%;
    top: 0;
    left: 0;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    background-color: #000;
}

.header .nav {
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    display: none;
}

.header .nav li {
    border-top: 1px solid #404040;
}

.header .nav li > a {
    display: block;
    font-size: 16px;
    position: relative;
    color: #fff;
    padding: 10px;
    font-weight: bold;
}

.header .nav li > a:after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: #b62020;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    content: '';
}

.header .nav li .arr {
    float: right;
    height: 40px;
    width: 40px;
    position: relative;
    display: none;
}

.header .nav li .arr:after {
    content: '';
    border-top: 2px solid #ccc;
    border-left: 2px solid #ccc;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    display: block;
    width: 8px;
    height: 8px;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    right: 15px;
    transition: transform 0.3s ease-in-out;
}

.header .nav li.active .arr:after {
    transform: rotate(225deg);
    transition: transform 0.3s ease-in-out;
}

.header .nav li.dropdown {
    position: relative;
}

.header .nav .dropdown-box {
    width: 100%;
    min-width: max-content;
    position: absolute;
    top: 100%;
    display: none;
    z-index: 10;
    text-align: center;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    background: #0000009c;
    text-align: center;
}

.header .nav .dropdown-box p {
    margin: 0;
}

.header .nav .dropdown-box a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
    font-size: 14px;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    line-height: 40px;
    color: #fff;
    text-align: left;
}

.header .nav .dropdown-box a:hover {
    background-color: #b62020;
    color: #fff;
}

.header .nav li.active > a, .header .nav li.open > a, .header .nav li > a:hover {
}

.header .nav li.open > a:after, .header .nav li.active > a:after, .header .nav li > a:hover:after {
    width: 100%;
}

.header .nav li.open .dropdown-box {
    display: block;
}

.menu-btn {
    margin-right: 12px;
}

.menu-btn:before, .menu-btn:after, .menu-btn span {
    display: block;
    height: 2px;
    background-color: #fff;
    content: '';
}

.menu-btn:before {
    width: 24px;
    transition: transform 0.3s ease-in-out;
}

.menu-btn:after {
    width: 18px;
    transition: transform 0.3s ease-in-out;
}

.menu-btn span {
    width: 12px;
    margin: 6px 0;
}

.menu-btn.active span {
    display: none;
}

.menu-btn.active:after {
    width: 24px;
    margin-top: -2px;
    transform: rotate(45deg);
    transition: transform 0.3s ease-in-out;
}

.menu-btn.active:before {
    transform: rotate(-45deg);
    transition: transform 0.3s ease-in-out;
}

#search-form {
    display: none;
    position: absolute;
    top: 73px;
    width: 100%;
    left: 0;
    right: 0;
    background: black;
    padding: 12px;
}

#search-toggle {
    cursor: pointer;
}

/* mobile */
@media (width < 1024px) {
    .header .nav li {
        position: relative;
    }

    .header .nav li:first-child {
        display: none;
    }

    .header .nav li .arr {
        display: block;
        width: 50%;
        position: absolute;
        right: 0;
        z-index: 1;
    }

    .header .nav li.open > a:after, .header .nav li.active > a:after, .header .nav li > a:hover:after {
        width: 0;
    }

    .header .nav li.open .arr:after {
        border-color: #fff;
        -webkit-transform: rotate(225deg);
        transform: rotate(225deg);
    }

    .header .nav .dropdown-box {
        position: static;
        background-color: #f5f5f5;
        min-width: auto;
        text-align: left;
    }

    .header .nav .dropdown-box a {
        color: #333 !important;
        border-top: 1px dotted #ddd;
        padding: 0 15px;
        line-height: 40px;
        background-color: transparent !important;
        border-bottom: 0;
    }
}

/* tablet */
@media (width >= 768px) {
    #search-form {
        display: block;
        width: auto;
        position: static;
        background: transparent;
        padding: 0;
    }

    #search-toggle {
        display: none;
    }

    .language {
        margin-left: 15px;
        grid-template-columns: repeat(3, 1fr);
    }

    .language .label {
        display: none;
    }
}

/*desktop*/
@media (width >= 1024px) {
    .header-active .top-header-wrapper {
        padding-top: 10px;
        padding-bottom: 10px;
        transition: all 0.3s;
    }

    .nav > li:hover .dropdown-box {
        display: block;
    }

    .logo img {
        max-height: inherit;
    }

    .header-active .logo img {
        height: 50px;
        transition: height 0.3s;
    }

    .header.header-active .navigation {
        padding-top: 10px;
        padding-bottom: 10px;
        transition: padding 0.3s;
    }

    .top-header-wrapper {
        padding: 24px 0;
    }

    .search-input {
        width: 276px;
    }

    .header .navigation {
        padding-top: 24px;
        padding-bottom: 15px;
        overflow-y: inherit;
    }

    .header {
        background-color: rgba(0, 0, 0, 0.2);
    }

    .header .nav {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .header .nav li {
        border-top: none;
        position: relative;
    }

    .header .nav li:not(:first-child) > a {
        padding-left: 20px;
        padding-right: 20px;
    }

    .menu-btn {
        display: none;
    }
}

@media (width >= 1280px) {
    .header .nav {
        justify-content: space-between;
    }
}