@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Krona+One&display=swap');

/**
 * Te Ra'ai Checkout - estilos del asistente de reserva.
 * Paleta: naranjo #E89A3C, negro #1A1A1A, crema #F5F0E8, blanco.
 */

.teraai-checkout {
	--teraai-orange: var(--e-global-color-primary);
	--teraai-orange-dark: #d6862a;
	--teraai-ink: #120700;
	--teraai-cream: #f5f0e8;
	--teraai-card: #efe9df;
	--teraai-line: #e2dccf;
	--teraai-muted: #7a7468;
	--teraai-radius: 14px;
	--teraai-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

	max-width: 1330px;
	margin: 0 auto;
	color: var(--teraai-ink);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}

.teraai-checkout *,
.teraai-checkout *::before,
.teraai-checkout *::after {
	box-sizing: border-box;
}

/* ---------- Indicador de pasos ---------- */
.teraai-steps {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 22px;
	margin-bottom: 28px;
	position: relative;
}
.teraai-steps::before {
	content: "";
	position: absolute;
	right: 18px;
	left: auto;
	width: 160px;
	height: 2px;
	background: var(--teraai-orange);
	opacity: 0.4;
	top: 50%;
	transform: translateY(-50%);
	z-index: 0;
}
.teraai-step {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 2px solid var(--teraai-orange);
	background: #fff;
	color: var(--teraai-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 15px;
	position: relative;
	z-index: 1;
	transition: all 0.2s ease;
}
.teraai-step.is-active {
	background: var(--teraai-orange);
	color: #fff;
	transform: scale(1.05);
}
.teraai-step.is-done {
	background: var(--teraai-orange);
	color: #fff;
	opacity: 0.85;
}

/* ---------- Cabecera de panel ---------- */
.teraai-panel {
	display: none;
	animation: teraai-fade 0.3s ease;
}
.teraai-panel.is-active {
	display: block;
}
@keyframes teraai-fade {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}
.teraai-panel__head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 22px;
}
.teraai-panel__badge {
	background: var(--teraai-card);
	padding: 10px 18px;
	font-weight: 800;
	font-size: 22px;
	letter-spacing: -0.5px;
	font-family: inherit;
}
.teraai-panel__title {
	font-size: 30px;
	font-weight: 400;
	margin: 0;
	font-family: inherit;
}

/* ---------- Cajas ---------- */
.teraai-card-box {
	background: var(--teraai-card);
	border: 1px solid var(--teraai-line);
	border-radius: var(--teraai-radius);
	padding: 28px;
	box-shadow: var(--teraai-shadow);
}

/* ---------- Paso 1: experiencias ---------- */
.teraai-experiences {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.teraai-card {
	background: #F4F0EDF2;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--teraai-orange);
	transition: border-color 0.2s ease, transform 0.2s ease;
	display: flex;
	flex-direction: column;
	position: relative;
	backdrop-filter: blur(75px);
	box-shadow: 0px 0px 30px 0px #0000000D;
	padding: 34px 25px;
}
.teraai-card > p{
	margin: 0;
}
.teraai-card__etiquetas{
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 54px;
	padding-bottom: 20px;
}
.teraai-card__etiquetas p{
	margin: 0;
}
.teraai-etiquetas__expe{
	font-family: 'Inter';
	font-weight: 400;
	font-size: 12px;
	line-height: 10.8px;
	letter-spacing: 0.72px;
	text-transform: uppercase;
	color: var(--teraai-ink);
}
.badge-destacado{
	display: flex;
	padding: 11px 15px;
	font-family: 'Inter';
	font-weight: 600;
	font-size: 12px;
	line-height: 10.8px;
	letter-spacing: 0.72px;
	text-transform: uppercase;
	color: var(--teraai-ink);
	background: #FFA63380;
	border-radius: 5px;
}

.teraai-card__media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
.teraai-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.teraai-card__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: var(--teraai-orange);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	padding: 6px 12px;
	border-radius: 20px;
}
.teraai-card__body {
	padding-top: 30px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.teraai-card__body > p{
	margin: 0;
}
.teraai-card__title {
	font-family: 'Inter';
	font-weight: 600;
	font-size: 29.4px;
	line-height: 30.6px;
	letter-spacing: -0.9px;
	color: var(--teraai-ink);
	margin: 0 0 10px;
}
.teraai-card__price {
	color: #120700CC;
	display: flex;
	gap: 5px;
	font-family: 'Inter';
	font-weight: 600;
	font-size: 29.4px;
	line-height: 30.6px;
	letter-spacing: -0.9px;

}
.teraai-card__desc {
	font-size: 14px;
	color: var(--teraai-muted);
	line-height: 1.6;
	flex: 1;
	margin-bottom: 18px;
}
.teraai-card__desc ul {
	padding-left: 18px;
	margin: 0;
}
.teraai-card__desc .teraai-card__intro {
	margin: 0 0 12px;
	color: var(--teraai-muted);
}
.teraai-card__desc .teraai-card__features {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 16px !important;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 11px 18px;
	color: var(--teraai-ink);
	font-size: 12.6px;
	line-height: 18.85px;
	font-family: 'Inter';
	font-weight: 500;
}
.teraai-card__desc .teraai-card__features li {
	list-style: none !important;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
}
.teraai-card__desc .teraai-card__features li::before {
	display: none !important;
	content: none !important;
}
.teraai-card__desc .teraai-feat-icon {
	width: 32px;
	height: 32px;
	object-fit: contain;
	flex-shrink: 0;
}
.teraai-desc__text{
	font-family: 'Inter';
	font-weight: 400;
	font-size: 14.8px;
	line-height: 21.75px;
	letter-spacing: 0%;
	color: var(--teraai-ink);
}
.teraai-features__title{
	font-family: 'Inter';
	font-weight: 400;
	font-size: 12px;
	line-height: 10.8px;
	letter-spacing: 0.72px;
	text-transform: uppercase;
	color: var(--teraai-ink);
}

/* ---------- Bloque de precios (Paso 1) ---------- */
.teraai-card__prices {
	margin: 4px 0 22px;
}
.teraai-prices__title {
	font-family: 'Inter';
	font-weight: 400;
	font-size: 12px;
	line-height: 10.8px;
	letter-spacing: 0.72px;
	text-transform: uppercase;
	color: var(--teraai-ink);
	display: block;
	margin-bottom: 10px;
}
.teraai-card__prices ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
.teraai-card__prices li {
	list-style: none !important;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid var(--teraai-line);
	font-size: 14px;
	margin: 0 !important;
}
.teraai-card__prices li::before { display: none !important; content: none !important; }
.teraai-card__prices li:last-child { border-bottom: none; }
.teraai-card__prices li > span:first-child { color: var(--teraai-ink); font-weight: 500; }
.teraai-card__prices li > span:last-child { color: var(--teraai-ink); font-weight: 700; white-space: nowrap; }
.teraai-card__prices .teraai-prices__transfer > span:last-child {
	font-weight: 600;
	font-size: 13px;
	color: #120700cc;
}

/* ---------- Botones ---------- */
.teraai-card .teraai-btn {
	background: transparent;
	color: var(--teraai-ink);
	border: 1px solid var(--teraai-ink);
	border-radius: 50px;
	padding: 12px 30px !important;
	font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    text-transform: var(--e-global-typography-accent-text-transform);
    line-height: var(--e-global-typography-accent-line-height);
	transition: background 0.2s ease, transform 0.1s ease;
}
.teraai-btn br{
	display: none;
}
.teraai-card .teraai-btn:hover { background: var(--teraai-ink); color: #ffffff; }
.teraai-btn:active { transform: translateY(1px); }
.teraai-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.teraai-btn--block { width: 100%; margin-top: auto; }
.teraai-btn--ghost {
	background: transparent !important;
	color: var(--teraai-ink) !important;
	padding: 13px 10px !important;
}
.teraai-btn--ghost:hover { background: transparent !important; color: var(--teraai-orange-dark) !important; }

/* ---------- Navegación ---------- */
.teraai-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 24px;
}

/* ---------- Campos ---------- */
.teraai-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px 40px;
	margin-bottom: 10px;
}
.teraai-field { margin-bottom: 18px; }
.teraai-field__title {
	font-size: 17px;
	margin: 0 0 14px;
	font-weight: 700;
}
.teraai-exp-tag {
	display: inline-block;
	background: #f0c890;
	color: #6b4d22;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	padding: 7px 14px;
	border-radius: 6px;
	margin-bottom: 22px;
	text-transform: uppercase;
}
.teraai-exp-tag:empty { display: none; }

.teraai-input-wrap { margin-bottom: 16px; }
.teraai-input-wrap label,
.teraai-field > label {
	display: block;
	font-size: 14px;
	margin-bottom: 7px;
	font-weight: 600;
}
.teraai-checkout input[type="text"],
.teraai-checkout input[type="email"],
.teraai-checkout input[type="tel"],
.teraai-checkout input[type="number"],
.teraai-checkout textarea {
	width: 100%;
	border: 1px solid var(--teraai-line);
	border-radius: 8px;
	padding: 13px 15px;
	font-size: 15px;
	background: #fff;
	color: var(--teraai-ink);
	font-family: inherit;
}
.teraai-checkout input:focus,
.teraai-checkout textarea:focus {
	outline: none;
	border-color: var(--teraai-orange);
	box-shadow: 0 0 0 3px rgba(232, 154, 60, 0.15);
}
.teraai-checkout input.has-error,
.teraai-checkout textarea.has-error {
	border-color: #d9534f;
	box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.12);
}
.req { color: #d9534f; margin-left: 2px; }

.teraai-radio {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	font-size: 14px;
	cursor: pointer;
}
.teraai-note {
	font-size: 12px;
	color: var(--teraai-muted);
	margin: 8px 0 0;
}
.teraai-availability { margin: 10px 0 0; font-size: 13px; }
.teraai-availability:empty { display: none; }
.teraai-avail-ok { color: #2a8a3e; font-weight: 600; }
.teraai-avail-full { color: #d9534f; font-weight: 600; }
.teraai-contact {
	display: inline-block;
	margin-left: 8px;
	background: #25d366 !important;
	color: #fff !important;
	text-decoration: none !important;
	padding: 8px 16px !important;
	border-radius: 20px !important;
	font-size: 12px;
	font-weight: 700;
}

/* ---------- Contador grupo ---------- */
.teraai-counter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--teraai-line);
}
.teraai-counter__info { display: flex; flex-direction: column; gap: 2px; }
.teraai-counter__label { font-size: 15px; font-weight: 600; }
.teraai-counter__unit { font-size: 12px; color: var(--teraai-muted); }
.teraai-counter__unit:empty { display: none; }
.teraai-counter__right { display: flex; align-items: center; gap: 14px; }
.teraai-counter__subtotal {
	min-width: 84px;
	text-align: right;
	font-weight: 700;
	font-size: 14px;
	color: var(--teraai-ink);
}
.teraai-counter__controls { display: flex; align-items: center; gap: 6px; }
.teraai-counter__btn {
	width: 34px !important;
	height: 34px !important;
	min-height: 0 !important;
	border-radius: 50% !important;
	border: 1px solid var(--teraai-orange) !important;
	background: #fff !important;
	color: var(--teraai-orange-dark) !important;
	font-size: 20px !important;
	line-height: 1 !important;
	padding: 0 !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: none !important;
}
.teraai-counter__btn:hover { background: var(--teraai-orange) !important; color: #fff !important; }
.teraai-counter input[type="number"] {
	width: 48px;
	text-align: center;
	padding: 6px;
	-moz-appearance: textfield;
}
.teraai-counter input::-webkit-outer-spin-button,
.teraai-counter input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Calendario ---------- */
.teraai-calendar {
	background: #fff;
	border: 1px solid var(--teraai-line);
	border-radius: 10px;
	padding: 14px;
	max-width: 360px;
}
.teraai-cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}
.teraai-cal__title { font-weight: 700; font-size: 15px; }
.teraai-cal__nav {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: var(--teraai-orange-dark);
	padding: 0 8px;
	line-height: 1;
}
.teraai-cal__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}
.teraai-cal__dow {
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	color: var(--teraai-muted);
	padding: 4px 0;
}
.teraai-cal__day {
	aspect-ratio: 1;
	border: none !important;
	background: transparent !important;
	border-radius: 8px !important;
	font-size: 14px;
	cursor: pointer;
	color: var(--teraai-ink) !important;
	padding: 0 !important;
	min-height: 0 !important;
	box-shadow: none !important;
}
.teraai-cal__day.is-empty { cursor: default; }
.teraai-cal__day.is-disabled {
	color: #c9c3b6;
	cursor: not-allowed;
	text-decoration: line-through;
}
.teraai-cal__day.is-available:hover { background: var(--teraai-cream) !important; }
.teraai-cal__day.is-selected {
	background: var(--teraai-orange) !important;
	color: #fff !important;
	font-weight: 700;
}

/* ---------- Paso 4: resumen + pago ---------- */
.teraai-summary-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 24px;
	align-items: start;
}
.teraai-summary,
.teraai-payment {
	min-width: 0;
}
.teraai-label {
	font-size: 11px;
	letter-spacing: 1px;
	color: var(--teraai-muted);
	font-weight: 700;
	text-transform: uppercase;
}
.teraai-summary__exp {
	font-family: inherit;
	font-size: 24px;
	margin: 6px 0 0;
}
.teraai-summary hr {
	border: none;
	border-top: 1px solid var(--teraai-line);
	margin: 18px 0;
}
.teraai-summary__lines {
	font-size: 14px;
	line-height: 1.9;
	color: #444;
}
.teraai-summary__total {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.teraai-summary__amount {
	font-size: 30px;
	font-weight: 800;
	font-family: inherit;
}

.teraai-gateways { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.teraai-gateway {
	border: 1px solid var(--teraai-line);
	background: #fff;
	border-radius: 10px;
	padding: 14px 16px;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.teraai-gateway:has(input:checked) {
	border-color: var(--teraai-orange);
	box-shadow: 0 0 0 2px rgba(232, 154, 60, 0.2);
}
.teraai-gateway__main { display: flex; align-items: center; gap: 12px; }
.teraai-gateway__icon img { max-height: 26px; width: auto; vertical-align: middle; }
.teraai-gateway__title { font-weight: 600; font-size: 15px; }
.teraai-gateway input[type="radio"] { accent-color: var(--teraai-orange); }

.teraai-privacy { font-size: 13px; color: var(--teraai-muted); margin: 16px 0; line-height: 1.6; }
.teraai-privacy a { color: var(--teraai-orange-dark); }
.teraai-check {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 14px;
	margin-bottom: 12px;
	cursor: pointer;
}
.teraai-check input { margin-top: 3px; accent-color: var(--teraai-orange); }
.teraai-check a { color: var(--teraai-orange-dark); }

.teraai-form-error {
	color: #d9534f;
	font-size: 14px;
	margin-top: 14px;
	text-align: right;
	font-weight: 600;
}
.teraai-empty { color: var(--teraai-muted); padding: 30px; text-align: center; }
/* Honeypot anti-bot: fuera de pantalla, no debe verse ni recibir foco. */
.teraai-hp { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.teraai-btn.is-loading { position: relative; color: transparent; }
.teraai-btn.is-loading::after {
	content: "";
	position: absolute;
	width: 16px; height: 16px;
	top: calc(50% - 8px); left: calc(50% - 8px);
	border: 2px solid rgba(255,255,255,0.5);
	border-top-color: #fff;
	border-radius: 50%;
	animation: teraai-spin 0.7s linear infinite;
}
@keyframes teraai-spin { to { transform: rotate(360deg); } }

/* ---------- Confirmación "¡Maururu!" ---------- */
.teraai-confirm {
	--teraai-orange: #e89a3c;
	--teraai-orange-dark: #d6862a;
	--teraai-ink: #1a1a1a;
	--teraai-cream: #f5f0e8;
	--teraai-card: #efe9df;
	--teraai-line: #e2dccf;
	--teraai-muted: #7a7468;

	max-width: 1120px;
	margin: 0 auto;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1a1a1a;
}
.teraai-confirm__grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 40px;
	align-items: start;
}
.teraai-confirm__hero {
	display: block;
}
.teraai-confirm__icon {
	margin-bottom: 18px;
}
.teraai-confirm__icon img {
	width: 120px;
	height: auto;
	display: block;
}
.teraai-confirm__title {
	font-family: inherit;
	font-size: 34px;
	margin: 0 0 4px;
	color: #d6862a;
}
.teraai-confirm__sub {
	font-family: inherit;
	font-size: 22px;
	margin: 0 0 14px;
	color: var(--teraai-ink);
}
.teraai-confirm__text {
	font-size: 15px;
	line-height: 1.7;
	color: #555;
	max-width: 560px;
}
.teraai-confirm__panel {
	background: #efe9df;
	border: 1px solid #e2dccf;
	border-radius: 14px;
	padding: 28px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	margin-bottom: 20px;
}
.teraai-confirm__panel hr {
	border: none;
	border-top: 1px solid #e2dccf;
	margin: 16px 0;
}
.teraai-confirm__note {
	font-size: 14px;
	color: #7a7468;
	margin-bottom: 22px;
}
.teraai-confirm__actions {
	display: flex;
	gap: 14px;
	justify-content: flex-end;
	align-items: center;
	flex-wrap: wrap;
}
.teraai-confirm__actions .teraai-btn {
	text-decoration: none;
	display: inline-block;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.teraai-experiences,
	.teraai-grid-2,
	.teraai-summary-grid,
	.teraai-confirm__grid {
		grid-template-columns: 1fr !important;
	}
	.teraai-panel__title { font-size: 20px; }
	.teraai-panel__badge { font-size: 15px; }
	.teraai-steps { justify-content: center; }
	.teraai-steps::before { display: none; }
}

/* ---------- Krona One: SOLO el saludo de la confirmación ---------- */
.teraai-confirm__title,
.teraai-confirm__sub {
	font-family: "Krona One", Georgia, serif;
	font-weight: 400;
	letter-spacing: 0;
}
.teraai-confirm__title { font-size: 30px; line-height: 1.15; }
.teraai-confirm__sub { font-size: 18px; line-height: 1.35; }

/* ---------- Ocultar bloques nativos de Woo en la confirmación Te Ra'ai ---------- */
.teraai-thankyou .woocommerce-order-overview,
.teraai-thankyou .woocommerce-customer-details,
.teraai-thankyou .woocommerce-order-details,
.teraai-thankyou .entry-title,
.teraai-thankyou .page-title {
	display: none !important;
}
.teraai-input-wrap > span{
	font-family: 'Inter';
	font-weight: 400;
	font-size: 12px;
	line-height: 21.75px;
}
.teraai-note-inline > br{
	display: none;
}


