/**
 * Book a Tour page styles.
 */

.tt-booking {
	overflow-x: hidden;
}

/* ── Hero ──────────────────────────────────────────────────── */
.tt-booking-hero {
	position: relative;
	min-height: clamp(360px, 45vh, 480px);
	display: flex;
	align-items: flex-end;
	color: #fff;
}

.tt-booking-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.tt-booking-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(26, 10, 46, 0.55) 0%, rgba(26, 10, 46, 0.88) 100%),
		linear-gradient(90deg, rgba(91, 33, 182, 0.35) 0%, transparent 60%);
}

.tt-booking-hero__content {
	position: relative;
	z-index: 1;
	padding: 6rem 0 3rem;
	max-width: 720px;
}

.tt-booking-hero__breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-size: 0.875rem;
	margin-bottom: 1.25rem;
	opacity: 0.9;
}

.tt-booking-hero__breadcrumb a {
	color: #fff;
	text-decoration: none;
}

.tt-booking-hero__breadcrumb a:hover {
	color: var(--tt-accent);
}

.tt-booking-hero__breadcrumb i {
	font-size: 0.65rem;
	opacity: 0.7;
}

.tt-booking-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--tt-accent);
	margin-bottom: 0.75rem;
}

.tt-booking-hero__title {
	font-size: clamp(2rem, 4.5vw, 3rem);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 0.75rem;
}

.tt-booking-hero__subtitle {
	font-size: 1.05rem;
	opacity: 0.92;
	margin-bottom: 0;
	max-width: 560px;
}

/* ── Form section ─────────────────────────────────────────── */
.tt-booking-form-section {
	padding: 3.5rem 0 5rem;
	background: var(--tt-bg-soft, #f8f6fc);
}

.tt-booking-form-card {
	background: #fff;
	border-radius: 1.25rem;
	padding: 2rem;
	box-shadow: 0 4px 24px rgba(26, 10, 46, 0.06);
	border: 1px solid rgba(91, 33, 182, 0.08);
}

@media (min-width: 768px) {
	.tt-booking-form-card {
		padding: 2.5rem;
	}
}

.tt-booking-form__section + .tt-booking-form__section {
	margin-top: 2.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid rgba(26, 10, 46, 0.08);
}

.tt-booking-input {
	border-radius: 0.625rem;
	border-color: rgba(26, 10, 46, 0.12);
	padding: 0.65rem 1rem;
}

.tt-booking-input:focus {
	border-color: var(--tt-primary);
	box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.12);
}

.tt-booking-form__hint {
	font-size: 0.875rem;
	color: var(--tt-text-muted, #6b7280);
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.tt-booking-form__note {
	font-size: 0.875rem;
	color: var(--tt-text-muted, #6b7280);
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.tt-booking-alert {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	border-radius: 0.75rem;
}

/* ── Package selector ─────────────────────────────────────── */
.tt-booking-packages {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-height: 420px;
	overflow-y: auto;
	padding-right: 0.25rem;
}

.tt-booking-package {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	padding: 1rem 1.125rem;
	border: 2px solid rgba(26, 10, 46, 0.1);
	border-radius: 0.875rem;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
	margin-bottom: 0;
}

.tt-booking-package:hover {
	border-color: rgba(91, 33, 182, 0.35);
	background: rgba(91, 33, 182, 0.03);
}

.tt-booking-package.is-selected {
	border-color: var(--tt-primary);
	background: rgba(91, 33, 182, 0.05);
	box-shadow: 0 0 0 1px var(--tt-primary);
}

.tt-booking-package__input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.tt-booking-package__check {
	flex-shrink: 0;
	width: 1.375rem;
	height: 1.375rem;
	border: 2px solid rgba(26, 10, 46, 0.2);
	border-radius: 0.375rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.125rem;
	transition: background 0.2s, border-color 0.2s;
}

.tt-booking-package__check i {
	font-size: 0.875rem;
	color: #fff;
	opacity: 0;
	transition: opacity 0.15s;
}

.tt-booking-package.is-selected .tt-booking-package__check {
	background: var(--tt-primary);
	border-color: var(--tt-primary);
}

.tt-booking-package.is-selected .tt-booking-package__check i {
	opacity: 1;
}

.tt-booking-package__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.tt-booking-package__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--tt-text, #1a0a2e);
}

.tt-booking-package__location {
	font-size: 0.875rem;
	color: var(--tt-text-muted, #6b7280);
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.tt-booking-package__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.8125rem;
	color: var(--tt-text-muted, #6b7280);
	margin-top: 0.25rem;
}

.tt-booking-package__price {
	font-weight: 700;
	color: var(--tt-primary);
	font-size: 0.9375rem;
	margin-left: auto;
}

.tt-booking-packages__count {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--tt-primary);
}

/* ── Sidebar ──────────────────────────────────────────────── */
.tt-booking-aside {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	position: sticky;
	top: 6rem;
}

.tt-booking-aside__card {
	background: #fff;
	border-radius: 1rem;
	padding: 1.5rem;
	box-shadow: 0 4px 20px rgba(26, 10, 46, 0.05);
	border: 1px solid rgba(91, 33, 182, 0.08);
}

.tt-booking-aside__card--vip {
	background: linear-gradient(135deg, rgba(91, 33, 182, 0.06) 0%, rgba(26, 10, 46, 0.04) 100%);
	border-color: rgba(91, 33, 182, 0.15);
}

.tt-booking-aside__title {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.tt-booking-aside__title i {
	color: var(--tt-primary);
}

.tt-booking-aside__steps {
	padding-left: 1.25rem;
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	font-size: 0.9375rem;
	color: var(--tt-text-muted, #6b7280);
}

.tt-booking-aside__steps li::marker {
	color: var(--tt-primary);
	font-weight: 700;
}

.tt-booking-aside__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--tt-primary);
	text-decoration: none;
}

.tt-booking-aside__phone:hover {
	color: var(--tt-primary-dark, #4c1d95);
}

.tt-booking-success-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.tt-booking-form.is-invalid .tt-booking-packages {
	outline: 2px solid #dc3545;
	outline-offset: 4px;
	border-radius: 0.5rem;
}
