.mcs-test-day-list {
	display: grid;
	gap: 22px;
}

.mcs-test-table-wrap,
.mcs-test-pricing-table-wrap {
	display: grid;
	gap: 16px;
	margin: 18px 0;
}

.mcs-test-section-note + .mcs-test-validation-stack,
.mcs-test-section-note + .mcs-test-validation-message,
.mcs-test-validation-stack + .mcs-test-table-wrap,
.mcs-test-validation-stack + .mcs-test-day-list,
.mcs-test-validation-stack + .mcs-test-pricing-table-wrap,
.mcs-test-validation-message + .mcs-test-table-wrap,
.mcs-test-validation-message + .mcs-test-day-list,
.mcs-test-validation-message + .mcs-test-pricing-table-wrap {
	margin-top: 18px;
}

.mcs-test-table-wrap:first-child,
.mcs-test-pricing-table-wrap:first-child {
	margin-top: 0;
}

.mcs-test-table-wrap:last-child,
.mcs-test-pricing-table-wrap:last-child {
	margin-bottom: 0;
}

.mcs-test-day-block {
	display: grid;
	gap: 12px;
}

.mcs-test-day-block h4 {
	margin: 0;
	color: var(--mcs-test-text);
	font-size: 2.8rem;
	font-weight: 800;
	line-height: 1.3;
}

.mcs-test-venue-block {
	display: grid;
	gap: 9px;
}

.mcs-test-day-block + .mcs-test-day-block,
.mcs-test-venue-block + .mcs-test-venue-block {
	margin-top: 6px;
}

.mcs-test-venue-block h4 {
	margin: 0;
	color: var(--mcs-test-muted-strong);
	font-size: 2.8rem;
	font-weight: 800;
	line-height: 1.3;
}

.mcs-test-venue-block h5 {
	margin: 0;
	color: var(--mcs-test-muted-strong);
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.3;
}

.mcs-test-benedikt-nights,
.mcs-test-night-options {
	display: grid;
	gap: 16px;
	margin-top: 16px;
}

.mcs-test-benedikt-nights[hidden],
.mcs-test-night-options[hidden] {
	display: none;
}

.mcs-test-benedikt-nights h4,
.mcs-test-night-options h5 {
	margin: 0;
	line-height: 1.3;
}

.mcs-test-benedikt-night-table {
	min-width: 520px;
}

.mcs-test-benedikt-night-table th,
.mcs-test-benedikt-night-table td {
	vertical-align: middle;
}

.mcs-test-benedikt-night-table th:last-child,
.mcs-test-benedikt-night-table td:last-child {
	width: 92px;
	text-align: center;
}

.mcs-test-benedikt-night-table .is-sold-out td {
	background: #f3f4f6;
	color: var(--mcs-test-muted);
}

.mcs-test-benedikt-night-table .is-sold-out input {
	cursor: not-allowed;
	opacity: 0.45;
}

.mcs-test-free-days-table {
	min-width: 420px;
}

.mcs-test-free-days-table th,
.mcs-test-free-days-table td {
	padding: 11px 12px;
	border-bottom: 1px solid var(--mcs-test-accent-dark);
	text-align: left;
	vertical-align: middle;
	overflow-wrap: anywhere;
}

.mcs-test-free-days-table th {
	background: var(--mcs-test-table-head);
	color: var(--mcs-test-muted-strong);
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.mcs-test-free-days-table th:first-child,
.mcs-test-free-days-table td:first-child {
	width: 88px;
	text-align: center;
}

.mcs-test-free-days-table input[type=checkbox] {
	width: auto;
	min-height: auto;
}

.mcs-test-free-days-table th:last-child,
.mcs-test-free-days-table td:last-child {
	text-align: left;
}

.mcs-test-check-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.mcs-test-check-option {
	display: flex;
	gap: 8px;
	align-items: center;
	min-height: 42px;
	padding: 9px 11px;
	border: 1px solid var(--mcs-test-border);
	border-radius: 6px;
	background: var(--mcs-test-soft);
	font-weight: 700;
}

.mcs-test-check-option input {
	width: auto;
	min-height: auto;
}

.mcs-test-check-option--standalone {
	margin-bottom: 14px;
}

.mcs-test-order-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	margin: 0;
	font-size: 1.4rem;
	line-height: 1.4;
}

.mcs-test-order-table + .mcs-test-order-table {
	margin-top: 18px;
}

.mcs-test-table-wrap > .mcs-test-order-table + .mcs-test-order-table,
.mcs-test-table-wrap > .mcs-test-matrix-table + .mcs-test-matrix-table {
	margin-top: 28px;
}

.mcs-test-table-wrap > .mcs-test-matrix-table:not(:first-child) {
	border-top: 1px solid var(--mcs-test-border);
}

.mcs-test-order-table--compact {
	min-width: 0;
	table-layout: fixed;
}

.mcs-test-order-table.mcs-test-pricing-overview-table th:first-child {
	font-size: 1.4rem;
}

.mcs-test-order-table.mcs-test-pricing-overview-table td:last-child,
.mcs-test-order-table.mcs-test-pricing-overview-table th:last-child {
	text-align: left;
}

.mcs-test-pricing-overview-table caption {
	margin-bottom: 8px;
	color: var(--mcs-test-text);
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.3;
	text-align: left;
}

.mcs-test-order-table th,
.mcs-test-order-table td {
	padding: 11px 12px;
	border-bottom: 1px solid var(--mcs-test-accent-dark);
	text-align: left;
	vertical-align: middle;
	overflow-wrap: anywhere;
}

.mcs-test-order-table th {
	background: var(--mcs-test-table-head);
	color: var(--mcs-test-muted-strong);
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.mcs-test-order-table th:first-child {
	font-size: 2rem;
}

.mcs-test-order-table td:last-child,
.mcs-test-order-table th:last-child {
	text-align: center;
}

.mcs-test-order-table tr:last-child td {
	border-bottom: 0;
}

.mcs-test-order-table td:first-child {
	color: var(--mcs-test-text);
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.45;
}

.mcs-test-order-table .mcs-test-col-time {
	width: 82px;
}

.mcs-test-order-table .mcs-test-col-count {
	width: 104px;
	text-align: center;
}

.mcs-test-performance-table .mcs-test-col-count {
	width: 14%;
	min-width: 132px;
}

.mcs-test-performance-table .mcs-test-col-price,
.mcs-test-performance-table .mcs-test-col-capacity {
	width: 12%;
	min-width: 112px;
	text-align: center;
}

.mcs-test-performance-table .mcs-test-price-cell,
.mcs-test-performance-table .mcs-test-capacity-cell {
	color: var(--mcs-test-text);
	font-weight: 700;
	text-align: center;
	white-space: nowrap;
}

.mcs-test-performance-table .mcs-test-count-cell {
	text-align: center;
	white-space: nowrap;
}

.mcs-test-performance-table .mcs-test-count-cell input[type=number] {
	vertical-align: middle;
}

.mcs-test-ticket-note {
	display: block;
	margin-top: 3px;
	color: var(--mcs-test-muted);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.35;
}

.mcs-test-food-table {
	table-layout: auto;
}

.mcs-test-food-table .mcs-test-food-count,
.mcs-test-food-table .mcs-test-food-child {
	width: 116px;
	text-align: center;
}

.mcs-test-food-table .mcs-test-food-child {
	width: 126px;
}

.mcs-test-food-table td:first-child {
	width: auto;
}

.mcs-test-food-table input[type=number] {
	margin: 0 auto;
}

.mcs-test-order-table input[type=number] {
	display: inline-block;
	width: 50px;
	min-height: 10px;
	padding: 3px 4px;
	text-align: center;
}

.mcs-test-capacity-note {
	display: inline-block;
	margin-left: 6px;
	color: var(--mcs-test-muted);
	font-size: 1.3rem;
	font-weight: 700;
	white-space: nowrap;
}

.mcs-test-matrix-table {
	min-width: max-content;
	table-layout: auto;
}

.mcs-test-matrix-table th:first-child,
.mcs-test-matrix-table td:first-child {
	min-width: 132px;
}

.mcs-test-matrix-table td:first-child span {
	display: block;
	margin-top: 2px;
	color: var(--mcs-test-muted);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.25;
}

.mcs-test-matrix-table td:not(:first-child),
.mcs-test-matrix-table th:not(:first-child) {
	min-width: 118px;
	text-align: center;
	white-space: normal;
}

.mcs-test-matrix-table input[type=number],
.mcs-test-matrix-table .mcs-test-input-disabled {
	width: 58px;
	min-height: 40px;
	padding: 7px 9px;
	text-align: center;
}

.mcs-test-matrix-table__group td {
	background: var(--mcs-test-group-head);
	color: var(--mcs-test-muted-strong);
	font-weight: 800;
}

/* Meal-type subheading rows - visual group separator */
.mcs-test-meal-subheading td {
	background: var(--mcs-test-group-head);
	font-weight: 800;
	font-size: 1.4rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--mcs-test-muted-strong);
	padding: 8px 14px;
	border-top: 1px solid var(--mcs-test-border-strong);
	border-bottom: 1px solid var(--mcs-test-border);
}

/* Extra top margin before each meal group except the first */
.mcs-test-meal-subheading ~ .mcs-test-meal-subheading {
	border-top-width: 1px;
}

.mcs-test-meal-subheading ~ .mcs-test-meal-subheading td {
	border-top-color: var(--mcs-test-border-strong);
}





