/* =======================================================================
   styles-reservar-page.css
   Canonical /reservar/ page styles (extracted from reservar/index.php).
   Do not confuse with styles-reservar.css (inline LP booking sibling).
   ======================================================================= */

:root {
	/* Standalone page — these live in WP theme CSS, which /reservar/ does not load. */
	--sum-color-blue: #0075FF;
	--sum-color-blue-hover: #005fd6;
}

html,
body {
	font-family: TikTok Sans, ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, Manjari, 'Arial Rounded MT Bold', Calibri, source-sans-pro, sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	font-variation-settings: "slnt" 0, "wdth" 100;
}

.payment-info__title,
.ff-t {
	font-family: Bebas Neue, ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, Manjari, 'Arial Rounded MT Bold', Calibri, source-sans-pro, sans-serif;
}

.fv-ucon,
.page-name {
	font-variation-settings: "slnt" 0, "wdth" 75;
	letter-spacing: -0.05em;
}

*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Main container - follows inscribirme pattern */
.main.main--reservar {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	padding-top: var(--reservar-header-height, 7.5rem) !important;
	padding-bottom: 2rem;
	min-height: 100vh;
	height: auto;
	overflow-y: auto;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	max-width: 100%;
}

.reservation-card {
	background: white;
	border-radius: 1rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	padding: 2rem;
	width: 100%;
	max-width: 500px;
	margin: 0 1rem;
}

.reservation-header {
	text-align: center;
	margin-bottom: 1.5rem;
}

.reservation-title {
	color: #2c3e50;
	font-weight: 700;
	font-size: 3.44em;
	margin-bottom: 0.3125em;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-block-start: 0;
	margin-block-end: 0;
}

.reservation-subtitle {
	color: #6c757d;
	font-size: 1.65em;
	font-weight: 400;
	margin-block-start: 0;
	margin-block-end: 0;
}

/* Course Info Box */
.course-info {
	background: linear-gradient(135deg, #f8f5f2 0%, #ece8e4 100%);
	border-radius: 0.9375em;
	padding: 0.7em 1.25em 0.85em;
	margin-bottom: 1.1em;
	text-align: center;
	border: 1px solid #e0d9d2;
}

.course-info:has(.date-selection) {
	padding: 0.45em 1.1em 0.65em;
	margin-bottom: 0.9em;
}

.course-info__name {
	font-size: 2.42em;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 0;
	line-height: 1.1;
}

.course-info:has(.date-selection) .course-info__name {
	font-size: 2.15em;
}

.course-info__date {
	font-size: 1.43em;
	color: #6c757d;
	margin-bottom: 0.1em;
}

.course-info__location {
	font-size: 1.21em;
	color: #8b8b8b;
}

/* Payment Methods */
.payment-methods {
	display: flex;
	flex-direction: column;
	gap: 0.9375em;
	margin-bottom: 1.25em;
}

.payment-method-item {
	position: relative;
}

.section-title {
	font-size: 2em;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 0.5em;
	text-align: center;
}
.alias-info .section-title {
	font-size: 1.4814814814814814em;
	margin-top: 0;
}

.payment-btn {
	display: flex;
	align-items: center;
	gap: 1.25em;
	padding: 0.7em 1.4em;
	background: white;
	border: 2px solid #dee2e6;
	border-radius: 0.5em;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: left;
	width: 100%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.payment-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	border-color: #c9a77c;
}

.payment-btn.selected {
	border-color: #c9a77c;
	background: #faf8f5;
}

.payment-btn__icon {
	font-size: 1.76em;
	width: 2.8em;
	height: 2.8em;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8f9fa;
	border-radius: 50%;
	flex-shrink: 0;
}

.payment-btn__content {
	flex: 1;
}

.payment-btn__title {
	font-size: 1.43em;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 0.2em;
}

.payment-btn__subtitle {
	font-size: 0.99em;
	color: #6c757d;
	font-weight: 400;
}

/* Alias Info - inside panel, hidden by default */
.alias-info {
	text-align: center;
	background: #f8f9fa;
	border-radius: 0.625em;
	padding: 1.25em;
	margin-top: 1em;
	border: 1px solid #e9ecef;
	display: none;
	font-size: 1.35em;
}

.alias-info.visible {
	display: block;
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

.amount-option {
	display: flex;
	align-items: center;
	padding: 0.55em 1em 0.45em 0.7em;
	border: 2px solid #dee2e6;
	border-radius: 0.625em;
	margin-bottom: 0;
	cursor: pointer;
	background: white;
	transition: all 0.2s ease;
	gap: 0.35em;
}

.amount-option:hover {
	border-color: #c9a77c;
}

.amount-option.selected {
	border-color: #c9a77c;
	background: #faf8f5;
}

.amount-option input[type="radio"] {
	display: none;
}

.amount-option .radio {
	width: 20px;
	height: 20px;
	border: 2px solid #dee2e6;
	border-radius: 50%;
	margin-right: 0.65em;
	flex-shrink: 0;
	position: relative;
}

.amount-option.selected .radio {
	border-color: #c9a77c;
}

.amount-option.selected .radio::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 10px;
	height: 10px;
	background: #c9a77c;
	border-radius: 50%;
}

.amount-option .info {
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
}

.amount-option .label {
	font-weight: 600;
	color: #2c3e50;
	display: block;
	font-size: 1.32em;
	letter-spacing: -0.025em;
	text-transform: uppercase;
	line-height: 1.15;
	white-space: nowrap;
}

.amount-option .sublabel {
	font-size: 1.17em;
	color: #6c757d;
	line-height: 1;
}

.amount-option .amount {
	font-weight: 700;
	font-size: 1.45em;
	color: #c9a77c;
	margin-left: auto;
	flex-shrink: 0;
	white-space: nowrap;
}

/* Prefer one-line amount titles when space allows */
.transfer-options .amount-option .label {
	font-size: 1.18em;
	letter-spacing: -0.04em;
}

/* Buttons */
.btn-primary {
	display: block;
	width: 100%;
	padding: 1.25em 1.875em;
	background: linear-gradient(135deg, #c9a77c 0%, #b8956b 100%);
	color: white;
	border: none;
	border-radius: 0.625em;
	font-size: 1.51em;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	text-decoration: none;
	margin-top: 0.625em;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(201, 167, 124, 0.4);
}

.btn-whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625em;
	padding: 0.3375em 0.675em;
	background: #25D366;
	color: white;
	border-radius: 0.625em;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	margin-top: 0.5em;
	font-size: 1.25em;
	letter-spacing: -0.015em;
}

.btn-whatsapp:hover {
	background: #128C7E;
	transform: translateY(-2px);
}

/* Alias Info */
.alias-box {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: center;
	gap: 0.1em;
	background: white;
	padding: 1.25em;
	border-radius: 0.625em;
	margin-bottom: 0.25em;
}

.alias-box .label {
	font-size: 1.17em;
	color: #6c757d;
}

.alias-box .value {
	font-size: 1.79em;
	font-weight: 700;
	color: #25d366;
	font-family: 'Courier New', monospace;
	letter-spacing: 1px;
}

.copy-btn {
	background: var(--sum-color-blue, #0075FF);
	border: 1px solid var(--sum-color-blue-hover, #005fd6);
	padding: 0.325em 0.9375em;
	border-radius: 0.3125em;
	cursor: pointer;
	font-size: 1.5em;
	color: #fff;
	transition: all 0.2s ease;
	text-transform: uppercase;
	font-weight: 600;
}

.copy-btn:hover {
	background: var(--sum-color-blue-hover, #005fd6);
	border-color: #0047b3;
	color: #fff;
}

.cta-button {
	position: relative;
}
.cta-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.cta-button::before {
	background: url('/images/icon-hand-white.png') no-repeat center center transparent;
	background-size: auto 100%;
	display: inline-block;
	content: "";
	line-height: 1.7em;
	height: 1.7em;
	width: 1.7em;
	left: auto;
	top: auto;
	right: -0.5em;
	bottom: -0.95em;
	position: absolute;
	animation: up-down 2s infinite;
	transform: rotate(-20deg);
	opacity: 1;
	transition: opacity 0.2s ease;
	pointer-events: none;
}
.cta-button:hover::before,
.cta-button:disabled::before {
	opacity: 0;
}
@keyframes up-down {
  40%, 55% {
		-webkit-transform: rotate(-20deg) scale3d(1,1,1);
		transform: rotate(-20deg) scale3d(1,1,1);
  }
  46% {
    right: 0;
    bottom: -0.65em;
		-webkit-transform: rotate(-20deg) scale3d(0.85,0.85,1);
		transform: rotate(-20deg) scale3d(0.85,0.85,1);
  }
}

.alias-info .name {
	text-align: center;
	font-size: 1.51em;
	color: #6c757d;
	margin-bottom: 0.25em;
}

.alias-instructions {
	background: white;
	border-radius: 0.625em;
	padding: 1.25em;
	margin-bottom: 0.25em;
	text-align: left;
	font-size: 1.1em;
}

.alias-instructions ol {
	margin: 0;
	padding-left: 1.5625em;
}

.alias-instructions li {
	margin: 0 0 0.5em;
	color: #6c757d;
	line-height: 1.2;
}

.alias-instructions li:last-child {
	margin-bottom: 0;
}

/* Loading State */
.loading {
	display: none;
	text-align: center;
	padding: 2.5em;
}

.loading.visible {
	display: block;
}

.spinner {
	width: 40px;
	height: 40px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #c9a77c;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 1.25em;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Error State */
.error-message {
	text-align: center;
	padding: 2.5em;
}

.error-message p {
	color: #6c757d;
	font-size: 1.51em;
	margin-bottom: 1.25em;
}

/* Payment Accordion */
.payment-accordion {
	display: flex;
	flex-direction: column;
	gap: 0.75em;
	margin-bottom: 1em;
}

.payment-card {
	border-radius: 0.75em;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
	transition: box-shadow 0.3s ease;
}

.payment-card--transfer {
	border-left: 4px solid #c9a77c;
}

.payment-card--mp {
	border-left: 4px solid #00b1ea;
}

.payment-card__header {
	display: flex;
	align-items: center;
	gap: 0.85em;
	width: 100%;
	padding: 1.1em 1.25em;
	background: white;
	border: 2px solid #dee2e6;
	border-left: none;
	border-radius: 0 0.75em 0.75em 0;
	cursor: pointer;
	transition: all 0.25s ease;
	text-align: left;
	font-family: inherit;
	font-size: inherit;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.payment-card__header:hover {
	background: #faf8f5;
	border-color: #c9a77c;
}

.payment-card--mp .payment-card__header:hover {
	border-color: #00b1ea;
}

.payment-card__header:focus-visible {
	outline: 3px solid rgba(201, 167, 124, 0.45);
	outline-offset: 2px;
}

.payment-card__header[aria-expanded="true"] {
	background: #faf8f5;
	border-color: #c9a77c;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.payment-card--mp .payment-card__header[aria-expanded="true"] {
	border-color: #00b1ea;
}

.payment-card__icon {
	font-size: 2em;
	flex-shrink: 0;
	width: 1.6em;
	display: flex;
	align-items: center;
	justify-content: center;
}

.payment-card__icon img {
	height: 1.5em;
	width: auto;
}

.payment-card__text {
	flex: 1;
	min-width: 0;
}

.payment-card__title {
	display: block;
	font-size: 1.25em;
	font-weight: 700;
	color: #2c3e50;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.payment-card__subtitle {
	display: block;
	font-size: 0.92em;
	color: #6c757d;
	font-weight: 400;
	line-height: 1.3;
	margin-top: 0.15em;
}

.payment-card__cta {
	display: block;
	font-size: 0.82em;
	color: #c9a77c;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-top: 0.3em;
}

.payment-card--mp .payment-card__cta {
	color: #00b1ea;
}

.payment-card__header[aria-expanded="true"] .payment-card__cta {
	display: none;
}

.payment-card__chevron {
	font-size: 1.1em;
	color: #adb5bd;
	transition: transform 0.3s ease;
	flex-shrink: 0;
}

.payment-card__header[aria-expanded="true"] .payment-card__chevron {
	transform: rotate(180deg);
	color: #6c757d;
}

/* Accordion Body (collapsible panel) */
.payment-card__body {
	background: #f8f9fa;
	border: 2px solid #c9a77c;
	border-top: 1px solid #e9ecef;
	border-left: none;
	border-radius: 0 0 0.75em 0;
	padding: 1.25em;
	display: none;
	animation: accordionOpen 0.3s ease;
}

.payment-card--mp .payment-card__body {
	border-color: #00b1ea;
	border-top-color: #e9ecef;
}

.payment-card__body.active {
	display: block;
}

@keyframes accordionOpen {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Transferencia Panel - Amount Options */
.transfer-options {
	display: flex;
	flex-direction: column;
	gap: 0.75em;
	margin: 0 auto;
	max-width: 400px;
}

/* MercadoPago Panel */
.mp-panel__price-note {
	text-align: center;
	color: #6c757d;
	font-size: 0.99em;
	margin-top: 1em;
	line-height: 1.4;
	text-wrap: balance;
	max-width: 28em;
	margin-left: auto;
	margin-right: auto;
}

.btn-mp-pay {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75em;
	width: 100%;
	padding: 1.25em 1.875em;
	background: #00b1ea;
	color: white;
	border: none;
	border-radius: 0.625em;
	font-size: 1.375em;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-mp-pay:hover {
	background: #0090c1;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(0, 177, 234, 0.4);
}

.btn-mp-pay img {
	height: 1.65em;
	width: auto;
	background: white;
	border-radius: 0.375em;
	padding: 0.25em;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
	.reservation-card {
		padding: 3%;
	}

	.reservation-title {
		font-variation-settings: "slnt" 0, "wdth" 87.5;
		font-size: 2.09em;
	}

	.reservation-subtitle {
		font-size: 1.375em;
	}

	.alias-box .value {
		font-size: 1.51em;
	}
	
	.payment-card__title {
		font-size: 1.1em;
	}
	
	.payment-card__subtitle {
		font-size: 0.85em;
	}
}

@media (max-width: 480px) {
	.reservation-card {
		margin: 0 0.9375em;
	}
	
	.payment-card__header {
		padding: 0.9em 1em;
		gap: 0.65em;
	}
}
.entry-header--inscribirme {
	box-shadow: 0 0.5em 0.125em -0.35em rgba(0,0,0,0.08), 0 0.5em 0.5em rgba(0,0,0,0.02);
}

/* Date Selection Styles */
.date-selection {
	margin-top: 0.35em;
}

.date-selection__label {
	font-size: 1.1em;
	font-weight: 600;
	color: #6c757d;
	margin-bottom: 0.45em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.date-options {
	display: flex;
	flex-direction: column;
	gap: 0.85em;
	max-width: 340px;
	margin-left: auto;
	margin-right: auto;
}

.date-option {
	position: relative;
	background: white;
	border: 2px solid #e0d9d2;
	padding: 0.45em 0.85em 0.45em 0.7em;
	overflow: visible;
}

.date-option:hover:not(.disabled) {
	border-color: #c9a77c;
	background: #faf8f5;
}

.date-option.selected {
	border-color: #c9a77c;
	background: #faf8f5;
}

.date-option.disabled {
	opacity: 0.6;
	cursor: not-allowed;
	background: #f8f9fa;
}

.date-option .radio {
	margin-right: 0.5em;
}

.date-option .label,
.date-option__date {
	font-size: 1.4em;
	text-transform: none;
	white-space: normal;
	line-height: 1.2;
}

.date-option__day,
.date-option__month {
	white-space: nowrap;
}

.date-option .sublabel,
.date-option__city {
	font-size: 0.99em;
	display: block;
	margin-top: 0.15em;
}

.date-option .spots-warning {
	color: #d69e2e;
	font-weight: 500;
}

.date-option .spots-full {
	color: #c53030;
}

.spots-badge {
	position: absolute;
	bottom: 0;
	left: 66%;
	transform: translate(-50%, 50%);
	z-index: 2;
	background: #fffbeb;
	border: 1px solid #c9a77c;
	color: #92400e;
	font-size: 0.78em;
	font-weight: 600;
	line-height: 1.2;
	padding: 0.2em 0.65em;
	border-radius: 999px;
	white-space: nowrap;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	pointer-events: none;
}

.spots-badge--full {
	background: #fef2f2;
	border-color: #f5c2c2;
	color: #c53030;
}

/* Hide the amount column for date options */
.date-option .amount {
	display: none;
}

/* Future date notes */
.future-date-notes {
	margin-top: 1em;
	padding: 0.75em 1em;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 0.5em;
}

.future-date-note {
	font-size: 0.96em;
	color: #92400e;
	margin: 0;
	line-height: 1.4;
}

.future-date-note + .future-date-note {
	margin-top: 0.5em;
}


/* Service selector (was nested inline) */
.service-selector {
	margin-bottom: 1.5rem;
}
.service-selector__label {
	display: block;
	font-size: 0.95rem;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 0.5rem;
}
.service-selector__select {
	width: 100%;
	padding: 0.85rem 1rem;
	font-size: 1rem;
	border: 2px solid #dee2e6;
	border-radius: 0.5rem;
	background: white;
	color: #2c3e50;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
}
.service-selector__select:focus {
	outline: none;
	border-color: #c9a77c;
}

/* MP contact message (was nested inline) */
.mp-contact-message {
	text-align: center;
	padding: 1rem;
}
.mp-contact-message p {
	color: #6c757d;
	margin-bottom: 1rem;
	line-height: 1.5;
}

/* Folded from styles-multistep lp-form-chrome (so that sheet can drop) */
body.lp-form-chrome {
	--header-height: 52px;
}
body.lp-form-chrome .main {
	padding-top: 0;
}

/* =======================================================================
   Phase 2 — layout / sticky summary / touch targets
   ======================================================================= */

.reservar-layout {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: 0 1rem;
	box-sizing: border-box;
}

.reservar-layout__select {
	width: 100%;
	min-width: 0;
}

.reservation-card {
	max-width: none;
	margin: 0;
	width: 100%;
}

.reservar-summary {
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	padding: 1.1rem 1.25rem 1.25rem;
	border: 1px solid #e8e2db;
	order: 0; /* mobile: select first; summary is fixed bottom */
}

.reservar-summary__top {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.reservar-summary__eyebrow {
	margin: 0 0 0.25rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8b8b8b;
}

.reservar-summary__name {
	margin: 0 0 0.35rem;
	font-family: Bebas Neue, ui-rounded, sans-serif;
	font-size: 1.85rem;
	font-weight: 600;
	color: #2c3e50;
	line-height: 1.1;
	letter-spacing: 0.02em;
}

.reservar-summary__meta {
	margin: 0 0 0.85rem;
	font-size: 0.98rem;
	color: #6c757d;
	line-height: 1.35;
}

.reservar-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.75rem;
	padding: 0.35rem 0;
	border-top: 1px solid #eee8e1;
}

.reservar-summary__label {
	font-size: 0.85rem;
	color: #8b8b8b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
}

.reservar-summary__value {
	font-size: 1.05rem;
	font-weight: 600;
	color: #2c3e50;
	text-align: right;
}

.reservar-summary__trust {
	margin: 0.85rem 0 0;
	font-size: 0.88rem;
	color: #6c757d;
	line-height: 1.4;
	text-align: center;
}

.reservar-summary__cta {
	margin-top: 0.85rem;
}

.reservar-summary__btn {
	margin-top: 0;
	min-height: 48px;
}

/* Touch targets: payment headers, amount/date radios, key CTAs */
.payment-card__header {
	min-height: 48px;
}

.amount-option {
	min-height: 48px;
}

.btn-whatsapp,
.btn-mp-pay,
.copy-btn {
	min-height: 48px;
}

.service-selector__select {
	min-height: 48px;
	font-size: 16px; /* avoid iOS zoom */
}

@media (min-width: 768px) and (max-width: 1023px) {
	.reservar-layout {
		max-width: 680px;
	}
}

/* Mobile / tablet: fixed bottom summary so select content comes first */
@media (max-width: 1023px) {
	.main--reservar {
		padding-bottom: calc(var(--reservar-summary-mobile-h, 12.5rem) + env(safe-area-inset-bottom, 0px));
	}

	.reservar-summary {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 45;
		order: 0;
		margin: 0;
		border-radius: 1rem 1rem 0 0;
		border-bottom: none;
		box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.12);
		padding: 0.65rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
		max-height: min(42vh, 18rem);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.reservar-summary__top {
		flex-direction: row;
		justify-content: space-between;
		align-items: baseline;
		gap: 0.65rem;
	}

	.reservar-summary__eyebrow {
		margin: 0;
		flex-shrink: 0;
	}

	.reservar-summary__name {
		margin: 0;
		font-size: 1.25rem;
		text-align: right;
		flex: 1 1 auto;
		min-width: 0;
	}

	.reservar-summary__meta {
		margin: 0.25rem 0 0.45rem;
		text-align: right;
		font-size: 0.88rem;
	}

	.reservar-summary__row {
		padding: 0.2rem 0;
	}

	.reservar-summary__trust {
		margin: 0.45rem 0 0;
		font-size: 0.78rem;
	}

	.reservar-summary__cta {
		margin-top: 0.45rem;
	}

	/* Keep floating WA above the fixed summary bar */
	.whatsapp {
		bottom: calc(var(--reservar-summary-mobile-h, 12.5rem) + 0.75rem);
	}
}

@media (min-width: 1024px) {
	.reservar-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
		align-items: start;
		gap: 1.5rem;
		max-width: 1040px;
	}

	.reservar-summary {
		order: 0;
		grid-column: 2;
		grid-row: 1;
		position: sticky;
		top: calc(var(--reservar-header-height, 7.5rem) + 0.5rem);
		max-height: none;
		overflow: visible;
	}

	.reservar-summary__top {
		flex-direction: row;
		justify-content: space-between;
		align-items: baseline;
		gap: 0.75rem;
		margin-bottom: 0.35rem;
	}

	.reservar-summary__eyebrow {
		margin: 0;
		flex-shrink: 0;
	}

	.reservar-summary__name {
		margin: 0;
		font-size: 1.45rem;
		text-align: right;
		flex: 1 1 auto;
		min-width: 0;
	}

	.reservar-summary__meta {
		text-align: right;
		margin-bottom: 0.75rem;
	}

	.reservar-layout__select {
		grid-column: 1;
		grid-row: 1;
	}
}

@media (max-width: 768px) {
	.reservar-summary__name {
		font-size: 1.15rem;
	}

	.transfer-options .amount-option .label {
		font-size: 1.05em;
		letter-spacing: -0.045em;
	}

	.transfer-options .amount-option .sublabel {
		font-size: 1em;
	}

	.transfer-options .amount-option .amount {
		font-size: 1.28em;
	}
}

@media (max-width: 360px) {
	.transfer-options .amount-option .label {
		white-space: normal;
	}
}

/* Respect HTML hidden against .btn-primary { display:block } */
[hidden],
.reservar-summary__btn[hidden] {
	display: none !important;
}

/* =======================================================================
   Phase 3 — progressive disclosure
   ======================================================================= */

.reservar-disclosure {
	margin-top: 0.75em;
	padding: 0.65em 0.85em;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 0.5em;
	text-align: left;
}

.alias-instructions-wrap.reservar-disclosure {
	background: #fff;
	border-color: #e9ecef;
	margin-bottom: 0.5em;
}

.reservar-disclosure__summary {
	cursor: pointer;
	font-size: 0.95em;
	font-weight: 600;
	color: #6c757d;
	list-style: none;
}

.reservar-disclosure__summary::-webkit-details-marker {
	display: none;
}

.reservar-disclosure__summary::before {
	content: '▸ ';
	color: #c9a77c;
}

.reservar-disclosure[open] > .reservar-disclosure__summary::before {
	content: '▾ ';
}

.reservar-disclosure .future-date-note {
	margin-top: 0.5em;
}

.reservar-disclosure .alias-instructions {
	margin-top: 0.5em;
	padding: 0;
	background: transparent;
}

.mp-contact-message__lead {
	font-weight: 600;
	color: #2c3e50 !important;
	margin-bottom: 0.35rem !important;
}

/* Catalog / product load failure — notice + WA (no broken checkout) */
.reservar-unavailable {
	text-align: center;
	padding: 1.5rem 1rem 1.25rem;
}
.reservar-unavailable__title {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.85rem;
	letter-spacing: 0.02em;
	color: #2c3e50;
	margin: 0 0 0.75rem;
	font-weight: 400;
}
.reservar-unavailable__notice {
	color: #4a5568;
	line-height: 1.55;
	margin: 0 0 1rem;
	font-size: 1.05rem;
}
.reservar-unavailable__meta {
	color: #6c757d;
	font-size: 0.9rem;
	margin: 0 0 1.25rem;
}
.reservar-unavailable__meta code {
	font-size: 0.95em;
	background: rgba(201, 167, 124, 0.15);
	padding: 0.1em 0.35em;
	border-radius: 0.25em;
}
.reservar-layout--unavailable .reservar-summary__cta .btn-whatsapp {
	width: 100%;
	margin-top: 0;
	box-sizing: border-box;
}
.reservar-unavailable .btn-whatsapp {
	width: 100%;
	max-width: 22rem;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* =======================================================================
   Phase 4 — a11y / motion / focus
   ======================================================================= */

.amount-option:focus-within {
	outline: 3px solid rgba(201, 167, 124, 0.45);
	outline-offset: 2px;
}

.copy-btn:focus-visible,
.btn-whatsapp:focus-visible,
.btn-mp-pay:focus-visible,
.reservar-summary__btn:focus-visible,
.service-selector__select:focus-visible,
.reservar-disclosure__summary:focus-visible {
	outline: 3px solid rgba(201, 167, 124, 0.45);
	outline-offset: 2px;
}

.payment-card--mp .btn-mp-pay:focus-visible {
	outline-color: rgba(0, 177, 234, 0.5);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.payment-btn:hover,
	.btn-primary:hover,
	.btn-whatsapp:hover,
	.btn-mp-pay:hover {
		transform: none;
	}

	.cta-button::before {
		animation: none;
	}
}
