/* TATUARTE A17-HF3 · visibilidad de desplegables existentes.
 * Scope: hero del buscador histórico r34r4, sin tocar publicidad ni layout.
 * Va DESPUÉS de B417 FIX11 para superar su overflow:hidden!important.
 */
body.r34r4-body .r34r4-smart-search-hero .r34r4-search-form {
    overflow: visible !important;
}
/* Solo al desplegar ciudades o resultados: evita modificar el hero cerrado. */
body.r34r4-body .r20-home .r20-hero:has(.r34r12-city-menu:not([hidden]), .r34r4-live-results:not([hidden])) {
    overflow: visible !important;
    z-index: 45;
}
body.r34r4-body .r20-home .r20-hero-copy:has(.r34r12-city-menu:not([hidden]), .r34r4-live-results:not([hidden])) {
    overflow: visible !important;
}
/* Ciudad visible por encima del panel general cuando se escribe su nombre. */
body.r34r4-body .r34r4-smart-search-hero:has(.r34r12-city-menu:not([hidden])) .r34r4-search-form {
    position: relative;
    z-index: 55;
}
/* Resultados como panel flotante; no refluye ni desplaza el hero. */
body.r34r4-body .r34r4-smart-search-hero .r34r4-live-results:not([hidden]) {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 8px);
    width: 100%;
    z-index: 35;
    max-height: min(390px, 58vh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}
/* Contraste del enlace final: algunos estilos B417 lo sobrescriben. */
body.r34r4-body .r34r4-smart-search-hero .r34r4-live-results .r34r4-result-all {
    background: #f0f0ed !important;
    color: #0b0d12 !important;
}
@media (max-width: 680px) {
    body.r34r4-body .r34r4-smart-search-hero .r34r4-live-results:not([hidden]) {
        max-height: min(280px, 40vh);
    }
}
