/* Let's Book It — motor de reservas. Scope .ltg- para no chocar con el tema. */
:root {
	--ltg-red: #d61f26;      /* rojo logo Let's Travel */
	--ltg-navy: #0f2f5b;     /* azul logo */
	--ltg-yellow: #f6aa1c;   /* acento que resalta (petición cliente) */
	--ltg-bg: #f6f7f9;
	--ltg-border: #e2e6ea;
	--ltg-text: #2c3e50;
	--ltg-radius: 10px;
}

/* ===== Buscador (panel glass con blur) ===== */
.ltg-search { background: rgba(255,255,255,.78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgba(255,255,255,.55); border-radius: var(--ltg-radius); box-shadow: 0 8px 30px rgba(15,47,91,.22); padding: 18px; max-width: 1080px; margin: 0 auto; font-family: inherit; }
.ltg-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.ltg-ico { width: 17px; height: 17px; vertical-align: -3px; display: inline-block; }
.ltg-tab .ltg-ico { margin-right: 4px; }
.ltg-field label .ltg-ico { margin-right: 3px; color: var(--ltg-navy); }
.ltg-btn--search .ltg-ico { vertical-align: -3px; margin-right: 4px; }
.ltg-tab { border: 1px solid var(--ltg-border); background: #fff; border-radius: 999px; padding: 8px 16px; cursor: pointer; font-size: 14px; color: var(--ltg-text); }
.ltg-tab.is-active { background: var(--ltg-red); border-color: var(--ltg-red); color: #fff; font-weight: 700; }
.ltg-tab.is-soon { opacity: .5; cursor: not-allowed; }
.ltg-form { display: grid; grid-template-columns: 2fr 1.7fr 1.7fr auto; gap: 10px; align-items: end; }
.ltg-field { display: flex; flex-direction: column; position: relative; }
.ltg-field label { font-size: 12px; font-weight: 700; color: var(--ltg-navy); margin-bottom: 4px; }
.ltg-field input, .ltg-field select, .ltg-field textarea { border: 1px solid var(--ltg-border); border-radius: 8px; padding: 10px 12px; font-size: 14px; color: var(--ltg-text); background: #fff; width: 100%; }
.ltg-field input:focus, .ltg-field select:focus { outline: 2px solid var(--ltg-navy); border-color: var(--ltg-navy); }
/* Botones-campo (fechas y huéspedes) */
.ltg-picker-btn { width: 100%; border: 1px solid var(--ltg-border); border-radius: 8px; background: rgba(255,255,255,.92); padding: 10px 12px; font-size: 14px; color: var(--ltg-text); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ltg-picker-btn:hover { border-color: var(--ltg-navy); }
.ltg-caret { color: #8895a3; font-size: 12px; }

/* Panel de huéspedes con steppers */
.ltg-pax-panel { position: absolute; top: 100%; right: 0; left: 0; margin-top: 6px; background: #fff; border: 1px solid var(--ltg-border); border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.15); padding: 14px; z-index: 9999; min-width: 260px; }
.ltg-pax-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--ltg-bg); }
.ltg-pax-item small { display: block; color: #8895a3; font-size: 11px; }
.ltg-stepper { display: flex; align-items: center; gap: 12px; }
.ltg-stepper button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ltg-navy); background: #fff; color: var(--ltg-navy); font-size: 18px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ltg-stepper button:hover:not(:disabled) { background: var(--ltg-navy); color: #fff; }
.ltg-stepper button:disabled { opacity: .3; cursor: not-allowed; }
.ltg-step-val { min-width: 20px; text-align: center; font-weight: 700; }
.ltg-pax-done { width: 100%; margin-top: 12px; padding: 10px; }

/* Calendario de rango */
.ltg-cal { position: absolute; top: 100%; left: 0; margin-top: 6px; background: #fff; border: 1px solid var(--ltg-border); border-radius: 12px; box-shadow: 0 12px 34px rgba(0,0,0,.16); padding: 14px; z-index: 9999; min-width: 300px; }
.ltg-cal-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
.ltg-cal-nav { border: 1px solid var(--ltg-border); background: #fff; border-radius: 8px; width: 32px; height: 32px; font-size: 18px; cursor: pointer; color: var(--ltg-navy); }
.ltg-cal-nav:hover { background: var(--ltg-bg); }
.ltg-cal-months { display: flex; gap: 20px; }
.ltg-cal-month { width: 280px; }
.ltg-cal-title { text-align: center; font-weight: 700; color: var(--ltg-navy); margin: -32px 0 8px; font-size: 14px; pointer-events: none; }
.ltg-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.ltg-cal-dow { text-align: center; font-size: 11px; color: #8895a3; font-weight: 700; padding: 4px 0; }
.ltg-cal-day { border: 0; background: none; border-radius: 8px; padding: 8px 0; font-size: 13px; cursor: pointer; color: var(--ltg-text); }
.ltg-cal-day:hover:not(.is-disabled) { background: var(--ltg-bg); }
.ltg-cal-day.is-disabled { color: #ccd3da; cursor: not-allowed; }
.ltg-cal-day.is-start, .ltg-cal-day.is-end { background: var(--ltg-red); color: #fff; font-weight: 700; }
.ltg-cal-day.is-range { background: #fdeaea; color: var(--ltg-red); border-radius: 0; }
.ltg-cal-hint { margin: 10px 0 0; font-size: 12px; color: var(--ltg-navy); font-weight: 600; text-align: center; }
.ltg-suggest { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--ltg-border); border-radius: 8px; margin: 4px 0 0; padding: 0; list-style: none; z-index: 9999; max-height: 260px; overflow-y: auto; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.ltg-suggest li { padding: 10px 14px; cursor: pointer; font-size: 14px; }
.ltg-suggest li:hover, .ltg-suggest li.is-hover { background: var(--ltg-bg); }
.ltg-suggest .ltg-suggest-country { color: #8895a3; font-size: 12px; margin-left: 6px; }

/* ===== Botones ===== */
.ltg-btn { border: 0; border-radius: 8px; padding: 12px 22px; font-size: 15px; font-weight: 700; cursor: pointer; transition: transform .06s, filter .15s; }
.ltg-btn:hover { filter: brightness(1.08); }
.ltg-btn:active { transform: scale(.98); }
.ltg-btn--primary { background: var(--ltg-red); color: #fff; }
.ltg-btn--accent { background: var(--ltg-yellow); color: #222; }
.ltg-btn--ghost { background: #fff; color: var(--ltg-navy); border: 2px solid var(--ltg-navy); }
.ltg-btn--big { width: 100%; padding: 14px; font-size: 16px; }
.ltg-btn--search { white-space: nowrap; }

/* ===== Header del tema en páginas del motor de reservas =====
   El header de Travol es transparente con enlaces blancos (pensado para ir
   sobre el video del hero). En nuestras páginas blancas le damos fondo navy. */
body.ltg-booking-page nav.elementor-location-header { background: var(--ltg-navy); box-shadow: 0 2px 12px rgba(0,0,0,.18); }

/* ===== Layout páginas ===== */
.ltg-page { background: var(--ltg-bg); padding: 28px 0 60px; min-height: 60vh; color: var(--ltg-text); }
.ltg-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.ltg-title { color: var(--ltg-navy); font-size: 26px; margin: 18px 0 6px; }
.ltg-searchbar-slim { margin-bottom: 10px; }
.ltg-results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 16px; }
.ltg-sort label { font-size: 13px; margin-right: 6px; }
.ltg-sort select { border: 1px solid var(--ltg-border); border-radius: 8px; padding: 8px 10px; }
.ltg-results-layout { display: grid; grid-template-columns: 250px 1fr; gap: 20px; align-items: start; }
.ltg-error { background: #fdecea; color: #b71c1c; padding: 12px 16px; border-radius: 8px; }
.ltg-loading { display: flex; align-items: center; gap: 10px; padding: 30px 0; color: var(--ltg-navy); font-weight: 600; }
.ltg-spinner { width: 22px; height: 22px; border: 3px solid var(--ltg-border); border-top-color: var(--ltg-red); border-radius: 50%; animation: ltg-spin .8s linear infinite; }
@keyframes ltg-spin { to { transform: rotate(360deg); } }

/* ===== Filtros ===== */
.ltg-filters { background: #fff; border-radius: var(--ltg-radius); padding: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.05); position: sticky; top: 20px; }
.ltg-filters h3 { margin: 0 0 12px; color: var(--ltg-navy); font-size: 17px; }
.ltg-filter { margin-bottom: 14px; }
.ltg-filter label, .ltg-filter-label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.ltg-filter input[type="text"] { width: 100%; border: 1px solid var(--ltg-border); border-radius: 8px; padding: 8px 10px; }
.ltg-stars-filter label, #ltg-f-board label { display: flex; align-items: center; gap: 6px; font-weight: 400; font-size: 14px; margin-bottom: 4px; cursor: pointer; }

/* ===== Tarjetas de resultados ===== */
.ltg-card { display: grid; grid-template-columns: 240px 1fr 200px; background: #fff; border-radius: var(--ltg-radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); margin-bottom: 16px; }
.ltg-card-img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; background: #dde3e9; }
.ltg-card-body { padding: 14px 16px; }
.ltg-card-body h3 { margin: 0 0 4px; color: var(--ltg-navy); font-size: 18px; }
.ltg-card-stars { color: var(--ltg-yellow); font-size: 14px; letter-spacing: 2px; }
.ltg-card-meta { font-size: 13px; color: #66727e; margin: 6px 0; }
.ltg-card-board { display: inline-block; background: var(--ltg-bg); border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.ltg-card-side { border-left: 1px solid var(--ltg-border); padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; text-align: right; gap: 4px; }
.ltg-price { color: var(--ltg-navy); font-size: 22px; font-weight: 800; }
.ltg-price small { font-size: 12px; font-weight: 400; color: #66727e; display: block; }
.ltg-loadmore-wrap { text-align: center; margin-top: 8px; }

/* ===== Detalle de hotel ===== */
.ltg-back a { color: var(--ltg-navy); font-weight: 600; text-decoration: none; }
.ltg-hotel-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ltg-h-stars { color: var(--ltg-yellow); font-size: 18px; letter-spacing: 2px; }
.ltg-h-address { color: #66727e; margin: 2px 0 14px; }
.ltg-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 130px; gap: 8px; margin-bottom: 22px; }
.ltg-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; cursor: pointer; }
.ltg-gallery img:first-child { grid-row: span 2; }
.ltg-hotel-body { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; align-items: start; }
.ltg-hotel-info h2, .ltg-rates-col h2 { color: var(--ltg-navy); font-size: 19px; margin: 0 0 10px; }
.ltg-facilities { columns: 2; padding-left: 18px; font-size: 14px; }
.ltg-room { background: #fff; border-radius: var(--ltg-radius); box-shadow: 0 2px 10px rgba(0,0,0,.06); padding: 14px 16px; margin-bottom: 14px; }
.ltg-room h4 { margin: 0 0 10px; color: var(--ltg-navy); font-size: 16px; }
.ltg-rate { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--ltg-border); padding: 10px 0; }
.ltg-rate-info { font-size: 14px; }
.ltg-rate-cxl { font-size: 12px; color: #2e7d32; }
.ltg-rate-cxl.is-nonref { color: #b71c1c; }
.ltg-rate-price { text-align: right; }
.ltg-rate-price b { color: var(--ltg-navy); font-size: 18px; }
.ltg-rate-price small { display: block; color: #66727e; font-size: 12px; }

/* ===== Modal: inputs con borde visible (el tema los deja sin borde) ===== */
.ltg-modal-box .ltg-field input[type="text"],
.ltg-modal-box .ltg-field input[type="email"],
.ltg-modal-box .ltg-field textarea {
	border: 1.5px solid #c6cdd4 !important;
	background: #fff !important;
	border-radius: 8px !important;
	padding: 12px 14px !important;
	width: 100% !important;
	font-size: 14px !important;
	color: var(--ltg-text) !important;
	box-shadow: inset 0 1px 2px rgba(0,0,0,.04) !important;
	transition: border-color .15s, box-shadow .15s;
}
.ltg-modal-box .ltg-field input:focus,
.ltg-modal-box .ltg-field textarea:focus {
	border-color: var(--ltg-navy) !important;
	box-shadow: 0 0 0 3px rgba(15,47,91,.12) !important;
	outline: none !important;
}
.ltg-modal-box .ltg-field input::placeholder { color: #a8b2bc; }
.ltg-modal-box .ltg-field label { font-size: 13px; font-weight: 700; color: var(--ltg-navy); margin-bottom: 5px; display: block; }

/* ===== Modal ===== */
.ltg-modal { position: fixed; inset: 0; background: rgba(15,47,91,.55); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ltg-modal-box { background: #fff; border-radius: 14px; max-width: 620px; width: 100%; max-height: 92vh; overflow-y: auto; padding: 24px; position: relative; }
.ltg-modal-box h2 { color: var(--ltg-navy); margin: 0 0 8px; }
.ltg-modal-close { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 18px; cursor: pointer; color: #66727e; }
.ltg-quote-summary { background: var(--ltg-bg); border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.ltg-quote-timer { color: var(--ltg-red); font-weight: 700; font-size: 13px; }
.ltg-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ltg-requests { margin: 12px 0; border: 1px solid var(--ltg-border); border-radius: 8px; padding: 10px 14px; }
.ltg-requests summary { cursor: pointer; font-weight: 600; color: var(--ltg-navy); }
.ltg-requests label { display: flex; gap: 6px; font-size: 13px; align-items: center; }
.ltg-cancellation { font-size: 13px; margin: 10px 0; padding: 10px 14px; background: #fff8e6; border-radius: 8px; }
.ltg-terms { display: flex; gap: 8px; font-size: 13px; margin: 12px 0; align-items: flex-start; }
.ltg-note { font-size: 12px; color: #8895a3; }
.ltg-center { text-align: center; }
.ltg-search-error { color: #b71c1c; font-size: 13px; margin: 8px 0 0; }

/* ===== Buscador superpuesto en el hero de la portada ===== */
/* .ltg-hero = contenedor Elementor del banner; .ltg-hero-overlay = widget buscador.
   El banner es un video de 100vh con el texto centrado: el buscador se ancla
   al 60% de la altura, justo debajo del titulo. */
.ltg-hero { position: relative !important; }
/* Título del banner más arriba (petición del cliente: sin subtítulo y texto elevado) */
.ltg-hero .v-middle.caption .container { margin-top: -90px; }
@media (max-width: 900px) { .ltg-hero .v-middle.caption .container { margin-top: -60px; } }
.ltg-hero .ltg-hero-overlay { position: absolute; top: 64%; left: 50%; transform: translateX(-50%); width: min(1080px, 94%); margin: 0; z-index: 20; }
@media (max-width: 900px) {
	/* En móvil también superpuesto sobre el banner, versión compacta bajo el texto.
	   El título en móvil ocupa más alto (varias líneas): anclar más abajo. */
	.ltg-hero .ltg-hero-overlay { top: 62%; width: 94%; }
	.ltg-hero .ltg-search { padding: 12px; }
	.ltg-hero .ltg-tabs { gap: 5px; margin-bottom: 10px; }
	.ltg-hero .ltg-tab { padding: 6px 11px; font-size: 12px; }
	.ltg-hero .ltg-form { gap: 8px; }
	.ltg-hero .ltg-field label { font-size: 11px; margin-bottom: 2px; }
	.ltg-hero .ltg-field input, .ltg-hero .ltg-picker-btn { padding: 9px 11px; font-size: 13px; }
	.ltg-hero .ltg-btn--search { padding: 11px; }
}

/* ===== Skeletons de carga (resultados) ===== */
.ltg-skeleton { display: grid; grid-template-columns: 240px 1fr 200px; background: #fff; border-radius: var(--ltg-radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); margin-bottom: 16px; min-height: 170px; }
.ltg-sk { background: linear-gradient(90deg, #eef1f4 25%, #f7f9fb 50%, #eef1f4 75%); background-size: 400% 100%; animation: ltg-shimmer 1.2s infinite; border-radius: 6px; }
.ltg-skeleton .ltg-sk-img { border-radius: 0; }
.ltg-skeleton-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
@keyframes ltg-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* Campos de fecha: cursor de "abrir calendario" en todo el campo */
.ltg-field input[type="date"] { cursor: pointer; }

/* Autocomplete: resaltado y estado activo con teclado */
.ltg-suggest li.is-hover { background: var(--ltg-bg); }
.ltg-suggest mark { background: #ffe9a8; padding: 0 1px; border-radius: 2px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
	.ltg-form { grid-template-columns: 1fr; }
	.ltg-cal { left: 0; right: 0; min-width: 0; }
	.ltg-cal-month { width: 100%; }
	.ltg-results-layout { grid-template-columns: 1fr; }
	.ltg-filters { position: static; }
	.ltg-card { grid-template-columns: 1fr; }
	.ltg-card-img { height: 180px; }
	.ltg-card-side { border-left: 0; border-top: 1px solid var(--ltg-border); align-items: stretch; text-align: left; }
	.ltg-hotel-body { grid-template-columns: 1fr; }
	.ltg-gallery { grid-template-columns: 1fr 1fr; }
	.ltg-grid-2 { grid-template-columns: 1fr; }
}
