/*
 * Monster Bookings picker.
 * Colours are CSS variables so a theme can restyle without touching the plugin:
 *   .mb-picker { --mb-tier0: #12617f; --mb-good: #35c24a; ... }
 * Text colours inherit from the theme, so it works on dark and light sites.
 * Settings > Appearance > Style adds the mb-picker--panel-*, --corners-*, --status-*,
 * --size-*, --font, --text and --shadow classes (picker.js, from data.style).
 */
.mb-picker {
	--mb-tier0: #12617f;
	--mb-tier1: #ff6a00;
	--mb-tier2: #f5333f;
	--mb-tier3: #8e44ad;
	--mb-good: #2fb344;
	--mb-low: #f59f00;
	--mb-out: #d63939;
	--mb-line: rgba(128, 128, 128, 0.35);
	--mb-soft: rgba(128, 128, 128, 0.12);
	--mb-date-text: #fff;
	--mb-radius: 10px;
	--mb-radius-sm: 8px;
	--mb-panel-bg: transparent;
	--mb-shadow: none;
	--mb-accent: var(--mb-selected, var(--mb-tier0));
	display: block;
	line-height: 1.45;
	margin: 0 0 24px;
	max-width: 100%;
}

.mb-picker *,
.mb-picker *::before,
.mb-picker *::after {
	box-sizing: border-box;
}

/* Themes style every <button>. The picker's own buttons (dates, times, steppers) should not
   pick that up; "Select" and "Add to basket" carry .button and follow the theme on purpose. */
.mb-picker :where(button:not(.button)) {
	background-image: none;
	box-shadow: none;
	font-family: inherit;
	letter-spacing: normal;
	line-height: 1.25;
	text-shadow: none;
	text-transform: none;
}

.mb-picker__empty {
	font-style: italic;
}

/* Tickets off sale: a message or a countdown, and the "notify me" box (SalesNotify.php) */
.mb-offsale {
	border: 1px solid var(--mb-line);
	border-radius: var(--mb-radius);
	padding: 20px;
	text-align: center;
}

.mb-offsale p {
	margin: 0 0 14px;
}

.mb-offsale__when {
	font-weight: 700;
}

.mb-offsale__count {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 0 0 16px;
}

.mb-offsale__unit {
	background: var(--mb-soft);
	border-radius: var(--mb-radius-sm);
	font-size: 0.8em;
	min-width: 72px;
	padding: 10px 8px;
}

.mb-offsale__unit strong {
	display: block;
	font-size: 2em;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

.mb-offsale__form {
	margin: 0 auto;
	max-width: 460px;
}

.mb-offsale__label {
	display: block;
	font-weight: 700;
	margin: 0 0 8px;
}

.mb-offsale__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mb-offsale__row input[type="email"] {
	flex: 1 1 200px;
	min-width: 0;
}

.mb-offsale__trap {
	height: 1px;
	left: -9999px;
	position: absolute;
	width: 1px;
}

.mb-offsale .mb-offsale__small {
	font-size: 0.8em;
	margin: 10px 0 0;
	opacity: 0.8;
}

.mb-offsale .mb-offsale__done {
	color: var(--mb-good);
	font-weight: 700;
	margin: 0;
}

.mb-offsale__error {
	color: var(--mb-out);
}

/* A date or time was chosen while off sale: draw the eye to the message. */
.mb-offsale.is-nudged {
	animation: mb-offsale-nudge 1.2s ease-out;
}

@keyframes mb-offsale-nudge {
	0% { box-shadow: 0 0 0 0 var(--mb-accent); }
	30% { box-shadow: 0 0 0 4px var(--mb-accent); }
	100% { box-shadow: 0 0 0 0 transparent; }
}

@media (prefers-reduced-motion: reduce) {
	.mb-offsale.is-nudged {
		animation: none;
		outline: 3px solid var(--mb-accent);
	}
}

/* Availability wording */
.mb-level {
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.mb-level--good { color: var(--mb-good); }
.mb-level--low { color: var(--mb-low); }
.mb-level--sold_out,
.mb-level--unavailable { color: var(--mb-out); }
.mb-level--soon { color: var(--mb-accent); }

/* ---------------------------------------------------------------- calendar */

.mb-cal {
	border: 1px solid var(--mb-line);
	border-bottom: 0;
	border-right: 0;
}

.mb-cal__row {
	display: grid;
	grid-template-columns: repeat(var(--mb-cols, 7), minmax(0, 1fr));
}

.mb-cal__head {
	background: var(--mb-soft);
	border-bottom: 1px solid var(--mb-line);
	border-right: 1px solid var(--mb-line);
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 8px 4px;
	text-align: center;
	text-transform: uppercase;
}

.mb-cal__month {
	background: var(--mb-soft);
	border-bottom: 1px solid var(--mb-line);
	border-right: 1px solid var(--mb-line);
	font-weight: 700;
	padding: 6px 10px;
}

.mb-cal__cell {
	appearance: none;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--mb-line);
	border-right: 1px solid var(--mb-line);
	border-radius: 0;
	color: inherit;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font: inherit;
	margin: 0;
	min-height: 84px;
	padding: 0;
	text-align: center;
	width: 100%;
}

.mb-cal__cell--empty {
	cursor: default;
}

.mb-cal__date {
	align-items: center;
	color: var(--mb-date-text, #fff);
	display: flex;
	flex: 1;
	font-size: 1.15em;
	font-weight: 700;
	justify-content: center;
	padding: 12px 4px;
	width: 100%;
}

.mb-cal__cell--tier0 .mb-cal__date { background: var(--mb-tier0); }
.mb-cal__cell--tier1 .mb-cal__date { background: var(--mb-tier1); }
.mb-cal__cell--tier2 .mb-cal__date { background: var(--mb-tier2); }
.mb-cal__cell--tier3 .mb-cal__date { background: var(--mb-tier3); }

.mb-cal__status {
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 8px 2px;
	text-transform: uppercase;
	width: 100%;
}

.mb-cal__cell--good .mb-cal__status { color: var(--mb-good); }
.mb-cal__cell--low .mb-cal__status { color: var(--mb-low); }
.mb-cal__cell--sold_out .mb-cal__status,
.mb-cal__cell--unavailable .mb-cal__status { color: var(--mb-out); }

.mb-cal__cell[disabled] {
	cursor: not-allowed;
}

.mb-cal__cell[disabled] .mb-cal__date {
	filter: grayscale(1);
	opacity: 0.45;
	text-decoration: line-through;
}

.mb-cal__cell:not([disabled]):hover .mb-cal__date,
.mb-cal__cell:focus-visible .mb-cal__date {
	filter: brightness(1.15);
}

.mb-cal__cell {
	position: relative;
}

.mb-cal__cell.is-selected::after {
	border: 4px solid var(--mb-selected, currentColor);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.mb-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 0;
}

.mb-legend__item {
	color: var(--mb-date-text, #fff);
	font-size: 0.85em;
	font-weight: 600;
	padding: 6px 12px;
}

.mb-legend__item--tier0 { background: var(--mb-tier0); }
.mb-legend__item--tier1 { background: var(--mb-tier1); }
.mb-legend__item--tier2 { background: var(--mb-tier2); }
.mb-legend__item--tier3 { background: var(--mb-tier3); }

/* Buttons only take the plugin's colour when one has been chosen in Settings. */
.mb-picker--buttons .mb-row__select:not([disabled]),
.mb-picker--buttons .mb-tickets__submit:not([disabled]) {
	background: var(--mb-btn-bg) !important;
	border-color: var(--mb-btn-bg) !important;
	color: var(--mb-btn-text, #fff) !important;
}

.mb-picker--buttons .mb-row__select[disabled] {
	background: transparent !important;
	border: 1px solid var(--mb-out) !important;
	color: var(--mb-out) !important;
}

/* Add to basket is disabled until tickets are chosen. WooCommerce's own stylesheet paints a
   disabled "alt" button in its purple (#7f54b3), which themes rarely repaint, so it showed
   purple-blue on Red Castle (15 Nov 2026). Keep the chosen button colour, faded. */
.mb-picker--buttons .mb-tickets__submit[disabled] {
	background: var(--mb-btn-bg) !important;
	border-color: var(--mb-btn-bg) !important;
	color: var(--mb-btn-text, #fff) !important;
	-webkit-text-fill-color: var(--mb-btn-text, #fff);
	cursor: not-allowed;
	opacity: 0.5;
}

/* ------------------------------------------------------------------- times */

.mb-times {
	margin-top: 20px;
}

.mb-times__title {
	font-size: 1.1em;
	font-weight: 700;
	margin-bottom: 10px;
}

.mb-times__title small {
	display: block;
	font-size: 0.75em;
	font-weight: 400;
	opacity: 0.75;
}

.mb-times__grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.mb-time {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 2px solid var(--mb-line);
	border-radius: 8px;
	color: inherit;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font: inherit;
	gap: 2px;
	min-height: 58px;
	justify-content: center;
	padding: 8px 6px;
}

.mb-time__label {
	font-size: 1.05em;
	font-weight: 700;
}

.mb-time:not([disabled]):hover,
.mb-time:focus-visible {
	border-color: currentColor;
}

.mb-time.is-selected {
	background: var(--mb-soft);
	border-color: var(--mb-good);
}

.mb-time[disabled] {
	cursor: not-allowed;
	opacity: 0.5;
}

.mb-time[disabled] .mb-time__label {
	text-decoration: line-through;
}

/* -------------------------------------------------------------------- list */

.mb-list__year {
	font-size: 1.4em;
	font-weight: 700;
	margin: 24px 0 0;
}

.mb-list__month {
	border-bottom: 2px solid var(--mb-line);
	font-size: 0.8em;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 18px 0 0;
	padding: 0 0 6px 8px;
	text-transform: uppercase;
}

.mb-row {
	border-bottom: 1px solid var(--mb-line);
}

/* Monster Blocks has a .mb-row of its own (a page row: 30px after it, padding): inside the booking
   form that put a gap between two times on the same date (TLS, 15 Nov 2026). */
.mb-picker .mb-row {
	margin-bottom: 0;
	padding-bottom: 0;
	padding-top: 0;
}

/* Times on the same date sit together as one block, as TLS's list did before Monster Bookings
   (15 Nov 2026): no line and little space between them; the line comes after the date's last time. */
.mb-list > .mb-row--day-more {
	border-bottom: 0;
}

.mb-list > .mb-row--day-more > .mb-row__main {
	padding-bottom: 3px;
}

.mb-list > .mb-row--day-cont > .mb-row__main {
	padding-top: 3px;
}

/* The event's name above a date (Event tab > Name on the list). */
.mb-row__name {
	font-weight: 700;
	line-height: 1.3;
	padding: 12px 8px 0;
}

.mb-row--named > .mb-row__main {
	padding-top: 6px;
}

/* Filters above the list (Settings > Appearance > List filters). The theme styles the boxes. */
.mb-filters {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin: 0 0 14px;
}

.mb-filters__field {
	display: flex;
	flex: 0 1 220px;
	flex-direction: column;
	gap: 4px;
	min-width: 140px;
}

.mb-filters__label {
	font-size: 0.8em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mb-picker select.mb-filters__select {
	box-sizing: border-box;
	font-size: 16px; /* Stops iOS zooming the page on focus. */
	margin: 0;
	min-height: 44px;
	width: 100%;
}

.mb-filters__check {
	align-items: center;
	cursor: pointer;
	display: inline-flex;
	gap: 8px;
	min-height: 44px;
}

.mb-filters__check input {
	accent-color: var(--mb-accent);
	height: 18px;
	margin: 0;
	width: 18px;
}

.mb-picker .mb-filters__reset {
	background: none;
	border: 0;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	font: inherit;
	min-height: 44px;
	padding: 0 4px;
	text-decoration: underline;
}

.mb-list__none {
	padding: 24px 8px;
	text-align: center;
}

.mb-list__none p {
	margin: 0 0 12px;
}

.mb-row__main {
	align-items: center;
	display: grid;
	gap: 8px 14px;
	grid-template-columns: minmax(0, 1fr) auto auto auto;
	padding: 12px 8px;
}

.mb-row__when small {
	display: block;
	opacity: 0.75;
}

.mb-row__price {
	font-weight: 700;
	white-space: nowrap;
}

.mb-row .mb-level {
	min-width: 96px;
	text-align: right;
}

.mb-row__select {
	min-height: 44px;
	min-width: 104px;
}

/* A pass: the places left sit on the right under the button (TLS, 15 Nov 2026), the name and
   the price beside both. Long wording wraps rather than widening the column. */
.mb-pass > .mb-row__main {
	grid-template-columns: minmax(0, 1fr) auto auto;
	row-gap: 4px;
}

.mb-pass > .mb-row__main > .mb-row__when,
.mb-pass > .mb-row__main > .mb-row__price {
	grid-row: 1 / span 2;
}

.mb-pass > .mb-row__main > .mb-row__select {
	grid-column: 3;
	grid-row: 1;
}

/* As wide as the button above it, whatever its wording: width 0 keeps it out of the column's
   sizing, min-width 100% then fills it, so long wording wraps instead of widening the button. */
.mb-pass > .mb-row__main > .mb-level,
.mb-row .mb-row__main--time > .mb-level {
	box-sizing: border-box;
	grid-column: 3;
	grid-row: 2;
	min-width: 100%;
	text-align: center;
	white-space: normal;
	width: 0;
}

/* A row per time in the list (1.33.2): on the left the date with its time, and the price
   centred under the date; on the right the button over the places left. The same on a phone. */
/* Three columns, two lines: the date, the time and the button share line 1, so they stay level
   however much wording sits under the button (1.33.3); the price (under the date) and the places
   left (under the button) start line 2. .mb-row__when lends its date, time and price to this grid. */
.mb-row__main.mb-row__main--time { /* Two classes: the phone rule for .mb-row__main comes later. */
	column-gap: 0.6em;
	grid-template-columns: auto minmax(min-content, 1fr) auto;
	row-gap: 4px;
}

.mb-row__main--time > .mb-row__when {
	display: contents;
}

.mb-row__main--time .mb-row__date {
	grid-column: 1;
	grid-row: 1;
	justify-self: center;
	margin-right: 0;
	white-space: nowrap; /* Never "Sat 6 / Feb". */
}

/* The narrowest phones: a little less room around the date and the button, so a row still fits. */
@media (max-width: 380px) {
	.mb-row__main.mb-row__main--time {
		column-gap: 6px;
	}

	.mb-row__main--time .mb-row__date {
		padding-left: 0.5em;
		padding-right: 0.5em;
	}

	.mb-row__main--time > .mb-row__select {
		min-width: 88px;
	}

	.mb-picker:not(.mb-picker--panel-none) .mb-picker__dates > .mb-list {
		padding-left: 10px;
		padding-right: 10px;
	}
}

.mb-row__main--time .mb-row__time {
	grid-column: 2;
	grid-row: 1;
	justify-self: start;
}

/* "Time in the date" (Settings > Appearance, 1.34.0): the time inside the date's box after a
   thin |, the price centred under the whole box. */
.mb-row__sep {
	font-weight: 400;
	margin: 0 0.1em;
	opacity: 0.6;
}

/* Tucked up under the date (1.33.4): line 1 is as tall as the button (44px) and the date pill
   only 1.8em (its line height and padding), so the price rises by the space left under the pill
   and sits 2px below it, reading as the date's price rather than a line of its own. */
.mb-row__main--time .mb-row__price {
	align-self: start;
	grid-column: 1;
	grid-row: 2;
	justify-self: center;
	line-height: 1.3;
	margin-top: calc((1.8em - var(--mb-btn-h, 44px)) / 2 - 2px);
}

.mb-row__main--time > .mb-row__select {
	grid-column: 3;
	grid-row: 1;
	min-height: var(--mb-btn-h, 44px);
}

/* Wider lists, larger list (1.35.1). Measured on the list's own width, not the screen's, so a
   list in a narrow column stays as it is: from 700px everything in it is about 15% larger, from
   980px about 30%. Text, date boxes, headings and the places left are sized in em, so they follow
   the font size; the button's height (--mb-btn-h) and width follow by hand, and the price under
   the date tucks up by the new button height. Pop-ups are added to the page's body, so the
   container (which holds its positioned children) traps none. */
.mb-picker--list > .mb-picker__dates {
	container: mb-dates / inline-size;
}

@container mb-dates (min-width: 700px) {
	.mb-picker__dates > .mb-list,
	.mb-picker__dates > .mb-filters {
		--mb-btn-h: 50px;
		font-size: 1.14em;
	}

	.mb-picker .mb-list .mb-row__main > .mb-row__select {
		font-size: 0.9em;
		min-width: 124px;
	}

	.mb-picker__dates > .mb-list .mb-row__main {
		padding-left: 10px;
		padding-right: 10px;
	}

	.mb-picker select.mb-filters__select {
		font-size: 1em;
		min-height: var(--mb-btn-h);
	}
}

@container mb-dates (min-width: 980px) {
	.mb-picker__dates > .mb-list,
	.mb-picker__dates > .mb-filters {
		--mb-btn-h: 56px;
		font-size: 1.28em;
	}

	.mb-picker .mb-list .mb-row__main > .mb-row__select {
		min-width: 140px;
	}

	.mb-picker:not(.mb-picker--panel-none) .mb-picker__dates > .mb-list {
		padding-left: 24px;
		padding-right: 24px;
	}
}

/* Both wordings of a date (picker.js dateWords(), 1.36.0): the short one ("Sat 6 Feb") until
   the list is wide, then the full one ("Saturday 6th February"). */
.mb-d-long {
	display: none;
}

/* ------------------------------------------- list style: full rows (1.36.0) */

/* Phone and narrow lists: the date and time box over the price per person on the left, the
   button over the places left on the right, and the bar of places left across the bottom. */
.mb-row__main.mb-row__main--rows {
	column-gap: 0.8em;
	grid-template-columns: minmax(0, 1fr) auto;
	row-gap: 4px;
}

.mb-row__main--rows > .mb-row__when {
	grid-column: 1;
	grid-row: 1;
}

.mb-row__main--rows .mb-row__date {
	margin-right: 0;
	white-space: nowrap;
}

/* Tucked up under the date, as in the simple layout (the button makes line 1 taller). */
.mb-row__main--rows > .mb-row__price {
	align-self: start;
	grid-column: 1;
	grid-row: 2;
	line-height: 1.3;
	margin-top: calc((1.8em - var(--mb-btn-h, 44px)) / 2 - 2px);
}

.mb-row__main--rows > .mb-row__select {
	grid-column: 2;
	grid-row: 1;
	min-height: var(--mb-btn-h, 44px);
}

.mb-row .mb-row__main--rows > .mb-level {
	align-self: start;
	box-sizing: border-box;
	grid-column: 2;
	grid-row: 2;
	min-width: 100%;
	text-align: center;
	white-space: normal;
	width: 0;
}

.mb-row__main--rows > .mb-bar {
	grid-column: 1 / -1;
	grid-row: 3;
	margin-top: 4px;
}

/* The bar of places left: full when every place is free, shorter as they go. */
.mb-bar {
	background: var(--mb-line);
	border-radius: 999px;
	display: block;
	height: 6px;
	overflow: hidden;
}

.mb-bar > i {
	background: var(--mb-good);
	border-radius: inherit;
	display: block;
	height: 100%;
}

.mb-bar--low > i {
	background: var(--mb-low);
}

/* ------------------------------------------ list style: calendar tiles (1.36.0) */

/* One tile per date: a tear-off calendar date (weekday band in the date's colour), the full date
   as a heading, and each time on a row beside it. On a phone a time's price sits over its places
   left, between the time and the button. */
.mb-tile {
	border-bottom: 1px solid var(--mb-line);
	display: grid;
	gap: 10px;
	grid-template-columns: 3.2em minmax(0, 1fr);
	padding: 12px 4px;
}

.mb-list > .mb-tile:last-child {
	border-bottom: 0;
}

.mb-tile__cal {
	align-self: start;
	border: 1px solid var(--mb-line);
	border-radius: var(--mb-radius-sm);
	line-height: 1.2;
	overflow: hidden;
	text-align: center;
}

.mb-tile__dow {
	background: var(--mb-tier0);
	color: var(--mb-date-text, #fff);
	display: block;
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 3px 0;
	text-transform: uppercase;
}

.mb-tile__cal--tier1 .mb-tile__dow { background: var(--mb-tier1); }
.mb-tile__cal--tier2 .mb-tile__dow { background: var(--mb-tier2); }
.mb-tile__cal--tier3 .mb-tile__dow { background: var(--mb-tier3); }

.mb-tile__num {
	display: block;
	font-size: 1.6em;
	font-weight: 700;
	padding-top: 2px;
}

.mb-tile__mon {
	display: block;
	font-size: 0.66em;
	letter-spacing: 0.06em;
	opacity: 0.75;
	padding-bottom: 5px;
	text-transform: uppercase;
}

.mb-tile--sold_out .mb-tile__cal,
.mb-tile--passed .mb-tile__cal,
.mb-tile--unavailable .mb-tile__cal {
	opacity: 0.5;
}

.mb-tile__head {
	font-weight: 700;
	line-height: 1.3;
	margin: 2px 0 4px;
}

.mb-tile__name {
	font-weight: 400;
	opacity: 0.75;
}

/* Each time bold in its date's colour (near-black on TLS), as in the simple layout, rather than
   the theme's text colour (1.37.1). Sold out and passed times still fade with their row. */
.mb-tile .mb-row__tt {
	color: var(--mb-tier0);
}

.mb-tile--tier1 .mb-row__tt { color: var(--mb-tier1); }
.mb-tile--tier2 .mb-row__tt { color: var(--mb-tier2); }
.mb-tile--tier3 .mb-row__tt { color: var(--mb-tier3); }

.mb-tile .mb-row:last-child {
	border-bottom: 0;
}

/* Phone: the time and its price on line 1, the places left under both (the whole width up to the
   button, so long wording such as "Private event · Sold out" has room), the button beside both. */
.mb-row__main.mb-row__main--tile {
	column-gap: 0.7em;
	grid-template-columns: auto minmax(0, 1fr) auto;
	padding: 8px 0;
	row-gap: 2px;
}

.mb-row__main--tile > .mb-row__when {
	font-weight: 700;
	grid-column: 1;
	grid-row: 1;
}

.mb-row__main--tile > .mb-row__price {
	grid-column: 2;
	grid-row: 1;
	white-space: normal;
}

.mb-row .mb-row__main--tile > .mb-level {
	align-self: start;
	grid-column: 1 / 3;
	grid-row: 2;
	min-width: 0;
	text-align: left;
	white-space: normal;
}

.mb-row__main--tile > .mb-row__select {
	grid-column: 3;
	grid-row: 1 / span 2;
	min-height: var(--mb-btn-h, 44px);
	min-width: 88px;
}

/* Wide lists: full wording; full rows put the places left and their bar beside the button with
   the box and its price on the left; tiles grow and give each time one line. */
@container mb-dates (min-width: 700px) {
	.mb-d-long {
		display: inline;
	}

	.mb-d-short {
		display: none;
	}

	.mb-row__main.mb-row__main--rows {
		column-gap: 1.2em;
		grid-template-columns: auto minmax(0, 1fr) auto auto;
	}

	.mb-row__main--rows > .mb-row__price {
		margin-top: 0;
	}

	.mb-row__main--rows > .mb-row__select {
		grid-column: 4;
		grid-row: 1 / span 2;
	}

	.mb-row .mb-row__main--rows > .mb-level {
		align-self: end;
		grid-column: 3;
		grid-row: 1;
		min-width: 0;
		text-align: right;
		width: auto;
	}

	.mb-row__main--rows > .mb-bar {
		align-self: start;
		grid-column: 3;
		grid-row: 2;
		justify-self: end;
		margin-top: 2px;
		width: 9em;
	}

	.mb-tile {
		gap: 18px;
		grid-template-columns: 4.4em minmax(0, 1fr);
		padding: 14px 10px;
	}

	.mb-tile__num {
		font-size: 1.9em;
	}

	.mb-picker__dates > .mb-list .mb-tile .mb-row__main {
		padding-left: 0;
		padding-right: 0;
	}

	.mb-row__main.mb-row__main--tile {
		column-gap: 1.2em;
		grid-template-columns: 5.5em minmax(0, 1fr) auto auto;
	}

	.mb-row__main--tile > .mb-row__when {
		grid-row: 1;
	}

	.mb-row__main--tile > .mb-row__price {
		align-self: center;
		grid-row: 1;
	}

	.mb-row .mb-row__main--tile > .mb-level {
		align-self: center;
		grid-column: 3;
		grid-row: 1;
		text-align: right;
	}

	.mb-row__main--tile > .mb-row__select {
		grid-column: 4;
		grid-row: 1;
	}
}

.mb-row .mb-row__main--time > .mb-level {
	align-self: start;
	grid-column: 3;
}

/* "In basket" (markBasket()) under the time, its own size; on a narrow phone it may fold rather
   than squeeze the date. */
.mb-row__main--time .mb-inbasket {
	align-self: start;
	grid-column: 2;
	grid-row: 2;
	justify-self: start;
	white-space: normal;
}

/* Sentences rather than a word or two (enquire-only, private, coming soon with its date): on the
   right under the button, running left on one line instead of wrapping into a tall stack. The
   negative margin keeps them out of the column's width, so the button stays its own size. */
.mb-row .mb-row__main--time > .mb-level--enquire,
.mb-row .mb-row__main--time > .mb-level--private,
.mb-row .mb-row__main--time > .mb-level--soon,
.mb-row .mb-row__main--time > .mb-level--unavailable {
	margin-left: -150px;
	min-width: 0;
	text-align: right;
	width: auto;
}

/* The date and time fade one by one when sold out or passed: .mb-row__when has no box of its own here. */
.mb-row--sold_out .mb-row__main--time .mb-row__date,
.mb-row--sold_out .mb-row__main--time .mb-row__time,
.mb-row--unavailable .mb-row__main--time .mb-row__date,
.mb-row--unavailable .mb-row__main--time .mb-row__time,
.mb-row--passed .mb-row__main--time .mb-row__date,
.mb-row--passed .mb-row__main--time .mb-row__time {
	opacity: 0.5;
}

/* The time in its date's colour and bold, so it reads as clearly as the date beside it. The
   date colours carry white text, so they read as well on a light background. */
.mb-row__time {
	color: var(--mb-tier0);
	font-weight: 700;
}

.mb-row__time--tier1 { color: var(--mb-tier1); }
.mb-row__time--tier2 { color: var(--mb-tier2); }
.mb-row__time--tier3 { color: var(--mb-tier3); }

.mb-row--sold_out .mb-row__when,
.mb-row--sold_out .mb-row__price,
.mb-row--unavailable .mb-row__when,
.mb-row--unavailable .mb-row__price {
	opacity: 0.5;
}

.mb-row.is-selected {
	background: var(--mb-soft);
}

.mb-row__mount:empty {
	display: none;
}

.mb-row__mount {
	padding: 0 8px 12px;
}

.mb-passes {
	margin-top: 24px;
}

.mb-passes__title {
	border-bottom: 2px solid var(--mb-line);
	font-size: 0.8em;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 0 0 6px 8px;
	text-transform: uppercase;
}

/* --------------------------------------------------------------- timetable */

/* A row per date, a column per show time. Same colours as the calendar. */
.mb-tt {
	border: 1px solid var(--mb-line);
	border-bottom: 0;
	border-right: 0;
}

.mb-tt__row {
	display: grid;
	grid-template-columns: minmax(7.5em, 1.2fr) repeat(var(--mb-cols, 2), minmax(0, 1fr));
}

/* Times keep their own case ("10:00am"), unlike the calendar's weekday heads. */
.mb-tt__head {
	background: var(--mb-soft);
	border-bottom: 1px solid var(--mb-line);
	border-right: 1px solid var(--mb-line);
	font-size: 1.05em;
	font-weight: 700;
	padding: 8px 4px;
	text-align: center;
}

.mb-tt__head--date {
	padding-left: 14px;
	text-align: left;
}

.mb-tt__month {
	background: var(--mb-soft);
	border-bottom: 1px solid var(--mb-line);
	border-right: 1px solid var(--mb-line);
	font-weight: 700;
	padding: 6px 14px;
}

.mb-tt__date {
	align-items: center;
	border-bottom: 1px solid var(--mb-line);
	border-right: 1px solid var(--mb-line);
	color: var(--mb-date-text, #fff);
	display: flex;
	flex-wrap: wrap;
	font-size: 1.05em;
	font-weight: 700;
	gap: 0 0.3em;
	min-height: 60px;
	padding: 10px 14px;
}

.mb-tt__date--tier0 { background: var(--mb-tier0); }
.mb-tt__date--tier1 { background: var(--mb-tier1); }
.mb-tt__date--tier2 { background: var(--mb-tier2); }
.mb-tt__date--tier3 { background: var(--mb-tier3); }

.mb-tt__day--sold_out .mb-tt__date,
.mb-tt__day--unavailable .mb-tt__date {
	filter: grayscale(1);
	opacity: 0.45;
	text-decoration: line-through;
}

.mb-tt__wd--short {
	display: none;
}

.mb-tt__cell {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--mb-line);
	border-radius: 0;
	border-right: 1px solid var(--mb-line);
	color: inherit;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font: inherit;
	gap: 2px;
	justify-content: center;
	margin: 0;
	min-height: 60px;
	padding: 6px 4px;
	position: relative;
	text-align: center;
	width: 100%;
}

.mb-tt__time {
	display: none;
	font-weight: 700;
}

.mb-tt__status {
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.mb-tt__cell--good .mb-tt__status { color: var(--mb-good); }
.mb-tt__cell--low .mb-tt__status { color: var(--mb-low); }
.mb-tt__cell--sold_out .mb-tt__status,
.mb-tt__cell--unavailable .mb-tt__status { color: var(--mb-out); }
.mb-tt__cell--soon .mb-tt__status { color: var(--mb-accent); }

.mb-tt__cell--none {
	cursor: default;
	opacity: 0.4;
}

.mb-tt__cell[disabled] {
	cursor: not-allowed;
}

.mb-tt__cell[disabled] .mb-tt__time {
	opacity: 0.5;
	text-decoration: line-through;
}

.mb-tt__cell:not([disabled]):not(.mb-tt__cell--none):hover,
.mb-tt__cell:focus-visible {
	background: var(--mb-soft);
}

.mb-tt__cell.is-selected {
	background: var(--mb-soft);
}

.mb-tt__cell.is-selected::after {
	border: 4px solid var(--mb-accent);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.mb-tt__day.is-selected .mb-tt__mount {
	background: var(--mb-soft);
}

.mb-tt .mb-tt__mount {
	border-bottom: 1px solid var(--mb-line);
	border-right: 1px solid var(--mb-line);
	padding: 0 12px 12px;
}

.mb-tt .mb-tt__mount:empty {
	display: none;
}

/* Many times a day: each date's times wrap underneath it as buttons. */
.mb-tt--stack .mb-tt__row--head {
	display: none;
}

.mb-tt--stack .mb-tt__row {
	border-bottom: 1px solid var(--mb-line);
	border-right: 1px solid var(--mb-line);
	gap: 8px;
	grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
	padding: 0 8px 8px;
}

.mb-tt--stack .mb-tt__date {
	border: 0;
	grid-column: 1 / -1;
	margin: 0 -8px;
	min-height: 0;
}

.mb-tt--stack .mb-tt__cell {
	border: 2px solid var(--mb-line);
	border-radius: 8px;
	min-height: 58px;
}

.mb-tt--stack .mb-tt__cell--none {
	display: none;
}

.mb-tt--stack .mb-tt__time {
	display: block;
}

.mb-tt--stack .mb-tt__cell.is-selected {
	border-color: var(--mb-accent);
}

.mb-tt--stack .mb-tt__cell.is-selected::after {
	display: none;
}

@media (max-width: 600px) {
	.mb-tt__row {
		grid-template-columns: minmax(5.5em, 1.1fr) repeat(var(--mb-cols, 2), minmax(0, 1fr));
	}

	.mb-tt__head {
		font-size: 0.9em;
	}

	.mb-tt__head--date {
		padding-left: 10px;
	}

	.mb-tt__date {
		font-size: 1em;
		padding: 8px 10px;
	}

	.mb-tt__wd {
		display: none;
	}

	.mb-tt__wd--short {
		display: inline;
	}

	.mb-tt__status {
		font-size: 0.62em;
		letter-spacing: 0;
	}

	.mb-tt .mb-tt__mount {
		padding: 0 8px 8px;
	}

	.mb-tt--many .mb-tt__row--head {
		display: none;
	}

	.mb-tt--many .mb-tt__row {
		border-bottom: 1px solid var(--mb-line);
		border-right: 1px solid var(--mb-line);
		gap: 8px;
		grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
		padding: 0 8px 8px;
	}

	.mb-tt--many .mb-tt__date {
		border: 0;
		grid-column: 1 / -1;
		margin: 0 -8px;
		min-height: 0;
	}

	.mb-tt--many .mb-tt__cell {
		border: 2px solid var(--mb-line);
		border-radius: 8px;
		min-height: 58px;
	}

	.mb-tt--many .mb-tt__cell--none {
		display: none;
	}

	.mb-tt--many .mb-tt__time {
		display: block;
	}

	.mb-tt--many .mb-tt__status {
		font-size: 0.7em;
	}

	.mb-tt--many .mb-tt__cell.is-selected {
		border-color: var(--mb-accent);
	}

	.mb-tt--many .mb-tt__cell.is-selected::after {
		display: none;
	}
}

/* Richer grid (Settings > Appearance > Timetable style, 1.37.0): the same timetable as separate
   rounded boxes on its panel. Headings carry a sun, a setting sun or a moon and "Morning ·
   10:00 am"; each date is a big day number with its weekday; each time a tinted box saying how it
   is doing. On phones the same grid, slimmer: the time alone in the heading, a short weekday
   under the number. Many times a day still wrap under the date, as in the simple timetable. */
.mb-picker .mb-tt.mb-tt--grid {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px;
}

.mb-tt--grid:not(.mb-tt--stack) .mb-tt__row {
	gap: 6px;
	grid-template-columns: minmax(9em, 1.1fr) repeat(var(--mb-cols, 2), minmax(0, 1fr));
}

.mb-tt--grid .mb-tt__head,
.mb-tt--grid .mb-tt__date,
.mb-tt--grid .mb-tt__cell,
.mb-tt--grid .mb-tt__month,
.mb-tt--grid .mb-tt__mount {
	border: 0;
}

.mb-tt--grid .mb-tt__head {
	align-items: center;
	background: none;
	display: flex;
	font-size: 0.92em;
	gap: 0.4em;
	justify-content: center;
	padding: 2px 4px;
}

.mb-tt--grid .mb-tt__head--date {
	justify-content: flex-start;
	padding-left: 4px;
}

.mb-tt__hicon {
	color: var(--mb-tier0);
	display: inline-flex;
}

.mb-tt__hpart {
	font-weight: 400;
}

.mb-tt--grid .mb-tt__month {
	background: none;
	font-size: 0.85em;
	letter-spacing: 0.08em;
	padding: 8px 4px 0;
	text-transform: uppercase;
}

.mb-tt--grid .mb-tt__date {
	align-items: baseline;
	border-radius: var(--mb-radius-sm);
	flex-wrap: nowrap;
	gap: 0 0.5em;
	min-height: 52px;
	padding: 6px 12px;
}

.mb-tt__num {
	font-size: 1.7em;
	line-height: 1;
}

.mb-tt__dname {
	align-items: baseline;
	display: inline-flex;
	font-size: 0.95em;
	gap: 0.3em;
}

.mb-tt__mon {
	opacity: 0.85;
}

.mb-tt--grid .mb-tt__cell {
	background: color-mix(in srgb, var(--mb-tier0) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--mb-tier0) 40%, transparent);
	border-radius: var(--mb-radius-sm);
	min-height: 52px;
}

.mb-tt--grid .mb-tt__cell--low {
	background: color-mix(in srgb, var(--mb-low) 18%, transparent);
	border-color: color-mix(in srgb, var(--mb-low) 55%, transparent);
}

.mb-tt--grid .mb-tt__cell--sold_out,
.mb-tt--grid .mb-tt__cell--unavailable,
.mb-tt--grid .mb-tt__cell--passed {
	background: color-mix(in srgb, currentColor 5%, transparent);
	border-color: var(--mb-line);
}

.mb-tt--grid .mb-tt__cell--sold_out .mb-tt__status {
	text-decoration: line-through;
}

.mb-tt--grid .mb-tt__cell--none {
	background: none;
	border: 1px dashed var(--mb-line);
}

.mb-tt--grid .mb-tt__cell:not([disabled]):not(.mb-tt__cell--none):hover,
.mb-tt--grid .mb-tt__cell:focus-visible {
	background: color-mix(in srgb, var(--mb-tier0) 24%, transparent);
}

.mb-tt--grid .mb-tt__cell.is-selected::after {
	border-radius: inherit;
	border-width: 2px;
}

.mb-tt--grid .mb-tt__status {
	font-size: 0.82em;
}

/* The box itself shows the state, so no pill inside it. */
.mb-picker--status-pill .mb-tt--grid .mb-tt__status {
	background: none;
	padding: 0;
}

.mb-tt.mb-tt--grid .mb-tt__mount {
	padding: 4px 0 6px;
}

@media (max-width: 600px) {
	.mb-picker .mb-tt.mb-tt--grid {
		gap: 5px;
		padding: 6px;
	}

	.mb-tt--grid:not(.mb-tt--many) .mb-tt__row {
		gap: 5px;
		grid-template-columns: 4.4em repeat(var(--mb-cols, 2), minmax(0, 1fr));
	}

	.mb-tt--grid .mb-tt__head {
		font-size: 0.8em;
		gap: 0.25em;
	}

	.mb-tt--grid .mb-tt__head--date {
		visibility: hidden;
	}

	.mb-tt--grid .mb-tt__hpart {
		display: none;
	}

	.mb-tt--grid:not(.mb-tt--many) .mb-tt__date {
		align-items: center;
		flex-direction: column;
		gap: 0;
		justify-content: center;
		min-height: 48px;
		padding: 4px;
		text-align: center;
	}

	.mb-tt--grid .mb-tt__num {
		font-size: 1.35em;
	}

	.mb-tt--grid:not(.mb-tt--many) .mb-tt__dname {
		flex-direction: column;
		font-size: 0.75em;
		gap: 0;
	}

	.mb-tt--grid .mb-tt__cell {
		min-height: 48px;
		padding: 4px 2px;
	}

	.mb-tt--grid .mb-tt__status {
		font-size: 0.66em;
	}
}

/* --------------------------------------------------- tickets and steppers */

.mb-tickets {
	border: 2px solid var(--mb-line);
	border-radius: 10px;
	margin-top: 16px;
	padding: 14px;
}

.mb-tickets__head {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	justify-content: space-between;
	margin-bottom: 8px;
}

.mb-tickets__when {
	font-size: 1.05em;
	font-weight: 700;
}

/* Under a row of the list (picker.js choose(), 1.37.2): the row already shows the date, time,
   price and places left, so not the panel's heading, nor the price beside a lone ticket type
   (with several types each keeps its price; the row only says "From"). */
.mb-tickets--in-row .mb-tickets__head {
	display: none;
}

.mb-tickets--in-row .mb-tickets__main > .mb-type:first-child {
	border-top: 0;
}

.mb-tickets--in-row.mb-tickets--one-type .mb-type__price {
	display: none;
}

.mb-type {
	align-items: center;
	border-top: 1px solid var(--mb-line);
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 10px 0;
}

.mb-type__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.mb-type__name {
	font-size: 1.05em;
	font-weight: 700;
}

.mb-type__price {
	opacity: 0.85;
}

.mb-type__left {
	color: var(--mb-out);
	font-size: 0.85em;
	font-weight: 600;
}

.mb-stepper {
	align-items: stretch;
	display: flex;
	flex: 0 0 auto;
}

.mb-stepper__btn {
	appearance: none;
	background: var(--mb-soft);
	border: 2px solid var(--mb-line);
	color: inherit;
	cursor: pointer;
	font-size: 26px;
	font-weight: 700;
	height: 52px;
	line-height: 1;
	margin: 0;
	padding: 0;
	touch-action: manipulation;
	user-select: none;
	width: 52px;
}

.mb-stepper__btn--minus { border-radius: var(--mb-radius-sm) 0 0 var(--mb-radius-sm); }
.mb-stepper__btn--plus { border-radius: 0 var(--mb-radius-sm) var(--mb-radius-sm) 0; }

.mb-stepper__btn:not([disabled]):hover,
.mb-stepper__btn:focus-visible {
	border-color: currentColor;
}

.mb-stepper__btn:not([disabled]):active {
	transform: scale(0.96);
}

.mb-stepper__btn[disabled] {
	cursor: not-allowed;
	opacity: 0.35;
}

.mb-picker input.mb-stepper__input {
	appearance: textfield;
	-moz-appearance: textfield;
	background: transparent;
	border: 2px solid var(--mb-line);
	border-left: 0;
	border-radius: 0;
	border-right: 0;
	color: inherit;
	font-size: 20px;
	font-weight: 700;
	height: 52px;
	margin: 0;
	min-height: 0;
	padding: 0;
	text-align: center;
	width: 56px;
}

.mb-stepper__input::-webkit-outer-spin-button,
.mb-stepper__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.mb-type.is-active .mb-stepper__input {
	border-color: var(--mb-good);
}

/* Booking fee: a line with the tickets, and a note under the dates. */
.mb-fee {
	align-items: center;
	border-top: 1px solid var(--mb-line);
	display: flex;
	font-size: 0.9em;
	gap: 12px;
	justify-content: space-between;
	margin: 0;
	padding: 8px 0;
}

.mb-fee__label {
	font-weight: 600;
}

.mb-fee__amount {
	opacity: 0.85;
	text-align: right;
}

.mb-fee--note {
	display: block;
	font-size: 0.9em;
	opacity: 0.85;
}

.mb-fee-note {
	font-size: 0.9em;
	margin: 10px 0 0;
	opacity: 0.85;
}

.mb-tickets__note {
	color: var(--mb-out);
	font-size: 0.9em;
	margin: 8px 0 0;
}

.mb-attendees {
	border-top: 1px solid var(--mb-line);
	display: grid;
	gap: 8px;
	padding-top: 10px;
}

.mb-attendees__field {
	display: grid;
	font-size: 0.9em;
	gap: 4px;
}

.mb-attendees__field input {
	min-height: 44px;
	width: 100%;
}

.mb-tickets__foot {
	align-items: center;
	border-top: 1px solid var(--mb-line);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	padding-top: 12px;
}

.mb-tickets__total {
	font-size: 1.2em;
	font-weight: 700;
}

.mb-tickets__submit {
	-webkit-appearance: none;
	appearance: none;
	min-height: 52px;
	min-width: 180px;
}

.mb-cart-type {
	display: inline-block;
	font-weight: 700;
}

.mb-cart-type::before {
	content: "\2014";
	margin: 0 6px;
}

@media (max-width: 600px) {
	.mb-cal__cell {
		min-height: 70px;
	}

	.mb-cal__date {
		font-size: 1em;
		padding: 10px 2px;
	}

	.mb-cal__status {
		font-size: 0.6em;
		letter-spacing: 0;
		padding: 6px 1px;
	}

	.mb-cal__head {
		font-size: 0.8em;
	}

	.mb-times__grid {
		grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
	}

	.mb-row__main {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.mb-row .mb-level {
		min-width: 0;
		text-align: left;
	}

	.mb-row__select {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	/* A pass on a phone: the name over the price on the left, the button over the places left on the right. */
	.mb-pass > .mb-row__main {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.mb-pass > .mb-row__main > .mb-row__when {
		grid-column: 1;
		grid-row: 1;
	}

	.mb-pass > .mb-row__main > .mb-row__price {
		grid-column: 1;
		grid-row: 2;
	}

	.mb-pass > .mb-row__main > .mb-row__select {
		grid-column: 2;
		grid-row: 1;
	}

	.mb-pass > .mb-row__main > .mb-level {
		grid-column: 2;
		grid-row: 2;
	}

	.mb-filters__field {
		flex: 1 1 140px;
	}

	.mb-tickets__submit {
		width: 100%;
	}

	.mb-stepper__btn {
		height: 56px;
		width: 56px;
	}

	.mb-picker input.mb-stepper__input {
		height: 56px;
	}
}

/* List grouped by date: one row per date, its times as buttons underneath. */
.mb-row__main--group {
	grid-template-columns: minmax(0, 1fr) auto auto;
	padding-bottom: 6px;
}

.mb-row__main--group.mb-row__main--nostatus {
	grid-template-columns: minmax(0, 1fr) auto;
}

.mb-row__times {
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	padding: 0 8px 12px;
}

.mb-row .mb-time .mb-level {
	min-width: 0;
	text-align: center;
}

.mb-picker__title {
	margin: 0 0 12px;
}

/*
 * WooCommerce product page overrides (Monster Bookings > Settings > WooCommerce).
 * The hooks are removed in PHP; these cover themes that build the page their own way.
 */
.product.mb-hide-image .woocommerce-product-gallery,
.product.mb-hide-image div.images,
.product.mb-hide-image .onsale {
	display: none !important;
}

.product.mb-hide-image div.summary,
.product.mb-hide-image .summary.entry-summary {
	float: none !important;
	max-width: 100% !important;
	width: 100% !important;
}

.product.mb-hide-price .summary > .price,
.product.mb-hide-price .summary p.price {
	display: none !important;
}

.product.mb-hide-title .summary .product_title { display: none !important; }
.product.mb-hide-meta .summary .product_meta { display: none !important; }
.product.mb-hide-tabs .woocommerce-tabs { display: none !important; }
.product.mb-hide-related .related.products,
.product.mb-hide-related .upsells.products { display: none !important; }

/* A wide ticket panel: tickets and add-ons on the left, the booking summary with the total and
   Add to basket on the right, letters side by side. Narrow panels keep one column. */
.mb-tickets {
	container: mb-tickets / inline-size;
}

.mb-tickets__summary {
	display: none;
}

.mb-tickets__sumtitle {
	font-size: 0.8em;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-bottom: 10px;
	opacity: 0.8;
	text-transform: uppercase;
}

.mb-picker ul.mb-tickets__lines {
	display: grid;
	font-size: 0.95em;
	gap: 8px;
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

.mb-picker ul.mb-tickets__lines li {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mb-picker ul.mb-tickets__lines li::before {
	content: none;
}

.mb-tickets__lines li span:last-child {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.mb-tickets__lines[hidden],
.mb-tickets__empty[hidden] {
	display: none;
}

.mb-tickets__empty {
	font-size: 0.9em;
	margin: 0 0 14px;
	opacity: 0.75;
}

@container mb-tickets (min-width: 760px) {
	.mb-tickets__body {
		align-items: start;
		display: grid;
		gap: 0 28px;
		grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	}

	.mb-tickets__side {
		background: var(--mb-soft);
		border-radius: var(--mb-radius-sm);
		margin-top: 10px;
		padding: 16px;
		position: sticky;
		top: 24px;
	}

	.mb-tickets__summary {
		display: block;
	}

	.mb-tickets__foot {
		align-items: stretch;
		flex-direction: column;
	}

	.mb-tickets__submit {
		min-width: 0;
		width: 100%;
	}

	.mb-tickets .mb-addon {
		align-items: center;
		column-gap: 12px;
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.mb-tickets .mb-addon__main {
		display: contents;
	}

	.mb-tickets .mb-addon__img {
		grid-column: 1;
	}

	.mb-tickets .mb-addon__info {
		grid-column: 2;
	}

	.mb-tickets .mb-addon__main > .mb-stepper,
	.mb-tickets .mb-addon__main > .mb-level {
		grid-column: 3;
	}

	/* Two or more letters share the row, out to the edge of the +; one sits under the words. */
	.mb-tickets .mb-addon__sets {
		align-items: start;
		grid-column: 1 / -1;
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	}

	.mb-tickets .mb-addon__sets:has(> .mb-ao-set:only-child) {
		grid-column: 2;
	}
}

/* ------------------------------------------------------ personalised add-ons */

.mb-addons {
	border-top: 1px solid var(--mb-line);
	margin-top: 4px;
	padding-top: 12px;
}

.mb-addons__title {
	font-size: 0.8em;
	font-weight: 700;
	letter-spacing: 0.08em;
	opacity: 0.8;
	text-transform: uppercase;
}

.mb-addon {
	padding: 10px 0;
}

.mb-addon + .mb-addon {
	border-top: 1px solid var(--mb-line);
}

.mb-addon__main {
	align-items: center;
	display: flex;
	gap: 12px;
}

.mb-addon__img {
	border-radius: 6px;
	flex: 0 0 auto;
	height: 56px;
	object-fit: cover;
	width: 56px;
}

.mb-addon__info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.mb-addon__name {
	font-weight: 700;
}

.mb-addon__pitch {
	font-size: 0.9em;
	opacity: 0.85;
}

.mb-addon__price {
	font-size: 0.9em;
}

.mb-addon__what {
	appearance: none;
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	padding: 0;
	text-decoration: underline;
}

.mb-addon--out {
	opacity: 0.6;
}

.mb-addon__limit {
	font-size: 0.85em;
	font-weight: 600;
}

.mb-addon[hidden],
.mb-addons[hidden] {
	display: none;
}

/* Product Add-Ons fields drawn inside the booking form, once per item. */
.mb-ao-set--pao .wc-pao-addon-container {
	margin: 0 0 12px;
}

.mb-ao-set--pao .wc-pao-addon-name,
.mb-ao-set--pao .wc-pao-addon-heading,
.mb-ao-set--pao .wc-pao-legend {
	margin: 0 0 4px;
	padding: 0;
}

.mb-ao-set--pao .wc-pao-fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.mb-ao-set--pao .wc-pao-addon-description,
.mb-ao-set--pao .wc-pao-addon-description p {
	margin: 0 0 6px;
}

/* "Match the booking form" (an add-on's default): the fields' titles, help text, choices and
   required mark take the form's own type, not the fonts and sizes the theme gives the product
   page. "As on the product page" leaves them to the theme. */
.mb-picker .mb-ao-set--fit .wc-pao-addon-name,
.mb-picker .mb-ao-set--fit .wc-pao-addon-heading,
.mb-picker .mb-ao-set--fit .wc-pao-legend {
	color: inherit;
	font-family: inherit;
	font-size: 1em;
	font-style: normal;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.4;
	text-transform: none;
}

.mb-picker .mb-ao-set--fit .wc-pao-addon-description,
.mb-picker .mb-ao-set--fit .wc-pao-addon-description p {
	color: inherit;
	font-family: inherit;
	font-size: 0.9em;
	font-style: normal;
	letter-spacing: normal;
	line-height: 1.5;
	opacity: 0.85;
	text-transform: none;
}

.mb-picker .mb-ao-set--fit label:not(.wc-pao-addon-name) {
	color: inherit;
	font-family: inherit;
	font-size: 1em;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
}

.mb-picker .mb-ao-set--fit input,
.mb-picker .mb-ao-set--fit textarea,
.mb-picker .mb-ao-set--fit select {
	font-family: inherit;
	letter-spacing: normal;
}

/* The required mark, the same on Product Add-Ons fields and the form's own questions. */
.mb-picker .mb-ao-set--fit .required,
.mb-picker .mb-ao-field__label abbr {
	border: 0;
	font-style: normal;
	font-weight: inherit;
	text-decoration: none;
}

/* Never red, in either look: it takes the text colour. */
.mb-picker .mb-ao-set .required,
.mb-picker .mb-ao-field__label abbr {
	color: inherit !important;
}

.mb-ao-set--pao input[type="text"],
.mb-ao-set--pao textarea,
.mb-ao-set--pao select {
	box-sizing: border-box;
	font-size: 16px; /* Stops iOS zooming the page on focus. */
	min-height: 44px;
	width: 100%;
}

.mb-ao-set--pao .form-row {
	margin: 0;
	padding: 0;
}

.mb-ao-set--pao label {
	cursor: pointer;
}

.mb-ao-set--pao label.wc-pao-addon-name {
	display: block;
}

.mb-ao-set--pao input[type="radio"] + label {
	display: inline;
	margin-left: 4px;
}

.mb-addon__sets:empty {
	display: none;
}

.mb-addon__sets,
.mb-addon-fields__sets {
	display: grid;
	gap: 10px;
	margin-top: 10px;
}

.mb-ao-set {
	border: 1px solid var(--mb-line, rgba(128, 128, 128, 0.35));
	border-radius: 8px;
	display: grid;
	gap: 10px;
	margin: 0;
	min-width: 0;
	padding: 12px;
}

.mb-ao-set legend {
	font-weight: 700;
	padding: 0 6px;
}

.mb-ao-field {
	display: grid;
	gap: 4px;
}

.mb-ao-field__label {
	font-size: 0.9em;
	font-weight: 600;
}

.mb-ao-field input[type="text"],
.mb-ao-field textarea,
.mb-ao-field select {
	box-sizing: border-box;
	font-size: 16px; /* Stops iOS zooming the page on focus. */
	min-height: 44px;
	width: 100%;
}

.mb-ao-field__help {
	font-size: 0.85em;
	opacity: 0.8;
}

.mb-addon-fields {
	margin: 0 0 16px;
}

.mb-addon-closed {
	font-weight: 700;
}

.mb-ao-modal__img {
	border-radius: 8px;
	display: block;
	margin: 0 auto 12px;
	max-height: 220px;
	max-width: 100%;
}

.mb-ao-modal__price {
	font-weight: 700;
}

.mb-addon-qty {
	font-weight: 700;
}

@media (max-width: 600px) {
	.mb-addon__main {
		flex-wrap: wrap;
	}

	.mb-addon .mb-stepper {
		margin-left: auto;
	}

}

/* Basket flag pop-up */
.mb-flag-overlay {
	align-items: center;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 16px;
	position: fixed;
	z-index: 100000;
}

.mb-flag-modal {
	background: #fff;
	border-radius: 8px;
	color: #222;
	max-height: 90vh;
	max-width: 520px;
	overflow: auto;
	padding: 24px;
	width: 100%;
}

.mb-flag-modal h2 {
	margin-top: 0;
}

.mb-flag {
	border-top: 1px solid #e5e5e5;
	padding: 12px 0;
}

.mb-flag__ack {
	display: block;
	font-weight: 600;
	margin-top: 8px;
}

.mb-flag-modal__actions {
	margin: 12px 0 0;
	text-align: right;
}

/* My Account and thank-you ticket lists */
.mb-ticket-list {
	border-collapse: collapse;
	width: 100%;
}

.mb-ticket-list th,
.mb-ticket-list td {
	padding: 8px;
	text-align: left;
}


/* Pop-ups sit outside the picker, so they set their own box model. */
.mb-flag-overlay,
.mb-flag-overlay * {
	box-sizing: border-box;
}

.mb-flag-modal .button {
	min-height: 44px;
	min-width: 120px;
}

.mb-ao-modal {
	display: flex;
	flex-direction: column;
}

/* Pop-ups from the booking form use the form's type, not the theme's heading or button fonts. */
.mb-flag-overlay .mb-switch-modal h2,
.mb-flag-overlay .mb-ao-modal h2 {
	font-family: inherit;
	font-size: 1.3em;
	font-style: normal;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.3;
	text-transform: none;
}

.mb-flag-overlay .mb-switch-modal p,
.mb-flag-overlay .mb-ao-modal p,
.mb-flag-overlay .mb-switch-modal .button,
.mb-flag-overlay .mb-ao-modal .button {
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
}

.mb-flag-overlay .mb-switch-modal .button {
	font-size: 0.95em;
}

/* The basket's hold countdown. */
.mb-hold-timer__left {
	font-variant-numeric: tabular-nums;
}

.mb-switch-modal .mb-flag-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

/* Keep is the quiet choice (and has the focus); Change is the solid button. */
.mb-flag-overlay .mb-switch-modal button.mb-switch-keep {
	background: transparent;
	border: 2px solid currentColor;
	box-shadow: none;
	color: inherit;
}

@media (max-width: 600px) {
	.mb-switch-modal .mb-flag-modal__actions .button {
		width: 100%;
	}
}

.mb-ao-modal__body {
	flex: 1 1 auto;
}

/* The add-on description fills the screen on phones. */
@media (max-width: 600px) {
	.mb-flag-overlay.mb-ao-overlay {
		align-items: stretch;
		padding: 0;
	}

	.mb-flag-overlay.mb-ao-overlay .mb-ao-modal {
		border-radius: 0;
		max-height: none;
		max-width: none;
		padding-bottom: calc(24px + env(safe-area-inset-bottom));
	}

	.mb-flag-overlay.mb-ao-overlay .mb-flag-modal__actions .button {
		width: 100%;
	}
}

/* ------------------------------------------------------------ style options */

/* Background behind the dates: none, a light tint of the text colour, or a solid panel. */
.mb-picker--panel-tint {
	--mb-panel-bg: rgba(128, 128, 128, 0.07);
}

@supports (background: color-mix(in srgb, red 5%, transparent)) {
	.mb-picker--panel-tint {
		--mb-panel-bg: color-mix(in srgb, currentColor 5%, transparent);
	}
}

.mb-picker--panel-solid {
	--mb-panel-bg: var(--mb-surface, #fff);
}

.mb-picker--shadow {
	--mb-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 12px 32px -14px rgba(0, 0, 0, 0.28);
}

.mb-picker--corners-square {
	--mb-radius: 0px;
	--mb-radius-sm: 0px;
}

.mb-picker--corners-round {
	--mb-radius: 18px;
	--mb-radius-sm: 999px;
}

.mb-picker--text {
	color: var(--mb-text);
}

.mb-picker--font,
.mb-picker--font :where(button:not(.button), input, select, textarea) {
	font-family: var(--mb-font);
}

.mb-picker--size-small {
	font-size: 0.875em;
}

.mb-picker--size-large {
	font-size: 1.125em;
}

/* Calendar and timetable: one outlined panel, lines only between cells. */
.mb-cal,
.mb-tt {
	background: var(--mb-panel-bg);
	border: 1px solid var(--mb-line);
	border-radius: var(--mb-radius);
	box-shadow: var(--mb-shadow);
	overflow: hidden;
}

.mb-cal__row > :last-child,
.mb-tt__row > :last-child,
.mb-cal__month,
.mb-tt__month,
.mb-picker .mb-tt__row,
.mb-tt .mb-tt__mount {
	border-right: 0;
}

.mb-cal > :last-child > *,
.mb-cal > .mb-cal__month:last-child,
.mb-tt > .mb-tt__day:last-child > .mb-tt__row,
.mb-tt > .mb-tt__day:last-child > .mb-tt__row > *,
.mb-tt > .mb-tt__day:last-child > .mb-tt__mount {
	border-bottom: 0;
}

.mb-tt__cell.is-selected {
	background: color-mix(in srgb, var(--mb-accent) 10%, transparent);
}

/* List, times, passes and the ticket panel sit on the same background. */
.mb-picker:not(.mb-picker--panel-none) .mb-list,
.mb-picker:not(.mb-picker--panel-none) .mb-passes,
.mb-picker:not(.mb-picker--panel-none) .mb-times:not([hidden]) {
	background: var(--mb-panel-bg);
	border: 1px solid var(--mb-line);
	border-radius: var(--mb-radius);
	box-shadow: var(--mb-shadow);
	padding: 8px 18px 12px;
}

.mb-picker:not(.mb-picker--panel-none) .mb-times:not([hidden]) {
	padding: 16px 18px;
}

.mb-list > .mb-row:last-child {
	border-bottom: 0;
}

.mb-list > .mb-list__month:first-child,
.mb-list > .mb-list__year:first-child {
	margin-top: 8px;
}

.mb-tickets {
	background: var(--mb-panel-bg);
	border: 1px solid var(--mb-line);
	border-radius: var(--mb-radius);
	box-shadow: var(--mb-shadow);
}

/* In the timetable and the list the ticket panel opens flat under its row, as part of the
   table: no card, no shadow, no tinted strip behind it (the chosen time keeps its own
   highlight). Under the calendar it keeps its card. */
.mb-tt .mb-tt__mount .mb-tickets,
.mb-list .mb-row__mount .mb-tickets,
.mb-passes .mb-row__mount .mb-tickets {
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-top: 0;
	padding: 12px 4px 4px;
}

.mb-tt__day.is-selected .mb-tt__mount,
.mb-list .mb-row.is-selected,
.mb-passes .mb-row.is-selected {
	background: none;
}

.mb-row.is-selected {
	background: color-mix(in srgb, var(--mb-accent) 6%, transparent);
}

/* Dates in the list wear the calendar's price colours. */
.mb-row__date {
	background: var(--mb-tier0);
	border-radius: var(--mb-radius-sm);
	color: var(--mb-date-text, #fff);
	display: inline-block;
	font-weight: 700;
	line-height: 1.3;
	margin-right: 0.35em;
	padding: 0.25em 0.7em;
}

.mb-row__date--tier1 { background: var(--mb-tier1); }
.mb-row__date--tier2 { background: var(--mb-tier2); }
.mb-row__date--tier3 { background: var(--mb-tier3); }

/* Time buttons: the accent shows on hover and when chosen. */
.mb-time {
	border-radius: var(--mb-radius-sm);
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mb-time:not([disabled]):hover,
.mb-time:focus-visible {
	border-color: var(--mb-accent);
}

.mb-time.is-selected {
	background: var(--mb-soft);
	background: color-mix(in srgb, var(--mb-accent) 14%, transparent);
	border-color: var(--mb-accent);
}

.mb-legend__item {
	border-radius: var(--mb-radius-sm);
}

/* Availability labels: small capitals (default), plain words, or soft pills. */
.mb-picker--status-plain .mb-level,
.mb-picker--status-plain .mb-cal__status,
.mb-picker--status-plain .mb-tt__status {
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.mb-picker--status-pill .mb-level,
.mb-picker--status-pill .mb-cal__status,
.mb-picker--status-pill .mb-tt__status {
	background: rgba(128, 128, 128, 0.14);
	background: color-mix(in srgb, currentColor 13%, transparent);
	border-radius: 999px;
	display: inline-block;
	font-weight: 600;
	letter-spacing: 0;
	padding: 0.2em 0.75em;
	text-transform: none;
	width: auto;
}

.mb-picker--status-pill .mb-cal__status {
	align-self: center;
	margin: 6px 4px;
}

@media (prefers-reduced-motion: reduce) {
	.mb-time {
		transition: none;
	}
}

/* ------------------------------------------------------------ waiting list */
/* waitlist.js: a box for a sold-out time (where its tickets would open), one above the dates
   when every date is sold out, and one on its own when an event has no dates on sale. */

.mb-time.is-wait,
.mb-tt__cell.is-wait,
.mb-cal__cell.is-wait,
.mb-time.is-soon,
.mb-tt__cell.is-soon,
.mb-cal__cell.is-soon {
	cursor: pointer;
}

/* Coming soon: listed as it will be, in a dashed outline, opening "Tell me when". */
.mb-time.is-soon {
	border-style: dashed;
}

.mb-cal__cell--soon .mb-cal__status {
	color: var(--mb-accent);
}

.mb-cal__cell.is-soon .mb-cal__date {
	opacity: 0.75;
}

.mb-time.is-wait {
	opacity: 1;
}

/* A private event (custom event) behind a password: dashed, opening its password page. An
   enquire-only time looks the same, opening the enquiry page. */
.mb-time--private,
.mb-tt__cell--private,
.mb-cal__cell--private,
.mb-row--private .mb-row__select,
.mb-time--enquire,
.mb-tt__cell--enquire,
.mb-cal__cell--enquire,
.mb-row--enquire .mb-row__select {
	cursor: pointer;
	opacity: 1;
}

.mb-time--private,
.mb-time--enquire {
	border-style: dashed;
}

.mb-level--private,
.mb-cal__cell--private .mb-cal__status,
.mb-tt__cell--private .mb-tt__status,
.mb-level--enquire,
.mb-cal__cell--enquire .mb-cal__status,
.mb-tt__cell--enquire .mb-tt__status {
	color: var(--mb-accent);
}

/* An enquire-only time with no link to go to: just its words. */
.mb-time--enquire[disabled],
.mb-tt__cell--enquire[disabled],
.mb-row--enquire .mb-row__select[disabled] {
	cursor: default;
}

.mb-time.is-wait .mb-time__label,
.mb-tt__cell.is-wait .mb-tt__time {
	opacity: 0.6;
	text-decoration: line-through;
}

.mb-cal__cell.is-wait .mb-cal__date {
	opacity: 0.55;
	text-decoration: line-through;
}

.mb-wait-hint {
	display: block;
	font-size: 0.8em;
	font-weight: 700;
	margin-top: 2px;
	text-decoration: underline;
}

.mb-wait {
	border: 2px solid var(--mb-line);
	border-radius: 10px;
	margin-top: 16px;
	padding: 14px 16px;
	position: relative;
}

.mb-wait-top .mb-wait {
	margin: 0 0 16px;
}

.mb-wait-standalone .mb-wait {
	margin: 0;
}

.mb-wait p {
	margin: 0 0 10px;
}

.mb-wait__title {
	font-size: 1.05em;
	font-weight: 700;
	padding-right: 32px;
}

.mb-wait__close {
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	font-size: 1.6em;
	line-height: 1;
	padding: 4px 8px;
	position: absolute;
	right: 6px;
	top: 6px;
}

.mb-wait__label {
	display: block;
	font-weight: 700;
	margin: 0 0 6px;
}

.mb-wait__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mb-wait__row input[type="email"] {
	flex: 1 1 200px;
	min-width: 0;
}

.mb-wait__mailing {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	gap: 8px;
	margin: 12px 0 0;
}

.mb-wait__mailing input {
	flex: none;
	margin-top: 3px;
}

.mb-wait .mb-wait__small {
	font-size: 0.8em;
	margin: 10px 0 0;
	opacity: 0.8;
}

.mb-wait .mb-wait__msg {
	margin: 8px 0 0;
}

.mb-wait .mb-wait__msg:empty {
	display: none;
}

.mb-wait__msg.is-bad {
	color: var(--mb-out);
	font-weight: 700;
}

.mb-wait .mb-wait__done {
	color: var(--mb-good);
	font-weight: 700;
	margin: 0;
}

.mb-offsale__mailing {
	justify-content: center;
	text-align: left;
}

/* ---------------------------------------------- tickets already in the basket */
/* picker.js with BasketBookings: the box above the dates when the basket has tickets for this
   event, the "In basket" marks on their dates and times, and the line in the ticket panel. */

.mb-incart {
	background: var(--mb-soft);
	border: 2px solid var(--mb-accent);
	border-radius: var(--mb-radius);
	margin: 0 0 16px;
	padding: 14px 16px;
}

.mb-incart__title {
	font-size: 1.1em;
	font-weight: 700;
	margin-bottom: 6px;
}

/* Back from "Start again". */
.mb-incart--done {
	border-color: var(--mb-good);
}

.mb-picker .mb-incart--done .mb-incart__title {
	font-size: 1em;
	margin: 0;
}

.mb-picker ul.mb-incart__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mb-picker .mb-incart__item {
	align-items: center;
	border-top: 1px solid var(--mb-line);
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	padding: 10px 0;
}

.mb-picker .mb-incart__item::before {
	content: none;
}

.mb-incart__text {
	min-width: 0;
}

.mb-incart__when,
.mb-incart__what {
	display: block;
}

.mb-incart__actions {
	border-top: 1px solid var(--mb-line);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 12px;
}

.mb-picker .mb-incart .button {
	margin: 0;
}

.mb-incart__other {
	font-size: 0.9em;
	margin: 10px 0 0;
	opacity: 0.8;
}

@media (max-width: 600px) {
	.mb-picker .mb-incart__item .button,
	.mb-picker .mb-incart__actions .button {
		flex: 1 1 100%;
		text-align: center;
	}
}

.mb-inbasket {
	background: var(--mb-accent);
	border-radius: 999px;
	color: var(--mb-date-text, #fff);
	display: inline-block;
	font-size: 0.7em;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.4;
	padding: 2px 8px;
	text-transform: uppercase;
	vertical-align: middle;
	white-space: nowrap;
}

.mb-time .mb-inbasket {
	margin-top: 2px;
}

/* A tick in the corner of a date, or a timetable time, already in the basket. */
.mb-cal__cell.is-in-basket::before,
.mb-tt__cell.is-in-basket::before {
	align-items: center;
	background: var(--mb-date-text, #fff);
	border: 2px solid var(--mb-accent);
	border-radius: 50%;
	color: var(--mb-accent);
	content: "\2713";
	display: flex;
	font-size: 11px;
	font-weight: 700;
	height: 18px;
	justify-content: center;
	line-height: 1;
	pointer-events: none;
	position: absolute;
	right: 4px;
	top: 4px;
	width: 18px;
	z-index: 1;
}

.mb-tickets__had {
	background: var(--mb-soft);
	border-left: 4px solid var(--mb-accent);
	border-radius: var(--mb-radius-sm);
	margin: 0 0 10px;
	padding: 8px 12px;
}

.mb-flag-overlay .mb-restart-modal__list {
	margin: 0 0 8px;
	padding-left: 1.2em;
}

.mb-flag-overlay .mb-restart-modal__list li {
	margin: 4px 0;
}

/* ------------------------------------------- "Your booking" on the basket and checkout */
/* BasketBookings: each booking's date, time and tickets above the basket or checkout, and
   "Add to your visit?" (the booking form's panel with only its add-ons) in the basket. */

.mb-booked {
	--mb-line: rgba(128, 128, 128, 0.35);
	--mb-soft: rgba(128, 128, 128, 0.12);
	--mb-accent: var(--mb-selected, var(--mb-tier0, #12617f));
	border: 2px solid var(--mb-line);
	border-left: 6px solid var(--mb-accent);
	border-radius: 10px;
	box-sizing: border-box;
	line-height: 1.45;
	margin: 0 0 24px;
	padding: 16px 18px;
}

.mb-booked[hidden] {
	display: none;
}

.mb-booked h2.mb-booked__title {
	font-size: 0.85em;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	margin: 0 0 8px;
	opacity: 0.8;
	text-transform: uppercase;
}

.mb-booked__item + .mb-booked__item {
	border-top: 1px solid var(--mb-line);
	margin-top: 14px;
	padding-top: 14px;
}

.mb-booked__event {
	font-weight: 700;
}

.mb-booked__when {
	font-size: 1.25em;
	font-weight: 700;
	line-height: 1.3;
	margin: 2px 0 10px;
}

.mb-booked__time::before {
	content: "\00b7";
	margin: 0 8px;
}

.mb-booked ul.mb-booked__tickets,
.mb-booked ul.mb-booked__extras {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mb-booked ul.mb-booked__extras {
	margin-top: 6px;
}

.mb-booked .mb-booked__tickets li,
.mb-booked .mb-booked__extras li {
	background: var(--mb-soft);
	border-radius: 999px;
	list-style: none;
	margin: 0;
	padding: 4px 12px;
}

.mb-booked .mb-booked__extras li {
	background: transparent;
	border: 1px solid var(--mb-line);
}

.mb-booked .mb-booked__tickets li::before,
.mb-booked .mb-booked__extras li::before {
	content: none;
}

.mb-picker--extras {
	margin: 14px 0 0;
}

/* One column, the total and Add to basket on one line: there is no summary to sit beside. */
.mb-tickets--extras .mb-tickets__body {
	display: block;
}

.mb-tickets--extras .mb-tickets__summary {
	display: none;
}

.mb-tickets--extras .mb-tickets__side {
	background: none;
	margin-top: 0;
	padding: 0;
	position: static;
}

.mb-tickets--extras .mb-tickets__foot {
	align-items: center;
	flex-direction: row;
}

.mb-tickets--extras .mb-tickets__submit {
	min-width: 180px;
	width: auto;
}

.mb-tickets--extras .mb-tickets__when {
	font-size: 1.1em;
}

/* Basket and checkout lines: the date and time stand out, and the ticket type, already in the
   line's name (block: assets/basket.js; classic: Cart::cart_item_name), is not repeated. */
.mb-booking-line .wc-block-components-product-details__date .wc-block-components-product-details__value,
.mb-booking-line .wc-block-components-product-details__time .wc-block-components-product-details__value,
.woocommerce-cart-form .variation dd.variation-Date,
.woocommerce-cart-form .variation dd.variation-Time,
.woocommerce-checkout-review-order-table .variation dd.variation-Date,
.woocommerce-checkout-review-order-table .variation dd.variation-Time {
	font-weight: 700;
}

.mb-booking-line .wc-block-components-product-details__ticket-type,
.woocommerce-cart-form .variation .variation-Tickettype,
.woocommerce-checkout-review-order-table .variation .variation-Tickettype {
	display: none;
}

/* Passed (a date or time that has gone, Picker level "passed"): on show, greyed, not bookable,
   and not struck through like a sold-out one. */
.mb-level--passed,
.mb-cal__cell--passed .mb-cal__status,
.mb-tt__cell--passed .mb-tt__status {
	color: inherit;
	opacity: 0.7;
}

.mb-cal__cell--passed,
.mb-tt__cell--passed,
.mb-time--passed,
.mb-row--passed .mb-row__select {
	cursor: default;
}

.mb-cal__cell.mb-cal__cell--passed .mb-cal__date,
.mb-tt__day.mb-tt__day--passed .mb-tt__date,
.mb-tt__cell.mb-tt__cell--passed .mb-tt__time,
.mb-time.mb-time--passed .mb-time__label {
	filter: grayscale(1);
	opacity: 0.45;
	text-decoration: none;
}

.mb-row--passed .mb-row__when,
.mb-row--passed .mb-row__price {
	opacity: 0.5;
}

.mb-picker__passed {
	font-weight: 600;
}
