/**
 * 021mic seat selection — seat map, GA selector, order summary / bottom sheet.
 * Uses the global design tokens (child theme) with hard fallbacks.
 * Elementor style controls set --cm-seatmap-* on the widget wrapper.
 */

.cm-seatmap {
	--_accent: var(--cm-seatmap-accent, var(--color-accent, #FF365F));
	--_accent-hover: var(--color-accent-hover, #E92850);
	--_accent-soft: #FFF0F3;
	--_vip: var(--cm-seatmap-vip, var(--color-gold, #D6B45C));
	--_seat: var(--cm-seatmap-seat, #A3A8B0);
	--_sold: var(--cm-seatmap-sold, #2C3138);
	--_reserved-bg: #ECE8E1;
	--_reserved-line: #B4ADA2;
	--_surface: var(--cm-seatmap-surface, var(--color-white, #FFFFFF));
	--_canvas: var(--cm-seatmap-canvas, #F5F3EF);
	--_text: var(--cm-seatmap-text, var(--color-text, #17191C));
	--_muted: var(--color-muted, #6F747C);
	--_line: var(--cm-seatmap-line, var(--color-line, #E5E0D8));
	--_ink: var(--color-ink, #0B0D10);
	--_header-bg: var(--cm-seatmap-header-bg, var(--color-ink, #0B0D10));
	--_success: var(--color-success, #23A866);
	--_danger: var(--color-danger, #E64242);
	--_radius: var(--cm-seatmap-radius, var(--radius, 14px));
	--_gap: var(--cm-seatmap-gap, 20px);
	--_aside: var(--cm-seatmap-aside, 360px);
	--_sticky: var(--cm-seatmap-sticky-top, 96px);
	--_ease: var(--ease, cubic-bezier(.2, .7, .2, 1));
	--_dur: var(--dur, 220ms);

	display: grid;
	gap: var(--_gap);
	width: 100%;
	min-width: 0;
	color: var(--_text);
	font-family: var(--font-sans, "IRANSansX", "IRANSans", "Vazirmatn", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif);
	font-size: 15px;
	line-height: 1.65;
}

.cm-seatmap *,
.cm-seatmap *::before,
.cm-seatmap *::after {
	box-sizing: border-box;
}

.cm-seatmap [hidden] {
	display: none !important;
}

.cm-seatmap .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cm-seatmap h2,
.cm-seatmap h3,
.cm-seatmap h4,
.cm-seatmap p {
	margin: 0;
}

.cm-seatmap ul,
.cm-seatmap ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cm-seatmap button {
	font: inherit;
	color: inherit;
}

.cm-seatmap .cm-icon {
	flex: none;
	width: 20px;
	height: 20px;
}

.cm-seatmap :focus-visible {
	outline: 2px solid var(--_accent);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------ */
/* Event header                                                        */
/* ------------------------------------------------------------------ */

.cm-seatmap__event {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: clamp(14px, 2.4vw, 24px);
	padding: clamp(14px, 2.2vw, 20px);
	background: var(--_header-bg);
	color: #FFFFFF;
	border-radius: var(--_radius);
}

.cm-seatmap__poster {
	display: block;
	width: clamp(92px, 18vw, 168px);
	aspect-ratio: 4 / 3;
	border-radius: calc(var(--_radius) - 4px);
	overflow: hidden;
	background: #1B2028;
}

.cm-seatmap__poster img,
.cm-seatmap__poster-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cm-seatmap__poster-fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--_accent);
}

.cm-seatmap__poster-fallback .cm-icon {
	width: 32px;
	height: 32px;
}

.cm-seatmap__event-body {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.cm-seatmap__event-title {
	font-size: clamp(17px, 2.4vw, 26px);
	font-weight: 800;
	line-height: 1.25;
}

.cm-seatmap__event-title a {
	color: inherit;
	text-decoration: none;
}

.cm-seatmap__event-title a:hover {
	color: var(--_accent);
}

.cm-seatmap__event-meta {
	display: grid;
	gap: 4px;
	color: #C3C8CF;
	font-size: clamp(13px, 1.4vw, 14px);
}

.cm-seatmap__event-meta li {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.cm-seatmap__event-meta .cm-icon {
	width: 17px;
	height: 17px;
	color: #FFFFFF;
	opacity: .85;
}

.cm-seatmap__sep {
	margin-inline: 4px;
	opacity: .6;
}

/* ------------------------------------------------------------------ */
/* Steps                                                               */
/* ------------------------------------------------------------------ */

.cm-seatmap__steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: nowrap;
}

.cm-seatmap__step {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--_muted);
	font-size: 14px;
	white-space: nowrap;
}

.cm-seatmap__step:not(:last-child)::after {
	content: "";
	width: clamp(18px, 6vw, 80px);
	border-top: 2px dotted var(--_line);
	margin-inline-start: 6px;
}

.cm-seatmap__step-num {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #E9E6E1;
	color: var(--_muted);
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
}

.cm-seatmap__step.is-active {
	color: var(--_text);
	font-weight: 700;
}

.cm-seatmap__step.is-active .cm-seatmap__step-num {
	background: var(--_accent);
	color: #FFFFFF;
	box-shadow: 0 0 0 4px var(--_accent-soft);
}

/* ------------------------------------------------------------------ */
/* Sessions                                                            */
/* ------------------------------------------------------------------ */

.cm-seatmap__sessions {
	display: grid;
	gap: 10px;
	min-width: 0;
}

.cm-seatmap__sessions-title {
	font-size: 16px;
	font-weight: 800;
}

.cm-seatmap__session-list {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: thin;
	padding-block-end: 4px;
	min-width: 0;
}

.cm-seatmap__session {
	position: relative;
	display: grid;
	gap: 2px;
	min-height: 44px;
	min-width: 132px;
	padding: 10px 16px;
	border: 1px solid var(--_line);
	border-radius: 12px;
	background: var(--_surface);
	color: var(--_text);
	text-decoration: none;
	transition: border-color var(--_dur) var(--_ease), background-color var(--_dur) var(--_ease);
}

a.cm-seatmap__session:hover {
	border-color: var(--_accent);
}

.cm-seatmap__session.is-active {
	border-color: var(--_accent);
	background: var(--_accent-soft);
	box-shadow: inset 0 0 0 1px var(--_accent);
}

.cm-seatmap__session.is-disabled {
	opacity: .55;
	cursor: not-allowed;
}

.cm-seatmap__session-day {
	font-size: 13px;
	color: var(--_muted);
}

.cm-seatmap__session-time {
	font-size: 16px;
	font-weight: 800;
}

.cm-seatmap__session-label {
	font-size: 12px;
	color: var(--_muted);
}

.cm-seatmap__session-badge {
	justify-self: start;
	margin-top: 2px;
	padding: 0 8px;
	border-radius: 999px;
	background: #EFECE7;
	color: var(--_muted);
	font-size: 11px;
	font-weight: 700;
}

/* ------------------------------------------------------------------ */
/* Layout                                                              */
/* ------------------------------------------------------------------ */

.cm-seatmap__app {
	position: relative;
	min-width: 0;
}

.cm-seatmap__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--_gap);
	align-items: start;
}

.cm-seatmap__main,
.cm-seatmap__aside {
	min-width: 0;
}

.cm-seatmap__card {
	background: var(--_surface);
	border: 1px solid var(--_line);
	border-radius: var(--_radius);
	padding: clamp(14px, 2vw, 22px);
}

.cm-seatmap__card--map {
	display: grid;
	gap: 14px;
}

.cm-seatmap__card-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
}

.cm-seatmap__card-title,
.cm-seatmap__summary-title {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.5;
}

.cm-seatmap__hint {
	display: none;
	color: var(--_muted);
	font-size: 12.5px;
}

@media (hover: none) {
	.cm-seatmap__hint {
		display: block;
	}
}

/* ------------------------------------------------------------------ */
/* Alert                                                               */
/* ------------------------------------------------------------------ */

.cm-seatmap__alert {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid #F6BCC8;
	border-radius: 12px;
	background: #FFF1F4;
	color: #8E1430;
	font-size: 14px;
	font-weight: 500;
	animation: cm-seatmap-in var(--_dur) var(--_ease);
}

.cm-seatmap__alert-icon {
	color: var(--_accent);
	display: inline-flex;
}

.cm-seatmap__alert-text {
	flex: 1;
	min-width: 0;
}

.cm-seatmap__alert-close {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	cursor: pointer;
}

.cm-seatmap__alert-close:hover {
	background: rgba(255, 54, 95, .1);
}

/* ------------------------------------------------------------------ */
/* Seat map                                                            */
/* ------------------------------------------------------------------ */

.cm-seatmap__viewport-wrap {
	position: relative;
	min-width: 0;
}

.cm-seatmap__viewport {
	position: relative;
	width: 100%;
	aspect-ratio: var(--cm-sm-ratio, 10 / 7);
	max-height: min(72vh, 680px);
	overflow: hidden;
	border-radius: 12px;
	background: var(--_canvas);
	touch-action: pan-x pan-y;
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.cm-seatmap__viewport.is-zoomed {
	touch-action: none;
	cursor: grab;
}

.cm-seatmap__viewport.is-panning {
	cursor: grabbing;
}

.cm-seatmap__svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.cm-seatmap__stage path {
	fill: #D9DCE0;
}

.cm-seatmap__stage text {
	fill: #5B6068;
	font-weight: 800;
	font-family: inherit;
}

.cm-seatmap__row-labels text {
	fill: #8E939A;
	font-weight: 700;
	font-family: inherit;
}

.cm-seatmap__hatch-bg {
	fill: var(--_reserved-bg);
}

.cm-seatmap__hatch-line {
	fill: var(--_reserved-line);
}

.cm-seat {
	fill: var(--_seat);
	stroke: var(--_canvas);
	stroke-width: 1.5;
	cursor: pointer;
	outline: none;
	transition: fill var(--_dur) var(--_ease), stroke var(--_dur) var(--_ease), opacity var(--_dur) var(--_ease);
}

.cm-seat--vip {
	fill: var(--_vip);
}

.cm-seat--zoned {
	fill: var(--cm-seat-zone, var(--_seat));
}

.cm-seat--available:hover {
	stroke: var(--_text);
	stroke-width: 2;
}

.cm-seat--sold {
	fill: var(--_sold);
	cursor: not-allowed;
}

.cm-seat--reserved {
	fill: var(--cm-sm-hatch, var(--_reserved-bg));
	stroke: var(--_reserved-line);
	stroke-width: 1;
	cursor: not-allowed;
}

.cm-seat--selected {
	fill: var(--_accent);
	stroke: #FFFFFF;
	stroke-width: 2;
}

.cm-seat--selected:hover {
	fill: var(--_accent-hover);
}

.cm-seat.is-pending {
	animation: cm-seatmap-pulse 900ms ease-in-out infinite;
}

.cm-seatmap .cm-seat:focus,
.cm-seatmap .cm-seat:focus-visible {
	outline: none;
}

.cm-seatmap .cm-seat:focus-visible {
	stroke: var(--_ink);
	stroke-width: 3.5;
	paint-order: stroke;
}

.cm-seatmap .cm-seat--sold:focus-visible {
	stroke: var(--_accent);
}

.cm-seat-x {
	stroke: #B9B4AC;
	stroke-width: 1.6;
	stroke-linecap: round;
	fill: none;
}

.cm-seatmap__app.is-refreshing .cm-seatmap__svg {
	opacity: .96;
}

/* Zoom controls on the inline-end side of the map (right in LTR, left in RTL). */
.cm-seatmap__zoom {
	position: absolute;
	inset-block-start: 10px;
	inset-inline-end: 10px;
	display: grid;
	gap: 6px;
	z-index: 2;
}

.cm-seatmap__zoom-btn {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--_line);
	border-radius: 10px;
	background: var(--_surface);
	color: var(--_text);
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(11, 13, 16, .06);
	transition: background-color var(--_dur) var(--_ease), border-color var(--_dur) var(--_ease);
}

.cm-seatmap__zoom-btn:hover:not(:disabled) {
	border-color: var(--_text);
}

.cm-seatmap__zoom-btn:disabled {
	opacity: .4;
	cursor: default;
}

.cm-seatmap__zoom-btn .cm-icon {
	width: 18px;
	height: 18px;
}

/* Tooltip */
.cm-seatmap__tip {
	position: absolute;
	z-index: 3;
	display: grid;
	gap: 2px;
	max-width: 240px;
	padding: 8px 12px;
	border-radius: 10px;
	background: var(--_ink);
	color: #FFFFFF;
	font-size: 12.5px;
	line-height: 1.6;
	pointer-events: none;
	box-shadow: 0 8px 24px rgba(11, 13, 16, .2);
}

.cm-seatmap__tip strong {
	font-size: 13.5px;
}

.cm-seatmap__tip-status--available {
	color: #7EE2A8;
}

.cm-seatmap__tip-status--selected {
	color: #FF8DA5;
}

.cm-seatmap__tip-status--sold,
.cm-seatmap__tip-status--reserved {
	color: #B9BEC6;
}

/* Legend */
.cm-seatmap__legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 20px;
	color: var(--_text);
	font-size: 13px;
}

.cm-seatmap__legend-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.cm-seatmap__legend-price {
	color: var(--_muted);
	font-size: 12px;
}

.cm-seatmap__swatch {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--_seat);
	flex: none;
}

.cm-seatmap__swatch--sold {
	background: var(--_sold);
}

.cm-seatmap__swatch--selected {
	background: var(--_accent);
}

.cm-seatmap__swatch--vip {
	background: var(--_vip);
}

.cm-seatmap__swatch--zoned {
	background: var(--cm-seat-zone, var(--_seat));
}

.cm-seatmap__swatch--reserved {
	background: repeating-linear-gradient(45deg, var(--_reserved-line) 0 1.6px, var(--_reserved-bg) 1.6px 4px);
	box-shadow: inset 0 0 0 1px var(--_reserved-line);
}

/* ------------------------------------------------------------------ */
/* General admission                                                   */
/* ------------------------------------------------------------------ */

.cm-seatmap__types {
	display: grid;
	gap: 12px;
}

.cm-seatmap__type {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px;
	border: 1px solid var(--_line);
	border-radius: var(--_radius);
	background: var(--_surface);
	transition: border-color var(--_dur) var(--_ease), box-shadow var(--_dur) var(--_ease);
}

.cm-seatmap__type.is-vip {
	border-color: #E9D9A8;
	background: linear-gradient(0deg, #FFFCF3, #FFFCF3);
}

.cm-seatmap__type.is-active {
	border-color: var(--_accent);
	box-shadow: inset 0 0 0 1px var(--_accent);
}

.cm-seatmap__type.is-soldout {
	opacity: .6;
}

.cm-seatmap__type-info {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.cm-seatmap__type-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 800;
}

.cm-seatmap__type-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--cm-seat-zone, var(--_seat));
	flex: none;
}

.cm-seatmap__type-dot.is-vip {
	background: var(--cm-seat-zone, var(--_vip));
}

.cm-seatmap__type-price {
	font-size: 15px;
	font-weight: 700;
}

.cm-seatmap__type-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	font-size: 12px;
	color: var(--_muted);
}

.cm-seatmap__badge {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 0 9px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}

.cm-seatmap__badge--ok {
	background: #E7F6EE;
	color: #157347;
}

.cm-seatmap__badge--few {
	background: #FFF4DE;
	color: #8A5A00;
}

.cm-seatmap__badge--soldout {
	background: #EEECE8;
	color: var(--_muted);
}

.cm-seatmap__stepper {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: none;
}

.cm-seatmap__step-btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--_line);
	border-radius: 12px;
	background: var(--_surface);
	cursor: pointer;
	transition: border-color var(--_dur) var(--_ease), background-color var(--_dur) var(--_ease);
}

.cm-seatmap__step-btn:hover:not(:disabled):not([aria-disabled="true"]) {
	border-color: var(--_accent);
	color: var(--_accent);
}

.cm-seatmap__step-btn:disabled,
.cm-seatmap__step-btn[aria-disabled="true"] {
	opacity: .4;
	cursor: not-allowed;
}

.cm-seatmap__qty {
	display: inline-block;
	min-width: 32px;
	text-align: center;
	font-size: 18px;
	font-weight: 800;
}

/* ------------------------------------------------------------------ */
/* Summary                                                             */
/* ------------------------------------------------------------------ */

.cm-seatmap__summary {
	display: grid;
	gap: 0;
}

.cm-seatmap__summary-body {
	display: grid;
	gap: 14px;
}

.cm-seatmap__sheet-bar {
	display: none;
}

.cm-seatmap__empty {
	padding: 14px;
	border: 1px dashed var(--_line);
	border-radius: 12px;
	color: var(--_muted);
	font-size: 13.5px;
	text-align: center;
}

.cm-seatmap__empty--map {
	display: grid;
	place-items: center;
	height: 100%;
	border: 0;
}

.cm-seatmap__lines {
	display: grid;
	gap: 10px;
}

.cm-seatmap__line {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid var(--_line);
	border-radius: 12px;
	background: var(--_surface);
}

.cm-seatmap__line.is-new {
	animation: cm-seatmap-in var(--_dur) var(--_ease);
}

.cm-seatmap__line.is-pending {
	border-style: dashed;
}

.cm-seatmap__line-info {
	display: grid;
	min-width: 0;
}

.cm-seatmap__line-title {
	font-weight: 700;
	font-size: 14px;
}

.cm-seatmap__line-sub {
	color: var(--_muted);
	font-size: 12px;
}

.cm-seatmap__line.is-vip .cm-seatmap__line-sub {
	color: #9A7A1E;
}

.cm-seatmap__line-price {
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.cm-seatmap__line-remove {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 10px;
	background: #F3F1EE;
	color: var(--_muted);
	cursor: pointer;
	transition: background-color var(--_dur) var(--_ease), color var(--_dur) var(--_ease);
}

.cm-seatmap__line-remove:hover {
	background: var(--_accent-soft);
	color: var(--_accent);
}

.cm-seatmap__line-remove .cm-icon {
	width: 16px;
	height: 16px;
}

.cm-seatmap__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 14px;
	border-top: 1px dashed var(--_line);
	font-size: 15px;
	font-weight: 700;
}

.cm-seatmap__total-value {
	font-size: 20px;
	font-weight: 800;
	white-space: nowrap;
}

.cm-seatmap__timer {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 12px;
	background: var(--_canvas);
	font-size: 13px;
	color: var(--_muted);
}

.cm-seatmap__timer-label {
	flex: 1;
	min-width: 0;
}

.cm-seatmap__timer-value {
	color: var(--_text);
	font-size: 16px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	unicode-bidi: isolate;
}

.cm-seatmap__timer.is-urgent {
	background: #FFF1F4;
	color: #8E1430;
}

.cm-seatmap__timer.is-urgent .cm-seatmap__timer-value,
.cm-seatmap__timer.is-urgent .cm-seatmap__timer-icon {
	color: var(--_accent);
}

.cm-seatmap__timer-icon {
	display: inline-flex;
}

.cm-seatmap__note {
	color: var(--_muted);
	font-size: 12.5px;
	text-align: center;
}

/* CTA (self-contained so it renders without the theme button styles). */
.cm-seatmap .cm-seatmap__cta {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 52px;
	padding: 12px 20px;
	border: 0;
	border-radius: 12px;
	background: var(--_accent);
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	transition: background-color var(--_dur) var(--_ease), transform var(--_dur) var(--_ease), opacity var(--_dur) var(--_ease);
}

.cm-seatmap .cm-seatmap__cta:hover:not(:disabled) {
	background: var(--_accent-hover);
	transform: translateY(-1px);
}

.cm-seatmap .cm-seatmap__cta:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.cm-seatmap .cm-seatmap__cta.is-loading {
	opacity: .85;
	cursor: progress;
}

.cm-seatmap__spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #FFFFFF;
	border-radius: 50%;
	animation: cm-seatmap-spin 800ms linear infinite;
}

.cm-seatmap__cta.is-loading .cm-seatmap__spinner {
	display: inline-block;
}

.cm-seatmap__cta.is-loading .cm-icon {
	display: none;
}

/* The CTA arrow points forward; mirror it when the locale is RTL. */
.cm-seatmap__cta .cm-icon:dir(rtl) {
	transform: scaleX(-1);
}

/* ------------------------------------------------------------------ */
/* State panels                                                        */
/* ------------------------------------------------------------------ */

.cm-seatmap__state {
	display: grid;
	justify-items: center;
	gap: 10px;
	padding: clamp(28px, 6vw, 56px) clamp(16px, 4vw, 40px);
	border: 1px solid var(--_line);
	border-radius: var(--_radius);
	background: var(--_surface);
	text-align: center;
}

.cm-seatmap__state-icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--_canvas);
	color: var(--_text);
}

.cm-seatmap__state-icon .cm-icon {
	width: 28px;
	height: 28px;
}

.cm-seatmap__state--cancelled .cm-seatmap__state-icon,
.cm-seatmap__state--error .cm-seatmap__state-icon {
	background: #FDECEC;
	color: var(--_danger);
}

.cm-seatmap__state--sold_out .cm-seatmap__state-icon {
	background: var(--_accent-soft);
	color: var(--_accent);
}

.cm-seatmap__state--external .cm-seatmap__state-icon {
	background: #FBF5E4;
	color: #9A7A1E;
}

.cm-seatmap__state-title {
	font-size: clamp(18px, 2.4vw, 22px);
	font-weight: 800;
}

.cm-seatmap__state-text {
	max-width: 520px;
	color: var(--_muted);
}

.cm-seatmap .cm-seatmap__state-cta,
.cm-seatmap .cm-seatmap__retry {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	margin-top: 6px;
	padding: 10px 22px;
	border: 1px solid var(--_line);
	border-radius: 12px;
	background: var(--_surface);
	color: var(--_text);
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.cm-seatmap .cm-seatmap__state-cta.cm-btn--primary {
	border-color: var(--_accent);
	background: var(--_accent);
	color: #FFFFFF;
}

.cm-seatmap .cm-seatmap__state-cta.cm-btn--primary:hover {
	background: var(--_accent-hover);
}

.cm-seatmap__noscript {
	padding: 16px;
	border-radius: 12px;
	background: #FFF4DE;
	color: #6B4600;
}

/* ------------------------------------------------------------------ */
/* Skeleton                                                            */
/* ------------------------------------------------------------------ */

.cm-seatmap__skeleton {
	border-radius: 12px;
	background: linear-gradient(90deg, #EEEBE6 0%, #F7F5F2 50%, #EEEBE6 100%);
	background-size: 200% 100%;
	animation: cm-seatmap-shimmer 1.3s linear infinite;
}

.cm-seatmap__skeleton--stage {
	width: 44%;
	height: 44px;
	margin-inline: auto;
}

.cm-seatmap__skeleton--map {
	width: 100%;
	aspect-ratio: 10 / 6;
}

.cm-seatmap__skeleton--legend {
	width: 70%;
	height: 18px;
	margin-inline: auto;
}

.cm-seatmap__skeleton--line {
	width: 55%;
	height: 22px;
	margin-bottom: 16px;
}

.cm-seatmap__skeleton--row {
	height: 56px;
	margin-bottom: 10px;
}

.cm-seatmap__skeleton--btn {
	height: 52px;
	margin-top: 16px;
}

.cm-seatmap__app.is-loading .cm-seatmap__card--map {
	display: grid;
	gap: 16px;
}

/* ------------------------------------------------------------------ */
/* Animations                                                          */
/* ------------------------------------------------------------------ */

@keyframes cm-seatmap-shimmer {
	from { background-position: 200% 0; }
	to { background-position: -200% 0; }
}

@keyframes cm-seatmap-pulse {
	50% { opacity: .55; }
}

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

@keyframes cm-seatmap-in {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

/* Desktop / laptop: map + sticky order summary side panel. */
@media (min-width: 1024px) {
	.cm-seatmap__layout {
		grid-template-columns: minmax(0, 1fr) minmax(300px, var(--_aside));
	}

	.cm-seatmap__aside {
		position: sticky;
		inset-block-start: var(--_sticky);
	}

	.cm-seatmap__summary-body {
		max-height: calc(100vh - var(--_sticky) - 24px);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
	}
}

@media (min-width: 1366px) {
	.cm-seatmap {
		--_aside: var(--cm-seatmap-aside, 380px);
	}
}

/* Mobile: bottom sheet summary. */
@media (max-width: 767px) {
	.cm-seatmap {
		font-size: 14px;
	}

	.cm-seatmap__card {
		padding: 14px;
	}

	.cm-seatmap__card--map {
		padding: 12px;
	}

	.cm-seatmap__step {
		font-size: 13px;
		gap: 6px;
	}

	.cm-seatmap__step-num {
		width: 26px;
		height: 26px;
		font-size: 13px;
	}

	.cm-seatmap__step:not(:last-child)::after {
		width: clamp(12px, 5vw, 32px);
		margin-inline-start: 4px;
	}

	.cm-seatmap__steps {
		gap: 6px;
	}

	/* Zoom buttons move under the map so they never cover seats. */
	.cm-seatmap__viewport-wrap {
		display: grid;
		gap: 8px;
	}

	.cm-seatmap__zoom {
		position: static;
		grid-auto-flow: column;
		justify-content: end;
		order: 2;
	}

	.cm-seatmap__zoom-btn {
		width: 44px;
		height: 44px;
	}

	.cm-seatmap__viewport {
		max-height: none;
	}

	.cm-seatmap__legend {
		gap: 8px 14px;
		font-size: 12.5px;
	}

	.cm-seatmap__legend-price {
		display: none;
	}

	.cm-seatmap__line-remove {
		width: 44px;
		height: 44px;
	}

	.cm-seatmap__type {
		flex-wrap: wrap;
		padding: 14px;
	}

	.cm-seatmap__aside {
		position: sticky;
		inset-block-end: 0;
		z-index: 20;
	}

	.cm-seatmap__summary {
		display: flex;
		flex-direction: column-reverse;
		padding: 0;
		border-radius: 18px 18px 0 0;
		border-bottom: 0;
		box-shadow: 0 -10px 30px rgba(11, 13, 16, .12);
		overflow: hidden;
	}

	.cm-seatmap__sheet-bar {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
		background: var(--_surface);
	}

	.cm-seatmap__sheet-toggle {
		display: flex;
		align-items: center;
		gap: 6px;
		flex: 1;
		min-width: 0;
		min-height: 48px;
		padding: 4px 6px;
		border: 0;
		border-radius: 12px;
		background: transparent;
		text-align: start;
		cursor: pointer;
	}

	.cm-seatmap__sheet-info {
		display: grid;
		min-width: 0;
		line-height: 1.5;
	}

	.cm-seatmap__sheet-count {
		display: flex;
		align-items: center;
		gap: 8px;
		color: var(--_muted);
		font-size: 12.5px;
	}

	.cm-seatmap__sheet-timer {
		padding: 0 7px;
		border-radius: 999px;
		background: var(--_canvas);
		color: var(--_text);
		font-weight: 700;
		font-variant-numeric: tabular-nums;
		unicode-bidi: isolate;
	}

	.cm-seatmap__sheet-timer.is-urgent {
		background: var(--_accent-soft);
		color: var(--_accent);
	}

	.cm-seatmap__sheet-total {
		font-size: 16px;
		font-weight: 800;
		white-space: nowrap;
	}

	.cm-seatmap__sheet-chevron {
		display: inline-flex;
		color: var(--_muted);
		transform: rotate(180deg);
		transition: transform var(--_dur) var(--_ease);
	}

	.cm-seatmap__summary[data-expanded="true"] .cm-seatmap__sheet-chevron {
		transform: none;
	}

	.cm-seatmap .cm-seatmap__cta--sheet {
		width: auto;
		flex: none;
		min-height: 48px;
		padding-inline: 16px;
		font-size: 14.5px;
	}

	.cm-seatmap .cm-seatmap__cta--sheet .cm-icon {
		display: none;
	}

	.cm-seatmap__summary-body {
		max-height: min(60vh, 520px);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 16px 14px 4px;
		border-bottom: 1px solid var(--_line);
	}

	.cm-seatmap__summary[data-expanded="false"] .cm-seatmap__summary-body {
		display: none;
	}

	.cm-seatmap .cm-seatmap__cta--main {
		display: none;
	}
}

@media (max-width: 400px) {
	.cm-seatmap__step-label {
		font-size: 12px;
	}

	.cm-seatmap__event {
		gap: 12px;
		padding: 12px;
	}

	.cm-seatmap__poster {
		width: 84px;
	}

	.cm-seatmap .cm-seatmap__cta--sheet {
		padding-inline: 12px;
		font-size: 13.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cm-seatmap *,
	.cm-seatmap *::before,
	.cm-seatmap *::after {
		animation: none !important;
		transition: none !important;
	}

	.cm-seatmap .cm-seatmap__cta:hover:not(:disabled) {
		transform: none;
	}
}

@media (forced-colors: active) {
	.cm-seat--selected {
		fill: Highlight;
	}

	.cm-seat--sold,
	.cm-seat--reserved {
		fill: GrayText;
	}

	.cm-seat:focus-visible {
		stroke: CanvasText;
	}
}

/* ------------------------------------------------------------------ */
/* Quantity stepper (v2): one capsule, round − / + inside, count centred */
/* ------------------------------------------------------------------ */
.cm-seatmap__stepper {
	gap: 2px;
	padding: 4px;
	border: 1px solid var(--_line);
	border-radius: 999px;
	background: var(--_surface);
	box-shadow: 0 1px 2px rgb(11 13 16 / .05);
}

.cm-seatmap__step-btn {
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--_text) 6%, transparent);
	color: var(--_text);
	transition: background-color var(--_dur) var(--_ease), color var(--_dur) var(--_ease), transform var(--_dur) var(--_ease);
}

.cm-seatmap__step-btn svg {
	width: 16px;
	height: 16px;
}

.cm-seatmap__step-btn:hover:not(:disabled):not([aria-disabled="true"]) {
	border-color: transparent;
	background: var(--_accent);
	color: #FFFFFF;
}

.cm-seatmap__step-btn:active:not(:disabled):not([aria-disabled="true"]) {
	transform: scale(.92);
}

.cm-seatmap__step-btn:focus-visible {
	outline: 2px solid var(--_accent);
	outline-offset: 2px;
}

.cm-seatmap__step-btn:disabled,
.cm-seatmap__step-btn[aria-disabled="true"] {
	opacity: .35;
	background: transparent;
}

.cm-seatmap__qty {
	min-width: 34px;
	font-size: 16px;
	font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
	.cm-seatmap__step-btn:active:not(:disabled):not([aria-disabled="true"]) {
		transform: none;
	}
}
/* Remove a ticket from «Your tickets»: a round ghost button that turns red on hover (it was a grey
   square). Keeps the 44px tap target on phones. */
.cm-seatmap__line-remove {
	width: 34px;
	height: 34px;
	flex: none;
	border: 1px solid var(--_line);
	border-radius: 50%;
	background: transparent;
	color: var(--_muted);
	transition: background-color var(--_dur) var(--_ease), border-color var(--_dur) var(--_ease), color var(--_dur) var(--_ease), transform var(--_dur) var(--_ease);
}

.cm-seatmap__line-remove .cm-icon {
	width: 14px;
	height: 14px;
}

.cm-seatmap__line-remove:hover {
	border-color: var(--_accent);
	background: var(--_accent);
	color: #FFFFFF;
	transform: rotate(90deg);
}

.cm-seatmap__line-remove:focus-visible {
	outline: 2px solid var(--_accent);
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.cm-seatmap__line-remove {
		width: 40px;
		height: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cm-seatmap__line-remove:hover {
		transform: none;
	}
}
/* The theme's global button padding (8px 16px) left a 6px content box inside these 38px circles
   and pushed the icon off centre. */
.cm-seatmap .cm-seatmap__step-btn,
.cm-seatmap .cm-seatmap__line-remove,
.cm-seatmap__step-btn,
.cm-seatmap__line-remove {
	padding: 0 !important;
	line-height: 0;
	min-width: 0;
	min-height: 0;
}

.cm-seatmap__step-btn .cm-icon,
.cm-seatmap__step-btn svg {
	width: 16px !important;
	height: 16px !important;
	margin: 0;
}

.cm-seatmap__line-remove .cm-icon,
.cm-seatmap__line-remove svg {
	width: 14px !important;
	height: 14px !important;
	margin: 0;
}