/* staytick-ficha · emv.css · bloque «¿Con vuelo o solo el circuito?» de la ficha (maqueta aprobada por Tamara el 11/11).
   Todo con prefijo .stf-ficha .emv; el pop-up de espera vive en el <body> y usa su propio prefijo .emv-pop.
   Mismos tokens que ficha.css (rosa #F60C76, DM Sans, radios de 18-20 px). */

.stf-ficha .emv{margin-block:56px 0;display:flex;flex-direction:column;gap:20px;color:var(--page-fg,#16181D)}
/* «Ver fechas y precios» baja a #emv: que el título no quede bajo la cabecera fija (mismos márgenes que las secciones sec- de ficha.css:359 y que #salidas en ficha-movil.css:315) */
.stf-ficha #emv, .stf-ficha-body #emv{scroll-margin-top:130px}
@media (max-width:900px){ .stf-ficha #emv, .stf-ficha-body #emv{scroll-margin-top:72px} .stf-ficha .emv-der{scroll-margin-top:84px} }
.stf-ficha .emv [hidden]{display:none!important}
.stf-ficha .emv-cab{display:flex;flex-direction:column;gap:4px}
.stf-ficha .emv-kick{font-size:14px;font-weight:700;color:var(--brand,#F60C76)}
.stf-ficha .emv-kick:empty{display:none}
.stf-ficha .emv-cab h2{margin:0;font-size:clamp(26px,3.4vw,32px);font-weight:800;line-height:1.15}

.stf-ficha .emv-cols{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}
.stf-ficha .emv-caja{min-width:0;background:var(--page-card,#fff);border:1px solid var(--page-line,#E4E5EA);border-radius:20px;box-shadow:0 2px 16px rgba(22,24,29,.06)}
.stf-ficha .emv-izq{padding:28px;display:flex;flex-direction:column;gap:22px;align-self:stretch} /* la caja blanca llega hasta abajo de la fila: sin hueco suelto (12/11) */
.stf-ficha .emv-der{padding:0;overflow:hidden;position:sticky;top:24px;border-radius:20px;box-shadow:0 10px 30px rgba(22,24,29,.08)}

/* Pregunta y las dos opciones */
.stf-ficha .emv-preg{display:flex;flex-direction:column;gap:12px}
.stf-ficha .emv-preg h3{margin:0;font-size:20px;font-weight:800;line-height:1.25}
.stf-ficha .emv-ops{display:flex;gap:12px}
.stf-ficha .emv-op{flex:1 1 0;min-width:0;text-align:left;cursor:pointer;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:6px;border:2px solid #E4DFDB;background:#fff;color:var(--page-fg,#16181D);font:inherit;transition:border-color .15s,background .15s}
.stf-ficha .emv-op:hover{border-color:#F7A8CB}
.stf-ficha .emv-op[aria-pressed="true"]{border-color:var(--brand,#F60C76);background:var(--brand-soft,#FFF5FA)}
.stf-ficha .emv-op:focus-visible{outline:2px solid var(--brand,#F60C76);outline-offset:2px}
.stf-ficha .emv-op-t{font-size:17px;font-weight:700}
.stf-ficha .emv-op-d{font-size:14px;line-height:1.4;color:#4A4E55}
.stf-ficha .emv-op-b{align-self:flex-start;font-size:13px;font-weight:700;color:#8A0440;background:#FFE3EF;border-radius:999px;padding:3px 10px}

/* Ciudad de salida */
/* Ciudad de salida: pastilla que abre el selector propio */
.stf-ficha .emv-ciu{display:flex}
.stf-ficha .emv-ciu-b{display:inline-flex;align-items:center;gap:10px;min-height:48px;max-width:100%;border:2px solid var(--brand,#F60C76);border-radius:999px;background:var(--brand-soft,#FFF5FA);color:var(--page-fg,#16181D);padding:8px 8px 8px 16px;font:inherit;font-size:15px;cursor:pointer;text-align:left;transition:background .15s,box-shadow .15s}
.stf-ficha .emv-ciu-b:hover:not(:disabled){background:#FFE3EF;box-shadow:0 4px 14px rgba(246,12,118,.18)}
.stf-ficha .emv-ciu-b:disabled{cursor:default;padding-right:16px}
.stf-ficha .emv-ciu-b:focus-visible{outline:2px solid #16181D;outline-offset:2px}
.stf-ficha .emv-ciu-b svg{width:20px;height:20px;flex:none;fill:none;stroke:var(--brand,#F60C76);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.stf-ficha .emv-ciu-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stf-ficha .emv-ciu-t b{font-weight:800}
.stf-ficha .emv-ciu-c{flex:none;background:var(--brand-btn,#F60C76);color:#fff;border-radius:999px;padding:6px 14px;font-size:13px;font-weight:800}

/* Calendario del bloque (clases propias: ficha.js y caribe.js buscan .cal .dd en toda la página) */
.stf-ficha .emv-fechas{display:flex;flex-direction:column;gap:10px}
.stf-ficha .emv-nav{display:flex;align-items:center;justify-content:space-between;gap:12px}
.stf-ficha .emv-fechas-t{font-size:14px;font-weight:700}
.stf-ficha .emv-flechas{display:flex;gap:8px;flex:none}
.stf-ficha .emv-fl{width:36px;height:36px;border-radius:50%;border:0;background:var(--brand-btn,#F60C76);color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.stf-ficha .emv-fl svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.stf-ficha .emv-fl:hover:not(:disabled){filter:brightness(.94)}
.stf-ficha .emv-fl:disabled{background:#FDE3EF;color:#F7A8CB;cursor:default}
.stf-ficha .emv-fl:focus-visible{outline:2px solid var(--brand,#F60C76);outline-offset:2px}
.stf-ficha .emv-meses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.stf-ficha .emv-mes{min-width:0;display:flex;flex-direction:column;gap:8px}
.stf-ficha .emv-mes-n{font-size:16px;font-weight:700;text-align:center}
.stf-ficha .emv-sem,.stf-ficha .emv-rej{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.stf-ficha .emv-sem span{text-align:center;font-size:12px;color:#5B5F66}
.stf-ficha .emv-d{min-height:50px;min-width:0;display:flex;align-items:center;justify-content:center;font-size:14px;color:#A9A49F;border-radius:10px}
.stf-ficha .emv-solo .emv-d{min-height:56px}
.stf-ficha button.emv-d{cursor:pointer;flex-direction:column;gap:1px;padding:2px 0;border:1.5px solid #1E9E6A;background:#F1FBF6;color:#16181D;font:inherit;transition:transform .12s,box-shadow .12s}
.stf-ficha button.emv-d:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(22,24,29,.14)}
.stf-ficha button.emv-d:focus-visible{outline:2px solid #16181D;outline-offset:2px}
.stf-ficha .emv-d-n{font-size:15px;font-weight:700;line-height:1.1}
.stf-ficha .emv-d-p{font-size:11px;font-weight:500;line-height:1.1;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}
.stf-ficha button.emv-d[aria-pressed="true"]{border-color:#16181D;background:#16181D;color:#fff;box-shadow:0 4px 12px rgba(22,24,29,.25)}
.stf-ficha .emv-d-i{display:flex;flex-direction:column;align-items:center;gap:0;max-width:100%;min-width:0}
.stf-ficha .emv-vu .emv-d{min-height:62px}
/* marca «+ vuelo»: que se vea que hay salida y que se sumará el vuelo */
.stf-ficha .emv-d-v{font-size:10px;font-weight:700;line-height:1.1;color:#1E7A55;max-width:100%;text-align:center}
.stf-ficha button.emv-d[aria-pressed="true"] .emv-d-v{color:#fff}
/* últimas plazas: naranja, como el calendario de siempre */
.stf-ficha button.emv-d.emv-d-lp{border:2px solid #F28C28;background:#FFF8F0}
.stf-ficha button.emv-d.emv-d-lp .emv-d-p,.stf-ficha button.emv-d.emv-d-lp .emv-d-v{color:#C96F0A}
.stf-ficha button.emv-d.emv-d-lp[aria-pressed="true"]{border-color:#16181D;background:#16181D}
.stf-ficha button.emv-d.emv-d-lp[aria-pressed="true"] .emv-d-p,.stf-ficha button.emv-d.emv-d-lp[aria-pressed="true"] .emv-d-v{color:#fff}
/* sin vuelo desde esa ciudad: en gris, se puede pulsar y avisa */
.stf-ficha button.emv-d.emv-d-no{border:1.5px dashed #C8CCD4;background:#F6F6F8;color:#9AA0A8;transform:none;box-shadow:none}
.stf-ficha button.emv-d.emv-d-no .emv-d-n{font-weight:500}
.stf-ficha button.emv-d.emv-d-no .emv-d-v{color:#9AA0A8;font-weight:500;white-space:normal}
.stf-ficha button.emv-d.emv-d-no[aria-pressed="true"]{border:1.5px solid #6A707A;background:#E9EAEE;color:#3A3D43}
.stf-ficha button.emv-d.emv-d-no[aria-pressed="true"] .emv-d-v{color:#3A3D43}
/* leyenda */
.stf-ficha .emv-ley{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:#4A4E55}
.stf-ficha .emv-ley span{display:inline-flex;align-items:center;gap:6px}
.stf-ficha .emv-ley i{width:12px;height:12px;border-radius:3px;flex:none;box-sizing:border-box}
.stf-ficha .emv-ley .emv-l-ok{border:1.5px solid #1E9E6A;background:#F1FBF6}
.stf-ficha .emv-ley .emv-l-lp{border:2px solid #F28C28;background:#FFF8F0}
.stf-ficha .emv-ley .emv-l-no{border:1.5px dashed #C8CCD4;background:#F6F6F8}
.stf-ficha .emv-lnk0{margin-left:0;align-self:flex-start}

/* Móvil: con la fecha ya elegida, el calendario se pliega en esta fila */
.stf-ficha .emv-elegida{height:48px;width:100%;border-radius:12px;border:1.5px solid #16181D;background:#16181D;color:#fff;font:inherit;font-size:16px;font-weight:700;text-align:left;padding:0 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer}
.stf-ficha .emv-elegida span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stf-ficha .emv-elegida span:last-child{flex:none;font-size:13px;font-weight:500;text-decoration:underline}
.stf-ficha .emv-elegida:focus-visible{outline:2px solid var(--brand,#F60C76);outline-offset:2px}

.stf-ficha .emv-vacias{margin:0;font-size:14px;line-height:1.45;color:#4A4E55;background:#F6F6F8;border-radius:12px;padding:12px 14px}
.stf-ficha .emv-inv{background:var(--brand-soft,#FFF5FA);border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.45;color:#3A3D43}
.stf-ficha .emv-inv b{font-weight:700}
.stf-ficha .emv-lnk{border:0;background:none;padding:0;margin-left:4px;font:inherit;font-weight:700;color:var(--brand,#F60C76);text-decoration:underline;cursor:pointer}
.stf-ficha .emv-lnk:focus-visible{outline:2px solid var(--brand,#F60C76);outline-offset:2px}

/* Caja «Tu viaje»: mismo formato que la del Caribe (.cx-res / .cx-rs-*) */
.stf-ficha .emv-rf{height:150px;position:relative;display:flex;align-items:flex-end;background:radial-gradient(120% 160% at 100% 0,#FF5FA2 0,rgba(255,95,162,0) 55%),linear-gradient(120deg,#F60C76,#C2187E 60%,#292A69);background-size:cover;background-position:center}
.stf-ficha .emv-rf.emv-rf-foto{background-color:#cfd8dc;background-repeat:no-repeat}
.stf-ficha .emv-rf::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.62))}
.stf-ficha .emv-rf-tags{position:absolute;left:12px;top:12px;right:12px;z-index:1;display:flex;flex-wrap:wrap;gap:6px}
.stf-ficha .emv-rf-tag{background:var(--brand-btn,#F60C76);color:#fff;font-size:12px;font-weight:800;border-radius:999px;padding:5px 11px;line-height:1.2}
.stf-ficha .emv-rf-tag.emv-rf-lp{background:#F28C28}
.stf-ficha .emv-rf-hn{position:relative;z-index:1;padding:12px 14px;color:#fff;display:flex;flex-direction:column;gap:2px;min-width:0}
.stf-ficha .emv-rf-hn b{font-size:17px;line-height:1.2}
.stf-ficha .emv-rf-hn span{font-size:13px;color:rgba(255,255,255,.9)}
.stf-ficha .emv-rf-hn span:empty,.stf-ficha .emv-rf-hn b:empty{display:none}
.stf-ficha .emv-rb{padding:16px 18px 18px;display:flex;flex-direction:column;gap:12px}
.stf-ficha .emv-der-t{font-size:11.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#5B616B}
.stf-ficha .emv-rl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;font-size:14px}
.stf-ficha .emv-rl li{display:flex;gap:10px;align-items:center;min-width:0}
/* Directo primero (Tamara 12/11): «Vuelo directo» / «Con escala» encima del Total */
.stf-ficha .emv-opv{display:flex;flex-direction:column;gap:8px}
.stf-ficha .emv-opv-l{font-size:13px;font-weight:800;color:#16181D}
.stf-ficha .emv-opv-g{display:flex;flex-direction:column;gap:6px}
.stf-ficha .emv-opv-o{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;text-align:left;border:2px solid #E4DFDB;background:#fff;color:#16181D;border-radius:14px;padding:10px 12px;font:inherit;font-size:14px;cursor:pointer;transition:border-color .12s,background .12s}
.stf-ficha .emv-opv-o:hover{border-color:#F7A8CB}
.stf-ficha .emv-opv-o[aria-checked="true"]{border-color:var(--brand,#F60C76);background:var(--brand-soft,#FFF5FA)}
.stf-ficha .emv-opv-o:focus-visible{outline:2px solid #16181D;outline-offset:2px}
.stf-ficha .emv-opv-r{width:18px;height:18px;border-radius:50%;border:2px solid #C8CCD4;box-sizing:border-box}
.stf-ficha .emv-opv-o[aria-checked="true"] .emv-opv-r{border:5px solid var(--brand,#F60C76)}
.stf-ficha .emv-opv-t{font-weight:800;min-width:0}
.stf-ficha .emv-opv-p{font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums;color:#5B616B}
.stf-ficha .emv-opv-o[aria-checked="true"] .emv-opv-p{color:var(--brand,#F60C76)}
.stf-ficha .emv-opv-n{margin:0;font-size:12.5px;line-height:1.45;color:#5B616B}
@media (prefers-reduced-motion:reduce){.stf-ficha .emv-opv-o{transition:none}}
/* Casilla «Tus vuelos» bajo «Sales desde X» (Tamara 12/11) */
.stf-ficha .emv-tv{border:1px solid var(--page-line,#E4E5EA);border-radius:16px;background:#fff;padding:14px 16px;display:flex;flex-direction:column;gap:10px;box-shadow:0 2px 10px rgba(22,24,29,.05);min-width:0}
.stf-ficha .emv-tv-t{display:flex;align-items:center;gap:8px;font-size:16px}
.stf-ficha .emv-tv-t b{font-weight:800}
.stf-ficha .emv-tv-t svg{width:20px;height:20px;flex:none;fill:var(--brand,#F60C76)}
.stf-ficha .emv-tv-f{display:grid;grid-template-columns:112px minmax(0,1fr);gap:4px 14px;padding-top:10px;border-top:1px solid #F0EEF0;font-size:14px;line-height:1.4}
.stf-ficha .emv-tv-h{color:#5B616B}
.stf-ficha .emv-tv-h b{color:#16181D;font-weight:800}
.stf-ficha .emv-tv-d{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;min-width:0}
.stf-ficha .emv-tv-c{font-weight:800;flex-basis:100%}
.stf-ficha .emv-tv-d .emv-esc{font-size:13px;padding:4px 9px}
.stf-ficha .emv-tv-p{margin:0;font-size:12.5px;line-height:1.45;color:#5B616B}
@media (max-width:600px){.stf-ficha .emv-tv-f{grid-template-columns:minmax(0,1fr)}.stf-ficha .emv-tv-d{flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:3px}.stf-ficha .emv-tv-c{flex-basis:auto}}
/* Directo o con escala «indicadísimo» (Tamara 12/11) */
.stf-ficha #emv-r-vuelo{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.stf-ficha .emv-rl li:has(#emv-r-vuelo){align-items:flex-start}
.stf-ficha .emv-escs{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.stf-ficha .emv-esc{display:inline-flex;align-items:flex-start;gap:7px;border:1px solid;border-radius:10px;padding:6px 10px;font-size:13.5px;line-height:1.35;font-weight:600;max-width:100%}
.stf-ficha .emv-esc b{font-weight:800}
.stf-ficha .emv-esc i{font-style:normal;font-weight:800}
.stf-ficha .emv-esc svg,.stf-ficha .emv-rl .emv-esc svg{width:16px;height:16px;flex:none;margin-top:1px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.stf-ficha .emv-esc-d{background:#EAF7F1;border-color:#BFE6D2;color:#0E7A4F}
.stf-ficha .emv-esc-e{background:#FFF1E0;border-color:#F8D9B5;color:#B45309}
.stf-ficha .emv-esc-p{display:inline-block;background:var(--brand-soft,#FFF5FA);border:1px dashed #F7A8CB;border-radius:10px;padding:6px 10px;font-size:13px;line-height:1.35;font-weight:700;color:#16181D}
.stf-ficha .emv-rl svg{width:18px;height:18px;flex:none;fill:none;stroke:var(--brand,#F60C76);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.stf-ficha .emv-res{display:flex;flex-direction:column;gap:12px}
.stf-ficha .emv-res:focus{outline:none}
.stf-ficha .emv-rs-p{background:#FFF0F7;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:6px}
.stf-ficha .emv-rs-t{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.stf-ficha .emv-rs-t span{font-weight:700;color:#5B616B}
.stf-ficha .emv-rs-tot{font-size:30px;font-weight:800;letter-spacing:-.02em;color:#16181D;font-variant-numeric:tabular-nums;white-space:nowrap}
.stf-ficha .emv-rs-pp{font-size:13px;line-height:1.45;color:#5B616B}
.stf-ficha .emv-rs-calc{display:inline-block;width:110px;height:30px;border-radius:8px;background:#FBD2E3;vertical-align:middle;animation:emvLate 1.2s ease-in-out infinite}
.stf-ficha .emv-des{border-top:1px solid #FBD2E3;padding-top:8px;margin-top:2px;display:flex;flex-direction:column;gap:4px;font-size:13.5px;color:#3A3D43}
.stf-ficha .emv-des div{display:flex;justify-content:space-between;gap:12px}
.stf-ficha .emv-des b{font-variant-numeric:tabular-nums;white-space:nowrap;color:#16181D}
.stf-ficha .emv-rs-sp{display:block;font-size:13px;line-height:1.7;color:#16181D}
.stf-ficha .emv-scal{margin-right:4px;vertical-align:1px;display:inline-flex;align-items:center;gap:4px;background:#FFDCEB;border-radius:999px;padding:3px 9px;font-weight:800;font-size:12px;color:#16181D}
/* más de 4.000 €: tarjeta rosa clarito, como en el pago */
.stf-ficha .emv-tope{background:var(--brand-soft,#FFF5FA);border:1px solid #FBD2E3;border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:4px;font-size:14px;line-height:1.45;color:#3A3D43}
.stf-ficha .emv-tope b{color:var(--brand,#F60C76);font-size:15px}
.stf-ficha .emv-nota{margin:0;font-size:13px;line-height:1.45;color:#5B5F66}
.stf-ficha .emv-info{margin:0;padding:0;list-style:none;display:grid;gap:6px;font-size:13.5px;line-height:1.4;color:#16181D}
.stf-ficha .emv-info li{position:relative;padding-left:20px}
.stf-ficha .emv-info li::before{content:"✓";position:absolute;left:0;top:0;color:#1E8E5A;font-weight:800}
.stf-ficha .emv-nota a{color:var(--brand,#F60C76);font-weight:700}
.stf-ficha .emv-btn{display:block;width:100%;border:0;border-radius:999px;background:var(--brand-btn,#F60C76);color:#fff;font:inherit;font-size:16px;font-weight:800;padding:14px;cursor:pointer}
.stf-ficha .emv-rs-ok{display:flex;gap:8px;align-items:flex-start;margin:0;font-size:12.5px;line-height:1.45;color:#5B616B}
.stf-ficha .emv-rs-ok svg{width:18px;height:18px;flex:none;fill:none;stroke:var(--brand,#F60C76);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* Caja compacta mientras no hay fecha (Tamara 12/11: sin hueco blanco antes del itinerario).
   Estados vacíos = los que llevan el botón «falta» o «destino»: foto más baja, sin la fila grande «Total —» ni la línea de confianza.
   Sin soporte de :has() se ve la caja completa de siempre. */
.stf-ficha .emv-der:has(.emv-res [data-emv-ir="falta"]) .emv-rf,.stf-ficha .emv-der:has(.emv-res [data-emv-ir="destino"]) .emv-rf{height:84px}
.stf-ficha .emv-der:has(.emv-res [data-emv-ir="falta"]) .emv-rf-hn,.stf-ficha .emv-der:has(.emv-res [data-emv-ir="destino"]) .emv-rf-hn{padding:8px 14px}
.stf-ficha .emv-der:has(.emv-res [data-emv-ir="falta"]) .emv-rf-hn b,.stf-ficha .emv-der:has(.emv-res [data-emv-ir="destino"]) .emv-rf-hn b{font-size:15px}
.stf-ficha .emv-der:has(.emv-res [data-emv-ir="falta"]) .emv-rb,.stf-ficha .emv-der:has(.emv-res [data-emv-ir="destino"]) .emv-rb{padding:12px 16px 14px;gap:9px}
.stf-ficha .emv-der:has(.emv-res [data-emv-ir="falta"]) .emv-rl,.stf-ficha .emv-der:has(.emv-res [data-emv-ir="destino"]) .emv-rl{gap:6px;font-size:13.5px}
.stf-ficha .emv-res:has([data-emv-ir="falta"]),.stf-ficha .emv-res:has([data-emv-ir="destino"]){gap:9px}
.stf-ficha .emv-res:has([data-emv-ir="falta"]) .emv-rs-p,.stf-ficha .emv-res:has([data-emv-ir="destino"]) .emv-rs-p{background:none;padding:0}
.stf-ficha .emv-res:has([data-emv-ir="falta"]) .emv-rs-t,.stf-ficha .emv-res:has([data-emv-ir="destino"]) .emv-rs-t,
.stf-ficha .emv-res:has([data-emv-ir="falta"]) .emv-rs-ok{display:none}
.stf-ficha .emv-res:has([data-emv-ir="falta"]) .emv-btn,.stf-ficha .emv-res:has([data-emv-ir="destino"]) .emv-btn{padding:11px}
.stf-ficha .emv-btn:hover{filter:brightness(.94)}
.stf-ficha .emv-btn:focus-visible{outline:2px solid #16181D;outline-offset:3px}
.stf-ficha .emv-btn2{height:46px;width:100%;border:2px solid var(--brand,#F60C76);border-radius:999px;background:#fff;color:var(--brand,#F60C76);font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.stf-ficha .emv-btn2:focus-visible{outline:2px solid #16181D;outline-offset:3px}
/* error: ese día no sale */
.stf-ficha .emv-err{display:flex;flex-direction:column;gap:6px;background:#FFF8F0;border:1px solid #F8D9B5;border-radius:14px;padding:14px}
.stf-ficha .emv-err b{font-size:16px;line-height:1.3}
.stf-ficha .emv-err p{margin:0;font-size:14px;line-height:1.45;color:#4A4E55}

@keyframes emvLate{0%,100%{opacity:1}50%{opacity:.55}}

@media (max-width:900px){
  .stf-ficha .emv{gap:16px}
  .stf-ficha .emv-cab h2{font-size:26px}
  .stf-ficha .emv-kick{font-size:13px}
  .stf-ficha .emv-cols{grid-template-columns:minmax(0,1fr);gap:16px}
  .stf-ficha .emv-izq{padding:18px;border-radius:18px;gap:14px}
  .stf-ficha .emv-der{position:static;border-radius:18px}
  .stf-ficha .emv-rf{height:130px}
  .stf-ficha .emv-rb{padding:14px 16px 16px}
  .stf-ficha .emv-ciu-b{width:100%}
  .stf-ficha .emv-ciu-t{flex:1}
  .stf-ficha .emv-preg h3{font-size:18px}
  .stf-ficha .emv-ops{flex-direction:column}
  .stf-ficha .emv-op{flex:none;padding:14px;gap:4px}
  .stf-ficha .emv-op-t{font-size:16px}
  .stf-ficha .emv-meses{grid-template-columns:minmax(0,1fr)}
  .stf-ficha .emv-d{min-height:44px;font-size:13px;border-radius:8px}
  .stf-ficha .emv-solo .emv-d{min-height:52px}
  .stf-ficha .emv-d-n{font-size:14px}
  .stf-ficha .emv-d-p{font-size:10px}
  .stf-ficha .emv-vu .emv-d{min-height:58px}
  .stf-ficha .emv-d-v{font-size:9px}
}
@media (max-width:400px){
  .stf-ficha .emv-izq{padding:14px}
  .stf-ficha .emv-rb{padding:14px}
  .stf-ficha .emv-sem,.stf-ficha .emv-rej{gap:3px}
  .stf-ficha .emv-d-p{font-size:9.5px;letter-spacing:-.02em}
  .stf-ficha .emv-d-v{font-size:8.5px}
}

/* Bloqueo del scroll mientras sale el pop-up */
html.emv-bloqueo,html.emv-bloqueo body{overflow:hidden}

/* Pop-up de espera (en el <body>): mismo diseño que «Preparando tu reserva» del Caribe */
.emv-pop{position:fixed;inset:0;z-index:2147483600;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(10,10,14,.65);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);font-family:"DM Sans",ui-sans-serif,system-ui,sans-serif;box-sizing:border-box}
.emv-pop[hidden]{display:none}
.emv-pop *{box-sizing:border-box}
.emv-pop-c{position:relative;overflow:hidden;background:#fff;color:#16181D;border-radius:24px;padding:34px 28px 26px;max-width:440px;width:100%;text-align:center;display:grid;gap:10px;justify-items:center;box-shadow:0 30px 80px rgba(22,24,29,.35)}
.emv-pop-c:focus{outline:none}
.emv-pop-fondo{position:absolute;inset:0 0 auto 0;height:120px;background:radial-gradient(120% 160% at 100% 0,#FF5FA2 0,rgba(255,95,162,0) 55%),linear-gradient(120deg,#F60C76,#C2187E 60%,#292A69)}
.emv-pop-av{position:relative;width:84px;height:84px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 10px 30px rgba(246,12,118,.3);margin-top:20px}
.emv-pop-av svg{width:42px;height:42px;fill:#F60C76;animation:emvVuela 1.6s ease-in-out infinite}
.emv-pop-k{position:relative;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#F60C76;margin-top:4px}
.emv-pop-t{position:relative;font-size:24px;font-weight:800;line-height:1.2}
.emv-pop-t span{color:#F60C76}
.emv-pop-m{position:relative;margin:0;font-size:17px;font-weight:700;min-height:46px;max-width:30ch}
.emv-pop-s{position:relative;margin:0;font-size:14px;line-height:1.5;color:#6A707A;max-width:34ch}
.emv-pop-b{position:relative;width:100%;max-width:260px;height:6px;border-radius:6px;background:#FFE3EF;overflow:hidden;margin:6px 0 2px}
.emv-pop-b i{display:block;height:100%;width:40%;border-radius:6px;background:linear-gradient(90deg,#F60C76,#FF5FA2);animation:emvBarra 1.3s ease-in-out infinite}
@keyframes emvVuela{0%,100%{transform:translate(-3px,3px) rotate(40deg)}50%{transform:translate(3px,-3px) rotate(40deg)}}
@keyframes emvBarra{0%{transform:translateX(-100%)}100%{transform:translateX(260%)}}
/* «Cancelar» discreto a partir de los 20 s */
.emv-pop-x{position:relative;margin-top:4px;border:0;background:none;padding:6px 10px;font:inherit;font-size:13px;color:#6A707A;text-decoration:underline;cursor:pointer}
.emv-pop-x[hidden]{display:none}
.emv-pop-x:focus-visible{outline:2px solid #F60C76;outline-offset:2px;border-radius:6px}
/* Aviso al pulsar «Con vuelo incluido» */
.emv-pop{overflow-y:auto;overscroll-behavior:contain}
.emv-avi-c{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;position:relative;background:#fff;color:#16181D;border-radius:24px;padding:24px 24px 22px;max-width:400px;width:100%;text-align:center;display:grid;gap:10px;justify-items:center;box-shadow:0 30px 80px rgba(22,24,29,.35)}
.emv-avi-fondo{height:84px}
.emv-avi-av{width:64px;height:64px;margin-top:14px}
.emv-avi-av svg{width:32px;height:32px}
.emv-avi-x{position:absolute;top:10px;right:10px;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.92);display:grid;place-items:center;cursor:pointer;padding:0;z-index:1}
.emv-avi-x svg{width:18px;height:18px;fill:none;stroke:#16181D;stroke-width:2.4;stroke-linecap:round}
.emv-avi-x:focus-visible{outline:2px solid #16181D;outline-offset:2px}
.emv-avi-t{position:relative;font-size:20px;font-weight:800;line-height:1.25;max-width:26ch}
.emv-avi-t span{color:#F60C76}
.emv-avi-s{position:relative;margin:0;font-size:14px;line-height:1.5;color:#6A707A;max-width:36ch}
.emv-avi-ciu{position:relative;width:100%;display:flex;flex-direction:column;gap:6px;text-align:left;margin-top:4px}
.emv-avi-ciu[hidden]{display:none}
.emv-avi-l{font-size:14px;font-weight:800}
/* Pastillas de ciudades (sin <select> nativo; Tamara 12/11) */
/* Todas las ciudades de golpe, sin scroll dentro (Tamara 12/11, 2.ª vez): grupos por zonas y rejilla de pastillas iguales */
.emv-chips{display:flex;flex-direction:column;gap:10px}
.emv-zona{display:flex;flex-direction:column;gap:5px}
.emv-zona-t{font-size:11.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#5B616B}
.emv-zona-r{display:grid;grid-template-columns:repeat(auto-fill,minmax(136px,1fr));gap:6px}
.emv-chip{touch-action:manipulation;border:1.5px solid #E4DFDB;background:#fff;color:#16181D;border-radius:999px;padding:6px 6px;font:inherit;font-size:14px;font-weight:600;line-height:1.2;text-align:center;cursor:pointer;min-width:0;transition:border-color .12s,background .12s,color .12s,transform .12s}
.emv-chip:hover{border-color:#F7A8CB;background:#FFF5FA}
.emv-chip[aria-checked="true"]{border-color:#F60C76;background:#F60C76;color:#fff;box-shadow:0 4px 12px rgba(246,12,118,.28)}
.emv-chip[aria-checked="true"]::before{content:"✓ ";font-weight:800}
.emv-chip:focus-visible{outline:2px solid #16181D;outline-offset:2px}
.emv-avi-err{font-size:13px;font-weight:700;color:#C2187E;min-height:0}
.emv-avi-ok{position:relative;height:50px;width:100%;border:0;border-radius:14px;background:#F60C76;color:#fff;font:inherit;font-size:17px;font-weight:700;cursor:pointer;margin-top:4px}
.emv-avi-ok:hover{filter:brightness(.94)}
.emv-avi-ok:focus-visible{outline:2px solid #16181D;outline-offset:3px}
/* Pop-up con ciudades (.emv-avi-pide): ancho, cabecera de 56 px con el avión en la franja, sin párrafo; si no cabe, scroll del velo */
.emv-avi{align-items:flex-start}
.emv-avi .emv-avi-c{margin:auto}
.emv-avi.emv-avi-pide .emv-avi-c{max-width:820px;max-height:none;overflow:visible;padding:0 28px 18px;gap:10px}
.emv-avi-pide .emv-avi-fondo{height:56px;border-radius:24px 24px 0 0}
.emv-avi-pide .emv-avi-av{width:48px;height:48px;margin-top:32px;box-shadow:0 6px 18px rgba(246,12,118,.28)}
.emv-avi-pide .emv-avi-av svg{width:24px;height:24px}
.emv-avi-pide .emv-avi-t{font-size:19px;max-width:none}
.emv-avi-pide .emv-avi-s{display:none}
.emv-avi-pide .emv-avi-ciu{margin-top:2px}
.emv-avi-pide .emv-avi-ok{max-width:420px;justify-self:center}
@media (max-width:600px){
  .emv-avi.emv-avi-pide{padding:0}
  .emv-avi.emv-avi-pide .emv-avi-c{border-radius:0;min-height:100%;margin:0;padding:0 16px 0;display:flex;flex-direction:column;align-items:center}
  .emv-avi-pide .emv-avi-fondo{position:absolute}
  .emv-avi-pide .emv-avi-ciu{flex:none}
  .emv-avi-pide .emv-avi-fondo{border-radius:0}
  .emv-avi-pide .emv-avi-t{font-size:18px}
  .emv-avi-pide .emv-zona-r{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))}
  .emv-avi-pide .emv-chip{border-radius:12px;padding:8px 6px}
  /* Botón justo debajo de las ciudades; si no caben, flota a la vista pero por ENCIMA de la barra flotante de Safari (iPhone de Tamara 13/11: con bottom:0 la barra se comía el toque) */
  .emv-avi-pide .emv-avi-ok{position:sticky;bottom:calc(84px + env(safe-area-inset-bottom));max-width:none;margin:14px 0 calc(96px + env(safe-area-inset-bottom));flex:none;width:100%;height:auto;min-height:56px;border-radius:14px;padding:14px 16px;box-shadow:0 8px 20px rgba(246,12,118,.3);z-index:1}
}
@media (max-width:900px){.emv-pop-c{padding:34px 24px 26px}.emv-pop-t{font-size:23px}.emv-pop-m{max-width:28ch}.emv-pop-s{max-width:32ch}}
@media (prefers-reduced-motion:reduce){.emv-pop-av svg,.emv-pop-b i,.stf-ficha .emv-rs-calc{animation:none}.emv-chip{transition:none}.stf-ficha button.emv-d{transition:none}.stf-ficha button.emv-d:hover{transform:none}}
/* Móvil: la ficha ordena sus secciones con «order» (ficha-movil.css:284, #salidas = 6). Sin esto #emv cogía el order 20 de .wrap > * (ficha-movil.css:18) y se iba al final, tras relacionados (iPhone de Tamara, 13/11): va justo antes de #salidas */
@media (max-width:900px){.stf-ficha-body #emv{order:6}}
/* Opciones «Con vuelo / Solo el circuito» en móvil con icono y etiqueta (Tamara 13/11: «queda un poco soso») */
@media (max-width:900px){
  .stf-ficha .emv-op{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:12px;row-gap:4px;align-items:start;padding:14px;box-shadow:0 4px 14px rgba(22,24,29,.06)}
  .stf-ficha .emv-op::before{content:"";grid-column:1;grid-row:1 / span 3;width:44px;height:44px;border-radius:50%;background:#FFE3EF center / 24px 24px no-repeat}
  .stf-ficha .emv-op[data-emv-modo="vuelo"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F60C76' d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E")}
  .stf-ficha .emv-op[data-emv-modo="solo"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F60C76' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E")}
  .stf-ficha .emv-op[data-emv-modo="solo"]::before{grid-row:1 / span 2}
  .stf-ficha .emv-op > span{grid-column:2}
  .stf-ficha .emv-op-b{display:inline-block;order:-1;justify-self:start;font-size:12px;padding:2px 9px}
  .stf-ficha .emv-op[aria-pressed="true"]::before{background-color:#F60C76}
  .stf-ficha .emv-op[aria-pressed="true"][data-emv-modo="vuelo"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E")}
  .stf-ficha .emv-op[aria-pressed="true"][data-emv-modo="solo"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E")}
}
/* Viajeros con vuelo (Tamara 18/11, fase A: solo adultos): pastilla «Viajan…» junto a la ciudad y su ventana de habitaciones */
.stf-ficha .emv-ciu{flex-wrap:wrap;gap:10px}
.stf-ficha .emv-viaj-b[hidden]{display:none}
.emv-vj{position:relative;width:100%;display:flex;flex-direction:column;gap:10px;text-align:left;margin-top:4px}
.emv-vj-h{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;border:1.5px solid #E4DFDB;border-radius:16px;padding:10px 12px;background:#fff}
.emv-vj-t{font-weight:800;font-size:14px;min-width:0}
.emv-vj-t small{display:block;font-weight:500;font-size:12px;color:#6A707A}
.emv-vj-c{display:inline-flex;align-items:center;gap:10px}
.emv-vj-c button{width:40px;height:40px;border-radius:50%;border:1.5px solid #E4DFDB;background:#fff;color:#16181D;font:inherit;font-size:22px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0;touch-action:manipulation}
.emv-vj-c button:hover:not(:disabled){border-color:#F7A8CB;background:#FFF5FA}
.emv-vj-c button:disabled{opacity:.35;cursor:default}
.emv-vj-c button:focus-visible{outline:2px solid #16181D;outline-offset:2px}
.emv-vj-c b{min-width:1.4em;text-align:center;font-variant-numeric:tabular-nums;font-size:16px}
.emv-vj-q{grid-column:1 / -1;justify-self:start;border:0;background:none;color:#6A707A;font:inherit;font-size:12.5px;text-decoration:underline;cursor:pointer;padding:2px 0}
.emv-vj-add{position:relative;border:1.5px dashed #F7A8CB;background:#FFF5FA;color:#C2187E;border-radius:14px;padding:11px 14px;font:inherit;font-size:14px;font-weight:700;cursor:pointer;width:100%}
.emv-vj-add[hidden]{display:none}
.emv-vj-add:focus-visible{outline:2px solid #16181D;outline-offset:2px}
.emv-vj-n{position:relative;margin:0;font-size:12.5px;line-height:1.45;color:#6A707A;text-align:left;width:100%}
@media (max-width:600px){.stf-ficha .emv-viaj-b{width:100%}.stf-ficha .emv-viaj-b .emv-ciu-t{white-space:normal}}.emv-viaj .emv-avi-av svg{fill:none;stroke:#F60C76;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;animation:none}
.emv-vj-k{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;border-top:1px dashed #E4DFDB;padding-top:8px;font-size:14px}
.emv-vj-k label{display:inline-flex;align-items:center;gap:8px;font-weight:700}
.emv-vj-k select{font:inherit;font-size:16px;font-weight:600;border:1.5px solid #E4DFDB;border-radius:10px;padding:6px 8px;background:#fff;color:#16181D;min-height:40px}
.emv-vj-k select:focus-visible{outline:2px solid #16181D;outline-offset:2px}
.emv-vj-kb{border:1.5px dashed #F7A8CB;background:#FFF5FA;color:#C2187E;border-radius:12px;padding:9px 12px;font:inherit;font-size:13.5px;font-weight:700;cursor:pointer;width:100%}
.emv-vj-kb:focus-visible{outline:2px solid #16181D;outline-offset:2px}
.emv-vj-k .emv-vj-q{grid-column:auto;justify-self:auto}
