/*
 * Light by default (D178, Jonny, 21 October 2026).
 *
 * Loaded after every other stylesheet. Navy stays only for the header, the
 * footer, heroes, feature bands, the gate app and the customer's QR ticket
 * (docs/DESIGN-SYSTEM.md, Backgrounds). Every other card, ticket, panel,
 * list and form follows How It Works' "Your arrival guide": white, a thin
 * navy outline, navy words, red round icons and red highlights.
 *
 * How it works: the components below were built as navy surfaces with
 * cream words, and they read the palette through custom properties. Inside
 * each of them the palette is swapped (navy reads as white, cream reads as
 * navy), so the surface, its outline, its notch rings and its words turn
 * light in one move. Buttons, form fields and the number plate get the real
 * palette back. The real values are kept on :root as --tdic-c-*.
 */

:root {
	--tdic-c-navy: var(--wp--preset--color--navy);
	--tdic-c-cream: var(--wp--preset--color--cream);
	--tdic-c-white: var(--wp--preset--color--white);
	--tdic-c-red: var(--wp--preset--color--red);
}

/* ---------- The swap: navy surfaces become light ---------- */

:is(
	.pg-show,
	.pg-tier,
	.pg-card,
	.pg-use,
	.pg-date-card,
	.pg-faq__item--card,
	.pg-option,
	.pg-film__ticket,
	.pg-chip,
	.pg-menu li,
	.pg-tier__off,
	.pg-plan-switch label,
	.pg-wait,
	.tdic-tp .mb-card,
	.tdic-tp .mb-form,
	.mb-ticket--page .mb-ticket__main,
	.tdic-car,
	.tdic-card,
	.tdic-qb__card,
	.tdic-day,
	.tdic-slot,
	.tdic-panel,
	.tdic-avail,
	.tdic-confirm__summary,
	.tdic-confirm__phone,
	.tdic-book__date,
	.tdic-sky .tdic-signup:not(.tdic-signup--landing)
) {
	--wp--preset--color--navy: var(--tdic-c-white);
	--wp--preset--color--cream: var(--tdic-c-navy);
	--wp--preset--color--white: var(--tdic-c-navy);
	/* Words a card inherits from a navy section come through as a fixed
	 * colour, so the card sets its own. */
	color: var(--tdic-c-navy);
}

/* The real palette inside buttons, fields and the plate. */
:is(
	.tdic-btn,
	.wp-block-button__link,
	input,
	select,
	textarea,
	.tdic-plate,
	[class*="__plate"],
	.tdic-cine,
	.mb-qr,
	.pg-use__media,
	.wp-element-button,
	:is(button, [type="submit"], .wpforms-submit):not(.pg-chip):not(.tdic-dt):not(.tdic-field__tile):not(.tdic-dstrip__nav):not(.tdic-dstrip__next)
) {
	--wp--preset--color--navy: var(--tdic-c-navy);
	--wp--preset--color--cream: var(--tdic-c-cream);
	--wp--preset--color--white: var(--tdic-c-white);
}

/* ---------- Buttons (docs/DESIGN-SYSTEM.md, Buttons) ---------- */

/* Every ticket button (Jonny, 1 November, 8): the words sit in the middle
 * both ways on one line, and a link and a button of the same kind are the
 * same height (the outline counts inside the height). A label too long for
 * its button is shortened or shrunk where it is printed, never wrapped. */
:root body :is(
	.tdic-btn,
	.wp-block-button.tdic-cta--red .wp-block-button__link,
	.wp-block-button.tdic-cta--line .wp-block-button__link,
	.tdic-signup:not(.tdic-signup--landing) button[type="submit"],
	.wp-block-group.pg .wp-element-button,
	.tdic-tp .wp-element-button,
	.tdic-tp .mb-pdf__link,
	.tdic-tp .mb-button
):not(#tdic-light) {
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
}

/* Main: red, cream words (already); secondary: white, red outline, red words. */
:root body :is(.tdic-btn--line, .mb-pdf__link):not(#tdic-light),
:root body .tdic-cta--line .wp-block-button__link:not(#tdic-light) {
	--t-line: var(--tdic-c-red);
	border-color: var(--tdic-c-red);
	background-color: var(--tdic-c-white);
	color: var(--tdic-c-red);
}

:root body :is(.tdic-btn--line, .mb-pdf__link):is(:hover, :focus-visible):not(#tdic-light),
:root body .tdic-cta--line .wp-block-button__link:is(:hover, :focus-visible):not(#tdic-light) {
	--t-line: var(--tdic-c-red);
	border-color: var(--tdic-c-red);
	background-color: var(--tdic-c-red);
	color: var(--tdic-c-cream);
}

:root body .mb-pdf__link .tdic-icon {
	color: currentColor;
}

/* Order received (H1): Manage booking is a main button. */
:root body .tdic-confirm__manage .tdic-btn:not(#tdic-light) {
	--t-line: var(--tdic-c-red);
	border-color: var(--tdic-c-red);
	background-color: var(--tdic-c-red);
	color: var(--tdic-c-cream);
}

/* ---------- One header on every page (B2) ----------
 * Home draws its header from the Drive design (.pt-header) and every other
 * page from the header part (.tdic-header--site). The same rules size both,
 * so they are identical: the same gutter and height, the logo on the left,
 * the menu links in one ticket-shaped box centred between the logo and the
 * actions with equal padding inside, then the basket and Book tickets. */
:root {
	--tdic-hdr-gutter: clamp(16px, 4vw, 64px);
	--tdic-hdr-control: 46px;
	/* The logo keeps its size (120px wide, 70px tall) and has the same
	 * space above it as Book tickets had (12px), with the same below, so the
	 * header is 94px (Jonny, 2 November: "don't shrink the logo"). The menu
	 * box, basket and Book tickets sit on the logo's centre line. Every
	 * offset under the header (the navy band, sticky strips and panels,
	 * anchors) reads this, so the page moves down with it. */
	--tdic-header-h: 5.875rem;
}

/* Tablets and phones: a 104px logo (61px tall) with Book tickets' 9px
 * above and below, so 79px. */
@media (max-width: 1079px) {
	:root {
		--tdic-header-h: 4.9375rem;
	}
}

:root body .tdic-header--site,
:root body .tdic-header--site.has-global-padding {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

:root body .tdic-header--site > .tdic-header__bar {
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

:root body .tdic-header--site .tdic-header__bar,
:root body .pt-header {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	inline-size: 100%;
	max-inline-size: none;
	min-block-size: var(--tdic-header-h, 5rem);
	margin-inline: 0;
	padding-block: 0;
	padding-inline: var(--tdic-hdr-gutter);
}

:root body :is(.tdic-header--site .tdic-logo--header img, .pt-logo img) {
	inline-size: 120px;
	block-size: auto;
}

/* The menu box: a navy ticket with a cream outline and notches left and
 * right, the same padding on both sides. */
:root body :is(.tdic-header--site .tdic-nav__main, .pt-tab) {
	--t-n: 8px;
	--t-w: 1px;
	--t-line: var(--tdic-c-cream);
	grid-column: 2;
	justify-self: center;
	box-sizing: border-box;
	padding: 13px 32px;
	border: 1px solid var(--t-line);
	border-radius: 6px;
	background-color: var(--tdic-c-navy);
	background-image:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + var(--t-w) + 0.5px), transparent calc(var(--t-n) + var(--t-w) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + var(--t-w) + 0.5px), transparent calc(var(--t-n) + var(--t-w) + 0.5px));
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-origin: border-box;
	-webkit-mask:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	-webkit-mask-composite: source-in;
	mask:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	mask-composite: intersect;
}

:root body :is(.tdic-header--site .tdic-nav__main, .pt-tab) ul {
	display: flex;
	gap: clamp(16px, 2.6vw - 8px, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

:root body :is(.tdic-header--site .tdic-nav__main, .pt-tab) a {
	position: relative;
	display: inline-block;
	padding-block: 0;
	color: var(--tdic-c-cream);
	font-family: var(--wp--preset--font-family--subheading);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}

:root body :is(.tdic-header--site .tdic-nav__main, .pt-tab) a::after {
	inset: auto 0 -6px;
}

:root body :is(.tdic-header--site .tdic-header__bar, .pt-header__end) .tdic-stub {
	min-block-size: var(--tdic-hdr-control);
	padding-inline: 1.4rem;
}

:root body :is(.tdic-nav__toggle, .pt-menu-btn) {
	inline-size: var(--tdic-hdr-control);
	min-inline-size: var(--tdic-hdr-control);
	block-size: var(--tdic-hdr-control);
}

:root body :is(.tdic-nav__tools, .pt-header__end) {
	gap: 10px;
}

@media (min-width: 1080px) and (max-width: 1239px) {
	:root body :is(.tdic-header--site .tdic-nav__main, .pt-tab) {
		padding-inline: 24px;
	}

	:root body :is(.tdic-header--site .tdic-nav__main, .pt-tab) a {
		font-size: 0.75rem;
		letter-spacing: 0.06em;
	}
}

@media (max-width: 1079px) {
	:root body .tdic-header--site .tdic-header__bar,
	:root body .pt-header {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	:root body :is(.tdic-header--site .tdic-logo--header img, .pt-logo img) {
		inline-size: 104px;
	}
}

@media (max-width: 379px) {
	:root body :is(.tdic-header--site .tdic-logo--header img, .pt-logo img) {
		inline-size: 78px;
	}
}

/* ---------- Section headings (D178) ----------
 * A red script line above; on white the words are navy with the last word
 * red (a one-word heading is red); on navy they are cream with the last word
 * red (a one-word heading is cream). */
:root body .pg-section--white .pg-h2 {
	color: var(--tdic-c-navy);
}

:root body .pg-section--white .pg-h2:not(:has(.pg-h2__red)) {
	color: var(--tdic-c-red);
}

:root body .pg-h2 .pg-h2__red {
	color: var(--tdic-c-red);
}

:root body :is(.tdic-sky, .hiw-journey, .pg-section--navy) .pg-h2:not(:has(.pg-h2__red)) {
	color: var(--tdic-c-cream);
}

/* The script line: the small label with a rule becomes red SignPainter,
 * tight above its heading. */
:root body :is(.pg-eyebrow, .tdic-eyebrow):not(#tdic-light) {
	display: block;
	margin: 0 0 0.25rem;
	color: var(--tdic-c-red);
	font-family: var(--wp--preset--font-family--accent);
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 400;
	letter-spacing: 0;
	/* Room for the script's descenders, so a "g" or "y" never touches the
	 * heading's capitals (sixth review). */
	line-height: 1.2;
	text-transform: none;
}

:root body :is(.pg-eyebrow, .tdic-eyebrow)::before {
	content: none;
}

/* Words on the white sections that used to be navy bands. */
:root body .pg-section--white :is(.pg-lede, .pg-center, p) {
	color: inherit;
}

/* ---------- Form fields on light surfaces ----------
 * White, a 1px navy outline, navy words; red outline when focused. */
:root body :is(.pg-wait, .pg-card, .pg-section--white, .tdic-signup:not(.tdic-signup--landing), .tdic-tp, .tdic-car, .tdic-workarea, .pg-work) :is(input:is([type="text"], [type="email"], [type="tel"], [type="date"], [type="number"], [type="search"], [type="password"], :not([type])), select, textarea) {
	border: 1px solid var(--tdic-c-navy);
	background-color: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

:root body :is(.pg-wait, .pg-card, .pg-section--white, .tdic-signup:not(.tdic-signup--landing), .tdic-tp, .tdic-car, .tdic-workarea, .pg-work) :is(input, select, textarea):focus-visible {
	outline: 2px solid var(--tdic-c-red);
	outline-offset: 1px;
	border-color: var(--tdic-c-red);
}

:root body :is(.pg-card, .pg-section--white, .tdic-signup:not(.tdic-signup--landing), .tdic-tp, .tdic-workarea, .pg-work, .pg-wait) label {
	color: var(--tdic-c-navy);
}

/* The sign-up box on the night-sky band is a white card. */
:root body .tdic-sky .tdic-signup:not(.tdic-signup--landing) :is(label, p, span, small, a:not(.tdic-btn)) {
	color: var(--tdic-c-navy);
}

/* Membership: each tier's Join is the main button. */
:root body .pg-tier :is(.tdic-btn--line, .tdic-btn):not(#tdic-light) {
	--t-line: var(--tdic-c-red);
	border-color: var(--tdic-c-red);
	background-color: var(--tdic-c-red);
	color: var(--tdic-c-cream);
}

/* ---------- Pick your night (B3): the same strip on Home and What's On ----------
 * Each night is a two-part ticket: the main part white with a navy outline
 * (the day and date), the stub on the right red behind a perforated line
 * (the number of screenings). The chosen night's main part is red with
 * cream words. Arrows on a computer, a swipe on a phone, More dates under. */
.tdic-dstrip {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	min-inline-size: 0;
}

.tdic-dts {
	display: flex;
	gap: 10px;
	min-inline-size: 0;
	padding-block: 4px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.tdic-dts::-webkit-scrollbar {
	display: none;
}

.tdic-dstrip__nav {
	display: inline-grid;
	place-items: center;
	inline-size: 40px;
	block-size: 40px;
	padding: 0;
	border: 1px solid var(--tdic-c-navy);
	border-radius: 50%;
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
	font: inherit;
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s;
}

.tdic-dstrip__nav[hidden] {
	display: inline-grid;
	visibility: hidden;
}

.tdic-dstrip__nav:disabled {
	cursor: default;
	opacity: 0.35;
}

@media (hover: hover) and (pointer: fine) {
	.tdic-dstrip__nav:not(:disabled):hover {
		border-color: var(--tdic-c-red);
		color: var(--tdic-c-red);
	}
}

:root body .tdic-dt {
	--t-n: 6px;
	--t-w: 1px;
	--t-line: var(--tdic-c-navy);
	position: relative;
	flex: none;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 34px;
	inline-size: 136px;
	block-size: 62px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--t-line);
	border-radius: 6px;
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
	font: inherit;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	scroll-snap-align: start;
	-webkit-mask:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	-webkit-mask-composite: source-in;
	mask:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	mask-composite: intersect;
	transition: border-color 0.2s;
}

/* The outline follows the notches. */
:root body .tdic-dt::after {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: 2;
	border-radius: inherit;
	background-image:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + var(--t-w) + 0.5px), transparent calc(var(--t-n) + var(--t-w) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + var(--t-w) + 0.5px), transparent calc(var(--t-n) + var(--t-w) + 0.5px));
	background-repeat: no-repeat;
	pointer-events: none;
}

:root body .tdic-dt__main {
	display: grid;
	align-content: center;
	gap: 3px;
	padding-inline: 10px 6px;
	border-radius: 5px 0 0 5px;
	background: var(--tdic-c-white);
	transition: background-color 0.2s, color 0.2s;
}

:root body .tdic-dt__top {
	color: inherit;
	font-family: var(--wp--preset--font-family--subheading);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.1;
	text-transform: uppercase;
	white-space: nowrap;
}

:root body .tdic-dt__sub {
	color: inherit;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	line-height: 1.1;
	white-space: nowrap;
}

:root body .tdic-dt__stub {
	display: grid;
	place-items: center;
	border-inline-start: 2px dashed var(--tdic-c-cream);
	border-radius: 0 5px 5px 0;
	background: var(--tdic-c-red);
	color: var(--tdic-c-cream);
}

:root body .tdic-dt__n {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.375rem;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

/* The chosen night: the main part red with cream words. */
:root body :is(.tdic-dt[aria-pressed="true"], a.tdic-dt.is-on) {
	--t-line: var(--tdic-c-red);
}

:root body :is(.tdic-dt[aria-pressed="true"], a.tdic-dt.is-on) .tdic-dt__main {
	background: var(--tdic-c-red);
	color: var(--tdic-c-cream);
}

@media (hover: hover) and (pointer: fine) {
	:root body .tdic-dt:hover {
		--t-line: var(--tdic-c-red);
	}
}

:root body .tdic-dt:focus-visible {
	outline: none;
}

/* More dates, under the strip at the right; its space is always kept. */
.tdic-dstrip__more {
	grid-column: 1 / -1;
	display: flex;
	justify-content: flex-end;
	margin: 12px 0 0;
}

.tdic-dstrip__next {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--tdic-c-red);
	font-family: var(--wp--preset--font-family--subheading);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}

@media (max-width: 599px) {
	.tdic-dstrip {
		grid-template-columns: minmax(0, 1fr);
	}

	.tdic-dstrip__nav {
		display: none !important;
	}

	:root body .tdic-dt {
		inline-size: 132px;
	}
}

/* ---------- Attention badges: red with cream words (D178) ---------- */
:root body :is(.pg-tier__flag, .pg-tier__save, .tdic-pcard__tag, .pg-date__count, .tdic-field__count, .tdic-nav__count, .pg-avail--selling_fast, .pg-avail--few, .tdic-pill--selling-fast, .tdic-pill--only-left, .pg-menu--deals li, .tdic-badge--red, .tdic-avail--selling-fast, .tdic-avail--few):not(#tdic-light) {
	--b-fill: var(--tdic-c-red);
	--b-ink: var(--tdic-c-cream);
	--b-line: var(--tdic-c-red);
	color: var(--tdic-c-cream);
}

:root body .pg-menu--deals li .tdic-icon {
	color: var(--tdic-c-cream);
}

/* ---------- What's On (D1, D2, D3) ---------- */

/* The filter bar scrolls away with the page; it never sticks. */
:root body .pg-filters {
	position: static;
	inset-block-start: auto;
	z-index: auto;
	margin: 0 0 2rem;
}

/* Screening tickets: fixed slots lined up across each row with a subgrid
 * (meta, title, time and gates, price, availability, food, the button and
 * a note), so a long title, a wide time or a missing badge never moves
 * anything else, and every ticket in a row is the same height. */
:root body .pg-shows {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 16px;
	row-gap: 0;
	align-items: stretch;
}

:root body .pg-shows .pg-show {
	--t-n: 8px;
	display: grid;
	grid-row: span 8;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: subgrid;
	row-gap: 6px;
	column-gap: 16px;
	align-items: start;
	margin-block-end: 16px;
	padding: 16px;
}

:root body .pg-shows .pg-show[hidden] {
	display: none;
}

:root body .pg-shows .pg-show__poster {
	grid-column: 1;
	grid-row: 1;
	align-self: start;
	inline-size: 100%;
	min-block-size: 0;
	margin-block-end: 10px;
	aspect-ratio: 2 / 3;
	border-radius: 4px;
	background: var(--tdic-c-navy);
}

:root body .pg-shows .pg-show__poster img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

:root body .pg-shows .pg-show__body {
	display: contents;
}

:root body .pg-shows .pg-show__body > * {
	grid-column: 1;
	min-inline-size: 0;
	margin: 0;
}

:root body .pg-shows .pg-show__meta { grid-row: 2; }
:root body .pg-shows .pg-show__title { grid-row: 3; }
:root body .pg-shows .pg-show__when { grid-row: 4; }
:root body .pg-shows .pg-show__price { grid-row: 5; }
:root body .pg-shows .pg-show__slot--avail { grid-row: 6; }
:root body .pg-shows .pg-show__slot--food { grid-row: 7; }
:root body .pg-shows .pg-show__action { grid-row: 8; }

:root body .pg-shows .pg-show__title {
	color: var(--tdic-c-navy);
	font-size: 1.125rem;
	line-height: 1.1;
}

:root body .pg-shows .pg-show__title a {
	color: inherit;
	text-decoration: none;
}

/* The start and the gates on one line, with room for 22:30. */
:root body .pg-shows .pg-show__when {
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	gap: 8px;
	white-space: nowrap;
	color: var(--tdic-c-navy);
}

:root body .pg-shows .pg-show__start {
	min-inline-size: 2.4em;
	color: var(--tdic-c-red);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.5rem;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

:root body .pg-shows .pg-show__gates {
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
}

:root body .pg-shows .pg-show__price {
	color: var(--tdic-c-navy);
	font-size: 0.875rem;
	white-space: nowrap;
}

/* The badge slots keep their height whether or not a badge is in them. */
:root body .pg-shows .pg-show__slot {
	display: flex;
	min-block-size: 26px;
}

:root body .pg-shows .pg-show__slot--food:empty,
:root body .pg-shows .pg-show__slot--food:not(:has(*)) {
	min-block-size: 0;
}

:root body .pg-shows .pg-show__slot :is(.pg-avail, .tdic-badge) {
	align-self: flex-start;
	max-inline-size: 100%;
}

:root body .pg-shows .pg-show__book {
	box-sizing: border-box;
	inline-size: 100%;
	min-block-size: 44px;
	padding-inline: 12px;
}

/* Sold out: the button keeps its place, faded. */
:root body .pg-shows .pg-show__book--off {
	cursor: default;
	opacity: 0.45;
	pointer-events: none;
}

:root body .pg-shows .pg-show__book--off::after {
	content: none;
}

:root body .pg-shows .pg-show__action {
	display: grid;
	gap: 8px;
}

:root body .pg-shows .pg-show__note {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.3;
}

:root body .pg-shows .pg-show__note a {
	color: var(--tdic-c-red);
	text-decoration: underline;
}

@media (max-width: 599px) {
	:root body .pg-shows .pg-show__start {
		font-size: 1.25rem;
	}

	:root body .pg-shows .pg-show__gates {
		font-size: 0.75rem;
	}

	:root body .pg-shows .pg-show__title {
		font-size: 1rem;
	}
}

/* From 600px: the poster beside the words, spanning every slot. */
@media (min-width: 600px) {
	:root body .pg-shows .pg-show {
		grid-row: span 7;
		grid-template-columns: 8.5rem minmax(0, 1fr);
		column-gap: 24px;
		padding: 24px;
	}

	:root body .pg-shows .pg-show__poster {
		grid-row: 1 / -1;
		margin-block-end: 0;
	}

	:root body .pg-shows .pg-show__body > * {
		grid-column: 2;
	}

	:root body .pg-shows .pg-show__meta { grid-row: 1; }
	:root body .pg-shows .pg-show__title { grid-row: 2; }
	:root body .pg-shows .pg-show__when { grid-row: 3; }
	:root body .pg-shows .pg-show__price { grid-row: 4; }
	:root body .pg-shows .pg-show__slot--avail { grid-row: 5; }
	:root body .pg-shows .pg-show__slot--food { grid-row: 6; }
	:root body .pg-shows .pg-show__action { grid-row: 7; }

	:root body .pg-shows {
		column-gap: 24px;
	}

	:root body .pg-shows .pg-show {
		margin-block-end: 24px;
	}
}

@media (min-width: 1100px) {
	:root body .pg-shows {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- Vendor tickets (D4, E1, E2) ----------
 * The top is the vendor's photo with a dark shade and the vendor's icon;
 * the bottom is white with navy and red words. Notches sit on the seam.
 * Every ticket in a row is the same height; nothing is clipped. */
:root body .pg-vticket {
	--vt-top: 168px;
	--t-n: 10px;
	--t-line: var(--tdic-c-navy);
	position: relative;
	display: flex;
	flex-direction: column;
	min-inline-size: 0;
	margin: 0;
	border: 1px solid var(--t-line);
	border-radius: 14px;
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
	-webkit-mask:
		radial-gradient(circle at 0 var(--vt-top), transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% var(--vt-top), transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	-webkit-mask-composite: source-in;
	mask:
		radial-gradient(circle at 0 var(--vt-top), transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% var(--vt-top), transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	mask-composite: intersect;
	transition: border-color 0.2s;
}

:root body .pg-vticket::after {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: 3;
	border-radius: inherit;
	background-image:
		radial-gradient(circle at 0 calc(var(--vt-top) + 1px), transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + 1.5px), transparent calc(var(--t-n) + 1.5px)),
		radial-gradient(circle at 100% calc(var(--vt-top) + 1px), transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + 1.5px), transparent calc(var(--t-n) + 1.5px));
	background-repeat: no-repeat;
	pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
	:root body .pg-vticket:hover {
		--t-line: var(--tdic-c-red);
	}
}

:root body .pg-vtop {
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	block-size: var(--vt-top);
	overflow: hidden;
	border-radius: 13px 13px 0 0;
	background: var(--tdic-c-navy);
}

:root body .pg-vtop__img {
	position: absolute;
	inset: 0;
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

/* The photo's own shade, so the cream icon reads on any photo. */
/* A navy gradient drawn over the photo, never a see-through panel (D66,
 * sixth review): solid behind the icon, fading out to the photo's edges. */
:root body .pg-vtop__shade {
	position: absolute;
	inset: 0;
	background: radial-gradient(closest-side, var(--tdic-c-navy) 0%, var(--tdic-c-navy) 30%, transparent 100%);
}

:root body .pg-vtop--sky .pg-vtop__shade {
	background: var(--tdic-c-navy);
}

:root body .pg-vtop .pg-vendor-icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	inline-size: 5rem;
	block-size: 5rem;
	color: var(--tdic-c-cream);
}

:root body .pg-vtop .pg-vendor-icon--none .tdic-icon {
	inline-size: 3rem;
	block-size: 3rem;
	color: var(--tdic-c-red);
}

:root body .pg-vticket .pg-use__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	color: var(--tdic-c-navy);
}

:root body .pg-vticket .pg-use__body > * {
	margin: 0;
}

:root body .pg-vticket :is(h3, .pg-h3) {
	color: var(--tdic-c-navy);
	font-size: 1.375rem;
	line-height: 1.1;
}

/* The name in the brand script, smaller so it fits on one or two lines. */
:root body .pg-vticket .pg-vendor__script {
	color: var(--tdic-c-red);
	font-family: var(--wp--preset--font-family--accent);
	font-size: 1.625rem;
	font-weight: 400;
	line-height: 1.05;
	text-transform: none;
	overflow-wrap: anywhere;
}

:root body .pg-vticket .pg-vendor__script a,
:root body .pg-vticket h3 a {
	color: inherit;
	text-decoration: none;
}

:root body .pg-vticket p {
	color: var(--tdic-c-navy);
	line-height: 1.45;
}

/* Menu items and deals wrap onto new lines inside the ticket; a badge
 * longer than the ticket wraps its own words rather than being cut. */
:root body .pg-vticket .pg-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

:root body .pg-vticket .pg-menu li {
	max-inline-size: 100%;
	white-space: normal;
	text-align: center;
	text-box: none;
	min-block-size: 26px;
	padding-block: 5px;
	line-height: 1.2;
}

:root body .pg-vticket .pg-use__times {
	display: flex;
	gap: 8px;
	margin-block-start: auto;
	padding-block-start: 6px;
	color: var(--tdic-c-navy);
	font-size: 0.875rem;
}

:root body .pg-vticket .pg-use__times .tdic-icon {
	flex: none;
	inline-size: 18px;
	block-size: 18px;
	color: var(--tdic-c-red);
}

/* Food and Drink: 3 columns on wide screens, 2 from tablet width down. */
:root body .pg-uses:has(.pg-vticket) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}

@media (min-width: 1024px) {
	:root body .pg-uses:has(.pg-vticket) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}
}

/* What's On: the vendors in one row on wide screens, 2 below. */
:root body .pg-food__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 1100px) {
	:root body .pg-food__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
	}
}

@media (max-width: 599px) {
	:root body .pg-vticket {
		--vt-top: 120px;
	}

	:root body .pg-vticket .pg-use__body {
		padding: 16px;
	}

	:root body .pg-vtop .pg-vendor-icon {
		inline-size: 4rem;
		block-size: 4rem;
	}

	:root body .pg-vticket .pg-vendor__script {
		font-size: 1.375rem;
	}
}

:root body .pg-food__more {
	margin-block-start: 24px;
}

:root body .pg-menu.pg-menu--deals li {
	color: var(--tdic-c-cream);
}

@media (max-width: 599px) {
	:root body .pg-vticket .pg-use__body p {
		font-size: 0.9375rem;
	}
}

/* ---------- Home (C1, C3) ---------- */

/* "Make it your night": a white ticket with a red outline and black words;
 * the section keeps its background photo; Enquire is the main button. */
:root body .tdic-panel--hire {
	--t-line: var(--tdic-c-red);
	border-color: var(--tdic-c-red) !important;
	background: var(--tdic-c-white);
	color: var(--wp--preset--color--black);
}

:root body .tdic-panel--hire :is(h2, h3, p, .tdic-panel__title, .tdic-panel__price) {
	color: var(--wp--preset--color--black);
}

:root body .tdic-panel--hire .tdic-panel__img {
	display: none;
}

:root body .tdic-panel--hire .wp-block-button .wp-block-button__link {
	--t-line: var(--tdic-c-red);
	border-color: var(--tdic-c-red);
	background-color: var(--tdic-c-red);
	color: var(--tdic-c-cream);
}

/* Film card times: small tickets, white with a red outline and navy words;
 * red with cream words on hover. */
:root body .tdic-time {
	--t-n: 5px;
	--t-w: 1px;
	--t-line: var(--tdic-c-red);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-block-size: 32px;
	padding: 0 12px;
	border: 1px solid var(--t-line);
	border-radius: 4px;
	background-color: var(--tdic-c-white);
	background-image:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + var(--t-w) + 0.5px), transparent calc(var(--t-n) + var(--t-w) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + var(--t-w) + 0.5px), transparent calc(var(--t-n) + var(--t-w) + 0.5px));
	background-repeat: no-repeat;
	background-origin: border-box;
	color: var(--tdic-c-navy);
	font-family: var(--wp--preset--font-family--subheading);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	white-space: nowrap;
	-webkit-mask:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	-webkit-mask-composite: source-in;
	mask:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	mask-composite: intersect;
	transition: background-color 0.2s, color 0.2s;
}

@media (hover: hover) and (pointer: fine) {
	:root body .tdic-time:hover {
		--t-line: var(--tdic-c-cream);
		background-color: var(--tdic-c-red);
		color: var(--tdic-c-cream);
	}
}

:root body .tdic-time:focus-visible {
	outline: none;
}

:root body .pg-h2__red {
	color: var(--tdic-c-red);
}

/* ---------- Booking page (F1 to F4) ---------- */

/* F1: the film's own image behind the panel, faded into navy behind the
 * words. A poster is shown large and soft so it reads as a backdrop. */
:root body .tdic-book__head.has-poster-behind .tdic-book__backdrop {
	object-position: center 30%;
	transform: scale(1.1);
}

/* F2: on phones the hero is only as tall as it needs to be, so the panel
 * sits just under the header with no empty sky above it. */
@media (max-width: 599px) {
	:root body .tdic-book-hero {
		block-size: calc(var(--tdic-header-h, 4rem) + 5.5rem);
	}

	:root body .tdic-screening-page .tdic-book__head {
		margin-block-start: -3rem;
	}
}

/* F3: each section is a white ticket with a red outline and navy words;
 * the sections with your cars in are red with cream words. */
:root body .tdic-screening-page .tdic-book__desk .tdic-field__tile {
	--t-n: 6px;
	--t-w: 1px;
	--t-line: var(--tdic-c-red);
	border: 1px solid var(--t-line);
	border-radius: 6px;
	background-color: var(--tdic-c-white);
	background-image:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + var(--t-w) + 0.5px), transparent calc(var(--t-n) + var(--t-w) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + var(--t-w) + 0.5px), transparent calc(var(--t-n) + var(--t-w) + 0.5px));
	background-repeat: no-repeat;
	background-origin: border-box;
	box-shadow: none;
	color: var(--tdic-c-navy);
	-webkit-mask:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	-webkit-mask-composite: source-in;
	mask:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	mask-composite: intersect;
}

:root body .tdic-screening-page .tdic-book__desk .tdic-field__tile :is(.tdic-field__tier, .tdic-field__price, .tdic-field__left) {
	color: inherit;
}

:root body .tdic-screening-page .tdic-book__desk :is(.tdic-field__tile[aria-pressed="true"], .tdic-field__tile:has(input:checked), .tdic-field__cell.is-picked .tdic-field__tile, .tdic-field__tile.is-mine) {
	--t-line: var(--tdic-c-red);
	background-color: var(--tdic-c-red);
	color: var(--tdic-c-cream);
}

@media (hover: hover) and (pointer: fine) {
	:root body .tdic-screening-page .tdic-book__desk .tdic-field__tile:not(.is-full):hover {
		box-shadow: inset 0 0 0 1px var(--tdic-c-red);
	}
}

/* A full section keeps its place, faded, with a dashed edge. */
:root body .tdic-screening-page .tdic-book__desk .tdic-field__tile.is-full:not(.is-mine) {
	border-style: dashed;
	opacity: 0.5;
}

:root body .tdic-screening-page .tdic-book__desk .tdic-field__tile:focus-visible,
:root body .tdic-screening-page .tdic-book__desk .tdic-field__tile:has(input:focus-visible) {
	outline: none;
}

/* F4: "Your cars" and the facts strip in the light style. */
:root body .tdic-screening-page .tdic-book__desk .tdic-book__summary {
	border: 1px solid var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

:root body .tdic-screening-page .tdic-book__desk .tdic-book__summary :is(p, li, span:not(.tdic-plate *):not(.tdic-btn *), label, .tdic-book__empty, .tdic-book__note, .tdic-sizes__option, h2, h3) {
	color: var(--tdic-c-navy);
}

:root body .tdic-screening-page .tdic-book__desk .tdic-book__summary :is(h2, h3, .tdic-book__h2) {
	color: var(--tdic-c-red);
}

:root body .tdic-screening-page .tdic-book__desk :is(.tdic-book__line, .tdic-book__car) {
	border-color: var(--tdic-c-navy);
}

:root body .tdic-screening-page .tdic-book__desk .tdic-book__bar {
	border-block-start: 1px solid var(--tdic-c-navy);
	background: var(--tdic-c-white);
}

:root body .tdic-screening-page .tdic-book__desk .tdic-book__clear {
	color: var(--tdic-c-red);
}

:root body .tdic-screening-page .tdic-book__desk .tdic-book__go:disabled {
	border-color: var(--tdic-c-cream);
	background-color: var(--tdic-c-navy);
	color: var(--tdic-c-cream);
	opacity: 1;
}

:root body .tdic-screening-page .tdic-book__know {
	border: 1px solid var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

:root body .tdic-screening-page .tdic-book__know :is(li, span, p) {
	color: var(--tdic-c-navy);
}

:root body .tdic-screening-page .tdic-book__know .tdic-icon {
	color: var(--tdic-c-red);
}

:root body .tdic-screening-page .tdic-book__desk :is(h2, .tdic-book__h2):not(.tdic-book__summary *) {
	color: var(--tdic-c-navy);
}

:root body .tdic-screening-page .tdic-book__desk .tdic-book__help {
	color: var(--tdic-c-navy);
}

/* ---------- Basket (G1) ---------- */

:root body .tdic-workarea :is(.woocommerce-cart-form .shop_table, .cart_totals) {
	border: 1px solid var(--tdic-c-navy);
	border-radius: 14px;
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

:root body .tdic-workarea :is(.woocommerce-cart-form .shop_table, .cart_totals) :is(th, td, p, span:not(.tdic-btn *), a:not(.tdic-btn):not(.button), strong, dt, dd, h2, .woocommerce-Price-amount) {
	border-color: var(--tdic-c-navy);
	color: var(--tdic-c-navy);
}

:root body .tdic-workarea .cart_totals h2 {
	color: var(--tdic-c-red);
}

:root body .tdic-workarea .cart_totals .order-total :is(th, td, .woocommerce-Price-amount) {
	color: var(--tdic-c-red);
}

:root body .tdic-workarea .woocommerce-cart-form .product-remove a {
	border-color: var(--tdic-c-navy);
	color: var(--tdic-c-navy) !important;
}

/* Apply and Update basket are secondary buttons. */
:root body .tdic-workarea .woocommerce-cart-form :is(button[name="apply_coupon"], button[name="update_cart"]) {
	border: 1px solid var(--tdic-c-red);
	background: var(--tdic-c-white);
	color: var(--tdic-c-red);
}

/* WooCommerce's small screen rule tints every second row: every surface is solid (D66). */
:root body .tdic-workarea :is(.woocommerce-cart-form .shop_table, .cart_totals) tr :is(th, td) {
	background: var(--tdic-c-white);
}

/* The basket table and the total side by side on a computer. */
@media (min-width: 1024px) {
	:root body .tdic-workarea .woocommerce:has(> .woocommerce-cart-form) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 380px;
		gap: 32px;
		align-items: start;
	}

	:root body .tdic-workarea .woocommerce:has(> .woocommerce-cart-form) > :not(.woocommerce-cart-form):not(.cart-collaterals) {
		grid-column: 1 / -1;
	}

	:root body .tdic-workarea .woocommerce:has(> .woocommerce-cart-form) .cart-collaterals {
		inline-size: auto;
		margin: 0 !important;
	}

	:root body .tdic-workarea .woocommerce:has(> .woocommerce-cart-form) .cart-collaterals .cart_totals {
		float: none;
		inline-size: 100%;
	}
}

/* ---------- Checkout (G2) ---------- */

/* "Have a discount code? Enter it here" on white, "Enter it here" red. */
:root body .tdic-workarea .woocommerce-form-coupon-toggle :is(.woocommerce-info, .woocommerce-message) {
	border: 1px solid var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

:root body .tdic-workarea .woocommerce-form-coupon-toggle :is(.woocommerce-info, .woocommerce-message)::before {
	color: var(--tdic-c-red);
}

:root body .tdic-workarea .woocommerce-form-coupon-toggle a.showcoupon {
	color: var(--tdic-c-red);
	text-decoration: underline;
}

/* "This is a gift" and each car: white with navy words. */
:root body .tdic-workarea :is(.tdic-gift, .tdic-car) {
	border: 1px solid var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

:root body .tdic-workarea :is(.tdic-gift, .tdic-car) :is(label, span:not(.tdic-plate *), p, small, summary, legend, strong, .tdic-sizes__option) {
	color: var(--tdic-c-navy);
}

/* Your order: the headings and Total red with a red rule, the rest black. */
:root body .tdic-workarea #order_review .shop_table {
	border: 1px solid var(--tdic-c-navy);
	border-radius: 14px;
	background: var(--tdic-c-white);
}

:root body .tdic-workarea #order_review .shop_table :is(td, th, p, span, dt, dd, strong, .woocommerce-Price-amount) {
	border-color: var(--tdic-c-navy);
	color: var(--wp--preset--color--black);
}

:root body .tdic-workarea #order_review .shop_table thead th,
:root body .tdic-workarea #order_review .shop_table .order-total :is(th, td, .woocommerce-Price-amount, strong) {
	color: var(--tdic-c-red);
}

:root body .tdic-workarea #order_review .shop_table thead th {
	border-block-end: 2px solid var(--tdic-c-red);
}

/* The Total is the last row, on the box's rounded bottom edge: underline
 * its words, so no line runs past the corners (final review, G2). */
:root body .tdic-workarea #order_review .shop_table .order-total :is(th, td) {
	border-block-end: 0;
}

:root body .tdic-workarea #order_review .shop_table .order-total :is(th, td > strong, td > .woocommerce-Price-amount, td > strong > .woocommerce-Price-amount) {
	text-decoration: underline 2px var(--tdic-c-red);
	text-underline-offset: 0.3em;
}

:root body .tdic-workarea #order_review_heading,
:root body .tdic-workarea .woocommerce-billing-fields h3 {
	color: var(--tdic-c-navy);
}

/* Payment options: dark words on white, outlined in red. */
:root body .tdic-workarea .woocommerce-checkout-payment {
	border: 1px solid var(--tdic-c-red);
	border-radius: 14px;
	background: var(--tdic-c-white) !important;
	color: var(--tdic-c-navy);
}

:root body .tdic-workarea .woocommerce-checkout-payment :is(label, p, span:not(.tdic-btn *), li, a:not(.tdic-btn):not(.button)) {
	color: var(--tdic-c-navy);
}

:root body .tdic-workarea .woocommerce-checkout-payment .wc_payment_methods {
	border-color: var(--tdic-c-navy);
}

:root body .tdic-workarea .woocommerce-checkout-payment .payment_box {
	border: 1px solid var(--tdic-c-navy);
	background: var(--tdic-c-white) !important;
	color: var(--tdic-c-navy);
}

:root body .tdic-workarea .woocommerce-checkout-payment .payment_box::before {
	border-bottom-color: var(--tdic-c-navy) !important;
}

/* Small words under fields on white are navy, never cream. */
:root body .tdic-workarea :is(.description, .tdic-plate__help, .tdic-field__help, .form-row .description) {
	color: var(--tdic-c-navy);
}

/* The basket total's own table and the payment box (their older rules use
 * an ID, so these name it too). */
:root body .tdic-workarea .cart_totals table.shop_table {
	border: 0;
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

:root body .tdic-workarea #payment.woocommerce-checkout-payment {
	border: 1px solid var(--tdic-c-red);
	background: var(--tdic-c-white);
}

/* ---------- Private Hire (L2): nine boxes, three across ---------- */
:root body .pg-hire-boxes__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin-block-start: 2rem;
}

@media (min-width: 600px) {
	:root body .pg-hire-boxes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

@media (min-width: 1024px) {
	:root body .pg-hire-boxes__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

:root body .pg-hire-box {
	display: flex;
	flex-direction: column;
	padding: 24px;
}

:root body .pg-hire-box .hiw-guide__body p {
	margin: 0;
}

/* ---------- Manage Booking (I3) and other light pages ---------- */

/* "All questions" (and every "more questions" link) is the main button. */
:root body .pg-faq__more .tdic-btn:not(#tdic-light) {
	--t-line: var(--tdic-c-red);
	border-color: var(--tdic-c-red);
	background-color: var(--tdic-c-red);
	color: var(--tdic-c-cream);
}

/* Small print inside light cards is navy, never cream. */
:root body :is(.pg-card, .tdic-tp .mb-form, .tdic-tp .mb-card) :is(p, li, small, .mb-form__intro, .mb-hint, .description) {
	color: var(--tdic-c-navy);
}

/* Question accordions: white, a navy outline, navy words, a red plus. */
:root body .pg-faq__item--card {
	/* The notch rings match the outline (fifth review, I3, K4, Z1). */
	--t-line: var(--tdic-c-navy);
	border-color: var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

:root body .pg-faq__item--card :is(summary, p, li, a:not(.tdic-btn)) {
	color: var(--tdic-c-navy);
}

:root body .pg-faq__item--card summary :is(.tdic-icon, svg) {
	color: var(--tdic-c-red);
}

/* ---------- Order received and Manage Booking (H2) ----------
 * The QR ticket stays navy. Its tear-line notches are cut-outs: they show
 * the white page behind, with the ticket's cream edge round them. */
:root body .tdic-tp .tdic-cine__stub::before,
:root body .tdic-tp .tdic-cine__stub::after {
	background: var(--tdic-c-white);
}

/* Manage Booking (I1, I2): "Change this ticket" and "Booking details" are
 * light like every other panel. With a short ticket list (or no booking
 * open yet), the content uses the width and the two panels sit side by side
 * under it, so no empty space is left beside the list; a long list keeps the
 * panels sticky beside it. */
:root body .pg-work .mb-ticket--page .mb-ticket__main {
	border-color: var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

:root body .pg-work .mb-ticket--page .mb-ticket__main :is(dt, dd, p, li, label, h2, h3) {
	color: var(--tdic-c-navy);
}

:root body .pg-work .mb-ticket--page .mb-ticket__main :is(.mb-kicker, .mb-ticket__h) {
	color: var(--tdic-c-red);
}

@media (min-width: 1024px) {
	:root body .pg-manage:not(.pg-manage--focus):not(:has(.mb-cards > :nth-child(6))) .pg-manage__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	:root body .pg-manage:not(.pg-manage--focus):not(:has(.mb-cards > :nth-child(6))) .pg-manage__side {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
		/* Side by side, the two cards are one height (fifth review, 0.5). */
		align-items: stretch;
	}

	:root body .pg-manage:not(.pg-manage--focus):not(:has(.mb-cards)) .pg-manage__main {
		max-inline-size: 720px;
	}
}

/* My Account's tickets list (J1): light rows like Manage Booking's. */
:root body .pg-account :is(.mb-card, .woocommerce-orders-table, .shop_table) {
	border-color: var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

/* Small print under the ticket's buttons on white. */
:root body .tdic-tp :is(.mb-share-note, .mb-note, .mb-ticket__note, .mb-pass-note) {
	color: var(--tdic-c-navy);
}

/* Submit buttons and button-style links inside light cards: the main red
 * button with cream words. */
:root body :is(.pg-card, .tdic-signup:not(.tdic-signup--landing), .pg-hire__form) :is(button[type="submit"], .wpforms-submit, a.pg-contact__maps, .pg-contact__map a[class*="btn"]) {
	border-color: var(--tdic-c-red);
	background-color: var(--tdic-c-red);
	color: var(--tdic-c-cream);
}

/* "Food stalls open" in a narrow ticket (phones) wraps onto two lines at the
 * same size rather than being cut at the ticket's edge. */
:root body .pg-shows .pg-show__slot .pg-food-open {
	max-inline-size: 100%;
	min-block-size: 26px;
	padding-block: 5px;
	white-space: normal;
	text-align: center;
	text-box: none;
	line-height: 1.2;
}

/* ======================= First review fixes (overnight round) ======================= */

/* Manage Booking and order received: outlines and small print on white are
 * navy (their outline is set once on .tdic-tp, so the swap never reaches
 * it); the QR ticket keeps its cream edge. */
:root body .tdic-tp {
	--mb-line: 1px solid var(--tdic-c-navy);
}

:root body .tdic-tp .tdic-cine {
	--mb-line: 1px solid var(--tdic-c-cream);
}

:root body .tdic-tp > :not(.tdic-cine) .tdic-cine__warn,
:root body .tdic-tp .tdic-cine__warn {
	color: var(--tdic-c-navy);
}

:root body .pg-rules__more a {
	color: var(--tdic-c-red);
	text-decoration: underline;
}

/* The two file buttons each take the ticket's width, so their notches
 * never touch. */
:root body .tdic-tp .tdic-cine__actions .tdic-cine__files > *,
:root body .tdic-tp .tdic-cine__actions .mb-pdf {
	grid-column: 1 / -1;
}

/* The labels above headings on these pages are red script lines (D178). */
:root body .tdic-tp .mb-kicker {
	color: var(--tdic-c-red);
	font-family: var(--wp--preset--font-family--accent);
	font-size: 1.5rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1;
	text-transform: none;
}

/* WooCommerce notices on white (the empty basket, the discount line). */
:root body .tdic-workarea .wc-block-components-notice-banner {
	border: 1px solid var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

:root body .tdic-workarea .wc-block-components-notice-banner :is(div, p, span) {
	color: var(--tdic-c-navy);
}

:root body .tdic-workarea .wc-block-components-notice-banner > svg {
	background: var(--tdic-c-red);
	fill: var(--tdic-c-cream);
	color: var(--tdic-c-cream);
}

:root body .tdic-workarea .wc-block-components-notice-banner a {
	color: var(--tdic-c-red);
	text-decoration: underline;
}

/* The empty basket's "See what's on" is the main button, ticket-shaped. */
:root body .tdic-workarea .return-to-shop .button {
	--t-n: 8px;
	display: inline-flex;
	align-items: center;
	min-block-size: 48px;
	padding: 0 28px;
	border: 0;
	border-radius: 6px;
	background: var(--tdic-c-red);
	color: var(--tdic-c-cream);
	font-family: var(--wp--preset--font-family--subheading);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	-webkit-mask:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	-webkit-mask-composite: source-in;
	mask:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	mask-composite: intersect;
}

/* Basket: the discount field outlined navy; Apply and Update basket are
 * secondary buttons (white, red outline, red words); the table's corners
 * are clean and the screening details have room. */
:root body .tdic-workarea .woocommerce-cart-form .coupon input {
	border: 1px solid var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

:root body .tdic-workarea .woocommerce-cart-form :is(button[name="apply_coupon"], button[name="update_cart"]) {
	border: 1px solid var(--tdic-c-red);
	border-radius: 6px;
	background: var(--tdic-c-white);
	color: var(--tdic-c-red);
}

:root body .tdic-workarea .woocommerce-cart-form .shop_table {
	overflow: hidden;
	border-collapse: separate;
	border-spacing: 0;
}

:root body .tdic-workarea .woocommerce-cart-form .shop_table :is(th, td) {
	background: transparent;
}

@media (min-width: 1024px) {
	:root body .tdic-workarea .woocommerce-cart-form .shop_table .product-name {
		inline-size: 46%;
	}
}

/* Checkout: Your order's headings red with a red rule; the payment box has
 * only its red outline (no cream or grey lines inside). */
:root body .tdic-workarea #order_review .shop_table thead th:is(.product-name, .product-total) {
	border-block-end: 2px solid var(--tdic-c-red);
	color: var(--tdic-c-red);
}

:root body .tdic-workarea #payment.woocommerce-checkout-payment :is(ul.payment_methods, div.form-row, .place-order) {
	border: 0;
	color: var(--tdic-c-navy);
}

:root body .tdic-workarea #payment.woocommerce-checkout-payment .place-order :is(p, span, a:not(.button)) {
	color: var(--tdic-c-navy);
}

/* Booking page: "–" (take a car off) is a small secondary button. */
:root body .tdic-screening-page .tdic-field__minus {
	border: 1px solid var(--tdic-c-red);
	background: var(--tdic-c-white);
	color: var(--tdic-c-red);
}

/* My Account's menu on phones and tablets: white tickets with a navy
 * outline and navy words; the open page is red with cream words. */
@media (max-width: 1023px) {
	:root body .pg-account .woocommerce-MyAccount-navigation a {
		--t-line: var(--tdic-c-navy);
		border-color: var(--tdic-c-navy);
		background-color: var(--tdic-c-white);
		color: var(--tdic-c-navy);
	}

	:root body .pg-account .woocommerce-MyAccount-navigation .is-active a {
		--t-line: var(--tdic-c-red);
		border-color: var(--tdic-c-red);
		background-color: var(--tdic-c-red);
		color: var(--tdic-c-cream);
	}
}

/* One header (B2) with a car held: the basket keeps the same gap as the
 * other tools, so the menu box stays centred; below 1440 the links fold
 * into the Menu button while a car is held. */
:root body .tdic-nav__basket:is(.is-held, .is-expired) {
	margin-inline-start: 0;
}

@media (min-width: 1080px) and (max-width: 1439px) {
	:root body :is(.tdic-header__bar, .pt-header):has(.tdic-nav__basket:is(.is-held, .is-expired)) :is(.tdic-nav__main, .pt-tab) {
		display: none;
	}

	:root body :is(.tdic-header__bar, .pt-header):has(.tdic-nav__basket:is(.is-held, .is-expired)) :is(.tdic-nav__toggle, .pt-menu-btn) {
		display: inline-flex;
	}

	:root body :is(.tdic-header__bar, .pt-header):has(.tdic-nav__basket:is(.is-held, .is-expired)) {
		grid-template-columns: minmax(0, 1fr) auto;
	}
}

/* Food and Drink (E1): every ticket in the grid the same height, not only
 * those in a row. */
:root body .pg-uses:has(.pg-vticket),
:root body .pg-food__list {
	grid-auto-rows: 1fr;
}

/* Booking page on phones (F1): the film's image sits under a deeper shade,
 * so the words on the panel always read. */
@media (max-width: 599px) {
	:root body .tdic-book__head.has-backdrop::after {
		/* A navy gradient, never a see-through panel (D66, sixth review). */
		background: linear-gradient(0deg, var(--tdic-c-navy) 0%, var(--tdic-c-navy) 65%, transparent 100%);
	}
}

/* Fixed slots in grids of cards (0.5): the icon, the title and the words
 * line up across each row, however long a title is. */
:root body :is(.pg-steps__list, .pg-hire-boxes__grid, .pg-track__list) {
	align-items: stretch;
}

:root body :is(.pg-steps__list, .pg-track__list) > li,
:root body .pg-hire-boxes__grid > .pg-hire-box {
	display: grid;
	grid-row: span 3;
	grid-template-rows: subgrid;
	row-gap: 10px;
	align-content: start;
}

:root body :is(.pg-steps__list, .pg-track__list, .pg-hire-boxes__grid) {
	row-gap: 0;
}

:root body :is(.pg-steps__list, .pg-track__list) > li,
:root body .pg-hire-boxes__grid > .pg-hire-box {
	margin-block-end: 24px;
}

:root body .pg-hire-boxes__grid > .pg-hire-box > * {
	margin: 0;
}

/* Small pieces: Home's night rows keep "Gates 13:30" together. */
:root body .tdic-slot__meta {
	text-wrap: pretty;
}

/* "Food stalls open" on the screening page and on Home's nights (N3). */
:root body .tdic-book__food {
	margin: 0.5rem 0 0;
}

:root body .tdic-slot .tdic-slot__food {
	flex: none;
	white-space: nowrap;
}

@media (max-width: 599px) {
	:root body .tdic-slot .tdic-slot__food {
		white-space: normal;
		text-align: center;
	}
}

/* Phones and tablets: the breadcrumbs always come first; with a booking
 * open, the booking comes before "What you can do online" and "The rules,
 * in short" (I1), so the customer's own tickets are at the top. */
@media (max-width: 1023px) {
	:root body .pg-wrap > .pg-crumbs {
		order: -2;
	}

	:root body .pg-manage:has(.mb-cards) .pg-manage__side {
		order: 1;
	}
}

/* H2: the cut-outs themselves (ticket-shape.js sets --tear-y); the cream
 * rings round them are drawn on the page side of the hole. */
:root body .tdic-tp .tdic-cine.has-tear {
	-webkit-mask:
		radial-gradient(circle at 0 var(--tear-y), transparent 10px, var(--t-black) 10.5px),
		radial-gradient(circle at 100% var(--tear-y), transparent 10px, var(--t-black) 10.5px);
	-webkit-mask-composite: source-in;
	mask:
		radial-gradient(circle at 0 var(--tear-y), transparent 10px, var(--t-black) 10.5px),
		radial-gradient(circle at 100% var(--tear-y), transparent 10px, var(--t-black) 10.5px);
	mask-composite: intersect;
}

:root body .tdic-tp .tdic-cine.has-tear .tdic-cine__stub::before,
:root body .tdic-tp .tdic-cine.has-tear .tdic-cine__stub::after {
	background: transparent;
}

/* The basket's own rules name the full path, so these do too. */
:root body.woocommerce-cart .tdic-workarea table.cart td.actions .coupon input {
	border: 1px solid var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

:root body.woocommerce-cart .tdic-workarea table.cart td.actions :is(.coupon .button, button[name="update_cart"]) {
	border: 1px solid var(--tdic-c-red);
	border-radius: 6px;
	background: var(--tdic-c-white);
	color: var(--tdic-c-red);
}

/* A disabled button is solid and never faded (design system, buttons). */
:root body.woocommerce-cart .tdic-workarea table.cart td.actions button[name="update_cart"]:disabled:not(#tdic-light) {
	--t-line: var(--tdic-c-cream);
	border-color: var(--tdic-c-cream);
	background-color: var(--tdic-c-navy);
	color: var(--tdic-c-cream);
	cursor: not-allowed;
	opacity: 1;
}

:root body.woocommerce-cart .tdic-workarea table.shop_table.cart {
	overflow: hidden;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--tdic-c-white);
}

:root body.woocommerce-cart .tdic-workarea table.shop_table.cart :is(th, td, tr) {
	background: transparent;
}

:root body.woocommerce-cart .tdic-workarea .woocommerce-cart-form {
	border: 0;
	background: transparent;
}

:root body.woocommerce-cart .tdic-workarea table.cart .quantity input {
	border: 1px solid var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

/* The basket uses the wide width, so the table has room beside the total. */
@media (min-width: 1024px) {
	:root body.woocommerce-cart .tdic-workarea .woocommerce:has(> .woocommerce-cart-form) {
		box-sizing: border-box;
		inline-size: 100%;
		max-width: var(--wp--style--global--wide-size, 1200px) !important;
		grid-template-columns: minmax(0, 1fr) 360px;
	}

	:root body.woocommerce-cart .tdic-workarea .woocommerce-cart-form {
		min-inline-size: 0;
	}
}

:root body.woocommerce-cart .tdic-workarea table.cart td.actions :is(.coupon .button, button[name="update_cart"]) {
	--t-n: 7px;
	-webkit-mask:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	-webkit-mask-composite: source-in;
	mask:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	mask-composite: intersect;
}

/* Step numbers on red circles are cream (0.3). */
:root body :is(.pg-steps__num, .pg-track__num) {
	color: var(--tdic-c-cream);
}

/* How It Works' journey (0.2): the band stays the night sky with the road
 * and the car; each stop on it is a white ticket like every other card on
 * a band, its drawing and words in navy, red kept. */
:root body .hiw-stop {
	--wp--preset--color--navy: var(--tdic-c-white);
	--wp--preset--color--cream: var(--tdic-c-navy);
	--t-line: var(--tdic-c-navy);
	color: var(--tdic-c-navy);
}

:root body .hiw-stop .hiw-stop__num {
	color: var(--tdic-c-cream);
}

:root body .hiw-stop :is(.tdic-btn, .hiw-car, .hiw-car *) {
	--wp--preset--color--navy: var(--tdic-c-navy);
	--wp--preset--color--cream: var(--tdic-c-cream);
}

/* Page titles in the navy band (basket, checkout, order received): cream,
 * the last word red; a one-word title is cream (0.6). */
:root body .tdic-page-hero :is(h1, .wp-block-post-title) {
	color: var(--tdic-c-cream);
}

:root body .tdic-page-hero .pg-h2__red {
	color: var(--tdic-c-red);
}

/* A script line above a centred heading is centred too. */
:root body .pg-eyebrow:has(+ .pg-center),
:root body .tdic-footer-signup .tdic-eyebrow {
	text-align: center;
}

:root body .tdic-footer-signup__title .pg-h2__red {
	color: var(--tdic-c-red);
}

/* What's On on phones (D2): one ticket a row, the poster beside the words
 * as on wider screens (docs/DESIGN-SYSTEM.md: 1 column on phones), so the
 * time, Gates and "Food stalls open" each sit on one line. */
@media (max-width: 599px) {
	:root body .pg-shows {
		grid-template-columns: minmax(0, 1fr);
	}

	:root body .pg-shows .pg-show {
		grid-row: span 7;
		grid-template-columns: 6.5rem minmax(0, 1fr);
		column-gap: 16px;
	}

	:root body .pg-shows .pg-show__poster {
		grid-row: 1 / -1;
		align-self: start;
		margin-block-end: 0;
	}

	:root body .pg-shows .pg-show__body > * {
		grid-column: 2;
	}

	:root body .pg-shows .pg-show__meta { grid-row: 1; }
	:root body .pg-shows .pg-show__title { grid-row: 2; }
	:root body .pg-shows .pg-show__when { grid-row: 3; }
	:root body .pg-shows .pg-show__price { grid-row: 4; }
	:root body .pg-shows .pg-show__slot--avail { grid-row: 5; }
	:root body .pg-shows .pg-show__slot--food { grid-row: 6; }
	:root body .pg-shows .pg-show__action { grid-row: 7; }

	:root body .pg-shows .pg-show__slot .pg-food-open {
		white-space: nowrap;
	}
}

@media (min-width: 600px) {
	:root body .pg-shows .pg-show__slot .pg-food-open {
		white-space: nowrap;
	}
}

/* Checkout (G2): the whole Total row red, the "£" too; the payment box's
 * inner box navy-edged, never cream. */
:root body .tdic-workarea #order_review .shop_table .order-total :is(th, td, td *) {
	color: var(--tdic-c-red);
}

:root body .tdic-workarea #payment div.payment_box {
	border: 1px solid var(--tdic-c-navy);
	background: var(--tdic-c-white);
}

:root body .tdic-workarea #payment div.payment_box::before {
	border-bottom-color: var(--tdic-c-navy);
}

/* The cookie plugin's "Cookie settings" tab on light pages (0.4): white,
 * a navy outline, navy words. */
:root body #cmplz-manage-consent .cmplz-manage-consent {
	border: 1px solid var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

/* ======================= Third review fixes (overnight round) ======================= */

/* Home, "Make it your night": Enquire is the main button whatever class the
 * Home content gives it (C1). */
:root body .tdic-panel--hire .wp-block-button .wp-block-button__link:not(#tdic-light) {
	--t-line: var(--tdic-c-red);
	border-color: var(--tdic-c-red);
	background-color: var(--tdic-c-red);
	color: var(--tdic-c-cream);
}

/* Selected toggles: red with cream words (0.4). */
:root body :is(.pg-chip[aria-pressed="true"], .pg-chip.is-active, .pg-plan-switch label:has(input:checked), .pg-plan-switch [aria-pressed="true"]):not(#tdic-light) {
	color: var(--tdic-c-cream);
}

/* What's On (0.5): the food slot keeps its height on every ticket, so the
 * Book button sits at the same place with or without the badge. */
:root body .pg-shows .pg-show__slot--food,
:root body .pg-shows .pg-show__slot--food:empty,
:root body .pg-shows .pg-show__slot--food:not(:has(*)) {
	min-block-size: 26px;
}

/* Headings on navy bands (0.6): cream words, the last word red. */
:root body :is(.tdic-sky, .pg-cta, .hiw-finale, .hiw-journey) .pg-h2:not(#tdic-light) {
	color: var(--tdic-c-cream);
}

:root body :is(.tdic-sky, .pg-cta, .hiw-finale, .hiw-journey) .pg-h2 .pg-h2__red {
	color: var(--tdic-c-red);
}

/* Home's sign-up script line is red; links on white are red (0.6, Z1). */
:root body .tdic-home-signup__script:not(#tdic-light) {
	/* Room for the script's descenders above the heading (fifth review). */
	margin-block-end: 10px;
	color: var(--tdic-c-red);
}

:root body .tdic-home-signup a:not(.tdic-btn):not(.wp-element-button) {
	color: var(--tdic-c-red);
	text-decoration: underline;
}

/* More dates sits at the right under the strip on Home too (B3). */
:root body .tdic-dstrip__more {
	box-sizing: border-box;
	justify-self: stretch;
	align-self: stretch;
	inline-size: 100%;
}

/* The script font's "fi" pair draws a wrong shape (Z1): no joined letters
 * in the script lines. */
:root body :is(.pg-kicker, .pg-eyebrow, .tdic-eyebrow, .pg-script, .pg-vendor__script, .tdic-book__kicker, .mb-kicker, .tdic-home-signup__script, .tdic-bigscreen__eyebrow, [class*="__script"]) {
	font-variant-ligatures: none;
	font-feature-settings: "liga" 0, "dlig" 0;
}

/* The booking page (0.6): the film's name in the panel cream, its last word
 * red; the section headings navy with the last word red. */
:root body .tdic-book__head .tdic-book__film:not(#tdic-light) {
	color: var(--tdic-c-cream);
}

:root body .tdic-book__head .tdic-book__film .pg-h2__red,
:root body .tdic-screening-page .tdic-book__h2 .pg-h2__red {
	color: var(--tdic-c-red);
}

:root body .tdic-screening-page .tdic-book__h2:not(#tdic-light) {
	color: var(--tdic-c-navy);
}

/* "About the film" on white: navy, its last word red. */
:root body .pg-section--white h2.pg-h3:has(.pg-h2__red):not(#tdic-light) {
	color: var(--tdic-c-navy);
}

:root body .pg-plan-switch input:checked + label:not(#tdic-light) {
	color: var(--tdic-c-cream);
}

:root body :is(.tdic-book__head .tdic-book__film, .tdic-screening-page .tdic-book__h2, .tdic-footer-signup__title, .tdic-tp .mb-booking__film, .tdic-page-hero h1) .pg-h2__red:not(#tdic-light) {
	color: var(--tdic-c-red);
}

/* ======================= Fourth review fixes (overnight round) ======================= */

/* The film page's date tickets: white with a navy outline (0.3). */
:root body .pg-date-card:not(#tdic-light) {
	--t-line: var(--tdic-c-navy);
	border-color: var(--tdic-c-navy);
	background-color: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

/* Home's nights: "Food stalls open" sits under the film's details (0.5). */
:root body .tdic-slot .tdic-slot__food {
	display: inline-flex;
	align-self: flex-start;
	inline-size: max-content;
	max-inline-size: 100%;
	margin-block-start: 6px;
}

/* Rows without stalls keep the badge's space, so every row in a night is
 * the same height (fifth review, 0.5 and B4). */
:root body .tdic-slot .tdic-slot__food--off {
	visibility: hidden;
}

/* What's On's food cards on phones: the vendor's name keeps two lines, so
 * the words beside start level (0.5). */
@media (max-width: 599px) {
	:root body .pg-food__list .pg-vticket :is(h3, .pg-vendor__script) {
		min-block-size: 2.1em;
	}
}

/* What's On (D2): one ticket a row below 860px, two up to 1279px, three
 * from 1280px, so the words column always has room for the time and Gates
 * and "Food stalls open". */
@media (min-width: 600px) and (max-width: 859px) {
	:root body .pg-shows {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (min-width: 860px) {
	:root body .pg-shows {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1280px) {
	:root body .pg-shows {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) and (max-width: 1279px) {
	:root body .pg-shows {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Links on white are red and underlined (Z1). */
:root body :is(.tdic-qb__foot, .pg-contact, .pg-hire, .pg-hire__form, .pg-contact__form, .pg-contact__side) a:not(.tdic-btn):not(.button):not(.wp-element-button):not([class*="btn"]):not(#tdic-light) {
	color: var(--tdic-c-red);
	text-decoration: underline;
}

/* Basket, checkout and Thank you: the side gutter from the design system,
 * 24px on tablets and 32px on computers, not the 16px phone gutter
 * (sixth review). The templates set their padding inline, hence
 * !important. */
@media (min-width: 600px) {
	:root body .tdic-checkout-page > :is(.tdic-page-hero, .tdic-workarea) {
		padding-inline: 24px !important;
	}
}

@media (min-width: 1024px) {
	:root body .tdic-checkout-page > :is(.tdic-page-hero, .tdic-workarea) {
		padding-inline: 32px !important;
	}
}

/* Home's nights: a detail such as "Gates 18:30" never splits over two
 * lines; the line breaks only between details (seventh review). The dot
 * hangs in the gap before a detail, so a detail that starts a line has its
 * dot outside the box, clipped, and no line ends on a dot (L27). */
:root body .tdic-slot__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 0.8em;
	overflow: hidden;
}

:root body .tdic-slot__meta .tdic-nowrap {
	position: relative;
	white-space: nowrap;
}

:root body .tdic-slot__meta .tdic-nowrap + .tdic-nowrap::before {
	content: "\00B7";
	position: absolute;
	inset-inline-start: -0.55em;
}

/* Film page "How your night works": the title keeps clear of the round step
 * number in the corner, so on narrow cards it wraps before it rather than
 * running underneath (final review, Z). */
:root body .pg-track__step:has(.pg-steps__num) > .pg-h3 {
	padding-inline-end: 3rem;
}

/* Round 23 October (C) */

/* Checkout gift section (D199), in Jonny's order: where the tickets go as
 * two choice cards, their name and email side by side, when to send, then
 * the message. The cards are white with a thin navy outline and a round
 * mark; hover and the chosen card turn red. No system radios. */
:root body .tdic-workarea .tdic-gift .tdic-gift__fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--40);
}

:root body .tdic-workarea .tdic-gift .tdic-gift__fields > * {
	grid-column: 1 / -1;
	margin: 0;
}

:root body .tdic-workarea .tdic-gift :is(.tdic-gift__fields, [data-tdic-gift-them])[hidden] {
	display: none !important;
}

:root body .tdic-workarea .tdic-gift :is(.tdic-gift__to, .tdic-gift__when) {
	min-inline-size: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

:root body .tdic-workarea .tdic-gift .tdic-gift__legend {
	margin: 0 0 var(--wp--preset--spacing--20);
	padding: 0;
	color: var(--tdic-c-navy);
	font-family: var(--wp--preset--font-family--subheading);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

:root body .tdic-workarea .tdic-gift .tdic-gift__choices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: var(--wp--preset--spacing--30);
}

:root body .tdic-workarea .tdic-gift .tdic-gift__when .tdic-gift__choices {
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}

:root body .tdic-workarea .tdic-gift .tdic-gift__choice {
	position: relative;
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: var(--wp--preset--spacing--30);
	align-items: start;
	margin: 0;
	padding: var(--wp--preset--spacing--30);
	border: 1px solid var(--tdic-c-navy);
	border-radius: var(--wp--custom--radius);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
	cursor: pointer;
	transition: border-color var(--wp--custom--duration--fast, 160ms) var(--wp--custom--ease);
}

/* The real radio covers the card, so keyboards and screen readers still use it. */
:root body .tdic-workarea .tdic-gift .tdic-gift__choice input {
	position: absolute;
	inset: 0;
	inline-size: 100%;
	block-size: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

:root body .tdic-workarea .tdic-gift .tdic-gift__mark {
	box-sizing: border-box;
	inline-size: 20px;
	block-size: 20px;
	margin-block-start: 1px;
	border: 1px solid var(--tdic-c-navy);
	border-radius: 50%;
	background: var(--tdic-c-white);
}

:root body .tdic-workarea .tdic-gift .tdic-gift__choice-words {
	display: grid;
	gap: var(--wp--preset--spacing--10);
}

:root body .tdic-workarea .tdic-gift .tdic-gift__choice-title {
	color: var(--tdic-c-navy);
	font-family: var(--wp--preset--font-family--subheading);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.3;
}

:root body .tdic-workarea .tdic-gift .tdic-gift__choice-text {
	color: var(--tdic-c-navy);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.45;
}

:root body .tdic-workarea .tdic-gift .tdic-gift__choice:has(input:checked) {
	border-color: var(--tdic-c-red);
}

:root body .tdic-workarea .tdic-gift .tdic-gift__choice:has(input:checked) .tdic-gift__mark {
	border-color: var(--tdic-c-red);
	background: var(--tdic-c-red);
	box-shadow: inset 0 0 0 4px var(--tdic-c-white);
}

:root body .tdic-workarea .tdic-gift .tdic-gift__choice:has(input:focus-visible) {
	outline: 2px solid var(--tdic-c-red);
	outline-offset: 2px;
}

/* Round 23 October (F) */

/* ---------- Home: Pick your night, the same as What's On (6a, 6b, 6c, D198) ---------- */

/* The date picker and the film filter on one line between two rules. */
:root body .tdic-qb__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	align-items: end;
	justify-content: space-between;
	flex: 1 1 100%;
	box-sizing: border-box;
	inline-size: 100%;
	margin-block-start: -12px;
	padding-block: 14px;
	border-block: 1px solid var(--tdic-c-navy);
}

:root body .tdic-qb__showing {
	margin: 0 auto 0 0;
	align-self: center;
	color: var(--tdic-c-navy);
	font-family: var(--wp--preset--font-family--subheading);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

:root body .tdic-qb__field {
	display: grid;
	flex: 0 1 14rem;
	gap: 4px;
}

:root body .tdic-qb__label {
	color: var(--tdic-c-navy);
	font-family: var(--wp--preset--font-family--subheading);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

:root body .tdic-qb__input {
	box-sizing: border-box;
	inline-size: 100%;
	min-block-size: 48px;
	padding: 8px 12px;
	border: 1px solid var(--tdic-c-navy);
	border-radius: 10px;
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
	font: inherit;
	font-size: 1rem;
}

:root body .tdic-qb__input:focus-visible {
	outline: 2px solid var(--tdic-c-red);
	outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
	:root body .tdic-workarea .tdic-gift .tdic-gift__choice:hover,
	:root body .tdic-workarea .tdic-gift .tdic-gift__choice:hover .tdic-gift__mark {
		border-color: var(--tdic-c-red);
	}
}

/* Their name and their email together on one line. */
:root body .tdic-workarea .tdic-gift .tdic-gift__who {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: var(--wp--preset--spacing--30);
}

:root body .tdic-workarea .tdic-gift .tdic-gift__who .form-row {
	margin: 0;
}

:root body .tdic-workarea .tdic-gift .tdic-gift__lead {
	margin-block-start: calc(-1 * var(--wp--preset--spacing--20));
	font-size: 0.9375rem;
}

:root body .tdic-workarea .tdic-gift .tdic-gift__date {
	margin-block-start: var(--wp--preset--spacing--30);
}

:root body .tdic-workarea .tdic-gift .required {
	color: var(--tdic-c-red);
}

/* Tickets to the buyer to give: their name is only for the gift card. */
:root body .tdic-workarea .tdic-gift:has(input[data-tdic-gift-to][value="me"]:checked) .tdic-gift__name .required {
	display: none;
}

@media (max-width: 599px) {
	:root body .tdic-qb__showing {
		flex: 1 1 100%;
	}

	:root body .tdic-qb__field {
		flex: 1 1 calc(50% - 8px);
		min-inline-size: 0;
	}

	:root body .tdic-qb__input {
		min-inline-size: 0;
	}
}

/* Every screening is in one list; the ones that do not fit the night and
 * film chosen are hidden. */
:root body .tdic-slots .tdic-slot[hidden] {
	display: none !important;
}

:root body .tdic-slots .tdic-slot.is-entering {
	animation: tdic-slot-in 0.22s var(--wp--custom--ease) both;
}

/* The day above the time, so "All dates" reads clearly. */
:root body .tdic-slot .tdic-slot__time {
	display: grid;
	align-content: center;
	gap: 6px;
	font-variant-numeric: tabular-nums;
}

:root body .tdic-slot .tdic-slot__day {
	font-family: var(--wp--preset--font-family--subheading);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.1;
	text-transform: uppercase;
	white-space: nowrap;
}

:root body .tdic-qb__more,
:root body .tdic-qb__none {
	color: var(--tdic-c-navy);
}

:root body :is(.tdic-qb__more, .tdic-qb__none) a {
	color: var(--tdic-c-red);
	text-decoration: underline;
}

/* A sold-out night stays in view, greyed (faded, as a disabled button).
 * Tapping it says so and links to the film's next screening that can be
 * booked; the words sit in the slot every row keeps for the food badge,
 * so nothing moves. */
:root body .tdic-slot--sold-out:has([data-tdic-sold]) {
	cursor: pointer;
}

:root body .tdic-slot--sold-out :is(.tdic-slot__time, .tdic-slot__title, .tdic-slot__meta, .tdic-avail) {
	opacity: 0.45;
}

:root body .tdic-slot .tdic-slot__note {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 8px;
	align-items: baseline;
	min-block-size: 26px;
	margin-block-start: 6px;
	color: var(--tdic-c-navy);
	font-size: 0.9375rem;
	line-height: 1.4;
}

:root body .tdic-slot .tdic-slot__note-words {
	color: var(--tdic-c-red);
	font-weight: 700;
}

:root body .tdic-slot .tdic-slot__note a {
	color: var(--tdic-c-red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

:root body .has-sold-notes .tdic-slot .tdic-slot__note {
	visibility: hidden;
}

:root body .has-sold-notes .tdic-slot.is-told .tdic-slot__note {
	visibility: visible;
}

/* "Sold out" in the button's place: a secondary ticket button (white, red
 * outline, red words); red with cream words once tapped. */
:root body .tdic-slot .tdic-slot__sold:not(#tdic-light) {
	--t-line: var(--tdic-c-red);
	--t-w: 1px;
	min-block-size: 46px;
	padding: 0 22px;
	border: 1px solid var(--tdic-c-red);
	background-color: var(--tdic-c-white);
	color: var(--tdic-c-red);
	white-space: nowrap;
}

:root body .tdic-slot.is-told .tdic-slot__sold:not(#tdic-light) {
	background-color: var(--tdic-c-red);
	color: var(--tdic-c-cream);
}

/* Book and Sold out are the same width, so the badges beside them line up. */
@media (min-width: 821px) {
	:root body .tdic-slot :is(.tdic-slot__book, .tdic-slot__sold):not(#tdic-light) {
		min-inline-size: 172px;
	}
}

/* A night with every screening sold out stays in the strip, greyed. */
:root body .tdic-dt.is-sold :is(.tdic-dt__main, .tdic-dt__stub) {
	opacity: 0.45;
}

@media (max-width: 820px) {
	:root body .tdic-slot:not(#tdic-light) {
		grid-template-columns: 84px minmax(0, 1fr);
	}

	:root body .tdic-slot .tdic-slot__day {
		font-size: 0.625rem;
		letter-spacing: 0.06em;
	}

	:root body .tdic-slot .tdic-slot__sold:not(#tdic-light) {
		grid-column: 1 / -1;
		inline-size: 100%;
	}
}

/* ---------- Home: "Your space is waiting" (6d, D198) ----------
 * The gap between WAITING. and Book Now is closed and the words are
 * centred on the screen, with the same space above the script line as
 * below Book Now. */
:root body .pt-final .pt-final__content:not(#tdic-light) {
	gap: clamp(16px, 2.2vw, 28px);
	padding-block: clamp(24px, 3.2vw, 44px);
}

:root body .pt-final .pt-final__content .wp-block-buttons:not(#tdic-light) {
	margin-block-start: 0;
}

:root body .pt-final .pt-final__content .tdic-eyebrow:not(#tdic-light) {
	margin-block-end: calc(8px - clamp(16px, 2.2vw, 28px));
}

/* ---------- Film page (7a to 7e, D198) ---------- */

/* "Watch the trailer": a main button, red with cream words and a solid
 * cream play symbol. */
:root body .tdic-btn .pg-play {
	inline-size: 1rem;
	block-size: 1rem;
	fill: currentColor;
	stroke: none;
}

/* The trailer on the page: the film's picture under a navy fade, a red
 * round play button; the player replaces it when pressed. */
:root body .pg-trailer {
	position: relative;
	display: grid;
	aspect-ratio: 16 / 9;
	margin-block-start: 24px;
	overflow: hidden;
	border: 1px solid var(--tdic-c-navy);
	border-radius: 16px;
	background-color: var(--tdic-c-navy);
}

:root body .pg-trailer .pg-trailer__img {
	position: absolute;
	inset: 0;
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

:root body .pg-trailer--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, transparent 30%, var(--tdic-c-navy) 100%);
	pointer-events: none;
}

:root body .pg-trailer .pg-trailer__play {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-rows: 1fr auto;
	justify-items: center;
	align-items: center;
	inline-size: 100%;
	block-size: 100%;
	padding: clamp(16px, 3vw, 32px);
	border: 0;
	background: none;
	color: var(--tdic-c-cream);
	font-family: var(--wp--preset--font-family--subheading);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}

:root body .pg-trailer .pg-trailer__icon {
	display: grid;
	place-items: center;
	inline-size: clamp(64px, 9vw, 104px);
	aspect-ratio: 1;
	border-radius: 50%;
	background-color: var(--tdic-c-red);
	color: var(--tdic-c-cream);
	transition: transform 0.2s var(--wp--custom--ease);
}

:root body .pg-trailer .pg-trailer__icon .pg-play {
	inline-size: 42%;
	block-size: 42%;
	margin-inline-start: 8%;
	fill: currentColor;
	stroke: none;
}

@media (hover: hover) and (pointer: fine) {
	:root body .pg-trailer .pg-trailer__play:hover .pg-trailer__icon {
		transform: scale(1.06);
	}
}

:root body .pg-trailer .pg-trailer__play:focus-visible {
	outline: 2px solid var(--tdic-c-cream);
	outline-offset: -6px;
}

:root body .pg-trailer iframe {
	position: absolute;
	inset: 0;
	inline-size: 100%;
	block-size: 100%;
	border: 0;
}

:root body .pg-film__trailer-sec .pg-film__note {
	margin: 12px 0 0;
	color: var(--tdic-c-navy);
	font-size: 0.875rem;
}

/* The poster beside "About the film", with the details under the words. */
:root body .pg-film__about.pg-film__about--poster:not(#tdic-light) {
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
}

:root body .pg-film__poster {
	justify-self: center;
	inline-size: min(60vw, 280px);
	margin: 0;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	border: 1px solid var(--tdic-c-navy);
	border-radius: 12px;
	background-color: var(--tdic-c-navy);
}

:root body .pg-film__poster img {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

:root body .pg-film__words .pg-film__details {
	margin-block-start: 24px;
}

@media (min-width: 760px) {
	:root body .pg-film__about.pg-film__about--poster:not(#tdic-light) {
		grid-template-columns: 280px minmax(0, 1fr);
		gap: 48px;
		align-items: start;
	}

	:root body .pg-film__poster {
		inline-size: 100%;
	}
}

/* "How your night works": the site's own red car (Home's road car, seen
 * from above, nose to the right) drives straight along the road. */
:root body .pg-track__road:not(#tdic-light) {
	block-size: 32px;
	margin-block-end: 32px;
	border-block-end: 3px dashed var(--tdic-c-navy);
}

/* The car sits on the road, its middle on the dashed line. */
:root body .pg-track__car:not(#tdic-light) {
	inset-block-end: -22.5px;
	inline-size: 84px;
	block-size: 42px;
}

:root body .pg-track__svg {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	overflow: visible;
}

:root body .pg-track__svg :is(.pg-car__body, .pg-car__roof, .pg-car__tail) {
	fill: var(--tdic-c-red);
}

:root body .pg-track__svg :is(.pg-car__roof, .pg-car__tail) {
	stroke: var(--wp--preset--color--black);
	stroke-width: 1.5;
}

:root body .pg-track__svg .pg-car__glass {
	fill: var(--wp--preset--color--black);
}

:root body .pg-track__svg .pg-car__lamp {
	fill: var(--tdic-c-cream);
}

/* Tied to the scroll by pages.js, so no timed slide. */
:root.pg-track-js body .pg-track__car:not(#tdic-light) {
	transition: none;
	will-change: transform;
}

@media (max-width: 599px) {
	:root body .pg-track__road:not(#tdic-light) {
		block-size: 24px;
		margin-block-end: 24px;
	}

	:root body .pg-track__car:not(#tdic-light) {
		inset-block-end: -15.5px;
		inline-size: 56px;
		block-size: 28px;
	}
}

/* ---------- Booking page: Continue to checkout (8a, D198) ----------
 * A ticket button with its notches: a navy outline (white, navy words)
 * while no car is chosen, red with cream words when ready. The line that
 * sat between "No cars yet" and the button is gone. */
:root body .tdic-screening-page .tdic-book__desk .tdic-book__bar:not(#tdic-light) {
	border-block-start: 0;
	box-shadow: none;
}

:root body .tdic-book__go:not(#tdic-light) {
	--t-n: 7px;
	--t-w: 1.5px;
	--t-line: var(--tdic-c-red);
	border: 1.5px solid var(--tdic-c-red);
	background-color: var(--tdic-c-red);
	color: var(--tdic-c-cream);
	opacity: 1;
}

:root body .tdic-book__go:disabled:not(#tdic-light) {
	--t-line: var(--tdic-c-navy);
	border-color: var(--tdic-c-navy);
	background-color: var(--tdic-c-white);
	background-image:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + var(--t-w) + 0.5px), transparent calc(var(--t-n) + var(--t-w) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + var(--t-w) + 0.5px), transparent calc(var(--t-n) + var(--t-w) + 0.5px));
	background-repeat: no-repeat;
	background-position: 0 0, 0 0;
	background-size: 100% 100%;
	background-origin: border-box;
	color: var(--tdic-c-navy);
	opacity: 1;
	cursor: not-allowed;
}

/* ---------- Basket: Apply and Update basket notched (8e, D198) ---------- */
:root body.woocommerce-cart .tdic-workarea table.cart td.actions :is(.coupon .button, button[name="update_cart"]):not(#tdic-light) {
	--t-line: var(--tdic-c-red);
	--t-w: 1px;
	background-image:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + var(--t-w) + 0.5px), transparent calc(var(--t-n) + var(--t-w) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + var(--t-w) + 0.5px), transparent calc(var(--t-n) + var(--t-w) + 0.5px));
	background-repeat: no-repeat;
	background-position: 0 0, 0 0;
	background-size: 100% 100%;
	background-origin: border-box;
}

/* The discount code box's placeholder reads as a hint: the body font,
 * regular weight, as typed (not bold brand capitals). */
:root body:not(#tdic-light) :is(.woocommerce-cart table.cart td.actions .coupon, .woocommerce-checkout form.checkout_coupon) .input-text::placeholder {
	color: var(--tdic-c-navy);
	font-family: var(--wp--preset--font-family--body);
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	opacity: 1;
}

/* ---------- Order received: the wallet buttons (9a, 9b, D198) ----------
 * Apple Wallet and Google Wallet side by side on one line, the same
 * height, 12px apart, sized to fit the ticket's width. The badges are
 * Apple's and Google's own, unaltered (D127), so each keeps its shape. */
:root body .tdic-confirm .tdic-cine__actions:not(#tdic-light) {
	container-type: inline-size;
}

:root body .tdic-confirm .tdic-cine__actions .mb-wallet:not(#tdic-light) {
	display: flex;
	grid-column: 1 / -1;
	flex-wrap: nowrap;
	gap: 12px;
	align-items: center;
	justify-content: flex-start;
	margin: 0;
}

:root body .tdic-confirm .tdic-cine__actions .mb-wallet__button:not(#tdic-light) {
	display: block;
	flex: none;
	min-block-size: 0;
	line-height: 0;
}

:root body .tdic-confirm .tdic-cine__actions .mb-wallet__button img:not(#tdic-light) {
	/* Both badges side by side fill at most the row: Apple's is 3.24 times
	 * as wide as it is high and Google's 5.66, 8.9 together. */
	block-size: min(44px, calc((100cqi - 12px) / 8.9)) !important;
	inline-size: auto !important;
	max-inline-size: none;
}

/* Phones: the ticket fills the column, so the space either side of it is
 * the same; the two badges reach from edge to edge of the ticket. */
@media (max-width: 599px) {
	:root body .tdic-confirm__layout:not(#tdic-light) {
		--tdic-ticket-w: 100%;
	}

	:root body .tdic-confirm .tdic-cine__actions:not(#tdic-light) {
		max-inline-size: none;
	}

	:root body .tdic-confirm .tdic-cine__actions .mb-wallet:not(#tdic-light) {
		justify-content: space-between;
	}
}

/* ---------- Round 27 October ---------- */

/* Manage Booking, the code step (5): "If the details match, we've sent a
 * code..." is navy on white and "Send me a new code" is a red link. */
:root body .tdic-tp .mb-notice:not([class*="mb-notice--"]):not(#tdic-light) {
	border-color: var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

:root body .tdic-tp .mb-after .mb-link:not(#tdic-light) {
	color: var(--tdic-c-red);
}

/* Continue to checkout (6a): always the main button, red with cream
 * words once a car is chosen. Until then solid navy with a cream outline
 * and cream words, never a faded red (D66, Jonny, 1 November), as the
 * site's other disabled buttons (components.css). */
:root body .tdic-book__go:disabled:not(#tdic-light) {
	--t-line: var(--tdic-c-cream);
	--t-w: 1px;
	border: 1px solid var(--tdic-c-cream);
	background-color: var(--tdic-c-navy);
	color: var(--tdic-c-cream);
	opacity: 1;
	cursor: not-allowed;
}

/* Other dates for this film (6b): ticket cards like What's On's, with the
 * notches and corners of the screening tickets. */
:root body .tdic-book__date:not(#tdic-light) {
	--t-n: 8px;
	padding: 16px;
	border-radius: 14px;
}

@media (min-width: 600px) {
	:root body .tdic-book__date:not(#tdic-light) {
		padding: 24px;
	}

	:root body .tdic-book__dates:not(#tdic-light) {
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
		gap: 24px;
	}
}

/* Checkout, the discount code box (6e): white with a navy outline; Apply
 * on the same line, the same height as the box, words centred; the error
 * on its own line under them, red on white, its line kept so nothing
 * moves when it appears. */
:root body.woocommerce-checkout form.checkout_coupon:not(#tdic-light) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px 12px;
	align-items: stretch;
	padding: 16px 16px 8px;
	border: 1px solid var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

:root body.woocommerce-checkout form.checkout_coupon[style*="display:none"]:not(#tdic-light),
:root body.woocommerce-checkout form.checkout_coupon[style*="display: none"]:not(#tdic-light) {
	display: none;
}

:root body.woocommerce-checkout form.checkout_coupon :is(.form-row, .form-row-first, .form-row-last):not(#tdic-light) {
	display: flex;
	float: none;
	inline-size: auto;
	margin: 0;
	padding: 0;
}

:root body.woocommerce-checkout form.checkout_coupon .clear:not(#tdic-light) {
	display: none;
}

:root body.woocommerce-checkout form.checkout_coupon .input-text:not(#tdic-light) {
	box-sizing: border-box;
	flex: 1 1 auto;
	inline-size: auto !important;
	min-inline-size: 0;
	block-size: 48px;
	min-block-size: 48px;
	margin: 0;
	border: 1px solid var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
	box-shadow: none;
}

:root body.woocommerce-checkout form.checkout_coupon .input-text.has-error:not(#tdic-light) {
	border-color: var(--tdic-c-red);
}

:root body.woocommerce-checkout form.checkout_coupon .button:not(#tdic-light) {
	--t-n: 7px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 7.5rem;
	block-size: 48px;
	min-block-size: 48px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--tdic-c-red);
	border-radius: 6px;
	background: var(--tdic-c-red);
	color: var(--tdic-c-cream);
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	-webkit-mask:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	-webkit-mask-composite: source-in;
	mask:
		radial-gradient(circle at 0 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	mask-composite: intersect;
}

/* The error's line is kept, empty, until WooCommerce adds the words. */
:root body.woocommerce-checkout form.checkout_coupon:not(#tdic-light)::after {
	content: "";
	grid-column: 1 / -1;
	min-block-size: 1.45em;
}

/* WooCommerce puts the error beside the field, inside its paragraph: it
 * is lifted out of that line into the kept space under the field. */
:root body.woocommerce-checkout form.checkout_coupon .form-row-first:not(#tdic-light) {
	position: relative;
}

:root body.woocommerce-checkout form.checkout_coupon .coupon-error-notice:not(#tdic-light) {
	position: absolute;
	inset-block-start: calc(100% + 8px);
	/* Under the field and Apply together (Apply is 7.5rem, 12px away). */
	inset-inline: 0 calc(-12px - 7.5rem);
	margin: 0;
	color: var(--tdic-c-red);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.45;
}

@media (max-width: 599px) {
	:root body.woocommerce-checkout form.checkout_coupon:not(#tdic-light)::after {
		min-block-size: 2.9em;
	}
}

@media (min-width: 600px) {
	:root body.woocommerce-checkout form.checkout_coupon:not(#tdic-light) {
		padding: 24px 24px 16px;
	}
}

/* Home, On next (9b): a sold-out row says so once, on its button; the
 * badge's slot is kept empty so the row keeps its size. */
:root body .tdic-qb .tdic-slot--sold-out .tdic-avail:not(#tdic-light) {
	visibility: hidden;
}

/* Membership tiers side by side (9d): the cards share one set of rows
 * (icon, name, price, discount, perks, button), so a two-line monthly
 * and yearly price on one card never pushes its discount, perks or
 * button below the others'. */
@media (min-width: 900px) {
	:root body .pg-tiers__grid:not(#tdic-light) {
		row-gap: 0.75rem;
	}

	:root body .pg-tiers__grid > .pg-tier:not(#tdic-light) {
		display: grid;
		grid-row: span 6;
		grid-template-rows: subgrid;
		align-content: start;
	}

	:root body .pg-tier > :is(.pg-tier__join, .pg-tier__soon):not(#tdic-light) {
		align-self: end;
		margin-block-start: 0;
	}

	/* The perks keep their own spacing, top of their row. */
	:root body .pg-tiers__grid .pg-tier__perks:not(#tdic-light) {
		align-self: start;
		align-content: start;
	}

	/* A tier with one price keeps the Save badge's slot (a 26px badge and
	 * its 0.5rem gap) while the others show one, so every price is level. */
	:root body .pg-tiers__grid:has(.pg-tier__save:not([hidden])) > .pg-tier > .pg-tier__price:not(#tdic-light) {
		padding-block-start: calc(26px + 0.5rem);
	}

	body:not(:has(#pg-plan-year:checked)) .pg-tiers__grid:not(:has(.pg-plan--month .pg-tier__save)) > .pg-tier > .pg-tier__price:not(#tdic-light) {
		padding-block-start: 0;
	}
}

/* Food and Drink's vendor tickets (9d): the tickets in a row share their
 * rows (photo, name, words, menu, deals, opening times), so every part
 * starts level across the row however long a menu is; a vendor with no
 * deals keeps the slot empty. The rows fit their content (equal "1fr"
 * rows, E1, would stretch every part), so the tickets in a row are the
 * same height and a ticket alone on the last row takes its own. */
:root body .pg-uses:has(.pg-vticket):not(#tdic-light) {
	grid-auto-rows: auto;
}

:root body .pg-uses:has(.pg-vticket) > .pg-vticket:not(#tdic-light) {
	display: grid;
	grid-row: span 6;
	grid-template-rows: subgrid;
	row-gap: 0;
}

:root body .pg-uses:has(.pg-vticket) > .pg-vticket > .pg-use__body:not(#tdic-light) {
	display: grid;
	grid-row: span 5;
	grid-template-rows: subgrid;
	row-gap: 10px;
	align-content: start;
}

:root body .pg-uses .pg-vticket .pg-use__body > :is(h3, .pg-h3):not(#tdic-light) {
	grid-row: 1;
}

:root body .pg-uses .pg-vticket .pg-use__body > p:not(.pg-use__times):not(#tdic-light) {
	grid-row: 2;
}

:root body .pg-uses .pg-vticket .pg-use__body > .pg-menu:not(.pg-menu--deals):not(#tdic-light) {
	grid-row: 3;
	align-self: start;
}

:root body .pg-uses .pg-vticket .pg-use__body > .pg-menu--deals:not(#tdic-light) {
	grid-row: 4;
	align-self: start;
}

:root body .pg-uses .pg-vticket .pg-use__body > .pg-use__times:not(#tdic-light) {
	grid-row: 5;
	align-self: end;
	margin-block-start: 0;
}

/* ---------- Focus keeps the ticket shape (round 27 October evening, 7c) ----------
 * A keyboard focus ring never switches the notches off and never draws a
 * square outline. It is a 2px band just inside the edge, with arcs round
 * both notches, so it follows the ticket in every state. Red on white
 * tickets and on Manage Booking's button (which turns cream when focused);
 * cream on red and dark buttons and on a chosen (red) chip or tab. */
:root body :is(.tdic-tp .mb-button, .tdic-dt, .tdic-time, .tdic-field__tile, .tdic-sections__section, .tdic-book__date, .pg-chip, .tdic-tp .mb-card, .tdic-tp .mb-action, .tdic-tp .mb-option, .pg-account .woocommerce-MyAccount-navigation a):focus-visible:not(#tdic-light),
:root body :is(.tdic-field__tile:has(input:focus-visible), .tdic-tp .mb-option--pick:has(input:focus-visible)):not(#tdic-light) {
	--t-focus: var(--tdic-c-red);
}

:root body :is(.tdic-btn, .wp-block-button.tdic-cta--red .wp-block-button__link, .wp-block-button.tdic-cta--line .wp-block-button__link, .tdic-signup:not(.tdic-signup--landing) button[type="submit"], .tdic-nav__toggle, .pt-menu-btn, .tdic-stub, .tdic-social__link, .tdic-tp .mb-pdf__link, .tdic-tp .wp-element-button, .wp-block-group.pg .wp-element-button, .wc-backward, .pg-chip[aria-pressed="true"], .pg-chip.is-active, .pg-account .woocommerce-MyAccount-navigation .is-active a):focus-visible:not(#tdic-light) {
	--t-focus: var(--tdic-c-cream);
}

:root body :is(.tdic-btn, .wp-block-button.tdic-cta--red .wp-block-button__link, .wp-block-button.tdic-cta--line .wp-block-button__link, .tdic-signup:not(.tdic-signup--landing) button[type="submit"], .tdic-nav__toggle, .pt-menu-btn, .tdic-stub, .tdic-social__link, .tdic-tp .mb-pdf__link, .tdic-tp .wp-element-button, .wp-block-group.pg .wp-element-button, .wc-backward, .tdic-tp .mb-button, .tdic-dt, .tdic-time, .tdic-field__tile, .tdic-sections__section, .tdic-book__date, .pg-chip, .tdic-tp .mb-card, .tdic-tp .mb-action, .tdic-tp .mb-option, .pg-account .woocommerce-MyAccount-navigation a):focus-visible:not(#tdic-light),
:root body :is(.tdic-field__tile:has(input:focus-visible), .tdic-tp .mb-option--pick:has(input:focus-visible)):not(#tdic-light) {
	--t-line: var(--t-focus);
	outline: none !important;
	border-color: var(--t-focus) !important;
	box-shadow: inset 0 0 0 2px var(--t-focus);
	background-image:
		radial-gradient(circle at 0 50%, transparent var(--t-n, 7px), var(--t-focus) var(--t-n, 7px), var(--t-focus) calc(var(--t-n, 7px) + 3px), transparent calc(var(--t-n, 7px) + 3.5px)),
		radial-gradient(circle at 100% 50%, transparent var(--t-n, 7px), var(--t-focus) var(--t-n, 7px), var(--t-focus) calc(var(--t-n, 7px) + 3px), transparent calc(var(--t-n, 7px) + 3.5px)) !important;
	background-repeat: no-repeat !important;
	background-position: 0 0, 0 0 !important;
	background-size: 100% 100% !important;
	background-origin: border-box !important;
}

/* Membership, launch day (Jonny, 1 November): four memberships sit four to
 * a row on a computer, and the side-by-side table fits the screen with no
 * sideways scroll: tighter cells, smaller row words, the notches top and
 * bottom like the cards, and the Join buttons only where they fit. */
@media (min-width: 1100px) {
	:root body .pg-tiers__grid:has(> .pg-tier:nth-child(4):last-child):not(#tdic-light) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		column-gap: 1rem;
	}
}

:root body .pg-compare__scroll:not(#tdic-light) {
	overflow-x: visible;
	padding: 0.25rem 0.75rem;
	background-image:
		radial-gradient(circle at 50% 0, transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + var(--t-w) + 0.5px), transparent calc(var(--t-n) + var(--t-w) + 0.5px)),
		radial-gradient(circle at 50% 100%, transparent var(--t-n), var(--t-line) var(--t-n), var(--t-line) calc(var(--t-n) + var(--t-w) + 0.5px), transparent calc(var(--t-n) + var(--t-w) + 0.5px));
	-webkit-mask:
		radial-gradient(circle at 50% 0, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 50% 100%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	-webkit-mask-composite: source-in;
	mask:
		radial-gradient(circle at 50% 0, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px)),
		radial-gradient(circle at 50% 100%, transparent var(--t-n), var(--t-black) calc(var(--t-n) + 0.5px));
	mask-composite: intersect;
}

:root body .pg-compare__table:not(#tdic-light) {
	min-inline-size: 0;
	table-layout: fixed;
}

:root body .pg-compare__table :is(th, td):not(#tdic-light) {
	padding: 0.55rem 0.35rem;
	overflow-wrap: break-word;
}

:root body .pg-compare__table thead th:first-child:not(#tdic-light) {
	inline-size: 30%;
}

:root body .pg-compare__table thead th:not(#tdic-light) {
	font-size: clamp(0.8rem, 1.6vw, 1.1rem);
}

:root body .pg-compare__table tbody :is(th, td):not(#tdic-light) {
	font-size: clamp(0.75rem, 1.4vw, 0.95rem);
	line-height: 1.35;
}

/* Membership Join buttons (Jonny, 1 November, 8): one line and one height
 * on every card. The card's button measures itself (container) and the
 * words shrink from 15px towards 11px to fit their letter count
 * (--tdic-len, set in pages/membership.php, which also swaps a long label
 * for "Join now"). The table's buttons are 12px, one line, 44px tall. */
:root body .pg-tier .pg-tier__join:not(#tdic-light) {
	container-type: inline-size;
	inline-size: 100%;
	block-size: 52px;
	min-block-size: 52px;
	padding-block: 0;
}

:root body .pg-tier__join .pg-join__words:not(#tdic-light) {
	font-size: clamp(0.6875rem, calc(100cqi / (var(--tdic-len, 12) * 0.84)), 0.9375rem);
}

:root body .pg-compare__buy:not(#tdic-light) {
	font-size: 0.75rem;
	padding-inline: 0.9rem;
	block-size: 44px;
	min-block-size: 44px;
	padding-block: 0;
}

@media (max-width: 899px) {
	/* Each card above has its own Join button; the table's would not fit. */
	:root body .pg-compare__table tfoot:not(#tdic-light) {
		display: none;
	}
}

@media (max-width: 600px) {
	/* Phones (backlog R9): the row words get a column wide enough for their
	 * longest word, so nothing hyphenates or breaks mid-word; the ticks and
	 * values stay compact. A table wider than the phone scrolls inside its
	 * own outline; the page never scrolls sideways. The first heading cell
	 * is an empty td, so both kinds are matched. */
	:root body .pg-compare__scroll:not(#tdic-light) {
		overflow-x: auto;
		overscroll-behavior-x: contain;
	}

	:root body .pg-compare__table:not(#tdic-light) {
		min-inline-size: 20rem;
	}

	:root body .pg-compare__table thead :is(th, td):first-child:not(#tdic-light) {
		inline-size: 8rem;
	}

	:root body .pg-compare__table :is(th, td):not(#tdic-light) {
		padding-inline: 0.25rem;
		overflow-wrap: normal;
		word-break: normal;
		hyphens: manual;
	}

	:root body .pg-compare__table tbody th:not(#tdic-light) {
		padding-inline-end: 0.5rem;
	}

	:root body .pg-compare__table thead th:not(#tdic-light) {
		font-size: 0.75rem;
	}
}

/*
 * Every WooCommerce notice on a light page (hotfix 1 November): the basket,
 * the checkout and the account. White, a navy outline, navy words and red
 * links, never cream on white ("There are some issues with the items in
 * your basket", "Return to basket").
 */
:root body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(.woocommerce-error, .woocommerce-message, .woocommerce-info, .woocommerce-notice, .wc-block-components-notice-banner) {
	border: 1px solid var(--tdic-c-navy);
	background: var(--tdic-c-white);
	color: var(--tdic-c-navy);
}

:root body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce-error {
	border-color: var(--tdic-c-red);
}

:root body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(.woocommerce-error, .woocommerce-message, .woocommerce-info, .woocommerce-notice, .wc-block-components-notice-banner) :is(li, p, div, span, strong, em) {
	color: var(--tdic-c-navy);
}

:root body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(.woocommerce-error, .woocommerce-message, .woocommerce-info, .woocommerce-notice)::before {
	color: var(--tdic-c-red);
}

:root body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(.woocommerce-error, .woocommerce-message, .woocommerce-info, .woocommerce-notice, .wc-block-components-notice-banner) a {
	background: transparent;
	color: var(--tdic-c-red);
	text-decoration: underline;
}

/* "Return to basket" under the checkout's basket message. */
:root body.woocommerce-checkout a.wc-backward {
	background: var(--tdic-c-red);
	color: var(--tdic-c-white);
}

/*
 * Words and links on the white working areas (TDIC-LIGHT-WOO-TEXT, hotfix
 * 1 November): the basket, the checkout, order received and every My
 * Account page, WooCommerce Subscriptions' included. Two dark-page defaults
 * reached the white: the plugin's checkout.css sets the whole checkout
 * wrapper (.woocommerce-checkout .woocommerce) to cream, and theme.json
 * makes every link cream. So "If you have shopped with us before", "Lost
 * your password?", the order numbers and "Add payment method" came out
 * cream on white. Here the wrapper inside a white area is navy and its
 * links red, at a low weight (:where) so every card, button and table that
 * sets its own colour keeps it. The header, footer and heroes sit outside
 * these areas and stay cream.
 */
:root body :where(.tdic-workarea, .pg-section--white) .woocommerce:not(#tdic-light) {
	color: var(--tdic-c-navy);
}

:root body :where(.tdic-workarea, .pg-section--white) .woocommerce a:where(:not(.button, .wp-element-button, .tdic-btn, .wc-backward, .woocommerce-MyAccount-navigation a)) {
	color: var(--tdic-c-red);
}

/* WooCommerce's text-only buttons on white ("Add payment method"): a red link. */
:root body .pg-section--white .woocommerce-MyAccount-content > a.button:not(#tdic-light) {
	background: transparent;
	color: var(--tdic-c-red);
}

/* Screen reader labels in the basket (quantity, discount code) follow the words. */
:root body .tdic-workarea .woocommerce .screen-reader-text:not(#tdic-light) {
	color: var(--tdic-c-navy);
}

/* "Book with your pass" for a signed-in Unlimited Pass holder on a sold-out
 * screening (D474): the same button as Book, on one line, its words set a
 * little smaller and tighter so they fit the same width (never wrapped), and
 * the badge beside it and the row's other slots never move. */
:root body :is(.pg-shows .pg-show__book--pass, .tdic-slot .tdic-slot__book--pass):not(#tdic-light) {
	padding-inline: 8px;
	font-size: 0.6875rem;
	letter-spacing: 0.02em;
}

/* On a computer Home's buttons are all 172px: no arrow, so the words clear the notches. */
@media (min-width: 821px) {
	:root body .tdic-slot .tdic-slot__book--pass:not(#tdic-light) {
		max-inline-size: 172px;
		padding-inline: 14px;
	}

	:root body .tdic-slot .tdic-slot__book--pass .tdic-arrow:not(#tdic-light) {
		display: none;
	}
}

/* WooCommerce's own colours on the account pages, the five instead (L16,
 * L18). Its notice banner carries a coloured round icon and a grey link
 * forced with !important. The link follows the sentence it belongs to,
 * rather than floating into the middle of it. */
:root body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .wc-block-components-notice-banner > svg:not(#tdic-light) {
	background-color: var(--tdic-c-red);
	fill: var(--tdic-c-cream);
}

:root body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .wc-block-components-notice-banner > .wc-block-components-notice-banner__content .wc-forward:not(#tdic-light) {
	color: var(--tdic-c-red) !important;
	opacity: 1;
}

:root body.woocommerce-account .wc-block-components-notice-banner > .wc-block-components-notice-banner__content:has(> .wc-forward) {
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
	gap: 8px;
}

:root body.woocommerce-account .wc-block-components-notice-banner > .wc-block-components-notice-banner__content > .wc-forward:not(#tdic-light) {
	float: none;
	margin: 0;
}

:root body.woocommerce-account .woocommerce .required:not(#tdic-light) {
	color: var(--tdic-c-red);
}

:root body.woocommerce-account .woocommerce :is(form.login, form.register, form.lost_reset_password, fieldset):not(#tdic-light) {
	border: 1px solid var(--tdic-c-navy);
}

:root body.woocommerce-account .woocommerce table.shop_table:not(#tdic-light),
:root body.woocommerce-account .woocommerce table.shop_table :is(th, td):not(#tdic-light) {
	border-color: var(--tdic-c-navy);
}

:root body.woocommerce-account .woocommerce table.shop_table tr:nth-child(2n) td:not(#tdic-light) {
	background-color: var(--tdic-c-white);
}

/* Complianz's document on the Cookie Policy, in the five colours and solid
 * (D66; L19): white rows with a navy outline, and "Always active" in navy,
 * not green. The table's lines are its navy background showing through a
 * 1px gap between white cells. */
:root body.cmplz-document :is(#cmplz-cookies-overview .cmplz-dropdown, #cmplz-manage-consent-container .cmplz-category):not(#tdic-light) {
	border: 1px solid var(--tdic-c-navy);
	background-color: var(--tdic-c-white);
}

:root body.cmplz-document :is(#cmplz-cookies-overview .cmplz-dropdown summary, #cmplz-manage-consent-container .cmplz-category-header):not(#tdic-light) {
	margin: 0;
	background-color: var(--tdic-c-white);
}

:root body.cmplz-document #cmplz-manage-consent-container .cmplz-category:not(:last-child):not(#tdic-light) {
	margin-block-end: 8px;
}

:root body.cmplz-document #cmplz-cookies-overview .cmplz-dropdown {
	margin-block: 8px;
}

:root body.cmplz-document #cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose:not(#tdic-light) {
	border: 1px solid var(--tdic-c-navy);
	background-color: var(--tdic-c-navy);
}

:root body.cmplz-document #cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:not(#tdic-light) {
	background-color: var(--tdic-c-white);
}

:root body.cmplz-document #cmplz-manage-consent-container .cmplz-always-active:not(#tdic-light),
:root body.cmplz-document #cmplz-manage-consent-container .cmplz-always-active :is(span, label):not(#tdic-light) {
	color: var(--tdic-c-navy);
}
