/*extras 27-oct-2026: compartir, características con ícono y mapa con precios (ideas del portal)*/

/* --- compartir --- */
html body #dlg .zshare{position:absolute;top:14px;right:66px;z-index:21;display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 15px 0 12px;border-radius:999px;border:1.5px solid rgba(195,169,132,.7);background:#fff;color:#020242;font:700 13px Manrope,sans-serif;cursor:pointer;box-shadow:0 6px 18px -8px rgba(2,2,66,.35);transition:background .2s,border-color .2s}
html body #dlg .zshare svg{width:17px;height:17px}
html body #dlg .zshare:hover{background:#fbf4e3;border-color:#c3a984}
@media(max-width:900px){html body #dlg .zshare{top:8px;right:50px;height:34px;padding:0 10px}html body #dlg .zshare span{display:none}}
.ztoast{position:fixed;left:50%;bottom:28px;z-index:300;translate:-50% 20px;opacity:0;pointer-events:none;padding:11px 18px;border-radius:999px;background:#020242;color:#fff;font:600 13.5px Manrope,sans-serif;box-shadow:0 12px 30px -10px rgba(2,2,66,.6);transition:opacity .25s,translate .25s}
.ztoast.on{opacity:1;translate:-50% 0}

/* --- características con ícono --- */
html body #dlg .zrow{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin:0!important}
html body #dlg .zrow .loc{margin:0!important}
html body #dlg .ztiles{display:flex;flex-wrap:wrap;gap:6px}
html body #dlg .ztiles span{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 11px 0 9px;border-radius:999px;background:#f1effd;border:1px solid rgba(148,151,190,.35);font:600 12.5px Manrope,sans-serif;color:#4b4a5e;white-space:nowrap}
html body #dlg .ztiles svg{width:16px;height:16px;color:#a8843f;flex:none}
html body #dlg .ztiles b{color:#020242;font-weight:800}
@media(min-width:901px){html body #dlg .nota{display:none!important}}
/* las etiquetas de las tarjetas también llevan su ícono */
html body #grid .card .tags span{display:inline-flex!important;align-items:center;gap:5px}
html body #grid .card .tags span::before{content:"";width:13px;height:13px;flex:none;background:#a8843f;-webkit-mask:var(--zi) center/contain no-repeat;mask:var(--zi) center/contain no-repeat}
html body #grid .card .tags span:nth-child(1){--zi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18v-6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6M3 14h18M6 10V7.5A1.5 1.5 0 0 1 7.5 6h3A1.5 1.5 0 0 1 12 7.5V10M3 18v2M21 18v2'/%3E%3C/svg%3E")}
html body #grid .card .tags span:nth-child(2){--zi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E")}

/* --- mapa con precios --- */
.zmapa #mapa .pin{display:none!important}
.zpinw{background:none!important;border:0!important}
.zpin{position:absolute;left:0;top:0;translate:-50% -50%;display:inline-flex;align-items:center;gap:7px;padding:3px 11px 3px 3px;border-radius:999px;background:#020242;color:#fff;font:700 12px/1 Manrope,sans-serif;white-space:nowrap;border:2px solid #fff;box-shadow:0 8px 18px -6px rgba(2,2,66,.55);cursor:pointer;transition:transform .2s,background .2s}
.zpin b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 4px;border-radius:999px;background:linear-gradient(135deg,#e8d6ae,#c3a984 55%,#a8843f);color:#020242;font:800 11.5px/1 Sora,sans-serif}
.zpin.grupo b{background:#fff}
.zpin:hover{transform:scale(1.07)}
.zpin.on{background:linear-gradient(135deg,#e8d6ae,#c3a984 55%,#a8843f);color:#020242}
.zpin.on b{background:#020242;color:#fff}
.ztipw{padding:0!important;border:0!important;border-radius:14px!important;box-shadow:0 14px 30px -10px rgba(2,2,66,.45)!important;overflow:hidden}
.ztipw::before{display:none!important}
.ztip{display:flex;gap:10px;align-items:center;padding:8px 12px 8px 8px;max-width:270px;font:500 12px/1.3 Manrope,sans-serif;color:#4b4a5e;white-space:normal}
.ztip img{width:64px;height:48px;object-fit:cover;border-radius:9px;flex:none}
.ztip small{display:block;font:700 9.5px Manrope,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#a8843f}
.ztip b{display:block;color:#020242;font:800 12.5px/1.25 Manrope,sans-serif;margin:2px 0}
.ztip em{font-style:normal;font-weight:800;color:#8a6a2b}
.zlista{position:absolute;left:54px;top:12px;max-height:calc(100% - 96px);z-index:700;width:min(290px,calc(100% - 66px));display:flex;flex-direction:column;border-radius:16px;background:rgba(255,255,255,.97);backdrop-filter:blur(6px);box-shadow:0 18px 40px -16px rgba(2,2,66,.5);overflow:hidden}
.zlista[hidden]{display:none}
.zl-h{display:flex;align-items:baseline;gap:6px;padding:12px 44px 10px 14px;border-bottom:1px solid rgba(148,151,190,.3);font:600 12.5px Manrope,sans-serif;color:#5b5d78;position:relative}
.zl-h b{font:800 14.5px Sora,sans-serif;color:#020242}
.zl-x{position:absolute;right:8px;top:8px;width:28px;height:28px;border-radius:50%;border:0;background:#f1effd;color:#020242;cursor:pointer}
.zl-b{overflow:auto;padding:6px}
.zl-i{display:flex;align-items:center;gap:10px;width:100%;padding:7px;border:0;border-radius:12px;background:none;text-align:left;cursor:pointer;font:inherit}
.zl-i:hover{background:#f6f3ec}
.zl-i img,.zl-ph{width:58px;height:44px;border-radius:9px;object-fit:cover;flex:none;background:#e9e7f7}
.zl-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.zl-t b{font:700 12.5px/1.25 Manrope,sans-serif;color:#020242;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zl-t span{font:600 12px Manrope,sans-serif;color:#5b5d78}
.zl-i em{font:800 12px Manrope,sans-serif;font-style:normal;color:#020242;background:linear-gradient(135deg,#e8d6ae,#c3a984);padding:4px 8px;border-radius:999px;flex:none}
@media(max-width:700px){.zlista{left:12px;width:calc(100% - 24px);top:auto;bottom:60px;max-height:55%}}

/* de zoom 8 en adelante el portafolio ya muestra cada propiedad con su foto (extra.js): ahí los pines de zona se apartan */#mapa.minion .zpinw{display:none!important}

.zl-h b,.zl-h span{white-space:nowrap}.zl-h{flex-wrap:wrap}

/*tarjeta-compacta 27-oct: misma información en menos alto. Foto 16:10, ubicación y etiquetas en un renglón, espacios más justos*/
@media(min-width:701px){
html body #grid .card .media{aspect-ratio:16/10!important;height:auto!important;min-height:0!important;max-height:none!important}
html body #grid .card .media img{height:100%!important;object-fit:cover!important}
html body #grid .card .cbody{display:grid!important;grid-template-columns:minmax(0,1fr) auto;column-gap:10px!important;row-gap:7px!important;padding:14px 16px 14px!important}
html body #grid .card .cbody>*{grid-column:1/-1;margin:0!important}
html body #grid .card .cbody h3{font-size:16.5px!important;line-height:1.22!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:0!important;height:auto!important}
html body #grid .card .cbody>.loc{grid-column:1;align-self:center;min-width:0;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body #grid .card .cbody>.tags{grid-column:2;grid-row:auto;align-self:center;justify-self:end;margin:0!important;flex-wrap:nowrap!important;gap:5px!important}
html body #grid .card .cbody>.loc+.tags{grid-row:2}
html body #grid .card .cbody>.loc{grid-row:2}
html body #grid .card .tags span{padding:3px 8px!important;font-size:11.5px!important}
html body #grid .card .tot{margin-top:2px!important}
html body #grid .card .acc{margin-top:4px!important}
html body #grid .card .acc .btn{min-height:40px!important;padding-top:9px!important;padding-bottom:9px!important}
html body #grid .card .acc .ic{width:40px!important;height:40px!important}
html body #grid .card .rrow{gap:10px!important;min-height:0!important}
html body #grid .card .rrow .vsl{display:flex!important;flex-direction:column;gap:3px!important;font-size:12.5px!important;line-height:1.25!important}
html body #grid .card .rrow .vsl span{display:block!important;white-space:nowrap!important}
html body #grid .card .rrow .vsl b{display:inline!important;margin-left:4px}
html body #grid .card .rrow .badge{width:54px!important;height:54px!important;flex:0 0 54px!important}
html body #grid .card .rrow .badge svg{width:100%!important;height:100%!important}
html body #grid .card .rrow .badge b{font-size:13.5px!important}
html body #grid .card .rrow .badge small{display:none!important}
html body #grid .card .vs{height:8px!important}
}
/*movil-fix 3-nov: celular. Los menús de filtros solo se ven al abrir «Filtros»; sin «Más filtros»; pines del mapa chicos; ficha y gráficas cómodas*/
@media(max-width:700px){
/*causa-encimado*/ html body #explorar .bar[role=search]{top:auto!important;position:relative!important}

html body #explorar .bar[role=search]:not(.fo) .chips,
html body #explorar .bar[role=search]:not(.fo) .chips.fm,
html body #explorar .bar[role=search]:not(.fo) .rng,
html body #explorar .bar[role=search]:not(.fo) #ch-o{display:none!important}
html body #explorar .bar[role=search] .mas-btn{display:none!important}
html body #explorar .bar[role=search].fo .chips.fm{display:block!important;width:100%;flex:1 1 100%}
html body #explorar .bar[role=search].fo #ch-o{order:20}
/* pines: solo el número (el precio queda para la lista y la ficha) */
.zpin{padding:2px!important;gap:0!important;font-size:0!important}
.zpin span{display:none!important}
.zpin b{min-width:26px!important;height:26px!important;font-size:12px!important}
.zpin.grupo b{background:#fff!important}
/* la lista de la zona sube sobre la barra de botones del mapa */
.zlista{left:8px!important;right:8px;width:auto!important;bottom:56px!important;top:auto!important;max-height:58%!important}
}

/*mapa-full 3-nov: con el mapa en pantalla completa la barra de filtros (z-index 30) se quedaba flotando a la mitad; ahora se esconde mientras el mapa estÃ¡ expandido*/
body.mfull #explorar .bar,body.mfull #explorar .bar[role=search]{visibility:hidden!important;pointer-events:none!important}
body.mfull .zlista{z-index:900}
