#header {
    width: 100%;
    background: var(--white);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    position: fixed;
    top: 0;
    z-index: 999;
}

.logged-in #header {
    top: 32px;
}

#header .header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

#header .header-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

#header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

#header nav ul li {
    display: flex;
}

#header nav ul li a {
    display: flex;
    align-items: center;
    padding: 20px 15px;
    position: relative;
    text-decoration: none;
    color: var(--text-color);
    white-space: nowrap;
}

#header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--secondary-color);
    transition: left 0.28s ease, right 0.28s ease;
}

#header nav ul li a:hover::after,
#header nav ul li.current-menu-item a::after {
    left: 15px;
    right: 15px;
}

#header .header-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

#header .header-bar__search {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1140px) {
    #header nav,
    #header .header-bar {
        display: none;
    }

    #header .header-wrapper {
        height: 60px;
        min-height: 60px;
    }

    #header .header-navigation {
        gap: 0;
        height: 100%;
    }

    #header .header-navigation__logo img {
        height: 28px;
        width: auto;
    }

    .slicknav_nav a {
        color: var(--text-color) !important;
        background: transparent !important;
        font-weight: 500;
        border-top: 1px solid var(--background-color) !important;
        text-align: left !important;
    }

    .slicknav_nav a:hover {
        color: var(--primary-color) !important;
        background: var(--background-color) !important;
    }

    .slicknav_nav .current-menu-item a {
        color: var(--primary-color) !important;
        background: transparent !important;
    }

    .header-search.is-open {
        top: 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}