.tpr-module {
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 0px 0 0;
	box-sizing: border-box;
	color: var(--global-palette4, #1f2933);
	line-height: 1.55;
}

.tpr-module-wordpress-top {
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.tpr-wordpress-page-content {
	margin: 0;
}

.tpr-module h1,
.tpr-module h2 {
	color: var(--global-palette3, #111827);
	line-height: 1.2;
}

.tpr-card,
.tpr-form {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 24px;
	box-sizing: border-box;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.tpr-module-wordpress-top + .site-footer,
.tpr-module-wordpress-top + footer {
	margin-top: 0;
}

.site-footer,
#colophon {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.tpr-module > .tpr-form:last-child,
.tpr-module > .tpr-card:last-child {
	margin-bottom: 0;
}

.tpr-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px 24px;
}

.tpr-actions {
	display: grid;
}

.tpr-stacked-fields {
	display: grid;
	gap: 18px;
	max-width: 440px;
}

.tpr-amount-group {
	display: grid;
	gap: 18px;
}

.tpr-amount-error .tpr-field input,
.tpr-amount-error .tpr-field select {
	border-color: #b91c1c;
	background: #fef2f2;
}

.tpr-amount-error-message {
	margin: 0;
	color: #b91c1c;
	font-weight: 700;
}

.tpr-button-wide {
	width: 100%;
}

.tpr-reservation-heading {
	display: grid;
	gap: 4px;
	padding-bottom: 6px;
}

.tpr-reservation-heading span {
	color: rgba(31, 41, 51, 0.7);
	font-size: 0.92rem;
	font-weight: 700;
	text-transform: uppercase;
}

.tpr-reservation-heading strong {
	color: var(--global-palette3, #111827);
	font-size: 1.5rem;
	line-height: 1.2;
}

.tpr-ticket-list {
	display: grid;
	gap: 14px;
}

.tpr-ticket-row {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(180px, 240px);
	gap: 16px;
	align-items: end;
	padding: 16px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.025);
}

.tpr-ticket-row-reduced {
	grid-template-columns: minmax(280px, 1fr) minmax(180px, 240px);
}

.tpr-ticket-error {
	border-color: #b91c1c;
	background: #fef2f2;
}

.tpr-ticket-error select {
	border-color: #b91c1c;
}

.tpr-ticket-error-message {
	margin: 0;
	color: #b91c1c;
	font-weight: 700;
}

.tpr-ticket-choice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-weight: 600;
}

.tpr-ticket-choice input {
	margin-top: 5px;
}

.tpr-ticket-choice small {
	display: block;
	margin-top: 4px;
	font-weight: 400;
	opacity: 0.82;
}

.tpr-help-text,
.tpr-inline-note {
	display: block;
	margin-top: 6px;
	color: rgba(31, 41, 51, 0.72);
	font-size: 0.92rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.35;
}

.tpr-justif-list,
.tpr-justif-field {
	display: none;
}

.tpr-justif-list.is-visible {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px 16px;
}

.tpr-justif-field.is-visible {
	display: grid;
}

.tpr-date-field {
	max-width: 420px;
}

.tpr-field {
	display: grid;
	gap: 6px;
	font-weight: 600;
}

.tpr-field input,
.tpr-field select {
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 4px;
	font: inherit;
}

.tpr-field-error span,
.tpr-field-error em {
	color: #b91c1c;
}

.tpr-field-error select,
.tpr-input-error {
	border-color: #b91c1c !important;
	background: #fef2f2;
}

.tpr-field em {
	font-size: 0.9rem;
	font-style: normal;
	font-weight: 600;
}

.tpr-money {
	display: flex;
	max-width: 280px;
}

.tpr-money input {
	flex: 1;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.tpr-money b {
	display: inline-flex;
	align-items: center;
	padding: 0 12px;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-left: 0;
	border-radius: 0 4px 4px 0;
	background: rgba(0, 0, 0, 0.05);
}

.tpr-button,
.tpr-module input[type="submit"],
.tpr-module button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 16px;
	border: 1px solid var(--global-palette1, #111827);
	border-radius: 4px;
	background: var(--global-palette1, #111827);
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.tpr-warning {
	padding: 14px 16px;
	border: 1px solid #b45309;
	border-radius: 4px;
	background: #fffbeb;
	color: #78350f;
}

.tpr-spectacles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.tpr-spectacle {
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 14px;
	overflow: hidden;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 6px;
	background: #fff;
	text-align: center;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.tpr-spectacle:hover,
.tpr-spectacle:focus {
	border-color: var(--global-palette1, #111827);
	transform: translateY(-1px);
}

.tpr-spectacle-image {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.05);
}

.tpr-spectacle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tpr-spectacle-title {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	padding: 14px 16px 18px;
	color: var(--global-palette3, #111827);
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.25;
}

@media (max-width: 760px) {
	.tpr-ticket-row,
	.tpr-ticket-row-reduced {
		grid-template-columns: 1fr;
	}
}
