.home-hero {
    position: relative;
}

.busca-hero {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    pointer-events: none;
}

.busca-hero .container {
    pointer-events: none;
}

.busca-hero-copy {
    max-width: 760px;
    margin: 0 auto 18px;
    padding: 28px 36px 22px;
    text-align: center;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    pointer-events: none;
}

.busca-hero-titulo {
    margin: 0 0 14px;
    color: #febb22;
    font-family: Argumentum-Black, Arial, sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.busca-hero-subtitulo {
    margin: 0 auto;
    max-width: 560px;
    color: #6b6b6b;
    font-family: Argumentum-Regular, Arial, sans-serif;
    font-size: clamp(0.95rem, 1.15vw, 1.08rem);
    line-height: 1.55;
}

.busca-hero-bar {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    padding: 8px;
    min-height: 76px;
    pointer-events: auto;
}

.busca-hero-field {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    padding: 0 14px;
    gap: 12px;
    position: relative;
}

.busca-hero-field + .busca-hero-field::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: #ececec;
}

.busca-hero-ico {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff6d6;
    color: #febb22;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.busca-hero-combo {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
}

.busca-hero-label {
    display: none;
}

.busca-hero-combo > i.fa-search {
    display: none;
}

.busca-hero .custom-combobox {
    display: block;
    width: 100%;
}

.busca-hero .custom-combobox-input,
.busca-hero .custom-combobox-input.ui-widget,
.busca-hero .custom-combobox-input.ui-widget-content,
.busca-hero .custom-combobox-input.ui-state-default,
.busca-hero .custom-combobox-input.ui-corner-left {
    width: 100% !important;
    max-width: 100%;
    height: 44px;
    padding: 0 28px 0 0 !important;
    margin: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #222;
    font-family: Argumentum-Regular, Arial, sans-serif;
    font-size: 15px;
    line-height: 44px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    outline: none;
    border-radius: 0;
}

.busca-hero .custom-combobox-input::placeholder {
    color: #8b8b8b;
    opacity: 1;
}

.busca-hero .custom-combobox-toggle,
.busca-hero .custom-combobox-toggle.ui-button {
    width: 22px;
    right: 0;
    left: auto;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.busca-hero .custom-combobox-toggle .ui-icon {
    background-image: none !important;
    text-indent: 0;
    overflow: visible;
    width: 100%;
    height: 100%;
    margin: 0;
    left: 0;
    top: 0;
}

.busca-hero .custom-combobox-toggle .ui-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid #b0b0b0;
    border-bottom: 2px solid #b0b0b0;
    transform: translate(-50%, -65%) rotate(45deg);
}

.busca-hero-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 132px;
    margin: 4px;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    background: #febb22;
    color: #1a1a1a;
    font-family: Argumentum-Black, Arial, sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.15s ease;
}

.busca-hero-btn:hover,
.busca-hero-btn:focus {
    filter: brightness(0.96);
    outline: none;
}

.busca-hero-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(254, 187, 34, 0.45);
}

.busca-hero-btn:active {
    transform: scale(0.98);
}

.ui-tooltip {
    display: none !important;
}

body .ui-menu.ui-autocomplete {
    z-index: 5000 !important;
    box-sizing: border-box;
    max-height: 280px;
    overflow-x: hidden;
    overflow-y: auto;
    margin-top: 10px;
    padding: 8px;
    background: #fff !important;
    color: #222 !important;
    border: 1px solid #ececec !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16) !important;
    font-family: Argumentum-Regular, Arial, sans-serif;
    font-size: 14px;
}

body .ui-menu.ui-autocomplete .ui-menu-item {
    margin: 0;
    padding: 0;
    border: 0;
}

body .ui-menu.ui-autocomplete .ui-menu-item-wrapper,
body .ui-menu.ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
body .ui-menu.ui-autocomplete .ui-menu-item-wrapper.ui-state-focus {
    margin: 0 !important;
    padding: 11px 14px !important;
    border: 0 !important;
    border-radius: 10px;
    background: transparent !important;
    color: #333 !important;
    font-family: Argumentum-Regular, Arial, sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body .ui-menu.ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
body .ui-menu.ui-autocomplete .ui-menu-item-wrapper.ui-state-focus {
    background: #fff6d6 !important;
    color: #1a1a1a !important;
}

body .ui-menu.ui-autocomplete::-webkit-scrollbar {
    width: 8px;
}

body .ui-menu.ui-autocomplete::-webkit-scrollbar-track {
    background: transparent;
    margin: 8px 0;
}

body .ui-menu.ui-autocomplete::-webkit-scrollbar-thumb {
    background: #febb22;
    border-radius: 8px;
    border: 2px solid #fff;
}

@media (max-width: 991px) {
    .home-hero {
        position: relative;
        min-height: 300px;
        padding-bottom: 28px;
        margin-bottom: 0;
        overflow: visible;
        box-sizing: border-box;
    }

    #bannerPrincipal2 {
        position: absolute;
        inset: 0;
        z-index: 1;
        height: 100%;
    }

    #bannerPrincipal2 .bxsliderBanner,
    #bannerPrincipal2 .royalSlider,
    #bannerPrincipal2 .rsMinW,
    #bannerPrincipal2 .rsOverflow,
    #bannerPrincipal2 .rsContainer,
    #bannerPrincipal2 .rsSlide,
    #bannerPrincipal2 .rsContent,
    #bannerPrincipal2 .rsContent > div,
    #bannerPrincipal2 img.full {
        height: 100% !important;
        min-height: 300px;
    }

    #bannerPrincipal2 img.full {
        width: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .busca-hero {
        position: absolute;
        left: 14px;
        right: 14px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        margin: 0;
        z-index: 10;
        pointer-events: none;
    }

    .busca-hero .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        pointer-events: auto;
    }

    .busca-hero-bar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 6px 8px;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
        gap: 0;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
    }

    .busca-hero-field {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex: none;
        width: 100%;
        min-width: 0;
        padding: 3px 0;
        gap: 7px;
        position: relative;
        box-sizing: border-box;
    }

    .busca-hero-field + .busca-hero-field::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        width: auto;
        height: 1px;
        background: #ececec;
    }

    .busca-hero-ico {
        flex: 0 0 30px;
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .busca-hero-select {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
    }

    .busca-hero-combo {
        position: relative;
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
    }

    .busca-hero-label {
        display: none !important;
    }

    .busca-hero .custom-combobox {
        display: block;
        width: 100%;
        position: relative;
        z-index: 1;
    }

    .busca-hero .custom-combobox ~ .placeholder {
        display: none !important;
    }

    .busca-hero .custom-combobox-input,
    .busca-hero .custom-combobox-input.ui-widget,
    .busca-hero .custom-combobox-input.ui-widget-content,
    .busca-hero .custom-combobox-input.ui-state-default,
    .busca-hero .custom-combobox-input.ui-corner-left {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: 36px !important;
        min-height: 36px;
        padding: 0 34px 0 12px !important;
        line-height: 36px !important;
        font-size: 16px !important;
        border: 1px solid #ddd !important;
        border-radius: 8px !important;
        background: #fff !important;
        box-sizing: border-box;
        color: #333 !important;
        float: none !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        -webkit-appearance: none;
        appearance: none;
    }

    .busca-hero .custom-combobox-input::placeholder {
        color: #9a9a9a !important;
        opacity: 1 !important;
    }

    .busca-hero .custom-combobox-input:focus::placeholder {
        color: #b8b8b8 !important;
    }

    .busca-hero .custom-combobox-toggle,
    .busca-hero .custom-combobox-toggle.ui-button,
    .busca-hero .custom-combobox .fixo ~ .custom-combobox-toggle {
        position: absolute !important;
        top: 1px !important;
        right: 1px !important;
        bottom: 1px !important;
        left: auto !important;
        width: 32px !important;
        height: auto !important;
        margin: 0 !important;
        transform: none !important;
        border-radius: 0 7px 7px 0;
        z-index: 3;
    }

    .busca-hero .custom-combobox ~ .placeholder {
        display: none !important;
    }

    .busca-hero-btn {
        flex: none;
        width: 100%;
        min-height: 38px;
        margin: 4px 0 0;
        padding: 0 12px;
        font-size: 14px;
        border-radius: 9px;
        align-self: stretch;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .busca-hero {
        left: 24px;
        right: 24px;
    }

    .busca-hero-bar {
        max-width: 560px;
        margin: 0 auto;
    }
}
