/**
 * Reservas Agua — estilos del formulario público de reserva.
 */

.ra-booking {
	--ra-primary: #007BFF;
	--ra-accent: #007BFF;
	--ra-cta: #FF6B35;
	--ra-cta-hover: #e55a25;
	--ra-ink: #212529;
	--ra-muted: #9798B0;
	--ra-line: #e4e9ef;
	--ra-panel: #eef3f8;
	--ra-hint-bg: #dbe6f4;
	--ra-hint-ink: #3f6ea5;
	--ra-ok: #1f9d55;
	--ra-ok-bg: #e6f6ec;
	--ra-ko: #d64550;
	--ra-ko-bg: #fdeaec;
	--ra-radius: 22px;
	--ra-radius-sm: 12px;

	box-sizing: border-box;
	max-width: 380px;
	margin: 8px;
	padding: 24px 22px 22px;
	background: #fff;
	border-radius: 30px;
	box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.50);
	color: var(--ra-ink);
	font-family: "Sansation", sans-serif;
	line-height: 1.4;
}

.ra-booking *,
.ra-booking *::before,
.ra-booking *::after {
	box-sizing: border-box;
}

/* ------------------------------------------------------------------ */
/* Cabecera de precio                                                  */
/* ------------------------------------------------------------------ */
.ra-price-head {
	padding-bottom: 18px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
}

.ra-price-from {
	display: block;
	color: var(--Gris-01-ARENAL, #9798B0);
	font-family: "Sansation", sans-serif;
	font-size: 25px;
	font-weight: 400;
	line-height: 30px;
}

.ra-price-amount {
	display: inline-block;
	color: var(--Azul-01-ARENAL, #007BFF);
	font-family: "Zen Dots", sans-serif;
	font-size: 38px;
	font-weight: 400;
	line-height: 110%;
	letter-spacing: -1.92px;
}

.ra-price-label {
	display: block;
	color: var(--Negro-ARENAL, #212529);
	font-family: "Sansation", sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 30px;
	margin-top: 2px;
}

/* ------------------------------------------------------------------ */
/* Secciones                                                           */
/* ------------------------------------------------------------------ */
.ra-section {
	margin-bottom: 20px;
	border-top: 1px solid #D7D8EA;
	padding-top: 25px;
}

.ra-section[hidden] {
	display: none;
}

.ra-q {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	color: var(--Negro-ARENAL, #212529);
	font-family: "Sansation", sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 30px;
}

.ra-q .ra-ico {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
}

.ra-q .ra-ico img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* ------------------------------------------------------------------ */
/* Calendario                                                          */
/* ------------------------------------------------------------------ */
.ra-calendar {
	background: #e4eaf4ba;
	border-radius: 15px;
	padding: 14px 12px 10px;
}

.ra-cal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.ra-cal-title {
	color: var(--Azul-03-ARENAL, #0060A7);
	text-align: center;
	font-family: "Sansation";
	font-size: 15px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.ra-cal-nav {
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: background 0.15s;
	padding: 0;
}

.ra-cal-nav:hover:not(:disabled) {
	background: none;
}



.ra-cal-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.ra-cal-nav-icon {
	width: 22px;
	height: 22px;
	object-fit: contain;
	display: block;
	pointer-events: none;
}

.ra-cal-nav-icon--next {
	transform: scaleX(-1);
}

.ra-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 10px;
}

.ra-cal-dow {
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: #9798B0;
	padding: 4px 0 6px;
}

.ra-cal-day {
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: white;
	border-radius: 50%;
	font-size: 15px;
	font-weight: 600;
	color: var(--ra-ink);
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.ra-cal-day:hover:not(:disabled):not(.is-selected) {
	background: rgba(0, 123, 255, 0.12);
}

.ra-cal-day.is-muted {
	background: var(--Gris-02-ARENAL, #D7D8EA);
	color: white;
	text-decoration: line-through;
}

.ra-cal-day:disabled {
	cursor: default;
}

.ra-cal-day.is-selected {
	background: var(--ra-accent);
	color: #fff;
	box-shadow: 0 2px 6px rgba(0, 123, 255, 0.35);
}

.ra-cal-day.is-today:not(.is-selected) {
	box-shadow: inset 0 0 0 1px var(--ra-accent);
}

/* ------------------------------------------------------------------ */
/* Horarios                                                            */
/* ------------------------------------------------------------------ */
.ra-slots-select {
	width: 100%;
	padding: 7px 14px;
	border: none;
	border-radius: 17.5px;
	font-size: 15px;
	color: var(--ra-ink);
	background: var(--Gris-03-ARENAL, #e4eaf496);
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23007BFF' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	cursor: pointer;
}

.ra-slots-empty {
	font-size: 14px;
	color: var(--ra-muted);
}

/* ------------------------------------------------------------------ */
/* Personas                                                            */
/* ------------------------------------------------------------------ */
.ra-people {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ra-person {
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: none;
	border-radius: 50px;
	background: var(--Gris-03-ARENAL, #E4EAF4);
	color: var(--ra-ink);
	font-family: "Sansation";
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, transform 0.1s;
}

.ra-person:hover:not(:disabled):not(.is-selected) {
	background: rgba(0, 123, 255, 0.15);
}

.ra-person.is-selected {
	background: var(--ra-accent);
	color: #fff;
}

.ra-person:disabled {
	opacity: 0.4;
	cursor: default;
}

.ra-capacity-note {
	margin: 12px 0 0;
	color: var(--Negro-ARENAL, #212529);
	font-family: "Sansation";
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 22px;
	letter-spacing: 0.3px;
}

/* ------------------------------------------------------------------ */
/* Hint                                                                */
/* ------------------------------------------------------------------ */
.ra-hint {
	background: #6e99cf7d;
	color: var(--Azul-03-ARENAL, #0060A7);
	border-radius: var(--ra-radius-sm);
	padding: 14px 16px;
	font-size: 13px;
	text-align: center;
	margin-bottom: 20px;
}

.ra-hint[hidden] {
	display: none;
}

.ra-payment-result {
	border-radius: var(--ra-radius-sm);
	padding: 14px 16px;
	font-size: 14px;
	margin-bottom: 18px;
}

.ra-payment-result.ra-ok { background: var(--ra-ok-bg); color: var(--ra-ok); }
.ra-payment-result.ra-ko { background: var(--ra-ko-bg); color: var(--ra-ko); }

.ra-form-error {
	background: var(--ra-ko-bg);
	color: var(--ra-ko);
	border-radius: var(--ra-radius-sm);
	padding: 14px 16px;
	font-size: 14px;
	max-width: 380px;
	margin: 0 auto;
}

/* ------------------------------------------------------------------ */
/* Datos del cliente                                                   */
/* ------------------------------------------------------------------ */
.ra-customer-section {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ra-input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--ra-line);
	border-radius: var(--ra-radius-sm);
	font-size: 14px;
	font-family: Sansation, sans-serif;
	color: var(--ra-ink);
	background: #fff;
}

.ra-input:focus {
	outline: none;
	border-color: var(--ra-accent);
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
}

textarea.ra-input {
	min-height: 72px;
	resize: vertical;
}

/* ------------------------------------------------------------------ */
/* Total + botón                                                       */
/* ------------------------------------------------------------------ */
.ra-total-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding-top: 16px;
	border-top: 1px solid var(--ra-line);
}

.ra-total-label {
	font-size: 18px;
	color: var(--ra-muted);
	font-weight: 600;
}

.ra-total-amount {
	font-family: "Zen Dots", sans-serif;
	font-size: 34px;
	font-weight: 400;
	color: var(--ra-accent);
	letter-spacing: -0.5px;
}

.ra-book-btn:active:not(:disabled) { transform: translateY(1px); }
.ra-book-btn:disabled { opacity: 0.45; cursor: default; }
.ra-book-btn.is-loading { opacity: 0.8; cursor: wait; }

.ra-form-message {
	margin-top: 12px;
	font-size: 13px;
	text-align: center;
	min-height: 18px;
}

.ra-form-message.is-error { color: var(--ra-ko); }
.ra-form-message.is-ok { color: var(--ra-ok); }

.ra-booking button:focus-visible,
.ra-booking select:focus-visible,
.ra-booking input:focus-visible,
.ra-booking textarea:focus-visible {
	outline: 2px solid var(--ra-accent);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.ra-booking * {
		transition: none !important;
		animation: none !important;
	}
}

/* Responsive: en móvil el widget ocupa el ancho completo */
@media (max-width: 900px) {
	.ra-booking {
		max-width: 100%;
		border-radius: 20px;
	}

	.ra-producto-breadcrumb {
		font-size: 13px;
		padding: 11px 5px;
		margin-top: 16px;
	}

	.ra-total-row {
		margin-bottom: 20px;
	}
}