/* Itineraria – Fichas de hotel. Colores principales aquí: */
.ith {
	--ith-accent: #0E6F78;
	--ith-ink: #0F2233;
	--ith-muted: #4A5B6B;
	--ith-line: #E3E8EE;
	--ith-soft: #F4F7F9;
	color: var(--ith-ink);
	font-family: Inter, system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	display: flex;
	flex-direction: column;
	gap: 36px;
}
.ith * { box-sizing: border-box; }
.ith p { margin: 0 0 10px; color: #33475A; }
.ith-h1 { margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(30px, 5vw, 46px); line-height: 1.1; letter-spacing: -1px; color: var(--ith-ink); }
.ith-h2 { margin: 0 0 16px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -0.4px; color: var(--ith-ink); }

.ith-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.ith-head-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ith-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ith-chip { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #E6F1F2; color: #0B5560; }
.ith-dir { display: flex; align-items: center; gap: 6px; color: var(--ith-muted); font-size: 15px; }
.ith-fecha { font-size: 13px; color: var(--ith-muted); background: var(--ith-soft); padding: 6px 12px; border-radius: 8px; }

.ith-gal { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 206px 206px; gap: 8px; }
.ith-gal a { position: relative; display: block; overflow: hidden; border-radius: 16px; background: #D6E3E7; }
.ith-gal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.ith-gal a:hover img { transform: scale(1.03); }
.ith-gal-main { grid-row: 1 / 3; }
.ith-gal-hidden { display: none !important; }
.ith-gal-mas { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(15, 34, 51, .62); color: #fff; font-weight: 600; font-size: 16px; }

.ith-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.ith-dato { border: 1px solid var(--ith-line); border-radius: 12px; padding: 14px 16px; }
.ith-dato-k { font-size: 13px; color: var(--ith-muted); }
.ith-dato-v { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 20px; }

.ith-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ith-card { background: var(--ith-soft); border-radius: 12px; padding: 18px; }
.ith-card-t { font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.ith-card-d { color: var(--ith-muted); font-size: 15px; }

.ith-rooms { display: flex; flex-direction: column; gap: 12px; }
.ith-room { display: flex; flex-wrap: wrap; gap: 16px; border: 1px solid var(--ith-line); border-radius: 14px; padding: 12px; }
.ith-room-sinfoto { padding: 16px 18px; }
.ith-room-img { flex: 0 0 160px; width: 160px; height: 112px; object-fit: cover; border-radius: 10px; }
.ith-room-txt { flex: 1 1 260px; min-width: 0; }

.ith-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; }
.ith-list li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.ith-check { flex: 0 0 auto; color: var(--ith-accent); margin-top: 3px; }
.ith-nota { font-size: 14px; color: var(--ith-muted) !important; margin-top: 12px !important; }

.ith-aviso { background: #FFF6E5; border: 1px solid #F1D9A8; border-radius: 12px; padding: 16px; color: #5C3D00; }
.ith-aviso-t { font-weight: 600; }
.ith-aviso-d { font-size: 15px; }

.ith-video, .ith-mapa { position: relative; width: 100%; border-radius: 16px; overflow: hidden; background: #0F2233; }
.ith-video { aspect-ratio: 16 / 9; }
.ith-mapa { height: 320px; background: #E8EEF1; margin-bottom: 12px; }
.ith-video iframe, .ith-mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 767px) {
	.ith-gal { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px 120px; }
	.ith-gal-main { grid-column: 1 / 3; grid-row: 1; }
	.ith-room-img { flex-basis: 100%; width: 100%; height: 180px; }
}

.ith-cat { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 600; color: var(--ith-ink); border: 1px solid var(--ith-line); border-radius: 999px; padding: 4px 12px; }
.ith-cat-k { color: var(--ith-muted); font-weight: 500; }
.ith-desc h2, .ith-desc h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 19px; margin: 18px 0 8px; color: var(--ith-ink); }
.ith-mas summary { cursor: pointer; font-weight: 600; color: var(--ith-accent); margin: 4px 0 12px; list-style: none; }
.ith-mas summary::-webkit-details-marker { display: none; }
.ith-mas summary::after { content: " ▾"; }
.ith-mas[open] summary::after { content: " ▴"; }

/* ---------- Catálogo [ith_catalogo] ---------- */
.ith-catalogo { gap: 20px; }
.ith-cat-sub { color: var(--ith-muted) !important; font-size: 17px; margin: 8px 0 0 !important; }
.ith-filtros { display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); gap: 12px; background: var(--ith-soft); border-radius: 16px; padding: 16px; }
.ith-campo { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ith-campo label { font-size: 13px; font-weight: 600; color: var(--ith-muted); }
.ith-campo input, .ith-campo select { height: 46px; border: 1px solid #C9D4DC; border-radius: 10px; padding: 0 12px; font: inherit; font-size: 15px; background: #fff; color: var(--ith-ink); width: 100%; box-sizing: border-box; }
.ith-campo input:focus, .ith-campo select:focus { outline: 2px solid var(--ith-accent); outline-offset: 1px; }
.ith-conteo { margin: 0 !important; font-weight: 600; color: var(--ith-ink) !important; }
.ith-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.ith-hcard { display: flex; flex-direction: column; border: 1px solid var(--ith-line); border-radius: 16px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.ith-hcard[hidden] { display: none; }
.ith-hcard:hover { box-shadow: 0 10px 28px rgba(15, 34, 51, .10); transform: translateY(-2px); }
.ith-hcard-img { position: relative; display: block; aspect-ratio: 4 / 3; background: #D6E3E7; overflow: hidden; }
.ith-hcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ith-hcard-cat { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.95); color: var(--ith-ink); font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.ith-hcard-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.ith-hcard-t { margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; line-height: 1.25; }
.ith-hcard-t a { color: var(--ith-ink); text-decoration: none; }
.ith-hcard-t a:hover { color: var(--ith-accent); }
.ith-hcard-lugar { display: flex; gap: 6px; align-items: center; color: var(--ith-muted); font-size: 14px; }
.ith-hcard .ith-chip { font-size: 12px; padding: 3px 8px; }
.ith-hcard-acc { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.ith-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 10px; background: var(--ith-ink); color: #fff !important; font-weight: 600; text-decoration: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.ith-btn:hover { background: var(--ith-accent); }
.ith-btn-sec { flex: 0 0 auto; background: #fff; color: var(--ith-ink) !important; border: 1px solid #C9D4DC; }
.ith-btn-sec:hover { background: var(--ith-soft); }
.ith-btn-wa { flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: #0B6E5F; color: #fff !important; }
.ith-mas-wrap { text-align: center; margin: 8px 0 0 !important; }
.ith-mas-wrap [hidden], .ith-vacio[hidden] { display: none; }
.ith-vacio { background: var(--ith-soft); border-radius: 12px; padding: 20px; text-align: center; }
@media (max-width: 900px) { .ith-filtros { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ith-campo-q { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ith-filtros { grid-template-columns: 1fr; } }

/* ---------- Buscador lateral [ith_buscador] ---------- */
.ith-buscador { gap: 12px; border: 1px solid var(--ith-line); border-radius: 16px; padding: 20px; background: #fff; }
.ith-bus-t { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 19px; color: var(--ith-ink); }
.ith-bus-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.ith-buscador .ith-campo { position: relative; }
.ith-buscador .ith-btn { width: 100%; }
.ith-bus-sug { position: absolute; top: 100%; left: 0; right: 0; z-index: 50; margin: 4px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--ith-line); border-radius: 12px; box-shadow: 0 10px 28px rgba(15,34,51,.14); }
.ith-bus-sug[hidden] { display: none; }
.ith-bus-sug li { margin: 0; }
.ith-bus-sug a { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 8px; color: var(--ith-ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; }
.ith-bus-sug a span { font-weight: 400; font-size: 13px; color: var(--ith-muted); }
.ith-bus-sug a:hover, .ith-bus-sug a:focus { background: var(--ith-soft); }
.ith-bus-todos { font-size: 14px; font-weight: 600; color: var(--ith-accent); text-decoration: none; text-align: center; }
.ith-bus-todos:hover { text-decoration: underline; }
.ith .ith-campo input[type="search"] { -webkit-appearance: none; appearance: none; border-radius: 10px !important; border: 1px solid #C9D4DC !important; }
.ith-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ith-bus-compacto { padding: 12px; gap: 8px; }
.ith-bus-fila { display: flex; gap: 8px; }
.ith-bus-fila input { flex: 1; min-width: 0; }
.ith-bus-ir { flex: 0 0 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: var(--ith-ink); color: #fff; cursor: pointer; padding: 0; }
.ith-bus-ir:hover { background: var(--ith-accent); }
.ith-bus-compacto .ith-bus-todos { font-size: 13px; }
