.site-header .header-search-slot {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 960px;
}

.site-header .header-map-entry,
.site-header .home-map-search-panel {
    width: 100%;
    margin: 0;
}

.site-header .home-map-search-form {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.site-header .home-map-search-modes {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 7px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.site-header .home-map-search-modes button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid #eedbd0;
    border-radius: 12px;
    background: #fff;
    color: #1a2446;
    font: inherit;
    font-size: .86rem;
    font-weight: 450;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .18s, border-color .18s, color .18s, box-shadow .18s;
}

.site-header .home-map-search-modes button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.site-header .home-map-search-modes button [data-ce-icon] {
    display: grid;
    width: 17px;
    height: 17px;
    place-items: center;
}

.site-header .home-map-search-modes button [data-ce-icon] svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.9;
}

.site-header .home-map-search-modes button.is-active {
    border-color: #eb6d28;
    background: linear-gradient(135deg, #ef7c32, #e95c15);
    box-shadow: 0 5px 12px rgba(208, 82, 19, .2);
    color: #fff;
}

.site-header .home-map-search-divider {
    display: block;
    flex: 0 0 1px;
    width: 1px;
    height: 30px;
    background: #edb58e;
}

.site-header .home-map-search {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 9px;
    min-width: 0;
    min-height: 42px;
    padding: 3px 10px 3px 14px;
    border: 1px solid #edd6c8;
    border-radius: 13px;
    background: #fff;
    box-shadow: none;
}

.site-header .home-map-search:focus-within {
    border-color: #ed6b26;
    box-shadow: 0 0 0 4px rgba(237, 107, 38, .11);
}

.site-header .home-map-search .home-map-search-icon {
    display: grid;
    width: 19px;
    height: 19px;
    place-items: center;
    color: #e86922;
}

.site-header .home-map-search .home-map-search-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

.site-header .home-map-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #24314e;
    font: inherit;
    font-size: .88rem;
}

.site-header .home-map-search button {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff1e9;
    color: #c84a0e;
    cursor: pointer;
}

.site-header .home-map-search button[hidden] {
    display: none;
}

@media (max-width: 760px) {
    .site-header .header-top {
        width: 100%;
        padding-right: 16px;
        padding-left: 16px;
        gap: 12px;
        border-radius: 0;
    }

    .site-header .header-search-slot {
        flex-basis: 100%;
        width: 100%;
    }

    .site-header .home-map-search {
        width: 100%;
    }

    .site-header .home-map-search-modes button {
        flex: 1 1 0;
        justify-content: center;
    }

    .site-header .home-map-search-divider {
        display: none;
    }
}

/* ==== Seletor Comércios / Buscar cidade: versão compacta (12.58) ==== */
.site-header .home-map-search-modes {
    gap: 2px;
    padding: 3px;
    border-radius: 12px;
    background: #f6eee8;
}

.site-header .home-map-search-modes button {
    min-height: 34px;
    padding: 0 12px;
    gap: 6px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #5a4a41;
    font-size: .84rem;
    font-weight: 600;
    box-shadow: none;
}

.site-header .home-map-search-modes button:hover {
    background: rgba(255, 255, 255, .78);
    color: #1a2446;
}

.site-header .home-map-search-modes button:focus-visible {
    outline: 2px solid #e95c15;
    outline-offset: 1px;
}

.site-header .home-map-search-modes button.is-active {
    background: linear-gradient(135deg, #ef7c32, #e95c15);
    box-shadow: 0 3px 8px rgba(208, 82, 19, .22);
    color: #fff;
}

.site-header .home-map-search-modes button [data-ce-icon],
.site-header .home-map-search-modes button [data-ce-icon] svg {
    width: 16px;
    height: 16px;
}

.site-header .home-map-search {
    min-height: 40px;
}

@media (max-width: 760px) {
    .site-header .home-map-search-form {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .site-header .home-map-search-modes {
        display: flex;
        align-self: center;
        width: auto;
        margin: 0;
    }

    .site-header .home-map-search-modes button {
        flex: 0 0 auto;
        padding: 0 14px;
    }
}
