/* Home rediseñada. Solo se carga cuando la bandera está encendida. */

.hv2 {
  --hv2-naranja: #ff7300;
  --hv2-naranja-h: #ff8419;
  --hv2-negro: #111;
  --hv2-texto: #1f2933;
  --hv2-texto2: #52606d;
  --hv2-borde: #e6e9ec;
  font-family: 'Open Sans', system-ui, sans-serif;
  color: var(--hv2-texto);
}
.hv2 *, .hv2 *::before, .hv2 *::after { box-sizing: border-box; }
.hv2 img { max-width: 100%; display: block; }
.hv2 a { text-decoration: none; }
.hv2-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- antetítulo + titular ---------- */
.hv2-eyebrow { display: block; text-align: center; font: 700 11.5px/1 'Open Sans', sans-serif;
  letter-spacing: .11em; text-transform: uppercase; color: var(--hv2-naranja); margin-bottom: 9px; }
.hv2 h2.hv2-tit { text-align: center; font: 700 30px/1.2 'Poppins', sans-serif; margin: 0 0 6px; color: var(--hv2-texto); }
.hv2-sub { text-align: center; color: var(--hv2-texto2); margin: 0 0 26px; font-size: 15.5px; }
.hv2-sec { padding: 46px 0 8px; }

/* ---------- buscador ---------- */
.hv2-busca { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 0 24px; }
.hv2-libre { display: flex; align-items: center; width: min(720px, 100%); background: #fff;
  border-radius: 999px; padding: 7px 7px 7px 26px; box-shadow: 0 14px 36px rgba(0,0,0,.32); }
.hv2-libre input { flex: 1; border: 0; outline: none; font-size: 16.5px; color: var(--hv2-texto);
  padding: 13px 0; background: transparent; font-family: inherit; }
.hv2-libre input::placeholder { color: #9aa5b1; }
.hv2-libre button { background: var(--hv2-naranja); color: #fff; border: 0; border-radius: 999px;
  padding: 13px 30px; font: 700 15px/1 'Open Sans', sans-serif; display: flex; align-items: center;
  gap: 9px; white-space: nowrap; cursor: pointer; }
.hv2-libre button:hover { background: var(--hv2-naranja-h); }
.hv2-fams { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 18px; }
.hv2-fam { color: rgba(255,255,255,.86); font-size: 14px; font-weight: 600; padding-bottom: 5px;
  text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.hv2-fam.on, .hv2-fam:hover { color: #fff; box-shadow: inset 0 -2px 0 #fff; }

/* ---------- «Madrid puede ser dos cosas» ---------- */
/* Va dentro del desplegable del autocompletar, que lo pinta search-form.js: por eso no cuelga
   de .hv2 y las reglas llevan el color a mano en vez de las variables. */
.kv-dos { padding: 12px 10px 4px; border-bottom: 1px solid #eef1f4; margin-bottom: 6px; }
.kv-dos__cab { display: flex; align-items: baseline; justify-content: space-between; padding: 0 6px 8px; }
.kv-dos__cab span { font: 700 11.5px/1 'Open Sans', sans-serif; letter-spacing: .11em;
  text-transform: uppercase; color: #ff7300; }
.kv-dos__cab small { font-size: 12px; color: #8a97a3; }
.kv-dos__op { display: flex; align-items: center; gap: 13px; padding: 12px 10px; border-radius: 11px;
  border: 1px solid #eef1f4; background: #fff; margin-bottom: 8px; text-decoration: none; }
.kv-dos__op.es-salida { background: #fff4ec; border-color: #ffd6b3; }
.kv-dos__op:hover { border-color: #ff7300; }
.kv-dos__ico { flex: none; width: 36px; height: 36px; border-radius: 999px; display: grid;
  place-items: center; font-size: 13px; background: #f2f4f6; color: #52606d; }
.kv-dos__op.es-salida .kv-dos__ico { background: #ff7300; color: #fff; }
.kv-dos__txt { flex: 1; min-width: 0; }
.kv-dos__txt b { display: block; font: 700 14.5px/1.3 'Open Sans', sans-serif; color: #1f2933; }
.kv-dos__txt span { font-size: 12.5px; color: #52606d; }
.kv-dos__ir { flex: none; font-size: 11px; color: #c6cdd3; }
.kv-dos__op.es-salida .kv-dos__ir { color: #ff9c4d; }

/* ---------- chips de filtro ---------- */
.hv2-chips { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 9px;
  padding: 16px 20px 0; }
.hv2-chip { border: 1px solid var(--hv2-borde); color: var(--hv2-texto2); background: #fff;
  border-radius: 999px; padding: 9px 17px; font-size: 13px; font-weight: 600; display: flex;
  align-items: center; gap: 8px; cursor: pointer; }
.hv2-chip:hover { border-color: var(--hv2-naranja); color: var(--hv2-naranja); }
.hv2-chip i { font-size: 10px; opacity: .55; }
.hv2-chip--fecha { border-color: #ffd9b8; background: #fff8f2; color: #c25400; }
.hv2-cuenta { text-align: center; padding: 24px 0 0; margin: 0;
  font: 400 14.5px/1 'Open Sans', sans-serif; color: var(--hv2-texto2); }
.hv2-cuenta b { font-weight: 700; color: #1f2933; }

/* ---------- H1 y confianza ---------- */
.hv2-h1 { text-align: center; margin: 30px 0 6px; font: 700 34px/1.2 'Poppins', sans-serif; }
.hv2-h1 + p { text-align: center; color: var(--hv2-texto2); margin: 0 0 30px; font-size: 16.5px; }
.hv2-confianza { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: 12px; }
.hv2-card { border: 1px solid var(--hv2-borde); border-radius: 14px; padding: 22px 20px; background: #fff; }
.hv2-card .ico { width: 46px; height: 46px; border-radius: 12px; background: #fff4ec;
  color: var(--hv2-naranja); display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.hv2-card b { display: block; font: 700 16px/1.3 'Poppins', sans-serif; margin-bottom: 4px; white-space: nowrap; }
.hv2-card span { font-size: 13.5px; color: var(--hv2-texto2); line-height: 1.5; }

/* ---------- tarjetas de circuito ---------- */
/* --cols lo pasa la vista: una fila de dos tarjetas en una rejilla de cuatro deja medio hueco */
.hv2-circuitos { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 18px; }
.hv2-circ { border: 1px solid var(--hv2-borde); border-radius: 14px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column; }
.hv2-circ .foto { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #eef1f3; }
.hv2-circ .foto img { width: 100%; height: 100%; object-fit: cover; }
.hv2-cinta { position: absolute; right: 0; bottom: 12px; background: var(--hv2-naranja); color: #fff;
  padding: 7px 14px 7px 16px; border-radius: 6px 0 0 6px; font: 700 17px/1 'Poppins', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.hv2-cinta small { display: block; font: 400 10px/1 'Open Sans', sans-serif; opacity: .9;
  margin-bottom: 3px; letter-spacing: .05em; }
.hv2-circ .txt { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hv2-circ .txt b { font: 700 15px/1.35 'Poppins', sans-serif; color: var(--hv2-texto); }
.hv2-circ .meta { font-size: 12.5px; color: var(--hv2-texto2); }
.hv2-circ .sal { font-size: 12px; color: #8a97a3; margin-top: auto; }

/* ---------- mosaico de destinos ---------- */
/* --cols lo fija la vista con las tarjetas que haya: las ventanas de temporada son tres y en una
   rejilla fija de cuatro dejaban un hueco a la derecha. */
.hv2-destinos { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 16px; }
.hv2-dest { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; display: block; }
.hv2-dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hv2-dest:hover img { transform: scale(1.05); }
.hv2-dest::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 35%, rgba(0,0,0,.72)); }
.hv2-dest .info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px; color: #fff; }
.hv2-dest .info b { display: block; font: 700 20px/1.1 'Poppins', sans-serif; margin-bottom: 4px; }
.hv2-dest .info span { font-size: 12.5px; opacity: .95; }
.hv2-dest .info em { font-style: normal; font-weight: 700; color: #ffb066; }

/* ---------- botón ver todos ---------- */
.hv2-ver { display: block; width: max-content; margin: 28px auto 0; border: 1px solid var(--hv2-naranja);
  color: var(--hv2-naranja); border-radius: 999px; padding: 11px 28px; font-size: 14px; font-weight: 700; }
.hv2-ver:hover { background: var(--hv2-naranja); color: #fff; }

/* ---------- mayores 55 ---------- */
.hv2-m55 { background: #fff7f0; padding: 46px 0; margin: 46px 0 0; }
.hv2-m55 .hv2-sec { margin-top: 0; }
.hv2-m55-nota { color: var(--hv2-texto2); line-height: 1.7; font-size: 15.5px;
  text-align: center; max-width: 720px; margin: 26px auto 0; }
.hv2-m55-enlaces { display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 24px; margin-top: 14px; }
.hv2-m55-enlaces .hv2-ver { margin: 0; }
.hv2-m55-enlaces a:not(.hv2-ver) { font-size: 14px; font-weight: 600; color: var(--hv2-texto2);
  border-bottom: 1px solid #e7d8c8; }
.hv2-m55-enlaces a:not(.hv2-ver):hover { color: var(--hv2-naranja); border-color: var(--hv2-naranja); }

/* ---------- opiniones ---------- */
.hv2-opis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hv2-opi { border: 1px solid var(--hv2-borde); border-radius: 14px; padding: 22px; background: #fff;
  display: flex; flex-direction: column; gap: 12px; }
.hv2-estrellas { color: #f5a623; font-size: 14px; letter-spacing: 2px; }
.hv2-opi p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.hv2-quien { display: flex; align-items: center; gap: 11px; margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--hv2-borde); }
.hv2-ini { width: 38px; height: 38px; border-radius: 50%; background: #fff4ec; color: var(--hv2-naranja);
  display: grid; place-items: center; font: 700 15px/1 'Poppins', sans-serif; flex: none; }
.hv2-quien b { display: block; font: 700 14px/1.2 'Poppins', sans-serif; }
.hv2-quien small { font-size: 12px; color: #8a97a3; }

/* ---------- blog ---------- */
.hv2-blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hv2-post { border: 1px solid var(--hv2-borde); border-radius: 14px; overflow: hidden; background: #fff; }
.hv2-post img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.hv2-post b { display: block; padding: 14px 16px 16px; font: 700 15px/1.35 'Poppins', sans-serif;
  color: var(--hv2-texto); }

/* ---------- por qué kerala ---------- */
.hv2-porque { position: relative; padding: 60px 0 64px; background: var(--hv2-negro); margin-top: 46px; }
/* El <img> va dentro de un <picture>, asi que su padre NO es la seccion: con `> img` la regla no
   seleccionaba nada y la foto se pintaba como una banda suelta arriba en vez de como fondo. */
.hv2-porque picture { position: absolute; inset: 0; display: block; }
.hv2-porque picture img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.hv2-porque .hv2-wrap { position: relative; z-index: 2; }
.hv2-porque .hv2-eyebrow { color: #ffb066; }
/* Sobre fondo negro el titular va en blanco. Hace falta repetir las dos clases porque
   `.hv2 h2.hv2-tit` pesa mas que `.hv2-porque h2` y lo dejaba gris oscuro sobre negro. */
.hv2 .hv2-porque h2.hv2-tit { color: #fff; }
.hv2-porque .sub { text-align: center; color: rgba(255,255,255,.88); font-size: 15.5px;
  max-width: 720px; margin: 0 auto 36px; line-height: 1.7; }
.hv2-cuatro { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.hv2-cuatro b { display: block; font: 700 40px/1 'Poppins', sans-serif; color: #fff; margin-bottom: 8px; }
.hv2-cuatro b em { font-style: normal; color: var(--hv2-naranja); }
.hv2-cuatro span { font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.45; display: block; }
.hv2-acciones { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.hv2-btn { display: flex; align-items: center; gap: 9px; border-radius: 999px; padding: 11px 22px;
  font-size: 14px; font-weight: 700; }
.hv2-btn--nar { background: var(--hv2-naranja); color: #fff; }
.hv2-btn--linea { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
/* WhatsApp en su verde: sobre fondo negro se reconoce antes por el color que por el icono. */
.hv2-btn--wa { background: #25d366; color: #0b2b16; font-weight: 700; }
.hv2-btn--wa:hover { background: #1fbb59; color: #06210f; }

/* ---------- texto seo ---------- */
.hv2-seo { background: #f7f8f9; padding: 52px 0 56px; }
.hv2-seo .cols { column-count: 2; column-gap: 46px; }
.hv2-seo h3 { font: 700 16px/1.3 'Poppins', sans-serif; margin: 0 0 8px; break-after: avoid; }
.hv2-seo p { font-size: 15px; line-height: 1.7; color: var(--hv2-texto2); margin: 0 0 20px; }

/* ---------- preguntas frecuentes ---------- */
.hv2-faq { padding: 52px 0 56px; }
.hv2-faq .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
.hv2-faq details { border-bottom: 1px solid var(--hv2-borde); padding: 16px 0; }
.hv2-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  cursor: pointer; list-style: none; }
.hv2-faq summary::-webkit-details-marker { display: none; }
.hv2-faq summary h3 { font: 700 16px/1.4 'Poppins', sans-serif; margin: 0; }
.hv2-faq summary i { color: var(--hv2-naranja); font-size: 12px; transition: transform .18s ease; flex: none; }
.hv2-faq details[open] summary i { transform: rotate(180deg); }
.hv2-faq details p { margin: 10px 0 0; font-size: 15px; line-height: 1.7; color: var(--hv2-texto2); }
.hv2-faq .pie { text-align: center; margin-top: 30px; font-size: 14.5px; color: var(--hv2-texto2); }

/* ---------- móvil ---------- */
@media (max-width: 991px) {
  .hv2-confianza, .hv2-circuitos, .hv2-destinos, .hv2-opis, .hv2-blog { grid-template-columns: 1fr 1fr; }
  .hv2-cuatro { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hv2-faq .cols { grid-template-columns: 1fr; }
  .hv2-seo .cols { column-count: 1; }
}
@media (max-width: 640px) {
  .hv2-confianza, .hv2-opis, .hv2-blog { grid-template-columns: 1fr; }
  .hv2 h2.hv2-tit { font-size: 24px; }
  .hv2-h1 { font-size: 26px; }
  .hv2-card b { white-space: normal; }
  /* carrusel horizontal con snap, sin librería */
  .hv2-circuitos, .hv2-destinos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .hv2-circuitos > *, .hv2-destinos > * { flex: 0 0 82%; scroll-snap-align: start; }
  .hv2-libre { padding-left: 18px; }
  .hv2-libre button { padding: 13px 20px; }
  .hv2-libre button span { display: none; }
}

/* ---------- el buscador, debajo del hero y montado sobre su borde ---------- */
/* ===========================================================================================
   EL HERO, CON LOS VALORES DEL DISEÑO (artboard «5a escritorio completa»)
   El buscador va DENTRO de la foto, en la misma columna centrada que el badge y el titular.
   Todo va acotado a `.hv2` para no tocar el hero de campaña en las demás páginas.
   =========================================================================================== */

/* 430 px, no 450 ni 560 */
.hv2 .promo-hero { aspect-ratio: auto; height: 430px; }

/* Un solo velo oscuro. El degradado blanco del pie era lo que se comía el tercio de abajo de la
   foto; vive en promo-hero.css y lo usan otras paginas, asi que aqui solo se sobrescribe. */
.hv2 .promo-hero__overlay {
    background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.52));
}

/* El CTA del banner ya NO se oculta con CSS: se apaga vaciando `cta_text` en Gestion > Web >
   Banners, que es donde vive de verdad (Antonio, 17-09). Asi no reaparece en otras plantillas ni
   queda una regla escondida contradiciendo al editor.

   Efecto secundario de vaciarlo: sin CTA, el partial pinta `promo-hero__link-full`, un enlace que
   cubre TODA la foto — y el buscador esta encima. Sin esto, pulsar al lado del campo te sacaba de
   la home. En el resto de paginas ese enlace sigue funcionando igual. */
.hv2 .promo-hero__link-full { pointer-events: none; }

/* La columna del hero no recibe clics, pero el buscador si */
.hv2 .hv2-busca-zona { pointer-events: auto; width: 100%; }
.hv2 .hv2-busca-zona .hv2-wrap { padding: 0; max-width: none; }

/* El campo: 660 px fijos, sombra oscura proyectada hacia abajo, no un halo blanco */
.hv2 .promo-hero__text .hv2-libre {
    box-sizing: border-box;
    width: 660px;
    max-width: 100%;
    margin: 22px auto 0;
    padding: 7px 7px 7px 26px;
    box-shadow: 0 14px 36px rgba(0,0,0,.3);
    text-shadow: none;
}
.hv2 .promo-hero__text .hv2-libre input { font-size: 16.5px; }
.hv2 .promo-hero__text .hv2-libre input::placeholder { color: #9aa5b1; }
.hv2 .promo-hero__text .hv2-libre button {
    padding: 14px 32px; font: 700 15px/1 'Open Sans', sans-serif; gap: 9px;
}

/* Las pestañas van sobre la foto: blancas, con sombra para que se lean */
.hv2 .promo-hero__text .hv2-fams { margin-top: 18px; }
.hv2 .promo-hero__text .hv2-fam {
    color: rgba(255,255,255,.86);
    font: 600 14px/1 'Open Sans', sans-serif;
    padding-bottom: 5px;
    text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
.hv2 .promo-hero__text .hv2-fam.on,
.hv2 .promo-hero__text .hv2-fam:hover { color: #fff; box-shadow: inset 0 -2px 0 #fff; }

@media (max-width: 640px) {
    .hv2 .promo-hero { height: auto; }
    .hv2 .promo-hero__text .hv2-libre { width: 100%; padding-left: 18px; margin-top: 16px; }
    .hv2 .promo-hero__text .hv2-libre button { padding: 13px 20px; }
    .hv2 .promo-hero__text .hv2-libre button span { display: none; }
}

/* ---------- enlaces a categorías ---------- */
.hv2-enlaces { padding: 46px 0 52px; border-top: 1px solid var(--hv2-borde); margin-top: 46px; }
.hv2-enlaces .cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-top: 18px; }
.hv2-enlaces .grupo b { display: block; font: 700 13px/1.3 'Poppins', sans-serif; color: var(--hv2-texto);
  margin-bottom: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--hv2-borde); }
.hv2-enlaces ul { list-style: none; margin: 0; padding: 0; }
.hv2-enlaces li { margin-bottom: 8px; }
.hv2-enlaces a { font-size: 13.5px; color: var(--hv2-texto2); line-height: 1.5; }
.hv2-enlaces a:hover { color: var(--hv2-naranja); }
@media (max-width: 991px) { .hv2-enlaces .cols { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 480px) { .hv2-enlaces .cols { grid-template-columns: 1fr; } }

/* Muchas fotos del catálogo llevan una banda con el nombre incrustado en la mitad de abajo.
   Encuadrando por arriba se ve la foto y no el cartel. */
.hv2-circ .foto img { object-position: center 28%; }

/* ---------- filtros con panel ---------- */
.hv2-filtro { position: relative; }
.hv2-chip.abierto, .hv2-chip.activo { border-color: var(--hv2-naranja); color: var(--hv2-naranja); }
.hv2-chip.abierto { box-shadow: 0 0 0 3px rgba(255,115,0,.10); }
.hv2-chip.abierto i { transform: rotate(180deg); }
.hv2-chip i { transition: transform .18s ease; }

.hv2-panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; min-width: 300px;
  background: #fff; border: 1px solid var(--hv2-borde); border-radius: 14px; padding: 18px 18px 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,.14); text-align: left; animation: hv2cae .18s ease both; }
@keyframes hv2cae { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.hv2-panel h4 { margin: 0 0 13px; font: 700 11.5px/1 'Open Sans', sans-serif; letter-spacing: .07em;
  text-transform: uppercase; color: #9aa5b1; }
.hv2-ops { display: grid; grid-template-columns: 1fr; gap: 7px; }
.hv2-ops--3 { grid-template-columns: repeat(3, minmax(108px, 1fr)); }
.hv2-ops--2 { grid-template-columns: repeat(2, minmax(132px, 1fr)); }
/* Los paneles de ciudades y meses llevan dos columnas y necesitan sitio; el panel se abre hacia
   la izquierda cuando la pastilla esta a la derecha del todo, para no salirse de la pantalla. */
.hv2-panel--ancho { min-width: 330px; }
.hv2-filtro:last-of-type .hv2-panel { left: auto; right: 0; }
/* La cifra de circuitos, en gris: acompana, no manda */
.hv2-op em { font-style: normal; margin-left: auto; color: var(--hv2-texto2); font-size: 11.5px;
  font-weight: 400; opacity: .75; }
/* Separa los filtros de verdad de los enlaces a listas ya hechas */
.hv2-chips__sep { width: 1px; height: 20px; background: var(--hv2-borde); margin: 0 3px; }
@media (max-width: 720px) { .hv2-chips__sep { display: none; } }
.hv2-op { display: flex; align-items: center; gap: 9px; padding: 8px 11px; border-radius: 9px;
  border: 1px solid var(--hv2-borde); font-size: 13.5px; cursor: pointer; }
.hv2-op:hover { background: #fff6ef; border-color: #ffd9b8; }
.hv2-op input { accent-color: var(--hv2-naranja); margin: 0; flex: none; }
.hv2-op:has(input:checked) { border-color: var(--hv2-naranja); background: #fff6ef; font-weight: 700; }
.hv2-panel__pie { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--hv2-borde); }
.hv2-limpiar { background: none; border: 0; color: var(--hv2-texto2); font-size: 13px; cursor: pointer;
  font-family: inherit; padding: 6px 2px; }
.hv2-limpiar:hover { color: var(--hv2-naranja); }
.hv2-aplicar { background: var(--hv2-naranja); color: #fff; border: 0; border-radius: 999px;
  padding: 10px 22px; font: 700 13.5px/1 'Open Sans', sans-serif; cursor: pointer; }
.hv2-aplicar:hover { background: var(--hv2-naranja-h); }

@media (max-width: 640px) {
  /* en móvil el panel ocupa el ancho de la pantalla y no se sale por los lados */
  .hv2-panel { position: fixed; left: 12px; right: 12px; top: auto; min-width: 0; max-height: 70vh;
    overflow-y: auto; }
  .hv2-ops--3 { grid-template-columns: 1fr 1fr; }
  .hv2-chips { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch; padding-bottom: 10px; }
  .hv2-chip { white-space: nowrap; }
}
.hv2-op--enlace { display: block; color: var(--hv2-texto); font-weight: 600; }
.hv2-op--enlace:hover { color: var(--hv2-naranja); }
a.hv2-chip { text-decoration: none; }

/* ===============================================================================================
   LOS FILTROS DE LA HOME (diseño: la fila de chips de «Categoria Galicia»)
   Son filtros, no enlaces: el chip se marca, se combina y el recuento de arriba se recalcula.
   =============================================================================================== */

.hv2-filtros { display: flex; justify-content: center; flex-wrap: wrap; align-items: center;
  gap: 9px; padding: 16px 20px 0; }

.hv2-f { position: relative; }
.hv2-f__chip {
    box-sizing: border-box;
    display: flex; align-items: center; gap: 8px;
    border: 1px solid #e6e9ec; background: #fff; color: #52606d;
    border-radius: 999px; padding: 9px 17px;
    font: 600 13px/1 'Open Sans', sans-serif;
    white-space: nowrap; cursor: pointer;
}
/* El naranja va en el ICONO, no en el relleno. El relleno solo cuando el cliente lo activa. */
.hv2-f__chip > i:first-child { font-size: 11px; color: var(--hv2-naranja); }
.hv2-f__v { font-size: 9px; opacity: .6; color: inherit; transition: transform .18s ease; }
.hv2-f__chip[aria-expanded="true"] .hv2-f__v { transform: rotate(180deg); }
.hv2-f__chip:hover { border-color: #cfd6db; }
.hv2-f__chip.on { border-color: var(--hv2-naranja); color: #b34e00; background: #fff4ec; }
.hv2-f__chip.on > i:first-child { color: #b34e00; }
.hv2-f__chip--mas { border-color: #cfd6db; color: #1f2933; }
.hv2-f__chip--mas > i:first-child { color: #1f2933; }

/* El panel cuelga del propio chip: así se ve qué filtro se está tocando */
.hv2-f__panel {
    position: absolute; top: calc(100% + 10px); left: 0; z-index: 40;
    min-width: 290px; max-width: min(560px, calc(100vw - 24px));
    background: #fff; border: 1px solid #e6e9ec; border-radius: 14px;
    box-shadow: 0 14px 38px rgba(16,24,32,.17);
    padding: 14px 16px 16px; text-align: left;
    max-height: 72vh; overflow-y: auto;
}
.hv2-f__panel--ancho { min-width: 420px; }
.hv2-f__panel--dcha { left: auto; right: 0; }
.hv2-f__panel h4 { margin: 4px 0 10px; font: 700 11.5px/1 'Open Sans', sans-serif;
  letter-spacing: .07em; text-transform: uppercase; color: #9aa5b1; }
.hv2-f__panel h4:not(:first-child) { margin-top: 16px; }

.hv2-f__lista { display: grid; grid-template-columns: 1fr; gap: 2px; }
.hv2-f__lista--2 { grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 2px 10px; }
.hv2-f__op { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 8px;
  font-size: 13.5px; color: #33404d; cursor: pointer; margin: 0; font-weight: 400; }
.hv2-f__op:hover { background: #f4f6f8; }
.hv2-f__op input { accent-color: var(--hv2-naranja); margin: 0; flex: none; }
.hv2-f__op span { flex: 1; }
.hv2-f__op em { font-style: normal; color: #9aa5b1; font-size: 11.5px; }
.hv2-f__op:has(input:checked) { background: #fff4ec; color: #b34e00; font-weight: 700; }

.hv2-f__tabs { display: flex; gap: 18px; border-bottom: 1px solid #eef1f3; margin-bottom: 12px; }
.hv2-f__tab { background: none; border: 0; padding: 0 0 8px; cursor: pointer;
  font: 600 13px/1 'Open Sans', sans-serif; color: #6b7683; }
.hv2-f__tab.on { color: #b34e00; box-shadow: inset 0 -2px 0 var(--hv2-naranja); }

.hv2-f__buscar { display: flex; align-items: center; gap: 9px; border: 1px solid #e0e4e8;
  border-radius: 9px; padding: 8px 11px; margin-bottom: 8px; color: #9aa5b1; }
.hv2-f__buscar input { border: 0; outline: none; flex: 1; font-size: 13px; color: #33404d;
  background: none; }

/* Lo que hay puesto, para quitarlo de una */
.hv2-puestos { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 14px 20px 0; }
.hv2-puesto { display: inline-flex; align-items: center; gap: 7px; background: #1f2933; color: #fff;
  border: 0; border-radius: 999px; padding: 7px 13px; cursor: pointer;
  font: 600 12.5px/1 'Open Sans', sans-serif; }
.hv2-puesto--todo { background: none; color: #b34e00; }

.hv2-cuenta.cargando { opacity: .55; transition: opacity .15s; }
.hv2-cuenta__ver { margin-left: 10px; color: #b34e00; font-weight: 700; text-decoration: none; }
.hv2-cuenta__ver:hover { text-decoration: underline; }

@media (max-width: 640px) {
    .hv2-filtros { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto;
      -webkit-overflow-scrolling: touch; padding-bottom: 10px; }
    .hv2-f__chip { flex: none; }
    .hv2-f__panel, .hv2-f__panel--ancho, .hv2-f__panel--dcha {
        position: fixed; left: 12px; right: 12px; top: auto; min-width: 0; max-width: none;
    }
    .hv2-f__lista--2 { grid-template-columns: 1fr; }
}
.hv2-f__ayuda { margin: 0 0 10px; font-size: 12.5px; line-height: 1.5; color: #6b7683; }
