/* MeSobra v3 · estilos solo de esta página (generado con tools/css_dividir.py a partir de app.css) */
.adcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--deep); color: #fff; text-decoration: none; overflow: hidden; min-height: 100%; }
.adcard .ad-label { align-self: flex-start; background: #fff; color: var(--ink); }
.adcard h3 { font-size: 24px; }
.adcard p { color: var(--w-70); font-size: var(--fs-sm); }
.adcard .ph-duotone.big { font-size: 64px; color: var(--logo-green); }
.map-fab { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--tabbar-h) + 18px + env(safe-area-inset-bottom)); transform: translateX(-50%); box-shadow: var(--e3); }
@media (min-width: 1100px) {
  .map-fab { display: none; }
}
.map-full { position: fixed; inset: 0; z-index: 120; background: #fff; display: none; flex-direction: column; }
.map-full.open { display: flex; animation: up .3s var(--ease); }
.map-full .bar { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gut); }
.map-full .map { flex: 1; border-radius: 0; }
.ex-q { flex: 1; min-width: 0; }
.ex-cats { flex: 1; }
.ex-sort { display: flex; gap: 8px; align-items: center; }
.sel-pill { height: 44px; border-radius: var(--r-pill); width: auto; }
.map-full-t { font: 700 20px var(--f-display); }
body:has(#pie) .map-fab { bottom: calc(var(--pie-bottom) + var(--pie-bar) + 14px); }
.ex-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "q f" "r2 r2"; gap: 12px 10px; align-items: center; }
.ex-bar .ex-q { grid-area: q; }
.ex-fbtn { grid-area: f; }
.ex-row2 { grid-area: r2; display: flex; align-items: center; gap: 10px; min-width: 0; }
.ex-row2 .ex-seg { flex: none; }
.ex-row2 .ex-cats { flex: 1; min-width: 0; }
.fbadge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--g); color: #fff; font: 700 12.5px/1 var(--f-text); }
@media (min-width: 1024px) {
  .ex-bar { grid-template-areas: "q r2"; }
  .ex-fbtn, .ex-row2 .ex-cats { display: none; }
  .ex-bar .ex-q { max-width: 760px; }
}
.ex2 { display: grid; gap: 0 36px; padding-bottom: 48px; }
.ex2 > * { min-width: 0; }
@media (min-width: 1024px) {
  .ex2 { grid-template-columns: 272px minmax(0, 1fr); padding-top: 26px; }
  .ex2 .ex-head { padding-top: 0; }
}
.ex-res { container-type: inline-size; }
.ex2 .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container (min-width: 700px) {
  .ex2 .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
}
.ex-active { margin: -4px 0 20px; }
.chip-ghost { border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) {
  .map-fab { display: none; }
}
.fx { display: none; }
.fx:target { display: block; margin-bottom: 24px; }
@media (min-width: 1024px) {
  .fx { display: block; position: sticky; top: calc(var(--header-h) + 96px); align-self: start; max-height: calc(100vh - var(--header-h) - 96px - var(--pie-bar) - 18px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 8px; margin-right: -8px; }
}
.fx-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fx-head h2 { margin-right: auto; font-size: 22px; }
.fx-clear { color: var(--forest); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.fx-x { display: none; }
.fx-g { border-top: 1px solid var(--line); padding: 14px 0; }
.fx-g > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; padding-bottom: 8px; cursor: pointer; font: 700 16px/1.2 var(--f-display); }
.fx-g > summary::-webkit-details-marker { display: none; }
.fx-g > summary .ph { color: var(--muted); transition: transform var(--t-fast); }
.fx-g:not([open]) > summary { padding-bottom: 0; }
.fx-g:not([open]) > summary .ph { transform: rotate(-90deg); }
.fx-cats, .fx-list { display: grid; gap: 2px; }
.fx-cats .fx-extra { display: none; }
.fx-cats.show-all .fx-extra { display: block; }
.fx-cat, .fx-opt { display: flex; align-items: center; gap: 10px; min-height: 40px; margin: 0 -10px; padding: 6px 10px; border-radius: 12px; color: var(--ink); font-size: 15px; line-height: 1.25; text-decoration: none; }
.fx-cat:hover, .fx-opt:hover { background: var(--paper); }
.fx-cat .ph-duotone { flex: none; font-size: 20px; color: var(--g); }
.fx-cat .t, .fx-opt .t, .fx-chk .t { flex: 1; min-width: 0; }
.fx-cat.is-on, .fx-opt.is-on { background: var(--leaf); color: var(--forest); font-weight: 700; }
.fx .n { flex: none; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.fx .is-zero { opacity: .45; }
.fx-more { margin-top: 6px; color: var(--forest); font-weight: 600; font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; }
.fx-price { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: 6px; align-items: center; margin-top: 10px; color: var(--muted); }
.fx-price .inp { height: 44px; padding: 0 12px; border-radius: 12px; font-size: 15px; }
.fx-price .btn-icon { width: 44px; height: 44px; }
.fx-chk { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; font-size: 15px; line-height: 1.25; }
.fx-chk input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--g); cursor: pointer; }
.fx-chk input:disabled { cursor: default; }
.fx-chk .t small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.fx-sub { margin: 12px 0 2px; color: var(--muted); font: 600 12.5px/1 var(--f-text); text-transform: uppercase; letter-spacing: .05em; }
.fx-sel { display: grid; gap: 6px; }
.fx-sel + .fx-sel { margin-top: 10px; }
.fx-sel label { color: var(--muted); font: 600 14px/1.2 var(--f-text); }
.sel-sm { height: 44px; padding-left: 12px; border-radius: 12px; font-size: 15px; background-position: right 12px center; }
.fx-foot { position: sticky; bottom: 0; padding: 12px 0 4px; background: #fff; }
@media (min-width: 1024px) {
  .fx.is-live .fx-foot { display: none; }
}
dialog.fx-dlg { border: 0; padding: 0; margin: 0 0 0 auto; width: min(420px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; background: #fff; color: var(--ink); box-shadow: var(--e3); }
dialog.fx-dlg::backdrop { background: rgba(21, 50, 31, .55); backdrop-filter: blur(3px); }
dialog.fx-dlg[open] { animation: fxIn .28s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  dialog.fx-dlg[open] { animation: none; }
}
.fx-dlg .fx { display: flex; flex-direction: column; height: 100%; }
.fx-dlg .fx-head { margin: 0; padding: 14px var(--gut) 12px; border-bottom: 1px solid var(--line); }
.fx-dlg .fx-x { display: inline-grid; }
.fx-dlg .fx-form { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px var(--gut) 0; }
.fx-dlg .fx-foot { padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
.ex-seg a { white-space: nowrap; }
.cat-intro { max-width: 70ch; margin: -6px 0 18px; color: var(--muted); line-height: 1.55; }
.alerta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; padding: 18px 20px; border-radius: 20px; background: var(--leaf); border: 1px solid var(--line); }
.alerta .tic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--g); font-size: 24px; }
.alerta p { flex: 1 1 260px; margin: 0; line-height: 1.45; }
.skip-res { position: absolute; left: -9999px; }
.skip-res:focus { position: static; display: inline-block; margin-bottom: 10px; font-weight: 600; }

/* Mapa en franja horizontal sobre los resultados (propuesta 20-10-2026): baja, se amplía o pasa a pantalla completa.
   Se oculta con «Ocultar mapa» y la preferencia queda en el navegador; en el celular parte oculto. */
.ex-mapa { display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; padding: 12px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.ex2.sin-mapa .ex-mapa { display: none; }
.ex-mapa .map { height: 200px; transition: height .35s var(--ease); }
.ex-mapa.grande .map { height: min(520px, 62vh); }
.ex-mapa-acts { display: flex; align-items: center; gap: 2px; flex: none; }
.ex-mapa-acts .btn-sm { height: 38px; }
@media (max-width: 639px) { .ex-mapa-acts .btn-ghost span { display: none; } .ex-mapa .map { height: 170px; } .ex-mapa-h b { font-size: 15px; } }
.ex-mapa-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ex-mapa-h b { display: flex; align-items: center; gap: 8px; font: 700 16px/1.2 var(--f-display); }
.ex-mapa-h b .ph-duotone { color: var(--g); font-size: 22px; width: 22px; height: 22px; }
.ex-mapa-h span { color: var(--muted); font-size: 13.5px; }
.ex-mapa-h .btn-icon { width: 40px; height: 40px; flex: none; }
.ex-mapa .map { border-radius: 16px; border: 1px solid var(--line); overflow: hidden; background: #e8eee4; }
.ex-mapa-hint { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 13px; }
.ex-mapa-hint .ph { color: var(--g); flex: none; }
.ex-mapa .pin span { height: 30px; padding: 0 10px; gap: 5px; font-size: 13px; }
.ex-mapa .pin span b { min-width: 20px; height: 20px; font-size: 12px; }

/* Sprint 2: «¿Quisiste decir…?», paginación y «Ver más» */
.quisiste { display: flex; align-items: center; gap: 8px; margin: -6px 0 16px; font-size: 16px; }
.quisiste .ph-duotone { font-size: 22px; color: var(--amber-ink, #5c3d00); flex: none; }
.quisiste a { font-weight: 700; }
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pager-t { color: var(--muted); font-weight: 600; }
.mas { display: grid; justify-items: center; gap: 10px; margin-top: 28px; }
.mas-t { color: var(--muted); margin: 0; }
.fx-nota { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

/* ==========================================================================
   Portada = catálogo (propuesta 20-10-2026)
   ========================================================================== */
/* Banner de publicidad rotativo (campañas del backoffice). Se pausa al pasar el mouse, con foco o con el botón; sin auto-rotación si se pide menos movimiento */
.banner-rot { position: relative; height: 190px; border-radius: 24px; overflow: hidden; background: var(--deep); }
@media (min-width: 900px) { .banner-rot { height: 210px; } }
.banner-sl { position: absolute; inset: 0; display: flex; align-items: center; color: #fff; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.banner-sl.on { opacity: 1; visibility: visible; }
.banner-sl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-sl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 50, 31, .9) 0%, rgba(21, 50, 31, .62) 45%, rgba(21, 50, 31, .08) 100%); }
.banner-in { position: relative; z-index: 1; display: grid; justify-items: start; gap: 8px; max-width: min(560px, 82%); padding: 0 28px; }
.banner-in b { font: 700 clamp(19px, 2.2vw, 28px)/1.15 var(--f-display); letter-spacing: -.02em; }
.banner-d { color: rgba(255, 255, 255, .86); font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.banner-in .ad-label { background: rgba(255, 255, 255, .16); }
.banner-ctl { position: absolute; z-index: 2; right: 14px; bottom: 12px; display: flex; align-items: center; gap: 6px; }
.banner-dot { width: 26px; height: 26px; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.banner-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: width .25s; }
.banner-dot.on::before { width: 22px; border-radius: 4px; background: #fff; }
.banner-pause { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); color: #fff; display: grid; place-items: center; cursor: pointer; }
.banner-pause .ph { font-size: 15px; width: 15px; height: 15px; }
.banner-cta-ad { display: block; margin-top: 6px; text-align: right; color: var(--muted); font-size: 13px; }
@media (max-width: 559px) { .banner-d { display: none; } .banner-in { padding: 0 18px; max-width: 88%; } }

/* Vista de resultados: tarjetas o tabla */
.ex-vista button { height: 40px; padding: 0 12px; }
.ex-vista button .ph-duotone { font-size: 18px; width: 18px; height: 18px; }
@container (max-width: 640px) { .ex-vista button span { display: none; } }
.ex-head { flex-wrap: wrap; gap: 10px 16px; }
.ex-sort { flex-wrap: wrap; }
#results.tabla { display: block; }
.rtab { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.rtab th { position: sticky; top: calc(var(--header-h) + 72px); z-index: 2; background: #fff; text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 0; border-bottom: 1px solid var(--line); }
.rtab th button, .rtab th > span { display: inline-flex; align-items: center; gap: 4px; width: 100%; min-height: 40px; padding: 0 10px; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; white-space: nowrap; }
.rtab th button:hover { color: var(--ink); }
.rtab th[aria-sort="ascending"] button, .rtab th[aria-sort="descending"] button { color: var(--g); }
.rtab th .ph-bold { font-size: 13px; width: 13px; height: 13px; }
.rtab td { padding: 6px 10px; border-bottom: 1px solid var(--ink-06); vertical-align: middle; }
.rtab .rrow { cursor: pointer; transition: background .15s; }
.rtab .rrow:hover, .rtab .rrow:focus-visible { background: var(--paper); outline: none; }
.rtab .rrow[aria-expanded="true"] { background: var(--leaf); }
.rtab .rrow[aria-expanded="true"] td { border-bottom-color: transparent; }
.rt-img { width: 64px; padding-left: 4px !important; }
.rt-img img { display: block; width: 56px; height: 42px; border-radius: 8px; object-fit: cover; background: var(--paper); }
.rt-t { font-weight: 600; line-height: 1.3; }
.rt-t small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.rt-t .tagd { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: var(--r-pill); background: var(--amber); color: var(--amber-ink); font-size: 11px; font-weight: 700; vertical-align: 1px; }
.rt-p { font-weight: 700; white-space: nowrap; }
.rt-p small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.rt-n { color: var(--muted); white-space: nowrap; }
.rt-x { width: 40px; text-align: right; }
.rt-x .ph { transition: transform .2s; color: var(--muted); }
.rrow[aria-expanded="true"] .rt-x .ph { transform: rotate(180deg); color: var(--g); }
.rdet td { padding: 0 10px 18px; background: var(--leaf); border-bottom: 1px solid var(--line); }
.rdet-in { display: grid; gap: 18px; padding: 14px; border-radius: 18px; background: #fff; animation: dd-in .2s ease-out; }
@media (min-width: 720px) { .rdet-in { grid-template-columns: 300px minmax(0, 1fr); } }
.rdet-in img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--paper); }
.rdet-in h3 { font-size: 20px; }
.rdet-in .card-price { font-size: 24px; }
.rdet-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 10px 0; font-size: 14.5px; }
.rdet-dl dt { color: var(--muted); }
.rdet-dl dd { margin: 0; }
.rdet-d { margin: 0 0 12px; color: var(--ink); line-height: 1.5; }
.rdet-acts { display: flex; flex-wrap: wrap; gap: 8px; }
@container (max-width: 640px) { .rtab .rt-c, .rtab .rt-s { display: none; } }
@container (max-width: 480px) { .rtab .rt-q, .rtab .rt-x { display: none; } .rtab { font-size: 14px; } .rtab td, .rtab th button { padding-left: 6px; padding-right: 6px; } .rt-img { width: 52px; } .rt-img img { width: 46px; height: 36px; } .rdet td { padding: 0 4px 14px; } .rdet-in { padding: 10px; } }

/* «Se busca» como sección de la portada */
.sec-busca2 { padding: 48px 0 56px; background: var(--paper); border-top: 1px solid var(--ink-06); scroll-margin-top: var(--header-h); }
.sec-busca2 .sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-busca2 h2 { font-size: var(--fs-h2); margin-top: 8px; }
.wgrid { display: grid; gap: 14px; }
@media (min-width: 900px) { .wgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wgrid .wcard { align-content: start; } }
.wgrid .wcard { height: 100%; }
.wnote { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; color: var(--muted); }
.empty-sm { padding: 28px; }
}
@container (max-width: 340px) { .rtab .rt-m { display: none; } }

/* ==========================================================================
   Franjas plegables de la portada (20-10-2026): descripción y publicidad.
   Son <details>: funcionan sin JavaScript; al hacer clic se despliegan.
   ========================================================================== */
.strip > summary { list-style: none; cursor: pointer; }
.strip > summary::-webkit-details-marker { display: none; }
.strip-in { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.strip-more { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); font: 600 14px/1 var(--f-text); white-space: nowrap; }
.strip-more .ph-bold { font-size: 14px; width: 14px; height: 14px; transition: transform .25s var(--ease); }
.strip[open] .strip-more .ph-bold { transform: rotate(180deg); }
.strip > summary:focus-visible { outline: 3px solid var(--g); outline-offset: -3px; }
.strip > :not(summary) { animation: stripIn .35s var(--ease); }
@keyframes stripIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.hero-strip { background: linear-gradient(90deg, var(--leaf) 0%, #fff 70%); border-bottom: 1px solid var(--ink-06); }
.hero-strip .strip-more { background: #fff; color: var(--forest); border: 1px solid var(--line); }
.hero-strip > summary:hover .strip-more { border-color: var(--g); }
.hs-mini { flex: none; width: 170px; height: 56px; }
.hs-txt { min-width: 0; display: flex; align-items: center; gap: 14px; }
.hero-strip h1 { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.2; letter-spacing: -.015em; }
.hero-strip h1 .accent { color: var(--g); }
.intro-rot { position: relative; display: inline-block; flex: none; height: 30px; min-width: 210px; }
.intro-rot span { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 8px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); color: var(--forest); font: 600 13.5px/1 var(--f-text); white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.intro-rot span.on { opacity: 1; transform: none; }
.intro-rot .ph-fill { color: var(--g); font-size: 16px; width: 16px; height: 16px; }
.hs-body { display: grid; gap: 18px; align-items: center; padding-top: 6px; padding-bottom: 22px; }
@media (min-width: 900px) { .hs-body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; } }
.hs-big { width: 100%; height: auto; max-height: 260px; }
/* 22-10-2026: .hs-big es el lugar al que viaja la escena chica (una sola animación); mantiene su tamaño aunque esté vacío */
div.hs-big { aspect-ratio: 640 / 230; height: auto; }
.hs-big > svg.is-grande { display: block; width: 100%; height: 100%; max-height: 260px; }
.hs-mini-hueco { display: inline-block; }
.hs-copy { display: grid; gap: 12px; justify-items: start; }
.intro-sub { margin: 0; color: var(--muted); line-height: 1.55; }
.hs-pts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hs-pts li { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--forest); font-size: 14.5px; }
.hs-pts .ph-fill { color: var(--g); font-size: 16px; width: 16px; height: 16px; }
.iv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.iv-steps li { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 14px; background: var(--paper); font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.iv-steps span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--g); color: #fff; font-size: 12px; font-weight: 700; }
.intro-acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* 28-10-2026: CTA «Publicar material» siempre visible en hero desktop (arriba del ban-strip) */
.strip-pub{flex:none;margin-left:auto;display:none;align-items:center;gap:8px;height:36px;padding:0 16px;border-radius:var(--r-pill);font:600 14px/1 var(--f-text);text-decoration:none;white-space:nowrap}
.strip-pub .strip-pub-ic{flex:none;display:block}
@media (min-width:900px){
  .hero-strip .strip-pub{display:inline-flex}
  .hero-strip .strip-more{margin-left:10px}
}
.intro-acts:empty{display:none}

.ban-strip { background: var(--deep); color: #fff; }
.ban-strip .strip-in { min-height: 52px; }
.ban-strip .ad-label { flex: none; background: rgba(255, 255, 255, .14); }
.bs-rot { position: relative; flex: 1; min-width: 0; height: 40px; }
.bs-it { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.bs-it.on { opacity: 1; transform: none; }
.bs-it img { flex: none; width: 56px; height: 32px; border-radius: 6px; object-fit: cover; }
.bs-it b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.bs-adv { flex: none; color: rgba(255, 255, 255, .6); font-size: 13px; }
.ban-strip .strip-more { background: rgba(255, 255, 255, .12); color: #fff; }
.ban-strip > summary:hover .strip-more { background: rgba(255, 255, 255, .2); }
.ban-body { padding-top: 4px; padding-bottom: 16px; }
.ban-body .banner-cta-ad { color: rgba(255, 255, 255, .7); }

/* Mapa a lo ancho, bajo la búsqueda */
.ex-mapa.wrap { width: calc(100% - var(--gut) * 2); max-width: var(--max); margin: 16px auto 0; padding: 12px; } /* alineado con el contenido de la página */
.ex-mapa.is-off { display: none; }
.pg-portada .ex2 { padding-top: 22px; }

/* Destacados integrados en los resultados: los primeros, con un borde ámbar suave */
.card.is-dest .card-media { box-shadow: 0 0 0 2px var(--amber); }

@media (max-width: 759px) {
  .hs-mini { width: 92px; height: 40px; }
  .intro-rot, .bs-adv { display: none; }
  .hero-strip h1 { font-size: 15px; }
  .strip-more-t { display: none; }
  .strip-more { width: 36px; padding: 0; justify-content: center; }
  .strip-in { gap: 10px; min-height: 58px; }
  .iv-steps { grid-template-columns: 1fr; }
}
@media (max-width: 359px) { .hs-mini { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .intro-rot { height: auto; display: flex; flex-wrap: wrap; gap: 6px; }
  .intro-rot span { position: static; opacity: 1; transform: none; }
  .intro-rot span:not(.on) { display: none; }
  .strip > :not(summary) { animation: none; }
}
/* Buscador de la portada: más presente, justo antes de los materiales */
.ex-top-portada .sbar { height: 54px; border-width: 1.5px; box-shadow: 0 14px 30px -22px rgba(21, 50, 31, .45); }
.ex-top-portada .sbar input { font-size: 17px; }

/* Panel de una comuna en el mapa: se despliega al costado sin cerrar el mapa */
.ex-mapa { position: relative; }
.mpanel { position: absolute; z-index: 500; top: 64px; right: 22px; bottom: 22px; width: min(360px, calc(100% - 44px)); display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -24px rgba(21, 50, 31, .5), 0 0 0 1px var(--ink-06); animation: mpIn .32s var(--ease); }
.map-full .mpanel { top: 70px; right: 14px; bottom: 14px; }
@keyframes mpIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.mpanel-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mpanel-h b { display: flex; align-items: center; gap: 6px; font: 700 17px/1.2 var(--f-display); }
.mpanel-h b .ph-duotone { color: var(--g); font-size: 18px; width: 18px; height: 18px; }
.mpanel-h span { color: var(--muted); font-size: 13.5px; }
.mpanel-l { flex: 1; min-height: 0; overflow-y: auto; display: grid; align-content: start; gap: 4px; margin: 0 -6px; padding: 0 6px; }
.mp-it { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px; border-radius: 14px; color: var(--ink); text-decoration: none; }
.mp-it:hover, .mp-it:focus-visible { background: var(--paper); }
.mp-it img { width: 72px; height: 54px; border-radius: 10px; object-fit: cover; background: var(--paper); }
.mp-it.is-dest img { box-shadow: 0 0 0 2px var(--amber); }
.mp-it > span { display: grid; gap: 2px; min-width: 0; }
.mp-it b { font-weight: 600; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-it .num { font-weight: 700; font-size: 14px; }
.mp-it small { color: var(--muted); font-weight: 400; }
.mp-it em { justify-self: start; padding: 2px 7px; border-radius: var(--r-pill); background: var(--amber); color: var(--amber-ink); font: 700 11px/1.3 var(--f-text); font-style: normal; }
@media (max-width: 639px) {
  .mpanel, .map-full .mpanel { left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; max-height: 62%; animation-name: mpUp; }
  @keyframes mpUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* Vista rápida: el material se despliega encima de la búsqueda */
html.qv-on { overflow: hidden; }
.qv { width: min(1080px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 40px 90px -30px rgba(21, 50, 31, .6); overflow: hidden; }
.qv[open] { display: flex; flex-direction: column; animation: qvIn .28s var(--ease); }
.qv::backdrop { background: rgba(21, 50, 31, .48); backdrop-filter: blur(3px); }
@keyframes qvIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.qv-bar { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--ink-06); }
.qv-n { margin-left: auto; color: var(--muted); font-size: 14px; }
.qv-nav { display: flex; gap: 6px; }
.qv-nav .btn-icon { width: 40px; height: 40px; }
.qv-body { flex: 1; min-height: 0; overflow-y: auto; display: grid; gap: 24px; padding: 22px; }
@media (min-width: 860px) { .qv-body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; padding: 26px; } }
.qv-gal { display: grid; gap: 10px; align-content: start; }
.qv-main img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; background: var(--paper); }
.qv-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.qv-thumbs button { flex: none; width: 70px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--paper); cursor: pointer; }
.qv-thumbs button[aria-current="true"] { border-color: var(--g); }
.qv-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv-info { display: grid; gap: 12px; align-content: start; }
.qv-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.qv-tags:empty { display: none; }
.tag-dest { background: var(--amber); color: var(--amber-ink); }
.tag-dest .ph-fill { font-size: 14px; width: 14px; height: 14px; }
.qv-info h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }
.qv-info .card-price { font-size: 28px; }
.qv-desc { margin: 0; white-space: pre-line; line-height: 1.55; }
.qv-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.qv-full { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
@media (max-width: 639px) {
  .qv { width: 100vw; max-height: none; height: 100dvh; border-radius: 0; }
  .qv-bar [data-volver] span { display: none; }
  .qv-body { padding: 14px; }
  .qv-acts .btn-lg { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .qv[open], .mpanel { animation: none; } }
/* «Guardar» dentro de la vista rápida y del detalle de la tabla: botón normal (no el corazón flotante de la tarjeta) */
.qv-acts .fav, .rdet-acts .fav { position: static; z-index: auto; width: auto; height: auto; border-radius: var(--r-pill); background: #fff; border: 1.5px solid var(--line); }
.qv-acts .fav { width: 52px; height: 52px; border-radius: 50%; }
.rdet-acts .fav { display: inline-flex; gap: 6px; padding: 0 16px; height: 44px; font-weight: 600; }
@media (max-width: 400px) { .ex-mapa-h { flex-wrap: wrap; } .ex-mapa-acts { margin-left: auto; } }

/* Franjas abiertas: sin repetir lo que ya muestra el contenido desplegado */
.strip:not([open]) .t-abierto, .strip[open] .t-cerrado { display: none; }
.hero-strip[open] .intro-rot { display: none; }
.ban-strip[open] .bs-rot { visibility: hidden; }

/* Barra de la pantalla completa del mapa */
.map-full .bar-acts { display: flex; align-items: center; gap: 6px; }
@media (max-width: 479px) { .map-full .bar-acts .btn-ghost span { display: none; } .map-full-t { font-size: 17px; } }
/* La búsqueda ocupa todo el ancho de la página, alineada con filtros y resultados */
@media (min-width: 1024px) { .ex-bar .ex-q { max-width: none; } }
/* Celular y tableta: el mapa se abre desde «Mapa» de la barra inferior (no se repite el botón); vista y orden en una fila */
@media (max-width: 899px) {
  .map-tog { display: none; }
  .ex-head .ex-sort { flex-wrap: nowrap; width: 100%; }
  .ex-head .ex-sort .sel-pill { flex: 1 1 auto; min-width: 0; }
}
@media (min-width: 1024px) { .ex-bar { grid-template-columns: minmax(0, 1fr); grid-template-areas: "q"; } .ex-bar .ex-row2 { display: none; } }

/* «En vivo» (21-10-2026): hechos reales recientes del chat público y materiales nuevos, en una franja delgada */
.vivo-strip { background: #fff; border-bottom: 1px solid var(--ink-06); }
.vivo-in { display: flex; align-items: center; gap: 12px; min-height: 52px; }
.vivo-l { flex: none; display: inline-flex; align-items: center; gap: 7px; margin: 0; height: 28px; padding: 0 11px; border-radius: var(--r-pill); background: var(--leaf); color: var(--g); font: 800 12.5px/1 var(--f-text); letter-spacing: .06em; text-transform: uppercase; }
.vivo-l i { width: 8px; height: 8px; border-radius: 50%; background: var(--g); animation: vivoPulso 1.8s infinite; }
@keyframes vivoPulso { 0% { box-shadow: 0 0 0 0 rgba(35, 125, 48, .45); } 70% { box-shadow: 0 0 0 9px rgba(35, 125, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(35, 125, 48, 0); } }
.vivo-rot { position: relative; flex: 1; min-width: 0; height: 40px; }
.vivo-it { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.vivo-it.on { opacity: 1; pointer-events: auto; transform: none; }
.vivo-it:hover .vivo-t, .vivo-it:focus-visible .vivo-t { text-decoration: underline; }
.vivo-it img { flex: none; width: 40px; height: 30px; border-radius: 6px; object-fit: cover; background: var(--paper); }
.vivo-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.vivo-t b { font-weight: 700; }
.vivo-h { flex: none; color: var(--muted); font-size: 13.5px; }
.vivo-pause { flex: none; color: var(--muted); }
@media (max-width: 759px) {
  .vivo-in { gap: 8px; min-height: 50px; }
  .vivo-l { padding: 0 9px; font-size: 11.5px; }
  .vivo-it img, .vivo-h { display: none; }
  .vivo-t { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .vivo-l i { animation: none; }
  .vivo-it { transition: none; }
}

/* Categorías relacionadas (22-10-2026): enlaces internos al final de una categoría */
.cat-rel { margin: 28px 0 8px; padding-top: 20px; border-top: 1px solid var(--ink-06); }
.cat-rel h2 { font: 700 18px/1.3 var(--f-display); margin: 0 0 12px; }
.cat-rel .chip { max-width: 100%; white-space: normal; height: auto; min-height: 40px; padding-top: 8px; padding-bottom: 8px; line-height: 1.25; text-align: left; }

/* 22-10-2026 (José): las franjas se despliegan con un clic en cualquier parte o al dejar el mouse encima (explorar.js);
   el «Cómo funciona» / «Ver anuncio» deja de verse como botón y queda como una indicación chica */
.strip.strip-js > :not(summary) { animation: none; }
.strip .strip-more { height: auto; padding: 0 2px; border: 0 !important; background: none !important; font-weight: 600; font-size: 13.5px; opacity: .85; }
.hero-strip .strip-more { color: var(--forest); }
.ban-strip .strip-more { color: rgba(255, 255, 255, .8); }
.strip > summary:hover .strip-more { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 599px) { .strip .strip-more { width: auto; padding: 0 4px; } }
