/* جریان رزرو — صفحه محصول (تمام‌عرض بین خلاصه و توضیحات) */

@font-face {
	font-family: 'Estedad';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../../includes/Fonts/estedad/Estedad-Regular.woff2') format('woff2');
}

@font-face {
	font-family: 'Estedad';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../../includes/Fonts/estedad/Estedad-Bold.woff2') format('woff2');
}

.rezerva-product-booking,
.rezerva-product-booking *,
.rezerva-ticket-body,
.rezerva-ticket-body *,
.rezerva-frontend-map,
.rezerva-frontend-map *,
.rezerva-seat-map-frontend,
.rezerva-seat-map-frontend *,
.rezerva-manager-bookings-wrap,
.rezerva-manager-bookings-wrap *,
.rezerva-manager-bookings-page,
.rezerva-manager-bookings-page *,
.rezerva-product-manager-entry,
.rezerva-product-manager-entry * {
	font-family: 'Estedad', Tahoma, Arial, sans-serif !important;
}

.single-product .rezerva-product-booking,
.woocommerce div.product .rezerva-product-booking,
main .rezerva-product-booking {
	direction: rtl;
	text-align: right;
	margin: 2rem auto 2.5rem;
	clear: both;
	width: 100%;
	max-width: var( --wp--style--global--wide-size, 100% );
	float: none;
	box-sizing: border-box;
}

.rezerva-booking-shell {
	position: relative;
	padding: 28px 24px 32px;
	border-radius: 20px;
	background: linear-gradient(145deg, var(--rezerva-primary-light, #faf8ff) 0%, var(--rezerva-surface, #f3f0fa) 45%, var(--rezerva-surface-alt, #eef2ff) 100%);
	border: 1px solid var(--rezerva-border, rgba(127, 84, 179, 0.18));
	box-shadow:
		0 4px 24px var(--rezerva-shadow, rgba(127, 84, 179, 0.08)),
		0 1px 3px rgba(0, 0, 0, 0.04);
	overflow: hidden;
}

.rezerva-booking-shell::before {
	content: '';
	position: absolute;
	top: -40%;
	right: -20%;
	width: 55%;
	height: 80%;
	background: radial-gradient(circle, rgba(127, 84, 179, 0.12) 0%, transparent 70%);
	pointer-events: none;
}

.rezerva-booking-header {
	position: relative;
	margin-bottom: 24px;
}

.rezerva-booking-title {
	margin: 0 0 6px;
	font-size: 1.5rem;
	font-weight: 700;
	color: #1d2327;
	letter-spacing: -0.02em;
}

.rezerva-booking-subtitle {
	margin: 0;
	font-size: 0.95rem;
	color: #50575e;
}

.rezerva-booking-step {
	animation: rezerva-step-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rezerva-booking-body--calendar-sessions {
	display: grid;
	grid-template-columns: min( 420px, 44% ) 1fr;
	grid-template-rows: auto 1fr;
	gap: 16px 24px;
	direction: rtl;
	align-items: start;
}

.rezerva-booking-body--calendar-sessions .rezerva-booking-step--date {
	display: contents;
}

.rezerva-booking-body--calendar-sessions .rezerva-booking-cal-prompt {
	grid-column: 1 / -1;
	grid-row: 1;
	margin: 0 0 4px;
	text-align: right;
}

.rezerva-booking-body--calendar-sessions .rezerva-booking-calendar-host {
	grid-column: 1;
	grid-row: 2;
	justify-content: flex-start;
	justify-self: start;
	align-self: start;
	width: 100%;
	max-width: 420px;
}

.rezerva-booking-body--calendar-sessions .rezerva-booking-calendar {
	width: 100%;
	max-width: none;
}

.rezerva-booking-body--calendar-sessions .rezerva-booking-step--sessions {
	grid-column: 2;
	grid-row: 2;
	align-self: stretch;
	min-width: 0;
	animation: none;
	display: flex;
	flex-direction: column;
}

.rezerva-sessions-placeholder {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 280px;
	padding: 28px 24px;
	border-radius: 16px;
	background: #fff;
	border: 1px dashed rgba( 127, 84, 179, 0.32 );
	box-shadow: 0 4px 18px rgba( 79, 47, 131, 0.06 );
	text-align: center;
}

.rezerva-sessions-placeholder__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	color: #7f54b3;
	background: rgba( 127, 84, 179, 0.1 );
}

.rezerva-sessions-placeholder__text {
	margin: 0;
	max-width: 26em;
	font-size: 0.92rem;
	line-height: 1.65;
	color: #646970;
}

.rezerva-booking-body--calendar-sessions .rezerva-sessions-bar--inline-cal {
	margin-bottom: 8px;
}

.rezerva-booking-body--calendar-sessions .rezerva-sessions-grid {
	grid-template-columns: repeat( auto-fill, minmax( 120px, 1fr ) );
	gap: 10px;
}

.rezerva-booking-body--calendar-sessions .rezerva-booking-step--map {
	grid-column: 1 / -1;
	width: 100%;
}

@media ( max-width: 768px ) {
	.rezerva-booking-body--calendar-sessions {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.rezerva-booking-body--calendar-sessions .rezerva-booking-step--date {
		display: block;
	}

	.rezerva-booking-body--calendar-sessions .rezerva-booking-cal-prompt {
		text-align: center;
	}

	.rezerva-booking-body--calendar-sessions .rezerva-booking-calendar-host {
		justify-content: center;
		justify-self: stretch;
		max-width: none;
	}

	.rezerva-booking-body--calendar-sessions .rezerva-booking-step--sessions {
		width: 100%;
	}
}

@keyframes rezerva-step-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* کارت تاریخ خاص — حالت قهرمان */

.rezerva-date-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	padding: 32px 28px 28px;
	border: none;
	border-radius: 20px;
	cursor: pointer;
	text-align: center;
	color: var(--rezerva-date-hero-text, #fff);
	background: linear-gradient(
		135deg,
		var(--rezerva-primary, #7f54b3) 0%,
		var(--rezerva-primary-dark, #674399) 50%,
		var(--rezerva-date-hero-end, #5a3d8a) 100%
	);
	box-shadow:
		0 12px 40px var(--rezerva-date-hero-shadow, rgba(127, 84, 179, 0.45)),
		0 4px 12px rgba(0, 0, 0, 0.08);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
	overflow: hidden;
}

.rezerva-date-hero:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow:
		0 18px 48px var(--rezerva-date-hero-shadow, rgba(127, 84, 179, 0.5)),
		0 6px 16px rgba(0, 0, 0, 0.1);
}

.rezerva-date-hero:active {
	transform: translateY(-1px) scale(1.01);
}

.rezerva-date-hero-glow {
	position: absolute;
	inset: -50%;
	background: conic-gradient(
		from 0deg,
		transparent,
		rgba(255, 255, 255, 0.15),
		transparent 40%
	);
	animation: rezerva-hero-spin 8s linear infinite;
	pointer-events: none;
}

@keyframes rezerva-hero-spin {
	to {
		transform: rotate(360deg);
	}
}

.rezerva-date-hero-icon {
	font-size: 2rem;
	line-height: 1;
	animation: rezerva-icon-bounce 2.5s ease-in-out infinite;
}

@keyframes rezerva-icon-bounce {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-6px);
	}
}

.rezerva-date-hero-kicker {
	position: relative;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.9;
}

.rezerva-date-hero-title {
	position: relative;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.4;
	max-width: 100%;
}

.rezerva-date-hero-short {
	position: relative;
	font-size: 1rem;
	opacity: 0.85;
}

.rezerva-date-hero-cta {
	position: relative;
	margin-top: 8px;
	padding: 10px 22px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	font-size: 0.9rem;
	font-weight: 600;
	backdrop-filter: blur(4px);
}

/* چند تاریخ (تکرارشونده) */

.rezerva-date-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 12px;
}

.rezerva-date-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 16px 18px;
	border: 1px solid var(--rezerva-date-card-border, #dcdcde);
	border-radius: 14px;
	background: #fff;
	cursor: pointer;
	text-align: right;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.rezerva-date-card:hover {
	border-color: var(--rezerva-primary, #7f54b3);
	box-shadow: 0 6px 20px var(--rezerva-shadow, rgba(127, 84, 179, 0.15));
	transform: translateY(-2px);
}

.rezerva-date-card-title {
	font-size: 0.9rem;
	font-weight: 600;
	color: #1d2327;
	line-height: 1.4;
}

.rezerva-date-card-short {
	font-size: 0.8rem;
	color: #7f54b3;
}

/* تقویم شمسی — برنامه تکراری (فرانت) */

.rezerva-booking-cal-prompt {
	margin: 0 0 16px;
	font-size: 0.95rem;
	color: #50575e;
	text-align: center;
}

.rezerva-booking-calendar-host {
	display: flex;
	justify-content: center;
}

.rezerva-booking-calendar {
	width: 100%;
	max-width: 400px;
	padding: 18px 16px 14px;
	border-radius: 18px;
	background: linear-gradient(
		165deg,
		var(--rezerva-calendar-bg, #fff) 0%,
		var(--rezerva-calendar-bg-mid, #faf8ff) 55%,
		var(--rezerva-calendar-bg-end, #f5f0fc) 100%
	);
	border: 1px solid var(--rezerva-calendar-border, rgba(127, 84, 179, 0.2));
	box-shadow:
		0 12px 36px var(--rezerva-shadow, rgba(127, 84, 179, 0.12)),
		0 2px 8px rgba(0, 0, 0, 0.04);
}

.rezerva-booking-cal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}

.rezerva-booking-cal-title {
	flex: 1;
	text-align: center;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--rezerva-text, #1d2327);
}

.rezerva-booking-cal-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-size: 1.5rem;
	line-height: 1;
	color: var(--rezerva-primary, #7f54b3);
	background: #fff;
	border: 1px solid rgba(127, 84, 179, 0.25);
	border-radius: 12px;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.rezerva-booking-cal-nav:hover {
	background: #f3eef9;
	transform: translateY( -2px );
	box-shadow: 0 4px 12px rgba(127, 84, 179, 0.18);
}

.rezerva-booking-cal-dow {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 5px;
	margin-bottom: 8px;
}

.rezerva-booking-cal-dow-cell {
	text-align: center;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--rezerva-calendar-dow, var(--rezerva-primary, #7f54b3));
	padding: 4px 0;
}

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

.rezerva-booking-cal-cell--empty {
	min-height: 42px;
}

.rezerva-booking-cal-cell--muted {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	color: var(--rezerva-calendar-muted, #c3c4c7);
	background: transparent;
	border-radius: 11px;
}

.rezerva-booking-cal-cell--available {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0;
	font: inherit;
	color: #fff;
	background: linear-gradient(
		145deg,
		var(--rezerva-calendar-day-light, #9b6fc9) 0%,
		var(--rezerva-primary, #7f54b3) 50%,
		var(--rezerva-calendar-day-dark, #6a4496) 100%
	);
	border: none;
	border-radius: 11px;
	cursor: pointer;
	box-shadow: 0 2px 8px var(--rezerva-calendar-shadow, rgba(127, 84, 179, 0.28));
	transition: transform 0.12s ease, box-shadow 0.15s ease;
}

.rezerva-booking-cal-cell--available:hover {
	transform: translateY( -2px ) scale( 1.04 );
	box-shadow: 0 6px 16px var(--rezerva-calendar-shadow, rgba(127, 84, 179, 0.38));
}

.rezerva-booking-cal-cell--available.is-selected {
	box-shadow:
		0 0 0 3px #fff,
		0 0 0 5px var(--rezerva-success, #2e7d32),
		0 4px 14px rgba(46, 125, 50, 0.35);
}

.rezerva-booking-cal-cell.is-today .rezerva-booking-cal-day {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rezerva-booking-cal-day {
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1;
}

.rezerva-booking-cal-hint {
	margin: 12px 0 0;
	font-size: 0.78rem;
	color: var(--rezerva-calendar-hint, var(--rezerva-text-muted, #646970));
	text-align: center;
	line-height: 1.5;
}

/* تقویم رزرو تایمی */
.rezerva-booking-calendar-host--timed {
	width: 100%;
	max-width: none;
}

.rezerva-booking-calendar--timed {
	max-width: none;
	width: 100%;
	padding: 22px 20px 16px;
	border-radius: 22px;
	background: linear-gradient(
		160deg,
		var(--rezerva-calendar-bg, #fff) 0%,
		var(--rezerva-calendar-bg-mid, #f8f4ff) 40%,
		var(--rezerva-calendar-bg-end, #efe6fa) 100%
	);
	border: 1px solid var(--rezerva-calendar-border, rgba(127, 84, 179, 0.28));
	box-shadow:
		0 16px 48px var(--rezerva-shadow, rgba(79, 47, 131, 0.14)),
		0 4px 12px rgba(0, 0, 0, 0.05),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.rezerva-booking-calendar--timed .rezerva-booking-cal-title {
	font-size: 1.15rem;
}

.rezerva-booking-calendar--timed .rezerva-booking-cal-nav {
	width: 44px;
	height: 44px;
	border-radius: 14px;
}

.rezerva-booking-calendar--timed .rezerva-booking-cal-cell--available {
	min-height: 46px;
	border-radius: 13px;
	background: linear-gradient( 145deg, #b88fd9 0%, #7f54b3 45%, #5c3d8a 100% );
}

.rezerva-booking-calendar--timed .rezerva-booking-cal-cell--available.is-selected {
	background: linear-gradient( 145deg, #43a047 0%, #2e7d32 55%, #1b5e20 100% );
	box-shadow:
		0 0 0 3px #fff,
		0 0 0 5px var(--rezerva-success, #2e7d32),
		0 6px 18px rgba( 46, 125, 50, 0.4 );
}

.rezerva-product-booking--timed .rezerva-booking-cal-prompt {
	font-size: 1rem;
	font-weight: 600;
	color: #3d2a5c;
}

/* رزرو تایمی — تقویم + سانس کنار هم */
.rezerva-timed-picker {
	display: grid;
	grid-template-columns: min( 500px, 48% ) 1fr;
	grid-template-rows: auto auto;
	gap: 16px;
	direction: rtl;
	align-items: center;
}

.rezerva-timed-picker__calendar {
	display: contents;
}

.rezerva-timed-picker .rezerva-booking-cal-prompt {
	grid-column: 1 / -1;
	grid-row: 1;
	width: 100%;
	margin: 0 0 4px;
	text-align: right;
}

.rezerva-timed-picker .rezerva-booking-calendar-host--timed {
	grid-column: 1;
	grid-row: 2;
	width: 100%;
	justify-content: flex-start;
	align-self: start;
}

.rezerva-timed-picker .rezerva-booking-calendar--timed {
	min-width: 0;
}

.rezerva-timed-picker__slots {
	grid-column: 2;
	grid-row: 2;
	align-self: center;
	flex: 1 1 auto;
	min-width: min( 100%, 420px );
	max-height: min( 560px, 70vh );
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 0;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba( 127, 84, 179, 0.18 );
	box-shadow: 0 4px 18px rgba( 79, 47, 131, 0.08 );
}

.rezerva-timed-slots-scroll {
	flex: 1 1 auto;
	min-height: 0;
	min-width: 0;
	overflow-y: auto;
	padding: 10px 10px 12px;
}

.rezerva-timed-picker__slots--confirm-open .rezerva-timed-slots-scroll {
	display: none;
}

.rezerva-timed-picker__empty {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.55;
	color: #646970;
	text-align: center;
	padding: 20px 10px;
}

.rezerva-timed-slots-side__head {
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba( 127, 84, 179, 0.12 );
}

.rezerva-timed-slots-side__head-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.rezerva-timed-slots-side__title {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 700;
	color: #1d2327;
}

.rezerva-timed-slots-side__count {
	flex-shrink: 0;
	padding: 2px 8px;
	font-size: 0.72rem;
	font-weight: 700;
	color: #7f54b3;
	background: rgba( 127, 84, 179, 0.1 );
	border-radius: 999px;
}

.rezerva-timed-slots-side__date {
	margin: 6px 0 0;
	font-size: 0.78rem;
	color: #646970;
	font-weight: 600;
}

.rezerva-timed-slots-empty-msg {
	margin: 8px 0 0;
	font-size: 0.82rem;
	text-align: center;
}

.rezerva-timed-slots-list {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 8px;
}

.rezerva-timed-slots-list .rezerva-timed-slot-item {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 10px;
	min-height: 52px;
	text-align: left;
}

.rezerva-timed-slots-list .rezerva-timed-slot-item__clock {
	align-self: center;
	flex-shrink: 0;
}

.rezerva-timed-slots-list .rezerva-timed-slot-item__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.rezerva-timed-slots-list .rezerva-timed-slot-item__meta {
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 3px;
	width: auto;
	min-width: 0;
}

.rezerva-timed-slot-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 7px 10px;
	border: 1px solid rgba( 127, 84, 179, 0.14 );
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	text-align: right;
	transition:
		border-color 0.18s ease,
		background 0.18s ease,
		box-shadow 0.18s ease;
}

.rezerva-timed-slot-item:hover:not( .is-disabled ):not( :disabled ) {
	border-color: rgba( 127, 84, 179, 0.45 );
	background: #fdfbff;
	box-shadow: 0 2px 10px rgba( 127, 84, 179, 0.1 );
}

.rezerva-timed-slot-item.is-selected {
	border-color: #2e7d32;
	background: linear-gradient( 135deg, #f6fff3 0%, #edf7e8 100% );
	box-shadow: 0 0 0 1px rgba( 46, 125, 50, 0.15 );
}

.rezerva-timed-slot-item.is-selected .rezerva-timed-slot-item__clock {
	background: linear-gradient( 145deg, #e8f5e9 0%, #f1f8e9 100% );
	border-color: rgba( 46, 125, 50, 0.25 );
}

.rezerva-timed-slot-item.is-disabled,
.rezerva-timed-slot-item:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: #f8f8f8;
	box-shadow: none;
}

.rezerva-timed-slot-item.is-session-disabled {
	opacity: 0.78;
	border-style: dashed;
	border-color: #c3c4c7;
}

.rezerva-product-booking .rezerva-timed-slot-item.is-session-disabled:not(:disabled) {
	cursor: pointer;
	opacity: 0.88;
}

.rezerva-product-booking .rezerva-timed-slot-item.is-session-disabled.is-selected {
	opacity: 1;
	border-style: solid;
	border-color: #2e7d32;
}

.rezerva-session-status--disabled {
	color: #b32d2e;
}

.rezerva-timed-slot-item__clock {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 48px;
	padding: 4px 7px;
	border-radius: 8px;
	background: linear-gradient( 145deg, #faf8ff 0%, #f3f0fa 100% );
	border: 1px solid rgba( 127, 84, 179, 0.12 );
}

.rezerva-timed-slot-item__clock--single {
	min-width: 52px;
}

.rezerva-timed-slot-item__start {
	font-size: 0.82rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: #1d2327;
	line-height: 1.15;
	letter-spacing: 0.01em;
}

.rezerva-timed-slot-item__dash {
	display: block;
	width: 1.5px;
	height: 7px;
	border-radius: 999px;
	background: linear-gradient(
		to bottom,
		rgba( 127, 84, 179, 0.55 ) 0%,
		rgba( 127, 84, 179, 0.15 ) 100%
	);
}

.rezerva-timed-slot-item__end {
	font-size: 0.68rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: #646970;
	line-height: 1.15;
}

.rezerva-timed-slot-item__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.rezerva-timed-slot-item__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.rezerva-timed-slots-list .rezerva-timed-slot-item__price {
	font-size: 0.72rem;
	font-weight: 700;
	color: #7f54b3;
	line-height: 1.25;
}

.rezerva-timed-slots-list .rezerva-timed-slot-item__status {
	padding: 2px 6px;
	font-size: 0.62rem;
}

.rezerva-timed-slot-item__price {
	font-size: 0.74rem;
	font-weight: 700;
	color: #7f54b3;
	line-height: 1.3;
}

.rezerva-timed-slot-item__status {
	padding: 2px 7px;
	font-size: 0.65rem;
	font-weight: 700;
	border-radius: 999px;
	line-height: 1.3;
	white-space: nowrap;
}

.rezerva-timed-picker__confirm {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	margin-top: 0;
	padding: 10px 12px 12px;
	overflow-x: hidden;
	overflow-y: auto;
	border-top: none;
	background: #f8f7fb;
}

.rezerva-timed-picker__slots--confirm-open .rezerva-timed-picker__confirm {
	box-shadow: none;
}

.rezerva-timed-confirm {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 100%;
}

.rezerva-timed-confirm__body {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 10px;
	padding-top: 24px;
}

.rezerva-timed-confirm-close {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: 8px;
	background: transparent;
	color: #646970;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.rezerva-timed-confirm-close:hover {
	background: rgba( 127, 84, 179, 0.12 );
	color: #7f54b3;
}

.rezerva-timed-confirm__section {
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba( 127, 84, 179, 0.12 );
	box-shadow: 0 1px 4px rgba( 79, 47, 131, 0.05 );
}

.rezerva-timed-confirm__section--slot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
	padding: 14px 12px;
	background: linear-gradient( 145deg, #fff 0%, #faf8ff 100% );
}

.rezerva-timed-confirm__slot-label {
	font-size: 0.78rem;
	font-weight: 600;
	color: #646970;
}

.rezerva-timed-confirm__slot-time {
	font-size: 1.15rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: #1d2327;
	letter-spacing: 0.02em;
}

.rezerva-timed-confirm__message {
	margin: 0;
	padding: 10px 14px;
	font-size: 0.88rem;
	line-height: 1.55;
	color: #50575e;
	background: rgba(127, 84, 179, 0.06);
	border-radius: 10px;
}

.rezerva-timed-confirm__section--quantity {
	padding-top: 10px;
	padding-bottom: 10px;
}

.rezerva-timed-confirm__section--quantity .rezerva-timed-quantity-field {
	margin: 0;
}

.rezerva-timed-confirm__section--quantity .rezerva-timed-quantity-label {
	margin-bottom: 8px;
	font-size: 0.82rem;
	color: #50575e;
}

.rezerva-timed-confirm__section--quantity .rezerva-timed-quantity-select {
	width: 100%;
	max-width: none;
}

.rezerva-timed-confirm__section--fields {
	padding: 0;
	overflow: visible;
}

.rezerva-timed-confirm__section--fields .rezerva-custom-fields {
	margin: 0;
	padding: 12px 14px;
	border-top: none;
}

.rezerva-timed-confirm__section--fields .rezerva-custom-fields__title {
	margin: 0 0 12px;
	padding-bottom: 8px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #50575e;
	border-bottom: 1px solid rgba( 127, 84, 179, 0.1 );
}

.rezerva-timed-confirm__section--fields .rezerva-custom-field {
	display: block;
	margin-bottom: 14px;
}

.rezerva-timed-confirm__section--fields .rezerva-custom-field:last-child {
	margin-bottom: 0;
}

.rezerva-timed-confirm__section--fields .rezerva-custom-field--select {
	display: block;
}

.rezerva-timed-confirm__section--fields .rezerva-custom-field__label {
	display: block;
	margin-bottom: 7px;
	font-size: 0.82rem;
	font-weight: 600;
	color: #1d2327;
}

.rezerva-timed-confirm__section--fields .rezerva-custom-field__label .required {
	color: #b32d2e;
}

.rezerva-timed-confirm__section--fields .rezerva-custom-field__input {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 9px 11px;
	font-size: 0.88rem;
	border: 1px solid rgba( 127, 84, 179, 0.18 );
	border-radius: 9px;
	background: #fafafa;
	color: #1d2327;
	opacity: 1;
	visibility: visible;
}

.rezerva-timed-confirm__section--fields .rezerva-custom-field__select-wrap {
	display: block;
	width: 100%;
	position: relative;
}

.rezerva-timed-confirm__section--fields select.rezerva-custom-field__input,
.rezerva-timed-confirm__section--fields .rezerva-custom-field__select {
	display: block !important;
	width: 100% !important;
	min-height: 44px;
	padding: 9px 12px 9px 11px;
	line-height: 1.4;
	cursor: pointer;
	-webkit-appearance: menulist;
	-moz-appearance: menulist;
	appearance: auto;
	background-color: #fafafa !important;
	color: #1d2327 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.rezerva-timed-confirm__section--fields .rezerva-custom-field__input:focus {
	outline: none;
	border-color: #7f54b3;
	background: #fff;
	box-shadow: 0 0 0 2px rgba( 127, 84, 179, 0.15 );
}

.rezerva-timed-confirm__section--fields select.rezerva-custom-field__input:focus {
	background-color: #fff !important;
}

.rezerva-timed-confirm__section--fields .rezerva-custom-field__radios {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rezerva-timed-confirm__section--fields .rezerva-custom-field__radio {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 10px 12px;
	border: 1.5px solid rgba( 127, 84, 179, 0.14 );
	border-radius: 10px;
	background: #fafafa;
	cursor: pointer;
	transition:
		border-color 0.15s ease,
		background 0.15s ease;
}

.rezerva-timed-confirm__section--fields .rezerva-custom-field__radio:hover {
	border-color: rgba( 127, 84, 179, 0.35 );
	background: #fff;
}

.rezerva-timed-confirm__section--fields .rezerva-custom-field__radio input {
	margin: 0;
	flex-shrink: 0;
	accent-color: #7f54b3;
}

.rezerva-timed-confirm__section--fields .rezerva-custom-field__radio:has( input:checked ) {
	border-color: #7f54b3;
	background: #faf8ff;
}

.rezerva-timed-confirm__section--fields .rezerva-custom-field__checkbox {
	padding: 8px 0;
}

.rezerva-timed-confirm__checkout {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 14px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba( 127, 84, 179, 0.14 );
	box-shadow: 0 -4px 16px rgba( 79, 47, 131, 0.06 );
}

.rezerva-timed-confirm__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.rezerva-timed-confirm__total-label {
	font-size: 0.88rem;
	font-weight: 600;
	color: #50575e;
}

.rezerva-timed-confirm__total-value {
	font-size: 1.1rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: #7f54b3;
}

.rezerva-timed-confirm__checkout .rezerva-booking-btn {
	margin-top: 0;
}

.rezerva-timed-picker__confirm.is-hidden,
.rezerva-timed-picker__confirm[hidden] {
	display: none !important;
}

.rezerva-timed-picker__confirm .rezerva-map-summary {
	margin: 0;
}

.rezerva-timed-picker__confirm .rezerva-summary-title {
	margin: 0 0 8px;
	font-size: 0.95rem;
}

.rezerva-timed-quantity-field {
	margin: 12px 0 0;
}

.rezerva-timed-quantity-label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.875rem;
	font-weight: 600;
}

.rezerva-timed-quantity-select {
	width: 100%;
	max-width: 160px;
	padding: 8px 10px;
	border: 1px solid var( --rezerva-border, #dcdcde );
	border-radius: 8px;
	background: #fff;
	font: inherit;
}

.rezerva-session-status--free {
	color: #1b5e20;
	background: #e8f5e9;
}

.rezerva-session-status--past {
	color: #616161;
	background: #eeeeee;
}

.rezerva-session-status--booked {
	color: #b71c1c;
	background: #ffebee;
}

.rezerva-custom-fields {
	margin: 14px 0 0;
	padding-top: 14px;
	border-top: 1px solid var( --rezerva-border, #e8e8e8 );
}

.rezerva-custom-fields__title {
	margin: 0 0 12px;
	font-size: 0.9rem;
	font-weight: 700;
}

.rezerva-custom-field {
	margin-bottom: 12px;
}

.rezerva-custom-field__label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.85rem;
	font-weight: 600;
}

.rezerva-custom-field__input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var( --rezerva-border, #dcdcde );
	border-radius: 8px;
	background: #fff;
	font: inherit;
	box-sizing: border-box;
}

.rezerva-custom-field__select-wrap {
	display: block;
	width: 100%;
}

.rezerva-product-booking select.rezerva-custom-field__input,
.rezerva-product-booking .rezerva-custom-field__select {
	display: block !important;
	width: 100% !important;
	min-height: 44px;
	cursor: pointer;
	-webkit-appearance: menulist;
	-moz-appearance: menulist;
	appearance: auto;
	opacity: 1 !important;
	visibility: visible !important;
	color: #1d2327 !important;
	background-color: #fff !important;
}

.rezerva-custom-field__radios {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rezerva-custom-field__radio,
.rezerva-custom-field__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 0.875rem;
	cursor: pointer;
}

.rezerva-custom-field__radio input,
.rezerva-custom-field__checkbox input {
	margin-top: 3px;
	flex-shrink: 0;
}

@media ( max-width: 768px ) {
	.rezerva-timed-picker {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.rezerva-timed-picker__calendar {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		min-width: 0;
	}

	.rezerva-timed-picker .rezerva-booking-cal-prompt {
		grid-column: auto;
		grid-row: auto;
	}

	.rezerva-timed-picker .rezerva-booking-calendar-host--timed {
		grid-column: auto;
		grid-row: auto;
		align-self: auto;
		justify-content: center;
	}

	.rezerva-timed-picker__slots {
		grid-column: auto;
		grid-row: auto;
		align-self: auto;
		max-width: none;
		width: 100%;
		max-height: min( 42vh, 360px );
	}

	.rezerva-timed-slots-list {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 520px ) {
	.rezerva-timed-slots-list {
		grid-template-columns: 1fr;
	}
}

/* سانس‌ها */

.rezerva-sessions-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.rezerva-booking-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	background: #fff;
	color: #50575e;
	font-size: 0.85rem;
	cursor: pointer;
	transition:
		border-color 0.15s ease,
		color 0.15s ease;
}

.rezerva-booking-back:hover {
	border-color: #7f54b3;
	color: #7f54b3;
}

.rezerva-sessions-selected-label {
	font-size: 0.95rem;
	font-weight: 600;
	color: #1d2327;
}

.rezerva-sessions-prompt,
.rezerva-map-prompt {
	margin: 0 0 14px;
	font-size: 0.95rem;
	color: #50575e;
}

.rezerva-map-pan-hint {
	margin: 8px 0 0;
	padding: 0 4px;
	font-size: 0.78rem;
	line-height: 1.5;
	color: #787c82;
	text-align: center;
}

.rezerva-sessions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
}

.rezerva-session-card {
	padding: 18px 16px;
	border: 2px solid transparent;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	cursor: pointer;
	text-align: center;
	transition:
		border-color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.rezerva-session-card:hover {
	border-color: #7f54b3;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(127, 84, 179, 0.18);
}

.rezerva-session-card-time {
	font-size: 1rem;
	font-weight: 700;
	color: #1d2327;
}

.rezerva-session-card.is-selected {
	border-color: #7f54b3;
	box-shadow: 0 8px 24px rgba(127, 84, 179, 0.18);
}

.rezerva-session-card.is-session-disabled {
	opacity: 0.72;
	cursor: not-allowed;
	background: #f6f7f7;
}

.rezerva-session-card.is-session-disabled:hover {
	border-color: transparent;
	transform: none;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.rezerva-product-booking .rezerva-session-card.is-session-disabled:not(:disabled) {
	cursor: pointer;
	opacity: 0.85;
	border-style: dashed;
	border-color: #c3c4c7;
}

.rezerva-product-booking .rezerva-session-card.is-session-disabled.is-selected {
	border-style: solid;
	border-color: #7f54b3;
	opacity: 1;
}

.rezerva-session-card-badge {
	display: block;
	margin-top: 6px;
	font-size: 0.75rem;
	font-weight: 600;
	color: #b32d2e;
}

.rezerva-manager-session-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-bottom: 16px;
	padding: 14px 16px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(127, 84, 179, 0.08), rgba(127, 84, 179, 0.03));
	border: 1px solid rgba(127, 84, 179, 0.18);
}

.rezerva-manager-session-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 18px;
	border: 0;
	border-radius: 10px;
	background: #7f54b3;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.rezerva-manager-session-toggle:hover:not(:disabled) {
	background: #6b4499;
}

.rezerva-manager-session-toggle:disabled,
.rezerva-manager-session-toggle.is-loading {
	opacity: 0.65;
	cursor: wait;
}

.rezerva-manager-session-toolbar__meta {
	font-size: 0.875rem;
	font-weight: 600;
	color: #50575e;
}

.rezerva-sessions-grid--timed {
	grid-template-columns: repeat( auto-fill, minmax( 168px, 1fr ) );
	gap: 14px;
}

.rezerva-session-card--timed {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	padding: 16px 14px;
	text-align: right;
}

.rezerva-session-card--timed .rezerva-session-card-time {
	font-size: 1.05rem;
}

.rezerva-session-card-price {
	font-size: 0.92rem;
	font-weight: 700;
	color: #7f54b3;
}

.rezerva-session-status {
	display: inline-flex;
	align-self: flex-start;
	padding: 3px 10px;
	font-size: 0.72rem;
	font-weight: 700;
	border-radius: 999px;
}

.rezerva-session-status--free {
	color: #1b5e20;
	background: #e8f5e9;
}

.rezerva-session-status--past {
	color: #616161;
	background: #eeeeee;
}

.rezerva-session-status--booked {
	color: #b71c1c;
	background: #ffebee;
}

.rezerva-session-card--timed.is-disabled,
.rezerva-session-card--timed:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
	box-shadow: 0 1px 4px rgba( 0, 0, 0, 0.06 );
	border-color: #e0e0e0;
}

.rezerva-session-card--timed.is-disabled:hover,
.rezerva-session-card--timed:disabled:hover {
	border-color: #e0e0e0;
	transform: none;
	box-shadow: 0 1px 4px rgba( 0, 0, 0, 0.06 );
}

.rezerva-sessions-loading {
	text-align: center;
	color: #7f54b3;
}

.rezerva-booking-notice {
	margin: 12px 0 0;
	padding: 12px 16px;
	border-radius: 10px;
	background: #fff3cd;
	border: 1px solid #ffc107;
	color: #6d4c00;
	font-size: 0.9rem;
}

.rezerva-booking-notice--success {
	background: #e8f5e9;
	border-color: #81c784;
	color: #2e7d32;
}

/* نقشه + راهنما */

.rezerva-map-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.rezerva-map-toolbar-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 0.9rem;
	color: #50575e;
}

.rezerva-map-toolbar-session {
	padding: 4px 12px;
	border-radius: 999px;
	background: #7f54b3;
	color: #fff;
	font-weight: 600;
	font-size: 0.85rem;
}

.rezerva-map-layout {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) minmax( 280px, 340px );
	gap: 24px;
	align-items: start;
}

/* RTL: ستون دوم (راهنما + انتخاب‌ها) سمت چپ صفحه */
.rezerva-product-booking .rezerva-map-sidebar {
	grid-column: 2;
	grid-row: 1;
}

.rezerva-product-booking .rezerva-map-main {
	grid-column: 1;
	grid-row: 1;
}

@media (max-width: 960px) {
	.rezerva-map-layout {
		grid-template-columns: 1fr;
	}

	.rezerva-product-booking .rezerva-map-sidebar,
	.rezerva-product-booking .rezerva-map-main {
		grid-column: 1;
	}
}

.rezerva-map-main {
	min-width: 0;
	width: 100%;
	min-height: min( 72vh, 720px );
}

.rezerva-booking-map-host {
	position: relative;
	width: 100%;
	max-width: 100%;
	min-height: min( 68vh, 680px );
	max-height: none;
	overflow: hidden;
	display: block;
	border-radius: 14px;
	border: 1px solid #dcdcde;
	background: #eef0f3;
}

.rezerva-booking-map-canvas {
	display: block;
	position: absolute;
	inset: 0;
	overflow: hidden;
	line-height: 0;
	cursor: grab;
	touch-action: none;
}

.rezerva-booking-map-canvas.is-panning {
	cursor: grabbing;
}

.rezerva-map-zoom {
	position: absolute;
	inset-inline-end: 12px;
	bottom: 12px;
	z-index: 6;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
	padding: 8px;
	border-radius: 12px;
	background: rgba( 255, 255, 255, 0.94 );
	border: 1px solid #dcdcde;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.12 );
}

.rezerva-map-zoom-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	background: #fff;
	color: #1d2327;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition:
		background 0.15s ease,
		border-color 0.15s ease;
}

.rezerva-map-zoom-btn:hover {
	background: #f6f7f7;
	border-color: #7f54b3;
	color: #7f54b3;
}

.rezerva-map-zoom-btn--reset {
	font-size: 1rem;
}

.rezerva-map-zoom-level {
	display: block;
	min-width: 36px;
	padding: 4px 0;
	font-size: 0.72rem;
	font-weight: 600;
	color: #50575e;
	text-align: center;
}

.rezerva-booking-map-host--loading {
	min-height: min( 68vh, 680px );
	display: block;
}

.rezerva-booking-map-host--loading .rezerva-map-loading {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	margin: 0;
	padding: 16px 28px;
	font-size: 1rem;
	font-weight: 600;
	color: #50575e;
	text-align: center;
	white-space: nowrap;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 10px;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.rezerva-map-sidebar {
	display: flex;
	flex-direction: column;
	gap: 8px;
	position: sticky;
	top: 24px;
	max-height: calc( 100vh - 48px );
	overflow-y: auto;
	padding-inline-start: 2px;
}

.rezerva-map-sidebar-panel {
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba( 127, 84, 179, 0.14 );
	box-shadow: 0 2px 10px rgba( 79, 47, 131, 0.05 );
}

.rezerva-map-sidebar-panel__title {
	margin: 0 0 8px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #3d2a5c;
	letter-spacing: -0.01em;
}

.rezerva-map-sidebar-panel--legend {
	padding: 10px 12px;
}

.rezerva-map-sidebar-panel--legend .rezerva-map-legend {
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.rezerva-map-sidebar-panel--checkout {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 10px 12px;
	background: linear-gradient( 165deg, #fff 0%, #faf8ff 100% );
	border-color: rgba( 127, 84, 179, 0.2 );
}

.rezerva-map-sidebar-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid rgba( 127, 84, 179, 0.12 );
}

.rezerva-map-sidebar-total__label {
	font-size: 0.82rem;
	font-weight: 600;
	color: #50575e;
}

.rezerva-map-sidebar-total__value {
	font-size: 1rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: #7f54b3;
	white-space: nowrap;
}

.rezerva-map-sidebar-panel--checkout .rezerva-booking-btn {
	margin-top: 0;
	padding: 10px 16px;
	font-size: 0.88rem;
}

.rezerva-map-seats-box {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	min-height: 0;
	padding: 8px 10px;
	border-radius: 10px;
	background: #fafafa;
	border: 1px solid rgba( 127, 84, 179, 0.1 );
}

.rezerva-map-seats-box.is-empty {
	min-height: 36px;
	align-items: center;
	justify-content: center;
	border-style: dashed;
	background: #fcfcfd;
}

.rezerva-map-seats-empty {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.45;
	color: #8c8f94;
	text-align: center;
}

.rezerva-map-seat-chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	color: #2e7d32;
	background: rgba( 46, 125, 50, 0.1 );
	border: 1px solid rgba( 46, 125, 50, 0.22 );
}

.rezerva-map-legend {
	padding: 14px 16px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #e2e4e7;
	box-shadow: 0 2px 12px rgba( 0, 0, 0, 0.04 );
}

.rezerva-map-summary {
	padding: 16px 18px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #e2e4e7;
	box-shadow: 0 2px 12px rgba( 0, 0, 0, 0.04 );
}

.rezerva-summary-title {
	margin: 0 0 12px;
	font-size: 1rem;
	font-weight: 700;
	color: #1d2327;
	padding-bottom: 10px;
	border-bottom: 2px solid #2e7d32;
}

.rezerva-map-summary-seats {
	margin: 0 0 12px;
	font-size: 0.92rem;
	line-height: 1.6;
	color: #1d2327;
	min-height: 1.5em;
	word-break: break-word;
}

.rezerva-map-summary-total {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin: 0;
	padding-top: 12px;
	border-top: 1px solid #ececec;
}

.rezerva-summary-total-label {
	font-size: 0.9rem;
	font-weight: 600;
	color: #50575e;
}

.rezerva-map-summary-total [data-rezerva-total] {
	font-size: 1.15rem;
	font-weight: 700;
	color: #7f54b3;
}

.rezerva-legend-title {
	margin: 0 0 8px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #3d2a5c;
	padding-bottom: 0;
	border-bottom: none;
}

.rezerva-legend-empty {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.45;
	color: #646970;
}

.rezerva-legend-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.rezerva-legend-item {
	display: grid;
	grid-template-columns: 12px 1fr auto;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	border-radius: 8px;
	line-height: 1.3;
	background: #f8f6fc;
	border: 1px solid rgba( 127, 84, 179, 0.08 );
}

.rezerva-legend-item:nth-child(odd) {
	background: #f8f6fc;
}

.rezerva-legend-swatch {
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	border-radius: 3px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.rezerva-legend-name {
	min-width: 0;
	font-size: 0.8rem;
	font-weight: 600;
	color: #1d2327;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rezerva-legend-price {
	font-size: 0.78rem;
	color: #7f54b3;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-fields {
	margin: 0;
	padding-top: 0;
	border-top: none;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-fields__title {
	margin: 0 0 8px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #3d2a5c;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-field {
	margin-bottom: 8px;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-field:last-child {
	margin-bottom: 0;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-field__label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.78rem;
	font-weight: 600;
	color: #50575e;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-field__label .required {
	color: #b71c1c;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-field__input {
	width: 100%;
	padding: 7px 10px;
	border: 1.5px solid rgba( 127, 84, 179, 0.16 );
	border-radius: 8px;
	background: #fafafa;
	font: inherit;
	font-size: 0.84rem;
	box-sizing: border-box;
	transition:
		border-color 0.15s ease,
		background 0.15s ease,
		box-shadow 0.15s ease;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-field__input:focus {
	outline: none;
	border-color: #7f54b3;
	background: #fff;
	box-shadow: 0 0 0 3px rgba( 127, 84, 179, 0.12 );
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-field__select-wrap {
	display: block;
	width: 100%;
}

.rezerva-map-sidebar-panel--fields select.rezerva-custom-field__input,
.rezerva-map-sidebar-panel--fields .rezerva-custom-field__select {
	display: block !important;
	width: 100% !important;
	min-height: 36px;
	cursor: pointer;
	-webkit-appearance: menulist;
	-moz-appearance: menulist;
	appearance: auto;
	opacity: 1 !important;
	visibility: visible !important;
	color: #1d2327 !important;
	background-color: #fafafa !important;
}

.rezerva-map-sidebar-panel--fields select.rezerva-custom-field__input:focus,
.rezerva-map-sidebar-panel--fields .rezerva-custom-field__select:focus {
	background-color: #fff !important;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-field__radios {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-field__radio {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 7px 10px;
	border: 1.5px solid rgba( 127, 84, 179, 0.14 );
	border-radius: 8px;
	background: #fafafa;
	font-size: 0.82rem;
	cursor: pointer;
	transition:
		border-color 0.15s ease,
		background 0.15s ease;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-field__radio:hover {
	border-color: rgba( 127, 84, 179, 0.35 );
	background: #fff;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-field__radio input {
	margin: 0;
	flex-shrink: 0;
	accent-color: #7f54b3;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-field__radio:has( input:checked ) {
	border-color: #7f54b3;
	background: #faf8ff;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-field__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	padding: 7px 10px;
	border: 1.5px solid rgba( 127, 84, 179, 0.14 );
	border-radius: 8px;
	background: #fafafa;
	font-size: 0.82rem;
	cursor: pointer;
	transition:
		border-color 0.15s ease,
		background 0.15s ease;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-field__checkbox:hover {
	border-color: rgba( 127, 84, 179, 0.35 );
	background: #fff;
}

.rezerva-map-sidebar-panel--fields .rezerva-custom-field__checkbox input {
	margin-top: 2px;
	flex-shrink: 0;
	accent-color: #7f54b3;
}

.rezerva-booking-cart-fields {
	display: none;
}

.rezerva-map-loading {
	margin: 12px 0;
	font-size: 0.95rem;
	color: #50575e;
	text-align: center;
}

.rezerva-booking-seat-tooltip {
	display: none;
	position: absolute;
	z-index: 50;
	min-width: 120px;
	max-width: 240px;
	padding: 8px 12px;
	font-size: 12px;
	line-height: 1.55;
	color: #fff;
	background: rgba(29, 35, 39, 0.94);
	border-radius: 8px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

/* دکمه تکمیل خرید */
.rezerva-booking-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border: none;
	border-radius: 10px;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.rezerva-booking-btn--primary {
	color: var(--rezerva-button-text, #fff);
	background: linear-gradient(135deg, var(--rezerva-primary, #7f54b3) 0%, var(--rezerva-primary-dark, #674399) 100%);
	box-shadow: 0 4px 14px var(--rezerva-button-shadow, var(--rezerva-shadow, rgba(127, 84, 179, 0.35)));
}

.rezerva-booking-btn--primary:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px var(--rezerva-button-shadow, rgba(127, 84, 179, 0.45));
}

.rezerva-booking-btn--block {
	width: 100%;
	margin-top: 14px;
}

.rezerva-booking-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
}

.rezerva-map-layout--no-map {
	display: flex;
	justify-content: flex-end;
}

.rezerva-map-layout--no-map .rezerva-map-sidebar {
	max-width: 340px;
	width: 100%;
}

/* مودال‌ها — رندر در footer، تمام‌صفحه */
body.rezerva-modal-open {
	overflow: hidden;
}

.rezerva-booking-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
	margin: 0;
}

.rezerva-booking-modal[hidden] {
	display: none !important;
}

.rezerva-booking-modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	margin: 0;
	background: rgba(15, 23, 42, 0.62);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	animation: rezerva-backdrop-in 0.35s ease;
}

@keyframes rezerva-backdrop-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.rezerva-booking-modal-card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 400px;
	max-height: calc(100dvh - 48px);
	overflow: auto;
	border-radius: 22px;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.65);
	box-shadow:
		0 28px 80px rgba(45, 27, 78, 0.35),
		0 8px 24px rgba(0, 0, 0, 0.12);
	animation: rezerva-modal-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.rezerva-booking-modal-card--form {
	max-width: 460px;
}

@keyframes rezerva-modal-in {
	from {
		opacity: 0;
		transform: translateY(24px) scale(0.94);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.rezerva-modal-header {
	position: relative;
	padding: 32px 24px 28px;
	text-align: center;
	background: linear-gradient(145deg, #8b5fbf 0%, #7f54b3 42%, #5c3d8a 100%);
	overflow: hidden;
}

.rezerva-modal-header-glow {
	position: absolute;
	top: -40px;
	right: -30px;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	pointer-events: none;
}

.rezerva-modal-header::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 28px;
	background: #fff;
	border-radius: 24px 24px 0 0;
	pointer-events: none;
}

.rezerva-booking-modal-close {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
	backdrop-filter: blur(4px);
}

.rezerva-booking-modal-close:hover {
	background: rgba(255, 255, 255, 0.35);
	transform: scale(1.05);
}

.rezerva-modal-icon-wrap {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	border: 2px solid rgba(255, 255, 255, 0.35);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	animation: rezerva-icon-float 3s ease-in-out infinite;
}

.rezerva-modal-icon-wrap--login .rezerva-modal-icon-svg {
	color: #fff;
}

.rezerva-modal-icon-wrap--profile .rezerva-modal-icon-svg {
	color: #fff;
}

@keyframes rezerva-icon-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-5px);
	}
}

.rezerva-modal-body {
	padding: 8px 26px 26px;
	text-align: center;
}

.rezerva-booking-modal-card--form .rezerva-modal-body {
	text-align: right;
	padding: 8px 24px 24px;
}

.rezerva-booking-modal-title {
	margin: 4px 0 8px;
	font-size: 1.28rem;
	font-weight: 800;
	color: #1d2327;
	letter-spacing: -0.02em;
}

.rezerva-booking-modal-text {
	margin: 0 0 22px;
	font-size: 0.93rem;
	line-height: 1.7;
	color: #646970;
}

.rezerva-booking-btn--glow {
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.rezerva-booking-modal-card--login .rezerva-booking-btn--glow {
	min-width: 200px;
}

.rezerva-profile-form {
	margin: 0;
}

.rezerva-profile-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 12px;
}

@media (max-width: 420px) {
	.rezerva-profile-grid {
		grid-template-columns: 1fr;
	}
}

.rezerva-profile-field {
	margin-bottom: 12px;
	text-align: right;
}

.rezerva-profile-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.84rem;
	font-weight: 600;
	color: #3c434a;
}

.rezerva-profile-field .required {
	color: #d63638;
}

.rezerva-profile-field .rezerva-optional {
	font-weight: 400;
	color: #8c8f94;
	font-size: 0.8rem;
}

.rezerva-profile-field input {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid #e8e8eb;
	border-radius: 11px;
	font-size: 0.95rem;
	box-sizing: border-box;
	background: #fafafa;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.rezerva-profile-field input::placeholder {
	color: #a7aaad;
}

.rezerva-profile-field input:hover {
	border-color: #d0c4e8;
	background: #fff;
}

.rezerva-profile-field input:focus {
	border-color: #7f54b3;
	background: #fff;
	outline: none;
	box-shadow: 0 0 0 4px rgba(127, 84, 179, 0.15);
}

.rezerva-profile-error {
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: 11px;
	background: linear-gradient(135deg, #fff5f5 0%, #fce8e8 100%);
	border: 1px solid #f5c2c7;
	color: #b32d2e;
	font-size: 0.88rem;
	text-align: right;
	line-height: 1.5;
}

.rezerva-booking-modal-card--form .rezerva-booking-btn--block {
	margin-top: 4px;
	padding: 14px 20px;
	font-size: 1rem;
}
