/* impact Tickets: the selector is drawn as a ticket, with the total on the stub. */
.imt {
	--imt-paper: #ffffff;
	--imt-ink: #23262d;
	--imt-soft: #4b505b;
	--imt-line: #e1e4ea;
	--imt-accent: #ffba2b;
	--imt-accent-ink: #23262d;
	--imt-chosen: #fff3d9;
	--imt-radius: 10px;
	--imt-serif: inherit;
	color: var(--imt-ink);
	margin: 1.5rem 0;
}
.imt--ball {
	--imt-paper: #f6eedc;
	--imt-ink: #3d0913;
	--imt-soft: #6e4c10;
	--imt-line: rgba(122, 86, 20, 0.28);
	--imt-accent: #3d0913;
	--imt-accent-ink: #f6eedc;
	--imt-chosen: rgba(212, 175, 55, 0.18);
	--imt-serif: "Libre Bodoni", "Bodoni Moda", Georgia, serif;
}
.imt * { box-sizing: border-box; }
.imt-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 15rem;
	background: var(--imt-paper);
	border: 1px solid var(--imt-line);
	border-radius: var(--imt-radius);
	box-shadow: 0 18px 40px -24px rgba(20, 4, 9, 0.45);
	overflow: hidden;
}
.imt-main { padding: 1.5rem 1.5rem 1.25rem; }
.imt-event { margin: 0; font-family: var(--imt-serif); font-weight: 600; font-size: 1.35rem; line-height: 1.2; }
.imt-when { margin: 0.35rem 0 0; color: var(--imt-soft); font-size: 0.95rem; line-height: 1.45; }
.imt-notice { margin: 1rem 0 0; padding: 0.6rem 0.8rem; border-radius: 6px; background: var(--imt-chosen); font-size: 0.95rem; }
.imt-types { list-style: none; margin: 1.1rem 0 0; padding: 0; }
.imt-type {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 0.85rem 0.6rem; margin: 0 -0.6rem; border-top: 1px solid var(--imt-line); border-radius: 6px;
}
.imt-type:last-child { border-bottom: 1px solid var(--imt-line); }
.imt-type.is-chosen { background: var(--imt-chosen); }
.imt-type.is-soldout { opacity: 0.55; }
.imt-type-label { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: 0.6rem; row-gap: 0.1rem; align-items: baseline; }
.imt-type-name { font-family: var(--imt-serif); font-weight: 600; font-size: 1.15rem; }
.imt-type-price { font-weight: 700; }
.imt-type-note { grid-column: 1 / -1; color: var(--imt-soft); font-size: 0.875rem; }
.imt-stepper { display: flex; align-items: center; gap: 0.25rem; flex: none; }
.imt-stepper button {
	width: 2.75rem; height: 2.75rem; border-radius: 50%;
	border: 1.5px solid var(--imt-ink); background: transparent; color: var(--imt-ink);
	font-size: 1.35rem; line-height: 1; cursor: pointer; padding: 0;
}
.imt-stepper button:disabled { opacity: 0.3; cursor: default; }
.imt-stepper button:focus-visible, .imt-pay:focus-visible, .imt input:focus-visible { outline: 3px solid #1d3f8c; outline-offset: 2px; }
.imt-qty { min-width: 2rem; text-align: center; font-weight: 700; font-size: 1.15rem; }
.imt-fields { margin-top: 1.1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; }
.imt-fields p { margin: 0; }
.imt-fields label { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.3rem; }
.imt-fields input[type="text"], .imt-fields input[type="email"] {
	width: 100%; font: inherit; padding: 0.7rem 0.8rem; border: 1px solid #c3c8d2; border-radius: 6px; background: #fff; color: #23262d;
}
.imt-terms { grid-column: 1 / -1; font-size: 0.9rem; }
.imt-terms label { font-weight: 400; display: flex; gap: 0.5rem; align-items: flex-start; }
.imt-terms input { margin-top: 0.2rem; width: 1.1rem; height: 1.1rem; flex: none; }
.imt-stub {
	padding: 1.5rem 1.25rem; border-left: 2px dashed var(--imt-line);
	display: flex; flex-direction: column; justify-content: flex-end;
}
.imt-stub-label { margin: 0; color: var(--imt-soft); font-size: 0.9rem; }
.imt-total { margin: 0.1rem 0 0; font-family: var(--imt-serif); font-weight: 700; font-size: 2.5rem; line-height: 1; }
.imt-count { margin: 0.35rem 0 1rem; color: var(--imt-soft); font-size: 0.9rem; }
.imt-pay {
	display: block; width: 100%; text-align: center; font: inherit; font-weight: 700; font-size: 1.05rem;
	padding: 0.95rem 1rem; border: 0; border-radius: 6px; background: var(--imt-accent); color: var(--imt-accent-ink); cursor: pointer; text-decoration: none;
}
.imt-pay:disabled { opacity: 0.45; cursor: default; }
.imt-error { margin: 0.6rem 0 0; color: #b3261e; font-size: 0.9rem; min-height: 1.2em; }
.imt-small { margin: 0.6rem 0 0; color: var(--imt-soft); font-size: 0.8rem; line-height: 1.45; }
.imt-done { display: block; padding: 1.75rem 1.5rem; }
.imt-done-title { margin: 0 0 0.5rem; font-family: var(--imt-serif); font-size: 1.6rem; }
.imt-done .imt-pay { display: inline-block; width: auto; }
.imt-closed { margin: 0; padding: 1.5rem; }
@media (max-width: 720px) {
	.imt-card { grid-template-columns: 1fr; }
	.imt-main { padding: 1.25rem 1rem 1rem; }
	.imt-stub { border-left: 0; border-top: 2px dashed var(--imt-line); padding: 1.1rem 1rem 1.25rem; }
	.imt-fields { grid-template-columns: 1fr; }
	.imt-total { font-size: 2.1rem; }
}
