/**
 * ElitePulse Booking 样式
 * 品牌配色：深邃蓝/香槟金/极简白
 * 设计风格：LatePoint 极简风格
 */

:root {
	--ep-primary: #3b82f6;
	--ep-success: #48bb78;
	--ep-danger: #e53e3e;
	--ep-warning: #d4af37;

	/* 灰色系 */
	--ep-gray-100: #f7fafc;
	--ep-gray-200: #edf2f7;
	--ep-gray-300: #e2e8f0;
	--ep-gray-400: #cbd5e0;
	--ep-gray-500: #a0aec0;
	--ep-gray-600: #718096;
	--ep-gray-700: #4a5568;
	--ep-gray-800: #2d3748;
	--ep-gray-900: #1a365d;

	/* 其他颜色 */
	--ep-white: #ffffff;
	--ep-black: #000000;
	--ep-gold: #d4af37;
	--ep-gold-dark: #b8860b;
	--ep-blue: #1a365d;
	--ep-blue-light: #2c5282;
	--ep-gold: #d4af37;
	--ep-gold-light: #f4e4bc;
	--ep-white: #ffffff;
	--ep-gray-light: #f7fafc;
	--ep-gray: #e2e8f0;
	--ep-gray-dark: #718096;
	--ep-text: #2d3748;
	--ep-border-radius: 12px;
	--ep-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
	--ep-shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.12);
	--ep-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 主容器 */
.ep-booking {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	color: var(--ep-text);
	line-height: 1.6;
}

/* Theme layout isolation: keep booking surfaces centered even inside sidebar/page builders. */
body.ep-has-booking-surface .content-area,
body.ep-has-booking-portal .content-area,
body.ep-has-booking-surface #primary,
body.ep-has-booking-portal #primary,
body.ep-has-booking-surface .site-main,
body.ep-has-booking-portal .site-main,
body.ep-has-booking-surface .inside-article,
body.ep-has-booking-portal .inside-article,
body.ep-has-booking-surface .entry-content,
body.ep-has-booking-portal .entry-content {
	width: 100%;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
	float: none;
}

body.ep-has-booking-surface.right-sidebar .content-area,
body.ep-has-booking-surface.left-sidebar .content-area,
body.ep-has-booking-portal.right-sidebar .content-area,
body.ep-has-booking-portal.left-sidebar .content-area,
body.ep-has-booking-surface.right-sidebar #primary,
body.ep-has-booking-surface.left-sidebar #primary,
body.ep-has-booking-portal.right-sidebar #primary,
body.ep-has-booking-portal.left-sidebar #primary {
	width: 100%;
	margin-right: 0;
	margin-left: auto;
	float: none;
}

body.ep-has-booking-surface #secondary,
body.ep-has-booking-portal #secondary,
body.ep-has-booking-surface .widget-area,
body.ep-has-booking-portal .widget-area,
body.ep-has-booking-surface.right-sidebar #secondary,
body.ep-has-booking-surface.left-sidebar #secondary,
body.ep-has-booking-portal.right-sidebar #secondary,
body.ep-has-booking-portal.left-sidebar #secondary {
	display: none;
}

.ep-booking-surface,
.ep-booking-surface--calendar,
.ep-booking-surface--portal {
	width: 100%;
	max-width: none;
	margin: 0 auto;
}

.ep-booking-surface .ep-booking,
.ep-booking-surface--calendar .ep-booking,
.ep-booking-surface--portal .ep-booking,
.ep-booking-surface .ep-booking__container,
.ep-booking-surface--calendar .ep-booking__container,
.ep-booking-surface--portal .ep-booking__container {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Theme compatibility package: Storefront / GeneratePress layout shells. */
body.ep-theme-family-storefront.ep-has-booking-surface .site-content,
body.ep-theme-family-storefront.ep-has-booking-portal .site-content,
body.ep-theme-family-storefront.ep-has-booking-surface .col-full,
body.ep-theme-family-storefront.ep-has-booking-portal .col-full,
body.ep-theme-family-generatepress.ep-has-booking-surface .site,
body.ep-theme-family-generatepress.ep-has-booking-portal .site,
body.ep-theme-family-generatepress.ep-has-booking-surface .site-content,
body.ep-theme-family-generatepress.ep-has-booking-portal .site-content,
body.ep-theme-family-generatepress.ep-has-booking-surface .grid-container,
body.ep-theme-family-generatepress.ep-has-booking-portal .grid-container {
	max-width: none;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

body.ep-theme-family-storefront.ep-has-booking-surface .site-main > .entry-header,
body.ep-theme-family-storefront.ep-has-booking-portal .site-main > .entry-header,
body.ep-theme-family-storefront.ep-has-booking-surface .page-header,
body.ep-theme-family-storefront.ep-has-booking-portal .page-header,
body.ep-theme-family-storefront.ep-has-booking-surface .woocommerce-products-header,
body.ep-theme-family-storefront.ep-has-booking-portal .woocommerce-products-header,
body.ep-theme-family-generatepress.ep-has-booking-surface .entry-header,
body.ep-theme-family-generatepress.ep-has-booking-portal .entry-header,
body.ep-theme-family-generatepress.ep-has-booking-surface .page-header,
body.ep-theme-family-generatepress.ep-has-booking-portal .page-header {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

body.ep-theme-family-storefront.ep-has-booking-surface #content,
body.ep-theme-family-storefront.ep-has-booking-portal #content,
body.ep-theme-family-storefront.ep-has-booking-surface .site-content,
body.ep-theme-family-storefront.ep-has-booking-portal .site-content {
	padding-top: 0;
	margin-top: 0;
}

body.ep-theme-family-storefront.ep-has-booking-surface .entry-content,
body.ep-theme-family-storefront.ep-has-booking-portal .entry-content,
body.ep-theme-family-generatepress.ep-has-booking-surface .entry-content,
body.ep-theme-family-generatepress.ep-has-booking-portal .entry-content {
	margin-top: 0;
	padding-top: 0;
}

body.ep-theme-family-generatepress.ep-has-booking-surface.separate-containers .inside-article,
body.ep-theme-family-generatepress.ep-has-booking-portal.separate-containers .inside-article,
body.ep-theme-family-generatepress.ep-has-booking-surface.one-container .inside-article,
body.ep-theme-family-generatepress.ep-has-booking-portal.one-container .inside-article {
	padding: 0;
	background: transparent;
	box-shadow: none;
	border: 0;
}

body.ep-theme-family-storefront .ep-booking-surface,
body.ep-theme-family-storefront .ep-booking-surface--calendar,
body.ep-theme-family-storefront .ep-booking-surface--portal,
body.ep-theme-family-generatepress .ep-booking-surface,
body.ep-theme-family-generatepress .ep-booking-surface--calendar,
body.ep-theme-family-generatepress .ep-booking-surface--portal {
	max-width: min(1480px, calc(100vw - 48px));
	margin-left: auto;
	margin-right: auto;
}

body.ep-theme-family-storefront .ep-booking__container,
body.ep-theme-family-generatepress .ep-booking__container {
	max-width: min(1480px, 100%) !important;
}

@media (max-width: 768px) {
	body.ep-theme-family-storefront .ep-booking-surface,
	body.ep-theme-family-storefront .ep-booking-surface--calendar,
	body.ep-theme-family-storefront .ep-booking-surface--portal,
	body.ep-theme-family-generatepress .ep-booking-surface,
	body.ep-theme-family-generatepress .ep-booking-surface--calendar,
	body.ep-theme-family-generatepress .ep-booking-surface--portal {
		max-width: calc(100vw - 20px);
	}
}

/* 1. 默认状态（针对桌面端） */
.ep-booking__container {
	max-width: 1400px !important;
	/* 改为1400px支持两栏布局：360px左侧 + 1040px右侧 */
	min-width: 960px;
	/* 确保最小宽度足够显示三栏 */
	margin: 0 auto;
	padding: 2rem;
	background: var(--surface, var(--ep-white));
	border-radius: var(--ep-border-radius);
	box-shadow: var(--ep-shadow);
	box-sizing: border-box;
}

.ep-booking__container *,
.ep-responsive-container * {
	box-sizing: border-box;
}

/* 中等屏幕取消硬性最小宽度，避免右侧 slots 被挤压 */
@media (max-width: 1200px) {
	.ep-booking__container {
		min-width: 0;
		width: 100%;
		padding: 1.25rem;
	}
}


/* 2. 响应式补丁（针对手机端） */
@media (max-width: 768px) {
	.ep-booking__container {
		min-width: 0 !important;
		/* 彻底解除 960px 的限制 */
		width: 100% !important;
		padding: 10px !important;
		overflow-x: hidden;
	}

	.ep-booking,
	.ep-responsive-container,
	.ep-main-content {
		overflow-x: hidden;
	}

	/* 强制三栏布局转为垂直单栏布局 */
	.ep-calendar-layout-wrapper {
		flex-direction: column !important;
	}
}

		/* 步骤指示器 */
		.ep-booking__steps {
			display: flex;
			justify-content: space-between;
			margin-bottom: 3rem;
			position: relative;
		}

		.ep-booking__steps::before {
			content: '';
			position: absolute;
			top: 20px;
			left: 0;
			right: 0;
			height: 2px;
			background: var(--ep-gray);
			z-index: 0;
		}

		.ep-booking__step {
			display: flex;
			flex-direction: column;
			align-items: center;
			position: relative;
			z-index: 1;
			flex: 1;
			cursor: pointer;
			transition: var(--ep-transition);
		}

		.ep-booking__step-number {
			width: 40px;
			height: 40px;
			border-radius: 50%;
			background: var(--ep-white);
			border: 2px solid var(--ep-gray);
			color: var(--ep-gray-dark);
			display: flex;
			align-items: center;
			justify-content: center;
			font-weight: 600;
			transition: var(--ep-transition);
		}

		.ep-booking__step--active .ep-booking__step-number,
		.ep-booking__step--completed .ep-booking__step-number {
			background: var(--ep-blue);
			border-color: var(--ep-blue);
			color: var(--ep-white);
		}

		.ep-booking__step-label {
			margin-top: 0.5rem;
			font-size: 0.875rem;
			color: var(--ep-gray-dark);
			text-align: center;
		}

		.ep-booking__step--active .ep-booking__step-label {
			color: var(--ep-blue);
			font-weight: 600;
		}

		/* 会员额度显示 */
		.ep-booking__credits {
			background: linear-gradient(135deg, var(--ep-blue) 0%, var(--ep-blue-light) 100%);
			color: var(--ep-white);
			padding: 1rem 1.5rem;
			border-radius: var(--ep-border-radius);
			margin-bottom: 2rem;
			display: flex;
			justify-content: space-between;
			align-items: center;
		}

		.ep-booking__credits-label {
			font-size: 0.875rem;
			opacity: 0.9;
		}

		.ep-booking__credits-value {
			font-size: 1.5rem;
			font-weight: 700;
		}

		/* 时区显示 */
		.ep-booking__timezone {
			display: flex;
			gap: 1rem;
			margin-bottom: 2rem;
			padding: 1rem;
			background: var(--ep-gray-light);
			border-radius: var(--ep-border-radius);
		}

		.ep-booking__timezone-item {
			flex: 1;
			display: flex;
			flex-direction: column;
		}

		.ep-booking__timezone-label {
			font-size: 0.75rem;
			color: var(--ep-gray-dark);
			margin-bottom: 0.25rem;
		}

		.ep-booking__timezone-value {
			font-size: 0.875rem;
			font-weight: 600;
			color: var(--ep-text);
		}

		/* 步骤内容 */
		.ep-booking__step-content {
			display: none;
			animation: fadeIn 0.3s ease-in;
		}

		.ep-booking__step-content--active {
			display: block;
		}

		@keyframes fadeIn {
			from {
				opacity: 0;
				transform: translateY(10px);
			}

			to {
				opacity: 1;
				transform: translateY(0);
			}
		}
.ep-mobile-event-description,
.ep-sidebar-event-description {
	color: #334155;
}

.ep-mobile-event-description {
	border-color: #d5dee8;
}

.ep-sidebar-event-title,
.ep-mobile-event-name,
.ep-sidebar-Instructor-label,
.ep-mobile-Instructor-name {
	color: #243248;
}

.ep-mobile-duration,
.ep-sidebar-duration {
	color: #5a6b80;
}

/* 🆕 v1.9 Pricing Display */
.ep-sidebar-price-block {
	position: relative;
	overflow: visible;
	margin: 14px 0 18px;
	padding: 16px 16px 16px 28px;
	background: var(--ep-sidebar-strong-bg, linear-gradient(180deg, #fffdf8 0%, #f7f1e3 100%));
	border: 1px solid var(--ep-sidebar-strong-border, rgba(212, 175, 55, 0.28));
	border-radius: 18px;
	box-shadow: var(--ep-sidebar-strong-shadow, 0 10px 24px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255,255,255,0.88));
}

.ep-sidebar-price-block::before {
	content: '';
	position: absolute;
	left: 14px;
	top: 14px;
	bottom: 14px;
	width: 3px;
	border-radius: 999px;
	pointer-events: none;
	background: var(--ep-sidebar-accent-gradient, linear-gradient(180deg, #d4af37 0%, #b8977e 100%));
}

.ep-sidebar-price-top {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px 10px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.ep-sidebar-price-label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.8rem;
	color: var(--ep-sidebar-pill-color, #8a6700);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--ep-sidebar-pill-bg, rgba(212, 175, 55, 0.12));
	line-height: 1;
}

.ep-sidebar-price-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 10px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--ep-sidebar-pill-bg, rgba(212, 175, 55, 0.12)) 86%, transparent 14%);
	color: color-mix(in srgb, var(--ep-sidebar-pill-color, #9a6d00) 92%, var(--ep-sidebar-title, #1e293b) 8%);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	white-space: nowrap;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ep-sidebar-strong-border, rgba(212, 175, 55, 0.28)) 68%, transparent 32%);
}

.ep-sidebar-price-value {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
	width: 100%;
}

.ep-sidebar-price-main {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	flex-wrap: wrap;
	width: 100%;
}

.ep-sidebar-price-code-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 11px;
	border-radius: 999px;
	background: var(--ep-sidebar-accent-gradient, linear-gradient(135deg, #d4af37 0%, #b8977e 100%));
	color: #ffffff;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1;
	box-shadow: 0 6px 16px color-mix(in srgb, var(--primary, #d4af37) 18%, transparent 82%);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ep-sidebar-price-code-pill--interactive {
	cursor: pointer;
}

.ep-sidebar-price-code-pill--interactive:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px color-mix(in srgb, var(--primary, #d4af37) 24%, transparent 76%);
	filter: saturate(1.06);
}

.ep-sidebar-price-meta-line {
	display: flex;
	align-items: center;
	gap: 8px 10px;
	flex-wrap: wrap;
	min-width: 0;
	max-width: 100%;
}

.ep-sidebar-price-current {
	font-size: clamp(2.15rem, 2.8vw, 2.85rem);
	line-height: 1.05;
	color: var(--ep-sidebar-title, #0f172a);
	font-weight: 900;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
}

.ep-sidebar-price-compare {
	font-size: 0.95rem;
	line-height: 1.25;
	color: var(--ep-sidebar-muted, #7b8794);
	text-decoration: line-through;
	text-decoration-thickness: 1.5px;
	white-space: nowrap;
}

.ep-sidebar-price-saving {
	display: inline-flex;
	align-items: center;
	margin-top: 0;
	padding: 5px 10px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--primary-light, rgba(5, 150, 105, 0.12)) 88%, transparent 12%);
	color: color-mix(in srgb, var(--primary-hover, #047857) 88%, var(--ep-sidebar-title, #1e293b) 12%);
	font-size: 0.82rem;
	font-weight: 800;
	white-space: nowrap;
}

.ep-sidebar-price-block--simple .ep-sidebar-price-top {
	justify-content: flex-start;
}

.ep-sidebar-price-block--simple .ep-sidebar-price-value {
	gap: 0;
}

.ep-sidebar-price-block--badge .ep-sidebar-price-current {
	color: var(--ep-sidebar-title, #0f172a);
}

.ep-sidebar-price-block--tiered {
	padding-bottom: 16px;
}

.ep-sidebar-price-switcher {
	margin-top: 12px;
}

/* 货币切换器：页面级独立控件条（位于日历上方，与价格卡片分离） */
.ep-booking-currency-bar {
	margin: 0 0 14px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.ep-booking-currency-bar .ep-booking-currency-switcher {
	margin: 0;
}

/* header 上下文：隐藏"切换币种"标签，让切换器更紧凑 */
.ep-booking-currency-switcher--header {
	padding: 5px 8px;
	border-radius: 999px;
}

.ep-booking-currency-switcher--header .ep-booking-currency-switcher__label {
	display: none;
}

@media (max-width: 768px) {
	.ep-booking-currency-bar {
		margin: 0 0 10px;
		justify-content: flex-start;
	}
}

/* 移动端/平板：最小触摸目标 44px（iOS/Android 无障碍标准） */
@media (max-width: 1023px) {
	.ep-booking-currency-switcher__option {
		min-height: 44px;
		padding: 10px 14px;
	}
	.ep-booking-currency-switcher {
		gap: 8px 8px;
	}
}

/* Step 4 确认页的货币切换器条：稍微下移一点，与预警横幅保持间距 */
.ep-booking-currency-bar--step4 {
	margin: 0 0 12px;
	justify-content: flex-end;
}

/* 价格刷新时的轻微闪烁动画 */
@keyframes ep-price-blink {
	0%, 100% { opacity: 1; transform: scale(1); }
	40% { opacity: 0.35; transform: scale(0.94); }
}

.ep-price-refreshing .ep-sidebar-price-current,
.ep-price-refreshing .ep-selected-summary-banner__price-row span {
	animation: ep-price-blink 0.45s ease-in-out;
}

.ep-booking-currency-switcher {
	--ep-cs-bg: var(--ep-sidebar-card-bg, rgba(255, 255, 255, 0.82));
	--ep-cs-border: color-mix(in srgb, var(--ep-sidebar-card-border, rgba(212, 175, 55, 0.22)) 88%, transparent 12%);
	--ep-cs-shadow: var(--ep-sidebar-card-shadow, 0 10px 24px rgba(15, 23, 42, 0.06));
	--ep-cs-label-bg: var(--ep-sidebar-pill-bg, rgba(212, 175, 55, 0.12));
	--ep-cs-label-color: var(--ep-sidebar-pill-color, #8a6700);
	--ep-cs-chip-bg: var(--ep-sidebar-soft-bg, rgba(255, 255, 255, 0.88));
	--ep-cs-chip-color: var(--ep-sidebar-title, #243248);
	--ep-cs-chip-border: color-mix(in srgb, var(--ep-sidebar-card-border, rgba(15, 23, 42, 0.08)) 76%, transparent 24%);
	--ep-cs-chip-shadow: 0 4px 10px color-mix(in srgb, var(--primary, #d4af37) 10%, transparent 90%);
	--ep-cs-active-bg: var(--ep-sidebar-accent-gradient, linear-gradient(135deg, #d4af37 0%, #b8977e 100%));
	--ep-cs-active-color: #ffffff;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	padding: 10px 12px 12px;
	border-radius: 14px;
	background: var(--ep-cs-bg);
	border: 1px solid var(--ep-cs-border);
	box-shadow: var(--ep-cs-shadow);
}

.ep-sidebar-price-switcher-popover {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 200;
	min-width: 220px;
	max-width: min(320px, calc(100vw - 32px));
}

.ep-sidebar-price-switcher-popover--mobile {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: min(280px, calc(100vw - 32px));
	max-width: min(360px, calc(100vw - 32px));
}

.ep-sidebar-price-switcher-popover--desktop-floating {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 24000;
	min-width: 220px;
	max-width: min(320px, calc(100vw - 32px));
	pointer-events: auto;
}

.ep-booking-currency-switcher__label {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	justify-content: center;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--ep-cs-label-bg);
	color: var(--ep-cs-label-color);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.ep-booking-currency-switcher__section {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.ep-booking-currency-switcher__section-title {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.05em;
	color: rgba(138, 103, 0, 0.88);
	text-transform: uppercase;
}

.ep-booking-currency-switcher__options--current {
	grid-template-columns: minmax(88px, 132px);
}

.ep-booking-currency-switcher__control {
	flex: 1 1 auto;
	min-width: 0;
}

.ep-booking-currency-switcher__options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
	gap: 8px;
	width: 100%;
}

.ep-booking-currency-switcher__option {
	appearance: none;
	border: 1px solid var(--ep-cs-chip-border);
	background: var(--ep-cs-chip-bg);
	color: var(--ep-cs-chip-color);
	border-radius: 10px;
	padding: 8px 10px;
	min-height: 36px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.04em;
	box-shadow: var(--ep-cs-chip-shadow);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ep-booking-currency-switcher__option:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.ep-booking-currency-switcher__option.is-active {
	background: var(--ep-cs-active-bg);
	color: var(--ep-cs-active-color);
	border-color: transparent;
	box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

.ep-booking-currency-switcher__option-code {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.6em;
}

.ep-booking-currency-switcher select,
.ep-booking-currency-switcher .wmc-currency-wrapper select,
.ep-booking-currency-switcher .vi-wmc-currency-box select {
	min-height: 38px;
	padding: 6px 32px 6px 12px;
	border-radius: 10px;
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: #fff;
	color: #243248;
	font-weight: 700;
	max-width: 100%;
}

.ep-booking-currency-switcher a {
	text-decoration: none;
}

.ep-booking-currency-switcher--styled [class*="wmc"],
.ep-booking-currency-switcher--styled [class*="currency"],
.ep-booking-currency-switcher--native [class*="wmc"],
.ep-booking-currency-switcher--native [class*="currency"] {
	position: static !important;
	inset: auto !important;
	transform: none !important;
	float: none !important;
	right: auto !important;
	left: auto !important;
}

.ep-booking-currency-switcher--native {
	padding: 2px 0 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.ep-booking-currency-switcher--native ul,
.ep-booking-currency-switcher--native ol {
	display: flex !important;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ep-booking-currency-switcher--native li,
.ep-booking-currency-switcher--native a,
.ep-booking-currency-switcher--native button,
.ep-booking-currency-switcher--native span {
	font-size: 12px;
}

.ep-booking-currency-switcher--theme-theme-sync {
	--ep-cs-bg: var(--ep-sidebar-card-bg, rgba(255, 255, 255, 0.82));
	--ep-cs-border: color-mix(in srgb, var(--ep-sidebar-card-border, rgba(212, 175, 55, 0.22)) 88%, transparent 12%);
	--ep-cs-shadow: var(--ep-sidebar-card-shadow, 0 10px 24px rgba(15, 23, 42, 0.06));
	--ep-cs-label-bg: var(--ep-sidebar-pill-bg, rgba(212, 175, 55, 0.12));
	--ep-cs-label-color: var(--ep-sidebar-pill-color, #8a6700);
	--ep-cs-chip-bg: var(--ep-sidebar-soft-bg, rgba(255, 255, 255, 0.88));
	--ep-cs-chip-color: var(--ep-sidebar-title, #243248);
	--ep-cs-chip-border: color-mix(in srgb, var(--ep-sidebar-card-border, rgba(15, 23, 42, 0.08)) 76%, transparent 24%);
	--ep-cs-chip-shadow: 0 4px 10px color-mix(in srgb, var(--primary, #d4af37) 10%, transparent 90%);
	--ep-cs-active-bg: var(--ep-sidebar-accent-gradient, linear-gradient(135deg, #d4af37 0%, #b8977e 100%));
	--ep-cs-active-color: #ffffff;
}

.ep-booking-currency-switcher--theme-golden-pill {
	--ep-cs-bg: linear-gradient(135deg, #fffdf7 0%, #f6edd7 100%);
	--ep-cs-border: rgba(212, 175, 55, 0.28);
	--ep-cs-label-bg: rgba(212, 175, 55, 0.12);
	--ep-cs-label-color: #8a6700;
	--ep-cs-active-bg: linear-gradient(135deg, #d4af37 0%, #b8977e 100%);
}

.ep-booking-currency-switcher--theme-midnight-glass {
	--ep-cs-bg: linear-gradient(135deg, rgba(15,23,42,.92) 0%, rgba(30,41,59,.92) 100%);
	--ep-cs-border: rgba(96, 165, 250, 0.25);
	--ep-cs-label-bg: rgba(56, 189, 248, 0.14);
	--ep-cs-label-color: #bae6fd;
	--ep-cs-chip-bg: rgba(15, 23, 42, 0.68);
	--ep-cs-chip-color: #e2e8f0;
	--ep-cs-chip-border: rgba(148, 163, 184, 0.28);
	--ep-cs-active-bg: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
}

.ep-booking-currency-switcher--theme-pearl-outline {
	--ep-cs-bg: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	--ep-cs-border: rgba(148, 163, 184, 0.24);
	--ep-cs-label-bg: rgba(241, 245, 249, 1);
	--ep-cs-label-color: #475569;
	--ep-cs-chip-bg: #ffffff;
	--ep-cs-chip-color: #334155;
	--ep-cs-chip-border: rgba(148, 163, 184, 0.28);
	--ep-cs-active-bg: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
	--ep-cs-active-color: #0f172a;
}

.ep-booking-currency-switcher--theme-ocean-breeze {
	--ep-cs-bg: linear-gradient(135deg, #ecfeff 0%, #dbeafe 100%);
	--ep-cs-border: rgba(14, 116, 144, 0.18);
	--ep-cs-label-bg: rgba(6, 182, 212, 0.12);
	--ep-cs-label-color: #0f4c81;
	--ep-cs-active-bg: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
}

.ep-booking-currency-switcher--theme-forest-jade {
	--ep-cs-bg: linear-gradient(135deg, #ecfdf5 0%, #dcfce7 100%);
	--ep-cs-border: rgba(16, 185, 129, 0.18);
	--ep-cs-label-bg: rgba(16, 185, 129, 0.12);
	--ep-cs-label-color: #065f46;
	--ep-cs-active-bg: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.ep-booking-currency-switcher--theme-sunset-coral {
	--ep-cs-bg: linear-gradient(135deg, #fff7ed 0%, #ffe4e6 100%);
	--ep-cs-border: rgba(249, 115, 22, 0.18);
	--ep-cs-label-bg: rgba(251, 146, 60, 0.14);
	--ep-cs-label-color: #9a3412;
	--ep-cs-active-bg: linear-gradient(135deg, #fb7185 0%, #f97316 100%);
}

.ep-booking-currency-switcher--theme-lavender-mist {
	--ep-cs-bg: linear-gradient(135deg, #faf5ff 0%, #eef2ff 100%);
	--ep-cs-border: rgba(139, 92, 246, 0.18);
	--ep-cs-label-bg: rgba(139, 92, 246, 0.12);
	--ep-cs-label-color: #5b21b6;
	--ep-cs-active-bg: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.ep-booking-currency-switcher--theme-obsidian-lux {
	--ep-cs-bg: linear-gradient(135deg, #111827 0%, #030712 100%);
	--ep-cs-border: rgba(245, 158, 11, 0.22);
	--ep-cs-label-bg: rgba(245, 158, 11, 0.16);
	--ep-cs-label-color: #fde68a;
	--ep-cs-chip-bg: rgba(17, 24, 39, 0.82);
	--ep-cs-chip-color: #f8fafc;
	--ep-cs-chip-border: rgba(245, 158, 11, 0.18);
	--ep-cs-active-bg: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.ep-booking-currency-switcher--theme-aurora-soft {
	--ep-cs-bg: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 45%, #fdf2f8 100%);
	--ep-cs-border: rgba(59, 130, 246, 0.16);
	--ep-cs-label-bg: rgba(59, 130, 246, 0.1);
	--ep-cs-label-color: #334155;
	--ep-cs-active-bg: linear-gradient(135deg, #22c55e 0%, #3b82f6 55%, #ec4899 100%);
}

.ep-booking-currency-switcher--theme-mono-minimal {
	--ep-cs-bg: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	--ep-cs-border: rgba(100, 116, 139, 0.18);
	--ep-cs-label-bg: rgba(226, 232, 240, 1);
	--ep-cs-label-color: #334155;
	--ep-cs-chip-bg: rgba(255,255,255,.94);
	--ep-cs-chip-color: #0f172a;
	--ep-cs-active-bg: linear-gradient(135deg, #111827 0%, #475569 100%);
}

.ep-booking-currency-switcher .vi-wmc-currency-box,
.ep-booking-currency-switcher .wmc-widget-side,
.ep-booking-currency-switcher .wmc-sidebar {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}

@media (max-width: 1023px) {
	.ep-sidebar-price-switcher-popover,
	.ep-sidebar-price-switcher-popover--mobile {
		position: static;
		left: auto;
		right: auto;
		bottom: auto;
		top: auto;
		margin-top: 0;
		min-width: 0;
		max-width: 100%;
		z-index: auto;
	}

	.ep-sidebar-price-switcher-popover .ep-booking-currency-switcher,
	.ep-sidebar-price-switcher-popover--mobile .ep-booking-currency-switcher {
		padding: 10px 12px 12px;
		border-radius: 16px;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		max-height: none;
		overflow-y: auto;
	}

	.ep-sidebar-price-switcher-popover .ep-booking-currency-switcher__label,
	.ep-sidebar-price-switcher-popover--mobile .ep-booking-currency-switcher__label {
		font-size: 12px;
		padding: 5px 10px;
	}

	.ep-sidebar-price-switcher-popover .ep-booking-currency-switcher__options,
	.ep-sidebar-price-switcher-popover--mobile .ep-booking-currency-switcher__options {
		grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
		gap: 10px;
	}

	.ep-sidebar-price-switcher-popover .ep-booking-currency-switcher__option,
	.ep-sidebar-price-switcher-popover--mobile .ep-booking-currency-switcher__option {
		min-height: 42px;
		font-size: 13px;
		border-radius: 12px;
	}

	.ep-mobile-currency-sheet-backdrop {
		position: fixed;
		inset: 0;
		z-index: 219;
		background: rgba(15, 23, 42, 0.42);
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
	}

	.ep-mobile-currency-sheet {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: max(84px, calc(env(safe-area-inset-bottom) + 72px));
		z-index: 220;
		padding: 10px;
		padding-bottom: calc(12px + env(safe-area-inset-bottom));
		border-radius: 24px;
		max-height: min(72vh, calc(100dvh - 112px));
		overflow-y: auto;
		background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(249, 248, 244, 0.9) 100%);
		box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2), 0 6px 18px rgba(15, 23, 42, 0.1);
		border: 1px solid rgba(226, 232, 240, 0.88);
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
		animation: ep-mobile-currency-sheet-in 0.22s ease-out;
		transition: transform 0.22s ease, opacity 0.22s ease;
	}

	.ep-mobile-currency-sheet.is-dragging {
		transition: none;
	}

	.ep-mobile-currency-sheet__handle {
		width: 42px;
		height: 4px;
		border-radius: 999px;
		background: rgba(148, 163, 184, 0.7);
		margin: 2px auto 10px;
	}

	.ep-mobile-currency-sheet__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 2px 6px 10px;
	}

	.ep-mobile-currency-sheet__title {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 5px 11px;
		border-radius: 999px;
		background: rgba(212, 175, 55, 0.12);
		color: #8a6700;
		font-size: 12px;
		font-weight: 800;
		letter-spacing: 0.04em;
		white-space: nowrap;
	}

	.ep-mobile-currency-sheet__close {
		appearance: none;
		border: 1px solid rgba(15, 23, 42, 0.08);
		background: rgba(255, 255, 255, 0.92);
		color: #475569;
		border-radius: 999px;
		padding: 6px 11px;
		font-size: 12px;
		font-weight: 800;
		letter-spacing: 0.02em;
		line-height: 1;
		box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
	}

	.ep-mobile-currency-sheet .ep-sidebar-price-switcher-popover--mobile {
		width: 100%;
		max-width: none;
	}

	.ep-mobile-currency-sheet .ep-booking-currency-switcher {
		border-radius: 18px;
	}

	.ep-mobile-currency-sheet .ep-booking-currency-switcher__label {
		display: none;
	}

	.ep-mobile-currency-sheet .ep-booking-currency-switcher__section {
		gap: 10px;
	}

	.ep-mobile-currency-sheet .ep-booking-currency-switcher__options {
		grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
		gap: 10px;
	}

	.ep-currency-switch-toast {
		position: fixed;
		left: 50%;
		bottom: calc(max(16px, env(safe-area-inset-bottom)) + 8px);
		transform: translateX(-50%);
		z-index: 230;
		padding: 10px 16px;
		border-radius: 999px;
		background: rgba(15, 23, 42, 0.92);
		color: #fff;
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.02em;
		box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
		animation: ep-currency-toast-in 0.18s ease-out;
	}

	@keyframes ep-mobile-currency-sheet-in {
		from {
			opacity: 0;
			transform: translateY(18px) scale(0.98);
		}
		to {
			opacity: 1;
			transform: translateY(0) scale(1);
		}
	}

	@keyframes ep-currency-toast-in {
		from {
			opacity: 0;
			transform: translateX(-50%) translateY(8px);
		}
		to {
			opacity: 1;
			transform: translateX(-50%) translateY(0);
		}
	}
}

/* Step1 卡片内的价格胶囊 */
.ep-price-capsule {
	display: inline-block;
	background: #c2410c;
	color: white;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 0.85em;
	font-weight: 600;
	white-space: nowrap;
}

.ep-event-card-price-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.35;
	min-height: 34px;
	white-space: nowrap;
	border: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.ep-event-card-price-tag--free,
.ep-event-card-price-tag--credit,
.ep-event-card-price-tag--paid-main {
	min-width: 132px;
	margin-left: auto;
}

.ep-event-card-price-tag--paid-main {
	background: #fff8e6;
	color: #7a5600;
}

.ep-event-card-price-tag--free {
	background: #f0fdf4;
	color: #166534;
}

.ep-event-card-price-tag--credit {
	background: #eff6ff;
	color: #1d4ed8;
}

.ep-event-card__meta-row .price-tag {
	margin-left: auto;
	flex-shrink: 0;
}

.ep-event-card-price-tag__lead {
	white-space: nowrap;
}

.ep-event-card__price-detail-row {
	display: flex;
	justify-content: flex-start;
	width: 100%;
	min-height: 28px;
	margin-left: 0;
	max-width: 100%;
}

.ep-event-card__price-detail-row--empty {
	visibility: hidden;
}

.ep-event-card-price-detail {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 4px 8px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--ep-sidebar-pill-bg, #fffaf5) 74%, #ffffff 26%);
	border: 1px solid color-mix(in srgb, var(--ep-sidebar-strong-border, rgba(212, 175, 55, 0.18)) 76%, transparent 24%);
	color: var(--ep-sidebar-pill-color, #8a6700);
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: clip;
	max-width: 100%;
	width: 100%;
}

.ep-event-card-price-detail::-webkit-scrollbar {
	display: none;
}

.ep-event-card-price-detail__label {
	font-weight: 800;
	color: var(--ep-sidebar-pill-color, #9a7800);
}

.ep-event-card-price-detail__current {
	font-weight: 900;
	color: var(--ep-sidebar-title, #c2410c);
}

.ep-event-card-price-detail__compare {
	color: var(--ep-sidebar-muted, #9a3412);
	text-decoration: line-through;
	text-decoration-thickness: 1.2px;
}

.ep-event-card-price-detail__saving {
	color: var(--primary-hover, #047857);
	font-weight: 800;
}

.ep-event-card-price-detail--simple .ep-event-card-price-detail__label,
.ep-event-card-price-detail--simple .ep-event-card-price-detail__compare,
.ep-event-card-price-detail--simple .ep-event-card-price-detail__saving,
.ep-event-card-price-detail--badge .ep-event-card-price-detail__compare,
.ep-event-card-price-detail--badge .ep-event-card-price-detail__saving {
	display: none;
}

/* 🆕 v1.9: Instructor avatar in list card */
.ep-event-card__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.ep-booking__title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 2rem;
	color: var(--ep-sidebar-title, var(--ep-blue));
}

/* 服务列表 */
.ep-booking__services {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
}

.ep-booking__service {
	background: var(--ep-white);
	border: 2px solid var(--ep-gray);
	border-radius: var(--ep-border-radius);
	padding: 1.5rem;
	cursor: pointer;
	transition: var(--ep-transition);
	text-align: center;
}

.ep-booking__service:hover {
	border-color: var(--primary, var(--ep-blue));
	box-shadow: 0 14px 28px color-mix(in srgb, var(--primary, #3b82f6) 18%, transparent 82%);
	transform: translateY(-2px);
}

.ep-booking__service--selected {
	border-color: var(--primary, var(--ep-blue));
	background: color-mix(in srgb, var(--primary-light, var(--ep-gray-light)) 72%, #ffffff 28%);
}

.ep-booking__service-name {
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: var(--ep-text);
}

.ep-booking__service-duration {
	font-size: 0.875rem;
	color: var(--ep-gray-dark);
}

/* 日历 */
.ep-booking__calendar {
	margin-bottom: 2rem;
}

.ep-calendar-day.is-past {
	background: var(--ep-gray-light) !important;
	color: var(--ep-gray) !important;
	pointer-events: none;
	opacity: 0.6;
}

.ep-calendar-day.is-unavailable {
	background: var(--ep-white) !important;
	color: var(--ep-gray) !important;
	pointer-events: none;
	opacity: 0.4;
	position: relative;
}

.ep-calendar-day.is-unavailable::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 15px;
	height: 1px;
	background: var(--ep-gray);
	transform: translate(-50%, -50%) rotate(-45deg);
}

/* 🆕 可约日期：深色/高亮 */
.ep-calendar-day:not(.is-past):not(.is-unavailable):not(.ep-booking__day--empty) {
	color: var(--ep-blue);
	font-weight: 700;
	background: var(--ep-white);
	border: 1.5px solid var(--ep-blue-light);
	cursor: pointer;
}

.ep-calendar-day:not(.is-past):not(.is-unavailable):not(.ep-booking__day--empty):hover {
	background: var(--ep-blue);
	color: var(--ep-white);
	transform: scale(1.1);
	z-index: 10;
	box-shadow: var(--ep-shadow-hover);
}

/* 时间段网格 */
.ep-booking__time-slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.ep-booking__time-slot {
	background: var(--ep-white);
	border: 2px solid var(--ep-gray);
	border-radius: 8px;
	padding: 0.75rem 1rem;
	text-align: center;
	cursor: pointer;
	transition: var(--ep-transition);
	font-weight: 500;
}

.ep-booking__time-slot:hover {
	border-color: var(--ep-blue);
	background: var(--ep-gray-light);
	transform: scale(1.05);
}

.ep-booking__time-slot--selected {
	border-color: var(--ep-blue);
	background: var(--ep-blue);
	color: var(--ep-white);
}

.ep-booking__time-slot--disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: var(--ep-gray);
}

.ep-booking__time-slot--disabled:hover {
	transform: none;
	border-color: var(--ep-gray);
}

/* Booking catalog empty state / onboarding */
.ep-booking-empty-state {
	max-width: 820px;
	margin: 0 auto 2rem;
	padding: 32px 28px;
	border-radius: 24px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: linear-gradient(135deg, #fffdf7 0%, #ffffff 100%);
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
	text-align: left;
}

.ep-booking-empty-state--error {
	background: linear-gradient(135deg, #fff7f7 0%, #ffffff 100%);
	border-color: rgba(220, 38, 38, 0.18);
}

.ep-booking-empty-state__icon {
	width: 58px;
	height: 58px;
	border-radius: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	background: rgba(245, 158, 11, 0.12);
	margin-bottom: 14px;
}

.ep-booking-empty-state__eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #b45309;
	margin-bottom: 8px;
}

.ep-booking-empty-state__title {
	font-size: 30px;
	line-height: 1.2;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 10px;
}

.ep-booking-empty-state__description {
	font-size: 15px;
	line-height: 1.8;
	color: #475569;
	max-width: 680px;
	margin: 0 0 18px;
}

.ep-booking-empty-state__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}

.ep-booking-empty-state__action {
	appearance: none;
	border: none;
	border-radius: 999px;
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	background: #0f172a;
	color: #fff;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

.ep-booking-empty-state__action--secondary {
	background: #fff;
	color: #0f172a;
	border: 1px solid rgba(15, 23, 42, 0.12);
	box-shadow: none;
}

.ep-booking-empty-state__checklist {
	padding-top: 14px;
	border-top: 1px dashed rgba(148, 163, 184, 0.45);
}

.ep-booking-empty-state__checklist-title {
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 10px;
}

.ep-booking-empty-state__check-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #334155;
	margin-bottom: 8px;
}

.ep-booking-empty-state__check-item.is-complete {
	color: #166534;
}

.ep-booking-empty-state__check-mark {
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.06);
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
}

.ep-booking-empty-state__note {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.7;
	color: #64748b;
}

@media (max-width: 767px) {
	.ep-booking-empty-state {
		padding: 24px 18px;
		border-radius: 18px;
	}

	.ep-booking-empty-state__title {
		font-size: 24px;
	}

	.ep-booking-empty-state__actions {
		flex-direction: column;
	}

	.ep-booking-empty-state__action {
		width: 100%;
	}
}

/* Empty state for timeslot panel: keep consistent height to avoid centered floating */
.ep-time-slots-empty-state {
	min-height: 220px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: var(--ep-gray-600);
}

.ep-time-slots-empty-state-icon {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	color: var(--ep-gray-400);
}

.ep-time-slots-empty-state-title {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 6px;
}

.ep-time-slots-empty-state-description {
	font-size: 0.95rem;
	color: var(--ep-gray-500);
	max-width: 320px;
}


/* 时区对比提示 */
.ep-booking__timezone-hint {
	margin-top: 1rem;
	padding: 1rem;
	background: var(--ep-gold-light);
	border-left: 4px solid var(--ep-gold);
	border-radius: 8px;
	font-size: 0.875rem;
	color: var(--ep-text);
}

/* 预约摘要 */
.ep-booking__summary {
	background: var(--ep-gray-light);
	border-radius: var(--ep-border-radius);
	padding: 1.5rem;
	margin-bottom: 2rem;
}

/* Phase 3: Step4 sticky summary banner */
/* ── 摘要条：黑金专业感 ── */
.ep-selected-summary-banner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 1rem 1.15rem 0.9rem;
	margin-bottom: 1.1rem;
	border-radius: 16px;
	background: var(--ep-confirm-card-bg, linear-gradient(145deg, #0f172a 0%, #1a2744 100%));
	border-top: 2px solid var(--ep-confirm-card-border-strong, rgba(251, 191, 36, 0.45));
	border-left: 1px solid var(--ep-confirm-card-border-soft, rgba(251, 191, 36, 0.1));
	border-right: 1px solid var(--ep-confirm-card-border-soft, rgba(251, 191, 36, 0.1));
	border-bottom: 1px solid var(--ep-confirm-card-border-bottom, rgba(255, 255, 255, 0.05));
	box-shadow: var(--ep-confirm-card-shadow, 0 16px 40px rgba(15, 23, 42, 0.45));
	color: var(--ep-confirm-card-text, #fff);
	overflow: hidden;
}

/* 右上角金色光晕点缀 */
.ep-selected-summary-banner::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 55%;
	height: 70%;
	background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--ep-confirm-card-border-strong, rgba(251, 191, 36, 0.45)) 18%, transparent 82%) 0%, transparent 65%);
	pointer-events: none;
	border-radius: 0 16px 0 0;
}

/* Row 1: service label header */
.ep-selected-summary-banner__header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.6rem;
}

.ep-selected-summary-banner__eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 0.18rem 0.55rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ep-confirm-card-pill-color, rgba(251, 191, 36, 0.9));
	background: var(--ep-confirm-card-pill-bg, rgba(251, 191, 36, 0.12));
	border: 1px solid color-mix(in srgb, var(--ep-confirm-card-border-strong, rgba(251, 191, 36, 0.45)) 50%, transparent 50%);
}

.ep-selected-summary-banner__service {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--ep-confirm-card-body, rgba(255, 255, 255, 0.72));
}

/* Row 2: time hero – highest visual weight */
.ep-selected-summary-banner__time-hero {
	font-size: 2.5rem;
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--ep-confirm-card-text, #ffffff);
	margin-bottom: 0.4rem;
	text-shadow:
		0 2px 24px color-mix(in srgb, var(--ep-confirm-card-text, #ffffff) 14%, transparent 86%),
		0 0 60px color-mix(in srgb, var(--ep-confirm-card-border-strong, rgba(251, 191, 36, 0.45)) 18%, transparent 82%);
}

.ep-selected-summary-banner__hero-tz {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin-top: 0.1rem;
	margin-bottom: 0.7rem;
	color: var(--ep-confirm-card-body, rgba(255, 255, 255, 0.9));
	font-size: 0.84rem;
	line-height: 1.5;
}

.ep-selected-summary-banner__hero-tz-pill {
	display: inline-flex;
	align-items: flex-start;
	align-self: flex-start;
	max-width: 100%;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--ep-confirm-card-pill-bg, rgba(251, 191, 36, 0.14));
	border: 1px solid color-mix(in srgb, var(--ep-confirm-card-border-strong, rgba(251, 191, 36, 0.45)) 56%, transparent 44%);
	color: var(--ep-confirm-card-pill-color, #fde68a);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.35;
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ep-sidebar-card-border, rgba(255,255,255,0.06)) 38%, transparent 62%);
	white-space: normal;
	word-break: break-word;
	overflow: visible;
}

.ep-selected-summary-banner__hero-tz-pill::-webkit-scrollbar {
	display: none;
}

.ep-selected-summary-banner__hero-tz-line {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex-wrap: wrap;
}

.ep-selected-summary-banner__hero-tz-line--secondary {
	color: var(--ep-confirm-card-muted, rgba(255, 255, 255, 0.78));
	font-size: 0.8rem;
}

.ep-selected-summary-banner__hero-tz-label {
	color: var(--ep-confirm-card-muted, rgba(255, 255, 255, 0.68));
	font-weight: 600;
}

.ep-selected-summary-banner__hero-tz-value {
	color: var(--ep-confirm-card-pill-color, #fcd34d);
	font-weight: 700;
}

/* Row 3: date secondary */
.ep-selected-summary-banner__date-row {
	display: flex;
	align-items: center;
	gap: 0.38rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ep-confirm-card-muted, rgba(255, 255, 255, 0.5));
	margin-bottom: 0.8rem;
}

.ep-selected-summary-banner__price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	border-top: 1px solid color-mix(in srgb, var(--ep-confirm-card-border-bottom, rgba(255,255,255,0.1)) 90%, transparent 10%);
	border-bottom: 1px solid color-mix(in srgb, var(--ep-confirm-card-border-bottom, rgba(255,255,255,0.1)) 90%, transparent 10%);
	gap: 14px;
}

.ep-selected-summary-banner__price-label {
	color: var(--ep-confirm-card-muted, #9ca3af);
	font-size: 0.9em;
	flex-shrink: 0;
}

.ep-selected-summary-banner__price-display {
	display: inline-flex;
	align-items: baseline;
	justify-content: flex-end;
	gap: 7px;
	flex-wrap: nowrap;
	color: var(--ep-confirm-card-text, #fff);
}

.ep-selected-summary-banner__price-code,
.ep-selected-summary-banner__price-amount {
	color: var(--ep-confirm-card-text, #fff);
	line-height: 1;
}

.ep-selected-summary-banner__price-code {
	font-size: 0.82em;
	font-weight: 700;
	letter-spacing: 0.04em;
	opacity: 0.62;
}

.ep-selected-summary-banner__price-amount {
	font-size: clamp(1.42em, 2.4vw, 1.62em);
	font-weight: 900;
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
	color: color-mix(in srgb, #f7dfa1 78%, var(--ep-confirm-card-text, #fff) 22%);
	text-shadow: 0 0 22px rgba(212, 175, 55, 0.18);
}

.ep-selected-summary-banner__payment-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 12px;
	padding: 12px 14px;
	border-radius: 16px;
	background: var(--ep-confirm-card-inner-bg, rgba(15, 23, 42, 0.55));
	border: 1px solid color-mix(in srgb, var(--ep-confirm-card-border-soft, rgba(51, 65, 85, 0.85)) 82%, transparent 18%);
}

.ep-selected-summary-banner__payment-label {
	font-size: 13px;
	color: var(--ep-confirm-card-muted, #94a3b8);
	font-weight: 700;
}

.ep-selected-summary-banner__payment-value {
	color: var(--ep-confirm-card-body, #e2e8f0);
	font-size: 13px;
	font-weight: 700;
	text-align: right;
	margin-left: auto;
}

/* Row 4: timezone + edit button */
.ep-selected-summary-banner__tz-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding-top: 0.65rem;
	border-top: 1px solid color-mix(in srgb, var(--ep-confirm-card-border-bottom, rgba(255, 255, 255, 0.1)) 90%, transparent 10%);
}

.ep-selected-summary-banner__tz-badge {
	display: none;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--ep-confirm-card-body, rgba(255, 255, 255, 0.88));
	white-space: normal;
}

.ep-summary-tz-edit-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.32rem;
	padding: 0.28rem 0.78rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--ep-confirm-card-border-strong, rgba(251, 191, 36, 0.45)) 64%, transparent 36%);
	background: var(--ep-confirm-card-pill-bg, rgba(251, 191, 36, 0.1));
	color: var(--ep-confirm-card-pill-color, #fbbf24);
	font-size: 0.8rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}

.ep-summary-tz-edit-btn:hover {
	background: color-mix(in srgb, var(--ep-confirm-card-pill-bg, rgba(251, 191, 36, 0.1)) 88%, transparent 12%);
	border-color: color-mix(in srgb, var(--ep-confirm-card-border-strong, rgba(251, 191, 36, 0.45)) 82%, transparent 18%);
}

/* Phase 3: form sections cardized */
.ep-form-section {
	margin-bottom: 1rem;
	padding: 1.2rem;
	border-radius: 14px;
	background: var(--ep-white);
	border: 1px solid var(--ep-gray-200);
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}

.ep-form-section__title {
	margin: 0 0 1rem;
	font-size: 1.18rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--ep-sidebar-title, #0f172a);
}

.ep-form-section__hint {
	margin: 0 0 0.9rem;
	font-size: 0.9rem;
	color: var(--ep-gray-600);
	line-height: 1.6;
}

.ep-delivery-option__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
}

/* Phase 3: coach WeChat card */
.ep-coach-wechat-card {
	border: 1px solid color-mix(in srgb, var(--ep-sidebar-card-border, #bbf7d0) 82%, transparent 18%);
	background: var(--ep-sidebar-soft-bg, #f0fdf4);
	border-radius: 12px;
	padding: 1rem;
}

.ep-coach-wechat-card__profile {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 0.9rem;
}

@keyframes ep-avatar-pulse {

	0%,
	100% {
		box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary, rgba(251, 191, 36, 0.42)) 42%, transparent 58%), 0 0 0 5px color-mix(in srgb, var(--primary-light, rgba(251, 191, 36, 0.14)) 100%, transparent 0%);
	}

	50% {
		box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary-hover, rgba(245, 158, 11, 0.66)) 66%, transparent 34%), 0 0 0 9px color-mix(in srgb, var(--primary-light, rgba(245, 158, 11, 0.10)) 86%, transparent 14%), 0 0 20px color-mix(in srgb, var(--primary, rgba(245, 158, 11, 0.22)) 22%, transparent 78%);
	}
}

@keyframes ep-avatar-gold-pulse {

	0%,
	100% {
		box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--primary, rgba(251, 191, 36, 0.4)) 40%, transparent 60%), 0 0 0 6px color-mix(in srgb, var(--primary-light, rgba(251, 191, 36, 0.1)) 100%, transparent 0%);
	}

	50% {
		box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--primary, rgba(251, 191, 36, 0.7)) 70%, transparent 30%), 0 0 0 11px color-mix(in srgb, var(--primary-light, rgba(251, 191, 36, 0.05)) 78%, transparent 22%), 0 0 28px color-mix(in srgb, var(--primary, rgba(251, 191, 36, 0.2)) 20%, transparent 80%);
	}
}

.ep-sidebar-avatar {
	width: 68px;
	height: 68px;
	border-radius: 999px;
	object-fit: cover;
	display: block;
	border: 2.5px solid color-mix(in srgb, var(--primary, rgba(251, 191, 36, 0.55)) 55%, transparent 45%);
	animation: ep-avatar-gold-pulse 3.5s ease-in-out infinite;
}

.ep-coach-wechat-card__avatar {
	width: 48px;
	height: 48px;
	border-radius: 999px;
	object-fit: cover;
	border: 2px solid color-mix(in srgb, var(--primary, rgba(251, 191, 36, 0.72)) 72%, transparent 28%);
	background: var(--ep-white);
	animation: ep-avatar-pulse 3s ease-in-out infinite;
}

.ep-coach-wechat-card__avatar--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	font-weight: 700;
	color: #b45309;
}

.ep-coach-wechat-card__name {
	margin: 0;
	font-weight: 700;
	color: var(--ep-sidebar-title, #14532d);
}

.ep-coach-wechat-card__sub {
	margin: 0.2rem 0 0;
	font-size: 0.82rem;
	color: var(--ep-sidebar-body, #166534);
	opacity: 0.85;
}

.ep-coach-wechat-card__qr-wrap {
	display: flex;
	justify-content: center;
	margin: 0.9rem 0;
}

.ep-coach-wechat-card__qr {
	max-width: 180px;
	width: 100%;
	height: auto;
	border-radius: 10px;
	padding: 8px;
	background: var(--ep-sidebar-card-bg, var(--ep-white));
	border: 2px solid color-mix(in srgb, var(--primary-light, #86efac) 72%, transparent 28%);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ep-coach-wechat-card__id-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	background: color-mix(in srgb, var(--ep-sidebar-card-bg, var(--ep-white)) 88%, white 12%);
	border: 1px solid color-mix(in srgb, var(--ep-sidebar-card-border, #bbf7d0) 82%, transparent 18%);
	border-radius: 10px;
	padding: 0.65rem;
}

.ep-coach-wechat-card__id-label {
	font-size: 0.82rem;
	color: var(--ep-sidebar-body, #166534);
}

.ep-coach-wechat-card__id-value {
	font-size: 0.96rem;
	font-weight: 700;
	color: var(--ep-sidebar-title, #14532d);
	letter-spacing: 0.2px;
}

.ep-booking__copy-btn,
.ep-coach-wechat-card__copy-btn {
	padding: 0.42rem 0.8rem;
	border: 0;
	border-radius: 8px;
	background: var(--ep-sidebar-accent-gradient, linear-gradient(135deg, var(--primary, #07c160) 0%, var(--primary-hover, #059669) 100%));
	color: var(--ep-white);
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--ep-transition);
	box-shadow: 0 8px 18px color-mix(in srgb, var(--primary, #07c160) 18%, transparent 82%);
}

.ep-booking__copy-btn:hover,
.ep-coach-wechat-card__copy-btn:hover {
	filter: brightness(0.95);
}

/* 交付方式切换 */
.ep-booking__delivery-method {
	margin-bottom: 2rem;
}

.ep-booking__delivery-label {
	font-size: 0.875rem;
	color: var(--ep-gray-dark);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
	margin-bottom: 1rem;
}

.ep-booking__delivery-options {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.ep-booking__delivery-option {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1rem 1.5rem;
	background: var(--surface, var(--ep-white));
	border: 2px solid color-mix(in srgb, var(--ep-sidebar-card-border, var(--ep-gray)) 78%, transparent 22%);
	border-radius: 12px;
	cursor: pointer;
	transition: var(--ep-transition);
	position: relative;
}

.ep-booking__delivery-option:hover {
	border-color: var(--primary, var(--ep-blue));
	box-shadow: 0 12px 24px color-mix(in srgb, var(--primary, #3b82f6) 14%, transparent 86%);
	transform: translateY(-2px);
}

.ep-booking__delivery-option--active {
	border-color: var(--primary, var(--ep-blue));
	background: var(--ep-delivery-active-bg, color-mix(in srgb, var(--primary-light, var(--ep-gray-light)) 74%, #ffffff 26%));
	box-shadow: var(--ep-delivery-active-shadow, 0 12px 24px color-mix(in srgb, var(--primary, #3b82f6) 16%, transparent 84%));
}

.ep-booking__delivery-radio {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ep-booking__delivery-icon {
	font-size: 1.5rem;
}

.ep-booking__delivery-icon--wechat {
	filter: hue-rotate(90deg) saturate(1.2);
}

.ep-booking__delivery-text {
	font-size: 1rem;
	font-weight: 600;
	color: var(--ep-text);
}

.ep-booking__delivery-option--active .ep-booking__delivery-text {
	color: var(--primary, var(--ep-blue));
}

/* 微信提示区块 */
.ep-booking__wechat-notice {
	background: var(--ep-sidebar-soft-bg, linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%));
	border: 2px solid color-mix(in srgb, var(--primary, #07c160) 58%, transparent 42%);
	border-radius: 12px;
	padding: 1.5rem;
	margin-bottom: 2rem;
}

.ep-booking__wechat-notice-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.ep-booking__wechat-notice-icon {
	font-size: 1.5rem;
	filter: hue-rotate(90deg) saturate(1.2);
}

.ep-booking__wechat-notice-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--ep-sidebar-title, var(--ep-blue));
}

.ep-booking__wechat-notice-content {
	background: var(--surface, var(--ep-white));
	border-radius: 8px;
	padding: 1.25rem;
}

.ep-booking__wechat-id-display {
	background: color-mix(in srgb, var(--ep-sidebar-pill-bg, var(--ep-gray-light)) 48%, #ffffff 52%);
	border-radius: 8px;
	padding: 1rem;
	margin: 1rem 0;
	text-align: center;
}

.ep-booking__wechat-id-label {
	font-size: 0.875rem;
	color: var(--ep-gray-dark);
	margin-right: 0.5rem;
}

.ep-booking__wechat-id-value {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--primary, #07c160);
	letter-spacing: 0.5px;
}

.ep-booking__wechat-hint {
	margin: 0.75rem 0 0;
	font-size: 0.75rem;
	color: var(--ep-gray-dark);
	line-height: 1.5;
}

/* 表单提示文字 */
.ep-booking__form-hint {
	margin-top: 0.5rem;
	font-size: 0.8125rem;
	color: var(--ep-gray-dark);
	line-height: 1.6;
}

.ep-booking__form-hint strong {
	color: var(--ep-text);
	font-weight: 600;
}

.ep-booking__form-hint span {
	color: var(--primary, var(--ep-gold));
	font-weight: 600;
}

.ep-booking__summary-item {
	display: flex;
	justify-content: space-between;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--ep-gray);
}

.ep-booking__summary-item:last-child {
	border-bottom: none;
}

.ep-booking__summary-label {
	color: var(--ep-gray-dark);
	font-size: 0.875rem;
}

.ep-booking__summary-value {
	font-weight: 600;
	color: var(--ep-text);
}

/* 表单 */
.ep-booking__form {
	margin-bottom: 2rem;
}

.ep-booking__form-group {
	margin-bottom: 1.5rem;
}

.ep-booking__form-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: var(--ep-text);
}

.ep-booking__form-required {
	color: #e53e3e;
}

.ep-booking__form-input {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 2px solid var(--ep-gray);
	border-radius: 8px;
	font-size: 1rem;
	transition: var(--ep-transition);
}

.ep-booking__form-input:focus {
	outline: none;
	border-color: var(--primary, var(--ep-blue));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-light, rgba(26, 54, 93, 0.1)) 100%, transparent 0%);
}

.ep-booking__form-input--error {
	border-color: var(--ep-danger) !important;
}

/* 按钮 */
.ep-booking__actions {
	display: flex;
	gap: 1rem;
	justify-content: flex-end;
	margin-top: 2rem;
}

.ep-booking__button {
	padding: 0.75rem 2rem;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--ep-transition);
	position: relative;
	overflow: hidden;
}

.ep-booking__button::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

.ep-booking__button:active::before {
	width: 300px;
	height: 300px;
}

.ep-booking__button--primary {
	background: var(--ep-sidebar-accent-gradient, linear-gradient(135deg, var(--primary, #1a365d) 0%, var(--primary-hover, #2c5282) 100%));
	color: var(--ep-white);
	box-shadow: 0 10px 22px color-mix(in srgb, var(--primary, #1a365d) 22%, transparent 78%);
}

.ep-booking__button--primary:hover {
	filter: brightness(1.04) saturate(1.02);
	box-shadow: 0 14px 28px color-mix(in srgb, var(--primary, #1a365d) 28%, transparent 72%);
}

.ep-booking__button--secondary {
	background: var(--ep-sidebar-soft-bg, var(--ep-gray));
	color: var(--ep-sidebar-title, var(--ep-text));
	border: 1px solid color-mix(in srgb, var(--ep-sidebar-card-border, var(--ep-gray-300)) 80%, transparent 20%);
}

.ep-booking__button--secondary:hover {
	background: var(--ep-sidebar-card-bg, var(--ep-gray-dark));
	color: var(--ep-sidebar-title, var(--ep-white));
}

.ep-booking__button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Phase 3: submit section */
.ep-submit-section {
	margin-top: 1.3rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--ep-gray-200);
}

.ep-booking__button--full {
	width: 100%;
	max-width: none;
	display: block;
	padding: 0.9rem 1rem;
	font-size: 1.03rem;
}

.ep-submit-trust {
	margin: 0.55rem 0 0;
	text-align: center;
	font-size: 0.86rem;
	color: var(--ep-gray-600);
}

/* ═══════════════════════════════════════════
   Phase 4 — Success Screen (Step 5)
   ═══════════════════════════════════════════ */

/* ── Keyframes ── */
@keyframes ep-check-circle {
	0% {
		stroke-dashoffset: 151;
		opacity: 0;
	}

	20% {
		opacity: 1;
	}

	100% {
		stroke-dashoffset: 0;
	}
}

@keyframes ep-check-path {
	0% {
		stroke-dashoffset: 50;
	}

	100% {
		stroke-dashoffset: 0;
	}
}

@keyframes ep-success-fade-up {
	0% {
		opacity: 0;
		transform: translateY(14px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ── Screen wrapper ── */
.ep-success-screen {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2.2rem 1.5rem 2.8rem;
}

/* ── Hero ── */
.ep-success__hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 1.8rem;
}

.ep-success__icon-wrap {
	width: 72px;
	height: 72px;
	margin-bottom: 1.1rem;
}

.ep-success__check-svg {
	width: 72px;
	height: 72px;
	display: block;
}

.ep-success__check-circle {
	stroke: var(--ep-success);
	stroke-width: 2;
	stroke-dasharray: 151;
	stroke-dashoffset: 151;
	stroke-linecap: round;
	animation: ep-check-circle 0.65s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

.ep-success__check-path {
	stroke: var(--ep-success);
	stroke-width: 3;
	stroke-dasharray: 50;
	stroke-dashoffset: 50;
	stroke-linecap: round;
	stroke-linejoin: round;
	animation: ep-check-path 0.35s ease 0.75s forwards;
}

.ep-success__title {
	margin: 0 0 0.4rem;
	font-size: 1.55rem;
	font-weight: 800;
	color: var(--ep-gray-800);
	animation: ep-success-fade-up 0.5s 0.35s both;
}

.ep-success__subtitle {
	margin: 0;
	font-size: 0.95rem;
	color: var(--ep-gray-600);
	line-height: 1.55;
	animation: ep-success-fade-up 0.5s 0.5s both;
}

/* ── Summary table ── */
.ep-success__summary {
	width: 100%;
	max-width: 480px;
	border-radius: 14px;
	border: 1px solid var(--ep-gray-200);
	overflow: hidden;
	margin-bottom: 1.4rem;
	animation: ep-success-fade-up 0.5s 0.6s both;
}

.ep-success__summary-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.72rem 1rem;
	border-bottom: 1px solid var(--ep-gray-100);
}

.ep-success__summary-item:last-child {
	border-bottom: none;
}

.ep-success__summary-item:nth-child(odd) {
	background: var(--ep-gray-100);
}

.ep-success__summary-label {
	font-size: 0.86rem;
	color: var(--ep-gray-500);
	font-weight: 500;
}

.ep-success__summary-value {
	font-size: 0.9rem;
	color: var(--ep-gray-800);
	font-weight: 600;
	text-align: right;
}

.ep-success__summary-value.ep-format-toggle {
	cursor: pointer;
	text-decoration: underline dotted;
}

/* ── WeChat card ── */
.ep-success__wechat-card {
	width: 100%;
	max-width: 480px;
	border: 1px solid color-mix(in srgb, var(--ep-sidebar-card-border, #bbf7d0) 84%, transparent 16%);
	background: var(--ep-sidebar-soft-bg, #f0fdf4);
	border-radius: 14px;
	padding: 1.1rem 1.2rem;
	margin-bottom: 1.5rem;
	animation: ep-success-fade-up 0.5s 0.7s both;
}

.ep-success__wechat-card__header {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.55rem;
}

.ep-success__wechat-card__icon {
	font-size: 1.05rem;
}

.ep-success__wechat-card__title {
	font-weight: 700;
	color: var(--ep-sidebar-title, #14532d);
	font-size: 0.97rem;
}

.ep-success__wechat-card__hint {
	margin: 0 0 0.8rem;
	font-size: 0.875rem;
	color: var(--ep-sidebar-body, #166534);
	line-height: 1.6;
}

.ep-success__wechat-card__qr-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0.5rem 0 1rem;
}

.ep-success__wechat-card__qr {
	max-width: 180px;
	width: 100%;
	height: auto;
	border: 2px solid color-mix(in srgb, var(--primary-light, #86efac) 72%, transparent 28%);
	border-radius: 10px;
	padding: 8px;
	background: var(--ep-sidebar-card-bg, #fff);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ep-success__wechat-card__qr-caption {
	margin: 0.4rem 0 0;
	font-size: 0.78rem;
	color: var(--ep-sidebar-body, #166534);
	opacity: 0.75;
}

.ep-success__wechat-card__id-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.ep-success__wechat-card__id-label {
	font-size: 0.84rem;
	color: var(--ep-sidebar-body, #166534);
	font-weight: 500;
}

.ep-success__wechat-card__id-value {
	font-weight: 700;
	color: var(--ep-sidebar-title, #14532d);
	font-size: 0.9rem;
}

.ep-success__wechat-card__copy-btn {
	padding: 0.2rem 0.72rem;
	font-size: 0.78rem;
	font-weight: 600;
	background: var(--ep-sidebar-accent-gradient, linear-gradient(135deg, var(--primary, #07c160) 0%, var(--primary-hover, #059669) 100%));
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s;
	box-shadow: 0 8px 18px color-mix(in srgb, var(--primary, #07c160) 18%, transparent 82%);
}

.ep-success__wechat-card__copy-btn:hover,
.ep-success__wechat-card__copy-btn.is-copied {
	filter: brightness(0.95);
	box-shadow: 0 10px 20px color-mix(in srgb, var(--primary, #48bb78) 24%, transparent 76%);
}

/* ── Dual CTA ── */
.ep-success__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.72rem;
	width: 100%;
	max-width: 360px;
	animation: ep-success-fade-up 0.5s 0.8s both;
}

.ep-success__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.38rem;
	width: 100%;
	padding: 0.85rem 1.5rem;
	border-radius: 12px;
	font-size: 0.97rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	border: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ep-success__btn:hover {
	transform: translateY(-1px);
}

.ep-success__btn--primary {
	background: var(--ep-primary);
	color: #fff;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.ep-success__btn--primary:hover {
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.42);
}

.ep-success__btn--ghost {
	background: transparent;
	color: var(--ep-gray-600);
	border: 1.5px solid var(--ep-gray-300);
}

.ep-success__btn--ghost:hover {
	border-color: var(--ep-gray-400);
	color: var(--ep-gray-800);
}

@media (max-width: 768px) {
	.ep-event-card__header {
		min-height: auto;
	}

	.ep-event-card__meta-stack {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		flex-wrap: nowrap;
		gap: 6px;
		min-height: auto;
	}

	.ep-event-card__meta-row {
		flex: 0 0 auto;
		width: 100%;
		flex-wrap: nowrap;
		align-items: center;
		gap: 8px;
		min-width: 0;
	}

	.ep-event-card-price-tag,
	.ep-event-card__meta-row .price-tag {
		margin-left: 0;
		max-width: 100%;
	}

	.ep-event-card__price-detail-row {
		flex: 0 0 auto;
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		justify-content: flex-start;
		min-height: 0;
	}

	.ep-event-card__price-detail-row--empty {
		display: none;
	}

	.ep-event-card-price-detail {
		width: auto;
		max-width: 100%;
		font-size: 0.66rem;
		padding: 3px 7px;
		gap: 5px;
	}

	.ep-success-screen {
		padding: 1.6rem 1rem 2rem;
	}

	.ep-success__title {
		font-size: 1.3rem;
	}

	.ep-success__summary,
	.ep-success__wechat-card,
	.ep-success__actions {
		max-width: 100%;
	}
}

/* 加载状态 */
.ep-booking__overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.ep-booking__overlay--hidden {
	display: none;
}

.ep-booking__spinner {
	width: 40px;
	height: 40px;
	border: 4px solid var(--ep-gray);
	border-top-color: var(--ep-blue);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

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

.ep-booking__overlay-message {
	margin-top: 1rem;
	color: var(--ep-white);
	font-weight: 600;
}

/* 预约配置加载区：淡入淡出 + 轻微位移动画，避免生硬闪烁 */
.ep-booking__loading--config {
	min-height: 220px;
	opacity: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	justify-content: center;
}

.ep-booking__loading--calendar-overlay {
	position: absolute;
	inset: 0;
	min-height: 100%;
	padding: 0 !important;
	background: rgba(252, 253, 255, 0.78);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	border-radius: 18px;
	z-index: 12;
}

.ep-booking__loading--calendar-overlay {
	position: absolute;
	inset: 0;
	min-height: 0;
	z-index: 9;
	padding: 24px;
	background: rgba(252, 253, 255, 0.72);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-radius: 18px;
}

.ep-booking__loading--calendar-overlay .ep-loading-shell {
	transform: scale(0.92);
}

.ep-booking__loading--calendar-overlay .ep-loading-caption {
	color: #334155;
}

.ep-loading-caption {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: #64748b;
	letter-spacing: 0.02em;
}

.ep-loading-subcaption {
	margin: -6px 0 0;
	max-width: 36ch;
	font-size: 12px;
	line-height: 1.6;
	font-weight: 600;
	color: #94a3b8;
	text-align: center;
}

.ep-loading-steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.ep-loading-step {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	border: 1px solid #dbe3ef;
	background: rgba(255, 255, 255, 0.92);
	color: #94a3b8;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.ep-loading-step.is-active {
	border-color: #bfdbfe;
	background: #eff6ff;
	color: #1d4ed8;
}

.ep-loading-step.is-done {
	border-color: #bbf7d0;
	background: #f0fdf4;
	color: #15803d;
}

.ep-booking-debug {
	position: fixed;
	right: 16px;
	bottom: 16px;
	width: min(360px, calc(100vw - 24px));
	z-index: 9999;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace;
	font-size: 11px;
	line-height: 1.45;
	color: #e2e8f0;
	pointer-events: auto;
}

.ep-booking-debug__toggle {
	width: 100%;
	border: 0;
	border-radius: 12px;
	padding: 10px 12px;
	background: #0f172a;
	color: #f8fafc;
	font: inherit;
	font-weight: 700;
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.28);
	cursor: pointer;
}

.ep-booking-debug__panel {
	margin-top: 8px;
	border-radius: 14px;
	padding: 12px;
	background: rgba(15, 23, 42, 0.94);
	box-shadow: 0 18px 34px rgba(15, 23, 42, 0.34);
	max-height: min(60vh, 560px);
	overflow: auto;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.ep-booking-debug__summary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	margin-bottom: 10px;
	color: #cbd5e1;
}

.ep-booking-debug__build {
	margin-bottom: 8px;
	color: #facc15;
	font-weight: 700;
}

.ep-booking-debug__snapshot,
.ep-booking-debug__entry-body {
	margin: 0;
	white-space: pre-wrap;
	word-break: break-word;
	color: #93c5fd;
	background: rgba(15, 23, 42, 0.55);
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 10px;
	padding: 8px;
	margin-bottom: 8px;
}

.ep-booking-debug__entry {
	margin-top: 8px;
}

.ep-booking-debug__entry-head {
	margin-bottom: 4px;
	font-weight: 700;
	color: #f8fafc;
}

.ep-booking-debug__inline-status {
	margin-top: 8px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.72);
	color: #e2e8f0;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}

.ep-loading-shell {
	width: 120px;
	height: 120px;
	border-radius: 28px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 247, 255, 0.98));
	box-shadow: 0 14px 34px rgba(17, 46, 92, 0.14), inset 0 0 0 1px rgba(66, 125, 221, 0.16);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ep-loader-stage {
	position: relative;
	width: 64px;
	height: 64px;
}

.ep-loader-core {
	position: absolute;
	inset: 20px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #6fb5ff, #2d63d8 62%, #1f46a4);
	box-shadow: 0 0 0 8px rgba(77, 135, 235, 0.12), 0 8px 20px rgba(29, 71, 157, 0.28);
}

.ep-loader-orbit {
	position: absolute;
	inset: 2px;
	border-radius: 50%;
	border: 2px dashed rgba(55, 113, 214, 0.35);
	animation: ep-loader-spin 1.9s linear infinite;
}

.ep-loader-orbit--b {
	inset: 10px;
	border-style: solid;
	border-color: transparent rgba(39, 94, 198, 0.56) transparent rgba(39, 94, 198, 0.56);
	animation-duration: 1.2s;
	animation-direction: reverse;
}

.ep-loader-bars {
	position: absolute;
	left: 8px;
	right: 8px;
	top: 14px;
	bottom: 14px;
	display: none;
	align-items: flex-end;
	justify-content: space-between;
}

.ep-loader-bars span {
	width: 9px;
	border-radius: 999px;
	background: linear-gradient(180deg, #72bbff, #295fd4);
	animation: ep-loader-bar-bounce 0.9s ease-in-out infinite;
}

.ep-loader-bars span:nth-child(1) {
	height: 18px;
	animation-delay: 0s;
}

.ep-loader-bars span:nth-child(2) {
	height: 28px;
	animation-delay: 0.12s;
}

.ep-loader-bars span:nth-child(3) {
	height: 36px;
	animation-delay: 0.24s;
}

.ep-loader-bars span:nth-child(4) {
	height: 24px;
	animation-delay: 0.36s;
}

.ep-loader--bars .ep-loader-orbit,
.ep-loader--bars .ep-loader-core {
	display: none;
}

.ep-loader--bars .ep-loader-bars {
	display: flex;
}

.ep-loader--pulse .ep-loader-orbit,
.ep-loader--pulse .ep-loader-bars {
	display: none;
}

.ep-loader--pulse .ep-loader-core {
	inset: 16px;
	animation: ep-loader-core-pulse 0.95s ease-in-out infinite;
}

.ep-loading-fade-enter-active,
.ep-loading-fade-leave-active {
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.ep-loading-fade-enter-from,
.ep-loading-fade-leave-to {
	opacity: 0;
	transform: translateY(6px) scale(0.985);
}


@keyframes ep-loader-spin {
	to {
		transform: rotate(360deg);
	}

}

@keyframes ep-loader-bar-bounce {

	0%,
	100% {
		transform: scaleY(0.55);
		opacity: 0.55;
	}

	50% {
		transform: scaleY(1);
		opacity: 1;
	}
}

@keyframes ep-loader-core-pulse {

	0%,
	100% {
		transform: scale(0.84);
		box-shadow: 0 0 0 0 rgba(71, 130, 232, 0.26);
	}

	50% {
		transform: scale(1);
		box-shadow: 0 0 0 12px rgba(71, 130, 232, 0);
	}
}

/* 清单卡片入场动画 */
.ep-event-card--reveal {
	opacity: 0;
	transform: translateY(12px) scale(0.985);
	animation: ep-card-reveal 0.44s cubic-bezier(0.2, 0.65, 0.25, 1) forwards;
}

@keyframes ep-card-reveal {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.985);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {

	.ep-event-card--reveal,
	.ep-loader-orbit,
	.ep-loader-bars span,
	.ep-loader--pulse .ep-loader-core {
		animation: none !important;
		opacity: 1;
		transform: none;
	}
}

/* ============================================================
   新增过渡动画：20 个预设 (ep-loader--[name])
   ============================================================ */

/* ── 共用 dots 元素 ── */
.ep-loader-dots {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	gap: 7px;
}
.ep-loader-dots span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #2d63d8;
}

/* ── 共用 bird 元素（默认隐藏）── */
.ep-loader-bird {
	position: absolute;
	inset: -12px;
	display: none;
	align-items: center;
	justify-content: center;
}
.ep-loader-bird svg {
	width: 88px;
	height: 64px;
}

/* ─── 4. hummingbird ─── */
.ep-loader--hummingbird .ep-loader-core,
.ep-loader--hummingbird .ep-loader-orbit,
.ep-loader--hummingbird .ep-loader-bars,
.ep-loader--hummingbird .ep-loader-dots { display: none; }
.ep-loader--hummingbird .ep-loader-bird { display: flex; }
.hs-bird-body   { animation: hs-bird-hover 1.8s ease-in-out infinite; transform-origin: 52px 46px; }
.hs-bird-wings  { animation: hs-wings-flap 0.22s ease-in-out infinite alternate; transform-origin: 46px 46px; }
.hs-bead        { animation: hs-bead-swing 1.8s ease-in-out infinite; transform-origin: 91px 27px; }
@keyframes hs-bird-hover {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(-7px); }
}
@keyframes hs-wings-flap {
	from { transform: scaleY(1); }
	to   { transform: scaleY(0.65); }
}
@keyframes hs-bead-swing {
	0%, 100% { transform: rotate(0deg); }
	30%       { transform: rotate(18deg); }
	70%       { transform: rotate(-8deg); }
}

/* ─── 5. ripple ─── */
.ep-loader--ripple .ep-loader-bars,
.ep-loader--ripple .ep-loader-orbit,
.ep-loader--ripple .ep-loader-dots,
.ep-loader--ripple .ep-loader-bird { display: none; }
.ep-loader--ripple .ep-loader-core {
	inset: 14px;
	box-shadow: 0 0 0 0 rgba(45,99,216,0.45);
	animation: ep-ripple 1.4s ease-out infinite;
}
@keyframes ep-ripple {
	0%   { box-shadow: 0 0 0 0 rgba(45,99,216,0.45); }
	70%  { box-shadow: 0 0 0 22px rgba(45,99,216,0); }
	100% { box-shadow: 0 0 0 0 rgba(45,99,216,0); }
}

/* ─── 6. breathe ─── */
.ep-loader--breathe .ep-loader-bars,
.ep-loader--breathe .ep-loader-orbit,
.ep-loader--breathe .ep-loader-dots,
.ep-loader--breathe .ep-loader-bird { display: none; }
.ep-loader--breathe .ep-loader-core {
	inset: 12px;
	animation: ep-breathe 2.4s ease-in-out infinite;
	background: radial-gradient(circle at 35% 35%, #6fb5ff, #1f46a4);
}
@keyframes ep-breathe {
	0%, 100% { transform: scale(0.8); opacity: 0.7; }
	50%       { transform: scale(1.15); opacity: 1; }
}

/* ─── 7. dots ─── */
.ep-loader--dots .ep-loader-core,
.ep-loader--dots .ep-loader-orbit,
.ep-loader--dots .ep-loader-bars,
.ep-loader--dots .ep-loader-bird { display: none; }
.ep-loader--dots .ep-loader-dots { display: flex; }
.ep-loader--dots .ep-loader-dots span:nth-child(1) { animation: ep-dot-bounce 1.1s 0s   ease-in-out infinite; }
.ep-loader--dots .ep-loader-dots span:nth-child(2) { animation: ep-dot-bounce 1.1s 0.18s ease-in-out infinite; }
.ep-loader--dots .ep-loader-dots span:nth-child(3) { animation: ep-dot-bounce 1.1s 0.36s ease-in-out infinite; }
@keyframes ep-dot-bounce {
	0%, 80%, 100% { transform: scale(0.65); opacity: 0.5; }
	40%            { transform: scale(1);    opacity: 1;   }
}

/* ─── 8. wave ─── */
.ep-loader--wave .ep-loader-core,
.ep-loader--wave .ep-loader-orbit,
.ep-loader--wave .ep-loader-dots,
.ep-loader--wave .ep-loader-bird { display: none; }
.ep-loader--wave .ep-loader-bars { display: flex; }
.ep-loader--wave .ep-loader-bars span { animation: ep-wave 1.0s ease-in-out infinite; }
.ep-loader--wave .ep-loader-bars span:nth-child(1) { animation-delay: 0s; }
.ep-loader--wave .ep-loader-bars span:nth-child(2) { animation-delay: 0.1s; }
.ep-loader--wave .ep-loader-bars span:nth-child(3) { animation-delay: 0.2s; }
.ep-loader--wave .ep-loader-bars span:nth-child(4) { animation-delay: 0.3s; }
.ep-loader--wave .ep-loader-bars span:nth-child(5) { animation-delay: 0.4s; }
@keyframes ep-wave {
	0%, 100% { transform: scaleY(0.4); }
	50%       { transform: scaleY(1.1); }
}

/* ─── 9. spin ─── */
.ep-loader--spin .ep-loader-bars,
.ep-loader--spin .ep-loader-dots,
.ep-loader--spin .ep-loader-bird { display: none; }
.ep-loader--spin .ep-loader-orbit--a { border-style: solid; border-color: #2d63d8 transparent transparent transparent; animation-duration: 0.8s; }
.ep-loader--spin .ep-loader-orbit--b { border-style: solid; border-color: transparent transparent #6fb5ff transparent; animation-duration: 1.1s; animation-direction: reverse; }
.ep-loader--spin .ep-loader-core { animation: ep-spin-core 2.2s ease-in-out infinite; }
@keyframes ep-spin-core {
	0%, 100% { transform: rotate(0deg); }
	50%       { transform: rotate(180deg); }
}

/* ─── 10. clock ─── */
.ep-loader--clock .ep-loader-bars,
.ep-loader--clock .ep-loader-dots,
.ep-loader--clock .ep-loader-bird { display: none; }
.ep-loader--clock .ep-loader-orbit--a { border-style: solid; border-color: rgba(45,99,216,0.3); animation: ep-loader-spin 8s linear infinite; }
.ep-loader--clock .ep-loader-orbit--b { border: none; }
.ep-loader--clock .ep-loader-orbit--b::after {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 2px; height: 40%;
	margin-left: -1px; margin-top: -38%;
	background: #2d63d8;
	border-radius: 999px;
	transform-origin: bottom center;
	animation: ep-loader-spin 1s linear infinite;
}

/* ─── 11. cascade ─── */
.ep-loader--cascade .ep-loader-core,
.ep-loader--cascade .ep-loader-orbit,
.ep-loader--cascade .ep-loader-bars,
.ep-loader--cascade .ep-loader-bird { display: none; }
.ep-loader--cascade .ep-loader-dots { display: flex; flex-direction: column; gap: 5px; }
.ep-loader--cascade .ep-loader-dots span { width: 28px; height: 6px; border-radius: 999px; background: linear-gradient(90deg, #2d63d8, #6fb5ff); }
.ep-loader--cascade .ep-loader-dots span:nth-child(1) { animation: ep-cascade 1.2s 0s   ease-in-out infinite; }
.ep-loader--cascade .ep-loader-dots span:nth-child(2) { animation: ep-cascade 1.2s 0.2s ease-in-out infinite; }
.ep-loader--cascade .ep-loader-dots span:nth-child(3) { animation: ep-cascade 1.2s 0.4s ease-in-out infinite; }
@keyframes ep-cascade {
	0%, 100% { transform: scaleX(0.5); opacity: 0.4; }
	50%       { transform: scaleX(1);   opacity: 1;   }
}

/* ─── 12. vortex ─── */
.ep-loader--vortex .ep-loader-bars,
.ep-loader--vortex .ep-loader-dots,
.ep-loader--vortex .ep-loader-bird { display: none; }
.ep-loader--vortex .ep-loader-orbit--a { animation: ep-vortex-a 1.4s ease-in-out infinite; border-style: solid; border-color: rgba(45,99,216,0.6); }
.ep-loader--vortex .ep-loader-orbit--b { animation: ep-vortex-b 1s ease-in-out infinite; border-style: solid; border-color: rgba(111,181,255,0.7); }
.ep-loader--vortex .ep-loader-core { animation: ep-vortex-core 1.4s ease-in-out infinite; }
@keyframes ep-vortex-a { 0%,100%{transform:rotate(0)scale(1);}50%{transform:rotate(180deg)scale(1.1);} }
@keyframes ep-vortex-b { 0%,100%{transform:rotate(0)scale(0.9);}50%{transform:rotate(-240deg)scale(1.05);} }
@keyframes ep-vortex-core { 0%,100%{transform:scale(0.9)rotate(0);}50%{transform:scale(1.05)rotate(90deg);} }

/* ─── 13. aurora ─── */
.ep-loader--aurora .ep-loader-bars,
.ep-loader--aurora .ep-loader-dots,
.ep-loader--aurora .ep-loader-bird { display: none; }
.ep-loader--aurora .ep-loader-core { inset: 10px; background: conic-gradient(#6fb5ff, #1a7472, #c9a227, #2d63d8, #6fb5ff); animation: ep-loader-spin 2s linear infinite; }
.ep-loader--aurora .ep-loader-orbit--a { border-style: solid; border-color: rgba(26,116,114,0.5); animation-duration: 2.5s; }
.ep-loader--aurora .ep-loader-orbit--b { border-color: rgba(201,162,39,0.4); animation-duration: 1.6s; }

/* ─── 14. morph ─── */
.ep-loader--morph .ep-loader-bars,
.ep-loader--morph .ep-loader-orbit,
.ep-loader--morph .ep-loader-dots,
.ep-loader--morph .ep-loader-bird { display: none; }
.ep-loader--morph .ep-loader-core {
	inset: 12px;
	background: linear-gradient(135deg, #2d63d8, #6fb5ff);
	animation: ep-morph 2s ease-in-out infinite;
}
@keyframes ep-morph {
	0%   { border-radius: 50%; transform: rotate(0deg) scale(1); }
	25%  { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(45deg) scale(1.08); }
	50%  { border-radius: 50%; transform: rotate(90deg) scale(1); }
	75%  { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: rotate(135deg) scale(1.08); }
	100% { border-radius: 50%; transform: rotate(180deg) scale(1); }
}

/* ─── 15. elastic ─── */
.ep-loader--elastic .ep-loader-orbit,
.ep-loader--elastic .ep-loader-dots,
.ep-loader--elastic .ep-loader-bird { display: none; }
.ep-loader--elastic .ep-loader-core {
	inset: 14px;
	animation: ep-elastic 1.6s cubic-bezier(0.68,-0.55,0.27,1.55) infinite;
}
.ep-loader--elastic .ep-loader-bars { display: none; }
@keyframes ep-elastic {
	0%, 100% { transform: scale(1); }
	50%       { transform: scaleX(1.3) scaleY(0.7); }
}

/* ─── 16. minimal ─── */
.ep-loader--minimal .ep-loader-core,
.ep-loader--minimal .ep-loader-bars,
.ep-loader--minimal .ep-loader-dots,
.ep-loader--minimal .ep-loader-bird { display: none; }
.ep-loader--minimal .ep-loader-orbit--a { border-style: solid; border-color: #2d63d8 transparent transparent transparent; animation-duration: 0.9s; inset: 4px; }
.ep-loader--minimal .ep-loader-orbit--b { display: none; }

/* ─── 17. neon ─── */
.ep-loader--neon .ep-loader-bars,
.ep-loader--neon .ep-loader-dots,
.ep-loader--neon .ep-loader-bird { display: none; }
.ep-loader--neon .ep-loader-core {
	inset: 16px;
	background: #0ff;
	box-shadow: 0 0 8px #0ff, 0 0 24px #0af, 0 0 40px rgba(0,170,255,0.4);
	animation: ep-neon-pulse 1.1s ease-in-out infinite;
}
.ep-loader--neon .ep-loader-orbit--a { border-color: rgba(0,255,255,0.5); animation-duration: 1.4s; }
.ep-loader--neon .ep-loader-orbit--b { border-color: rgba(0,170,255,0.4); animation-duration: 0.9s; }
@keyframes ep-neon-pulse {
	0%, 100% { box-shadow: 0 0 8px #0ff, 0 0 24px #0af; }
	50%       { box-shadow: 0 0 16px #0ff, 0 0 40px #0af, 0 0 60px rgba(0,170,255,0.6); }
}

/* ─── 18. zen ─── */
.ep-loader--zen .ep-loader-bars,
.ep-loader--zen .ep-loader-orbit--b,
.ep-loader--zen .ep-loader-dots,
.ep-loader--zen .ep-loader-bird { display: none; }
.ep-loader--zen .ep-loader-core {
	inset: 18px;
	background: linear-gradient(135deg, #1a7472, #2d8b86);
	animation: ep-breathe 3s ease-in-out infinite;
}
.ep-loader--zen .ep-loader-orbit--a { border-style: solid; border-color: rgba(26,116,114,0.3); animation-duration: 5s; }

/* ─── 19. crystal ─── */
.ep-loader--crystal .ep-loader-bars,
.ep-loader--crystal .ep-loader-dots,
.ep-loader--crystal .ep-loader-bird { display: none; }
.ep-loader--crystal .ep-loader-core {
	inset: 14px;
	background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(200,230,255,0.7));
	border: 1px solid rgba(100,180,255,0.5);
	box-shadow: inset 0 0 12px rgba(100,180,255,0.3);
	animation: ep-crystal-shimmer 2s ease-in-out infinite;
}
.ep-loader--crystal .ep-loader-orbit--a { border-style: solid; border-color: rgba(100,180,255,0.4); }
.ep-loader--crystal .ep-loader-orbit--b { border-style: dashed; border-color: rgba(200,162,39,0.35); animation-duration: 2.8s; }
@keyframes ep-crystal-shimmer {
	0%, 100% { transform: rotate(0deg) scale(1); filter: brightness(1); }
	50%       { transform: rotate(15deg) scale(1.05); filter: brightness(1.2); }
}

/* ─── 20. flow ─── */
.ep-loader--flow .ep-loader-core,
.ep-loader--flow .ep-loader-orbit,
.ep-loader--flow .ep-loader-bird { display: none; }
.ep-loader--flow .ep-loader-bars { display: flex; }
.ep-loader--flow .ep-loader-bars span { animation: ep-flow 1.5s ease-in-out infinite; background: linear-gradient(180deg, #1a7472, #2d63d8); }
.ep-loader--flow .ep-loader-bars span:nth-child(1) { animation-delay: 0s; }
.ep-loader--flow .ep-loader-bars span:nth-child(2) { animation-delay: 0.2s; }
.ep-loader--flow .ep-loader-bars span:nth-child(3) { animation-delay: 0.4s; }
.ep-loader--flow .ep-loader-bars span:nth-child(4) { animation-delay: 0.6s; }
.ep-loader--flow .ep-loader-bars span:nth-child(5) { animation-delay: 0.8s; }
.ep-loader--flow .ep-loader-dots { display: none; }
@keyframes ep-flow {
	0%, 100% { height: 12px; opacity: 0.5; }
	50%       { height: 36px; opacity: 1; }
}

@media (min-width: 769px) and (max-width: 1180px) {
	.ep-booking__container {
		padding-bottom: 1.25rem;
	}

	.ep-booking__event-card,
	.ep-booking__event-card:hover {
		transform: none !important;
		will-change: auto !important;
	}

	.ep-event-card--reveal {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}

	.ep-booking__event-card:hover .ep-event-cta-btn,
	.ep-event-cta-btn:hover {
		transform: none !important;
	}
}

/* 错误提示 */
.ep-booking__error {
	background: #fed7d7;
	border: 2px solid #fc8181;
	border-radius: var(--ep-border-radius);
	padding: 1rem 1.5rem;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	color: #c53030;
}

.ep-booking__error--hidden {
	display: none;
}

.ep-booking__error-icon {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fc8181;
	color: var(--ep-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	flex-shrink: 0;
}

/* 成功提示 */
.ep-booking__success {
	background: #c6f6d5;
	border: 2px solid #68d391;
	border-radius: var(--ep-border-radius);
	padding: 1rem 1.5rem;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	color: #22543d;
}

.ep-booking__success--hidden {
	display: none;
}

.ep-booking__success-icon {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #68d391;
	color: var(--ep-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	flex-shrink: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.ep-booking__container {
		padding: 1rem;
	}

	.ep-booking__steps {
		margin-bottom: 2rem;
	}

	.ep-booking__step-label {
		font-size: 0.75rem;
	}

	.ep-booking__time-slots {
		grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	}

	.ep-booking__actions {
		flex-direction: column;
	}

	.ep-booking__button {
		width: 100%;
	}
}

/* 雅致灰斜纹 - 用于忙碌/休息状态 */
.cell-gray-stripe {
	background-color: #F3F4F6 !important;
	background-image: repeating-linear-gradient(-45deg,
			transparent,
			transparent 10px,
			rgba(255, 255, 255, 0.8) 10px,
			rgba(255, 255, 255, 0.8) 20px) !important;
	cursor: not-allowed !important;
	border-color: #E2E8F0 !important;
	color: #94A3B8 !important;
}

/* 品牌蓝 - 统一可约状态 */
.cell-brand-blue {
	background-color: #E0E7FF !important;
	border-color: #3B82F6 !important;
	color: #1E293B !important;
}

/* 兼容原有 ep-status-busy 名称 */
.ep-status-busy {
	background-color: #F3F4F6 !important;
	background-image: repeating-linear-gradient(-45deg,
			transparent,
			transparent 10px,
			rgba(255, 255, 255, 0.8) 10px,
			rgba(255, 255, 255, 0.8) 20px) !important;
	cursor: not-allowed !important;
}

.ep-booking__service,
.ep-booking__time-slot {
	position: relative;
	overflow: hidden;
}

.ep-booking__service::after,
.ep-booking__time-slot::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(26, 54, 93, 0.2);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

.ep-booking__service:active::after,
.ep-booking__time-slot:active::after {
	width: 300px;
	height: 300px;
}


/* 🆕 Inline 模式：日历下方展开时段选择器 */
.ep-booking__inline-slots {
	margin-top: 0;
	height: auto;
	min-height: 760px;
	display: flex;
	flex-direction: column;
	padding: 1.35rem 1.1rem 1.6rem;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	border: 1px solid rgba(37, 99, 235, 0.14);
	border-radius: 20px;
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
	overflow: visible;
	animation: slideDown 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ep-booking__inline-slots--revealing {
	animation: ep-slots-fade-in-up 180ms ease-out;
	will-change: opacity, transform;
}

@keyframes ep-slots-fade-in-up {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

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

	to {
		opacity: 1;
		transform: translateY(0);
		max-height: 1000px;
	}
}

.ep-booking__inline-slots-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--ep-gray);
	flex-shrink: 0;
}

.ep-booking__inline-slots-title {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--ep-blue);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.ep-booking__inline-slots-date {
	font-size: 0.875rem;
	color: var(--ep-gray-dark);
	background: var(--ep-white);
	padding: 0.375rem 0.75rem;
	border-radius: 6px;
}

.ep-booking__inline-time-slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
	gap: 0.65rem;
}

/* 移动端优化 */
@media (max-width: 768px) {
	.ep-booking__inline-slots {
		padding: 1rem;
		margin-top: 1rem;
		height: auto;
		min-height: auto;
	}

	.ep-booking__inline-slots-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.ep-booking__inline-time-slots {
		grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
		gap: 0.5rem;
	}
}

/* 🆕 Full Calendar Styles */
.ep-booking__calendar-wrapper {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ep-booking__calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	gap: 1rem;
}

.ep-calendar-nav {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.ep-booking__current-month {
	font-size: 1.15rem;
	font-weight: 800;
	color: #1a365d;
	letter-spacing: 0.3px;
	white-space: nowrap;
}

.ep-calendar-timezone-picker {
	margin-left: auto;
	display: flex;
	align-items: center;
}

.ep-booking__nav-btn {
	background: #f1f5f9;
	border: 1.5px solid #e2e8f0;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	font-weight: 600;
	color: #4a5568;
	padding: 0;
	flex-shrink: 0;
}

.ep-booking__nav-btn:hover {
	background: #3b82f6;
	border-color: #3b82f6;
	color: #ffffff;
	transform: scale(1.08);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.ep-booking__nav-btn:active {
	transform: scale(0.96);
}

.ep-chevron-icon {
	width: 20px;
	height: 20px;
	stroke-width: 2.5;
}

.ep-booking__weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 8px;
	text-align: center;
	font-weight: 600;
	color: var(--ep-gray-dark);
	margin-bottom: 8px;
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
	font-feature-settings: 'tnum' 1;
}

.ep-booking__weekdays span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
}

.ep-booking__days-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 8px;
}

.ep-booking__day {
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	cursor: pointer;
	border-radius: 50%;
	font-weight: 500;
	transition: all 0.25s;
	position: relative;
	color: #4a5568;
	font-variant-numeric: tabular-nums;
	font-feature-settings: 'tnum' 1;
}

.ep-booking__day:hover:not(.ep-booking__day--empty):not(.ep-booking__day--past):not(.ep-booking__day--selected) {
	background: color-mix(in srgb, var(--primary-light, rgba(59, 130, 246, 0.1)) 78%, transparent 22%);
	color: var(--primary, #3b82f6);
}

.ep-booking__day--selected {
	background: var(--primary, #3b82f6) !important;
	color: #ffffff !important;
	font-weight: 700;
}

.ep-booking__day--past {
	color: #cbd5e0;
	cursor: not-allowed;
}

/* 今天：蓝色空心圆环 */
.ep-booking__day--today {
	border: 2.5px solid var(--primary, #3b82f6);
	color: var(--primary, #3b82f6);
	font-weight: 600;
}

/* 可用日期：底部绿点；今天只有在可约时才显示点 */
.ep-booking__day--today:not(.ep-booking__day--unavailable)::after,
.ep-booking__day:not(.ep-booking__day--empty):not(.ep-booking__day--past):not(.ep-booking__day--unavailable):not(.ep-booking__day--today)::after {
	content: '';
	position: absolute;
	bottom: 6px;
	left: 50%;
	transform: translateX(-50%);
	width: 6px;
	height: 6px;
	background: var(--primary, #48bb78);
	border-radius: 50%;
	box-shadow: 0 0 5px color-mix(in srgb, var(--primary, #48bb78) 55%, transparent 45%);
}

/* 已选中日期不显示绿点 */
.ep-booking__day--selected::after {
	display: none;
}

/* ==========================================================================
   Toast Notification Upgrade (v2.0)
   - Centered, larger, prominent
   ========================================================================== */
.ep-toast-container {
	position: fixed;
	top: 40px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10000;
	/* Higher than modals */
	padding: 18px 32px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
	font-size: 16px;
	font-weight: 700;
	color: var(--ep-text);
	opacity: 0;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: none;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 320px;
	justify-content: center;
	backdrop-filter: blur(10px);
}

.ep-toast-show {
	top: 80px;
	opacity: 1;
}

/* Status variants */
.ep-toast-container[data-type="success"] {
	border-left: 5px solid var(--ep-success);
}

.ep-toast-container[data-type="error"] {
	border-left: 5px solid var(--ep-danger);
}

.ep-toast-container[data-type="warning"] {
	border-left: 5px solid var(--ep-warning);
}

/* ==========================================================================
   Modal UI Upgrade (v3.0) - Replaces Toasts
   - Full screen overlay with blur
   - Centered, animated card
   ========================================================================== */
.ep-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(8px);
	z-index: 20000;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.2s ease-out;
}

.ep-modal-content {
	background: #fff;
	padding: 32px 48px;
	border-radius: 24px;
	box-shadow:
		0 20px 25px -5px rgba(0, 0, 0, 0.1),
		0 10px 10px -5px rgba(0, 0, 0, 0.04),
		0 0 0 1px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-width: 320px;
	max-width: 90vw;
	animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.ep-modal-icon {
	font-size: 48px;
	margin-bottom: 16px;
	line-height: 1;
}

.ep-modal-text h3 {
	margin: 0 0 8px;
	font-size: 1.25rem;
	font-weight: 800;
	color: #1e293b;
}

.ep-modal-text p {
	margin: 0;
	font-size: 1rem;
	color: #64748b;
	font-weight: 500;
	line-height: 1.5;
}

@keyframes popIn {
	0% {
		transform: scale(0.9) translateY(10px);
		opacity: 0;
	}

	100% {
		transform: scale(1) translateY(0);
		opacity: 1;
	}
}

/* Hide Toast if overrides fail */
.ep-toast-container {
	display: none !important;
}

/* ==========================================================
   Phase 1: 事件卡片视觉升级
   ========================================================== */

/* 基础卡片 */
.ep-booking__event-card {
	background: var(--surface, #ffffff);
	border: 1.5px solid color-mix(in srgb, var(--ep-sidebar-card-border, #e2e8f0) 86%, transparent 14%);
	border-radius: 14px;
	padding: 1.5rem;
	cursor: pointer;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
		box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
		border-color 0.2s;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	overflow: hidden;
	will-change: transform;
	transform: translateZ(0);
}

.ep-booking__event-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 36px color-mix(in srgb, var(--primary, rgba(0, 0, 0, 0.11)) 14%, rgba(15,23,42,0.12) 86%);
	border-color: color-mix(in srgb, var(--primary, #c7d7f0) 24%, var(--ep-sidebar-card-border, #c7d7f0) 76%);
}

/* 顶部色条：用 ::before 伪元素，完全独立于 border，不受 hover border-color 影响 */
.ep-booking__event-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	border-radius: 14px 14px 0 0;
	background: color-mix(in srgb, var(--ep-sidebar-card-border, #e2e8f0) 90%, transparent 10%);
	/* 默认灰色兜底 */
}

.ep-booking__event-card.ep-event-card--credit::before {
	background: linear-gradient(90deg, #3b82f6 0%, #93c5fd 100%);
}

.ep-booking__event-card.ep-event-card--pay::before {
	background: linear-gradient(90deg, #d4af37 0%, #f5d76e 100%);
}

.ep-booking__event-card.ep-event-card--free::before {
	background: linear-gradient(90deg, #48bb78 0%, #86efac 100%);
}

/* 卡片内容整体下移，为顶部色条让出空间 */
.ep-booking__event-card>div:first-child,
.ep-event-card__footer {
	padding-top: 0;
}

.ep-booking__event-card {
	padding-top: calc(1.5rem + 5px);
}

/* 卡片标题 */
.ep-event-card__title {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ep-sidebar-title, #1a365d);
	margin-bottom: 0.5rem;
	line-height: 1.4;
}

/* 顶部头部与元信息统一对齐 */
.ep-event-card__header {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
	min-height: 64px;
}

/* 时长 / 类型 / 价格细节分层显示 */
.ep-event-card__meta-stack {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-bottom: 1rem;
	min-height: 72px;
}

.ep-event-card__meta-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: nowrap;
	min-width: 0;
}

/* 时长徽章 */
.ep-event-card__duration {
	display: inline-flex;
	align-items: baseline;
	gap: 2px;
	background: color-mix(in srgb, var(--ep-sidebar-soft-bg, #edf2f7) 70%, #ffffff 30%);
	padding: 3px 10px;
	border-radius: 4px;
	white-space: nowrap;
	flex-shrink: 0;
}

.ep-event-card__duration-num {
	font-size: 1rem;
	font-weight: 700;
	color: var(--ep-sidebar-title, #4a5568);
}

.ep-event-card__duration-unit {
	font-size: 0.75rem;
	color: var(--ep-sidebar-muted, #718096);
}

/* 描述文本：最多 2 行，截断溢出 */
.ep-event-card__desc {
	font-size: 0.875rem;
	color: var(--ep-sidebar-body, #4a5568);
	line-height: 1.55;
	margin-bottom: 1rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 第一步卡片按钮 */
.ep-event-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.58rem 1.15rem;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1;
	background: var(--btn-color, #3b82f6) !important;
	color: #ffffff;
	transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
	white-space: nowrap;
	box-shadow: 0 2px 8px color-mix(in srgb, var(--btn-color, #3b82f6) 25%, transparent 75%);
}

.ep-event-card__footer {
	margin-top: auto;
	padding-top: 0.9rem;
	display: flex;
	align-items: center;
}

/* ==========================================================
   优化：左右栏平衡布局 (Phase 2.5)
   ========================================================== */

/* 预约页面容器：flexRow 布局 */
.ep-responsive-container {
	display: grid;
	--ep-sidebar-column-width: clamp(292px, 24vw, 344px);
	grid-template-columns: minmax(var(--ep-sidebar-column-width), var(--ep-sidebar-column-width)) minmax(0, 1fr);
	gap: clamp(1.2rem, 2vw, 2rem);
	align-items: start;
}

.ep-responsive-container.is-step-4 {
	grid-template-columns: minmax(var(--ep-sidebar-column-width), var(--ep-sidebar-column-width)) minmax(0, 1fr);
}

.ep-responsive-container.is-step-4 .ep-sidebar {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.92rem;
}

/* 左侧栏：限制高度，防止压倒右侧 */
.ep-sidebar {
	width: 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.88rem;
	position: sticky;
	top: 24px;
}

.ep-sidebar-profile {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 1rem 0.9rem;
	border-radius: var(--ep-sidebar-profile-radius, 22px);
	border: 1px solid transparent;
	background: transparent;
	box-shadow: none;
}

.ep-sidebar-Instructor-info {
	min-width: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.18rem;
}

/* 桌面端描述：默认截断，按钮展开 */
.ep-sidebar-description {
	position: relative;
	overflow: hidden;
	max-height: 520px;
	transition: max-height 0.28s ease;
	white-space: normal;
}

.ep-sidebar-description::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 68px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 72%);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.ep-sidebar-description.has-overflow::after {
	opacity: 1;
}

.ep-sidebar-description.is-expanded {
	max-height: none;
}

.ep-sidebar-description.is-expanded::after {
	opacity: 0;
}

body.ep-image-preview-open {
	overflow: hidden;
}

.ep-sidebar-description img,
.ep-mobile-event-description img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1rem auto;
	border-radius: 20px;
	cursor: zoom-in;
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
	transform-origin: center center;
	animation: ep-sidebar-image-float 6.8s ease-in-out infinite;
	transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
	will-change: transform;
}

.ep-sidebar-description img:nth-of-type(even),
.ep-mobile-event-description img:nth-of-type(even) {
	animation-delay: -3.2s;
	animation-duration: 7.6s;
}

.ep-sidebar-description img:hover,
.ep-mobile-event-description img:hover {
	transform: translateY(-6px) scale(1.018) rotate(-0.6deg);
	box-shadow: 0 24px 52px rgba(15, 23, 42, 0.16);
	filter: saturate(1.04);
}

.ep-sidebar-description a:has(img),
.ep-mobile-event-description a:has(img) {
	display: inline-block;
	max-width: 100%;
	text-decoration: none;
}

@keyframes ep-sidebar-image-float {
	0%,
	100% {
		transform: translateY(0) scale(1);
	}
	50% {
		transform: translateY(-7px) scale(1.012);
	}
}

.ep-sidebar-image-lightbox {
	position: fixed;
	inset: 0;
	z-index: 12000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(18px, 3vw, 42px);
	background: rgba(15, 23, 42, 0.74);
	backdrop-filter: blur(16px);
	animation: ep-sidebar-image-lightbox-fade 0.24s ease;
}

.ep-sidebar-image-lightbox__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	max-width: min(1100px, 92vw);
	max-height: 90vh;
	animation: ep-sidebar-image-lightbox-rise 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ep-sidebar-image-lightbox__frame {
	overflow: hidden;
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
	box-shadow: 0 28px 68px rgba(15, 23, 42, 0.28);
}

.ep-sidebar-image-lightbox__img {
	display: block;
	max-width: min(1100px, 92vw);
	max-height: 78vh;
	width: auto;
	height: auto;
	object-fit: contain;
	background: #fff;
}

.ep-sidebar-image-lightbox__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.62);
	color: #fff;
	font-size: 1.7rem;
	line-height: 1;
	cursor: pointer;
	backdrop-filter: blur(8px);
	transition: transform 0.2s ease, background 0.2s ease;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
}

.ep-sidebar-image-lightbox__close:hover {
	transform: scale(1.06);
	background: rgba(15, 23, 42, 0.78);
}

.ep-sidebar-image-lightbox__caption {
	margin: 0;
	padding: 0 0.4rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.95rem;
	line-height: 1.6;
	text-wrap: pretty;
}

@keyframes ep-sidebar-image-lightbox-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes ep-sidebar-image-lightbox-rise {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.ep-sidebar-toggle-btn {
	margin-top: 0.75rem;
	padding: 0.45rem 0.85rem;
	border: 1px solid color-mix(in srgb, var(--ep-sidebar-card-border, #cbd5e1) 82%, transparent 18%);
	border-radius: 999px;
	background: var(--ep-sidebar-soft-bg, #f8fafc);
	color: var(--ep-sidebar-title, #334155);
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ep-sidebar-toggle-btn:hover {
	background: var(--ep-sidebar-card-bg, #e2e8f0);
	border-color: color-mix(in srgb, var(--primary, #94a3b8) 24%, var(--ep-sidebar-card-border, #94a3b8) 76%);
}

/* 右侧主内容：弹性伸展 */
.ep-main-content {
	position: relative;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.ep-responsive-container[data-sidebar-mode="hybrid"] {
	--ep-sidebar-shell-gap: 0.9rem;
	--ep-sidebar-profile-bg:
		linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)),
		linear-gradient(120deg, rgba(251, 191, 36, 0.08), transparent 42%);
	--ep-sidebar-profile-border: rgba(226, 232, 240, 0.92);
	--ep-sidebar-profile-shadow: 0 20px 42px rgba(15, 23, 42, 0.07);
	--ep-sidebar-text-panel-bg: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
	--ep-sidebar-text-panel-border: rgba(226, 232, 240, 0.92);
	--ep-sidebar-text-panel-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
	--ep-sidebar-title-panel-bg: transparent;
	--ep-sidebar-title-panel-border: transparent;
	--ep-sidebar-title-panel-shadow: none;
	--ep-sidebar-title-panel-padding: 0;
	--ep-sidebar-title-panel-radius: 0;
	--ep-sidebar-description-panel-bg: #ffffff;
	--ep-sidebar-description-panel-border: #e2e8f0;
	--ep-sidebar-description-panel-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
	--ep-sidebar-duration-panel-bg: transparent;
	--ep-sidebar-duration-panel-border: transparent;
	--ep-sidebar-duration-panel-shadow: none;
	--ep-sidebar-duration-panel-radius: 0;
	--ep-sidebar-duration-panel-padding: 0;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] {
	--ep-sidebar-shell-gap: 1rem;
	--ep-sidebar-profile-bg: transparent;
	--ep-sidebar-profile-border: transparent;
	--ep-sidebar-profile-shadow: none;
	--ep-sidebar-text-panel-bg: transparent;
	--ep-sidebar-text-panel-border: transparent;
	--ep-sidebar-text-panel-shadow: none;
	--ep-sidebar-title-panel-bg: transparent;
	--ep-sidebar-title-panel-border: transparent;
	--ep-sidebar-title-panel-shadow: none;
	--ep-sidebar-title-panel-padding: 0;
	--ep-sidebar-title-panel-radius: 0;
	--ep-sidebar-description-panel-bg: transparent;
	--ep-sidebar-description-panel-border: transparent;
	--ep-sidebar-description-panel-shadow: none;
	--ep-sidebar-duration-panel-bg: rgba(255,255,255,0.62);
	--ep-sidebar-duration-panel-border: rgba(226,232,240,0.54);
	--ep-sidebar-duration-panel-shadow: 0 10px 18px rgba(15, 23, 42, 0.05);
	--ep-sidebar-duration-panel-radius: 999px;
	--ep-sidebar-duration-panel-padding: 0.62rem 0.88rem;
}

.ep-responsive-container[data-sidebar-mode="editorial"] {
	--ep-sidebar-shell-gap: 1.02rem;
	--ep-sidebar-profile-bg:
		radial-gradient(circle at top right, rgba(212, 175, 55, 0.14), transparent 34%),
		linear-gradient(160deg, rgba(255,255,255,0.98), rgba(246,248,252,0.95));
	--ep-sidebar-profile-border: rgba(71, 85, 105, 0.18);
	--ep-sidebar-profile-shadow: 0 26px 54px rgba(15, 23, 42, 0.11);
	--ep-sidebar-text-panel-bg: transparent;
	--ep-sidebar-text-panel-border: transparent;
	--ep-sidebar-text-panel-shadow: none;
	--ep-sidebar-title-panel-bg: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.94));
	--ep-sidebar-title-panel-border: rgba(71, 85, 105, 0.22);
	--ep-sidebar-title-panel-shadow: inset 0 1px 0 rgba(255,255,255,0.86), 0 10px 26px rgba(15,23,42,0.06);
	--ep-sidebar-title-panel-padding: 1rem 1rem 1.02rem;
	--ep-sidebar-title-panel-radius: 22px;
	--ep-sidebar-description-panel-bg: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
	--ep-sidebar-description-panel-border: rgba(71, 85, 105, 0.2);
	--ep-sidebar-description-panel-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
	--ep-sidebar-duration-panel-bg: transparent;
	--ep-sidebar-duration-panel-border: rgba(71, 85, 105, 0.2);
	--ep-sidebar-duration-panel-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
	--ep-sidebar-duration-panel-radius: 0;
	--ep-sidebar-duration-panel-padding: 0.8rem 0 0;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar,
.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar,
.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar {
	gap: var(--ep-sidebar-shell-gap, 0.9rem);
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-profile,
.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-profile,
.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-profile {
	background: var(--ep-sidebar-profile-bg);
	border-color: var(--ep-sidebar-profile-border);
	box-shadow: var(--ep-sidebar-profile-shadow);
	backdrop-filter: blur(16px);
}

.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-instructor-bio {
	padding: 0.92rem 0.92rem !important;
	border-radius: 18px !important;
	background: var(--ep-sidebar-text-panel-bg) !important;
	border: 1px solid var(--ep-sidebar-text-panel-border) !important;
	box-shadow: var(--ep-sidebar-text-panel-shadow) !important;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-instructor-bio {
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	max-width: 32ch;
	margin: 0.12rem auto 0 !important;
	color: #6a7890 !important;
	font-size: 0.88rem;
	line-height: 1.78;
	text-align: center;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-instructor-bio {
	padding: 0.1rem 0 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-top: 1px solid rgba(148, 163, 184, 0.34) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #607086 !important;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-event-title,
.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-event-title,
.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-event-title {
	padding: var(--ep-sidebar-title-panel-padding) !important;
	border: 1px solid var(--ep-sidebar-title-panel-border) !important;
	border-radius: var(--ep-sidebar-title-panel-radius) !important;
	background: var(--ep-sidebar-title-panel-bg) !important;
	box-shadow: var(--ep-sidebar-title-panel-shadow) !important;
	display: block;
	text-wrap: balance;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-event-title {
	font-size: clamp(1.88rem, 2.65vw, 2.18rem);
	line-height: 1.08;
	letter-spacing: -0.04em;
	margin-top: 0.2rem;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #1a2940;
}

.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-event-title {
	font-size: clamp(1.78rem, 2.4vw, 2.04rem);
	line-height: 1.14;
	letter-spacing: -0.03em;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-event-title {
	font-size: clamp(1.72rem, 2.22vw, 1.96rem);
	line-height: 1.16;
	letter-spacing: -0.028em;
	position: relative;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-event-title::before {
	content: '';
	display: block;
	width: 42px;
	height: 3px;
	margin-bottom: 0.82rem;
	border-radius: 999px;
	background: var(--ep-sidebar-accent-gradient, linear-gradient(135deg, #d4af37 0%, #b8977e 100%));
	box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.08);
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-price-block {
	margin-top: 0.2rem;
	padding: 18px 18px 18px 34px;
	border-radius: 26px;
	background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,250,252,0.82)) !important;
	border-color: rgba(255,255,255,0.58) !important;
	box-shadow: 0 20px 30px -22px rgba(15, 23, 42, 0.34), 0 10px 18px -20px rgba(15, 23, 42, 0.22), inset 0 1px 0 rgba(255,255,255,0.88) !important;
	backdrop-filter: blur(18px);
}

.ep-responsive-container:not(.has-selected-date)[data-sidebar-mode="soft-card"] .ep-sidebar-price-block {
	align-self: stretch;
	width: 100%;
	max-width: none;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-price-block::before {
	left: 16px;
	top: 14px;
	bottom: 14px;
	width: 3px;
	border-radius: 999px;
	opacity: 0.88;
}

.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-price-block {
	padding: 18px 16px 18px 18px;
	border-radius: 22px;
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-price-block {
	padding: 19px 18px 18px 22px;
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,248,252,0.95)) !important;
	border: 1px solid rgba(71, 85, 105, 0.18) !important;
	box-shadow: 0 30px 56px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255,255,255,0.94) !important;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] {
	--ep-sidebar-shell-gap: 0.78rem;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-profile {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 0.72rem !important;
	padding: 0.2rem 0 0.3rem !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	text-align: center;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-Instructor-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.24rem;
	text-align: center;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-avatar {
	width: 84px;
	height: 84px;
	border-width: 3px;
	box-shadow: 0 0 0 7px rgba(212, 175, 55, 0.09), 0 16px 36px rgba(15, 23, 42, 0.12);
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-instructor-bio,
.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-event-title,
.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-event-description,
.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-instructor-bio,
.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-event-name,
.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-event-description {
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-event-title,
.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-event-name {
	margin-top: 0.3rem;
	color: #17253a;
	text-shadow: 0 10px 28px rgba(255, 255, 255, 0.55);
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-instructor-bio,
.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-instructor-bio {
	align-self: center;
	display: block;
	max-width: 32ch;
	width: min(100%, 32ch);
	margin: 0.18rem auto 0;
	color: #6a7890 !important;
	font-size: 0.86rem;
	line-height: 1.72;
	text-align: center !important;
	text-wrap: pretty;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-duration,
.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-duration {
	align-self: center;
	width: auto !important;
	max-width: max-content;
	padding: 0.4rem 0.72rem !important;
	background: rgba(255, 255, 255, 0.54) !important;
	border: 1px solid rgba(226, 232, 240, 0.72) !important;
	border-radius: 999px !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
	backdrop-filter: blur(10px);
	font-size: 0.9rem !important;
	gap: 0.34rem !important;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-duration svg,
.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-duration svg {
	width: 16px;
	height: 16px;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-event-description,
.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-event-description {
	margin-top: 0.15rem;
	color: #475569;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-price-block,
.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-price-block {
	background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.88)) !important;
	border-color: rgba(255,255,255,0.7) !important;
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.11), inset 0 1px 0 rgba(255,255,255,0.92) !important;
	backdrop-filter: blur(18px);
}

@media (max-width: 768px) {
	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-avatar {
		width: 64px;
		height: 64px;
		border-width: 2.5px;
		box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.08), 0 12px 28px rgba(15, 23, 42, 0.12);
	}

	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-Instructor-info {
		justify-content: center;
		gap: 0.78rem;
	}

	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-Instructor-name {
		font-size: 1.08rem;
	}

	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-event-name {
		margin-top: 0.56rem;
		font-size: clamp(1.94rem, 8.2vw, 2.26rem);
	}

	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-instructor-bio,
	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-event-description {
		text-align: left;
		max-width: none;
	}
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-price-block::before {
	left: 10px;
	top: 14px;
	bottom: 14px;
	width: 2px;
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(148,163,184,0.2) 0%, rgba(212,175,55,0.9) 34%, rgba(15,23,42,0.2) 100%);
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-duration,
.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-duration,
.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-duration {
	padding: var(--ep-sidebar-duration-panel-padding) !important;
	border: 1px solid var(--ep-sidebar-duration-panel-border) !important;
	border-radius: var(--ep-sidebar-duration-panel-radius) !important;
	background: var(--ep-sidebar-duration-panel-bg) !important;
	box-shadow: var(--ep-sidebar-duration-panel-shadow) !important;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-duration {
	align-self: center;
	width: auto !important;
	max-width: max-content;
	padding: 0.4rem 0.72rem !important;
	font-weight: 700;
	font-size: 0.9rem;
	gap: 0.34rem;
	color: #4f6076;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-duration {
	font-size: 0.88rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b7280;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-event-description,
.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-event-description,
.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-event-description {
	background: var(--ep-sidebar-description-panel-bg) !important;
	border: 1px solid var(--ep-sidebar-description-panel-border) !important;
	box-shadow: var(--ep-sidebar-description-panel-shadow) !important;
	border-radius: 22px !important;
	padding: 1.18rem 1rem 1.02rem !important;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-event-description {
	line-height: 1.92;
	color: #42556f;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-event-description {
	position: relative;
	padding-top: 1.34rem !important;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-event-description::before {
	content: 'Service Notes';
	display: block;
	margin-bottom: 0.82rem;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #6b7280;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-toggle-btn {
	border-radius: 999px;
	background: rgba(255,255,255,0.76);
	border-color: rgba(226,232,240,0.68);
	box-shadow: 0 8px 20px rgba(15,23,42,0.06);
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-toggle-btn {
	border-radius: 14px;
	padding: 0.58rem 0.92rem;
	background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
	border-color: rgba(71,85,105,0.22);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

/* 日历+时间槽卡片区：确保有最小高度 */
.ep-calendar-layout-wrapper {
	display: grid;
	grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
	gap: 1.5rem;
	min-height: 760px;
	width: 100%;
	align-items: start;
}

.ep-calendar-box {
	min-width: 0;
}

.ep-time-slots-box {
	min-width: 0;
	display: block;
	min-height: 760px;
	max-height: none;
	overflow: visible;
	border-radius: 22px;
}

/* 中等桌面宽度：右侧改纵向，避免 slots 被挤压 */
@media (max-width: 1200px) {
	.ep-responsive-container {
		--ep-sidebar-column-width: clamp(280px, 30vw, 320px);
		grid-template-columns: minmax(var(--ep-sidebar-column-width), var(--ep-sidebar-column-width)) minmax(0, 1fr);
		gap: 1.25rem;
	}

	.ep-sidebar {
		top: 18px;
	}

	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-price-block,
	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-price-block,
	.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-price-block {
		padding-left: 30px;
		padding-right: 14px;
	}
}

@media (max-width: 1023px) {
	.ep-responsive-container {
		grid-template-columns: 1fr;
		gap: 1.2rem;
	}

	.ep-sidebar {
		position: relative;
		top: auto;
		gap: 0.82rem;
	}

	.ep-sidebar-profile {
		padding: 0.96rem 0.88rem;
	}

	.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar,
	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
	}

	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.92rem;
	}

	.ep-mobile-price-block,
	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-price-block,
	.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-mobile-price-block,
	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-mobile-price-block {
		padding: 18px 16px 16px !important;
		text-align: center;
	}

	.ep-mobile-price-block::before,
	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-price-block::before,
	.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-mobile-price-block::before,
	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-mobile-price-block::before {
		left: 50%;
		top: 12px;
		bottom: auto;
		width: 72px;
		height: 3px;
		transform: translateX(-50%);
	}

	.ep-mobile-price-block .ep-sidebar-price-top,
	.ep-mobile-price-block .ep-sidebar-price-value,
	.ep-mobile-price-block .ep-sidebar-price-main,
	.ep-mobile-price-block .ep-sidebar-price-meta-line {
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.ep-mobile-price-block .ep-sidebar-price-value {
		align-items: center;
	}

	.ep-mobile-price-block .ep-sidebar-price-main {
		width: auto;
		max-width: 100%;
		gap: 8px;
	}

	.ep-mobile-price-block .ep-sidebar-price-current {
		max-width: 100%;
		font-size: clamp(1.28rem, 5.8vw, 2rem);
		line-height: 1.08;
		letter-spacing: -0.05em;
	}

	.ep-mobile-price-block .ep-sidebar-price-compare,
	.ep-mobile-price-block .ep-sidebar-price-saving {
		white-space: normal;
		text-align: center;
	}

	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-profile,
	.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-profile,
	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-profile,
	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-event-title,
	.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-event-title,
	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-event-title,
	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-price-block,
	.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-price-block,
	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-price-block,
	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-event-description,
	.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-event-description,
	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-event-description,
	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-toggle-btn,
	.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-toggle-btn,
	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-toggle-btn {
		grid-column: 1 / -1;
	}

	.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-instructor-bio,
	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-instructor-bio,
	.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-duration,
	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-duration {
		grid-column: span 1;
	}

	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-instructor-bio {
		padding-top: 0.78rem !important;
	}

	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-event-title::before {
		margin-bottom: 0.68rem;
	}
}

@media (max-width: 1380px) {
	.ep-calendar-layout-wrapper {
		display: flex;
		flex-direction: column;
	}

	.ep-calendar-box,
	.ep-time-slots-box {
		width: 100%;
		flex: 1 1 auto;
		max-height: none;
		overflow: visible;
	}
}

/* 移动端优化：单列垂直堆叠 */
@media (max-width: 768px) {
	.ep-sidebar {
		width: 100%;
		min-width: 0;
		max-height: auto;
		overflow: visible;
		padding-right: 0;
		margin-bottom: 1.25rem;
		padding-bottom: 0;
		border-bottom: 0;
		display: flex !important;
	}

	.ep-main-content {
		width: 100%;
	}

	.ep-sidebar-profile {
		border-radius: 18px;
		padding: 0.88rem 0.82rem;
	}

	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-price-block,
	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-price-block,
	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-duration {
		backdrop-filter: blur(14px);
	}

	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-event-name {
		font-size: clamp(1.86rem, 8vw, 2.2rem);
		line-height: 1.06;
		letter-spacing: -0.04em;
		margin-top: 0.45rem;
	}

	.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-mobile-event-name {
		font-size: clamp(1.72rem, 7vw, 2rem);
		line-height: 1.12;
	}

	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-mobile-event-name {
		font-size: clamp(1.62rem, 6.4vw, 1.9rem);
		line-height: 1.14;
		padding: 0.86rem 0.92rem;
		border-radius: 18px;
		border: 1px solid rgba(71, 85, 105, 0.2);
		background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.95));
		box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 10px 24px rgba(15,23,42,0.06);
	}

	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-mobile-duration {
		padding: 0.58rem 0.82rem !important;
		border: 1px solid rgba(71, 85, 105, 0.18) !important;
		border-radius: 999px !important;
		background: rgba(255,255,255,0.74) !important;
		box-shadow: none !important;
		font-size: 0.82rem;
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-price-block {
		padding: 15px 14px 16px 18px;
		border-radius: 22px;
		background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,250,252,0.8)) !important;
		border-color: rgba(255,255,255,0.5) !important;
		box-shadow: 0 18px 34px rgba(15,23,42,0.08), inset 0 1px 0 rgba(255,255,255,0.86) !important;
	}

	.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-mobile-price-block .ep-sidebar-price-current,
	.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-mobile-price-block .ep-sidebar-price-current,
	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-mobile-price-block .ep-sidebar-price-current {
		font-size: clamp(1.22rem, 5.4vw, 1.82rem);
	}

	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-mobile-price-block {
		padding: 16px 14px 16px 18px;
		border-radius: 22px;
		border: 1px solid rgba(71,85,105,0.18) !important;
		background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,248,252,0.95)) !important;
		box-shadow: 0 20px 38px rgba(15,23,42,0.09), inset 0 1px 0 rgba(255,255,255,0.94) !important;
	}

	.ep-responsive-container[data-sidebar-mode="editorial"] .ep-mobile-event-description {
		border: 1px solid rgba(71,85,105,0.18) !important;
		border-radius: 18px !important;
		background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96)) !important;
		box-shadow: 0 18px 32px rgba(15,23,42,0.07) !important;
	}

	.ep-calendar-layout-wrapper {
		flex-direction: column;
		min-height: auto;
		gap: 1rem;
	}

	.ep-calendar-box {
		flex: 1;
		width: 100%;
	}

	.ep-time-slots-box {
		flex: 1;
		min-height: auto;
		max-height: none;
		width: 100%;
		overflow: visible;
	}

	.ep-responsive-container.has-selected-date .ep-time-slots-box {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		min-height: 0;
		max-height: min(78vh, 720px);
		padding: 0 0 calc(env(safe-area-inset-bottom, 0px) + 12px);
		border-radius: 24px 24px 0 0;
		background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
		box-shadow: 0 -18px 48px rgba(15,23,42,0.2);
		transform: translateY(calc(100% + 24px));
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		overflow: hidden;
		contain: layout paint style;
		will-change: transform, opacity;
		transition: transform 0.18s ease, opacity 0.18s ease, visibility 0.18s ease;
		z-index: 42;
	}

	.ep-responsive-container.has-selected-date .ep-time-slots-box.is-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.ep-booking__inline-slots {
		padding: 1rem;
		margin-top: 1rem;
		height: auto;
		min-height: auto;
		overflow: visible;
	}

	.ep-responsive-container.has-selected-date .ep-booking__inline-slots {
		margin-top: 0;
		max-height: min(72vh, 640px);
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.ep-booking__inline-slots-header {
		align-items: flex-start;
		gap: 0.5rem;
	}

	.ep-booking__inline-time-slots-grouped {
		grid-template-columns: repeat(auto-fill, minmax(102px, 1fr));
		gap: 0.5rem;
		padding-bottom: 42px;
	}

	.ep-selected-summary-banner {
		padding: 0.9rem 1rem 0.85rem;
	}

	.ep-selected-summary-banner__time-hero {
		font-size: 2rem;
	}

	.ep-selected-summary-banner__tz-row {
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	.ep-form-section {
		margin-bottom: 1.25rem;
		padding: 1rem;
	}

	.ep-submit-section {
		margin-top: 1.5rem;
	}
}

.ep-event-cta-btn--credit {
	background: #3b82f6 !important;
	color: #ffffff !important;
	box-shadow: 0 2px 8px color-mix(in srgb, #3b82f6 25%, transparent 75%) !important;
}

.ep-booking__event-card:hover .ep-event-cta-btn--credit {
	filter: brightness(0.9) !important;
	box-shadow: 0 4px 14px color-mix(in srgb, #3b82f6 40%, transparent 60%) !important;
}

.ep-booking__event-card:hover .ep-event-cta-btn,
.ep-event-cta-btn:hover {
	background: var(--btn-color) !important;
	filter: brightness(0.9) !important;
	transform: scale(1.04) !important;
}

.ep-event-cta-btn--pay {
	--btn-color: #d4af37;
	background: linear-gradient(135deg, #f3cf62 0%, #d4af37 55%, #b8860b 100%) !important;
	color: #6f5100 !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
	box-shadow: 0 2px 8px color-mix(in srgb, #d4af37 30%, transparent 70%) !important;
}

.ep-event-cta-btn--pay span {
	color: inherit !important;
}

.ep-booking__event-card:hover .ep-event-cta-btn--pay {
	background: linear-gradient(135deg, #f0c94f 0%, #d4af37 55%, #ad7f09 100%) !important;
	color: #5d4300 !important;
	filter: brightness(0.9) !important;
	transform: scale(1.04) !important;
	box-shadow: 0 4px 14px color-mix(in srgb, #b8860b 40%, transparent 60%) !important;
}

.ep-event-cta-btn--free {
	background: linear-gradient(135deg, #48bb78 0%, #86efac 100%) !important;
	color: #ffffff !important;
	box-shadow: 0 2px 8px color-mix(in srgb, #48bb78 30%, transparent 70%) !important;
}

.ep-booking__event-card:hover .ep-event-cta-btn--free {
	filter: brightness(0.9) !important;
	transform: scale(1.04) !important;
	box-shadow: 0 4px 14px color-mix(in srgb, #38a169 40%, transparent 60%) !important;
}

.ep-booking__events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(max(260px, calc(33.333% - 1.5rem)), 1fr));
	gap: 1.5rem;
}

.ep-event-card__title {
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--ep-text, #1a202c) !important;
}

@media (min-width: 769px) {
	.ep-booking__events-grid {
		align-items: stretch;
		gap: 1.6rem;
	}

	.ep-booking__event-card {
		min-height: 300px;
		padding: calc(1.6rem + 5px) 1.35rem 1.3rem;
		border-radius: 16px;
		box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
		background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
	}

	.ep-booking__event-card.ep-event-card--free {
		border-color: rgba(72, 187, 120, 0.28);
		background: linear-gradient(180deg, #f8fffb 0%, #ffffff 42%);
	}

	.ep-booking__event-card.ep-event-card--credit {
		border-color: rgba(59, 130, 246, 0.26);
		background: linear-gradient(180deg, #f8fbff 0%, #ffffff 42%);
	}

	.ep-booking__event-card.ep-event-card--pay {
		border-color: rgba(212, 175, 55, 0.42);
		background: linear-gradient(180deg, #fffdfa 0%, #ffffff 42%);
	}

	.ep-booking__event-card.ep-event-card--free::before {
		background: linear-gradient(90deg, #48bb78 0%, #86efac 100%);
	}

	.ep-booking__event-card.ep-event-card--credit::before {
		background: linear-gradient(90deg, #3b82f6 0%, #93c5fd 100%);
	}

	.ep-booking__event-card.ep-event-card--pay::before {
		background: linear-gradient(90deg, #d4af37 0%, #f5d76e 100%);
	}

	.ep-booking__event-card:hover {
		transform: translateY(-6px);
		box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
	}

	.ep-booking__event-card.ep-event-card--free:hover {
		border-color: rgba(72, 187, 120, 0.46);
	}

	.ep-booking__event-card.ep-event-card--credit:hover {
		border-color: rgba(59, 130, 246, 0.44);
	}

	.ep-booking__event-card.ep-event-card--pay:hover {
		border-color: rgba(212, 175, 55, 0.62);
		box-shadow: 0 22px 44px rgba(180, 134, 11, 0.14);
	}

	.ep-event-card__header {
		gap: 14px;
		margin-bottom: 14px;
		min-height: 72px;
	}

	.ep-event-card__header > img {
		width: 52px !important;
		height: 52px !important;
		border-radius: 50% !important;
		border: 2px solid rgba(255, 255, 255, 0.94);
		box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
	}

	.ep-event-card__title {
		font-size: 1.28rem;
		line-height: 1.34;
		letter-spacing: -0.02em;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		min-height: 3.4rem;
		text-wrap: balance;
	}

	.ep-event-card__meta-stack {
		gap: 8px;
		margin-bottom: 0.95rem;
		min-height: 78px;
	}

	.ep-event-card__duration {
		border: 1px solid rgba(148, 163, 184, 0.16);
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
	}

	.ep-event-card-price-tag {
		box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
	}

	.ep-event-card__price-detail-row {
		margin-top: 2px;
	}

	.ep-event-card-price-detail {
		justify-content: flex-start;
		padding: 5px 10px;
		min-height: 32px;
		background: linear-gradient(180deg, #fffaf5 0%, #fff7ed 100%);
		border-color: rgba(212, 175, 55, 0.24);
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
	}

	.ep-event-card__desc {
		font-size: 0.92rem;
		line-height: 1.68;
		-webkit-line-clamp: 3;
		line-clamp: 3;
		min-height: 4.8rem;
		margin-bottom: 1.1rem;
		color: #475569;
	}

	.ep-event-card__footer {
		padding-top: 1rem;
		border-top: 1px solid rgba(226, 232, 240, 0.78);
	}

	.ep-event-cta-btn {
		letter-spacing: 0.01em;
		box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
	}
}

/* 移动端：强制单列 */
@media (max-width: 768px) {
	.ep-booking__events-grid {
		grid-template-columns: 1fr !important;
	}
}

/* ==========================================================
   Phase 2: 日历和时间槽升级
   ========================================================== */

/* 时间槽分组容器 */
.ep-booking__inline-time-slots-grouped {
	flex: 0 0 auto;
	min-height: auto;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
	align-content: start;
	gap: 0.85rem;
	grid-auto-flow: row dense;
	overflow: visible;
	padding-right: 0;
	padding-bottom: 110px;
}

/* 分组标签：跨满一行，新起分界线 */
.ep-time-group-label {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 4px 12px;
	align-items: center;
	padding: 12px 14px;
	border: 1px solid var(--ep-slot-border, rgba(212, 175, 55, 0.18));
	border-radius: 16px;
	background: var(--ep-slot-bg, linear-gradient(180deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%));
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ep-sidebar-card-border, rgba(255,255,255,0.78)) 42%, transparent 58%);
	margin-top: 0.25rem;
	text-align: left;
	cursor: pointer;
	appearance: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ep-time-group-label:hover {
	border-color: var(--ep-slot-selected-border, rgba(212, 175, 55, 0.28));
	box-shadow: 0 8px 18px color-mix(in srgb, var(--primary, #d4af37) 12%, transparent 88%);
}

.ep-time-group-label:focus-visible {
	outline: none;
	border-color: var(--ep-slot-selected-border, rgba(212, 175, 55, 0.45));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-light, rgba(212, 175, 55, 0.12)) 100%, transparent 0%), 0 10px 20px color-mix(in srgb, var(--primary, #d4af37) 14%, transparent 86%);
}

/* 第一个标签不需要上边框 */
.ep-time-group-label:first-child {
	margin-top: 0;
}

.ep-time-group-label.is-expanded {
	border-color: var(--ep-slot-selected-border, rgba(212, 175, 55, 0.42));
	background: var(--ep-slot-selected-bg, linear-gradient(180deg, rgba(255, 248, 220, 0.98) 0%, rgba(255, 253, 245, 1) 100%));
	box-shadow: var(--ep-slot-selected-shadow, 0 10px 20px rgba(212, 175, 55, 0.1));
}

.ep-time-group-label__eyebrow {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--ep-slot-selected-text, rgba(180, 134, 11, 0.82)) 86%, transparent 14%);
	grid-column: 1 / 2;
}

.ep-time-group-label__main {
	font-size: 15px;
	font-weight: 700;
	color: var(--ep-sidebar-title, #1e3a5f);
	grid-column: 1 / 2;
}

.ep-time-group-label__meta {
	grid-column: 2 / 3;
	grid-row: 1 / span 2;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	color: var(--ep-slot-selected-text, #7c5a10);
	font-weight: 700;
}

.ep-time-group-label__count {
	min-width: 24px;
	height: 24px;
	padding: 0 8px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--ep-sidebar-pill-bg, rgba(212, 175, 55, 0.14));
	font-size: 12px;
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ep-sidebar-card-border, rgba(255,255,255,0.7)) 36%, transparent 64%);
}

.ep-time-group-label__chevron {
	width: 24px;
	height: 24px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
	background: var(--ep-sidebar-pill-bg, rgba(212, 175, 55, 0.12));
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ep-sidebar-card-border, rgba(255,255,255,0.75)) 38%, transparent 62%);
}

.ep-time-group-label.is-expanded .ep-time-group-label__chevron {
	background: color-mix(in srgb, var(--ep-sidebar-pill-bg, rgba(212, 175, 55, 0.12)) 82%, transparent 18%);
}

.ep-time-slot-wrapper {
	min-width: 0;
}

.ep-booking__time-slot.ep-time-slot {
	width: 100%;
	min-height: 74px;
	padding: 0.9rem 0.85rem;
	border-radius: 18px;
	border: 1.5px solid var(--ep-slot-border, rgba(37, 99, 235, 0.14));
	background: var(--ep-slot-bg, linear-gradient(180deg, #ffffff 0%, #f8fafc 100%));
	box-shadow: var(--ep-slot-shadow, 0 8px 18px rgba(15, 23, 42, 0.05));
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 6px;
	color: var(--ep-slot-text, inherit);
}

.ep-booking__time-slot.ep-time-slot:hover {
	transform: translateY(-2px);
	border-color: var(--ep-slot-selected-border, rgba(212, 175, 55, 0.45));
	background: color-mix(in srgb, var(--ep-slot-selected-bg, #fff8e8) 72%, var(--ep-slot-bg, #ffffff) 28%);
	box-shadow: 0 14px 22px color-mix(in srgb, var(--primary, #d4af37) 14%, transparent 86%);
}

.ep-booking__time-slot.ep-time-slot.selected,
.ep-booking__time-slot.ep-time-slot.confirming {
	border-color: var(--ep-slot-selected-border, rgba(212, 175, 55, 0.6));
	background: var(--ep-slot-selected-bg, linear-gradient(180deg, #fff7db 0%, #ffefbf 100%));
	color: var(--ep-slot-selected-text, #7c5a10);
	box-shadow: var(--ep-slot-selected-shadow, 0 16px 26px rgba(212, 175, 55, 0.18));
}

.slot-content {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}


.slot-time {
	font-size: 1.54rem;
	font-weight: 850;
	line-height: 0.96;
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
	font-feature-settings: 'tnum' 1;
	color: #886111;
	text-align: center;
	text-rendering: geometricPrecision;
	-webkit-font-smoothing: antialiased;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28), 0 6px 14px rgba(184, 134, 11, 0.11);
}

.ep-booking__time-slot.ep-time-slot .slot-time {
	background: linear-gradient(180deg, #bc8b24 0%, #896113 58%, #68470d 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.ep-booking__time-slot.ep-time-slot.selected .slot-time,
.ep-booking__time-slot.ep-time-slot.confirming .slot-time {
	background: linear-gradient(180deg, #7b550d 0%, #5b3d0a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	text-shadow: none;
}

.confirm-label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(124, 90, 16, 0.82);
}

/* 移动端：分组单列布局 */
@media (max-width: 768px) {
	.ep-booking__inline-slots {
		padding: 1rem;
		margin-top: 1rem;
		min-height: auto;
	}

	.ep-booking__inline-slots-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.ep-booking__inline-time-slots-grouped {
		grid-template-columns: repeat(auto-fill, minmax(102px, 1fr));
		gap: 0.5rem;
		padding-bottom: 42px;
	}

	.ep-booking__time-slot.ep-time-slot {
		min-height: 68px;
		border-radius: 16px;
	}

	.slot-time {
		font-size: 1.32rem;
	}
}

/* ==========================================================
   移动端详情排版优化 + 抽屉遮罩修复
   ========================================================== */

.ep-mobile-header {
	text-align: left;
	padding-bottom: 0.75rem;
}

.ep-mobile-Instructor-info {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.55rem;
}

.ep-mobile-avatar {
	width: 52px;
	height: 52px;
	border-radius: 999px;
	object-fit: cover;
	border: 2px solid #e2e8f0;
}

.ep-mobile-Instructor-name {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 700;
	color: #475569;
	line-height: 1.3;
}

.ep-mobile-instructor-bio,
.ep-sidebar-instructor-bio {
	margin: 0 0 0.55rem 0;
	color: #64748b;
	font-size: 0.75rem;
	line-height: 1.6;
	white-space: pre-line;
	display: block;
	overflow: visible;
}

.ep-mobile-event-name {
	margin: 0.62rem 0 0.48rem 0;
	font-size: 1.95rem;
	font-weight: 800;
	line-height: 1.15;
	color: #1e293b;
}

.ep-mobile-price-block {
	margin: 0.35rem 0 1rem;
	padding: 14px 14px 15px;
}

.ep-mobile-price-block .ep-sidebar-price-top {
	gap: 6px 8px;
}

.ep-mobile-price-block .ep-sidebar-price-label {
	font-size: 0.74rem;
	padding: 4px 8px;
}

.ep-mobile-price-block .ep-sidebar-price-badge {
	font-size: 0.7rem;
	padding: 4px 8px;
}

.ep-mobile-price-block .ep-sidebar-price-current {
	font-size: clamp(1.8rem, 6.2vw, 2.15rem);
}

.ep-mobile-price-block .ep-sidebar-price-meta-line {
	gap: 6px 8px;
	flex-wrap: wrap;
	overflow: visible;
}

.ep-mobile-toggle-btn {
	margin-top: 0.75rem;
	padding: 0.62rem 1.15rem;
	border: none;
	border-radius: 12px;
	background: var(--ep-sidebar-accent-gradient, linear-gradient(135deg, var(--primary, #d4af37) 0%, var(--primary-hover, #b8977e) 100%));
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	cursor: pointer;
	box-shadow: 0 10px 22px color-mix(in srgb, var(--primary, #d4af37) 18%, transparent 82%);
}

.ep-mobile-event-description {
	margin-top: 0.9rem;
	padding: 1rem 1.1rem;
	text-align: left;
	font-size: 0.98rem;
	line-height: 1.72;
	color: #374151;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	word-break: break-word;
	overflow-wrap: anywhere;
	max-height: 170px;
	overflow: hidden;
	position: relative;
	white-space: normal;
	transition: max-height 0.28s ease;
}

.ep-mobile-event-description::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 52px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 75%);
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.ep-mobile-event-description.is-expanded {
	max-height: none;
}

.ep-mobile-event-description.is-expanded::after {
	opacity: 0;
}

.ep-mobile-event-description p,
.ep-mobile-event-description ul,
.ep-mobile-event-description ol,
.ep-mobile-event-description blockquote,
.ep-mobile-event-description h1,
.ep-mobile-event-description h2,
.ep-mobile-event-description h3,
.ep-mobile-event-description h4 {
	margin: 0 0 0.95rem 0 !important;
	line-height: 1.78 !important;
	display: block;
}

.ep-mobile-event-description div {
	display: block;
	margin: 0 0 0.95rem 0;
}

.ep-mobile-event-description p:last-child,
.ep-mobile-event-description ul:last-child,
.ep-mobile-event-description ol:last-child,
.ep-mobile-event-description blockquote:last-child {
	margin-bottom: 0;
}

.ep-mobile-event-description ul,
.ep-mobile-event-description ol {
	padding-left: 1.2rem;
}

.ep-mobile-event-description strong,
.ep-mobile-event-description b {
	font-weight: 800;
	color: #1f2937;
}

.ep-mobile-event-description em,
.ep-mobile-event-description i {
	font-style: italic;
}

@media (max-width: 767px) {
	.ep-sidebar-description img,
	.ep-mobile-event-description img {
		margin: 0.9rem auto;
		border-radius: 16px;
		box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
	}

	.ep-sidebar-image-lightbox {
		padding: 16px;
	}

	.ep-sidebar-image-lightbox__frame {
		border-radius: 20px;
	}

	.ep-sidebar-image-lightbox__img {
		max-width: calc(100vw - 32px);
		max-height: 72vh;
	}

	.ep-sidebar-image-lightbox__close {
		top: 10px;
		right: 10px;
		width: 38px;
		height: 38px;
	}
}

.ep-mobile-duration {
	margin: 0.35rem 0 0 0;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 1.02rem;
	font-weight: 600;
	color: #64748b;
	padding: var(--ep-mobile-duration-padding, 0);
	border: var(--ep-mobile-duration-border-width, 0) solid var(--ep-mobile-duration-border-color, transparent);
	border-radius: var(--ep-mobile-duration-radius, 0);
	background: var(--ep-mobile-duration-bg, transparent);
	box-shadow: var(--ep-mobile-duration-shadow, none);
}

.ep-sidebar-Instructor-label {
	margin: 0;
	font-weight: 800;
	font-size: 1.14rem;
	line-height: 1.15;
	color: #1e293b;
}

.ep-responsive-container:not([data-sidebar-mode="soft-card"]) .ep-sidebar-instructor-bio {
	margin: 0;
	padding: 0.8rem 0.75rem;
	border-radius: 14px;
	border: 1px solid rgba(226, 232, 240, 0.9);
	background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.96));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
	font-size: 0.78rem;
	line-height: 1.72;
	color: #5b687a;
	white-space: pre-line;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-profile {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

.ep-responsive-container[data-sidebar-mode="soft-card"] .ep-sidebar-instructor-bio {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #6a7890 !important;
	white-space: pre-line;
}

.ep-sidebar-duration {
	margin: 0.1rem 0 0 0;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #64748b;
	font-weight: 600;
	font-size: 0.96rem;
	padding: var(--ep-sidebar-duration-padding, 0);
	border: var(--ep-sidebar-duration-border-width, 0) solid var(--ep-sidebar-duration-border-color, transparent);
	border-radius: var(--ep-sidebar-duration-radius, 0);
	background: var(--ep-sidebar-duration-bg, transparent);
	box-shadow: var(--ep-sidebar-duration-shadow, none);
}

.ep-sidebar-event-title {
	margin: 0.5rem 0 0.22rem 0;
	font-size: 1.72rem;
	line-height: 1.2;
	font-weight: 800;
	color: #1e293b;
	letter-spacing: -0.02em;
	padding: var(--ep-sidebar-title-padding, 0);
	border: var(--ep-sidebar-title-border-width, 0) solid var(--ep-sidebar-title-border-color, transparent);
	border-radius: var(--ep-sidebar-title-radius, 0);
	background: var(--ep-sidebar-title-bg, transparent);
	box-shadow: var(--ep-sidebar-title-shadow, none);
}

.ep-sidebar-event-description {
	margin-top: 0.32rem;
	padding: 1.18rem 0.78rem 1rem;
	text-align: left;
	font-size: 0.96rem;
	line-height: 1.82;
	color: #374151;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
	word-break: normal;
	overflow-wrap: break-word;
	white-space: normal;
	text-wrap: pretty;
}

.ep-sidebar-event-description p,
.ep-sidebar-event-description ul,
.ep-sidebar-event-description ol,
.ep-sidebar-event-description blockquote,
.ep-sidebar-event-description h1,
.ep-sidebar-event-description h2,
.ep-sidebar-event-description h3,
.ep-sidebar-event-description h4 {
	margin: 0 0 0.95rem 0 !important;
	line-height: 1.82 !important;
	display: block;
	white-space: normal;
}

.ep-sidebar-event-description h1,
.ep-sidebar-event-description h2,
.ep-sidebar-event-description h3,
.ep-sidebar-event-description h4 {
	margin-top: 0.25rem !important;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #172033;
}

.ep-sidebar-event-description h1 {
	font-size: 1.28rem;
}

.ep-sidebar-event-description h2 {
	font-size: 1.18rem;
}

.ep-sidebar-event-description h3,
.ep-sidebar-event-description h4 {
	font-size: 1.06rem;
}

.ep-sidebar-event-description div {
	display: block;
	margin: 0 0 0.95rem 0;
	white-space: normal;
}

.ep-sidebar-event-description p + p {
	margin-top: 0.18rem !important;
}

.ep-sidebar-event-description p:last-child,
.ep-sidebar-event-description ul:last-child,
.ep-sidebar-event-description ol:last-child,
.ep-sidebar-event-description blockquote:last-child,
.ep-sidebar-event-description div:last-child {
	margin-bottom: 0;
}

.ep-sidebar-event-description ul,
.ep-sidebar-event-description ol {
	padding-left: 1.2rem;
}

.ep-sidebar-event-description ul {
	list-style: disc;
}

.ep-sidebar-event-description ol {
	list-style: decimal;
}

.ep-sidebar-event-description li::marker {
	color: rgba(180, 83, 9, 0.78);
}

.ep-sidebar-event-description li + li {
	margin-top: 0.42rem;
}

.ep-sidebar-event-description strong,
.ep-sidebar-event-description b {
	font-weight: 800;
	color: #1f2937;
}

.ep-sidebar-event-description em,
.ep-sidebar-event-description i {
	font-style: italic;
}

.ep-sidebar-event-description blockquote {
	padding: 0.8rem 0.95rem;
	border-left: 3px solid color-mix(in srgb, var(--primary, #d4af37) 56%, transparent 44%);
	border-radius: 0 12px 12px 0;
	background: linear-gradient(135deg, color-mix(in srgb, var(--primary-light, rgba(251, 191, 36, 0.08)) 100%, transparent 0%), color-mix(in srgb, var(--surface, #ffffff) 92%, transparent 8%));
	color: var(--ep-sidebar-muted, #475569);
}

.ep-sidebar-event-description a {
	color: color-mix(in srgb, var(--primary-hover, #b45309) 82%, var(--ep-sidebar-title, #1e293b) 18%);
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--primary-hover, rgba(180, 83, 9, 0.35)) 35%, transparent 65%);
	text-underline-offset: 0.16em;
}

.ep-sidebar-event-description a:hover {
	color: var(--primary-hover, #92400e);
	text-decoration-color: rgba(146, 64, 14, 0.5);
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar {
	gap: 0.95rem;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar {
	gap: 1.08rem;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-price-block,
.ep-responsive-container[data-sidebar-mode="editorial"] .ep-mobile-price-block {
	margin-top: 0.5rem;
	padding: 16px 14px 17px;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-price-current,
.ep-responsive-container[data-sidebar-mode="editorial"] .ep-mobile-price-block .ep-sidebar-price-current {
	letter-spacing: -0.03em;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-event-title,
.ep-responsive-container[data-sidebar-mode="editorial"] .ep-mobile-event-name {
	margin-top: 0.2rem;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-instructor-bio,
.ep-responsive-container[data-sidebar-mode="editorial"] .ep-mobile-instructor-bio {
	white-space: normal;
	text-wrap: pretty;
}

.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-duration,
.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-mobile-duration,
.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-event-title {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-sidebar-instructor-bio,
.ep-responsive-container[data-sidebar-mode="hybrid"] .ep-mobile-instructor-bio {
	background: var(--ep-sidebar-soft-bg) !important;
	border: 1px solid var(--ep-sidebar-card-border) !important;
	border-radius: 14px !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.7) !important;
	padding: 0.8rem 0.75rem !important;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-profile {
	border: 1px solid color-mix(in srgb, var(--ep-sidebar-card-border) 84%, var(--ep-sidebar-title) 16%) !important;
	border-radius: 22px !important;
	box-shadow: 0 18px 34px rgba(15,23,42,0.07) !important;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-instructor-bio,
.ep-responsive-container[data-sidebar-mode="editorial"] .ep-mobile-instructor-bio {
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--ep-sidebar-muted, #64748b) !important;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-event-title,
.ep-responsive-container[data-sidebar-mode="editorial"] .ep-mobile-event-name {
	padding: 0.88rem 0.92rem !important;
	border: 1px solid color-mix(in srgb, var(--ep-sidebar-card-border) 84%, var(--ep-sidebar-title) 16%) !important;
	border-radius: 18px !important;
	background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,250,252,0.84)) !important;
	box-shadow: none !important;
	display: block;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-duration {
	padding: 0.72rem 0 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ep-sidebar-card-border) 76%, transparent 24%) !important;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-mobile-duration {
	padding: 0.56rem 0.78rem !important;
	border: 1px solid color-mix(in srgb, var(--ep-sidebar-card-border) 76%, transparent 24%) !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
}

.ep-responsive-container[data-sidebar-mode="editorial"] .ep-sidebar-event-description,
.ep-responsive-container[data-sidebar-mode="editorial"] .ep-mobile-event-description {
	border: 1px solid color-mix(in srgb, var(--ep-sidebar-card-border) 84%, var(--ep-sidebar-title) 16%) !important;
	border-radius: 18px !important;
	box-shadow: 0 18px 32px rgba(15,23,42,0.06) !important;
}

/* 防止移动端出现无意义的灰色遮罩条 */
.ep-drawer-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.24);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.22s ease, visibility 0.22s ease;
	z-index: 40;
}

.ep-drawer-backdrop.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Step1 移动端细节优化 */
@media (max-width: 768px) {
	.ep-booking__events-grid {
		gap: 0.9rem !important;
		width: 100%;
		max-width: 100%;
	}

	.ep-booking__events-grid>* {
		min-width: 0;
	}

	.ep-booking__event-card {
		padding: 1rem;
		border-radius: 12px;
		width: 100%;
		max-width: 100%;
	}

	.ep-event-card__title {
		font-size: 1.02rem;
		line-height: 1.35;
		margin-bottom: 0.4rem;
	}

	.ep-event-card__desc {
		font-size: 0.9rem;
		line-height: 1.5;
		-webkit-line-clamp: 3;
		line-clamp: 3;
	}

	.ep-event-card__meta-stack {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
		flex-wrap: nowrap !important;
		gap: 6px !important;
		min-height: auto !important;
	}

	.ep-event-card__meta-row {
		display: flex !important;
		width: 100% !important;
		align-items: center !important;
		flex-wrap: nowrap !important;
		gap: 8px !important;
		min-width: 0 !important;
	}

	.ep-event-card__price-detail-row {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		margin-left: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		min-height: 0 !important;
	}

	.ep-event-card__price-detail-row--empty {
		display: none !important;
	}

	.ep-event-card-price-detail {
		width: auto !important;
		max-width: 100% !important;
		padding: 3px 7px !important;
		font-size: 0.66rem !important;
		gap: 5px !important;
	}

	.ep-event-card__duration {
		padding: 2px 8px;
	}

	.ep-event-card__footer {
		padding-top: 0.7rem;
	}

	.ep-event-cta-btn {
		padding: 0.5rem 1rem;
		font-size: 0.9rem;
	}

	.ep-mobile-event-name {
		font-size: 1.7rem;
	}

	/* 移动端滚动条隐藏（保留可滚动能力） */
	html,
	body,
	.ep-booking__container,
	.ep-responsive-container,
	.ep-main-content {
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	html::-webkit-scrollbar,
	body::-webkit-scrollbar,
	.ep-booking__container::-webkit-scrollbar,
	.ep-responsive-container::-webkit-scrollbar,
	.ep-main-content::-webkit-scrollbar {
		width: 0;
		height: 0;
		display: none;
	}
}

/* ── Card layout: CSS Grid (2 cols × 2 rows) ──
 * Row 1: [avatar  ] [title ]
 * Row 2: [name    ] [badge ]
 * 名字与勋章永远对齐在同一行
 */
.ep-event-card__header {
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
    margin-bottom: 12px;
}
.ep-event-card__avatar-img {
    grid-column: 1;
    grid-row: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    justify-self: center;
}
.ep-card-instructor-name {
    grid-column: 1;
    grid-row: 2;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    line-height: 1.4;
    justify-self: center;
    max-width: 72px;
}
.ep-event-card__title-col,
.ep-event-card__title {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    line-height: 1.35;
}
.ep-card-instructor-badge {
    grid-column: 2;
    grid-row: 2;
    color: #c5a059;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    opacity: 0.88;
}

/* ── Coach Badge Line ── */
@keyframes ep-badge-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}
.ep-coach-badge-line {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 4px 0 10px;
    padding-bottom: 8px;
    border-bottom: 0.5px solid rgba(197, 160, 89, 0.25);
    background: linear-gradient(90deg, #c5a059 0%, #f0d898 50%, #c5a059 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ep-badge-shimmer 8s infinite linear;
}
@media (max-width: 768px) {
    .ep-coach-badge-line {
        font-size: 0.65rem;
        letter-spacing: 0.1em;
    }
}

/* ── 移动端货币切换器胶囊缩小 ── */
@media (max-width: 768px) {
	.ep-booking-currency-switcher__option {
		padding: 4px 8px !important;
		min-height: 28px !important;
		font-size: 11px !important;
	}
	.ep-booking-currency-switcher__option-code {
		font-size: 11px !important;
		min-width: 2em !important;
	}
}

/* ── Powered by HumiSpot ── */
.ep-powered-by {
	margin: 24px 0 8px;
	text-align: center;
	font-size: 11px;
	color: #9E9E9E;
	letter-spacing: 0.04em;
	user-select: none;
}
