/*!
 * reservas.css
 *
 * Widget de reserves.
 *  - SIN CAJA / LIMPIO (desactivat intencionalment): estils sense caixa, fonts, popups foscos
 *  - POPUPS: ja no són aquí; els colors van al CSS del plugin els-roures-booking-widgets (19/11/2026)
 *  - Fuente Jost en tot el widget
 */

/* =========================================================
   WIDGET DE RESERVAS · SIN CAJA / LIMPIO — desactivat intencionalment
========================================================= */
/*
.widgetBookingContainer{
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	padding: 10px 40px 10px 40px !important;
	font-family: 'Playfair Display', serif;
	position: relative;
	z-index: 999999;
}

/* Degradado del contenedor *
.widgetBookingContainer::before{
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
		to top,
		rgba(255,255,255,.16) 0%,
		rgba(255,255,255,.08) 45%,
		rgba(255,255,255,0) 100%
	);
}

/* Ocultar labels innecesarias *
.widgetBookingContainer .checkinCheckoutContainer label,
.widgetBookingContainer .peopleContainer label:not(.childAgeLabel),
.stayLen{
	display: none !important;
}

/* Color uniforme en todos los textos *
.widgetBookingContainer,
.widgetBookingContainer *,
.widgetBookingContainer .inputBox,
.widgetBookingContainer .comboBox,
.widgetBookingContainer input,
.widgetBookingContainer select,
.widgetBookingContainer option,
.widgetBookingContainer .selectedText,
.widgetBookingContainer .value,
.widgetBookingContainer .label,
.widgetBookingContainer .checkinCheckoutContainer,
.widgetBookingContainer .peopleContainer,
.widgetBookingContainer .entryDate,
.widgetBookingContainer .departureDate{
	color: #fff !important;
	opacity: 1 !important;
}

/* Campos *
.widgetBookingContainer .inputBox,
.widgetBookingContainer .comboBox{
	display: flex !important;
	align-items: center !important;
	min-height: 28px;
	line-height: 1.2 !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(255,255,255,.7) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #fff !important;
	padding: 0 14px 0 0 !important;
	font-size: 18px;
	transition: border-color .2s ease, opacity .2s ease;
}

/* Ajuste específico combo *
.widgetBookingContainer .comboBox{
	border-bottom: none !important;
}

/* Botón *
.button.searchButton,
.searchButton.button.enabled{
	background: transparent !important;
	color: #fff !important;
	border: 1px solid rgba(255,255,255,.75) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	min-height: 54px;
	padding: 0 26px !important;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.button.searchButton:hover,
.searchButton.button.enabled:hover{
	background: #fff !important;
	color: #111 !important;
	border-color: #fff !important;
}
*/
/* POPUPS: els colors dels popups del widget (els clàssics de la web
   antiga) són al CSS del plugin els-roures-booking-widgets, secció
   «POPUPS DEL WIDGET». Aquí hi havia unes targetes blanques amb text gris
   que els tapaven; es van treure el 19/11/2026. */
/* Fuente Jost en todo el widget de reservas */
.widgetBookingContainer,
.widgetBookingContainer *{
	font-family: 'Jost', sans-serif !important;
}
/*FIN WIDGET DE RESERVAS*/

/* =========================================================
   HERO VARIANT A AMB WIDGET — posició vertical del widget
   Empenya el widget cap a la franja inferior del hero perquè
   no parteixi el punt focal de la foto. Aplica a fitxes
   d'allotjament i a qualsevol pàgina amb className
   `er-hero-widget` al row del hero. La home queda exclosa.
   Hero: 70vh desktop / 55vh tablet / 42vh mobile.
   Mobile: el widget ja s'oculta des de l'ACF block.
========================================================= */
body:not(.home) .er-hero-widget .kt-inside-inner-col {
	padding-top: 46vh; /* hero 70vh → widget arranca al ~66% */
}
@media (max-width: 1024px) {
	body:not(.home) .er-hero-widget .kt-inside-inner-col {
		padding-top: 36vh; /* hero 55vh → widget al ~65% */
	}
}


/* =========================================================
   BOTÓ «VEURE DISPONIBILITAT» — verd dels botons globals
   Per què és CSS i no un ajust de bloc: el botó el pinta el
   widget extern del plugin propi els-roures-booking-widgets
   (bloc ACF sense camp de color), i el CSS del plugin el deixa
   transparent amb vora blanca. Es fan servir les variables de
   botó del Personalitzador de Kadence, així que si es canvia el
   color dels botons allà, aquest el segueix. 12/11/2026.
   L'estat fix (sticky) és a header.css, amb el mateix criteri.
========================================================= */
.widgetBookingContainer .button.searchButton,
.widgetBookingContainer .searchButton.button.enabled{
	background: var(--global-palette-btn-bg, #3EA534) !important;
	color: var(--global-palette-btn, #fff) !important;
	border-color: var(--global-palette-btn-bg, #3EA534) !important;
}
.widgetBookingContainer .button.searchButton:hover,
.widgetBookingContainer .searchButton.button.enabled:hover{
	background: var(--global-palette-btn-bg-hover, #2F7D26) !important;
	color: var(--global-palette-btn-hover, #fff) !important;
	border-color: var(--global-palette-btn-bg-hover, #2F7D26) !important;
}
