.header {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--header-background);
    position: relative;
    z-index: 10;
}

.header-nav {
    width: 100%;
    height: 100%;
    max-width: var(--container);
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.header-logo,
.header-logo a {
    height: 100%;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo a img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 75px;
    object-fit: contain;
}

.header-menu {
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-menu-list {
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.header-menu-list li {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-menu .menu-item-has-children {
    position: relative;
}

.menu-item-has-children:not(:has(.sub-menu)) .menu-arrow {
    display: none;
}

.header-menu-list li a {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    gap: 10px;
    font-size: 16px;
    color: var(--header-text);
    transition: all .3s ease-in-out;
}

.header-menu-list>li>a {
    white-space: nowrap;
}


.menu-arrow path {
    fill: var(--header-hover);
}

.menu-arrow {
    transition: transform .3s ease;
}

.menu-item-has-children.is-open>a>.menu-arrow {
    transform: rotate(180deg);
}

.header-menu-list li a:hover {
    color: var(--header-hover);
}

.header-menu .menu-item-has-children .sub-menu {
    position: absolute;
    background-color: var(--header-background);
    width: 290px;
    top: 100%;
    flex-direction: column;
}

.header-menu .menu-item-has-children .sub-menu li {
    width: 100%;
    display: flex;
    align-items: center;
}

.header-menu .menu-item-has-children .sub-menu li a {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    justify-content: space-between;
}

.header-menu .menu-item-has-children .menu-item-has-children .sub-menu {
    padding: 0 20px;
}

.header-menu .sub-menu {
    display: none;
}

.header-menu .menu-item-has-children.is-open>.sub-menu {
    display: flex;
}

.header-search {
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search label {
    width: 100%;
    max-width: 230px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 20px;
}

.header-search label svg {
    width: 20px;
    height: 20px;
}

.header-search label input {
    width: 100%;
    height: 100%;
    border: none;
    flex: 1;
    outline: none;
    color: #A0A0A0;
    font-size: 14px;

}

.header-logo-mobile,
.header-button,
.header-mobile {
    display: none !important;
}

/* Responsividade */

@media screen and (max-width: 1100px) {

    .header-logo a img,
    .header-search label {
        max-width: 200px;
    }
}

@media screen and (max-width: 991px) {
    .header {
        height: 80px;
    }

    .header-logo-mobile,
    .header-button {
        display: flex !important;
    }

    .header .custom-logo-link,
    .header-menu,
    .header-search {
        display: none !important;
    }

    .header-logo a img {
        max-height: 65px;
    }

    .header-button {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        outline: none;
        border: none;
        gap: 5px;
        flex-direction: column;
        background-color: transparent;
        position: relative;
    }

    .header-button span {
        width: 70%;
        height: 2px;
        border-radius: 2px;
        background-color: var(--header-hover);
        transform: rotate(0deg);
        opacity: 1;
        position: relative;
        transition: transform .3s ease-in-out;
    }

    .header-button.is-close span:first-child {
        transform: rotate(-45deg) translate(-5px, 5px);
    }

    .header-button.is-close span:nth-child(2) {
        opacity: 0;
    }

    .header-button.is-close span:last-child {
        transform: rotate(45deg) translate(-5px, -5px);
    }

    .header-mobile.is-open {
        display: flex !important;

        opacity: 1;
        visibility: visible;

        transform: translateX(0);

        pointer-events: auto
    }

    .header-mobile {

        opacity: 0;
        visibility: hidden;

        transform: translateX(100%);

        transition:
            transform .3s ease,
            opacity .3s ease,
            visibility .3s ease;

        pointer-events: none;


        position: absolute;
        right: 0;
        top: 100%;
        background-color: var(--header-background);
        max-width: 400px;
        width: 100%;
        height: calc(100dvh - 80px);
        padding: 30px 20px;
        flex-direction: column;
        overflow-y: auto;
        gap: 30px;
    }

    .header-mobile_menu {
        width: 100%;
        height: auto;
    }

    .mobile-menu-list {
        display: flex;
        list-style: none;
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .mobile-menu-list li {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu-list li a {
        width: 100%;
        display: flex;
        align-items: center;
        font-weight: 600;
        justify-content: space-between;
        font-size: 16px;
        color: var(--header-text);
        transition: all .3s ease-in-out;
    }

    .mobile-menu-list li a:hover {
        color: var(--header-hover);
    }

    .mobile-menu-list .sub-menu {
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .header-mobile_search {
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-mobile_search label {
        width: 100%;
        max-width: 100%;
        height: 40px;
        background-color: #ffffff;
        border-radius: 80px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 20px;
    }

    .header-mobile_search label svg {
        width: 20px;
        height: 20px;
    }

    .header-mobile_search label input {
        width: 100%;
        height: 100%;
        border: none;
        flex: 1;
        outline: none;
        color: #A0A0A0;
        font-size: 14px;
    }

    .mobile-menu-list .sub-menu {
        display: none;
    }

    .mobile-menu-list .menu-item-has-children.is-open>.sub-menu {
        display: flex;
    }
}

@media screen and (max-width: 550px) {
    .header-mobile {
        max-width: 100%;
    }
}