/*
 * Theater bookings: the visitor's flow, the manage page and the two small blocks, in the
 * site's look (docs/BOOKINGS.md §4). Plain CSS, no build. The theme's tokens (--cst-*, the
 * plugin's --cs-*) with fallbacks, so another theme still gets a working page. The fields take
 * the site's form design from forms.css (.cs-form .cs-field); this file adds the calendar, the
 * time cards, the chips, the running total and the notices. Phone first; 44px targets.
 */

.tb-flow,
.tb-book,
.tb-next-block,
.tb-hours {
	--tb-gold: var(--cst-gold, #d8a83e);
	--tb-gold-dark: var(--cst-gold-dark, #c79c3a);
	--tb-ink: var(--cst-ink, #0d0d0d);
	--tb-line: var(--cs-line, var(--cst-rule-line, #e2e2e2));
	--tb-soft: var(--cst-soft, #6a6a6a);
	--tb-surface: var(--cst-surface, #f3f3f3);
	--tb-panel: var(--csf-panel, #fff);
	--tb-accent: var(--cs-accent, var(--cs-look-accent-deep, #8a6410));
	--tb-error: var(--csf-error, #b3261e);
	--tb-head: var(--cst-heading, "Roboto Condensed", "Arial Narrow", Arial, sans-serif);
	--tb-radius: var(--cst-radius, 2px);
	--tb-radius-card: var(--cst-radius-card, 14px);
	--tb-shadow: var(--cst-shadow-card, 0 8px 26px rgb(0 0 0 / 12%));
	--tb-shadow-hover: var(--cst-shadow-card-hover, 0 14px 34px rgb(0 0 0 / 18%));
	--tb-ease: var(--cst-ease, cubic-bezier(0.2, 0.7, 0.2, 1));
	box-sizing: border-box;
	max-width: 100%;
}

.tb-flow *,
.tb-flow *::before,
.tb-flow *::after {
	box-sizing: border-box;
}

.tb-flow {
	scroll-margin-top: calc(var(--wp--custom--header-height, 4rem) + 1rem);
}

.tb-flow__body:focus {
	outline: none;
}

.tb-flow.is-busy .tb-flow__body {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.2s var(--tb-ease);
}

.tb-flow .cs-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.tb-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------------------------------------------------------------- Headings, the steps */

.tb-flow__title {
	margin: 0 0 0.5rem;
	font-family: var(--tb-head);
	font-size: var(--wp--preset--font-size--x-large, 1.75rem);
	letter-spacing: 0.04em;
	line-height: 1.1;
	text-transform: uppercase;
}

.tb-flow__title::after {
	display: block;
	width: var(--cst-rule-w, 3rem);
	height: var(--cst-rule-h, 3px);
	margin-top: 0.4em;
	background: var(--tb-gold);
	content: "";
}

.tb-flow__lead {
	margin: 0.75rem 0 1.25rem;
	color: var(--tb-soft);
}

.tb-flow__when {
	color: inherit;
	font-family: var(--tb-head);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.tb-flow__sub {
	margin: 2rem 0 0.75rem;
	font-family: var(--tb-head);
	font-size: 1rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tb-testmode {
	display: inline-block;
	margin: 0 0 1rem;
	padding: 0.25rem 0.75rem;
	border: 1px dashed var(--tb-gold);
	border-radius: 999px;
	color: var(--tb-accent);
	font-size: 0.8125rem;
	font-weight: 700;
}

.tb-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	font-family: var(--tb-head);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tb-steps__item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	color: var(--tb-soft);
}

.tb-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6rem;
	height: 1.6rem;
	border: 1px solid var(--tb-line);
	border-radius: 50%;
	font-size: 0.75rem;
	letter-spacing: 0;
}

.tb-steps__item.is-done .tb-steps__num {
	border-color: var(--tb-gold);
	color: var(--tb-accent);
}

.tb-steps__item.is-current {
	color: inherit;
}

.tb-steps__item.is-current .tb-steps__num {
	border-color: var(--tb-gold);
	background: var(--tb-gold);
	color: var(--tb-ink);
}

@media (max-width: 479px) {
	.tb-steps__item:not(.is-current) .tb-steps__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}
}

.tb-back {
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
}

.tb-back a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	gap: 0.35em;
	color: var(--tb-accent);
	font-weight: 700;
	text-decoration: none;
}

.tb-back a::before {
	content: "‹";
	font-size: 1.25em;
	line-height: 1;
}

/* ---------------------------------------------------------------- Step 1: the calendar */

.tb-cal {
	max-width: 100%;
	margin: 0 0 1rem;
}

.tb-cal__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 0.75rem;
}

.tb-cal__title {
	margin: 0;
	font-family: var(--tb-head);
	font-size: 1.25rem;
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
}

.tb-cal__step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-radius);
	color: inherit;
	font-size: 1.5rem;
	line-height: 1;
	text-decoration: none;
}

a.tb-cal__step:hover,
a.tb-cal__step:focus-visible {
	border-color: var(--tb-gold);
	color: var(--tb-accent);
}

.tb-cal__step.is-disabled {
	opacity: 0.3;
}

.tb-cal__grid {
	width: 100%;
	margin: 0;
	border-collapse: separate;
	border-spacing: 3px;
	table-layout: fixed;
}

.tb-cal__grid th {
	padding: 0.25rem 0;
	border: 0;
	color: var(--tb-soft);
	font-family: var(--tb-head);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
}

.tb-cal__grid abbr {
	text-decoration: none;
}

.tb-cal__cell {
	height: 3rem;
	padding: 0;
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-radius);
	color: var(--tb-soft);
	text-align: center;
	vertical-align: middle;
}

.tb-cal__cell.is-blank {
	border-color: transparent;
}

.tb-cal__cell > .tb-cal__num {
	opacity: 0.6;
}

.tb-cal__num {
	display: block;
	font-family: var(--tb-head);
	font-weight: 700;
}

.tb-cal__cell.is-open {
	border-color: var(--tb-gold);
	background: color-mix(in srgb, var(--tb-gold) 14%, transparent);
	color: inherit;
}

.tb-cal__day {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 2.75rem;
	color: inherit;
	text-decoration: none;
	transition: background-color 0.2s var(--tb-ease), color 0.2s var(--tb-ease);
}

.tb-cal__day:hover,
.tb-cal__day:focus-visible,
.tb-cal__cell.is-selected .tb-cal__day {
	background: var(--tb-gold);
	color: var(--tb-ink);
}

.tb-cal__day:focus-visible {
	outline: 2px solid var(--tb-accent);
	outline-offset: 2px;
}

.tb-cal__count {
	display: none;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tb-cal__cell.is-today {
	box-shadow: inset 0 -3px 0 var(--tb-soft);
}

.tb-cal__none {
	margin: 0.75rem 0 0;
	color: var(--tb-soft);
}

@media (min-width: 600px) {
	.tb-cal__cell {
		height: 4.5rem;
	}

	.tb-cal__count {
		display: block;
		margin-top: 0.2rem;
	}

	.tb-cal__num {
		font-size: 1.125rem;
	}
}

/* The next open times: a short list (step 1 and tb/next-slots). */
.tb-next {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--tb-line);
	list-style: none;
}

.tb-next li {
	margin: 0;
	border-bottom: 1px solid var(--tb-line);
}

.tb-next__link {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0 1rem;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.6rem 0.25rem;
	color: inherit;
	text-decoration: none;
}

.tb-next__link:hover .tb-next__when,
.tb-next__link:focus-visible .tb-next__when {
	color: var(--tb-accent);
}

.tb-next__when {
	font-family: var(--tb-head);
	font-weight: 700;
	letter-spacing: 0.02em;
}

.tb-next__where {
	grid-column: 1;
	color: var(--tb-soft);
	font-size: 0.875rem;
}

.tb-next__price {
	grid-column: 2;
	grid-row: 1 / span 2;
	color: var(--tb-accent);
	font-weight: 700;
	white-space: nowrap;
}

.tb-next__title {
	margin: 0 0 0.75rem;
	font-family: var(--tb-head);
	font-size: 1.125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tb-next__all {
	margin: 0.75rem 0 0;
}

.tb-next__all a {
	color: var(--tb-accent);
	font-weight: 700;
}

/* ---------------------------------------------------------------- Step 2: the times */

.tb-slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tb-slot {
	margin: 0;
}

.tb-slot__card {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	height: 100%;
	min-height: 2.75rem;
	padding: 1.1rem 1.2rem 1.2rem;
	border: 1px solid var(--tb-line);
	border-top: 3px solid var(--tb-gold);
	border-radius: var(--tb-radius-card);
	background: var(--tb-surface);
	box-shadow: var(--tb-shadow);
	color: inherit;
	text-decoration: none;
	transition: box-shadow 0.35s var(--tb-ease), transform 0.35s var(--tb-ease);
}

a.tb-slot__card:hover,
a.tb-slot__card:focus-visible {
	box-shadow: var(--tb-shadow-hover);
	transform: translateY(-4px);
}

a.tb-slot__card:focus-visible {
	outline: 2px solid var(--tb-accent);
	outline-offset: 3px;
}

.tb-slot__card,
.tb-slot__card *,
.tb-next__link,
.tb-next__link *,
.tb-cal__day,
.tb-cal__day * {
	text-decoration: none !important;
}

.tb-slot__room {
	font-family: var(--tb-head);
	font-size: var(--wp--preset--font-size--large, 1.375rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.1;
	text-transform: uppercase;
}

.tb-slot__time {
	font-weight: 700;
}

.tb-slot__seats,
.tb-slot__note {
	color: var(--tb-soft);
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	line-height: 1.45;
}

.tb-slot__price {
	margin-top: auto;
	padding-top: 0.5rem;
	color: var(--tb-accent);
	font-family: var(--tb-head);
	font-size: 1.125rem;
	font-weight: 700;
}

.tb-slot__go {
	align-self: flex-start;
	margin-top: 0.25rem;
	padding: 0.5rem 1rem;
	border-radius: var(--tb-radius);
	background: var(--tb-gold);
	color: var(--tb-ink);
	font-family: var(--tb-head);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tb-slot.is-taken .tb-slot__card {
	border-top-color: var(--tb-line);
	box-shadow: none;
	opacity: 0.55;
}

.tb-slot.is-taken .tb-slot__price {
	color: var(--tb-soft);
}

/* ---------------------------------------------------------------- Step 3: the party */

.tb-form {
	margin: 0;
}

.tb-form fieldset.tb-field {
	min-width: 0;
	margin: 0 0 1.5rem;
	padding: 0;
	border: 0;
}

.tb-form .tb-field {
	margin-bottom: 1.5rem;
}

.tb-form .cs-form__grid .tb-field {
	margin-bottom: 0;
}

.tb-form .cs-form__grid {
	margin-bottom: 1.5rem;
}

.tb-help {
	margin: 0.4rem 0 0;
	color: var(--tb-soft);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.tb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tb-flow .tb-form label.tb-chip {
	position: relative;
	display: inline-flex;
	width: auto;
	font-family: inherit;
	font-size: 1rem;
	letter-spacing: normal;
	text-transform: none;
	margin: 0;
	cursor: pointer;
}

.tb-flow .tb-chip input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.tb-chip span {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.45rem 1rem;
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-radius);
	background: var(--tb-panel);
	font-weight: 700;
	line-height: 1.2;
	transition: border-color 0.2s var(--tb-ease), background-color 0.2s var(--tb-ease);
}

.tb-chip small {
	color: var(--tb-soft);
	font-size: 0.75rem;
	font-weight: 400;
}

.tb-chip:hover span {
	border-color: var(--tb-gold);
}

.tb-chip input:checked + span {
	border-color: var(--tb-gold);
	background: var(--tb-gold);
	color: var(--tb-ink);
}

.tb-chip input:checked + span small {
	color: var(--tb-ink);
}

.tb-chip input:focus-visible + span {
	outline: 2px solid var(--tb-accent);
	outline-offset: 2px;
}

.tb-chip input[aria-invalid="true"] + span {
	border-color: var(--tb-error);
}

.tb-uses {
	display: grid;
	gap: 0.5rem;
}

.tb-use {
	padding: 0.75rem 1rem;
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-radius);
	background: var(--tb-panel);
}

.tb-use.is-on {
	border-color: var(--tb-gold);
	box-shadow: inset 3px 0 0 var(--tb-gold);
}

.tb-flow .tb-form label.tb-use__pick,
.tb-flow .tb-form label.tb-addon,
.tb-flow .tb-form label.tb-check {
	display: flex;
	float: none;
	width: auto;
	color: inherit;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.45;
	text-transform: none;
	align-items: flex-start;
	gap: 0.75rem;
	min-height: 2.75rem;
	margin: 0;
	padding: 0.35rem 0;
	cursor: pointer;
}

.tb-use__pick input,
.tb-addon input,
.tb-check input {
	flex: none;
	margin-top: 0.15rem;
}

.tb-use__label {
	font-weight: 700;
}

.tb-use__price,
.tb-addon__price {
	color: var(--tb-accent);
	font-weight: 700;
	white-space: nowrap;
}

.tb-use__note {
	margin: 0 0 0.25rem 2rem;
	color: var(--tb-soft);
	font-size: 0.875rem;
	line-height: 1.45;
}

.tb-use__fields {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
	gap: 0.75rem 1rem;
	margin: 0.75rem 0 0.25rem;
}

.tb-use__fields .tb-field {
	margin: 0;
}

.tb-flow.is-js .tb-use:not(.is-on) .tb-use__fields,
.tb-flow.is-js .tb-use:not(.is-on) .tb-use__note {
	display: none;
}

.tb-addons {
	display: grid;
	gap: 0.25rem;
}

.tb-addon__words {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.tb-addon__label {
	font-weight: 700;
}

.tb-addon__desc {
	color: var(--tb-soft);
	font-size: 0.875rem;
	line-height: 1.45;
}

/* The running total. */
.tb-money {
	margin: 0 0 1.5rem;
}

.tb-sum {
	margin: 0 0 1rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--tb-line);
	border-top: 3px solid var(--tb-gold);
	border-radius: var(--tb-radius);
	background: var(--tb-surface);
}

.tb-sum__title {
	margin: 0 0 0.5rem;
	font-family: var(--tb-head);
	font-size: 1rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tb-sum__lines {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.tb-sum__lines th,
.tb-sum__lines td {
	padding: 0.35rem 0;
	border: 0;
	border-bottom: 1px solid var(--tb-line);
	font-weight: 400;
	text-align: left;
	vertical-align: top;
}

.tb-sum__lines td {
	padding-left: 1rem;
	text-align: right;
	white-space: nowrap;
}

.tb-sum__total th,
.tb-sum__total td {
	font-family: var(--tb-head);
	font-size: 1.25rem;
	font-weight: 700;
}

.tb-sum__now th,
.tb-sum__now td {
	color: var(--tb-accent);
	font-weight: 700;
}

.tb-sum__lines tfoot tr:last-child th,
.tb-sum__lines tfoot tr:last-child td {
	border-bottom: 0;
}

.tb-sum__note {
	margin: 0.5rem 0 0;
	color: var(--tb-soft);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.tb-terms {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-left: 3px solid var(--tb-line);
	color: var(--tb-soft);
	font-size: 0.875rem;
	line-height: 1.5;
}

.tb-terms__title {
	margin: 0 0 0.35rem;
	color: inherit;
	font-family: var(--tb-head);
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tb-terms__text p {
	margin: 0 0 0.5rem;
}

.tb-terms--fold summary {
	min-height: 2.75rem;
	padding: 0.6rem 0;
	cursor: pointer;
	font-family: var(--tb-head);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tb-hold-note {
	margin: 0 0 1rem;
	color: var(--tb-soft);
	font-size: 0.875rem;
}

/* ---------------------------------------------------------------- Notices */

.tb-notice {
	margin: 0 0 1.25rem;
	padding: 0.75rem 1rem;
	border-left: 3px solid var(--tb-line);
	background: var(--tb-surface);
	line-height: 1.45;
}

.tb-notice p {
	margin: 0;
}

.tb-notice a {
	color: var(--tb-accent);
	font-weight: 700;
}

/* Online booking hidden (2026-11-11): the button to Host your event under the words. */
.tb-notice .tb-book__buttons {
	margin-top: 0.85rem;
}

.tb-notice--error {
	border-left-color: var(--tb-error);
	background: color-mix(in srgb, var(--tb-error) 7%, transparent);
	color: var(--tb-error);
	font-weight: 700;
}

.tb-notice--ok {
	border-left-color: var(--tb-gold);
	background: color-mix(in srgb, var(--tb-gold) 14%, transparent);
	font-weight: 700;
}

.tb-notice--test {
	border: 1px dashed var(--tb-gold);
	border-left-width: 3px;
	background: transparent;
	font-size: 0.875rem;
}

/* ---------------------------------------------------------------- Step 4, the confirmation, manage */

.tb-facts {
	display: grid;
	gap: 0;
	margin: 0 0 1.25rem;
	border-top: 1px solid var(--tb-line);
}

.tb-facts__row {
	display: grid;
	grid-template-columns: minmax(6.5rem, 30%) 1fr;
	gap: 0 1rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--tb-line);
}

.tb-facts dt {
	color: var(--tb-soft);
	font-family: var(--tb-head);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.8;
	text-transform: uppercase;
}

.tb-facts dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.tb-card {
	margin-top: 1rem;
}

/* The provider's card fields (phase 2): its frames sit in this box; the height keeps the page
   from jumping while they load. */
.tb-card__element {
	min-height: 11rem;
	margin: 0.5rem 0 1.25rem;
}

.tb-card__loading {
	margin: 0;
	padding: 1rem 0;
}

.tb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.75em 1.5em;
	border-radius: var(--tb-radius);
	background: var(--tb-gold);
	color: var(--tb-ink);
	font-family: var(--tb-head);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.tb-button:hover,
.tb-button:focus-visible {
	background: var(--tb-gold-dark);
	color: var(--tb-ink);
}

.tb-manage-link {
	margin: 1.5rem 0 0;
	padding: 1rem 1.25rem;
	border: 1px solid var(--tb-gold);
	border-radius: var(--tb-radius);
}

.tb-manage-link h3 {
	margin: 0 0 0.35rem;
	font-family: var(--tb-head);
	font-size: 1rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tb-manage-link p {
	margin: 0 0 0.75rem;
}

.tb-manage-link p:last-child {
	margin: 0;
}

.tb-manage__status {
	display: inline-block;
	margin: 0 0 0.75rem;
	padding: 0.2rem 0.75rem;
	border-radius: 999px;
	background: var(--tb-gold);
	color: var(--tb-ink);
	font-family: var(--tb-head);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tb-manage__status--cancelled,
.tb-manage__status--completed {
	background: var(--tb-surface);
	color: var(--tb-soft);
}

.tb-manage__part {
	margin: 1.75rem 0 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid var(--tb-line);
}

.tb-manage__part h3 {
	margin: 0 0 0.75rem;
	font-family: var(--tb-head);
	font-size: 1.125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tb-flow .tb-cancel button[type="submit"] {
	background: transparent;
	box-shadow: inset 0 0 0 2px var(--tb-error);
	color: var(--tb-error);
}

.tb-flow .tb-cancel button[type="submit"]:hover,
.tb-flow .tb-cancel button[type="submit"]:focus-visible {
	background: var(--tb-error);
	color: #fff;
}

.tb-done .tb-flow__lead {
	color: inherit;
	font-size: 1.125rem;
}

/* ---------------------------------------------------------------- tb/book-button */

.tb-book {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border: 1px solid var(--tb-line);
	border-left: 3px solid var(--tb-gold);
	border-radius: var(--tb-radius);
}

.tb-book__line {
	flex: 1 1 18rem;
	margin: 0;
	line-height: 1.5;
}

.tb-book__buttons {
	flex: none;
	margin: 0;
}

.tb-book .wp-block-button__link {
	min-height: 2.75rem;
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	.tb-slot__card,
	.tb-cal__day,
	.tb-chip span {
		transition: none;
	}

	a.tb-slot__card:hover,
	a.tb-slot__card:focus-visible {
		transform: none;
	}
}

/* Third pass (2026-11-07): the non-ticketed line, the 24-hour confirmation, the coupon. */
.tb-scope {
	margin: -0.5rem 0 1.25rem;
	padding: 0.6rem 0.9rem;
	border-left: 3px solid var(--tb-accent);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.tb-scope a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.tb-sum__confirm {
	margin-top: 0.75rem;
	padding-top: 0.6rem;
	border-top: 1px solid var(--tb-line);
	color: inherit;
}

.tb-coupon {
	margin: 1rem 0 0.75rem;
}

.tb-coupon__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.9rem;
}

.tb-flow .tb-coupon input[type="text"] {
	flex: 0 1 14rem;
	min-width: 0;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.tb-coupon__note {
	font-size: 0.875rem;
	line-height: 1.4;
}

.tb-coupon__ok {
	color: var(--tb-accent);
	font-weight: 700;
}

.tb-coupon__bad {
	color: var(--tb-soft);
}

.tb-done--awaiting .tb-flow__title {
	font-size: clamp(1.5rem, 4vw, 2rem);
}

/* ------------------------------------------------------------------ Fourth pass (2026-11-10) */

/* The prices in one line under the times. */
.tb-price-line {
	margin: 0.75rem 0 1.5rem;
	color: var(--tb-soft);
	font-size: 0.9375rem;
	line-height: 1.5;
}

/* Which theater: one card per theater open at the time. */
.tb-rooms {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
	gap: 0.5rem;
}

.tb-flow .tb-form label.tb-room {
	display: flex;
	float: none;
	width: auto;
	align-items: flex-start;
	gap: 0.75rem;
	min-height: 2.75rem;
	margin: 0;
	padding: 0.75rem 1rem;
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-radius);
	background: var(--tb-panel);
	color: inherit;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.45;
	text-transform: none;
	cursor: pointer;
}

.tb-flow .tb-form label.tb-room.is-on,
.tb-flow .tb-form label.tb-room:has(input:checked) {
	border-color: var(--tb-gold);
	box-shadow: inset 3px 0 0 var(--tb-gold);
}

.tb-room input {
	flex: none;
	margin-top: 0.2rem;
}

.tb-room__words {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.tb-room__name {
	font-weight: 700;
}

.tb-room__seats,
.tb-room__note {
	color: var(--tb-soft);
	font-size: 0.875rem;
}

/* Extras sold by the piece: a number box, then the words. */
.tb-addon--each {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	min-height: 2.75rem;
	padding: 0.35rem 0;
}

.tb-flow .tb-form .tb-addon--each input.tb-addon__qty {
	flex: none;
	width: 4.5rem;
	min-height: 2.75rem;
	margin: 0;
}

.tb-flow .tb-form .tb-addon--each label {
	display: block;
	float: none;
	width: auto;
	margin: 0;
	padding-top: 0.55rem;
	color: inherit;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.45;
	text-transform: none;
	cursor: pointer;
}

/* The film box: "Which movie?" only for a movie not on the list (the script hides it). */
.tb-film-other[hidden],
.tb-help[hidden] {
	display: none;
}

.tb-film select {
	max-width: 100%;
}

/* Every private rental includes. */
.tb-included {
	margin: 0 0 1.25rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-radius);
	background: var(--tb-panel);
}

.tb-included__title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
}

.tb-included ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: 0.25rem 1.25rem;
	margin: 0 0 0.5rem;
	padding-left: 1.1rem;
}

.tb-included__bring {
	margin: 0;
	color: var(--tb-soft);
	font-size: 0.9375rem;
}

/* ---------------------------------------------------------------- The rental hours (2026-11-10) */

/* The calendar's second style: short notice, a request. */
.tb-cal__cell.is-ask {
	border-style: dashed;
	border-color: var(--tb-soft);
	background: transparent;
	color: inherit;
}

.tb-cal__cell.is-ask .tb-cal__count {
	color: var(--tb-soft);
}

.tb-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0.75rem 0 0;
	padding: 0;
	color: var(--tb-soft);
	font-size: 0.875rem;
	list-style: none;
}

.tb-legend__item {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
}

.tb-legend__item::before {
	content: "";
	width: 1rem;
	height: 1rem;
	border: 1px solid var(--tb-gold);
	border-radius: var(--tb-radius);
	background: color-mix(in srgb, var(--tb-gold) 14%, transparent);
}

.tb-legend__item--ask::before {
	border: 1px dashed var(--tb-soft);
	background: transparent;
}

/* The day's times as chips, in three groups. */
.tb-times {
	display: grid;
	gap: 1.25rem;
	margin: 0 0 1.25rem;
}

.tb-times__title {
	margin: 0 0 0.5rem;
	color: var(--tb-soft);
	font-family: var(--tb-head);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tb-times__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr));
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tb-times__list li {
	margin: 0;
}

.tb-time {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.4rem 0.5rem;
	border: 1px solid var(--tb-gold);
	border-radius: var(--tb-radius);
	background: color-mix(in srgb, var(--tb-gold) 10%, transparent);
	color: inherit;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none !important;
	transition: background-color 0.2s var(--tb-ease), color 0.2s var(--tb-ease);
}

a.tb-time:hover,
a.tb-time:focus-visible {
	background: var(--tb-gold);
	color: var(--tb-ink);
}

a.tb-time:focus-visible {
	outline: 2px solid var(--tb-accent);
	outline-offset: 2px;
}

.tb-time.is-taken {
	border-color: var(--tb-line);
	background: transparent;
	color: var(--tb-soft);
	font-weight: 400;
	text-decoration: line-through !important;
}

.tb-party--ask .tb-time,
.tb-ask + .tb-flow__pick + .tb-times a.tb-time {
	border-style: dashed;
}

.tb-ask {
	margin: 0 0 1rem;
	padding: 0.9rem 1rem;
	border-left: 3px solid var(--tb-gold);
	background: var(--tb-surface);
}

.tb-ask .tb-flow__lead {
	margin: 0;
}

.tb-ask a {
	color: var(--tb-accent);
	font-weight: 700;
}

/* The next open days: the date, then its windows. */
.tb-next--days .tb-next__where {
	color: inherit;
	font-size: 0.9375rem;
}

/* "Book 14 to 60 days ahead. Sooner than that? ..." */
.tb-notice-line {
	margin: 0.6rem 0 0;
	color: var(--tb-soft);
	font-size: 0.875rem;
	line-height: 1.5;
}

/* tb/hours: Rental times. */
.tb-hours__lead {
	margin: 0 0 0.75rem;
}

.tb-hours__list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--tb-line);
	list-style: none;
}

.tb-hours__list li {
	display: grid;
	grid-template-columns: minmax(6.5rem, auto) 1fr;
	gap: 0.25rem 1rem;
	margin: 0;
	padding: 0.5rem 0.1rem;
	border-bottom: 1px solid var(--tb-line);
}

.tb-hours__day {
	font-family: var(--tb-head);
	font-weight: 700;
	letter-spacing: 0.02em;
}
