/*
 * LA FICHA DEL HOTEL CON LA ESTRUCTURA DE BOOKING, EN LOS COLORES DE LA CASA — HC_FICHA_NET_V1 (28-10-2026).
 * Tokens de chrome.css (--hcp-*): fondo morado oscuro, dorado para enlaces y botones, texto claro.
 * Contraste (ley 1): el texto hereda el color del fondo oscuro; los botones dorados llevan texto oscuro fijo y
 * NO cambian de color al pasar el ratón ni al pulsar; lo que va sobre fondo claro (fotos) lleva su propia sombra.
 */
.hc-hotel--booking { --hb-borde: var(--hcp-border, rgba(226,196,142,.22)); --hb-oro: var(--hcp-primary, #E2C48E); --hb-panel: var(--hcp-panel, #11181E); --hb-tarjeta: var(--hcp-card, #161D24); --hb-texto-oscuro: #0b1014; --hb-ok: #4CAF50; --hb-mal: #e57373; color: inherit; }
.hc-hotel--booking h1, .hc-hotel--booking h2, .hc-hotel--booking h3 { color: var(--hcp-text-light, #fff); }
.hc-hotel--booking section { margin: 28px 0; }
.hc-hotel--booking .hc-boton { display: inline-block; background: var(--hb-oro); color: var(--hb-texto-oscuro); border: 0; border-radius: 10px; padding: 12px 20px; font-weight: 700; cursor: pointer; text-decoration: none; }
.hc-hotel--booking .hc-boton:hover, .hc-hotel--booking .hc-boton:focus, .hc-hotel--booking .hc-boton:active { background: var(--hb-oro); color: var(--hb-texto-oscuro); outline: 2px solid #fff; outline-offset: 2px; }
.hc-hotel--booking .hc-boton[disabled] { opacity: .7; cursor: wait; }

/* cabecera */
.hb-cabecera { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin: 10px 0 14px; }
.hb-nombre { font-size: 1.7rem; margin: 0 0 6px; line-height: 1.2; }
.hb-estrellas { color: var(--hb-oro); font-size: 1rem; vertical-align: middle; letter-spacing: 1px; }
.hb-direccion { margin: 0; opacity: .95; }
.hb-direccion a { color: var(--hb-oro); }
.hb-cabecera-der { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hb-nota, .hb-lateral-nota { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.hb-nota-cifra { background: var(--hb-oro); color: var(--hb-texto-oscuro); font-weight: 800; font-size: 1.25rem; border-radius: 8px 8px 8px 0; padding: 8px 10px; min-width: 46px; text-align: center; }
.hb-nota-texto, .hb-lateral-nota span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.hb-nota-texto small, .hb-lateral-nota small { opacity: .85; }

/* galería: una grande, cuatro pequeñas */
.hb-galeria { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 420px; margin: 0 0 24px; }
.hb-galeria .hb-foto { margin: 0; position: relative; overflow: hidden; border-radius: 10px; background: var(--hb-tarjeta); cursor: zoom-in; }
.hb-galeria .hb-foto--grande { grid-row: 1 / span 2; }
.hb-galeria .hb-foto--oculta { display: none; }
.hb-galeria img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-fotos-mas { position: absolute; right: 10px; bottom: 10px; background: rgba(11,16,20,.85); color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 8px; padding: 8px 12px; font-weight: 700; cursor: pointer; }
@media (max-width: 760px) { .hb-galeria { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 110px; height: auto; } .hb-galeria .hb-foto--grande { grid-column: 1 / span 2; grid-row: 1; } .hb-galeria .hb-foto:nth-child(4), .hb-galeria .hb-foto:nth-child(5) { display: none; } }

/* dos columnas */
.hb-columnas { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .hb-columnas { grid-template-columns: 1fr; } }
.hb-lateral { background: var(--hb-panel); border: 1px solid var(--hb-borde); border-radius: 14px; padding: 16px; }
.hb-lateral section { margin: 14px 0; }
.hb-lateral h2 { font-size: 1.05rem; margin: 0 0 8px; }
.hb-fuertes ul, .hb-populares ul, .hb-citas ul { list-style: none; margin: 0; padding: 0; }
.hb-fuertes li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--hb-borde); }
.hb-fuertes li:last-child { border-bottom: 0; }
.hb-fuertes li span:last-child { display: flex; flex-direction: column; }
.hb-fuertes small { opacity: .85; }
.hb-ico { width: 24px; text-align: center; flex: none; }
.hb-mapa-mini { display: flex; align-items: center; gap: 8px; margin: 10px 0; padding: 12px; border: 1px solid var(--hb-borde); border-radius: 10px; color: var(--hb-oro); text-decoration: none; background: var(--hb-tarjeta); }
.hb-citas li { margin: 0 0 12px; }
.hb-citas blockquote { margin: 0 0 4px; font-style: italic; }
.hb-citas cite { font-style: normal; font-weight: 700; }
.hb-cita-pais { font-weight: 400; opacity: .85; }
.hb-populares ul { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hb-populares li { display: flex; align-items: center; gap: 6px; }
.hb-tecnica { margin-top: 10px; }

/* disponibilidad */
.hb-disponibilidad { background: var(--hb-panel); border: 1px solid var(--hb-oro); border-radius: 14px; padding: 18px; scroll-margin-top: 80px; }
.hb-dispo-ayuda { margin: 0 0 12px; }
.hb-form { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; }
.hb-form label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
.hb-form input, .hb-form select { background: var(--hb-tarjeta); color: inherit; border: 1px solid var(--hb-borde); border-radius: 8px; padding: 10px; min-width: 120px; font: inherit; }
/* HC_CALENDARIO_VISIBLE_V1 (28-10-2026, el dueño: «не видно значка календаря»): el campo de fecha en esquema oscuro
   (el calendario nativo sale oscuro y su icono claro) y el icono en dorado, grande y con la mano. En Firefox no hay
   icono nativo: va uno dibujado a la derecha del campo. */
.hb-form input[type="date"] { color-scheme: dark; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2C48E' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px 18px; }
/* La iconita del calendario la pinta el fondo (arriba, right 10px, 18px): el botón nativo, invisible, se pone ENCIMA de ella (antes quedaba 8px a la izquierda y el clic en la iconita caía en el texto del campo y no abría el calendario, 28-10-2026). */
.hb-form input::-webkit-calendar-picker-indicator { opacity: 0; width: 28px; height: 28px; margin-right: -34px; cursor: pointer; }
.hb-form input::-webkit-calendar-picker-indicator:hover { opacity: 0; }
.hb-form .hc-ninos-edades { display: flex; gap: 8px; flex-wrap: wrap; }
.hb-form .hc-ninos-edades:empty { display: none; }
.hb-no-cobro { margin: 10px 0 0; opacity: .85; font-size: .9rem; }
.hb-ofertas { margin-top: 16px; }
.hb-cargando { display: flex; align-items: center; gap: 14px; padding: 22px; border: 1px dashed var(--hb-borde); border-radius: 12px; }
.hb-rueda { width: 34px; height: 34px; border: 4px solid rgba(226,196,142,.25); border-top-color: var(--hb-oro); border-radius: 50%; animation: hb-gira 1s linear infinite; flex: none; }
@keyframes hb-gira { to { transform: rotate(360deg); } }
.hb-tabla { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--hb-borde); border-radius: 12px; overflow: hidden; }
.hb-tabla th { text-align: left; background: var(--hb-tarjeta); padding: 10px 12px; border-bottom: 1px solid var(--hb-borde); font-size: .9rem; }
.hb-tabla td { padding: 12px; border-bottom: 1px solid var(--hb-borde); vertical-align: top; }
.hb-tabla tr:last-child td { border-bottom: 0; }
.hb-hab { display: flex; gap: 12px; }
.hb-hab img { width: 110px; height: 80px; object-fit: cover; border-radius: 8px; flex: none; }
.hb-hab-nombre { font-weight: 700; display: block; margin-bottom: 4px; }
.hb-hab-board, .hb-opcion { display: block; }
.hb-ok { color: var(--hb-ok); }
.hb-nr { color: var(--hb-mal); }
.hb-personas { white-space: nowrap; }
.hb-precio-total { font-size: 1.2rem; font-weight: 800; white-space: nowrap; }
.hb-precio-tachado { text-decoration: line-through; opacity: .7; margin-right: 6px; font-weight: 400; }
.hb-precio-nota { display: block; font-size: .85rem; opacity: .85; }
.hb-exclusivo, .hb-club-tag, .hc-ventaja, .hb-variantes { display: inline-block; font-size: .78rem; border: 1px solid var(--hb-oro); border-radius: 6px; padding: 2px 7px; margin: 3px 4px 0 0; }
.hb-alternativas h3 { font-size: 1rem; }
.hb-alt-lista { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hb-alt-lista a, .hb-alt-lista button { display: flex; flex-direction: column; gap: 4px; background: var(--hb-tarjeta); color: inherit; border: 1px solid var(--hb-borde); border-radius: 10px; padding: 10px 14px; text-decoration: none; cursor: pointer; font: inherit; }
.hb-aviso { padding: 12px 14px; border: 1px solid var(--hb-borde); border-radius: 10px; background: var(--hb-tarjeta); }
@media (max-width: 760px) {
  .hb-tabla thead { display: none; }
  .hb-tabla, .hb-tabla tbody, .hb-tabla tr, .hb-tabla td { display: block; width: 100%; }
  .hb-tabla tr { border-bottom: 1px solid var(--hb-borde); }
  .hb-tabla td { border-bottom: 0; padding: 8px 12px; }
}

/* servicios */
.hb-servicios .hc-servicios-grupos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px 22px; }
.hb-servicios ul { margin: 0; padding-left: 18px; }

/* comentarios */
.hb-cats { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 22px; }
.hc-op-cat-cab { display: flex; justify-content: space-between; }
.hc-op-barra { height: 8px; background: rgba(255,255,255,.12); border-radius: 4px; overflow: hidden; }
.hc-op-barra span { display: block; height: 100%; background: var(--hb-oro); }
.hb-op-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.hc-op-item { background: var(--hb-tarjeta); border: 1px solid var(--hb-borde); border-radius: 12px; padding: 12px; }
.hc-op-item-cab { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.hc-op-item-nota { background: var(--hb-oro); color: var(--hb-texto-oscuro); font-weight: 800; border-radius: 6px; padding: 4px 8px; }
.hc-op-item-quien { display: flex; flex-direction: column; }

/* preguntas, alrededores, condiciones */
.hb-faq details { border-bottom: 1px solid var(--hb-borde); padding: 8px 0; }
.hb-faq summary { cursor: pointer; font-weight: 700; }
.hb-alrededores-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px 24px; }
.hb-alr-grupo h3 { font-size: 1rem; margin: 0 0 6px; }
.hb-alr-grupo ul { list-style: none; margin: 0; padding: 0; }
.hb-alr-grupo li { display: flex; gap: 8px; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.hb-alr-nombre { flex: 1; }
.hb-alr-cat { opacity: .8; font-size: .85rem; }
.hb-alr-dist { white-space: nowrap; opacity: .9; }
.hc-poi-marca { font-style: normal; color: var(--hb-oro); font-size: .8rem; }
.hb-mapa .hc-mapa { height: 320px; border-radius: 12px; overflow: hidden; }
.hb-similares .hc-similares-rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; } /* auto-fit: las tarjetas reparten el ancho entero (con auto-fill quedaban pegadas a la izquierda en pantallas anchas, 28-10) */
.hc-similar { display: block; color: inherit; text-decoration: none; background: var(--hb-tarjeta); border: 1px solid var(--hb-borde); border-radius: 12px; overflow: hidden; }
.hc-similar-foto img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.hc-similar-datos { display: flex; flex-direction: column; gap: 3px; padding: 10px; }
.hc-precio--consultar { color: var(--hb-oro); font-weight: 700; }

/* barra fija del móvil */
.hb-barra { position: fixed; left: 0; right: 0; bottom: 0; display: none; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--hb-panel); border-top: 1px solid var(--hb-oro); z-index: 40; }
.hb-barra .hc-barra-reservar { background: var(--hb-oro); color: var(--hb-texto-oscuro); border-radius: 10px; padding: 10px 16px; font-weight: 700; text-decoration: none; }
@media (max-width: 760px) { .hb-barra { display: flex; } .hb-barra.hc-barra-movil--oculta { display: none; } body.hc-con-barra { padding-bottom: 64px; } }

/* visor de fotos */
.hc-visor { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 100; display: flex; align-items: center; justify-content: center; }
.hc-visor[hidden] { display: none; }
.hc-visor-fig { margin: 0; max-width: 92vw; max-height: 86vh; text-align: center; }
.hc-visor-fig img { max-width: 92vw; max-height: 80vh; object-fit: contain; }
.hc-visor-pie { color: #fff; padding: 8px; }
.hc-visor-cerrar, .hc-visor-ant, .hc-visor-sig { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; width: 44px; height: 44px; font-size: 26px; cursor: pointer; }
.hc-visor-cerrar { top: 14px; right: 14px; }
.hc-visor-ant { left: 14px; top: 50%; transform: translateY(-50%); }
.hc-visor-sig { right: 14px; top: 50%; transform: translateY(-50%); }
.hc-visor-n { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: #fff; }
body.hc-visor-abierto { overflow: hidden; }
/* HC_LINEAS_ACTIVIDADES_V1: las dos líneas de la ciudad (Viator y Tiqets), una tras otra. */
.hb-viator, .hb-tiqets, .hc-act-viator { margin: 28px 0; }
.hb-tiqets h2, .hc-act-viator h2 { margin: 0 0 12px; }
.hb-tiqets .hc-tarjeta h3 { font-size: 17px; margin: 0; }
.hb-tiqets .hc-tarjeta h3 a { color: #F4F0E8; text-decoration: none; }
.hc-vt-todos { margin: 12px 0 0; }
.hc-vt-todos a { display: inline-block; color: var(--hb-oro, #E2C48E); border: 1px solid rgba(226,196,142,.6); border-radius: 12px; padding: 10px 14px; text-decoration: none; }
/* HC_ALOJA_NET_V1: lo propio de la ficha del alojamiento (la misma plantilla). */
.hc-aloja .lc-property-ids { margin: 0 0 6px; font-size: .85rem; opacity: .8; }
.hc-aloja .hc-recomendado { display: inline-block; margin: 0 0 8px; padding: 4px 10px; border: 1px solid var(--hb-oro); border-radius: 999px; font-size: .85rem; }
.hb-rasgos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hb-rasgos li { display: flex; align-items: center; gap: 8px; }
.hb-rasgos .hb-ico, .hb-dorm .hb-ico { color: var(--hb-oro); display: inline-flex; }
.hb-dorm-rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.hb-dorm { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--hb-borde); border-radius: 12px; background: var(--hb-tarjeta); }
.hb-hab-lista { display: flex; flex-direction: column; gap: 14px; }
.hb-hab-ficha { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 14px; border: 1px solid var(--hb-borde); border-radius: 12px; background: var(--hb-tarjeta); }
.hb-hab-ficha img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; }
.hb-hab-ficha h3 { margin: 0 0 6px; }
.hb-hab-datos { margin: 0 0 8px; opacity: .9; }
.hb-hab-desc { margin: 0 0 10px; white-space: pre-line; }
@media (max-width: 640px) { .hb-hab-ficha { grid-template-columns: 1fr; } }
.hb-extras ul { list-style: none; margin: 0; padding: 0; }
.hb-extras li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--hb-borde); }
.hb-extras li small { opacity: .9; white-space: nowrap; }
.hb-original { margin-top: 10px; }
.hb-original summary { cursor: pointer; color: var(--hb-oro); }
.hb-aviso--cierre { margin: 0 0 16px; }
.hb-min-noches { margin: 0 0 10px; font-weight: 600; }
.hc-op-item-respuesta { margin: 8px 0 0; padding: 8px 10px; border-left: 3px solid var(--hb-oro); }
.hc-condiciones ul { padding-left: 18px; }
/* HC_OPINION_NET_V1: el formulario de la opinión en la ficha del alojamiento. */
.hb-opinar { margin: 18px 0 0; padding: 16px; border: 1px solid var(--hb-borde); border-radius: 12px; background: var(--hb-tarjeta); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.hb-opinar h3, .hb-opinar .hb-opinar-texto, .hb-opinar button, .hb-opinar-aviso { grid-column: 1 / -1; }
.hb-opinar label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
.hb-opinar input, .hb-opinar select, .hb-opinar textarea { background: var(--hb-panel); color: inherit; border: 1px solid var(--hb-borde); border-radius: 8px; padding: 10px; font: inherit; }
.hb-opinar button { justify-self: start; }
.hb-op-entrar a { color: var(--hb-oro); }
.hb-op-aviso { opacity: .9; }
