/* Search toolbar and commerce results. Scoped to preserve other map controls. */
#search-animated-container { right: 16px; gap: 10px; max-width: calc(100vw - 32px); }
#search-animated-wrapper { display: flex; align-items: center; gap: 0; border-radius: 14px; background: #fff; box-shadow: 0 4px 18px #172b4d1c; }
#search-animated-button { margin: 0; width: 44px; height: 44px; flex-shrink: 0; transform: none; border: 1px solid #d9e4f4; border-radius: 13px; color: #3160dc; }
#search-animated-wrapper.search-open { width: min(440px, calc(100vw - 32px)); border: 1px solid #d9e4f4; }
#search-animated-wrapper.search-open #search-animated-button { border: 0; background: transparent; transform: none; }
#busquedaInput { right: 0; margin: 0; visibility: hidden; height: 44px; }
#search-animated-wrapper.search-open #busquedaInput { visibility: visible; position: static; width: 0; min-width: 0; flex: 1; padding: 0 8px; border: 0; border-radius: 0; background: transparent; color: #20304a; font-size: 16px; }
#busquedaInput::placeholder { color: #74829a; }
#search-animated-wrapper:focus-within { box-shadow: 0 0 0 3px #3563e51a, 0 6px 20px #172b4d1c; }
#right-menu-icon { margin: 0 5px; width: 36px; height: 36px; flex-shrink: 0; border: 0; border-radius: 9px; background: #edf3ff; color: #3160dc; }
#right-menu-icon:hover { background: #dce8ff; }
#right-menu-icon:focus-visible, #resultadosBusqueda .result-card:focus-visible { outline: 2px solid #3160dc; outline-offset: -2px; }
#resultadosBusqueda { box-sizing: border-box; width: min(440px, calc(100vw - 32px)); max-width: 100%; margin: 0; padding: 8px; background: #fff; color: #20304a; border: 1px solid #e2e8f2; border-radius: 16px; box-shadow: 0 12px 36px #172b4d26; max-height: min(440px, calc(100dvh - 240px)); overflow-y: auto; overscroll-behavior: contain; flex-direction: column; }
#resultadosBusqueda .search-results-heading { padding: 8px 10px 10px; font-size: 12px; font-weight: 600; color: #74829a; letter-spacing: .02em; }
#resultadosBusqueda .result-card { box-sizing: border-box; display: flex; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 13px 10px; border: 0; border-radius: 10px; background: #fff; text-align: left; color: inherit; box-shadow: none; transform: none; cursor: pointer; transition: background .15s; }
#resultadosBusqueda .result-card + .result-card { border-top: 1px solid #f0f3f8; }
#resultadosBusqueda .result-card:hover, #resultadosBusqueda .result-card:focus-visible { background: #f3f6ff; }
.search-result-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 42px; height: 42px; border-radius: 12px; color: #3d64dc; background: #edf2ff; font-size: 20px; }
.search-result-content { flex: 1; min-width: 0; }
.search-result-name { display: block; font-size: 15px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.search-result-address { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; color: #778297; overflow-wrap: anywhere; }
.search-result-arrow { flex: 0 0 20px; color: #748ab8; font-size: 17px; }
#resultadosBusqueda .search-state { display: flex; align-items: center; gap: 12px; padding: 22px 14px; font-size: 14px; line-height: 1.5; color: #74829a; }
#resultadosBusqueda .search-state > :first-child { flex-shrink: 0; color: #3160dc; }
@media (max-width: 480px) {
 #search-animated-container { right: 12px; max-width: calc(100vw - 24px); }
 #search-animated-wrapper.search-open, #resultadosBusqueda { width: calc(100vw - 24px); }
 .search-result-name { font-size: 14px; }
}
