.esm-booking-app {
	font-family: var(--esm-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	background: var(--esm-bg, transparent);
	color: var(--esm-text, inherit);
	/* Once a background colour is actually painted, content sitting flush
	   against the edge reads as broken — the legend in particular ended
	   up hard against the left edge and the top of the seat map frame.
	   Padding the app gives the whole widget a margin inside its own
	   background instead of relying on the surrounding theme's layout. */
	padding: var(--esm-app-pad, 16px);
	box-sizing: border-box;
}
.esm-legend { padding-left: 2px; }

.esm-booking-layout {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.esm-seatmap-col { flex: 1 1 620px; min-width: 320px; position: relative; }
.esm-cart-col {
	flex: 0 0 320px;
	border: 1px solid var(--esm-border, #e2e2e2);
	border-radius: var(--esm-radius, 8px);
	padding: 16px;
	background: var(--esm-surface, #fafafa);
	align-self: flex-start;
}

.esm-legend {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--esm-muted, #444);
	margin-bottom: 8px;
}
.esm-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 4px;
	vertical-align: middle;
}

#esm-seatmap-container {
	position: relative;
	border: 1px solid var(--esm-border, #e2e2e2);
	border-radius: var(--esm-radius, 8px);
	height: 560px;
	background: var(--esm-surface, #fcfcfc);
	overflow: hidden;
	touch-action: none; /* let our own pinch/drag handling own touch gestures instead of the browser's page zoom/scroll */
}

.esm-map-zoom-controls {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 15;
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: var(--esm-bg, #fff);
	border-radius: var(--esm-radius, 8px);
	padding: 5px;
	box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.esm-map-zoom-controls button {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e2e2e2;
	background: #fff;
	border-radius: 6px;
	font-size: 17px;
	line-height: 1;
	color: #444;
	cursor: pointer;
}
.esm-map-zoom-controls button:hover { background: #f3f3f3; }
.esm-map-zoom-controls button:active { background: #e8e8e8; }

@media (max-width: 480px) {
	#esm-seatmap-container { height: 62vh; min-height: 380px; }
	.esm-map-zoom-controls button { width: 38px; height: 38px; font-size: 20px; }
	.esm-legend { gap: 10px; font-size: 12px; }
}

.esm-toast {
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%) translateY(-8px);
	background: #2c2c34;
	color: #fff;
	font-size: 13px;
	padding: 9px 16px;
	border-radius: 6px;
	box-shadow: 0 4px 14px rgba(0,0,0,.25);
	opacity: 0;
	pointer-events: none;
	transition: opacity .18s ease, transform .18s ease;
	z-index: 20;
	white-space: nowrap;
	max-width: 90%;
	text-overflow: ellipsis;
	overflow: hidden;
}
.esm-toast-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.esm-event-info {
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--esm-border, #e2e2e2);
}
.esm-event-title {
	margin: 0 0 4px;
	font-size: 18px;
	line-height: 1.3;
	color: var(--esm-text, #1d2327);
}
.esm-event-date {
	margin: 0;
	font-size: 13px;
	color: var(--esm-muted, #757575);
}
.esm-waitlist-link {
	background: none;
	border: none;
	padding: 0;
	margin-top: 8px;
	font-size: 12px;
	color: var(--esm-accent, #2271b1);
	text-decoration: underline;
	cursor: pointer;
}
.esm-waitlist-link:hover { color: var(--esm-accent-hover, #135e96); }
/* Waitlist button colour comes from Settings → Display. Themes (e.g.
   Hello Elementor) paint every <button> pink on hover/focus — overridden. */
.esm-booking-app .esm-waitlist-link,
.esm-booking-app .esm-waitlist-link:focus { color: var(--esm-waitlist, var(--esm-accent, #2271b1)) !important; background: transparent !important; border: 1px solid var(--esm-waitlist, var(--esm-accent, #2271b1)) !important; border-radius: var(--esm-radius, 8px) !important; padding: 8px 12px !important; font-size: 14px; width: 100%; text-align: center; cursor: pointer; box-shadow: none !important; }
.esm-booking-app .esm-waitlist-link:hover { color: var(--esm-accent-text, #fff) !important; background: var(--esm-waitlist, var(--esm-accent, #2271b1)) !important; }

.esm-waitlist-modal {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.5);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.esm-waitlist-box {
	position: relative;
	background: var(--esm-bg, #fff);
	border-radius: var(--esm-radius, 10px);
	padding: 24px;
	width: 380px;
	max-width: 100%;
	max-height: 90vh;
	overflow-y: auto;
}
.esm-waitlist-box h3 { margin: 0 0 6px; font-size: 17px; }
.esm-waitlist-note { font-size: 12.5px; color: var(--esm-muted, #666); margin: 0 0 16px; }
.esm-waitlist-box label {
	display: block;
	font-size: 12.5px;
	color: var(--esm-muted, #444);
	margin-bottom: 12px;
}
.esm-waitlist-box input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 4px;
	padding: 8px 10px;
	border: 1px solid var(--esm-border, #d5d5d8);
	border-radius: 6px;
	font-size: 14px;
}
.esm-waitlist-close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: none;
	background: transparent;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: var(--esm-muted, #888);
}
.esm-waitlist-error {
	color: #a53a3a;
	background: #fce9e9;
	border: 1px solid #f0c2c2;
	border-radius: 6px;
	padding: 8px 10px;
	font-size: 12.5px;
	margin: 0 0 12px;
}
.esm-waitlist-success {
	color: #1a7a3d;
	background: #e5f5ea;
	border: 1px solid #b8e0c4;
	border-radius: 6px;
	padding: 10px;
	font-size: 13px;
	text-align: center;
	margin: 0 0 4px;
}
.esm-waitlist-submit {
	width: 100%;
	padding: 10px;
	background: var(--esm-accent, #2271b1);
	color: var(--esm-accent-text, #fff);
	border: none;
	border-radius: var(--esm-radius, 6px);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.esm-waitlist-submit:hover { background: var(--esm-accent-hover, #195a8c); }
.esm-waitlist-submit:disabled { opacity: .6; cursor: not-allowed; }

.esm-cart-col h3 { margin-top: 0; font-size: 15px; color: var(--esm-text, inherit); }

.esm-view-only-note {
	font-size: 13px;
	color: #555;
	background: #fff6e0;
	border: 1px solid #ffdf8a;
	padding: 10px 12px;
	border-radius: 6px;
	line-height: 1.5;
}

.esm-cart-list { max-height: 220px; overflow-y: auto; margin-bottom: 10px; }
.esm-cart-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 8px;
	background: var(--esm-bg, #fff);
	border: 1px solid var(--esm-border, #eee);
	border-radius: 6px;
	margin-bottom: 6px;
	font-size: 13px;
}
.esm-cart-item button {
	border: none;
	background: transparent;
	color: #c0392b;
	cursor: pointer;
	font-size: 14px;
}
.esm-empty-cart { color: var(--esm-muted, #888); font-size: 13px; }

.esm-cart-item-zone { border-color: #d9c4f0; background: #faf5ff; }
.esm-zone-qty-price { color: #888; font-size: 11.5px; font-weight: normal; }
.esm-zone-qty-controls {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}
.esm-zone-qty-btn {
	width: 22px;
	height: 22px;
	border-radius: 5px;
	border: 1px solid #d5c2ea !important;
	background: #fff !important;
	color: #6a3fa0 !important;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.esm-zone-qty-btn:hover { background: #f3ebfb !important; }
.esm-zone-qty-val { font-size: 13px; font-weight: 600; min-width: 14px; text-align: center; }

.esm-attendee-row-zone {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #faf5ff;
	border: 1px solid #d9c4f0;
	border-radius: 6px;
	padding: 8px 10px;
	margin-bottom: 8px;
}
.esm-zone-line-total { font-size: 13px; font-weight: 600; color: #333; }

.esm-checkout-step label {
	display: block;
	font-size: 12px;
	color: var(--esm-muted, #555);
	margin-bottom: 8px;
}
.esm-checkout-step input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 6px 8px;
	margin-top: 3px;
	border: 1px solid var(--esm-border, #ccc);
	border-radius: 4px;
}

.esm-attendee-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}
.esm-attendee-row .esm-seat-chip {
	flex: 0 0 90px;
	font-size: 12px;
	background: #ffe9a8;
	border-radius: 4px;
	padding: 4px 6px;
	text-align: center;
}
.esm-attendee-row input { flex: 1; padding: 6px 8px; border: 1px solid var(--esm-border, #ccc); border-radius: 4px; }

.esm-cart-footer {
	border-top: 1px solid var(--esm-border, #e2e2e2);
	margin-top: 10px;
	padding-top: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.esm-subtotal { font-size: 13px; color: var(--esm-muted, #444); }

/* ---------- Step 2: checkout (buyer info + name every seat) ---------- */

.esm-checkout-step {
	max-width: 480px;
	margin: 0 auto;
	border: 1px solid var(--esm-border, #e2e2e2);
	border-radius: var(--esm-radius, 8px);
	padding: 20px 24px;
	background: var(--esm-surface, #fafafa);
}
.esm-checkout-step h3 { margin-top: 18px; margin-bottom: 10px; font-size: 15px; }
.esm-checkout-step h3:first-of-type { margin-top: 4px; }

.esm-back-link {
	border: none;
	background: transparent;
	color: var(--esm-accent, #2271b1);
	font-size: 13px;
	cursor: pointer;
	padding: 0 0 10px;
}
.esm-back-link:hover { text-decoration: underline; }

#esm-checkout-btn,
#esm-confirm-btn {
	background: var(--esm-accent, #2271b1);
	color: var(--esm-accent-text, #fff);
	border: none;
	padding: 9px 18px;
	border-radius: var(--esm-radius, 5px);
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	transition: background .15s ease;
}
#esm-checkout-btn:hover:not(:disabled),
#esm-confirm-btn:hover:not(:disabled) { background: var(--esm-accent-hover, #195a8c); }
#esm-checkout-btn:disabled,
#esm-confirm-btn:disabled { background: #b8c6d1; cursor: not-allowed; }

#esm-payment-result { margin-top: 12px; font-size: 13px; }
#esm-payment-result a.esm-pay-link {
	display: inline-block;
	margin-top: 6px;
	background: #2fa774;
	color: #fff;
	padding: 8px 14px;
	border-radius: 5px;
	text-decoration: none;
}
#esm-payment-result .esm-manual-note {
	background: #fff6e0;
	border: 1px solid #ffdf8a;
	padding: 8px 10px;
	border-radius: 6px;
}

/* ---------- Post-checkout confirmation page ---------- */

.esm-confirmation {
	max-width: 640px;
	margin: 20px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.esm-confirmation-card {
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 24px 28px;
	background: #fff;
}
.esm-confirmation-card h2 { margin-top: 0; }
.esm-confirmation-id { color: #777; font-size: 13px; margin-top: -8px; }

.esm-confirmation-table {
	width: 100%;
	border-collapse: collapse;
	margin: 14px 0;
}
.esm-confirmation-table th,
.esm-confirmation-table td {
	text-align: left;
	padding: 7px 6px;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
}
.esm-confirmation-table th { color: #666; font-weight: 600; width: 140px; }
.esm-confirmation-seats th { width: auto; color: #444; font-size: 12px; text-transform: uppercase; }

.esm-confirmation-total {
	text-align: right;
	font-size: 16px;
	margin-top: 10px;
}

.esm-receipt-print-header { display: none; } /* only shown when printing — see @media print below */
.esm-receipt-print-footer { display: none; }

.esm-download-receipt-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 16px;
	padding: 11px;
	background: #fff;
	color: #2c3e50;
	border: 1px solid #d5d5d8;
	border-radius: 7px;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
}
.esm-download-receipt-btn:hover { background: #f6f8fb; border-color: #b8c6d1; }

/* Printing (including "Save as PDF" from the browser's own print dialog)
   shows ONLY the receipt block — everything else on the page (header,
   nav, the Download button itself, QR scan instructions, etc.) is
   hidden so the output reads like an actual receipt, not a screenshot
   of the whole page. */
@media print {
	@page {
		size: auto;
		margin: 10mm;
	}
	body * { visibility: hidden; }
	#esm-receipt-printable, #esm-receipt-printable * { visibility: visible; }
	#esm-receipt-printable {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		padding: 0;
		/* Everything below is deliberately smaller/tighter than the
		   on-screen version — the goal is fitting comfortably on one
		   printed page (a QR code plus two tables can otherwise spill
		   onto a second page on smaller paper sizes like A5/thermal
		   receipt printers), not matching the screen layout exactly. */
		font-size: 12px;
	}
	.esm-receipt-print-header { display: block; margin-bottom: 10px; }
	.esm-receipt-print-header h1 { font-size: 18px; margin: 0 0 3px; }
	.esm-receipt-print-header p { font-size: 12px; color: #555; margin: 0; }
	#esm-receipt-printable h2 { font-size: 15px; margin: 8px 0 4px; }
	#esm-receipt-printable h3 { font-size: 13px; margin: 10px 0 4px; }
	#esm-receipt-printable .esm-confirmation-id { font-size: 11px; margin: 0 0 8px; }
	#esm-receipt-printable .esm-confirmation-table { margin-bottom: 8px; }
	#esm-receipt-printable .esm-confirmation-table th,
	#esm-receipt-printable .esm-confirmation-table td { padding: 3px 6px; font-size: 11.5px; }
	#esm-receipt-printable .esm-confirmation-total { font-size: 13px; margin-top: 6px; }
	#esm-receipt-printable .esm-checkin-qr-block { margin-top: 12px; page-break-inside: avoid; }
	#esm-receipt-printable .esm-checkin-qr-block h3 { margin-bottom: 2px; }
	#esm-receipt-printable .esm-confirmation-note-plain { font-size: 10.5px; margin: 0 0 6px; }
	#esm-receipt-printable .esm-checkin-qr-img {
		width: 130px;
		height: 130px;
		padding: 6px;
		margin-top: 4px;
	}
	.esm-receipt-print-footer {
		display: block;
		margin-top: 10px;
		font-size: 10px;
		color: #888;
	}
}

.esm-confirmation-note {
	margin-top: 14px;
	background: #fff6e0;
	border: 1px solid #ffdf8a;
	padding: 10px 12px;
	border-radius: 6px;
	font-size: 13px;
}

.esm-confirmation-error {
	background: #fdeaea;
	border-color: #f3b8b8;
	color: #8a2020;
}

/* Both this and .esm-mark-paid-confirmation below were relying on
   WordPress's own admin "button button-primary" classes for their
   look — those styles only load in wp-admin, not on a front-end page
   like this receipt, so without this they rendered as plain unstyled
   text links/buttons instead of an obvious call-to-action. */
.esm-complete-payment-btn,
.esm-mark-paid-confirmation {
	display: block;
	width: 100%;
	margin-top: 10px;
	padding: 12px;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
}
.esm-complete-payment-btn:hover,
.esm-mark-paid-confirmation:hover { background: #195a8e; color: #fff; }

.esm-confirmation-note-plain {
	font-size: 13px;
	color: #666;
	margin: 0 0 12px;
}

.esm-checkin-qr-block {
	margin-top: 18px;
	text-align: center;
}
.esm-checkin-qr-block h3 { margin-bottom: 4px; }
.esm-checkin-qr-block canvas,
.esm-checkin-qr-block .esm-checkin-qr-img {
	margin-top: 8px;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 10px;
	background: #fff;
}

.esm-checked-in-badge {
	display: inline-block;
	background: #e5f5ea;
	color: #1a7a3d;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 6px;
	font-size: 13px;
}

/* Shown in place of a second booking widget on the same page. The
   widget's state is module-level, so two cannot run side by side; this
   says so instead of leaving a blank space that reads as a broken page. */
.esm-multi-widget-notice {
	padding: 14px 16px;
	border: 1px solid #f0c48a;
	background: #fff4e5;
	color: #92500a;
	border-radius: 8px;
	font-size: 13.5px;
	line-height: 1.5;
}

/* ---- Event banner (the event's Featured Image) ---- */
.esm-event-banner {
	position: relative;
	isolation: isolate;
	margin: 0 0 18px;
	border-radius: var(--esm-radius, 8px);
	overflow: hidden;
	line-height: 0; /* kills the inline-image descender gap under the photo */
	background: #151922;
	text-align: center;
}
/* The WHOLE image is shown (never cropped): it is scaled to fit the
   height cap and centred, and the empty sides are filled with a blurred
   copy of the same image — so a 16:9 poster keeps its title and edges. */
.esm-event-banner::before {
	content: "";
	position: absolute;
	inset: -40px;
	z-index: -1;
	background: var(--esm-banner-bg) center / cover no-repeat;
	filter: blur(28px) brightness(.75);
	transform: scale(1.1);
}
.esm-event-banner img {
	display: inline-block;
	width: auto;
	max-width: 100%;
	height: auto;
	/* Capped so a tall poster cannot push the seat map below the fold. */
	max-height: 320px;
	object-fit: contain;
	vertical-align: top;
}

/* ============================================================
   Tablet.

   The seat map column is flex: 1 1 620px, so on a tablet the cart
   was squeezed into a narrow strip beside it and both became hard
   to use. Below 1024px they stack: full-width map, cart underneath.
   ============================================================ */
@media (max-width: 1024px) {
	.esm-booking-layout { flex-direction: column; }
	.esm-seatmap-col { flex: 1 1 auto; min-width: 0; width: 100%; }
	.esm-cart-col { flex: 1 1 auto; width: 100%; box-sizing: border-box; }
	#esm-seatmap-container { height: 460px; }
	.esm-event-banner img { max-height: 260px; }
}

/* ============================================================
   Phone.
   ============================================================ */
@media (max-width: 640px) {
	#esm-booking-app,
	.esm-booking-app { padding: var(--esm-app-pad, 12px); }

	#esm-seatmap-container { height: 380px; }
	.esm-event-banner img { max-height: 230px; }

	/* Wrap rather than squeeze; a five-item legend on one line at
	   phone width leaves each label a few pixels wide. */
	.esm-legend { gap: 8px 14px; font-size: 12px; }

	/* The cart is what a buyer acts on, so it gets full width and a
	   thumb-sized checkout button rather than a cramped one. */
	.esm-cart-col { padding: 14px; }
	#esm-checkout-btn,
	#esm-confirm-btn { width: 100%; padding: 13px; font-size: 15px; }

	/* Zoom controls sized for a finger, not a mouse pointer. */
	.esm-map-zoom-controls button { width: 40px; height: 40px; font-size: 20px; }

	/* 16px keeps iOS from zooming the page when a field takes focus,
	   which otherwise leaves the layout scrolled sideways mid-checkout. */
	.esm-checkout-step input,
	.esm-attendee-row input,
	.esm-waitlist-box input,
	.esm-waitlist-box textarea { font-size: 16px; }

	.esm-checkout-step { padding: 16px 14px; }
	.esm-attendee-row { flex-direction: column; align-items: stretch; gap: 4px; }

	/* A modal pinned to the viewport edges on a small screen. */
	.esm-waitlist-box { width: calc(100vw - 24px); max-width: none; }
}

@media (max-width: 400px) {
	#esm-seatmap-container { height: 320px; }
	.esm-legend { font-size: 11.5px; }
}

/* "Already paid? … Check now" line under a pending receipt. */
.esm-payment-checking { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.esm-payment-checking .esm-check-payment-now {
	margin-left: 0 !important;
	padding: 4px 12px;
	border: 1px solid #c9a227;
	border-radius: 6px;
	background: #fff;
	color: #7a5b00;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}
.esm-payment-checking .esm-check-payment-now:hover { background: #fff8e1; }
.esm-payment-checking .esm-check-payment-now:disabled { opacity: .55; cursor: progress; }

/* =========================================================
 * Receipt (confirmation page) — mobile-first
 * Everything is scoped under .esm-confirmation so theme styles
 * for h1 / dl / ul / tables can't leak in.
 * ========================================================= */
.esm-confirmation { max-width: 560px; margin-left: auto; margin-right: auto; }
.esm-confirmation .esm-confirmation-card { padding: 22px 24px; overflow: hidden; }

.esm-confirmation .esm-receipt-banner {
	margin: -22px -24px 16px;
	background: #f2f2f4;
}
.esm-confirmation .esm-receipt-banner img {
	display: block; width: 100%; height: auto; max-height: 300px; object-fit: cover; margin: 0;
}

.esm-confirmation .esm-receipt-event-header { text-align: center; margin: 0 0 14px; }
.esm-confirmation .esm-receipt-event-header h1 {
	font-size: 22px; line-height: 1.25; margin: 0 0 4px; font-weight: 700; letter-spacing: 0; text-transform: none;
}
.esm-confirmation .esm-receipt-event-header p { margin: 0; color: #666; font-size: 14px; }

/* Ticket QR */
.esm-confirmation .esm-rc-qr {
	text-align: center;
	border: 1px dashed #d3d8de;
	border-radius: 12px;
	background: #fafbfc;
	padding: 16px 12px 14px;
	margin: 0 0 16px;
}
.esm-confirmation .esm-rc-qr-title { margin: 0 0 10px; font-weight: 700; font-size: 16px; color: #1d2327; }
.esm-confirmation .esm-rc-qr-code {
	display: inline-block; background: #fff; padding: 8px; border-radius: 10px;
	box-shadow: 0 0 0 1px #e5e7eb; line-height: 0;
}
.esm-confirmation .esm-rc-qr-code svg { display: block; width: min(220px, 62vw); height: auto; }
.esm-confirmation .esm-rc-qr-note { margin: 10px auto 0; font-size: 13px; color: #555; max-width: 300px; line-height: 1.45; }
.esm-confirmation .esm-rc-qr .esm-checked-in-badge { margin: 10px 0 0; }

/* Status strip */
.esm-confirmation .esm-rc-status {
	display: flex; flex-direction: column; align-items: center; gap: 2px;
	padding: 12px; border-radius: 10px; margin: 0 0 14px; text-align: center;
	background: #fff8e1; color: #7a5b00;
}
.esm-confirmation .esm-rc-status-paid { background: #edfaef; color: #0a6b20; }
.esm-confirmation .esm-rc-status-cancelled { background: #fcf0f1; color: #8a1f24; }
.esm-confirmation .esm-rc-status-title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.esm-confirmation .esm-rc-status-meta { font-size: 13px; opacity: .85; }

/* Buyer details: label above value, so long emails never overflow */
.esm-confirmation .esm-rc-details { margin: 0 0 14px; padding: 0; border: 1px solid #eceef0; border-radius: 10px; }
.esm-confirmation .esm-rc-details > div { padding: 9px 14px; border-bottom: 1px solid #eceef0; }
.esm-confirmation .esm-rc-details > div:last-child { border-bottom: 0; }
.esm-confirmation .esm-rc-details dt { margin: 0; font-size: 12px; color: #787c82; font-weight: 600; text-transform: none; }
.esm-confirmation .esm-rc-details dd {
	margin: 2px 0 0; font-size: 15px; color: #1d2327; overflow-wrap: anywhere; word-break: break-word;
}

/* Tickets */
.esm-confirmation .esm-rc-section { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: #50575e; text-transform: uppercase; letter-spacing: .04em; }
.esm-confirmation .esm-rc-items { list-style: none; margin: 0 0 4px; padding: 0; }
.esm-confirmation .esm-rc-items li {
	display: flex; align-items: center; gap: 12px;
	padding: 10px 0; border-bottom: 1px solid #f0f1f2; margin: 0;
}
.esm-confirmation .esm-rc-seat {
	flex: 0 0 auto; min-width: 46px; text-align: center;
	background: #2271b1; color: #fff; font-weight: 700; font-size: 13px;
	border-radius: 8px; padding: 6px 8px; line-height: 1.2;
}
.esm-confirmation .esm-rc-seat-zone { background: #50575e; }
.esm-confirmation .esm-rc-item-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.esm-confirmation .esm-rc-item-main strong { font-size: 14px; color: #1d2327; overflow-wrap: anywhere; }
.esm-confirmation .esm-rc-item-main small { font-size: 12px; color: #787c82; }
.esm-confirmation .esm-rc-price { flex: 0 0 auto; font-weight: 600; font-size: 14px; white-space: nowrap; color: #1d2327; }

.esm-confirmation .esm-rc-total {
	display: flex; justify-content: space-between; align-items: baseline;
	padding: 12px 0 2px; font-size: 15px; color: #50575e;
}
.esm-confirmation .esm-rc-total strong { font-size: 20px; color: #1d2327; }

@media (max-width: 480px) {
	.esm-confirmation .esm-confirmation-card { padding: 18px 16px; border-radius: 12px; }
	.esm-confirmation .esm-receipt-banner { margin: -18px -16px 14px; }
	.esm-confirmation .esm-receipt-banner img { max-height: 190px; }
	.esm-confirmation .esm-receipt-event-header h1 { font-size: 20px; }
}

@media print {
	.esm-confirmation .esm-receipt-banner { margin: 0 0 8px; }
	.esm-confirmation .esm-receipt-banner img { max-height: 130px; }
	.esm-confirmation .esm-rc-qr { border: 0; background: none; padding: 4px 0; margin: 4px 0 8px; page-break-inside: avoid; }
	.esm-confirmation .esm-rc-qr-code { box-shadow: none; padding: 0; }
	.esm-confirmation .esm-rc-qr-code svg { width: 140px; }
	.esm-confirmation .esm-rc-status { padding: 6px; margin-bottom: 8px; }
	.esm-confirmation .esm-rc-details > div { padding: 4px 8px; }
	.esm-confirmation .esm-rc-items li { padding: 5px 0; }
}

/* Promo code + price breakdown (checkout) */
.esm-promo-box { margin: 14px 0 6px; }
.esm-promo-box label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.esm-promo-row { display: flex; gap: 8px; }
.esm-promo-row input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; }
.esm-promo-row button { flex: 0 0 auto; }
.esm-promo-msg { margin: 4px 0 0; font-size: 13px; min-height: 1em; }
.esm-promo-msg.is-ok { color: #0a7a2a; } .esm-promo-msg.is-err { color: #b32d2e; }
.esm-price-breakdown { margin: 8px 0 0; font-size: 14px; }
.esm-bd-row { display: flex; justify-content: space-between; padding: 3px 0; color: #50575e; }
.esm-bd-row strong { font-weight: 600; color: #1d2327; }
.esm-bd-disc strong { color: #0a7a2a; }
.esm-confirmation .esm-rc-breakdown { padding: 10px 0 0; font-size: 14px; color: #50575e; }
.esm-confirmation .esm-rc-breakdown > div { display: flex; justify-content: space-between; padding: 2px 0; }
.esm-confirmation .esm-rc-breakdown .is-disc span:last-child { color: #0a7a2a; }
.esm-confirmation .esm-cal-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0 4px; }
.esm-confirmation .esm-cal-link { display: inline-block; padding: 8px 12px; border: 1px solid #c3c4c7; border-radius: 8px; font-size: 13px; color: #1d2327; text-decoration: none; }
@media print { .esm-confirmation .esm-cal-links { display: none; } }
.esm-max-seats-note { margin: -4px 0 8px; font-size: 13px; color: #7a5b00; background: #fff8e1; border-radius: 6px; padding: 6px 10px; }
.esm-confirmation .esm-rc-invoice { margin-top: 4px; font-size: 13px; opacity: .9; }
.esm-confirmation .esm-rc-invoice strong { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .02em; }
.esm-event-cancelled { max-width: 560px; margin: 20px auto; padding: 18px 20px; border-radius: 12px; background: #fcf0f1; color: #5b1a1e; border: 1px solid #f1c1c4; }
.esm-event-cancelled strong { font-size: 17px; }
.esm-event-cancelled-btn { display: inline-block; background: #b32d2e; color: #fff !important; padding: 10px 18px; border-radius: 8px; text-decoration: none; font-weight: 600; }

/* Waitlist button: no underline (themes underline links/buttons, incl. on hover/focus). */
.esm-booking-app .esm-waitlist-link,
.esm-booking-app .esm-waitlist-link:hover,
.esm-booking-app .esm-waitlist-link:focus,
.esm-booking-app .esm-waitlist-link:active,
.esm-booking-app .esm-waitlist-link:visited { text-decoration: none !important; }

/* Receipt: the banner is the full image (16:9, never cropped), and on
   phones the receipt starts right at the top of the page — no empty
   strip above the banner, no side borders eating into a narrow screen. */
.esm-confirmation .esm-receipt-banner img { max-height: none; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 600px) {
	.esm-confirmation { margin-top: 0 !important; margin-bottom: 0 !important; }
	.esm-confirmation .esm-confirmation-card { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
}

/* Seat map banner (desktop only): fills the whole 1180 × 320 area, no blur. */
@media (min-width: 901px) {
	.esm-event-banner.has-desktop-banner::before { display: none; }
	.esm-event-banner.has-desktop-banner img { width: 100%; max-width: 100%; max-height: none; aspect-ratio: 1180 / 320; object-fit: cover; display: block; }
}
@media (max-width: 900px) { .esm-event-banner.no-mobile-banner { display: none; } }

/* Ticket holders (orders of 2+ tickets) */
#esm-holders-block h3 { margin-bottom: 2px; }
.esm-holders-note { margin: 0 0 12px; color: #6b7280; font-size: 14px; }
.esm-holder { border: 1px solid #e6e8eb; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: #fafbfc; }
.esm-holder-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.esm-holder-no { width: 24px; height: 24px; border-radius: 50%; background: var(--swp-buy-bg, #0891b2); color: var(--swp-buy-text, #fff); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.esm-holder-mine { margin-left: auto; border: 1px solid #b9e3ee; background: #fff; color: var(--swp-buy-bg, #0891b2); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.esm-holder-g { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 10px; }
.esm-holder-g label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: #4b5563; font-weight: 600; margin: 0; }
.esm-holder-g input { height: 40px; border: 1.5px solid #e1e4e8; border-radius: 10px; padding: 0 10px; font-size: 15px; width: 100%; box-sizing: border-box; background: #fff; }
.esm-holder-g input:focus { outline: 0; border-color: var(--swp-buy-bg, #0891b2); }
.esm-holder-g label.is-bad input { border-color: #d92d20; }
@media (max-width: 700px) { .esm-holder-g { grid-template-columns: 1fr; } }
.esm-holder-g .esm-opt { font-style: normal; font-weight: 500; color: #8a9099; }
@media (pointer: coarse), (max-width: 900px) {
	.esm-holder-g input { font-size: 16px; height: 44px; }
	.esm-holder-mine { padding: 8px 14px; }
}
@media (min-width: 701px) and (max-width: 900px) {
	.esm-holder-g { grid-template-columns: 1fr 1fr; }
	.esm-holder-g label:last-child { grid-column: 1 / -1; max-width: 50%; }
}

/* One QR per ticket on the receipt */
.esm-confirmation .esm-rc-qr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 14px 0 6px; text-align: left; }
.esm-confirmation .esm-rc-qr-card { border: 1px solid #e6e8eb; border-radius: 14px; padding: 12px; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.esm-confirmation .esm-rc-qr-card.is-in { border-color: #9fd6a8; background: #f6fbf6; }
.esm-confirmation .esm-rc-qr-head { display: flex; align-items: center; gap: 10px; align-self: stretch; }
.esm-confirmation .esm-rc-qr-no { width: 26px; height: 26px; border-radius: 50%; background: var(--swp-buy-bg, #0891b2); color: var(--swp-buy-text, #fff); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.esm-confirmation .esm-rc-qr-who { display: flex; flex-direction: column; min-width: 0; }
.esm-confirmation .esm-rc-qr-who strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.esm-confirmation .esm-rc-qr-who small { color: #6b7280; font-size: 13px; }
.esm-confirmation .esm-rc-qr-card .esm-rc-qr-code { padding: 6px; box-shadow: none; }
.esm-confirmation .esm-rc-qr-card .esm-rc-qr-code svg { width: 100%; max-width: 200px; height: auto; display: block; }
.esm-confirmation .esm-rc-qr-card .esm-checked-in-badge { margin: 0; font-size: 13px; }
@media (max-width: 600px) { .esm-confirmation .esm-rc-qr-grid { grid-template-columns: 1fr; } .esm-confirmation .esm-rc-qr-card .esm-rc-qr-code svg { max-width: 240px; } }
@media (min-width: 601px) and (max-width: 900px) { .esm-confirmation .esm-rc-qr-grid { grid-template-columns: 1fr 1fr; } }

/* ---- Receipt polish ---- */
.esm-confirmation .esm-receipt-event-header { text-align: center; padding: 6px 4px 2px; }
.esm-confirmation .esm-rc-pill { display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 999px; background: #eaf6ec; color: #1c7a3a; font-size: 13px; font-weight: 700; }
.esm-confirmation .esm-receipt-event-header h1 { margin: 0 0 8px; }
.esm-confirmation .esm-rc-meta { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; color: #4b5563; font-size: 14px; max-width: 520px; }
.esm-confirmation .esm-rc-meta li { display: inline-flex; gap: 6px; align-items: flex-start; text-align: left; }
.esm-confirmation .esm-rc-qr-no { width: 26px !important; height: 26px !important; border-radius: 50% !important; background: var(--swp-buy-bg, #0891b2) !important; color: var(--swp-buy-text, #fff) !important; line-height: 1 !important; }
.esm-confirmation .esm-rc-pdf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 10px auto 2px; padding: 11px 18px; border-radius: 10px; background: var(--swp-buy-bg, #0891b2); color: var(--swp-buy-text, #fff) !important; font-weight: 700; text-decoration: none !important; font-size: 15px; }
.esm-confirmation .esm-rc-pdf:hover { filter: brightness(.92); }
.esm-confirmation .esm-rc-comp { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #efe7fd; color: #4c2a8f; font-size: 12px; font-weight: 700; vertical-align: middle; }
@media (max-width: 600px) { .esm-confirmation .esm-rc-pdf { display: flex; width: 100%; box-sizing: border-box; max-width: 100%; } .esm-confirmation .esm-rc-meta { flex-direction: column; align-items: center; } }

/* Settings → Display → Receipt */
.esm-confirmation .esm-rc-qr-no, .esm-confirmation .esm-rc-pdf { background: var(--rc-acc, var(--swp-buy-bg, #0891b2)) !important; }
.esm-confirmation .esm-rc-pill { background: var(--rc-soft, #eaf6ec); color: var(--rc-acc, #1c7a3a); }
.esm-confirmation .esm-rc-note { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--rc-soft, #f3fafc); font-size: 14px; color: #374151; text-align: center; }

/* ===== Seat-map checkout — same look and flow as the tickets-only checkout ===== */
.esm-sco { --sco-acc: var(--swp-buy-bg, #0891b2); --sco-on: var(--swp-buy-text, #fff); --sco-line: #e6e8eb; --sco-mute: #6b7280; --sco-soft: #f3fafc; --sco-text: #1f2328; --sco-card: #fff; --sco-radius: 14px; --sco-back: #6b7280; margin-top: 8px; color: var(--sco-text); }
.esm-sco-steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.esm-sco-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #eef0f2; color: var(--sco-mute); font-weight: 600; font-size: 14px; }
.esm-sco-steps li span { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--sco-mute); }
.esm-sco-steps li.is-on { background: var(--sco-acc); color: var(--sco-on); }
.esm-sco-steps li.is-on span { color: var(--sco-acc); }
.esm-sco-steps li.is-done { background: var(--sco-soft); color: var(--sco-acc); }
.esm-sco-steps li.is-done span { background: var(--sco-acc); color: var(--sco-on); }
.esm-sco-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 24px; align-items: start; }
.esm-sco-pane { background: var(--sco-card); border: 1px solid var(--sco-line); border-radius: calc(var(--sco-radius) + 4px); padding: 24px; box-shadow: 0 12px 30px rgba(17, 24, 39, .04); }
.esm-sco-h { margin: 0 0 4px; font-size: 22px; color: var(--sco-text); }
.esm-sco-sub { margin: 0 0 16px; color: var(--sco-mute); }
.esm-sco-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.esm-sco-wide { grid-column: 1 / -1; }
.esm-sco-f { display: flex; flex-direction: column; gap: 5px; margin: 0; font-weight: 700; font-size: 14px; color: var(--sco-text); }
.esm-sco-f input { height: 46px; border: 1.5px solid #e1e4e8; border-radius: 12px; padding: 0 14px; font-size: 16px; font-weight: 400; background: #fff; width: 100%; box-sizing: border-box; }
.esm-sco-f input:focus { outline: 0; border-color: var(--sco-acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sco-acc) 18%, transparent); }
.esm-sco-f small { font-weight: 400; font-size: 12.5px; color: var(--sco-mute); }
.esm-sco-f em { font-style: normal; font-weight: 500; font-size: 12.5px; color: #b42318; min-height: 0; }
.esm-sco-f.is-ok input { border-color: #16a34a; }
.esm-sco-f.is-bad input { border-color: #d92d20; }
.esm-sco-holders { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--sco-line); }
.esm-sco-holders h3 { margin: 0 0 2px; font-size: 18px; }
.esm-sco-review { display: grid; gap: 10px; margin: 14px 0 6px; }
.esm-sco-review .r { border: 1px solid var(--sco-line); border-radius: 12px; padding: 12px 14px; background: #fafbfc; display: grid; gap: 4px; }
.esm-sco-review .rh { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sco-mute); }
.esm-sco-review b { font-size: 16px; } .esm-sco-review small { color: var(--sco-mute); }
.esm-sco-review em { font-style: normal; color: var(--sco-mute); } .esm-sco-review .m { color: var(--sco-mute); font-size: 13.5px; }
.esm-sco-edit { border: 1px solid #b9e3ee; background: #fff; color: var(--sco-acc); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 600; cursor: pointer; text-transform: none; letter-spacing: 0; }
.esm-sco-lab { display: block; font-weight: 700; font-size: 14px; margin: 18px 0 8px; }
.esm-sco .esm-promo-box { margin: 0; padding: 0; border: 0; background: none; }
.esm-sco .esm-promo-row { display: flex; gap: 8px; }
.esm-sco .esm-promo-row input { flex: 1; height: 46px; border: 1.5px dashed #c9ced4; border-radius: 12px; padding: 0 14px; font-size: 16px; }
.esm-sco .esm-promo-row button { height: 46px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--sco-acc); background: #fff; color: var(--sco-acc); font-weight: 700; cursor: pointer; }
.esm-sco-pay { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--sco-acc); background: var(--sco-soft); border-radius: 14px; padding: 14px 16px; }
.esm-sco-pay .rd { width: 18px; height: 18px; border-radius: 50%; border: 5px solid var(--sco-acc); background: #fff; flex: 0 0 auto; }
.esm-sco-pay div { flex: 1; display: flex; flex-direction: column; } .esm-sco-pay small { color: var(--sco-mute); }
.esm-sco-note { margin: 8px 0 0; color: var(--sco-mute); font-size: 13.5px; }
.esm-sco-sum { position: sticky; top: 24px; background: var(--sco-card); color: var(--sco-text); border: 1px solid var(--sco-line); border-radius: calc(var(--sco-radius) + 4px); padding: 20px; box-shadow: 0 16px 40px rgba(17, 24, 39, .07); display: grid; gap: 10px; }
.esm-sco-sum h3 { margin: 0; font-size: 18px; color: var(--sco-text); }
.esm-sco-timer { background: var(--sco-soft); color: var(--sco-acc); border-radius: 10px; padding: 8px 12px; font-size: 14px; } .esm-sco-timer.is-low { background: #fff4e5; color: #b54708; }
.esm-sco-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.esm-sco-chip { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--sco-soft); color: var(--sco-acc); font-size: 13px; }
.esm-sco-sum .esm-price-breakdown { border-top: 1px solid var(--sco-line); padding-top: 8px; }
.esm-sco-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--sco-line); padding-top: 12px; }
.esm-sco-total span { color: var(--sco-mute); } .esm-sco-total strong { font-size: 24px; }
.esm-sco-err { margin: 0; color: #b42318; font-size: 14px; min-height: 0; } .esm-sco-err:empty { display: none; }
.esm-sco-next, .esm-sco-pay-btn { height: 52px; border: 0; border-radius: var(--sco-radius); background: var(--sco-acc); color: var(--sco-on); font-size: 16px; font-weight: 700; cursor: pointer; width: 100%; }
.esm-sco-next:hover, .esm-sco-pay-btn:hover { filter: brightness(.94); } .esm-sco-pay-btn[disabled] { opacity: .6; cursor: wait; }
.esm-sco-back { background: none; border: 0; color: var(--sco-back); font-size: 15px; cursor: pointer; height: 40px; }
.esm-sco-trust { margin: 0; text-align: center; color: var(--sco-mute); font-size: 12.5px; }
.esm-sco-bar { display: none; }
@media (max-width: 900px) {
	.esm-sco-grid { grid-template-columns: 1fr; }
	.esm-sco-sum { position: static; margin-bottom: 84px; }
	.esm-sco-sum .esm-sco-next, .esm-sco-sum .esm-sco-pay-btn { display: none; }
	.esm-sco-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--sco-line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 24px rgba(17,24,39,.08); }
	.esm-sco-bar small { display: block; color: var(--sco-mute); font-size: 12.5px; } .esm-sco-bar b { font-size: 18px; }
	.esm-sco-bar button { height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--sco-acc); color: var(--sco-on); font-weight: 700; font-size: 16px; }
	.esm-sco-steps li:not(.is-on) b { display: none; } .esm-sco-steps li:not(.is-on) { padding-right: 6px; }
}
@media (max-width: 600px) {
	.esm-sco-form { grid-template-columns: 1fr; }
	.esm-sco-pane { padding: 18px 16px; border-radius: 16px; }
	.esm-sco-sum { padding: 16px; border-radius: 16px; }
	.esm-sco .esm-promo-row button { padding: 0 14px; }
}

/* The new checkout uses the full width (the old single-column form was capped at 480px). */
.esm-checkout-step.esm-sco { max-width: 1180px; width: 100%; margin: 0 auto; border: 0; padding: 0; background: transparent; border-radius: 0; container-type: inline-size; box-sizing: border-box; }
.esm-checkout-step.esm-sco label { display: flex; margin: 0; }
.esm-checkout-step.esm-sco .esm-holder-g label { display: flex; flex-direction: column; }
.esm-checkout-step.esm-sco input { margin: 0; }
.esm-checkout-step.esm-sco h3 { margin: 0; }
.esm-sco .esm-sco-holders h3 { margin: 0 0 2px; font-size: 18px; color: var(--sco-text); }
/* Narrow containers (e.g. a sidebar-width page) collapse even on desktop. */
@container (max-width: 760px) {
	.esm-sco-grid { grid-template-columns: 1fr; }
	.esm-sco-sum { position: static; }
}
@container (max-width: 560px) { .esm-sco-form { grid-template-columns: 1fr; } }
.esm-sco .esm-promo-row input::placeholder { text-transform: none; letter-spacing: 0; color: #9aa1a9; }
.esm-sco .esm-promo-box .esm-sco-lab { margin-top: 18px; }
.esm-sco .esm-promo-msg:empty { display: none; }

/* Themes style every <button> (e.g. Hello Elementor: pink border, transparent
   background, display:inline-block that beats the [hidden] attribute).
   The checkout keeps its own look whatever the theme does. */
.esm-sco [hidden] { display: none !important; }
.esm-sco-no-timer .esm-sco-timer, .esm-sco-no-trust .esm-sco-trust { display: none !important; }
.esm-sco button { font-family: inherit; text-transform: none; letter-spacing: 0; text-shadow: none; box-shadow: none; }
.esm-sco button.esm-sco-next, .esm-sco button.esm-sco-pay-btn, .esm-sco .esm-sco-bar button,
.esm-sco button.esm-sco-next:hover, .esm-sco button.esm-sco-pay-btn:hover, .esm-sco .esm-sco-bar button:hover,
.esm-sco button.esm-sco-next:focus, .esm-sco button.esm-sco-pay-btn:focus, .esm-sco .esm-sco-bar button:focus { background: var(--sco-acc) !important; color: var(--sco-on) !important; border: 0 !important; border-radius: var(--sco-radius) !important; line-height: 1.2; padding: 0 18px; font-size: 16px; font-weight: 700; white-space: normal; }
.esm-sco button.esm-sco-next, .esm-sco button.esm-sco-pay-btn { width: 100%; }
.esm-sco button.esm-sco-back, .esm-sco button.esm-sco-back:hover, .esm-sco button.esm-sco-back:focus { background: none !important; border: 0 !important; color: var(--sco-back) !important; width: 100%; padding: 0; font-size: 15px; font-weight: 400; }
.esm-sco button.esm-sco-back:hover { text-decoration: underline; }
.esm-sco .esm-promo-row button, .esm-sco .esm-promo-row button:hover, .esm-sco .esm-promo-row button:focus { background: #fff !important; color: var(--sco-acc) !important; border: 1.5px solid var(--sco-acc) !important; border-radius: calc(var(--sco-radius) - 2px) !important; font-size: 15px; font-weight: 700; padding: 0 18px; }
.esm-sco button.esm-sco-edit, .esm-sco button.esm-sco-edit:hover { background: #fff !important; color: var(--sco-acc) !important; border: 1px solid color-mix(in srgb, var(--sco-acc) 35%, #fff) !important; border-radius: 999px !important; padding: 4px 12px; font-size: 12.5px; font-weight: 600; }

/* ---- checkout questions in the seat-map checkout (3.4) ---- */
.esm-sco .esm-cf { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 14px; }
.esm-sco .esm-cf .esm-f { display: flex; flex-direction: column; gap: 5px; margin: 0; font-weight: 700; font-size: 14px; color: var(--sco-text); }
.esm-sco .esm-cf .esm-f-wide { grid-column: 1 / -1; }
.esm-sco .esm-cf .esm-f span .opt { font-style: normal; font-weight: 500; font-size: 12px; color: var(--sco-mute); }
.esm-sco .esm-cf input:not([type=checkbox]), .esm-sco .esm-cf select, .esm-sco .esm-cf textarea { height: 46px; border: 1.5px solid #e1e4e8; border-radius: 12px; padding: 0 14px; font-size: 16px; font-weight: 400; background: #fff; width: 100%; box-sizing: border-box; font-family: inherit; color: inherit; }
.esm-sco .esm-cf textarea { height: auto; min-height: 84px; padding: 10px 14px; resize: vertical; }
.esm-sco .esm-cf input:focus, .esm-sco .esm-cf select:focus, .esm-sco .esm-cf textarea:focus { outline: 0; border-color: var(--sco-acc); }
.esm-sco .esm-cf small { font-weight: 400; font-size: 12.5px; color: var(--sco-mute); }
.esm-sco .esm-cf em { font-style: normal; font-weight: 500; font-size: 12.5px; color: #b42318; }
.esm-sco .esm-cf .is-bad input, .esm-sco .esm-cf .is-bad select, .esm-sco .esm-cf .is-bad textarea { border-color: #d92d20; }
.esm-sco .esm-cf .esm-cf-box { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.esm-sco .esm-cf .esm-cf-box input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sco-acc); }
@media (max-width: 640px) { .esm-sco .esm-cf { grid-template-columns: 1fr; } }

/* ---- online events on the receipt (3.4) ---- */
.esm-online { margin: 16px 0; padding: 16px 18px; border-radius: 14px; background: var(--rc-soft, #eef6ff); border: 1px solid color-mix(in srgb, var(--rc-acc, #1a56db) 25%, transparent); text-align: left; }
.esm-online-h { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.esm-online p { margin: 6px 0 0; font-size: 14px; }
.esm-online-btn, .esm-online-btn:visited { display: inline-block; background: var(--rc-acc, #1a56db); color: #fff !important; padding: 11px 20px; border-radius: 10px; font-weight: 700; text-decoration: none !important; }
.esm-online-url { word-break: break-all; color: #555; font-size: 12.5px !important; }
.esm-online-note { white-space: normal; }
.esm-rc-mytickets { text-align: center; margin: 14px 0 0; font-size: 14px; }
.esm-rc-mytickets a { color: var(--rc-acc, #0891b2); font-weight: 600; text-decoration: none; }

/* Wallet buttons (Settings → Wallet) */
.esm-wallets { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.esm-wallet { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px; border-radius: 8px; background: #111; color: #fff !important; font-size: 13px; font-weight: 600; text-decoration: none !important; line-height: 1.2; }
.esm-wallet:hover, .esm-wallet:focus { background: #333; }
.esm-wallet svg { flex: none; }
