/* Motor de reservas El Bulín v2.0 — sistema de diseño «Motor El Bulín»
   Tokens: lima #abc431 (siempre con texto oscuro), verde bosque #1c7b58, tinta #14261c. Oswald para títulos y precios, Work Sans para el resto.
   Contraste AA comprobado en claro y oscuro. */
:root {
  --bg:#f3f0e9; --surface:#ffffff; --surface-alt:#f2f4ef; --ink:#14261c; --ink-muted:#4e5652; --border:#d6cfc3; --border-input:#8a8f86;
  --lima:#abc431; --on-lima:#14261c; --lima-tint:#eef3d2; --verde:#1c7b58; --on-verde:#ffffff; --verde-tint:#eaf5ef; --tierra:#8a6f45;
  --aviso:#8f5500; --aviso-tint:#fbf0dc; --error:#b3261e; --error-tint:#fbe9e7; --focus:#1c7b58;
  --font-display: Oswald, "Arial Narrow", sans-serif; --font-sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-6:24px; --space-8:32px; --space-12:48px;
  --radius-sm:8px; --radius-md:14px; --radius-lg:22px; --radius-pill:999px;
  --shadow-card:0 2px 4px rgba(20,38,28,.1),0 10px 24px rgba(20,38,28,.12); --shadow-reposo:0 1px 2px rgba(20,38,28,.08),0 4px 14px rgba(20,38,28,.08); --shadow-sheet:0 16px 40px rgba(20,38,28,.18);
  --barra-h: 64px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg:#111915; --surface:#18221c; --surface-alt:#202b24; --ink:#eef2ec; --ink-muted:#a9b3ad; --border:#34413a; --border-input:#7c877f;
  --lima-tint:#2c3618; --verde:#6cc69c; --on-verde:#0f1d15; --verde-tint:#173327; --tierra:#d2b27a; --aviso:#e9a94e; --aviso-tint:#3a2a10;
  --error:#f28b80; --error-tint:#3d1d1a; --focus:#abc431;
  --shadow-card:0 1px 2px rgba(0,0,0,.4),0 6px 16px rgba(0,0,0,.3); --shadow-sheet:0 16px 40px rgba(0,0,0,.55); color-scheme:dark; } }
:root[data-theme="dark"] {
  --bg:#111915; --surface:#18221c; --surface-alt:#202b24; --ink:#eef2ec; --ink-muted:#a9b3ad; --border:#34413a; --border-input:#7c877f;
  --lima-tint:#2c3618; --verde:#6cc69c; --on-verde:#0f1d15; --verde-tint:#173327; --tierra:#d2b27a; --aviso:#e9a94e; --aviso-tint:#3a2a10;
  --error:#f28b80; --error-tint:#3d1d1a; --focus:#abc431;
  --shadow-card:0 1px 2px rgba(0,0,0,.4),0 6px 16px rgba(0,0,0,.3); --shadow-sheet:0 16px 40px rgba(0,0,0,.55); color-scheme:dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/24px var(--font-sans); padding-bottom: env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--verde); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.small { font-size: 14px; line-height: 20px; }
.muted { color: var(--ink-muted); }
.num { font-variant-numeric: tabular-nums; }
.row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.stack { display: flex; flex-direction: column; gap: var(--space-3); }
.oculto { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h2 { font: 600 18px/24px var(--font-sans); }
.skel { display: block; background: var(--surface-alt); border-radius: var(--radius-sm); height: 14px; }
.cargando { padding: var(--space-12) 0; text-align: center; color: var(--ink-muted); }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-6); border-radius: var(--radius-md); border: 1.5px solid transparent; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; }
.btn-p { background: var(--lima); color: var(--on-lima); }
.btn-p:hover { filter: brightness(.95); }
.btn-s { background: var(--surface); color: var(--verde); border-color: var(--verde); }
.btn-s:hover { background: var(--verde-tint); }
.btn-g { background: none; color: var(--verde); padding: 0 var(--space-2); min-height: 44px; }
.btn-g:hover { text-decoration: underline; }
.btn-in { min-height: 0; padding: 0; display: inline; font-weight: 600; }
.btn-sm { min-height: 44px; padding: 0 var(--space-4); }
.btn-block { width: 100%; }
.btn[disabled] { background: var(--surface-alt); color: var(--ink-muted); border-color: var(--border); cursor: not-allowed; filter: none; }
.btn-g[disabled] { background: none; }
.x { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--surface-alt); cursor: pointer; font-size: 22px; line-height: 1; }

/* ── Chips y badges ── */
.chips { display: flex; gap: var(--space-2); overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips-in { display: contents; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 var(--space-4); border-radius: var(--radius-pill); border: 1.5px solid var(--border-input); background: var(--surface); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--verde); border-color: var(--verde); color: var(--on-verde); }
.chip .n { font-weight: 400; opacity: .85; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: var(--radius-pill); font: 600 12px/1 var(--font-sans); letter-spacing: .02em; white-space: nowrap; }
.b-oferta { background: var(--lima); color: var(--on-lima); }
.b-ok { background: var(--verde-tint); color: var(--verde); }

/* ── Avisos ── */
.nota { border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: 15px; line-height: 22px; margin: var(--space-3) 0; }
.nota:empty { display: none; }
.nota b { display: block; }
.n-info { background: var(--surface-alt); }
.n-aviso { background: var(--aviso-tint); } .n-aviso b { color: var(--aviso); }
.n-error { background: var(--error-tint); } .n-error b { color: var(--error); }
.n-ok { background: var(--verde-tint); } .n-ok b { color: var(--verde); }
.aviso-global { margin-top: var(--space-4); }
.err-t { color: var(--error); } .ok-t { color: var(--verde); }

/* ── Barra superior y buscador ── */
.barra { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--border); padding-top: env(safe-area-inset-top, 0px); }
.barra-in { max-width: 1120px; margin: 0 auto; display: flex; align-items: flex-end; gap: var(--space-3); padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); }
.barra-in > .pill, .barra-in > #buscador { flex: 1; min-width: 0; }
/* Selector de idioma: compacto, a la derecha del buscador (o de la píldora en móvil) */
.idioma { flex: none; }
.idioma select { -webkit-appearance: none; appearance: none; height: 48px; padding: 0 30px 0 12px; border: 1.5px solid var(--border-input); border-radius: var(--radius-sm);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c7b58' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 16px;
  color: var(--ink); font: 600 14px/1 var(--font-sans); cursor: pointer; width: 64px; }
@media (max-width: 760px) { .idioma select { border-radius: var(--radius-pill); } }
.pill { display: none; width: 100%; align-items: center; gap: var(--space-3); min-height: 48px; padding: 0 var(--space-4); border: 1.5px solid var(--border-input); border-radius: var(--radius-pill); background: var(--surface); cursor: pointer; text-align: left; }
.pill svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2; }
.pill-t { display: flex; flex-direction: column; min-width: 0; line-height: 18px; }
.pill-t b, .pill-t span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-t span { font-size: 13px; color: var(--ink-muted); }
#buscador { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr auto; gap: var(--space-3); align-items: end; }
.busc-cab { display: none; }
#velo-busc { display: none; }
.campo { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.campo > label, .campo .lbl { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink-muted); }
.campo select { -webkit-appearance: none; appearance: none; height: 48px; font: inherit; color: var(--ink); line-height: 48px; padding-right: 40px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c7b58' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.campo-btn { height: 48px; font: inherit; color: var(--ink); }
.campo select, .campo-btn { min-height: 48px; width: 100%; padding: 0 var(--space-4); border: 1.5px solid var(--border-input); border-radius: var(--radius-sm); background-color: var(--surface); text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .campo select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236cc69c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); } }
:root[data-theme="dark"] .campo select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236cc69c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.campo select::-ms-expand { display: none; }
.pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sheet); padding: var(--space-4); min-width: 320px; }
#pop-huespedes { right: 0; left: auto; display: flex; flex-direction: column; gap: var(--space-3); }
.pop-cal { width: min(720px, 92vw); }
.fila { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); min-height: 48px; }
.fila small { display: block; font-size: 13px; color: var(--ink-muted); }
.contador { display: flex; align-items: center; gap: var(--space-3); }
.contador button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border-input); background: var(--surface); font-size: 20px; cursor: pointer; }
.contador button[disabled] { opacity: .4; cursor: not-allowed; }
.contador output { min-width: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.edades { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.sel { min-height: 44px; padding: 0 var(--space-3); border: 1.5px solid var(--border-input); border-radius: var(--radius-sm); background: var(--surface); }
.check { display: flex; gap: var(--space-3); align-items: flex-start; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--verde); flex: none; }
.check small { color: var(--ink-muted); }
@media (max-width: 760px) {
  .pill { display: flex; }
  #buscador { display: none; }
  /* v2.2.4 · ventana flotante ajustada al contenido (antes, pantalla completa) */
  body.busc-abierto #buscador { display: flex; flex-direction: column; align-items: stretch; gap: 14px; position: fixed; z-index: 50; background: var(--surface); overflow-y: auto; overscroll-behavior: contain;
    top: calc(env(safe-area-inset-top, 0px) + 12px); left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: auto;
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 24px); border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.28); padding: 16px 16px 18px; }
  body.busc-abierto #velo-busc { display: block; position: fixed; inset: 0; z-index: 49; background: rgba(20, 28, 24, .45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
  body.busc-abierto { overflow: hidden; }
  .busc-cab { display: flex; justify-content: space-between; align-items: center; }
  .busc-cab h2 { font: 500 24px/28px var(--font-display); }
  .pop { position: static; min-width: 0; box-shadow: none; border: 1px solid var(--border); }
  body.cal-abierto .pop-cal { position: fixed; inset: 0; z-index: 60; width: auto; border-radius: 0; overflow-y: auto; padding-top: calc(env(safe-area-inset-top, 0px) + 12px); }
}

/* ── Calendario ── */
.cal-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-2); }
.cal-cab .nav { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border-input); background: var(--surface); cursor: pointer; font-size: 20px; }
.cal-cab .nav[disabled] { opacity: .35; cursor: not-allowed; }
.cal-hint { position: sticky; top: 0; z-index: 2; background: var(--aviso-tint); border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); font-size: 14px; line-height: 20px; margin-bottom: var(--space-3); }
.cal-hint.ok { background: var(--verde-tint); }
.cal-ley { display: flex; flex-wrap: wrap; gap: var(--space-3); font-size: 12px; color: var(--ink-muted); margin-bottom: var(--space-2); }
.cal-meses { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-6); }
.cal-mes h3 { font: 600 16px/24px var(--font-sans); margin-bottom: var(--space-2); }
.cal-mes h3::first-letter { text-transform: uppercase; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.dow { font-size: 12px; text-align: center; color: var(--ink-muted); line-height: 24px; }
.dia { height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; background: none; border-radius: var(--radius-sm); cursor: pointer; font-weight: 500; font-variant-numeric: tabular-nums; padding: 0; }
.dia small { font-size: 10.5px; font-weight: 400; line-height: 12px; color: var(--ink-muted); margin-top: 2px; }
.dia:hover:not([disabled]) { background: var(--surface-alt); }
.dia[disabled] { color: var(--ink-muted); opacity: .45; cursor: not-allowed; }
.dia.hoy { text-decoration: underline; text-underline-offset: 3px; }
.dia.busy { color: var(--ink-muted); text-decoration: line-through; }
.dia.antes { opacity: .45; }
.dia.short { color: var(--ink-muted); opacity: .55; cursor: not-allowed; }
.dia.in { background: var(--lima-tint); border-radius: 0; }
.dia.s, .dia.e { background: var(--lima); color: var(--on-lima); opacity: 1; }
.dia.s small, .dia.e small { color: var(--on-lima); }
.dia.s { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.dia.e { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.dia.s:not(.e):last-child, .dia.s.e { border-radius: var(--radius-sm); }
.cal-pie { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); border-top: 1px solid var(--border); margin-top: var(--space-3); padding-top: var(--space-3); background: var(--surface); }
body.cal-abierto .cal-pie { position: sticky; bottom: 0; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); }
.cal-inline { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-4); }

/* ── Resultados ── */
.res-head { padding: var(--space-6) 0 var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); }
.res-head h1 { font: 500 28px/32px var(--font-display); }
.toolbar { display: flex; gap: var(--space-2); align-items: center; justify-content: space-between; padding: var(--space-2) 0 var(--space-3); }
.seg { display: inline-flex; border: 1.5px solid var(--border-input); border-radius: var(--radius-pill); overflow: hidden; flex: none; }
.seg button { border: 0; background: var(--surface); min-height: 40px; padding: 0 var(--space-4); font-size: 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--verde); color: var(--on-verde); }
.grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); padding-bottom: var(--space-8); }
.sec-t { font: 600 14px/20px var(--font-sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); margin: var(--space-2) 0 var(--space-3); }
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-reposo, none); } /* v2.4.1 · más contraste con el fondo */
.card:hover { box-shadow: var(--shadow-card); }
.card .foto { aspect-ratio: 4 / 3; background: var(--surface-alt); position: relative; }
.card .foto img { width: 100%; height: 100%; object-fit: cover; }
.card .foto .badge { position: absolute; top: var(--space-3); left: var(--space-3); }
.card.off .foto img { filter: saturate(.6); opacity: .85; }
.cbody { padding: var(--space-4); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cname { font: 500 22px/28px var(--font-display); }
.cname a { color: inherit; text-decoration: none; }
.cname a::after { content: ""; position: absolute; inset: 0; }
.card .oferta, .card .opc, .card .btn, .card .ops { position: relative; z-index: 1; }
.oferta { align-self: flex-start; border: 0; background: var(--lima-tint); color: var(--ink); border-radius: var(--radius-sm); padding: 6px var(--space-3); font-size: 14px; line-height: 20px; cursor: pointer; text-align: left; }
.oferta:hover { text-decoration: underline; }
.cfoot { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-3); margin-top: auto; padding-top: var(--space-2); }
.precio { display: flex; flex-direction: column; }
.price-main { font: 500 24px/28px var(--font-display); }
.price-alt { color: var(--verde); font-size: 14px; line-height: 20px; font-weight: 500; }
.nota-c { white-space: nowrap; font-weight: 600; }
.st { color: var(--tierra); }
.why { color: var(--aviso); font-weight: 600; font-size: 14px; line-height: 20px; }
.ops { display: flex; flex-wrap: wrap; gap: 6px; }
.opc { border: 1.5px solid var(--border-input); background: var(--surface); border-radius: var(--radius-pill); min-height: 40px; padding: 0 var(--space-3); font-size: 14px; cursor: pointer; font-variant-numeric: tabular-nums; }
.opc:hover { border-color: var(--verde); background: var(--verde-tint); }
.card.esq .foto { animation: none; }
.lista-mapa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 42%); gap: var(--space-6); align-items: start; padding-bottom: var(--space-8); }
.lista-mapa .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); padding-bottom: var(--space-4); }
.mapa-lado { position: sticky; top: calc(var(--barra-h) + 46px); height: calc(100vh - var(--barra-h) - 70px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.mapa-lado #mapa { width: 100%; height: 100%; }
.card.activa { border-color: var(--verde); box-shadow: var(--shadow-card); }
@media (min-width: 980px) { .solo-movil { display: none; } }
.mapa-grande { height: min(70vh, 640px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-bottom: var(--space-8); }
.mapa-ficha { height: 280px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
/* v2.2.3 · pin con etiqueta, cola y punto exacto: el centro del punto cae en la coordenada */
.pin { display: flex; width: max-content; flex-direction: column; align-items: center; /* v2.2.4 · flex de bloque: sin línea de texto que lo desplace según su alto */ transform: translate(-50%, calc(-100% + 7px)); white-space: nowrap; cursor: pointer; }
.pin-lab { position: relative; display: grid; justify-items: center; gap: 1px; background: var(--surface); color: var(--ink); border: 1.5px solid var(--verde); border-radius: 10px; padding: 4px 9px 5px; box-shadow: var(--shadow-card); font: 400 11px/1.2 var(--font-sans); }
.pin-lab b { font: 700 14px/1.15 var(--font-sans); font-variant-numeric: tabular-nums; }
.pin-lab small { display: block; width: max-content; font-size: 11px; color: var(--ink-muted); max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.pin-lab::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; background: inherit; border-right: 1.5px solid var(--verde); border-bottom: 1.5px solid var(--verde); transform: translateX(-50%) rotate(45deg); }
.pin-pt { display: block; width: 14px; height: 14px; margin-top: 8px; border-radius: 50%; background: var(--verde); border: 3px solid var(--surface); box-shadow: 0 0 0 1.5px var(--verde); }
.pin.off .pin-lab { border-color: var(--border-input); color: var(--ink-muted); box-shadow: none; } .pin.off .pin-lab::after { border-color: var(--border-input); }
.pin.off .pin-pt { background: var(--ink-muted); box-shadow: 0 0 0 1.5px var(--border-input); }
.zoom-lejos .pin:not(.pin-g):not(.on) .pin-lab small { display: none; }
.pin-g .pin-lab b { font-size: 14px; } .pin-g .pin-lab .pin-sub { max-width: min(300px, 70vw); }
.pin.on { z-index: 2; transform: translate(-50%, calc(-100% + 7px)); }
.pin.on .pin-lab { background: var(--ink); color: var(--bg); border-color: var(--ink); } .pin.on .pin-lab small { color: inherit; opacity: .8; } .pin.on .pin-lab::after { border-color: var(--ink); }
.mapa-grande { position: relative; } /* v2.2.4 · .mapa-lado no: es sticky (ya sirve de referencia para la tarjeta) */
.pin-card { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1000; max-width: 340px; margin: 0 auto; display: grid; grid-template-columns: 96px minmax(0, 1fr); background: var(--surface); border-radius: var(--radius-md); box-shadow: 0 8px 28px rgba(0,0,0,.22); overflow: hidden; }
.pin-card img { width: 100%; height: 100%; object-fit: cover; min-height: 110px; }
.pin-card .pc-t { display: grid; gap: 3px; padding: 10px 34px 10px 12px; align-content: start; }
.pin-card .pc-t strong { font-size: 15px; line-height: 19px; }
.pin-card .btn { margin-top: 4px; min-height: 38px; }
.pc-x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--surface); font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink-muted); }
.como-llegar { font-weight: 600; color: var(--verde); text-decoration: none; justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
.como-llegar:hover { text-decoration: underline; }

/* ── Sin disponibilidad ── */
.noav { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-4); }
.noav-t { font: 500 26px/30px var(--font-display); }
.noav-why { background: var(--aviso-tint); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); }
.noav-why b { display: block; }
.noav-why.ok { background: var(--verde-tint); }
.alt { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); width: 100%; padding: var(--space-3) var(--space-4); border: 1.5px solid var(--border-input); border-radius: var(--radius-md); background: var(--surface); cursor: pointer; text-align: left; color: var(--ink); text-decoration: none; }
.alt:hover { border-color: var(--verde); background: var(--verde-tint); }
.alt > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.alt b { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.alt .p { font: 500 20px/24px var(--font-display); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.alt .p small { display: block; font: 400 12px/16px var(--font-sans); color: var(--ink-muted); }

/* ── Ficha ── */
.ficha { display: grid; gap: var(--space-6); padding-top: var(--space-2); padding-bottom: 120px; }
.ficha .main { display: flex; flex-direction: column; gap: var(--space-6); min-width: 0; }
.volver { align-self: flex-start; padding-left: 0; }
.galeria { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.galeria button { padding: 0; border: 0; background: var(--surface-alt); cursor: zoom-in; position: relative; min-height: 0; }
.galeria img { width: 100%; height: 100%; object-fit: cover; }
.galeria button:first-child { grid-row: 1 / 3; }
.galeria .mas span { position: absolute; inset: auto 8px 8px auto; background: var(--surface); color: var(--ink); border-radius: var(--radius-pill); padding: 4px 10px; font-size: 13px; font-weight: 600; }
@media (max-width: 760px) { .galeria { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 4 / 3; } .galeria button:not(:first-child):not(.mas) { display: none; } .galeria .mas { display: none; } }
.f-tit { display: flex; flex-direction: column; gap: 6px; }
.f-tit h1, .f-h { font: 500 30px/34px var(--font-display); }
.rating { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.rating > button { display: flex; align-items: center; gap: var(--space-3); width: 100%; padding: var(--space-3) var(--space-4); border: 0; background: none; cursor: pointer; text-align: left; min-height: 52px; }
.rating .sc { font: 600 22px/1 var(--font-display); }
.rating .chev { margin-left: auto; color: var(--verde); font-size: 14px; font-weight: 600; }
.rating .list { border-top: 1px solid var(--border); padding: var(--space-2) var(--space-4) var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); }
.rev p { margin: 2px 0 0; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px var(--space-4); padding: 0; margin: 0; list-style: none; font-size: 15px; line-height: 21px; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts li { display: flex; gap: 6px; padding: 3px 0; min-width: 0; }
.facts li::before { content: "✓"; color: var(--verde); font-weight: 700; flex: none; }
.mas-serv { margin-top: calc(-1 * var(--space-3)); min-height: 36px; padding: 0; }
.desc { white-space: pre-line; margin: 0; }
.desc.corta { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* «Leer más» pegado al texto, alineado a la izquierda */
#leer { align-self: flex-start; min-height: 36px; padding: 0; margin-top: calc(-1 * var(--space-4)); justify-content: flex-start; }
.nota-idioma { margin: 0 0 calc(-1 * var(--space-3)); font-size: 13px; line-height: 18px; color: var(--ink-muted); font-style: italic; }
.units { display: flex; flex-direction: column; gap: var(--space-3); }
.unit { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.unit .u-foto { width: 100%; height: 100%; min-height: 160px; position: relative; display: block; padding: 0; border: 0; background: var(--surface-alt); overflow: hidden; cursor: zoom-in; }
.unit .u-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.u-foto-n { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px; background: rgba(0,0,0,.62); color: #fff; font: 600 11px/1.4 var(--font-body, sans-serif); pointer-events: none; }
.det-fotos { flex: none; } /* v2.5.15 · que la descripción larga no aplaste las fotos de «más info» */
.unit .u-body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.unit:not(:has(.u-foto)) { grid-template-columns: 1fr; }
.unit.off { background: var(--surface-alt); }
.unit-top { display: flex; justify-content: space-between; gap: var(--space-3); align-items: flex-start; }
.unit h3 { font: 500 20px/24px var(--font-display); }
.u-precio { text-align: right; flex: none; }
.u-pie { justify-content: space-between; margin-top: auto; }
@media (max-width: 600px) { .unit { grid-template-columns: 1fr; } .unit .u-foto { aspect-ratio: 16 / 9; min-height: 0; } }
.conds { background: var(--surface-alt); border-radius: var(--radius-md); padding: var(--space-4); display: grid; gap: var(--space-2); font-size: 15px; line-height: 22px; }
.conds summary { list-style: none; padding: 0; min-height: 44px; }
.combis { display: flex; flex-direction: column; gap: var(--space-3); }
.combi { border: 1.5px solid var(--border-input); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); background: var(--surface); }
.combi-u { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.combi-u small { display: block; color: var(--ink-muted); font-size: 13px; }
.combi-p { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.combi-p b { font: 500 22px/26px var(--font-display); }
.combi-p small { color: var(--ink-muted); }
.side { display: none; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--surface); border-top: 1px solid var(--border); box-shadow: var(--shadow-card);
  padding: var(--space-3) max(16px, env(safe-area-inset-right, 0px)) calc(var(--space-3) + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.bar .in { max-width: 1120px; margin: 0 auto; display: flex; gap: var(--space-3); align-items: center; justify-content: space-between; }
.bar .tot { display: flex; flex-direction: column; min-width: 0; }
.bar .tot b { font: 500 22px/26px var(--font-display); }
@media (min-width: 980px) {
  .ficha { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; padding-bottom: var(--space-12); }
  .side { display: flex; flex-direction: column; gap: var(--space-3); position: sticky; top: calc(var(--barra-h) + 24px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow-card); }
  .fichabar { display: none; }
}

/* ── Hoja / modal ── */
.velo { position: fixed; inset: 0; z-index: 70; background: rgba(10,18,13,.5); display: flex; align-items: flex-end; justify-content: center; }
.modal { background: var(--surface); width: 100%; max-width: 580px; max-height: 92%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: var(--shadow-sheet); display: flex; flex-direction: column; }
@media (min-width: 700px) { .velo { align-items: center; padding: var(--space-4); } .modal { border-radius: var(--radius-lg); max-height: 88vh; } }
.modal header { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-4) var(--space-2); }
.modal header h2 { font: 500 22px/28px var(--font-display); }
.modal .contenido { padding: 0 var(--space-4) var(--space-4); overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-4); }
.modal footer { padding: var(--space-3) var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); display: flex; gap: var(--space-3); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.modal footer .tot { display: flex; flex-direction: column; }
body.modal-abierto { overflow: hidden; }
.bloque { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.bloque legend { margin-bottom: var(--space-2); padding: 0; }
.opt { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-4); border: 1.5px solid var(--border-input); border-radius: var(--radius-sm); cursor: pointer; }
.opt:has(input:checked) { border-color: var(--verde); background: var(--verde-tint); }
.opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--verde); flex: none; }
.opt .t { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.opt .pr { margin-left: auto; text-align: right; font: 500 18px/22px var(--font-display); white-space: nowrap; }
.opt .pr small { display: block; font: 500 13px/16px var(--font-sans); color: var(--verde); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 48px; cursor: pointer; }
.toggle input { width: 22px; height: 22px; accent-color: var(--verde); flex: none; }
.lineas { display: grid; gap: 6px; font-size: 15px; }
.lineas > div { display: flex; justify-content: space-between; gap: var(--space-3); }
.lineas .tot { border-top: 1px solid var(--border); padding-top: var(--space-2); font-weight: 600; font-size: 17px; }
.condiciones { white-space: pre-line; font-size: 14px; line-height: 21px; }

/* ── Carrito («Tu reserva»): barra oscura fija, plegable ── */
.carrito { position: fixed; left: 0; right: 0; bottom: 0; z-index: 26; background: var(--ink); color: var(--bg); border-top: 4px solid var(--lima);
  box-shadow: 0 -8px 24px rgba(20,38,28,.22); border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: var(--space-2) max(16px, env(safe-area-inset-right, 0px)) calc(var(--space-3) + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.carrito .in { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-2); }
.carrito.pulso { animation: pulso .5s ease-out; }
@keyframes pulso { 0% { transform: translateY(12px); } 60% { transform: translateY(-4px); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .carrito.pulso { animation: none; } }
.c-aviso { margin: 0; padding: 6px var(--space-3); border-radius: var(--radius-sm); background: var(--lima); color: var(--on-lima); font-size: 14px; line-height: 20px; font-weight: 500; }
.c-cab { display: flex; align-items: center; gap: var(--space-3); width: 100%; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.c-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lima); color: var(--on-lima); display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.c-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.c-t b { font: 500 18px/22px var(--font-display); }
.c-t small { font-size: 13px; line-height: 18px; opacity: .85; }
.c-ver { flex: none; font-size: 14px; font-weight: 600; color: var(--lima); text-decoration: underline; text-underline-offset: 3px; }
.carrito ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; max-height: 38vh; overflow-y: auto; }
.carrito li { display: flex; align-items: center; gap: var(--space-3); padding: 6px 0; border-top: 1px solid rgba(255,255,255,.14); }
.c-u { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: 15px; line-height: 20px; }
.c-u small { font-size: 13px; opacity: .8; }
.c-p { flex: none; font-weight: 600; }
.c-x { flex: none; min-height: 44px; padding: 0 var(--space-2); border: 0; background: none; color: var(--lima); font: 600 14px/1 var(--font-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.c-pie { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.carrito .tot { display: flex; flex-direction: column; }
.carrito .tot small { font-size: 13px; opacity: .8; }
.carrito .tot b { font: 500 24px/28px var(--font-display); }
.carrito .btn-p { min-width: 150px; }
.carrito :focus-visible { outline: 3px solid var(--lima); outline-offset: 2px; }
body.con-carrito .ficha { padding-bottom: calc(var(--carrito-h, 140px) + 24px); }
.en-res { color: var(--verde); font-weight: 600; min-height: 36px; display: inline-flex; align-items: center; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .carrito { background: #0a110d; color: var(--ink); border-top-color: var(--lima); } }
:root[data-theme="dark"] .carrito { background: #0a110d; color: var(--ink); }
@media (min-width: 980px) { body[data-vista="ficha"] .carrito { display: none; } body.con-carrito .ficha { padding-bottom: var(--space-12); }
  .carrito { left: 50%; right: auto; transform: translateX(-50%); width: min(720px, calc(100% - 32px)); bottom: 16px; border-radius: var(--radius-lg); padding-bottom: var(--space-3); } .carrito.pulso { animation: none; } }
.carrito-lado { display: flex; flex-direction: column; gap: var(--space-3); border: 2px solid var(--lima); border-radius: var(--radius-md); padding: var(--space-3); margin: calc(-1 * var(--space-1)); }
.carrito-lado ul { margin: 0; padding: 0; list-style: none; display: grid; }
.carrito-lado li { display: flex; align-items: center; gap: var(--space-2); padding: 6px 0; border-bottom: 1px solid var(--border); }
.carrito-lado .c-u small { color: var(--ink-muted); opacity: 1; }
.carrito-lado .c-x { color: var(--verde); }
.carrito-lado .c-aviso { background: var(--lima-tint); color: var(--ink); }
.side-elegir { display: flex; flex-direction: column; gap: var(--space-3); }

/* ── Más información ── */
.mas-info { align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--verde); font: 600 14px/20px var(--font-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.card .mas-info { min-height: 32px; position: relative; z-index: 2; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.tags li { font-size: 13px; line-height: 18px; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--surface-alt); color: var(--ink); white-space: nowrap; }
.tags .tag-mas { padding: 0; background: none; }
.tags .tag-mas .mas-info { min-height: 24px; font-size: 13px; line-height: 18px; padding: 3px 4px; }
@media (max-width: 600px) {
  .card .foto { aspect-ratio: 16 / 9; }
  .card .cbody { padding: var(--space-3) 14px 14px; gap: 4px; }
  .card .cname { font: 500 20px/24px var(--font-display); }
  .card .cfoot { padding-top: 4px; }
}
.mas-serv { align-self: flex-start; }
.serv-todos { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-4); }
.serv-todos li { display: flex; gap: 6px; align-items: baseline; padding: 4px 0; font-size: 14px; line-height: 19px; min-width: 0; }
.serv-todos li::before { content: "✓"; color: var(--verde); font-weight: 600; flex: none; }
.det-fotos { display: flex; gap: var(--space-2); overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--space-4)); padding: 0 var(--space-4); }
.det-fotos button { flex: none; width: 78%; max-width: 360px; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: var(--radius-md); overflow: hidden; scroll-snap-align: start; cursor: zoom-in; background: var(--surface-alt); }
.det-fotos img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── WhatsApp ── */
.wa-link { color: var(--verde); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.btn-wa { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--space-2); background: var(--surface); color: var(--verde); border-color: var(--verde); text-decoration: none; }
.btn-wa:hover { background: var(--verde-tint); }
.ico-wa { width: 20px; height: 20px; fill: currentColor; flex: none; }
.aviso-global .btn-wa { margin-top: var(--space-2); display: flex; width: fit-content; }

/* ── Pago ── */
.pay { display: grid; gap: var(--space-4); padding-top: var(--space-2); padding-bottom: var(--space-12); }
.pay-cab h1 { font: 500 28px/32px var(--font-display); }
@media (min-width: 980px) { .pay { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; } .pay .pay-cab { grid-column: 1; } .pay .sum { position: sticky; top: calc(var(--barra-h) + 24px); grid-column: 2; grid-row: 1 / 3; } .pay #f-pago { grid-column: 1; } }
.box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.sum-foto { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); flex: none; }
.resumen-precio { display: flex; justify-content: space-between; gap: var(--space-3); font-size: 15px; }
.resumen-precio.total { border-top: 1px solid var(--border); padding-top: var(--space-2); margin-top: var(--space-2); font-weight: 600; font-size: 17px; }
#lineas-pago .bloque { border-bottom: 1px solid var(--border); padding-bottom: var(--space-2); margin-bottom: var(--space-2); gap: 4px; }
.cupon { display: flex; gap: var(--space-2); }
.cupon input { flex: 1; min-width: 0; min-height: 44px; padding: 0 var(--space-3); border: 1.5px solid var(--border-input); border-radius: var(--radius-sm); background: var(--surface); }
.paso { display: flex; flex-direction: column; gap: var(--space-3); }
.paso + .paso { border-top: 1px solid var(--border); padding-top: var(--space-4); }
.rejilla { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.rejilla.dos { grid-template-columns: 1fr 1fr; }
.f { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink-muted); }
.f small { font-weight: 400; letter-spacing: 0; }
.f input, .f textarea { min-height: 48px; padding: 0 var(--space-4); border: 1.5px solid var(--border-input); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: 400 16px/24px var(--font-sans); letter-spacing: 0; width: 100%; }
.f textarea { padding-block: var(--space-3); resize: vertical; }
.f.mal input, .f.mal textarea { border-color: var(--error); }
.f .msg { color: var(--error); font-weight: 400; font-size: 14px; letter-spacing: 0; }
.tarj { position: relative; display: block; }
.tarj b { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--ink-muted); }
.btn-pagar { min-height: 56px; font-size: 18px; }
.trust { background: var(--surface-alt); border-radius: var(--radius-md); padding: var(--space-4); display: grid; gap: var(--space-2); font-size: 14px; line-height: 20px; }
.trust .it::before { content: "✓ "; color: var(--verde); font-weight: 700; }
.trust .cards { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: var(--space-2); border-top: 1px solid var(--border); }
.trust .cards .c { border: 1px solid var(--border-input); border-radius: var(--radius-sm); padding: 2px 8px; font-size: 12px; font-weight: 600; background: var(--surface); }
.link { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--verde-tint); font-size: 14px; line-height: 20px; }
.link .t { font: 600 18px/1 var(--font-display); color: var(--verde); white-space: nowrap; }
.link.soon { background: var(--aviso-tint); } .link.soon .t { color: var(--aviso); }
.modal.banco { max-width: 520px; height: min(90vh, 720px); }
.modal.banco iframe { flex: 1; width: 100%; border: 0; background: #fff; }
.done { max-width: 600px; padding-top: var(--space-12); padding-bottom: var(--space-12); display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.done h1 { font: 500 34px/38px var(--font-display); }
.done .box { width: 100%; }
.done p { margin: 0; }

/* ── Visor de fotos ── */
.visor { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; }
.visor img { max-height: 86vh; max-width: 94vw; object-fit: contain; }
.visor .x { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 12px); right: 12px; background: #fff; color: #14261c; }
.visor .ant, .visor .sig { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: #14261c; font-size: 28px; cursor: pointer; }
.visor .ant { left: 12px; } .visor .sig { right: 12px; }
.visor .num { position: absolute; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); color: #fff; font-size: 14px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* ── v2.1.2: menos espacio vertical ── */
.sec-cab { display: flex; flex-direction: column; gap: 0; }
.sec-cab p { margin: 0; }
.sec-cab .btn-in { min-height: 32px; }
.u-carac .mas-info.en-linea { display: inline; min-height: 0; padding: 0; font-size: inherit; line-height: inherit; position: relative; z-index: 2; }
.fila2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-3); }
.fila2 .fila { min-height: 44px; }
.nota-hu { margin: 0; font-size: 13px; line-height: 18px; }
.tot-linea { flex-direction: row !important; align-items: baseline; gap: var(--space-2); }
.tot-linea .price-main { font-size: 22px; line-height: 26px; }
@media (max-width: 600px) {
  .ficha { gap: 14px; }
  .ficha .main { gap: 14px; }
  .ficha .main .stack { gap: var(--space-2); }
  .unit .u-foto { aspect-ratio: 2 / 1; }
  .unit .u-body { padding: var(--space-3) 14px; gap: 6px; }
  .unit .u-pie { margin-top: 2px; }
  .modal .contenido { gap: var(--space-3); }
  .modal header { padding-bottom: 4px; }
  .bloque { gap: 6px; }
  .bloque legend { margin-bottom: 4px; }
  .opt { padding: 10px 12px; }
  .lineas { gap: 2px; }
  .modal footer { padding-top: var(--space-2); gap: var(--space-2); }
  .modal footer .tot { width: 100%; }
  .modal footer .row { width: 100%; flex-wrap: nowrap; }
  .modal footer .row .btn { flex: 1; padding-left: 10px; padding-right: 10px; }
}

/* ───────── v2.2.0 ───────── */
/* A3: «Leer más» sin huecos: plegada, los saltos de párrafo no dejan líneas en blanco */
.desc.corta { white-space: normal; }
/* A2: ventana de servicios compacta en móvil */
@media (max-width: 760px) {
  .serv-todos { gap: 0 var(--space-3); }
  .serv-todos li { padding: 2px 0; font-size: 13px; line-height: 17px; }
  .modal .contenido:has(.serv-todos) { padding-top: 8px; padding-bottom: 8px; }
}
/* Galería: botón para ver todas las fotos (también en móvil, donde solo se ve la primera) */
.galeria { position: relative; }
.galeria .ver-fotos { position: absolute; right: 10px; bottom: 10px; z-index: 2; background: var(--fondo, #fff); color: var(--texto, #1c2321); border: 1px solid var(--linea, #d9dedb); border-radius: var(--radius-pill, 999px); padding: 6px 12px; font: 600 13px/1 var(--fuente, inherit); cursor: pointer; }
@media (min-width: 761px) { .galeria .ver-fotos { display: none; } }
/* Compartir */
.f-tit { display: flex; flex-direction: row; gap: 12px; align-items: flex-start; justify-content: space-between; }
.f-tit-l { display: flex; flex-direction: column; gap: 6px; }
.f-tit-l { min-width: 0; }
.btn-sh { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.btn-sh svg, .ico-sh { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-sh.en-foto { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; justify-content: center; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #1c2321; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.card .foto { position: relative; }
.sh-opc { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-opc .btn { flex: 1 1 140px; justify-content: center; }
.sh-url { width: 100%; font-size: 13px; padding: 8px 10px; border: 1px solid var(--linea, #d9dedb); border-radius: 8px; background: transparent; color: inherit; }
/* Escasez real, grupos y reglas */
.badge.b-escasez { position: absolute; left: 8px; bottom: 8px; z-index: 2; background: #8a2c0d; color: #fff; }
.escasez { color: #8a2c0d; font-weight: 600; font-size: 14px; margin: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .escasez { color: #ffb38f; } }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge.b-eco { background: #e5efe9; color: #1d5b3c; }
.badge.b-comoda { background: #e6edf7; color: #1f4673; }
.badge.b-juntas { background: #f3ecdf; color: #6b4a12; }
.aviso-rep { margin: 4px 0 0; padding: 6px 10px; border-left: 3px solid #b07a12; background: rgba(176,122,18,.08); border-radius: 4px; }
.regla { margin: 4px 0 0; color: var(--verde, #1d6b45); font-weight: 500; }
.combi .badges { margin-bottom: 6px; }
/* Noche extra */
.noche-extra { display: grid; gap: 8px; margin-top: 4px; }
.noche-extra .dif { display: block; color: var(--verde, #1d6b45); font-weight: 600; }
/* Comparador con OTAs */
.comparador { border-top: 1px solid var(--linea, #d9dedb); padding-top: 10px; margin-top: 4px; display: grid; gap: 4px; }
.comparador ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.comparador li { display: flex; justify-content: space-between; font-size: 14px; }
.comparador s { color: var(--muted, #5d6662); }
.comparador .ahorro { color: var(--verde, #1d6b45); }
/* Segunda fase de la ficha */
.cargando-mas { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.cargando-mas .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: giro .8s linear infinite; opacity: .6; }
@keyframes giro { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cargando-mas .spin { animation: none; } }
/* Calendario orientativo */
.cal-nota { margin: 0 0 6px; }
/* Presupuesto por email: secundario y más pequeño que Reservar */
.btn-pres { font-size: 13px; min-height: 40px; padding: 0 12px; white-space: nowrap; }
@media (max-width: 760px) { .c-acc .btn-pres { min-height: 36px; padding: 0 10px; } .c-acc { gap: 6px; } }
.c-acc { display: inline-flex; gap: 8px; align-items: center; }
.pres-pago { margin-top: 8px; }
/* Google Maps: pines propios */
.gpin { position: absolute; width: max-content; cursor: pointer; } /* v2.2.4 · sin desplazamiento propio: lo coloca .pin, con el centro del punto en la coordenada */
/* v2.2.1 · logos en el comparador y comparador visible también sin columna lateral */
.comparador li { align-items: center; }
.logo-ota { height: 16px; width: auto; display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-ota { background: #fff; border-radius: 4px; padding: 2px 5px; height: 20px; box-sizing: border-box; } }
:root[data-theme="dark"] .logo-ota { background: #fff; border-radius: 4px; padding: 2px 5px; height: 20px; box-sizing: border-box; }
.comp-estrecha .comparador { border: 1px solid var(--linea, #d9dedb); border-radius: 12px; padding: 12px 14px; margin: 0; }
@media (min-width: 980px) { .comp-estrecha { display: none; } }
.logo-ota.logo-airbnb { height: 22px; }

/* ───────── v2.2.2 ───────── */
/* Tarifas de cada casa a la vista (Flexible recomendada y No reembolsable) */
.unit.u2 .u-body { gap: 8px; }
.u-cab { display: grid; gap: 2px; }
.u-tarifas { display: grid; gap: 6px; margin-top: 4px; }
.tf { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; border: 1px solid var(--border); border-radius: 12px; padding: 8px 10px; background: var(--surface); }
.tf.rec { border-color: var(--verde, #1d6b45); background: color-mix(in srgb, var(--verde, #1d6b45) 7%, var(--surface)); }
.tf-t { display: grid; min-width: 0; } .tf-t b { font-size: 14px; } .tf-s { font-size: 12.5px; line-height: 16px; color: var(--ink-muted); }
.tf-rec { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--verde, #1d6b45); }
.tf-p { font: 500 19px/1 var(--font-display); white-space: nowrap; }
.tf .btn-sm { min-height: 40px; padding: 0 14px; }
.u-tarifas .en-res { justify-self: end; }
@media (max-width: 600px) {
  .unit.u2 { grid-template-columns: auto minmax(0, 1fr); padding: 10px; gap: 0 10px; }
  .unit.u2 .u-foto { height: var(--fh, 84px); width: auto; min-height: 72px; aspect-ratio: 4 / 3; max-width: 46vw; border-radius: 10px; grid-row: 1; align-self: start; }
  .unit.u2 .u-body { display: contents; }
  .unit.u2 .u-cab { grid-column: 2; align-self: center; }
  .unit.u2 .u-cab h3 { font-size: 18px; line-height: 21px; }
  .unit.u2 .u-carac, .unit.u2 .u-camas { display: none; }
  .unit.u2 .u-tarifas, .unit.u2 [data-u-alt] { grid-column: 1 / -1; margin-top: 8px; }
  /* v2.5.15 · tarifas más compactas en móvil */
  .tf { padding: 5px 8px; gap: 6px 8px; border-radius: 10px; } .tf-p { font-size: 16px; } .tf .btn-sm { min-height: 34px; padding: 0 11px; font-size: 14px; }
  .tf-t b { font-size: 13.5px; line-height: 17px; } .tf-s { font-size: 11.5px; line-height: 14px; } .tf-rec { font-size: 9.5px; line-height: 12px; }
  .u-tarifas { gap: 6px; }
  .u-ne { margin-top: 6px; padding: 6px 10px; border-radius: 10px; } .u-ne-t { font-size: 13px; line-height: 17px; } .u-ne-p { font-size: 15px; }
}
.alt-flex { font-size: 14px; margin-top: 6px; }
/* Comparador destacado */
.comparador { border: 2px solid var(--verde, #1d6b45); background: color-mix(in srgb, var(--verde, #1d6b45) 7%, var(--surface)); border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; margin-top: 4px; }
.comparador .cmp-h { font-weight: 700; color: var(--verde, #1d6b45); font-size: 15px; }
.comparador ul { gap: 6px; }
.comparador li.aqui { border-top: 1px dashed color-mix(in srgb, var(--verde, #1d6b45) 40%, transparent); padding-top: 6px; font-weight: 600; }
.comparador li.aqui b { color: var(--verde, #1d6b45); font: 500 18px/1 var(--font-display); }
.comp-estrecha .comparador { border: 2px solid var(--verde, #1d6b45); }
/* Combinaciones compactas */
.cb { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 12px 14px; display: grid; gap: 8px; }
.cb .badges { margin: 0; }
.cb-por { margin: 0; font-size: 13.5px; line-height: 19px; color: var(--ink-muted); } .cb-por b { color: var(--ink); }
.cb-u { list-style: none; margin: 0; padding: 0; display: grid; }
.cb-u li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; line-height: 20px; padding: 3px 0; border-bottom: 1px dashed var(--border); }
.cb-u li:last-child { border-bottom: 0; }
.cb-meta { margin: 0; font-size: 12.5px; color: var(--ink-muted); }
.cb-pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid var(--border); }
.cb-pie .tot { display: grid; line-height: 1.15; } .cb-pie .tot b { font: 500 24px/1.1 var(--font-display); } .cb-pie .tot small { font-size: 12.5px; color: var(--ink-muted); }
.cb-pie .btn { white-space: nowrap; }
.badge.b-otra { background: var(--surface-alt); color: var(--ink-muted); }
@media (min-width: 700px) {
  .cb { grid-template-columns: minmax(0, 1fr) 220px; column-gap: 20px; }
  .cb > :not(.cb-pie) { grid-column: 1; }
  .cb-pie { grid-column: 2; grid-row: 1 / span 8; flex-direction: column; align-items: stretch; justify-content: center; text-align: right; border-top: 0; border-left: 1px solid var(--border); padding: 0 0 0 18px; }
}
/* Pago: marcas de tarjeta, candado y PAYCOMET */
.marcas { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.marcas img { height: 20px; width: auto; transition: opacity .15s, filter .15s; }
.marcas img[data-marca="mastercard"] { height: 24px; }
.marcas .c { border: 1px solid var(--border-input); border-radius: 6px; padding: 2px 6px; font-size: 11px; font-weight: 600; }
.marcas .off { opacity: .25; filter: grayscale(1); }
.marcas-pago { margin: -2px 0 2px; }
.tarj #marca { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); height: 22px; width: auto; }
.candado { margin: 6px 0 0; text-align: center; }
.trust .pc { display: grid; gap: 8px; border-top: 1px solid var(--border); padding-top: 10px; }
.logo-pc { height: 34px; width: auto; } .it-pc { display: flex; align-items: center; gap: 6px; } .it-pc .logo-pc { height: 22px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-pc, :root:not([data-theme="light"]) .marcas img { background: #fff; border-radius: 4px; padding: 2px 4px; } }
:root[data-theme="dark"] .logo-pc, :root[data-theme="dark"] .marcas img { background: #fff; border-radius: 4px; padding: 2px 4px; }

/* v2.2.3 · «Antes de reservar» en mosaico */
.antes { gap: var(--space-3); }
.ab-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 761px) { .ab-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ab { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border-radius: 12px; padding: 10px 12px; }
.ab svg { width: 22px; height: 22px; flex: none; margin-top: 1px; fill: none; stroke: var(--verde); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ab.no svg { stroke: #b4544a; }
.ab span { display: grid; min-width: 0; } .ab b { font-size: 14.5px; line-height: 19px; } .ab small { font-size: 12.5px; line-height: 16px; color: var(--ink-muted); }
.ab-link { justify-self: start; font-weight: 600; color: var(--verde); }
/* v2.2.3 · grupos: Flexible o No reembolsable */
.cb-tar { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.cbv { display: flex; gap: 10px; align-items: center; border: 1.5px solid var(--border-input); border-radius: 12px; padding: 8px 12px; cursor: pointer; min-height: 48px; }
.cbv.on { border-color: var(--verde); background: var(--surface-alt); }
.cbv input { width: 18px; height: 18px; accent-color: var(--verde); flex: none; margin: 0; }
.cbv-t { flex: 1; display: grid; gap: 1px; min-width: 0; } .cbv-t b { font-size: 14.5px; }
.cbv-t .b-rec { justify-self: start; }
.cbv-p { white-space: nowrap; font-size: 15px; }
.b-rec { background: var(--lima); color: var(--on-lima); font-size: 11px; padding: 2px 7px; border-radius: var(--radius-pill); }
.cbv-t > b + .b-rec { margin-top: 2px; }
/* v2.2.3 · ficha sin hueco: casas cercanas */
.alt-casa > span:not(.p) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.alt-casa img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }

/* v2.2.4 · ventana de cada casa: huéspedes con contadores, extras en tarjetas y «hoy pagas» en el pie */
.hu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.cnt { display: flex; align-items: center; justify-content: space-between; gap: 6px; border: 1.5px solid var(--border-input); border-radius: 12px; padding: 6px 6px 6px 12px; min-height: 52px; }
.cnt > b { font-size: 15px; }
.cnt .ct { display: flex; align-items: center; gap: 4px; }
.cnt button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border-input); background: var(--surface); font-size: 19px; line-height: 1; color: var(--ink); cursor: pointer; }
.cnt button[disabled] { opacity: .35; cursor: not-allowed; }
.cnt output { min-width: 26px; text-align: center; font: 600 17px/1 var(--font-sans); font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .cnt { padding: 6px 4px 6px 10px; } .cnt button { width: 32px; height: 32px; } .cnt output { min-width: 22px; } }
.ex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.chipx { position: relative; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--border-input); border-radius: 12px; padding: 8px 10px; min-height: 52px; cursor: pointer; }
.chipx input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chipx:has(input:focus-visible) { outline: 2px solid var(--verde); outline-offset: 2px; }
.chipx svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--verde); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chipx span { display: grid; line-height: 1.15; flex: 1; min-width: 0; } .chipx b { font-size: 14px; } .chipx small { font-size: 12px; color: var(--ink-muted); }
.chipx i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border-input); flex: none; display: grid; place-items: center; }
.chipx.on { border-color: var(--verde); background: var(--verde-tint); }
.chipx.on i { background: var(--verde); border-color: var(--verde); }
.chipx.on i::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.res-m { font-size: 14px; background: var(--surface-alt); border-radius: 12px; padding: 10px 12px; gap: 2px; }
.tot-m { display: grid !important; line-height: 1.15; } .tot-m .price-main { font-size: 22px; line-height: 26px; } .tot-m small { font-size: 12.5px; }
/* v2.2.4 · etiquetas del mapa que no caben: solo precio (mini) o solo el punto (solo); al pasar por encima, completas */
.pin.mini .pin-lab small { display: none; } .pin.mini .pin-lab { padding: 2px 7px 3px; } .pin.mini .pin-lab b { font-size: 12.5px; }
.pin.solo .pin-lab { display: none; } .pin.solo .pin-pt { margin-top: 0; }
.pin.on.mini .pin-lab small { display: block; } .pin.on.mini .pin-lab { padding: 4px 9px 5px; } .pin.on.mini .pin-lab b { font-size: 14px; }
.pin.on.solo .pin-lab { display: grid; } .pin.on.solo .pin-pt { margin-top: 8px; }

/* v2.2.5 · tarjetas con las dos tarifas */
.prs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1.5px solid var(--border-input); border-radius: 14px; overflow: hidden; margin-top: 6px; position: relative; z-index: 1; }
.prs > div, .prs > a { padding: 9px 11px; display: grid; gap: 1px; align-content: start; line-height: 1.2; }
.prs > div + div { border-left: 1px solid var(--border); }
.prs .rec { background: var(--verde-tint); }
.prs .t { font: 600 12.5px/1.2 var(--font-sans); } .prs .rec .t, .prs .v { color: var(--verde); }
.prs .p { font: 500 22px/1.15 var(--font-display); }
.prs small { font-size: 11.5px; color: var(--ink-muted); }
.card .pie { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); margin-top: auto; padding-top: 8px; }
.por-c { margin: 0; font-size: 13.5px; line-height: 19px; color: var(--ink-muted); } .por-c b { color: var(--ink); }
/* v2.2.5 · esperas: spinner y texto que avanza */
.cargando-lista .cargando-mas { padding: 0; }
.spin-s { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: giro .8s linear infinite; opacity: .6; vertical-align: middle; }
@media (prefers-reduced-motion: reduce) { .spin-s { animation: none; } }

/* v2.2.6 · aviso de espera grande: centrado en la pantalla (lista) o en su sitio (ficha) */
.espera { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; pointer-events: none; padding: 24px; }
.espera > div, .espera-in > div { display: grid; justify-items: center; gap: 12px; text-align: center; }
.espera > div { pointer-events: auto; background: var(--surface); border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.18); padding: 26px 24px 22px; width: min(340px, 100%); }
.espera-in { display: grid; place-items: center; padding: 28px 12px; }
.espera-in > div { max-width: 340px; }
.espera b, .espera-in b { font-size: 16px; line-height: 22px; }
.espera small, .espera-in small { color: var(--ink-muted); font-size: 13px; line-height: 18px; }
.sp { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--verde-tint); border-top-color: var(--verde); animation: giro .9s linear infinite; }
@media (prefers-reduced-motion: reduce) { .sp { animation: none; border-color: var(--verde); } }

/* v2.2.7 · avisos durante el pago */
.no-cierres { margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--aviso-tint, #fbf1df); color: var(--ink); line-height: 18px; }
.banco-aviso { margin: 0 16px 10px; padding: 10px 12px; border-radius: 12px; background: var(--aviso-tint, #fbf1df); border-left: 4px solid var(--aviso, #c9862b); font-weight: 600; font-size: 14px; line-height: 19px; }
.banco-cancelar { margin: 0 16px 10px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--border-input); display: grid; gap: 6px; }
.banco-cancelar .row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-peligro { background: #b4544a; color: #fff; border: 0; }

/* v2.2.7 · las tarifas de la tarjeta se pueden pulsar */
.prs > a { color: inherit; text-decoration: none; cursor: pointer; transition: background-color .15s; }
.prs > a:hover { background: var(--lima-tint); } .prs > a.rec:hover { background: #dff0e6; }
.prs > a:focus-visible { outline: 2px solid var(--verde); outline-offset: -3px; }
.prs > a + a { border-left: 1px solid var(--border); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .prs > a.rec:hover { background: var(--verde-tint); } }

/* ─── v2.2.7 · pago compacto ─────────────────────────────────────────── */
.solo-escritorio { display: none; }
@media (min-width: 980px) { .solo-escritorio { display: block; } }
.volver-ico { display: none; }
.sum-cab { display: flex; gap: var(--space-3); align-items: center; }
.sum-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.sum-t b { font-size: 15px; line-height: 20px; }
.sum-t small { font-size: 13px; line-height: 17px; color: var(--ink-muted); }
.sum-t small.v { color: var(--verde, #1d6b45); font-weight: 600; }
.sum-tot { display: grid; justify-items: end; gap: 2px; flex: none; }
.sum-tot b { font: 500 20px/1 var(--font-display); }
.sum-ver { border: 0; background: none; padding: 4px 0; font: 600 13px/1 var(--font-sans); color: var(--verde, #1d6b45); text-decoration: underline; cursor: pointer; }
.sum-det { display: flex; flex-direction: column; gap: var(--space-3); }
.mas-coment { align-self: flex-start; border: 0; background: none; padding: 4px 0; font: 600 14px/20px var(--font-sans); color: var(--verde, #1d6b45); cursor: pointer; }
.tarj-cab { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; }
.tarj-cab .marcas-pago { margin: 0; }
/* Etiquetas dentro del campo (flotantes) */
.f.fl { position: relative; display: block; }
.f.fl input, .f.fl textarea { padding-top: 18px; padding-bottom: 4px; min-height: 52px; }
.f.fl textarea { padding-top: 22px; }
.f.fl .fl-t { position: absolute; left: calc(var(--space-4) + 1.5px); top: 15px; font: 400 16px/20px var(--font-sans); letter-spacing: 0; color: var(--ink-muted); pointer-events: none; transition: top .12s, font-size .12s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 2 * var(--space-4)); }
.f.fl:has(input:focus) .fl-t, .f.fl:has(input:not(:placeholder-shown)) .fl-t,
.f.fl:has(textarea:focus) .fl-t, .f.fl:has(textarea:not(:placeholder-shown)) .fl-t { top: 6px; font-size: 12px; line-height: 14px; font-weight: 600; }
.f.fl .tarj input { padding-right: 64px; }
.f.fl .msg { display: block; margin-top: 4px; }
.f.mal .fl-t { color: var(--error); }
.btn-pagar { flex-direction: column; }
.btn-pagar > span { display: grid; gap: 2px; justify-items: center; }
.btn-pagar small { font: 400 12px/14px var(--font-sans); opacity: .9; }
.no-cierres { text-align: center; }
.pago-mini { font-size: 12px; line-height: 18px; color: var(--ink-muted); text-align: center; padding: 0 var(--space-2); }
.pago-mini .logo-pc { vertical-align: middle; }
.cmp-mini { margin: 0; font-size: 13px; line-height: 18px; color: var(--lima, #c6e07a); font-weight: 600; }
@media (max-width: 979px) {
  .pay { gap: var(--space-3); }
  .pay .volver { display: none; }
  .volver-ico { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: 6px; border: 0; background: none; font-size: 22px; color: inherit; cursor: pointer; vertical-align: middle; }
  .pay-cab h1 { font-size: 22px; line-height: 28px; white-space: nowrap; }
  .pay .box { padding: var(--space-3); }
  .sum-foto { width: 52px; height: 52px; }
  .sum-det { display: none; border-top: 1px solid var(--border); padding-top: var(--space-3); }
  .sum.abierto .sum-det { display: flex; }
  #f-pago .h2 { font-size: 18px; }
  #f-pago .rejilla:not(.dos) { grid-template-columns: 1fr; }
  #f-pago .paso { gap: 10px; }
  #f-pago .paso + .paso { padding-top: var(--space-3); }
}
@media (min-width: 980px) { .sum-ver { display: none; } .pay .sum-cab { align-items: flex-start; } }
.pago-mini .logo-pc { display: inline-block; height: 14px; width: auto; margin: 0 2px; vertical-align: -2px; }

/* ─── v2.2.9 · tarjeta: valoración junto al nombre, «+N servicios» en la línea del pueblo y casilla «una noche más» ─── */
.card .c-fila { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); min-width: 0; }
.card .c-fila .cname { min-width: 0; }
.card .c-fila > .nota-c { flex: none; font-size: 14px; }
.card .c-meta { align-items: center; }
.card .c-meta .small { min-width: 0; }
.card .c-meta .mas-info { flex: none; position: relative; z-index: 1; min-height: 44px; padding: 0 2px; font-size: 13px; white-space: nowrap; }
.card .cfoot { justify-content: flex-start; }
.ne-chk { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; margin-top: 8px; padding: 8px 12px;
  border: 1.5px solid var(--border-input); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.ne-chk i { flex: none; width: 22px; height: 22px; border: 2px solid var(--border-input); border-radius: 6px; background: var(--surface); display: grid; place-items: center; }
.ne-chk span { display: grid; gap: 2px; min-width: 0; }
.ne-chk b { font: 600 14px/18px var(--font-sans); }
.ne-chk small { font: 400 14px/18px var(--font-sans); color: var(--ink-muted); }
.ne-chk:hover { border-color: var(--verde); }
.ne-chk:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; }
.ne-chk[aria-pressed="true"] { border: 2px solid var(--verde); background: var(--verde-tint); padding: 7.5px 11.5px; }
.ne-chk[aria-pressed="true"] i { background: var(--verde); border-color: var(--verde); }
.ne-chk[aria-pressed="true"] i::after { content: ""; width: 6px; height: 11px; border: solid var(--on-verde); border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }

/* ─── v2.3.0 · confirmación ─── */
.conf { max-width: 1000px; padding-top: var(--space-6, 24px); padding-bottom: var(--space-12); display: grid; gap: 14px; }
.conf p { margin: 0; }
.conf-cab { display: grid; gap: 10px; max-width: 640px; }
.conf-ok { display: flex; gap: 12px; align-items: center; }
.conf-ok i { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--verde); display: grid; place-items: center; }
.conf-ok i::after { content: ""; width: 10px; height: 18px; border: solid var(--on-verde); border-width: 0 3px 3px 0; transform: translateY(-2px) rotate(45deg); }
.conf h1 { font: 500 28px/32px var(--font-display); }
.conf-sub { color: var(--ink-muted); }
.conf-sub b { color: var(--ink); }
.conf-ref { color: var(--ink-muted); }
.conf .box { gap: 10px; }
.conf-casa { display: flex; gap: 12px; align-items: center; }
.conf-casa img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); flex: none; }
.conf-casa b { display: block; font-size: 16px; }
.conf-casa small { display: block; color: var(--ink-muted); font-size: 13px; line-height: 17px; }
.conf-fechas { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.conf-fechas > div { padding: 10px 12px; display: grid; gap: 1px; }
.conf-fechas > div + div { border-left: 1px solid var(--border); }
.conf-fechas small { font-size: 12px; color: var(--ink-muted); }
.conf-fechas b { font-size: 15px; }
.conf-fechas span { font-size: 13px; color: var(--ink-muted); }
.conf-pago { background: var(--verde-tint); border-radius: 10px; padding: 8px 12px; display: grid; gap: 2px; font-size: 14px; }
.conf-pago > div { display: flex; justify-content: space-between; gap: 8px; }
.conf-pago b { color: var(--verde); }
.conf-canc { font-size: 13px; color: var(--ink-muted); }
.conf-canc b { color: var(--verde); }
.conf-acc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.conf-acc > * { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 64px; padding: 10px 4px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--ink); font: 600 12.5px/16px var(--font-sans); text-align: center; text-decoration: none; cursor: pointer; }
.conf-acc > *:hover { border-color: var(--verde); }
.conf-acc > *:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; }
.conf-acc span { font-size: 20px; line-height: 1; }
.conf-pasos .h3 { font: 600 14px/18px var(--font-sans); margin: 0; }
.conf-pasos ol { list-style: none; margin: 0; padding: 0; }
.conf-pasos li { position: relative; padding: 0 0 12px 34px; display: grid; gap: 2px; }
.conf-pasos li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--verde); background: var(--surface); }
.conf-pasos li.hecho::before { background: var(--verde); }
.conf-pasos li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 21px; bottom: 0; border-left: 2px dotted var(--border); }
.conf-pasos b { font-size: 14px; }
.conf-pasos small { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.conf-ayuda { font-size: 13px; color: var(--ink-muted); }
.conf-ayuda a, .conf-volver { color: var(--verde); font-weight: 600; text-underline-offset: 3px; }
.conf-volver { font-size: 14px; display: inline-flex; align-items: center; min-height: 44px; }
.conf-pie { display: grid; gap: 4px; }
@media (min-width: 980px) {
  .conf { grid-template-columns: minmax(0, 1fr) 380px; gap: 20px 32px; align-items: start; padding-top: var(--space-12); }
  .conf-cab { grid-column: 1 / -1; }
  .conf-res { grid-column: 2; grid-row: 2 / 5; }
  .conf-pasos { grid-column: 1; grid-row: 2; }
  .conf-acc { grid-column: 1; grid-row: 3; }
  .conf-pie { grid-column: 1; grid-row: 4; }
  .conf h1 { font-size: 34px; line-height: 38px; }
}
.conf h1:focus { outline: none; }

/* ─── v2.4.3 · filtros desplazables: degradado y flecha en el borde mientras quede algo por ver ─── */
.chips-w { position: relative; min-width: 0; }
.chips-w::before, .chips-w::after { content: ""; position: absolute; top: 0; bottom: 6px; width: 48px; pointer-events: none; opacity: 0; transition: opacity .15s; z-index: 1; }
.chips-w::before { left: 0; background: linear-gradient(to right, var(--bg) 30%, transparent); }
.chips-w::after { right: 0; background: linear-gradient(to left, var(--bg) 30%, transparent); }
.chips-w.hay-izq::before, .chips-w.hay-der::after { opacity: 1; }
.chips-fl { position: absolute; top: calc(50% - 3px); transform: translateY(-50%); z-index: 2; display: none; align-items: center; justify-content: center;
  width: 34px; height: 34px; padding: 0 0 2px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-reposo, none); font: 600 22px/1 var(--font-sans); cursor: pointer; }
.chips-fl.izq { left: 0; } .chips-fl.der { right: 0; }
.chips-w.hay-izq .chips-fl.izq, .chips-w.hay-der .chips-fl.der { display: flex; }
.chips-fl:hover { border-color: var(--verde); color: var(--verde); }

/* v2.5.1 · revisión: condiciones como enlace, edad obligatoria, pago sin buscador */
.enlace-in { background: none; border: 0; padding: 0; font: inherit; color: var(--verde, #1c7b58); text-decoration: underline; cursor: pointer; }
.sel.sin-edad { border-color: var(--error); color: var(--ink-muted); }
p.n-error { background: none; color: var(--error); margin: 6px 0 0; }
body.en-pago .barra { display: none; }
/* v2.5.1 · «¿Una noche más?» dentro de cada alojamiento */
.u-ne { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: 8px; padding: 10px 14px; text-align: left; cursor: pointer;
  background: var(--lima-tint); border: 1px dashed var(--lima); border-radius: var(--radius-sm); font: inherit; color: var(--ink); }
.u-ne:hover { border-style: solid; }
.u-ne-t { font-size: .92rem; } .u-ne-p { font-weight: 700; white-space: nowrap; color: var(--verde); }
[data-u-ne] { grid-column: 1 / -1; width: 100%; } [data-u-ne]:empty { display: none; }
.u-ne-t { flex: 1; min-width: 0; }
/* v2.5.7 · reparto de personas entre los alojamientos de un grupo (pago) */
#reparto { margin: 8px 0 4px; }
.reparto { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-alt); }
.rep-u { display: grid; gap: 6px; padding-bottom: 8px; border-bottom: 1px dashed var(--border); }
.rep-u small { display: block; }
.rep-c { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.rep-c span { flex: 1; }
.cnt-b { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--border-input); background: var(--surface); font-size: 18px; line-height: 1; color: var(--ink); cursor: pointer; }
.cnt-b[disabled] { opacity: .35; cursor: not-allowed; }
.rep-c output { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.rep-b { display: flex; justify-content: flex-end; gap: 8px; }

/* v2.5.16 · condiciones en capa propia sobre la hoja de selección */
.modal { position: relative; }
.cond-capa { position: absolute; inset: 0; z-index: 3; background: var(--surface); border-radius: inherit; display: flex; flex-direction: column; }
.cond-capa header { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) var(--space-4) var(--space-2); }
.cond-capa .contenido { padding: 0 var(--space-4) var(--space-4); overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.cond-capa footer { padding: var(--space-3) var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); }
.cc-vol { background: none; border: 0; padding: 6px 0; font: 600 15px var(--font-body, sans-serif); color: var(--verde, #1d6b45); cursor: pointer; }
.cc-etq { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--verde, #1d6b45); }
.cc-tit { font: 500 22px/27px var(--font-display); margin: 2px 0 0; }
.cc-res { display: grid; gap: 12px; border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.cc-it { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; font-size: 14.5px; line-height: 20px; }
.cc-it b { display: block; } .cc-it div > span { display: block; color: var(--ink-muted); font-size: 13.5px; }
.cc-ic { width: 24px; height: 24px; border-radius: 50%; background: var(--verde, #1d6b45); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cc-full summary { cursor: pointer; font-weight: 600; color: var(--verde, #1d6b45); font-size: 15px; padding: 4px 0; }
.cc-txt { white-space: normal; color: var(--ink-muted); font-size: 13.5px; line-height: 20px; }
.cc-txt h4 { font: 600 14px var(--font-body, sans-serif); color: var(--ink); margin: 12px 0 4px; } .cc-txt p { margin: 0 0 8px; }
/* v2.5.16 · fotos verticales enteras (bandas neutras), nunca recortadas ni estiradas */
img.vert { object-fit: contain !important; background: var(--surface-alt, #ecebe6); }
