:root {
	--primary: #5A251C;
	--primary-light: #e6f0ff;
	--secondary: #983F2F;
	--bg: #f5f7fa;
	--card: #ffffff;
	--text: #1a1a1a;
	--text-light: #6b7280;
	--border: #e5e7eb;
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--green: #10b981;
	--orange: #f59e0b;
	--blue: #3b82f6;
}

* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background: var(--bg);
	color: var(--text);
	padding-bottom: 80px;
	overflow-x: hidden;
}

.wrap {
	max-width: 480px;
	margin: 0 auto;
	padding: 0;
}

header {
	/*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
	background: radial-gradient(circle, var(--secondary) 0%, var(--primary) 100%);
	color: #fff;
	padding: 28px 16px 14px;
	position: sticky;
	top: 0;
	z-index: 10000;
	box-shadow: var(--shadow-lg);
}

h1 {
	font-size: 1.5rem;
	margin: 0 0 16px;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.selection-info {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.selection-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(255, 255, 255, 0.15);
	padding: 8px 12px;
	border-radius: 9px;
	backdrop-filter: blur(10px);
}

.selection-content {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
}

.selection-icon {
	font-size: 1.5rem;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.selection-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
}

.selection-label {
	font-size: 0.75rem;
	opacity: 0.8;
	font-weight: 500;
}

.selection-value {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.1px;
}

.change-btn {
	background: rgba(255, 255, 255, 0.25);
	border: 2px solid rgba(255, 255, 255, 0.4);
	color: #fff;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.change-btn:hover {
	background: rgba(255, 255, 255, 0.35);
}

.change-btn:active {
	transform: scale(0.95);
}

.card {
	background: var(--card);
	border-radius: 20px;
	padding: 20px;
	margin: 16px;
	box-shadow: var(--shadow);
	animation: slideUp 0.3s ease-out;
}

.error-card {
	border: 1px solid rgba(59, 130, 246, 0.25);
	background: linear-gradient(135deg, #e0f2fe, #e8f5ff);
	color: #1d4ed8;
}

.error-card .error-content {
	display: flex;
	align-items: center;
	gap: 12px;
}

.error-card .error-icon {
	font-size: 1.5rem;
}

.error-card .error-message {
	flex: 1;
	font-size: 0.95rem;
	line-height: 1.6;
}

.error-card .error-restart-btn {
	margin-top: 16px;
	width: 100%;
	padding: 12px;
	border-radius: 12px;
	border: 0;
	background: linear-gradient(135deg, #60a5fa, #2563eb);
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
}

.error-card .error-restart-btn:active {
	transform: translateY(1px);
	box-shadow: 0 3px 6px rgba(37, 99, 235, 0.3);
}

.success-card {
	border: 1px solid rgba(16, 185, 129, 0.25);
	background: linear-gradient(135deg, #ecfdf5, #d1fae5);
	color: #065f46;
	text-align: center;
}

.success-icon {
	font-size: 3rem;
	margin-bottom: 12px;
}

.success-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.success-order {
	font-size: 1rem;
	font-weight: 700;
	color: #047857;
}

.success-heading {
	font-size: 1.5rem;
	margin: 0;
	color: #065f46;
}

.success-status {
	margin: 0;
	font-size: 1rem;
	color: #065f46;
	min-height: 1.5em;
}

.success-email,
.success-hint {
	margin: 0;
	font-size: 0.95rem;
	color: #047857;
}

.success-details {
	margin: 16px 0;
	padding: 12px;
	border-radius: 12px;
	background: rgba(6, 95, 70, 0.1);
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: left;
}

.success-detail-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.95rem;
}

.success-detail-label {
	font-weight: 600;
	color: #065f46;
}

.success-detail-value {
	color: #03402e;
	text-align: right;
	flex: 1;
}

.success-address {
	margin-top: 16px;
	line-height: 1.5;
	color: #065f46;
}

.success-address-title {
	font-weight: 700;
}

.success-actions {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.success-actions .btn,
.success-actions .btn-outline {
	flex: 1;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

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

.card-title {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 16px;
	color: var(--text);
	display: flex;
	align-items: center;
	gap: 8px;
}

.card-title::before {
	content: '';
	width: 4px;
	height: 20px;
	background: linear-gradient(135deg, var(--secondary), var(--primary));
	border-radius: 2px;
}

.date-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	margin-top: 12px;
	min-width: 0;
	width: 100%;
}

.calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	padding: 0 4px;
}

.calendar-nav {
	background: none;
	border: none;
	font-size: 2rem;
	color: var(--primary);
	cursor: pointer;
	padding: 8px 16px;
	border-radius: 12px;
	transition: all 0.2s;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.calendar-nav:hover {
	background: var(--primary-light);
}

.calendar-nav:active {
	transform: scale(0.9);
}

.calendar-month {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--text);
}

.weekday-header {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	margin-bottom: 8px;
	padding: 8px 0;
}

.weekday {
	text-align: center;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text-light);
	padding: 4px 0;
}

.date-cell {
	border: none;
	border-radius: 10px;
	padding: 8px 2px;
	text-align: center;
	font-size: 0.875rem;
	background: #fafafa;
	cursor: pointer;
	position: relative;
	transition: all 0.2s ease;
	aspect-ratio: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 2px;
	min-width: 0;
}

.date-cell.disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: #f5f5f5;
	pointer-events: none;
}

.date-cell[data-price]:not(.disabled):not(.selected) {
	background: linear-gradient(135deg, #f0f0f0, var(--primary-light));
	border: 1px solid var(--border);
}

.date-cell:hover {
	background: #f0f0f0;
}

.date-cell:active {
	transform: scale(0.95);
}

.date-cell.selected {
	background: linear-gradient(135deg, var(--secondary), var(--primary)) !important;
	color: #fff;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
	transform: scale(1.1);
}

.date-cell.selected .price-label {
	color: #fff;
}

.date-cell.today {
	background: #e6f0ff;
	color: var(--primary);
	font-weight: 700;
}

.date-cell.today .date-num {
	color: var(--primary);
}

.date-num {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 0;
	line-height: 1;
}

.date-cell.selected .date-num {
	color: #fff;
}

.price-label {
	font-weight: 600;
	font-size: 0.7rem;
	margin-top: 2px;
	line-height: 1;
	color: var(--price-color, var(--text-light));
}

.price-label.price-amount {
	display: inline-flex;
	align-items: baseline;
	font-size: 0.75rem;
}

.price-label.price-amount .price-int {
	font-size: 0.8rem;
	font-weight: 700;
}

.price-label.price-amount .price-dec {
	font-size: 0.65rem;
	font-weight: 600;
	line-height: 1;
}

.price-weekday {
	color: var(--green);
}

.price-weekend {
	color: var(--orange);
}

.slots {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 12px;
}

.slot {
	padding: 16px 8px;
	border-radius: 12px;
	border: 2px solid var(--border);
	background: #fff;
	text-align: center;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
}

.slot::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--blue), var(--green), var(--orange));
	opacity: 0;
	transition: opacity 0.2s;
}

.slot:active {
	transform: scale(0.97);
}

.slot.selected {
	border-color: var(--primary);
	background: linear-gradient(135deg, var(--secondary), var(--primary));
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
	color: #fff;
	transform: scale(1.05);
}

.slot.selected .time,
.slot.selected .price {
	color: #fff;
}

.slot.selected::before {
	opacity: 1;
}

.slot .time {
	font-weight: 700;
	font-size: 1rem;
	margin-bottom: 6px;
	color: var(--text);
}

.slot .price {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--price-color, var(--text));
}

.price-morning {
	color: var(--blue);
}

.price-afternoon {
	color: var(--green);
}

.price-evening {
	color: var(--orange);
}

.controls {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 12px;
}

.control-group {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px;
	background: var(--bg);
	border-radius: 12px;
}

.control-group.disabled {
	opacity: 0.5;
	pointer-events: none;
	background: #f5f5f5;
}

.control-label {
	font-weight: 600;
	font-size: 1rem;
	display: flex;
	align-items: center;
	gap: 8px;
}

.control-label-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.info-icon {
	width: 20px;
	height: 20px;
	background: var(--primary);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	cursor: pointer;
	flex-shrink: 0;
}

.control-price {
	font-size: 0.875rem;
	color: var(--text-light);
	font-weight: 500;
}

.quantity-control {
	position: relative;
	display: flex;
	align-items: center;

	.max-seats-notice {
		position: absolute;
		bottom: -8px;
		left: 16px;
		right: 16px;
		transform: translateY(100%);
		background: #fff3f0;
		color: #cf1322;
		padding: 8px 12px;
		border-radius: 8px;
		font-size: 0.75rem;
		line-height: 1.4;
		opacity: 0;
		visibility: hidden;
		transition: all 0.2s ease;
		border: 1px solid #ffccc7;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	}

	.max-seats-notice.show {
		opacity: 1;
		visibility: visible;
		bottom: -4px;
	}

	gap: 12px;
}

.qty-btn {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	border: 2px solid var(--border);
	background: #fff;
	color: var(--text);
	font-size: 1.25rem;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	touch-action: manipulation;
}

.qty-btn:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.qty-btn:active {
	transform: scale(0.9);
}

.qty-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
	border-color: var(--border);
	color: var(--text-light);
}

.qty-display {
	min-width: 40px;
	text-align: center;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text);
}

.info-tooltip {
	position: relative;
	display: inline-block;
	cursor: pointer;
}

.tooltip-text {
	visibility: hidden;
	width: 200px;
	background: #1a1a1a;
	color: #fff;
	text-align: center;
	border-radius: 8px;
	padding: 8px 12px;
	position: absolute;
	z-index: 100000;
	bottom: 125%;
	left: 50%;
	margin-left: -100px;
	font-size: 0.875rem;
	font-weight: 500;
	opacity: 0;
	transition: opacity 0.3s;
}

.tooltip-text::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #1a1a1a transparent transparent transparent;
}

.info-tooltip:hover .tooltip-text,
.info-tooltip:active .tooltip-text,
.info-tooltip.active .tooltip-text {
	visibility: visible;
	opacity: 1;
}

.summary {
	margin-top: 20px;
	padding: 16px;
	border-radius: 12px;
	background: linear-gradient(135deg, #667eea15, #764ba215);
	border: 2px solid var(--primary-light);
}

.summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.summary-label {
	font-size: 0.875rem;
	color: var(--text-light);
}

.summary-value {
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--primary);
}

.btn {
	display: block;
	width: 100%;
	padding: 16px;
	border-radius: 12px;
	border: 0;
	background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
	color: #fff;
	font-weight: 700;
	font-size: 1.125rem;
	margin-top: 16px;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: var(--shadow);
}

.btn:active {
	transform: translateY(1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vip-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 16px 0;
	padding: 20px;
	background: linear-gradient(135deg, #fef3c7, #fde68a);
	border-radius: 16px;
	border: 2px solid #fbbf24;
}

.vip-header {
	display: flex;
	gap: 16px;
	align-items: center;
}

.vip-icon {
	width: 60px;
	height: 60px;
	border-radius: 12px;
	background: linear-gradient(135deg, #f59e0b, #d97706);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.vip-text {
	flex: 1;
}

.vip-title {
	font-weight: 700;
	margin-bottom: 6px;
	color: #92400e;
	font-size: 1.25rem;
}

.vip-subtitle {
	font-size: 0.9375rem;
	color: #b45309;
	line-height: 1.5;
	margin-bottom: 4px;
}

.vip-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-top: 8px;
}

.vip-feature {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	color: #92400e;
	background: rgba(255, 255, 255, 0.6);
	padding: 12px;
	border-radius: 10px;
	font-weight: 500;
}

.vip-feature::before {
	content: '✓';
	width: 22px;
	height: 22px;
	background: #f59e0b;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.75rem;
	flex-shrink: 0;
}

.vip-image {
	width: 100%;
	height: min(200px, 30vh);
	border-radius: 12px;
	object-fit: cover;
	border: 2px solid #fbbf24;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.checkout-summary {
	background: var(--bg);
	border-radius: 12px;
	padding: 16px;
	margin: 12px 0;
	line-height: 1.8;
	font-size: 0.9375rem;
}

.checkout-timer {
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.08));
	border: 1px solid rgba(102, 126, 234, 0.25);
	border-radius: 14px;
	padding: 12px 16px;
	margin-bottom: 16px;
	color: var(--primary);
	font-weight: 600;
	text-align: center;
	line-height: 1.5;
}

.checkout-timer-bottom {
	margin-top: 12px;
	margin-bottom: 16px;
}

.checkout-timer .timer-count {
	font-weight: 700;
	color: var(--primary);
	font-size: 1.125rem;
}

.checkout-datetime {
	background: linear-gradient(135deg, var(--primary-light), #f0f7ff);
	border-radius: 12px;
	padding: 16px;
	margin: 16px 0;
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.checkout-datetime span:first-child {
	font-size: 1.75rem;
	flex-shrink: 0;
}

.checkout-datetime .datetime-content {
	flex: 1;
}

.checkout-datetime .datetime-text {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 4px;
}

.checkout-datetime .duration-text {
	font-size: 1.125rem;
	color: var(--primary);
	font-weight: 600;
	margin-top: 8px;
	background: var(--primary-light);
	border-radius: 8px;
	display: inline-block;
}

.checkout-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
}

.checkout-row:last-child {
	border-bottom: none;
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--primary);
	margin-top: 8px;
	padding-top: 12px;
	border-top: 2px solid var(--border);
}

.coupon-box {
	display: flex;
	gap: 8px;
	margin: 16px 0;
}

.coupon-box input {
	flex: 1;
	padding: 12px 16px;
	border-radius: 10px;
	border: 2px solid var(--border);
	font-size: 1rem;
}

.coupon-box input:focus {
	outline: none;
	border-color: var(--primary);
}

.coupon-box button {
	padding: 12px 20px;
	border-radius: 10px;
	border: 0;
	background: var(--secondary);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	animation: fadeIn 0.3s ease-out;
}

.modal-content {
	background: var(--card);
	border-radius: 20px;
	padding: 20px;
	margin: 16px;
	width: 100%;
	max-width: 480px;
	position: relative;
	animation: slideUp 0.3s ease-out;
	max-height: 90vh;
	overflow-y: auto;
}

.modal-buttons {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.btn-outline {
	background: transparent;
	border: 2px solid var(--primary);
	color: var(--primary);
}

.ticket-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 16px 0;
}

.ticket-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 120px 64px;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
	border: 1px solid rgba(102, 126, 234, 0.15);
}

.ticket-item .ticket-name {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--text);
}

.ticket-item .ticket-unit {
	font-weight: 600;
	color: var(--primary);
	font-size: 0.95rem;
	text-align: right;
}

.ticket-item .ticket-qty {
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--text);
	text-align: right;
}

.ticket-header {
	background: transparent;
	border: none;
	padding: 0 4px;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-light);
}

.ticket-header .ticket-name,
.ticket-header .ticket-unit,
.ticket-header .ticket-qty {
	color: var(--text-light);
	font-weight: 600;
}

.ticket-empty {
	text-align: center;
	padding: 24px 12px;
	color: var(--text-light);
	font-size: 0.9rem;
}

.coupon-item {
	grid-template-columns: 1fr auto;
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.2);
}

.coupon-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.coupon-status {
	font-size: 0.875rem;
	color: var(--green);
	font-weight: 600;
}

.coupon-remove-btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: rgba(15, 118, 110, 0.1);
	color: #0f766e;
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.coupon-remove-btn:hover {
	background: rgba(15, 118, 110, 0.2);
}

.contact-box {
	background: linear-gradient(135deg, rgba(152, 63, 47, 0.16), rgba(90, 37, 28, 0.08));
	border: 2px solid rgba(152, 63, 47, 0.45);
	border-radius: 18px;
	padding: 22px;
	margin: 20px 0;
	box-shadow: 0 18px 30px -18px rgba(152, 63, 47, 0.55);
	display: flex;
	flex-direction: column;
	gap: 16px;
	position: relative;
}

.contact-box::before {
	content: '';
	position: absolute;
	inset: 10px;
	border-radius: 14px;
	border: 1px dashed rgba(255, 255, 255, 0.4);
	pointer-events: none;
}

.contact-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--primary);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.contact-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.contact-field label {
	font-size: 0.9rem;
	color: rgba(17, 24, 39, 0.8);
	font-weight: 700;
}

.contact-field input {
	padding: 10px 12px;
	border: 1px solid rgba(152, 63, 47, 0.35);
	border-radius: 12px;
	font-size: 0.95rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field input:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.contact-note {
	font-size: 0.85rem;
	color: rgba(17, 24, 39, 0.7);
	font-style: italic;
	padding: 0 12px;
}

.input-error {
	border-color: #ef4444 !important;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.contact-consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 0.85rem;
	color: var(--text-light);
	line-height: 1.4;
}

.contact-consent input {
	margin-top: 4px;
	transform: scale(1.1);
}

.contact-consent label {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	color: inherit;
}

.contact-consent label a {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
}

.contact-consent a {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
}

.contact-consent label a:hover,
.contact-consent a:hover {
	text-decoration: underline;
}

.contact-consent.error label {
	color: #ef4444;
}

#contactConsentWrapper.error {
	color: #ef4444;
}

.contact-summary {
	margin-top: 20px;
	padding: 16px;
	border-radius: 12px;
	background: var(--bg);
	border: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.contact-summary-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.contact-summary-title {
	font-weight: 600;
	color: var(--text);
}

.contact-edit-btn {
	border: none;
	background: transparent;
	color: var(--primary);
	font-weight: 600;
	cursor: pointer;
	padding: 4px 10px;
	border-radius: 8px;
	transition: background 0.2s ease, color 0.2s ease;
}

.contact-edit-btn:hover {
	background: var(--primary-light);
}

.contact-summary-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.contact-summary-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.contact-summary-label {
	font-size: 0.85rem;
	color: var(--text-light);
}

.contact-summary-value {
	font-weight: 600;
	color: var(--text);
	word-break: break-word;
}

.checkout-total {
	background: transparent;
	border-radius: 0;
	padding: 0;
	margin: 16px 0;
	box-shadow: none;
}

.cost-summary {
	background: var(--card);
	border-radius: 16px;
	padding: 20px;
	border: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 12px;
	box-shadow: var(--shadow);
}

.cost-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cost-row-discount {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(16, 185, 129, 0.1));
	border-radius: 12px;
	padding: 12px 16px;
	margin: 8px 0;
}

.cost-label-discount {
	display: flex;
	flex-direction: column;
	font-weight: 700;
	color: var(--primary);
}

.cost-label-discount .coupon-code {
	font-size: 0.85rem;
	color: var(--text);
	margin-top: 4px;
}

.cost-row-fees {
	align-items: flex-start;
}

.cost-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.95rem;
	color: var(--text-light);
}

.cost-label-with-info {
	position: relative;
}

.fee-info-btn {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: none;
	background: rgba(59, 130, 246, 0.12);
	color: #2563eb;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.fee-info-btn:hover {
	background: rgba(59, 130, 246, 0.2);
}

.fees-breakdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 12px;
	box-shadow: var(--shadow-lg);
	padding: 12px 16px;
	min-width: 210px;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	z-index: 20000;
}

.fees-breakdown.visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.fees-breakdown div {
	display: flex;
	justify-content: space-between;
	font-size: 0.9rem;
	color: var(--text);
	margin-bottom: 6px;
}

.fees-breakdown div:last-child {
	margin-bottom: 0;
}

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

.cost-row-total .cost-label {
	color: var(--text);
	font-weight: 700;
}

.cost-row-total .cost-value {
	font-size: 1.5rem;
	color: var(--primary);
}

.cost-summary.loading {
	background: var(--card);
}

.loading-line {
	height: 12px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.25));
	background-size: 200% 100%;
	animation: shimmer 1.2s ease-in-out infinite;
}

.loading-line+.loading-line {
	margin-top: 8px;
}

.loading-line.large {
	height: 16px;
	margin-top: 12px;
}

@keyframes shimmer {
	0% {
		background-position: -40% 0;
	}

	100% {
		background-position: 140% 0;
	}
}

.slot-note {
	color: var(--text-light);
	font-size: 0.875rem;
	margin-top: 8px;
	padding: 8px 12px;
	background: var(--primary-light);
	border-radius: 8px;
	line-height: 1.5;
}

.seats-left {
	display: block;
	font-size: 0.75rem;
	color: var(--orange);
	margin-top: 4px;
	font-weight: 600;
	background: rgba(245, 158, 11, 0.1);
	padding: 2px 6px;
	border-radius: 4px;
}

.checkout-notice {
	background: #fff3f0;
	border: 1px solid #ffccc7;
	color: #cf1322;
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 0.875rem;
	margin: 16px 0;
	line-height: 1.5;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeInOut {

	0%,
	100% {
		opacity: 0;
	}

	10%,
	90% {
		opacity: 1;
	}
}

.toast {
	position: fixed;
	bottom: 20%;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 12px 24px;
	border-radius: 24px;
	font-size: 0.875rem;
	z-index: 200000;
	animation: fadeInOut 2s ease-in-out;
}

#paypal-button-container {
	margin-top: 10px;
	width: 100%;
}

.payment-methods {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
}

.payment-method-group.payment-group-paypal {
	order: 1;
}

.payment-method-group.payment-group-alphapay {
	order: 2;
}

[lang="zh-CN"] .payment-method-group.payment-group-alphapay,
[lang="zh-TW"] .payment-method-group.payment-group-alphapay {
	order: 1;
}

[lang="zh-CN"] .payment-method-group.payment-group-paypal,
[lang="zh-TW"] .payment-method-group.payment-group-paypal {
	order: 2;
}

.payment-method-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.payment-method-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-light);
	margin-bottom: 4px;
}

.payment-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.payment-btn {
	width: 100%;
	padding: 11px;
	border: none;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-weight: 700;
	font-size: 1.1rem;
	color: #fff;
	box-shadow: var(--shadow);
}

.payment-btn-logo {
	width: 24px;
	height: 24px;
	fill: currentColor;
	flex-shrink: 0;
	display: block;
}

.payment-btn-text {
	color: #fff;
	min-width: 100px;
	text-align: center;
}

#alipayBtn {
	background: linear-gradient(135deg, #1677ff, #0958d9);
}

#alipayBtn:hover {
	background: linear-gradient(135deg, #4096ff, #1677ff);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(22, 119, 255, 0.3);
}

#wechatpayBtn {
	background: linear-gradient(135deg, #07c160, #06ae56);
}

#wechatpayBtn:hover {
	background: linear-gradient(135deg, #38cd7f, #07c160);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(7, 193, 96, 0.3);
}

#stripeBtn {
	background: linear-gradient(135deg, #635bff, #5469d4);
}

#stripeBtn:hover {
	background: linear-gradient(135deg, #7a73ff, #635bff);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(99, 91, 255, 0.3);
}

.payment-btn-stripe .payment-btn-logo {
	--logo-color: #fff;
}

.payment-btn:active {
	transform: translateY(0);
}

.payment-btn.loading {
	opacity: 0.6;
	cursor: wait;
	pointer-events: none;
}

.payment-btn:disabled,
.payment-btn.disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
	filter: grayscale(50%);
}

.qrcode-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10001;
	padding: 20px;
}

.qrcode-content {
	background: var(--card);
	border-radius: 20px;
	padding: 30px;
	max-width: 400px;
	width: 100%;
	text-align: center;
	animation: slideUp 0.3s ease-out;
}

.qrcode-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--text);
}

.qrcode-hint {
	font-size: 0.95rem;
	color: var(--text-light);
	margin-bottom: 12px;
}

.qrcode-warning {
	font-size: 0.9rem;
	color: #f59e0b;
	font-weight: 600;
	margin-bottom: 20px;
	padding: 8px 12px;
	background: rgba(245, 158, 11, 0.1);
	border-radius: 8px;
	border: 1px solid rgba(245, 158, 11, 0.3);
}

.qrcode-image-wrapper {
	background: #fff;
	padding: 20px;
	border-radius: 12px;
	display: inline-block;
	margin-bottom: 20px;
	box-shadow: var(--shadow);
}

.qrcode-image {
	display: block;
	max-width: 250px;
	width: 100%;
	height: auto;
}

.qrcode-close-btn {
	width: 100%;
	padding: 12px;
	border: 2px solid #dc2626;
	border-radius: 12px;
	background: #fff;
	color: #dc2626;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	transition: all 0.2s ease;
}

.qrcode-close-btn:hover {
	background: #fef2f2;
	border-color: #b91c1c;
	color: #b91c1c;
}

.slot.disabled {
	opacity: 0.5;
	cursor: not-allowed;
	border-color: var(--border);
	background: #f5f5f5;
}

.slot.disabled:active {
	transform: none;
}

.slot.disabled .price {
	color: var(--text-light) !important;
}

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

.header-content h1 {
	margin: 0;
	flex: 1;
	padding-right: 16px;
}

.lang-switcher {
	position: relative;
}

.lang-select {
	appearance: none;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	padding: 4px 24px 4px 8px;
	border-radius: 4px;
	font-size: 0.88rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
	backdrop-filter: blur(4px);
	height: 38px;
	text-align: center;
	margin-top: 12px;
	margin-bottom: 10px;
}

.lang-select:hover {
	background: rgba(255, 255, 255, 0.3);
}

.lang-select:focus {
	outline: none;
	border-color: rgba(255, 255, 255, 0.5);
}

.lang-switcher::after {
	content: "";
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid rgba(255, 255, 255, 0.8);
	pointer-events: none;
}

.lang-select option {
	background: #fff;
	color: #333;
	padding: 8px;
}

#contactConsentWrapper {
	display: block;
}

@media (max-width: 500px) {
	.wrap {
		max-width: 100%;
		width: 100%;
	}

	.price-label.price-amount .price-dec {
		display: none;
	}

	.card {
		margin: 0;
		border-radius: 0;
		padding-left: 15px;
		padding-right: 15px;
	}

	body {
		padding-bottom: 0;
	}
}