/* [SEARCH V2 2026-10-29] Buscador moderno (view/categoria_view_v2.php + listview_v2.php).
   Se carga después de categoria.css / list.css / map.css: esos siguen dando el comportamiento (filtros, listas,
   mapa) y acá va la apariencia, con el mismo lenguaje que la portada y la ficha v2. Mobile first. */
body.page-body { background: #f5f7fa; }
.sv {
    --sv-text: #1f2933;
    --sv-muted: #5f6b7a;
    --sv-line: #e3e8ee;
    --sv-accent: #2492db;
    --sv-accent-dark: #106fa9;
    --sv-ok: #12704f;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--sv-text);
    font-size: 15px;
}
.sv *, .sv *:before, .sv *:after { box-sizing: border-box; }
.wrap-container { background: #f5f7fa; }

/* ---------- Barra de búsqueda ---------- */
.sv-bar { background: #fff; border-bottom: 1px solid var(--sv-line); padding: 12px 16px; }
.sv-bar-in { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.sv-seg { position: relative; display: flex; flex-direction: column; border: 1px solid var(--sv-line); border-radius: 14px; padding: 6px 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.sv-seg:focus-within { border-color: var(--sv-accent); box-shadow: 0 0 0 3px rgba(36, 146, 219, .15); }
.sv-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--sv-text); margin: 0; }
.sv .sv-field, .sv .vj-btn.sv-field {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 2px 0 !important;
    height: auto !important;
    min-height: 0 !important;
    font-size: 15px;
    color: var(--sv-text);
    width: 100%;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sv .sv-field::placeholder { color: var(--sv-muted); opacity: 1; }
.sv-legacy { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sv-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 14px;
    background: var(--sv-accent) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 22px;
    cursor: pointer;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}
.sv-go:hover { background: var(--sv-accent-dark) !important; }
.sv-go svg { width: 18px; height: 18px; }

/* ---------- Cuerpo ---------- */
.sv-body { max-width: 1200px; margin: 0 auto; padding: 16px; display: block; }
.sv-main { min-width: 0; }
.sv-h1 { font-size: 24px; font-weight: 800; margin: 4px 0 8px; color: var(--sv-text); }
.sv-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sv .sv-count { margin: 0; font-size: 15px; font-weight: 400; color: var(--sv-muted); }
.sv .sv-count b { color: var(--sv-text); font-size: 17px; }
.sv .date-result { display: block; font-size: 13px; }
.sv-tools { display: flex; align-items: center; gap: 10px; }
.sv-maplink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--sv-text); cursor: pointer; padding: 8px 12px; border: 1px solid var(--sv-line); border-radius: 999px; background: #fff; }
.sv-maplink:hover { border-color: #c3ccd7; }
.sv-maplink svg { width: 18px; height: 18px; }
.sv .sv-sort { margin: 0; float: none !important; width: auto; padding: 0; }
.sv .sv-sort .form-group { margin: 0; }

/* filtros (markup de filters.js) */
.sv .filter-container { padding: 0; width: auto; float: none; }
.sv .filter-container .panel {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}
.sv .filter-container .panel-heading {
    background: #fff !important;
    border: 0;
    padding: 14px 16px 6px;
    color: var(--sv-text) !important;
    font-weight: 700;
    font-size: 14px;
}
.sv .filter-container .title-panel { font-weight: 700; color: var(--sv-text); }
.sv .filter-container .panel-body { padding: 6px 16px 14px; }
.sv .filter-container .sp-remove { color: var(--sv-accent); font-weight: 600; font-size: 13px; float: right; cursor: pointer; }
.sv .filter-check { padding: 5px 0; font-size: 14px; color: var(--sv-text); cursor: pointer; display: flex; align-items: center; gap: 8px; }
.sv .filter-check.disabled { opacity: .45; }
.sv .filter-check a { color: var(--sv-accent); font-weight: 600; }
.sv .dw-filter-count { margin-left: auto; color: var(--sv-muted); font-size: 12px; background: #f1f4f8; border-radius: 999px; padding: 0 8px; }
.sv .dw-filter-checkbox { flex: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #b7c2cf; background: #fff; position: relative; margin: 0; float: none; }
.sv .dw-filter-checkbox.checked { background: var(--sv-accent); border-color: var(--sv-accent); }
.sv .dw-filter-checkbox.checked:after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sv .search-input, .sv .filter-container .form-control { border-radius: 10px; border: 1px solid #cfd7e1; box-shadow: none; height: 38px; }
.sv .filter-container .btn { border-radius: 10px; }
.sv .panel-tags .ul-tags-list li { display: inline-flex; align-items: center; gap: 6px; background: #eef6fd; color: var(--sv-text); border-radius: 999px; padding: 3px 10px; margin: 0 6px 6px 0; font-size: 13px; }
.sv .text-help-code { color: var(--sv-muted); font-weight: 400; margin-top: 6px; }

/* ---------- Tarjeta de resultado ---------- */
.sv .item-list-view.sv-card {
    margin: 0 0 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 0;
    padding: 0;
    float: none;
    width: auto;
}
.sv .item-list-view.sv-card:before, .sv .item-list-view.sv-card:after { display: none; }
.sv .sv-card.destacado { box-shadow: 0 0 0 2px var(--sv-accent), 0 4px 16px rgba(16, 24, 40, .08); }
.sv .sv-card.destacado:after { content: "Destacado"; display: block; position: absolute; top: 12px; left: 12px; background: var(--sv-accent); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; z-index: 6; }
.sv .sv-card-media { position: relative; width: 100%; padding: 0; float: none; aspect-ratio: 4 / 3; background: #dde3ea; overflow: hidden; }
.sv .sv-card-media .img-content { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.sv .sv-card-media .img-content img { width: 100% !important; height: 100% !important; object-fit: cover; display: none; }
.sv .sv-card-media .img-content img.active { display: block; }
.sv .product-visto { position: absolute; left: 12px; bottom: 12px; background: rgba(15, 23, 42, .7); color: #fff; font-size: 12px; border-radius: 999px; padding: 2px 9px; display: none; }
.sv .product-visto.shown { display: inline-block; }
.sv-card-info { padding: 14px 16px 6px; min-width: 0; }
.sv .dw-item-title { float: none; margin: 0 0 4px; }
.sv .dw-item-title a { color: var(--sv-text) !important; font-weight: 700; font-size: 17px; line-height: 1.3; text-decoration: none; }
.sv .dw-item-title a:hover { color: var(--sv-accent) !important; }
.sv .sv-score { position: static; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; background: none; border: 0; width: auto; height: auto; padding: 0; font-size: 13px; color: var(--sv-muted); }
.sv .sv-score .spPuntos { background: var(--sv-accent); color: #fff; font-weight: 700; border-radius: 8px 8px 8px 0; padding: 1px 7px; font-size: 13px; float: none; }
.sv .sv-score .spPorcentaje { font-weight: 600; color: var(--sv-text); float: none; font-size: 13px; }
.sv .sv-score .spCalificacion { float: none; font-size: 13px; color: var(--sv-muted); }
.sv .dw-item-info { float: none; width: auto; }
.sv .sv-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--sv-muted); }
.sv .sv-facts > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.sv .sv-facts i { color: #8fa0b2; }
.sv .dw-item-amenities { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; float: none; }
.sv .dw-item-amenities span { width: 30px; height: 30px; border-radius: 8px; background: #f1f4f8; color: var(--sv-muted); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; margin: 0; }
.sv .slider-pd { margin: 8px 0 0; }
.sv-card-price { position: static; display: flex; flex-direction: column; gap: 4px; padding: 12px 16px 16px; border-top: 1px solid var(--sv-line); width: auto; height: auto; background: none; float: none; text-align: left; }
.sv .price-detail { font-size: 14px; color: var(--sv-muted); line-height: 1.3; padding: 0; margin: 0; float: none; text-align: left; }
.sv .price-detail-night .price-detail-full-mount { font-size: 22px; font-weight: 800; color: var(--sv-text); }
.sv .price-detail-night .price-detail-full-currency { font-size: 14px; font-weight: 700; color: var(--sv-text); }
.sv .price-detail-full .price-detail-full-mount, .sv .price-detail-full .price-detail-full-currency { font-weight: 700; color: var(--sv-text); font-size: 15px; }
.sv .sv-total-lbl, .sv .sv-desde { font-weight: 400; }
.sv .price-link { margin-top: 6px; }
.sv .price-link .btn.sv-ver, .sv .price-link a.lnk {
    display: block;
    width: 100%;
    background: var(--sv-accent) !important;
    border: 0 !important;
    color: #fff !important;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 14px;
    text-align: center;
    text-decoration: none;
}
.sv .price-link a.lnk:hover { background: var(--sv-accent-dark) !important; }
.sv .single-price .price-detail-full { display: none; }

/* resultados en fechas alternativas */
.sv .div-parcial { margin: 8px 0 16px; }
.sv .div-parcial h3 { font-size: 18px; font-weight: 800; }

/* paginación */
.sv-pag { display: flex; justify-content: center; }
.sv .pagination > li > a { border-radius: 10px !important; margin: 0 3px; border: 1px solid var(--sv-line); color: var(--sv-text); min-width: 38px; text-align: center; }
.sv .pagination > .active > a, .sv .pagination > .active > a:hover { background: var(--sv-accent); border-color: var(--sv-accent); color: #fff; }

/* mapa */
.sv .sv-mapview { border-radius: 16px; overflow: hidden; }

/* mobile: barra inferior y filtros a pantalla completa de filters.js */
.sv .filter-footer-bar { background: #fff; border-top: 1px solid var(--sv-line); box-shadow: 0 -4px 16px rgba(16, 24, 40, .08); padding: 10px 0; }
.sv .filter-footer-bar a { color: var(--sv-text); font-weight: 600; }
.sv #filter-list.fixed-filter { background: #f5f7fa; padding: 12px 16px 90px; }
.sv .header-filter h4 { font-weight: 800; }

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
    .sv-bar-in { flex-direction: row; align-items: stretch; }
    .sv-seg { flex: 1 1 0; min-width: 0; }
    .sv .item-list-view.sv-card { flex-direction: row; }
    .sv .sv-card-media { width: 40%; aspect-ratio: auto; min-height: 220px; flex: none; }
    .sv-card-info { flex: 1; padding: 16px 18px; }
    .sv-card-price { width: 100%; }
    .sv .item-list-view.sv-card { flex-wrap: wrap; }
    .sv .sv-card-media { order: 1; }
    .sv-card-info { order: 2; width: 60%; }
    .sv-card-price { order: 3; }
}

/* ---------- Escritorio ---------- */
@media (min-width: 992px) {
    .sv-bar { padding: 14px 16px; }
    .sv-bar-in { background: #fff; border: 1px solid var(--sv-line); border-radius: 999px; padding: 4px; box-shadow: 0 4px 16px rgba(16, 24, 40, .08); max-width: 760px; gap: 0; }
    .sv-seg { border: 0; border-radius: 999px; padding: 8px 22px; }
    .sv-seg + .sv-seg:before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--sv-line); }
    .sv-seg:hover { background: #f5f7fa; }
    .sv-seg:focus-within { box-shadow: none; background: #f1f4f8; }
    .sv-go { border-radius: 999px; padding: 0 26px; }
    .sv-body { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 22px; }
    .sv .filter-container { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; padding-right: 4px; }
    .sv-h1 { font-size: 26px; }
    .sv .item-list-view.sv-card { flex-wrap: nowrap; }
    .sv .sv-card-media { width: 300px; min-height: 230px; }
    .sv-card-info { width: auto; }
    .sv-card-price { width: 210px; flex: none; border-top: 0; border-left: 1px solid var(--sv-line); justify-content: flex-end; padding: 16px; text-align: right; }
    .sv .price-detail { text-align: right; }
}

/* ---------- ajustes sobre reglas viejas de list.css ---------- */
.sv .dw-item-title { white-space: normal !important; overflow: visible !important; height: auto !important; width: auto !important; max-width: none !important; }
.sv .dw-item-title a { white-space: normal !important; display: block; }
.sv .price-link { position: static !important; width: 100% !important; left: auto !important; right: auto !important; bottom: auto !important; margin: 6px 0 0 !important; }
.sv .price-link .btn, .sv .price-link a.lnk { width: 100% !important; max-width: 100%; }
.sv .price-box .price-detail { position: static !important; width: auto !important; }
.sv #btn-map-view { background: #fff !important; width: auto !important; height: auto !important; text-indent: 0 !important; }
.sv .filter-container::-webkit-scrollbar { width: 6px; }
.sv .filter-container::-webkit-scrollbar-thumb { background: #d6dde6; border-radius: 6px; }

/* mobile: barra inferior de filters.js (se agrega fuera de .sv) y el chat por encima de ella */
body.page-body .filter-footer-bar {
    background: #fff !important;
    border-top: 1px solid #e3e8ee;
    box-shadow: 0 -4px 16px rgba(16, 24, 40, .1);
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom)) !important;
}
body.page-body .filter-footer-bar a { color: #1f2933 !important; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; }
body.page-body .filter-footer-bar .fa { color: #2492db; }
@media (max-width: 991px) {
    body.page-body #fc_frame.fc-widget-normal { bottom: 72px !important; }
}
body.page-body #filter-list.fixed-filter { background: #f5f7fa !important; padding: 12px 16px 90px !important; }
body.page-body #filter-list .header-filter { background: #fff; margin: -12px -16px 12px; padding: 12px 16px; border-bottom: 1px solid #e3e8ee; }
body.page-body #filter-list .header-filter h4 { font-weight: 800; margin: 6px 0; }
body.page-body #filter-list .close-filter { color: #1f2933; font-size: 22px; }

/* [MAPA OSM 2026-10-29] vista mapa (Leaflet) con el lenguaje v2 */
.sv-mapview .osm-pin, .osm-pin { font-family: inherit; }
.sv .sv-mapview .btn-close { background: #fff; border-radius: 999px; box-shadow: 0 2px 8px rgba(16, 24, 40, .25); text-align: center; line-height: 30px; }
/* (la burbuja del mapa usa ahora la tarjeta .sv-mcard: estilos más abajo) */

/* ---------- [SEARCH V2 2026-10-29 b] ---------- */
.sv-oculto { display: none !important; }

/* galería navegable de las tarjetas (lista y burbuja del mapa) */
.sv .sv-card-media .sv-gal { position: absolute; inset: 0; display: block; background: #dde3ea; }
.sv .sv-card-media .sv-gal img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv .sv-card-media.sv-cargando:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    z-index: 4;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='20' fill='none' stroke='%23ffffff' stroke-width='5' opacity='.6'/%3E%3Ccircle cx='25' cy='25' r='20' fill='none' stroke='%232492db' stroke-width='5' stroke-linecap='round' stroke-dasharray='40 90'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='0.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
}
.sv .sv-gal-btn {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #1f2933;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    transition: opacity .15s, transform .1s;
}
.sv .sv-gal-prev { left: 10px; }
.sv .sv-gal-next { right: 10px; }
.sv .sv-gal-btn:hover { background: #fff; }
.sv .sv-gal-btn:active { transform: scale(.92); }
.sv .sv-gal-btn:focus-visible { outline: 2px solid #2492db; outline-offset: 2px; }
.sv .sv-gal-cont { position: absolute; right: 10px; bottom: 10px; z-index: 5; background: rgba(15, 23, 42, .65); color: #fff; font-size: 12px; border-radius: 999px; padding: 2px 9px; }
@media (hover: hover) {
    .sv .sv-gal-btn { opacity: 0; }
    .sv .sv-card-media:hover .sv-gal-btn, .sv .sv-gal-btn:focus-visible { opacity: 1; }
}
.sv .item-list-view .sv-card-media .favorite { right: 12px !important; top: 12px !important; }

/* precio: "Desde" / "AR$ 79.000" / "por noche" */
.sv .price-detail-night { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.sv .sv-precio-linea { white-space: nowrap; }
.sv .sv-noche { color: #5f6b7a; font-size: 13px; }
.sv .sv-ver span { transition: transform .15s; display: inline-block; }
.sv .sv-ver:hover span { transform: translateX(3px); }
@media (min-width: 992px) {
    .sv .sv-card-price .price-detail-night { flex-direction: column; align-items: flex-end; gap: 0; }
    .sv .sv-card-price .sv-desde { font-size: 13px; }
}

/* código de alojamiento (selectize) */
.sv .panel-code .input-group { display: flex; gap: 8px; width: 100%; }
.sv .panel-code .input-group .selectize-control.form-control { flex: 1; min-width: 0; height: auto; padding: 0; border: 0; box-shadow: none; background: none; }
.sv .panel-code .selectize-input {
    min-height: 40px;
    border: 1px solid #cfd7e1 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    padding: 8px 12px !important;
    font-size: 15px;
    background: #fff !important;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}
.sv .panel-code .selectize-input.focus { border-color: #2492db !important; box-shadow: 0 0 0 3px rgba(36, 146, 219, .15) !important; }
.sv .panel-code .selectize-input input { font-size: 15px !important; }
.sv .panel-code .selectize-input .item { background: #eef6fd !important; color: #1f2933 !important; border: 0 !important; border-radius: 999px !important; padding: 2px 10px !important; text-shadow: none !important; background-image: none !important; box-shadow: none !important; }
.sv .panel-code .input-group-btn { width: auto; display: block; }
.sv #btn-buscar-code { height: 40px; border: 0; border-radius: 10px !important; background: #1f2933; color: #fff; font-weight: 600; padding: 0 16px; }
.sv #btn-buscar-code:hover { background: #000; }

/* orden (componente dw-list de widget.js) */
.sv .sort-div .dw-list-container { position: relative; }
.sv .sort-div .dw-list-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    border: 1px solid #e3e8ee;
    border-radius: 999px;
    background: #fff;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 14px;
    color: #1f2933;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: none;
    height: auto;
    line-height: 1.2;
}
.sv .sort-div .dw-list-text:before { content: "\21C5"; color: #2492db; font-weight: 700; }
.sv .sort-div .dw-list-text:hover { border-color: #c3ccd7; }
.sv .sort-div .dw-list-text .glyphicon { font-size: 10px; color: #5f6b7a; top: 0; }
.sv .sort-div .dw-list {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 60;
    min-width: 230px;
    background: #fff;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .18), 0 0 0 1px rgba(15, 23, 42, .06);
    padding: 6px;
    margin: 0;
}
.sv .sort-div .dw-list li { padding: 0; margin: 0; border: 0; background: none; }
.sv .sort-div .dw-list li span { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: #1f2933; cursor: pointer; }
.sv .sort-div .dw-list li:hover span { background: #f1f4f8; }
.sv .sort-div .dw-list li.selected span { font-weight: 700; }
.sv .sort-div .dw-list li.selected span:after { content: " \2713"; color: #2492db; }

/* filtro de precios (rango de jQuery UI) */
.sv #filter-list .slider-range.ui-slider-horizontal { height: 4px; background: #e3e8ee; border: 0; border-radius: 4px; margin: 16px 10px 18px; }
.sv #filter-list .slider-range .ui-slider-range { background: #2492db; border: 0; }
.sv #filter-list .slider-range .ui-slider-handle { width: 20px; height: 20px; top: -8px; margin-left: -10px; border-radius: 50%; background: #fff; border: 2px solid #2492db; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); cursor: grab; }
.sv #filter-list .slider-label { display: flex; gap: 8px; margin: 0 0 10px; }
.sv #filter-list .slider-label > div { flex: 1; padding: 0; width: auto; float: none; }
.sv #filter-list .slider-label label { display: block; font-size: 12px; font-weight: 600; color: #5f6b7a; margin: 0 0 3px; }
.sv #filter-list .slider-label input { width: 100%; height: 36px; border: 1px solid #cfd7e1; border-radius: 10px; padding: 0 10px; font-size: 14px; }
.sv #filter-list .btn-apply-filter { width: 100%; border: 0; border-radius: 10px; background: #1f2933; color: #fff; font-weight: 600; padding: 9px 12px; }

/* burbuja del mapa (template #tmplateviewmap → .sv-mcard) */
.sv .sv-mcard, .osm-popup .sv-mcard, #infomap .sv-mcard {
    display: flex !important;
    flex-direction: column;
    position: relative !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 1px solid #e3e8ee !important;
    border-radius: 14px;
    overflow: hidden;
    background: #fff !important;
    box-shadow: none !important;
    float: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1f2933;
}
.sv .sv-mcard:before, .sv .sv-mcard:after { display: none !important; }
.sv .sv-mcard .sv-card-media { width: 100% !important; height: auto !important; min-height: 0 !important; aspect-ratio: 16 / 10; position: relative; float: none; background: #dde3ea; overflow: hidden; }
.sv .sv-mcard-body { padding: 10px 14px 14px; display: flex; flex-direction: column; gap: 5px; }
.sv .sv-mcard .dw-item-title { margin: 0; }
.sv .sv-mcard .dw-item-title a { font-size: 15px !important; color: #1f2933 !important; }
.sv .sv-mcard .sv-score { margin: 0; }
.sv .sv-mcard .sv-facts { font-size: 13px; gap: 2px 10px; }
.sv .sv-mcard .price-box { position: static !important; display: flex; flex-direction: column; gap: 2px; width: auto !important; height: auto !important; padding: 4px 0 0 !important; margin: 0 !important; background: none !important; border: 0 !important; text-align: left; }
.sv .sv-mcard .price-detail { color: #5f6b7a !important; background: none !important; padding: 0 !important; text-align: left !important; position: static !important; width: auto !important; }
.sv .sv-mcard .price-detail-night .price-detail-full-mount { color: #1f2933 !important; font-size: 19px !important; font-weight: 800; }
.sv .sv-mcard .price-detail-night .price-detail-full-currency, .sv .sv-mcard .price-detail-full .price-detail-full-mount, .sv .sv-mcard .price-detail-full .price-detail-full-currency { color: #1f2933 !important; font-weight: 700; }
.sv .sv-mcard .sv-ver { display: block; margin-top: 6px; background: #2492db !important; color: #fff !important; border: 0 !important; border-radius: 10px; font-weight: 700; font-size: 14px; padding: 9px 12px; text-align: center; text-decoration: none; width: 100%; }
.sv .sv-mcard .sv-ver:hover { background: #106fa9 !important; }
.osm-popup .leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: 0 12px 40px rgba(15, 23, 42, .25); }
.osm-popup .leaflet-popup-content { margin: 12px !important; }
.osm-popup .deptos-list { width: 320px !important; height: auto !important; max-height: 470px; overflow-y: auto; padding: 0; margin: 0; list-style: none; }
.osm-popup .box-depto { min-height: 0 !important; }
.osm-popup .title-count { font-size: 13px; color: #5f6b7a; margin: 0 0 8px; }

/* ajustes (2026-10-29 c) */
.sv #filter-list li.filter-check:has(.slider-range) { display: block !important; } /* filters.js lo vuelve a ocultar */
.sv .sv-card-price .price-link { display: block !important; width: 100% !important; }
.sv .sv-card-price .price-link a.lnk.sv-ver { display: block !important; width: 100% !important; box-sizing: border-box; white-space: nowrap; padding: 10px 8px !important; font-size: 14px; }
.sv .sort-div .dw-list-container { background: transparent !important; border: 0 !important; outline: 0 !important; box-shadow: none !important; padding: 0 !important; }
.sv .sv-card-price .price-link, .sv .sv-mcard .price-link { padding: 0 !important; } /* list.css le ponía relleno lateral */
.sv .sort-div .dw-list li span:before, .sv .sort-div .dw-list li:before { content: none !important; display: none !important; }
.sv .sort-div .dw-list-text .glyphicon { position: static !important; display: inline-block; margin: 0 !important; }
/* burbuja: la lista de alojamientos del edificio es un carrusel (li.active); con la tarjeta nueva cada li toma su alto */
.osm-popup .deptos-list, #infomap .deptos-list { height: auto !important; max-height: none !important; overflow: visible !important; }
.osm-popup .deptos-list > li, #infomap .deptos-list > li { position: static !important; display: none !important; width: auto !important; height: auto !important; left: auto !important; top: auto !important; }
.osm-popup .deptos-list > li.active, #infomap .deptos-list > li.active { display: block !important; }
.osm-popup .deptos-list > li .sv-mcard, #infomap .deptos-list > li .sv-mcard { margin: 0 !important; }
.sv .sv-mcard .sv-card-media { order: -1; } /* la foto arriba */
/* mobile: list.css posicionaba el precio en absoluto con fondo oscuro sobre la tarjeta */
.sv .item-list-view .sv-card-price { position: static !important; top: auto !important; bottom: auto !important; left: auto !important; right: auto !important; height: auto !important; background: none !important; margin: 0 !important; }
.sv .item-list-view .sv-card-price .price-detail { background: none !important; color: #5f6b7a !important; position: static !important; height: auto !important; margin: 0 !important; padding: 0 !important; width: auto !important; }
.sv .item-list-view .sv-card-price .price-detail-full-mount, .sv .item-list-view .sv-card-price .price-detail-full-currency { color: #1f2933 !important; background: none !important; }
.sv .item-list-view .dw-item-amenities { position: static !important; top: auto !important; bottom: auto !important; left: auto !important; right: auto !important; height: auto !important; width: auto !important; background: none !important; }
.sv .item-list-view.sv-card .dw-item-amenities { display: flex !important; flex-wrap: wrap; gap: 6px; width: 100% !important; margin: 8px 0 0 !important; padding: 0 !important; }
.sv .item-list-view.sv-card .dw-item-amenities > span { float: none !important; margin: 0 !important; }
/* [2026-10-29 c] alineaciones finas */
.sv .panel-code .input-group { align-items: center; }
.sv .panel-code .input-group .selectize-control.form-control { margin: 0 !important; }
.sv .panel-code .selectize-input { min-height: 40px !important; margin: 0 !important; }
.sv .panel-code .input-group-btn { display: flex; align-items: center; height: auto; font-size: 0; }
.sv #btn-buscar-code { font-size: 15px; line-height: 40px; margin: 0 !important; }
.sv .sv-gal-btn { display: flex; align-items: center; justify-content: center; line-height: 0; font-size: 0; }
.sv .sv-gal-btn svg { width: 16px; height: 16px; display: block; }
.sv .sort-div .dw-list li span { background-image: none !important; padding-left: 0 !important; }

/* [SEARCH V2 2026-10-29 d] Carga de resultados: sin velo blanco a pantalla completa (.dwwait). Primera carga →
   tarjetas esqueleto (ya vienen en el HTML, se ven al instante); al cambiar filtros → resultados atenuados + barra. */
body .dwwait { display: none !important; }
.sv-skel { display: none; }
.sv.sv-cargando-res .sv-skel { display: flex; flex-direction: column; gap: 16px; }
.sv.sv-cargando-res #resultview, .sv.sv-cargando-res .sv-pag { display: none; }
.sv.sv-cargando-res .sv-count { visibility: hidden; }
.sv-skel-msg { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--sv-muted); font-size: 15px; font-weight: 600; }
.sv-skel-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #d6e6f5; border-top-color: var(--sv-accent); animation: sv-giro .8s linear infinite; flex: none; }
.sv-skel-card { background: #fff; border: 1px solid var(--sv-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.sv-skel-img { aspect-ratio: 4 / 3; }
.sv-skel-tx { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sv-skel-pr { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.sv-skel-tx i, .sv-skel-pr i, .sv-skel-pr b { display: block; height: 14px; border-radius: 7px; }
.sv-skel-tx i:first-child { height: 20px; }
.sv-skel-pr b { height: 44px; border-radius: 10px; margin-top: 6px; }
.sv-skel-img, .sv-skel-tx i, .sv-skel-pr i, .sv-skel-pr b {
    background: linear-gradient(90deg, #eef1f5 0%, #f7f9fb 40%, #eef1f5 80%);
    background-size: 200% 100%;
    animation: sv-brillo 1.3s ease-in-out infinite;
}
.sv-w35 { width: 35%; } .sv-w40 { width: 40%; } .sv-w45 { width: 45%; } .sv-w55 { width: 55%; } .sv-w70 { width: 70%; }
@media (min-width: 600px) {
    .sv-skel-card { flex-direction: row; }
    .sv-skel-img { width: 40%; aspect-ratio: auto; min-height: 220px; flex: none; }
    .sv-skel-tx { padding: 20px; }
    .sv-skel-pr { width: 200px; flex: none; padding: 20px; justify-content: flex-end; border-left: 1px solid var(--sv-line); }
}
@media (max-width: 899px) and (min-width: 600px) {
    .sv-skel-pr { display: none; }
}
/* actualización con resultados ya en pantalla */
.sv-progreso { height: 3px; border-radius: 3px; margin: 0 0 12px; background: transparent; overflow: hidden; position: relative; visibility: hidden; }
.sv.sv-actualizando .sv-progreso { visibility: visible; background: #e3eef8; }
.sv.sv-actualizando .sv-progreso:after { content: ""; position: absolute; top: 0; bottom: 0; width: 35%; background: var(--sv-accent); border-radius: 3px; animation: sv-barra 1.1s ease-in-out infinite; }
.sv.sv-actualizando #resultview { opacity: .45; pointer-events: none; transition: opacity .15s; }
@keyframes sv-brillo { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes sv-barra { 0% { left: -35%; } 100% { left: 100%; } }
@keyframes sv-giro { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .sv-skel-img, .sv-skel-tx i, .sv-skel-pr i, .sv-skel-pr b, .sv-skel-spin, .sv.sv-actualizando .sv-progreso:after { animation: none; }
}
