@media (min-width: 1025px) {
    .header__nav {
        position: relative;
        width: 100%;
    }

    .header__menu {
        display: flex;
        justify-content: center;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
        position: relative;
    }

    /* Itens do lado direito */
    .header__menu .header__search,
    .header__menu .menu-language {
        position: absolute;
        right: 0;
    }

    .header__menu .menu-language {
        right: 0;
    }

    .header__search {
        position: absolute;
        width: 200px;
        height: 30px;
        /* Removemos margin: auto e top/left/right/bottom conflitantes */
    }

    .header__search .header__search-div {
        position: absolute;
        margin: auto;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 30px;
        height: 30px;
        background: transparent;
        transition: all 1s;
        z-index: 4;
    }

    .header__search .header__search-div:hover {
        cursor: pointer;
    }

    .header__search .header__search-div::before {
        content: "";
        position: absolute;
        margin: auto;
        top: 14px;
        right: 0;
        bottom: 0;
        left: 14px;
        width: 10px;
        height: 2px;
        background: white;
        transform: rotate(45deg);
        transition: all 0.5s;
    }

    .header__search .header__search-div::after {
        content: "";
        position: absolute;
        margin: auto;
        top: -5px;
        right: 0;
        bottom: 0;
        left: -5px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: 2px solid white;
        transition: all 0.5s;
    }

    .header__search input {
        position: absolute;
        margin: auto;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 30px;
        height: 30px;
        outline: none;
        border: none;
        background: #31425c;
        color: var(--bs-primary);
        padding: 0 80px 0 20px;
        transition: all 1s;
        opacity: 0;
        z-index: 5;
        letter-spacing: 0.1em;
    }

    .header__search input:hover {
        cursor: pointer;
    }

    .header__search input:focus {
        width: 200px;
        opacity: 1;
        cursor: text;
    }

    .header__search input:focus ~ .header__search-div {
        right: -170px;
        background: #31425c;
        z-index: 6;
    }

    .header__search input:focus ~ .header__search-div::before {
        top: 0;
        left: 0;
        width: 25px;
    }

    .header__search input:focus ~ .header__search-div::after {
        top: 0;
        left: 0;
        width: 25px;
        height: 2px;
        border: none;
        background: white;
        border-radius: 0%;
        transform: rotate(-45deg);
    }

    .header__search input::placeholder {
        color: var(--bs-primary);
        opacity: 0.5;
    }

    /* Para garantir que os itens centrais fiquem centralizados */
    .header__menu li:not(.header__search):not(.menu-language) {
        position: relative;
    }

    .menu-language .header__submenu {
        min-width: 80px;
        max-width: 110px;
    }
}
/* Responsividade - ajuste conforme necessário */
@media (max-width: 1024px) {
    .header__menu .header__search {
        display: none;
    }
}


/*Select*/
.select2-container {
    max-width: 100%;
}
@media (max-width: 991px) {
    .select2-container {
    width: 100% !important;
    }
}

.select2-results__option {
    padding-right: 10px;
    vertical-align: middle;
    display: flex;
    align-items: center;
    font-size: 16px;
}
.select2-results__option:before {
    content: "";
    display: inline-block;
    position: relative;
    height: 16px;
    width: 16px;
    border: 1.5px solid #31425c;
    border-radius: 2px;
    background-color: #fff;
    margin-right: 10px;
    vertical-align: middle;
}
.select2-results__option[aria-selected="true"]:before {
    content: "✓";
    color: #fff;
    background-color: #31425c;
    border: 0;
    display: inline-block;
    text-align: center;
    line-height: 15px;
}
.select2-container--default
.select2-results__option[aria-selected="true"] {
    background-color: #fff;
}
.select2-container--default
.select2-results__option--highlighted[aria-selected] {
    background-color: #eaeaeb !important;
    color: #272727 !important;
}
.select2-container--default .select2-selection--multiple {
    margin-bottom: 0;
}
.select2-container--default.select2-container--open.select2-container--below
.select2-selection--multiple {
    border-radius: 4px;
}
.select2-container--default.select2-container--focus
.select2-selection--multiple,
.select2-container--default.select2-container--focus
.select2-selection--single {
    border-color: #31425c !important;
    border-width: 1px !important;
}
.select2-container--default .select2-selection--multiple {
    border-width: 1px;
}
.select2-container--default
.select2-selection--multiple
.select2-selection__,
.select2-container--default
.select2-selection--single
.select2-selection__clear {
    color: #31425c;
    font-weight: 400;
}
.select2-container--default .select2-selection--multiple {
    border: none;
    border-radius: none;
}

/* Price select (single) */
.select2-container--default .select2-selection--single {
    border: none;
}
.select2-container--default.select2-container--focus
.select2-selection--single {
    border: 1px solid #31425c;
    border-radius: 0;
}
.select2-container--default
.select2-selection--single
.select2-selection__rendered,
.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    line-height: 34px;
}
.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    font-size: 16px;
    color: var(--bs-primary);
    padding-left: 0;
}

.select2-container
.select2-selection--multiple
.select2-selection__rendered {
    padding-left: 0;
}

/* Custom display for selected items */
.select2-selection__choice {
    display: none !important;
}
.select2-selection__rendered:after {
    content: attr(data-selected-text);
    display: inline-block;
    color: #31425c;
    font-size: 16px;
    position: absolute;
    left: 0;
    top: 5px;
    margin-left: 5px;
}
.select2-container--default.select2-container--open.select2-container--below
.select2-selection--multiple {
    border-radius: 0;
}
.select2-container--default
.select2-selection--single
.select2-selection__placeholder,
.select2-container--default
.select2-search--inline
.select2-search__field {
    color: #31425c;
    font-size: 16px;
}

.select2-selection__arrow b {
    display: none;
}

/* Placeholder - Corrigido para múltiplos e single */
.select2-container--default
.select2-selection--single
.select2-selection__placeholder,
.select2-container--default
.select2-selection--multiple
.select2-selection__placeholder,
#placeholder {
    color: var(--bs-primary) !important;
    font-weight: normal;
}

/* Campo múltiplo - ajuste do placeholder */
.select2-container--default
.select2-search--inline
.select2-search__field,
#placeholder,
::-webkit-input-placeholder {
    color: var(--bs-primary);
    font-weight: normal;
    margin-top: 10px;
}

.select2-container--default .select2-selection--multiple {
    position: relative;
    padding-right: 20px;
}

.select2-container--default .select2-selection--multiple:after,
.select2-container--default .select2-selection--single:after {
    content: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.883789 0.999999L6.88379 7L12.8838 1' stroke='%2331425C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.3s ease;
}
.select2-container--default .select2-selection--single {
    min-height: 40px;
}
.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    padding-top: 5px;
}

.select2-container--default.select2-container--open
.select2-selection--multiple:after {
    transform: rotate(180deg);
    top: 30%;
}
.select2-container--default.select2-container--open
.select2-selection--single:after {
    transform: rotate(180deg);
    top: 25%;
}