/*
Theme Name: Escape Room PSL
Theme URI: https://escaperoompsl.com/
Description: Child theme of Twenty Twenty-Five for escaperoompsl.com. The site's dark look, a light header and footer, room templates that show room details from Notion (through the Escape Room Rooms plugin), and speed rules that load shop and booking code only where it is used.
Author: Escape Room PSL
Template: twentytwentyfive
Version: 0.1.50
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: escaperoompsl
*/

/* Most of the look lives in theme.json. This file holds what theme.json cannot express. */

/* ---------- Closure banner (holidays from the booking system, shown a week ahead) ---------- */
.erpsl-closure-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	padding: 8px 16px;
	background: var(--wp--preset--color--accent-1);
	color: #000;
	font-weight: 400;
	font-size: 15px;
	line-height: 1.4;
	text-align: center;
}
.erpsl-closure-banner__what {
	font-weight: 700; /* "Closed for Thanksgiving:" in bold, the date in normal weight */
}
.erpsl-closure-banner svg {
	width: 18px;
	height: 18px;
	flex: none;
	fill: currentColor;
}
.erpsl-closure-banner__what,
.erpsl-closure-banner__when {
	display: inline-block; /* kept whole: a narrow screen moves the date to the second line */
}
.erpsl-closure-banner__when {
	white-space: nowrap;
}

/* ---------- Header ---------- */
.erpsl-header .wp-block-site-logo img {
	height: auto;
	max-width: 100%;
}
.erpsl-header .wp-block-navigation {
	font-size: var(--wp--preset--font-size--medium);
}
.erpsl-cart-link {
	display: inline-flex;
	align-items: center;
	color: var(--wp--preset--color--base);
	line-height: 0;
}
.erpsl-cart-link:hover,
.erpsl-cart-link:focus-visible {
	color: var(--wp--preset--color--accent-1);
}
.erpsl-cart-link svg {
	width: 24px;
	height: 24px;
}
.erpsl-rule {
	border: 0;
	border-top: 2px solid var(--wp--preset--color--vivid-red);
	margin: 0;
	opacity: 1;
}

/* Same space above the footer as below the header: an empty paragraph left at the end of a page adds nothing. */
.wp-block-post-content > p:empty:last-child {
	display: none;
}

/* ---------- Footer ---------- */
.erpsl-footer {
	font-size: 15px;
	line-height: 1.5;
}
.erpsl-footer a {
	text-decoration: none;
}
.erpsl-footer .erpsl-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0; /* every footer line the same distance apart (22.5px), like the address lines */
}
.erpsl-footer .erpsl-contact li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 0.6em;
	align-items: start;
}
.erpsl-footer .erpsl-contact svg {
	width: 16px;
	height: 16px;
	margin-top: 0.2em;
	fill: currentColor;
}
.erpsl-footer .erpsl-contact__hours:not(:has(.erpsl-hours)) {
	display: none; /* no hours found in the booking system */
}
.erpsl-footer .erpsl-hours {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 0.8em;
}
.erpsl-footer .erpsl-hours__row {
	display: contents;
}
.erpsl-footer .erpsl-address,
.erpsl-footer .erpsl-hours {
	color: var(--wp--preset--color--accent-1); /* yellow, like the links */
}
/* Three columns between the red lines, divided by thin amber lines (as on the old site). */
.erpsl-footer .wp-block-columns.erpsl-footer-cols {
	gap: 10px;
	margin: 0;
	align-items: stretch;
}
.erpsl-footer .erpsl-footer-cols > .wp-block-column {
	padding-left: 10px;
}
.erpsl-footer .erpsl-footer-cols > .wp-block-column + .wp-block-column {
	border-left: 1px solid var(--wp--preset--color--accent-1);
}
@media (max-width: 781px) {
	.erpsl-footer .erpsl-footer-cols > .wp-block-column + .wp-block-column {
		border-left: 0;
		border-top: 1px solid var(--wp--preset--color--accent-1);
		padding-top: 10px;
	}
}
.erpsl-footer .wp-block-social-links.has-visible-labels .wp-social-link a {
	color: var(--wp--preset--color--base); /* core paints the icon with the link colour: white icon; the label below is amber */
}
.erpsl-footer .wp-block-social-links {
	font-size: 16px; /* icon size */
	gap: 0; /* same line spacing as the address lines */
}
/* Social rows laid out exactly like the contact rows: 22px icon column, 9px gap, same line height, no hover zoom. */
.erpsl-footer .wp-block-social-links .wp-social-link .wp-block-social-link-anchor {
	display: grid;
	grid-template-columns: 22px 1fr;
	column-gap: 9px;
	align-items: center;
	padding: 0;
}
.erpsl-footer .wp-block-social-links .wp-social-link,
.erpsl-footer .wp-block-social-links .wp-social-link:hover {
	transform: none;
}
/* Must outrank core's ".wp-block-social-links .wp-social-link span:not(.screen-reader-text)" (0.65em). */
.erpsl-footer .wp-block-social-links .wp-social-link span.wp-block-social-link-label {
	font-size: 15px;
	line-height: 1.5; /* = the address lines (22.5px) */
	color: var(--wp--preset--color--accent-1);
	margin: 0;
}
.erpsl-footer .wp-block-social-links.is-style-logos-only .wp-social-link,
.erpsl-footer .wp-block-social-links .wp-social-link svg {
	color: var(--wp--preset--color--base); /* white icons, as on the old site */
	fill: var(--wp--preset--color--base);
}
.erpsl-footer .wp-block-social-links .wp-social-link svg {
	width: 16px;
	height: 16px;
}
.erpsl-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
	gap: 24px;
	padding: 24px 0;
}
.erpsl-badges a {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: var(--wp--preset--color--base);
}
.erpsl-badges img {
	max-height: 60px;
	width: auto;
}
.erpsl-badges svg {
	max-height: 60px;
	height: auto;
}

/* ---------- Section heading bar (the grey "NOW PLAYING" bar) ---------- */
.wp-block-heading.is-style-section-bar {
	background: linear-gradient(90deg, #6b6b6b 0%, #b8bec4 45%, #ececec 100%);
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	padding: 0.35em 0.5em;
}

/* ---------- Click-to-play YouTube (no player loads until clicked) ---------- */
.erpsl-yt {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000 center / cover no-repeat;
	cursor: pointer;
	border: 0;
	padding: 0;
	width: 100%;
	display: block;
}
.erpsl-yt::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 68px;
	height: 48px;
	border-radius: 12px;
	background: rgba(207, 46, 46, 0.92)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E")
		center / 28px no-repeat;
}
.erpsl-yt:hover::after,
.erpsl-yt:focus-visible::after {
	background-color: #e03a3a;
}
.erpsl-yt.is-playing {
	cursor: auto;
}
/* Inside a WordPress video embed, the wrapper already reserves a 16:9 box (padding-top on ::before) for an
   absolutely placed iframe: sit the picture/player in that box instead of below it (was a big gap). */
.wp-has-aspect-ratio .wp-block-embed__wrapper > .erpsl-yt {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	aspect-ratio: auto;
}
.erpsl-yt.is-playing::after {
	display: none;
}
.erpsl-yt iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---------- Classes used in existing page content ---------- */
.FullHeight {
	height: 142px;
}

/* "Tap for sound" over a trailer the browser would only start muted. */
.erpsl-yt__sound {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 2;
	padding: 0.45em 0.9em;
	border: 1px solid #fff;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	font: inherit;
	font-size: 0.9em;
	font-weight: 700;
	cursor: pointer;
}

/* Holiday gift card ([erpsl_gift_card]) */
/* Same spacing as a plain image block: the column's gap above (no margin-top here), nothing below or beside. */
.erpsl-gift-card{margin-left:0;margin-right:0;margin-bottom:0}
.erpsl-gift-card a{display:block}
.erpsl-gift-card img{display:block;width:100%;height:auto;border:0}

/* =========================================================================
 * Booking form (WooCommerce Appointments): black calendar and time slots.
 * Copied from the live site's Site Editor custom CSS (stored per theme, so it
 * did not come across to this theme).
 * ====================================================================== */
.wc-appointments-appointment-cost, .woocommerce-Price-amount { font-size: 20px !important; }
a.wp-block-file__button.wp-element-button, div.wc-block-grid__product-add-to-cart a.add_to_cart_button, div.woocommerce-message a.wc-forward, button.wc-appointments-appointment-form-button, .product_type_appointment, .product_type_variable, .single_add_to_cart_button, a.button.product_type_simple { color: white; background-color: var(--erpsl-btn-red) !important; border: 1px solid white !important; border-radius: 10px !important; }
div.wc-block-grid__product-add-to-cart a.add_to_cart_button:hover, div.woocommerce-message a.wc-forward:hover, .hover-background-color a.wp-block-button__link:hover, button.wc-appointments-appointment-form-button:hover, .product_type_appointment:hover, .product_type_variable:hover, .single_add_to_cart_button:hover, a.button.product_type_simple:hover { color: black !important; background-color: greenyellow !important; border: 1px solid white !important; }
/* "Book Now" is a plain <button> (no .wp-element-button), so give it the same type and size as the other buttons. It stays dimmed until a time is picked. */
button.wc-appointments-appointment-form-button { font-family: inherit; font-size: var(--wp--preset--font-size--medium); font-weight: 700; line-height: inherit; padding: var(--erpsl-btn-pad); height: auto; cursor: pointer; }
button.wc-appointments-appointment-form-button:disabled, button.wc-appointments-appointment-form-button:disabled:hover { cursor: not-allowed; color: #fff !important; background-color: var(--erpsl-btn-red) !important; }
form.wc-appointments-appointment-form-wrap { background-color: rgb(0, 0, 0); border: 0px solid rgb(221, 221, 221); margin: 0px; padding: 0px; }
.wc-appointments-appointment-form { background-color: rgb(0, 0, 0) !important; margin: 10px 0px 5px !important; padding: 0px !important; border: 1px solid rgb(221, 221, 221) !important; }
.wc-appointments-appointment-form .form-field { padding: 0px !important; margin: 0px !important; }
div.wc-appointments-appointment-cost { background-color: darkorange; border-top: 1px dotted white !important; margin: 0px !important; padding: 0px !important; }
div.wc-appointments-appointment-cost dl { padding: 5px !important; }
.wc-appointments-appointment-form-wrap .wc-appointments-appointment-form .wc-appointments-appointment-hook.wc-appointments-appointment-hook-after .wc-pao-addon { line-height: normal; margin: 0px 2px !important; }
.wc-appointments-date-picker .ui-datepicker-header { color: rgb(255, 255, 255) !important; background-color: rgb(0, 0, 0); }
.wc-appointments-date-picker .ui-datepicker .ui-datepicker-next, .wc-appointments-date-picker .ui-datepicker .ui-datepicker-prev { color: rgb(255, 255, 255) !important; background-color: rgb(0, 0, 0); }
.wc-appointments-date-picker .ui-datepicker .ui-datepicker-prev.ui-state-hover, .wc-appointments-date-picker .ui-datepicker .ui-datepicker-next.ui-state-hover { background: rgba(0, 0, 0, 0.05); }
.ui-datepicker-calendar thead { background-color: rgb(34, 34, 34); }
.wc-appointments-date-picker .ui-datepicker th { font-size: 0.6em; color: rgb(255, 255, 255) !important; padding: 0.6em 0px !important; }
.wc-appointments-date-picker .ui-datepicker td .ui-state-default { color: white !important; }
.wc-appointments-date-picker .ui-datepicker td.appointable a { color: rgb(255, 255, 255) !important; }
.wc-appointments-date-picker .ui-datepicker td.appointable a:hover { background-color: rgba(255, 255, 255, 0.75); }
.wc-appointments-date-picker .ui-datepicker td.ui-datepicker-today, .wc-appointments-date-picker .ui-datepicker td.ui-datepicker-today a { color: rgb(51, 153, 255) !important; }
.wc-appointments-date-picker .ui-datepicker td.ui-datepicker-current-day a, .wc-appointments-date-picker .ui-datepicker td.ui-datepicker-current-day a:hover { color: rgb(255, 255, 255); opacity: 1; background-color: rgb(51, 102, 255) !important; }
.wc-appointments-date-picker .ui-datepicker .ui-datepicker-week-end { color: yellow !important; }
.wc-appointments-date-picker .ui-datepicker td.partial_scheduled a::before { background-color: rgba(255, 20, 255, 0.9) !important; }
.wc-appointments-date-picker .ui-datepicker td.remaining_scheduled_9 a::before { background-color: magenta !important; width: 10% !important; }
.wc-appointments-date-picker .ui-datepicker td.remaining_scheduled_8 a::before { width: 20% !important; }
.wc-appointments-date-picker .ui-datepicker td.remaining_scheduled_7 a::before { width: 30% !important; }
.wc-appointments-date-picker .ui-datepicker td.remaining_scheduled_6 a::before { width: 40% !important; }
.wc-appointments-date-picker .ui-datepicker td.remaining_scheduled_5 a::before { width: 50% !important; }
.wc-appointments-date-picker .ui-datepicker td.remaining_scheduled_4 a::before { width: 60% !important; }
.wc-appointments-date-picker .ui-datepicker td.remaining_scheduled_3 a::before { width: 70% !important; }
.wc-appointments-date-picker .ui-datepicker td.remaining_scheduled_2 a::before { width: 80% !important; }
.wc-appointments-date-picker .ui-datepicker td.remaining_scheduled_1 a::before { width: 90% !important; }
.wc-appointments-appointment-form .slot-picker { background-color: rgba(0, 0, 0, 0.9); border: 0px !important; margin: 0px !important; padding: 0px 5px 5px !important; }
.wc-appointments-appointment-form .slot-picker li.slot_heading { display: block; margin-bottom: 7px; font-size: 0.6em; text-align: center; color: rgb(255, 255, 255) !important; background-color: rgb(34, 34, 34) !important; }
.wc-appointments-appointment-form .slot-picker li.slot a { font-size: 12px !important; line-height: 8px !important; color: rgb(238, 238, 238) !important; padding: 5px 2px !important; }
.wc-appointments-appointment-form .slot-picker li.slot:focus a, .wc-appointments-appointment-form .slot-picker li.slot:hover a { background-color: rgb(0, 0, 0) !important; outline: rgb(153, 153, 153) solid 1px !important; outline-offset: -1px !important; }
.wc-appointments-appointment-form .slot-picker li.slot.selected { background-color: rgb(0, 0, 0) !important; outline: rgb(51, 102, 255) solid 1px !important; outline-offset: -1px !important; }
.wc-pao-addon-select { font-size: clamp(0.875rem, 0.7598rem + 0.24vw, 1rem); padding: 0.9rem 1rem !important; }
.wc-pao-addon-name { color: white !important; }
div.summary { margin: 0px !important; padding: 0px !important; }
div.quantity { padding-top: 10px; padding-bottom: 10px; }
span.appointment-error { display: inline; padding: 15px 8px !important; }
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: 0.35; }

/* =========================================================================
 * Shop, product, checkout and PW gift card form: the rest of the live site's
 * Site Editor custom CSS. Left out: IgniteWoo gift certificate form (plugin
 * gone) and old Divi / Elementor shop rules (not used).
 * ====================================================================== */
.iframe-container { overflow: hidden; padding-top: 56.25%; position: relative; }
.iframe-container iframe { border: 0px; height: 100%; width: 100%; position: absolute; top: 0px; left: 0px; }
.sp-easy-accordion img.alignleft { float: left; margin: 0px 10px 0px 0px; }
figcaption.wp-element-caption { text-align: center; font-size: small; }
.plain_link a:link { text-decoration: none !important; }
span.woocommerce-Price-amount { font-size: 18px !important; }
li.product a img { border: 0.5px solid whitesmoke; }
li.product-category a:link { text-decoration: none !important; }
li.product-category a h2, li.product a h2, h2.woocommerce-loop-category__title mark { font-weight: normal; margin: 0px; color: darkorange !important; font-size: 20px !important; }
.woocommerce-page ul.products { margin: 0px !important; width: 100% !important; }
.woocommerce ul.products { justify-content: left !important; }
section.related.products ul li span.price { font-size: 18px !important; display: none; }
.woocommerce div.product .related.products, section.related.products ul { margin: 0px !important; }
section.related.products h2 { margin: 20px 0px 0px !important; }
div.woocommerce-tabs ul.tabs li a:link { color: white; }
div.woocommerce-tabs ul.tabs li.active a:link { color: black !important; }
p.product.product.add_to_cart_inline { align-content: center; text-align: center !important; margin: 5px !important; }
p.product.woocommerce.add_to_cart_inline, .woocommerce a.button { margin: 8px 5px; }
a.button { width: 75%; align-content: center; padding: 5px !important; }
a.button.wc-forward.wp-element-button { width: 25% !important; margin-left: 10px !important; }
li.wc-block-grid__product div a.button, li.product .button { color: white; }
/* Related products / shop and category lists: the button matches "Add to cart" (same padding, red, white border, rounded),
   overriding the old 5px / 75%-wide rule above; includes PW gift card products, which the red rule above missed. */
ul.products li.product a.button { display: inline-block; width: auto !important; margin: 12px 0 0 !important; padding: var(--erpsl-btn-pad) !important; text-align: center; line-height: inherit; color: #fff; background-color: var(--erpsl-btn-red) !important; border: 1px solid #fff !important; border-radius: 10px !important; }
ul.products li.product a.button:hover { color: #000 !important; background-color: greenyellow !important; }
/* Product grids ("New in store" on the empty cart, etc.): the link and image wrapper are inline-block and shrink to the
   picture, so a lazy-loaded picture (sizes="auto") came out bigger than the rest. Make every picture fill its column. */
.wc-block-grid__product .wc-block-grid__product-link, .wc-block-grid__product .wc-block-grid__product-image { display: block; width: 100%; }
div.woocommerce-message a.wc-forward, div.hover-background-color a { border: 1px solid white !important; }
div.woocommerce-message a.wc-forward:hover, div.hover-background-color a:hover { color: black !important; background-color: greenyellow !important; }
.woocommerce form .form-row label, .woocommerce-page form .form-row label { color: white; }
.woocommerce-page .select2-container .select2-dropdown { color: black !important; }
.woocommerce-page form .form-row .select2-container .select2-selection--single .select2-selection__rendered { padding: 0px 1.1rem !important; }
.wc-block-components-form .wc-block-components-text-input label, .wc-block-components-text-input label, .wc-blocks-components-select .wc-blocks-components-select__label { color: rgb(204, 204, 204) !important; }
textarea { font-size: clamp(0.875rem, 0.7598rem + 0.24vw, 1rem); width: 100%; padding: 0.9rem 1rem !important; }
div.col2-set { margin-right: 5px !important; }
.hKfaVc { vertical-align: middle; margin: 0px 5px; }
.hMtOST { display: inline-block; line-height: 50px; vertical-align: middle; font-family: Signika, Arial, sans-serif; color: white; }
ol.flex-control-nav.flex-control-thumbs { width: 100% !important; }
div #pwgc-balance-button button, div #pwgc-redeem-gift-card-container button { box-sizing: border-box; margin-bottom: 8px; height: 40px !important; min-width: 100% !important; font-size: 14px !important; font-weight: bold !important; }
/* Gift card form (PW Gift Cards): text boxes match the drop-downs (white, grey 1px border, same height and padding). */
div #pwgc-balance-number-container input:not([type=submit]), div #pwgc-form-to input, div #pwgc-form-recipient-name input, div #pwgc-form-from input, div #pwgc-form-delivery-date input, div #pwgc-redeem-gift-card-container input { -webkit-appearance: none; appearance: none; box-sizing: border-box; margin-top: 0; width: 100%; min-width: 100% !important; height: auto !important; min-height: 2.9em; line-height: 1.4; padding: 0.65rem 1.1rem; background: #fff; color: #000; border: 1px solid #767676; border-radius: 0; font-size: 16px !important; font-weight: normal !important; }
div #pwgc-form-message textarea { -webkit-appearance: none; appearance: none; box-sizing: border-box !important; min-width: 100% !important; padding: 0.65rem 1.1rem !important; background: #fff; color: #000; border: 1px solid #767676; border-radius: 0; font-size: 16px !important; font-weight: normal !important; }
.pwgc-field-container .pwgc-subtitle { margin-top: 6px; }
.woocommerce div.product form.cart .single_variation:empty { margin: 0; } /* no extra gap above the gift card fields */
/* Design: the drop-down and Preview side by side on one row (phones too); the preview frame opens full width below. */
div #pwgc-form-email-design { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
div #pwgc-form-email-design > label { flex: 0 0 100%; margin-bottom: 0; }
div #pwgc-form-email-design select { box-sizing: border-box; flex: 1 1 0; min-width: 0 !important; width: auto; margin: 0; font-size: 16px !important; font-weight: normal !important; }
div #pwgc-form-email-design #pwgc-email-preview-container { flex: 0 0 100%; box-sizing: border-box; width: 100%; max-width: 100%; }
/* Preview = secondary button (white with black text, like the room cards' Details), greenyellow on hover like every button; Add to cart stays the red primary. */
div #pwgc-form-email-design button.pwgc-email-preview-button { -webkit-appearance: none; appearance: none; flex: 0 0 auto; box-sizing: border-box; width: auto !important; height: auto !important; min-height: 46px; margin: 0; padding: 0.65rem 1.4rem; background: #fff; color: #000; border: 1px solid #fff; border-radius: 10px; font-family: inherit; font-size: var(--wp--preset--font-size--medium) !important; font-weight: 700 !important; line-height: 1.2; cursor: pointer; }
div #pwgc-form-email-design button.pwgc-email-preview-button:hover, div #pwgc-form-email-design button.pwgc-email-preview-button:focus-visible { background: greenyellow; color: #000; }
.woocommerce-page .woocommerce-checkout #payment, .woocommerce-page .woocommerce-checkout .woocommerce-billing-fields__field-wrapper, .woocommerce-page .woocommerce-checkout .woocommerce-checkout-payment, .woocommerce-page .woocommerce-checkout .woocommerce-checkout-review-order-table, .woocommerce-page.woocommerce-order-pay #payment, .woocommerce-page.woocommerce-order-pay .woocommerce-billing-fields__field-wrapper, .woocommerce-page.woocommerce-order-pay .woocommerce-checkout-payment, .woocommerce-page.woocommerce-order-pay .woocommerce-checkout-review-order-table { margin-top: 0px; }
@media only screen and (max-width: 768px) {
	select, textarea, input { font-size: 16px !important; }
	div.col2-set { float: left; width: 90%; }
}
@media (max-width: 767px) {
	li.product:nth-child(n) { margin: 25px 0px 10px 10px !important; width: 45% !important; }
}
.wc-block-components-address-card, .wc-block-components-address-card__address-section, .wc-block-components-address-card__address-section--secondary { color: rgb(255, 255, 255) !important; }
.wc-block-components-order-summary-item__quantity { background-color: var(--erpsl-btn-red) !important; color: rgb(255, 255, 255) !important; border-color: rgb(255, 255, 255) !important; }
.wc-block-components-order-summary-item__quantity span { color: rgb(255, 255, 255) !important; }
.FullHeight { height: 142px; }

/* Drop-downs in product forms (gift card amount, add-ons): white with black text and a grey border, like the
   live site (there the old theme styled them; here they were transparent, so black text on the black page). */
form.cart select, .wc-pao-addon-select, .woocommerce div.product form.cart .variations select { background-color: #fff !important; color: #000; border: 1px solid #767676; border-radius: 0; font-size: clamp(0.875rem, 0.7598rem + 0.24vw, 1rem); }
/* height:auto + line-height so the chosen option is never clipped (WooCommerce's block-theme CSS fixes selects at 3em tall) */
form.cart select, .wc-pao-addon-select { height: auto; min-height: 2.9em; line-height: 1.4; padding: 0.65rem 1.1rem; }
.woocommerce div.product form.cart .variations select { height: auto; min-height: 2.9em; line-height: 1.4; padding: 0.65rem 3em 0.65rem 1.1rem; } /* room for WooCommerce's arrow */
/* Product options (e.g. Gift Card Amount): label above a full-width drop-down, like the gift card fields below them,
   instead of a squeezed two-column table row where the label wraps (the product column is narrow even on desktop). */
.woocommerce div.product form.cart table.variations, .woocommerce div.product form.cart table.variations tbody, .woocommerce div.product form.cart table.variations tr, .woocommerce div.product form.cart table.variations th, .woocommerce div.product form.cart table.variations td { display: block; width: 100%; }
.woocommerce div.product form.cart table.variations { margin-bottom: 14px; }
.woocommerce div.product form.cart table.variations th.label { padding: 0 0 8px; }
.woocommerce div.product form.cart table.variations td.value { padding: 0; }
.woocommerce div.product form.cart table.variations tr + tr th.label { padding-top: 14px; }
.woocommerce div.product form.cart table.variations select { width: 100%; max-width: none; }

/* =========================================================================
 * News & Information: card grid (News page, home page section, "More" on posts)
 * ====================================================================== */
.erpsl-news .wp-block-post { position: relative; display: flex; flex-direction: column; background: #111; border: 1px solid #2e2e2e; border-radius: 14px; overflow: hidden; transition: background-color .15s, border-color .15s; }
.erpsl-news .wp-block-post:hover { background: #191919; border-color: #555; }
.erpsl-news .wp-block-post-featured-image { position: relative; margin: 0; }
.erpsl-news .wp-block-post-featured-image img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.erpsl-news .erpsl-news-body { padding: 14px 16px 16px; }
.erpsl-news .erpsl-news-date { margin: 0; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #9a9a9a; }
.erpsl-news .wp-block-post-title { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.erpsl-news h3.wp-block-post-title { font-size: 1rem; }
.erpsl-news .wp-block-post-title a { color: #fff; text-decoration: none; }
.erpsl-news .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.erpsl-news .wp-block-post-title a:focus { outline: none; }
.erpsl-news .wp-block-post-title a:focus-visible::after { outline: 2px solid var(--wp--preset--color--accent-1, #f0a500); outline-offset: -2px; border-radius: 14px; }
.erpsl-news .wp-block-post-excerpt { margin: 0; font-size: .92rem; line-height: 1.5; color: #cfcfcf; }
.erpsl-news .wp-block-post-excerpt__excerpt { margin: 0; }
.erpsl-news .wp-block-post-excerpt__more-text { margin: 10px 0 0; }
.erpsl-news .wp-block-post-excerpt__more-link { color: var(--wp--preset--color--accent-1, #f0a500); font-weight: 600; text-decoration: none; }
/* Video posts: a play badge on the picture. */
.erpsl-news .format-video .wp-block-post-featured-image::after { content: "\25B6"; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; display: flex; align-items: center; justify-content: center; padding-left: 4px; box-sizing: border-box; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); background: rgba(0,0,0,.6); color: #fff; font-size: 20px; line-height: 1; pointer-events: none; }
.erpsl-news-intro { margin: 0; color: #bbb; }
.erpsl-news-pages { margin-top: 28px; }
@media (max-width: 900px) { .erpsl-news-grid .wp-block-post-template, .erpsl-post-more .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 560px) { .erpsl-news-grid .wp-block-post-template, .erpsl-post-more .wp-block-post-template { grid-template-columns: minmax(0, 1fr) !important; } }

/* =========================================================================
 * Single post: readable column, small meta line, rounded media, prev/next.
 * Video posts hide the featured image (the video is right there).
 * ====================================================================== */
.erpsl-post-back { margin: 0 0 4px; font-size: .9rem; }
.erpsl-post-back a { color: var(--wp--preset--color--accent-1, #f0a500); font-weight: 600; text-decoration: none; }
.erpsl-post-meta { gap: .5em; margin: 14px 0 6px; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #9a9a9a; }
.erpsl-post-meta > * { margin: 0; }
.erpsl-post-meta .wp-block-post-terms::before { content: "·"; margin-right: .5em; }
.erpsl-post-meta a { color: #9a9a9a; text-decoration: none; }
.erpsl-post-title { margin-top: 0; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); line-height: 1.15; }
.erpsl-post-hero { margin: 18px 0 26px; }
.erpsl-post-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; }
.single-format-video .erpsl-post-hero { display: none; }
.erpsl-post-content .wp-block-embed { margin: 18px 0 26px; }
.erpsl-post-content .wp-block-embed__wrapper { border-radius: 14px; overflow: hidden; }
.erpsl-post-content > p { line-height: 1.7; }
.erpsl-post-nav { gap: 24px; margin-top: 40px; padding-top: 18px; border-top: 1px solid #2e2e2e; font-size: .95rem; }
.erpsl-post-nav a { color: #fff; text-decoration: none; }
.erpsl-post-nav a:hover { color: var(--wp--preset--color--accent-1, #f0a500); }
.erpsl-post-more { margin-top: 48px; }
.erpsl-post-more-title { margin: 0 0 16px; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; }

/* =========================================================================
 * Plain link buttons (Plan page "Select options" for each event upgrade). Same look as "Add to cart", without
 * loading the shop scripts. Markup: <p class="erpsl-upgrade-cta"><a class="wp-element-button erpsl-btn" href="/shop/...">
 * Scoped to .erpsl-upgrade-cta: the Escape Room Rooms plugin also uses .erpsl-btn (Book Now, Details, Subscribe)
 * with its own colors, which these rules must not touch.
 * ====================================================================== */
p.erpsl-upgrade-cta { margin: 12px 0 0; }
.erpsl-upgrade-cta a.erpsl-btn, .erpsl-upgrade-cta a.erpsl-btn.wp-element-button { display: inline-block; margin: 0; padding: var(--erpsl-btn-pad); font-weight: 700; line-height: inherit; text-align: center; text-decoration: none; color: #fff !important; background-color: var(--erpsl-btn-red) !important; border: 1px solid #fff !important; border-radius: 10px !important; }
.erpsl-upgrade-cta a.erpsl-btn:hover, .erpsl-upgrade-cta a.erpsl-btn:focus-visible { color: #000 !important; background-color: greenyellow !important; }

/* =========================================================================
 * Buttons: one look site-wide (owner's choice, 2026-11-21). Compact like the room cards (about 44px tall),
 * room red #cf2e2e with white text, hover/focus = greenyellow with black text. Secondary buttons (Details,
 * Preview) stay white with black text; Subscribe stays black; the Home page's colored buttons keep their colors
 * and only take the shared size. The variables are also used by the older WooCommerce rules above.
 * ====================================================================== */
:root {
	--erpsl-btn-red: #cf2e2e;
	--erpsl-btn-pad: 0.55em 1.2em;
}
/* Shared size and type for every button-style link and button. */
.wp-block-button__link, .wp-element-button, a.button, button.button, input.button, .single_add_to_cart_button, button.wc-appointments-appointment-form-button,
ul.products li.product a.button, .wc-block-components-product-button__button, .wc-block-components-button:not(.is-link),
.erpsl-upgrade-cta a.erpsl-btn, a.erpsl-postcard-download, #pwgc-balance-button {
	box-sizing: border-box;
	height: auto !important;
	min-height: 0;
	padding: var(--erpsl-btn-pad) !important;
	font-family: inherit !important;
	font-size: var(--wp--preset--font-size--medium) !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	border-radius: 10px !important;
}
/* Red primary buttons. */
.wp-block-button__link:not(.has-background), .wp-element-button:not(.has-background):not(.pwgc-email-preview-button), a.button:not(.pwgc-email-preview-button), .single_add_to_cart_button, button.wc-appointments-appointment-form-button,
ul.products li.product a.button, .wc-block-components-product-button__button, .wc-block-components-button:not(.is-link),
.erpsl-upgrade-cta a.erpsl-btn, a.erpsl-postcard-download, #pwgc-balance-button, a.erpsl-btn.erpsl-btn--book {
	color: #fff !important;
	background-color: var(--erpsl-btn-red) !important;
	border: 1px solid #fff !important;
	text-decoration: none;
	cursor: pointer;
}
.wp-block-button__link:not(.has-background):hover, .wp-block-button__link:not(.has-background):focus-visible,
.wp-element-button:not(.has-background):not(.pwgc-email-preview-button):hover, .wp-element-button:not(.has-background):not(.pwgc-email-preview-button):focus-visible,
a.button:not(.pwgc-email-preview-button):hover, a.button:not(.pwgc-email-preview-button):focus-visible,
.single_add_to_cart_button:not(:disabled):hover, button.wc-appointments-appointment-form-button:not(:disabled):hover,
ul.products li.product a.button:hover, .wc-block-components-product-button__button:hover, .wc-block-components-button:not(.is-link):hover,
.erpsl-upgrade-cta a.erpsl-btn:hover, a.erpsl-postcard-download:hover, #pwgc-balance-button:hover, a.erpsl-btn.erpsl-btn--book:hover, a.erpsl-btn.erpsl-btn--book:focus-visible {
	color: #000 !important;
	background-color: greenyellow !important;
	border-color: #fff !important;
}
/* Book Now stays red (dimmed) until a time is picked. */
.single_add_to_cart_button:disabled, .single_add_to_cart_button.disabled, button.wc-appointments-appointment-form-button:disabled { color: #fff !important; background-color: var(--erpsl-btn-red) !important; cursor: not-allowed; }
/* Home page colored buttons: keep their colors, take the shared size (set above). */
.wp-block-button__link.has-background { border-radius: 10px !important; }
/* Shop grid buttons were a smaller font than every other button (set above) and need a little room above. */
.wc-block-components-product-button { margin-top: 12px; }
/* Shop page numbers were dark grey on the black page (nearly invisible) and in Arial. */
.wc-block-components-pagination .wc-block-components-pagination__page { font-family: inherit; color: #fff; }
.wc-block-components-pagination .wc-block-components-pagination__page--active { color: #fff; background: var(--erpsl-btn-red); border-radius: 6px; }
.wc-block-components-pagination .wc-block-components-pagination__page:hover { color: #000; background: greenyellow; border-radius: 6px; }
/* Gift card balance: "Check Balance" is a button, not a text box. */
#pwgc-balance-button { margin-top: 10px; width: auto !important; min-width: 0 !important; -webkit-appearance: none; appearance: none; }
/* Preview (gift card) uses the shared padding; its height still matches the fields beside it. */
div #pwgc-form-email-design button.pwgc-email-preview-button { padding: var(--erpsl-btn-pad) !important; }
/* White secondary buttons (room cards' Details) highlight greenyellow like every other button (the Rooms plugin's own hover is amber). */
a.erpsl-btn.erpsl-btn--details:hover, a.erpsl-btn.erpsl-btn--details:focus-visible { color: #000 !important; background: greenyellow !important; border-color: #fff !important; }

/* Plan page postcards: more room under each row's Download button and a short centered divider before the next row
   (60% wide, mid grey so it shows on black). On phones the cards stack, so every card after the first gets the divider. */
.wp-block-columns:has(> .wp-block-column > center > .erpsl-postcard-download) + .wp-block-columns:has(> .wp-block-column > center > .erpsl-postcard-download) {
	margin-top: 36px !important;
	padding-top: 32px !important;
	background: linear-gradient(#5a5a5a, #5a5a5a) center top / 60% 1px no-repeat;
}
.wp-block-columns:has(> .wp-block-column > center > .erpsl-postcard-download) { margin-bottom: 0 !important; }
@media (max-width: 781px) {
	.wp-block-columns:has(> .wp-block-column > center > .erpsl-postcard-download) > .wp-block-column + .wp-block-column {
		margin-top: 36px !important;
		padding-top: 32px !important;
		background: linear-gradient(#5a5a5a, #5a5a5a) center top / 60% 1px no-repeat;
	}
}

/* =========================================================================
 * Phone header + menu (the navigation block's overlay; only exists under 600px wide).
 * Header: menu icon, then the logo, cart on the right (the inner group dissolves so its items join the header row).
 * Menu: a drawer from the left (82% of the screen, at most 340px) over the page dimmed; tapping the dimmed area
 * closes it (functions.php: erpsl_menu_backdrop_close). Inside: the logo, left-aligned full-width rows with
 * dividers, sub-items grouped under their parent behind a red line, amber for the current page and taps,
 * focus outline for keyboard users only. The logo is the same file as the header's site logo; change both together.
 * ====================================================================== */
@media (max-width: 599px) {
	.erpsl-header { justify-content: flex-start !important; gap: 14px !important; align-items: center; }
	.erpsl-header > .wp-block-group { display: contents; }
	.erpsl-header .wp-block-navigation { order: -1; }
	.erpsl-header .wp-block-site-logo { flex: 0 1 auto; min-width: 0; }
	.erpsl-header .erpsl-cart-link { margin-left: auto; }
	.erpsl-header .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
}
.wp-block-navigation__responsive-container.is-menu-open { background-color: rgba(0, 0, 0, 0.65) !important; color: #fff !important; padding: 0 !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close { height: 100%; max-width: none !important; margin: 0 !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog { position: relative; box-sizing: border-box; width: min(82vw, 340px); height: 100%; overflow-y: auto; background: #000; padding: 16px 24px 40px; border-right: 1px solid #2a2a2a; box-shadow: 6px 0 28px rgba(0, 0, 0, 0.7); animation: erpsl-drawer-in 0.22s ease-out; }
@keyframes erpsl-drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog { animation: none; } }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog::before { content: ""; position: absolute; top: 22px; left: 24px; width: 150px; height: 32px; background: url("/wp-content/uploads/2023/04/Escape-Room-PSL-Logo-Web-600x124.png") left center / contain no-repeat; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { color: #fff; top: 18px; right: 16px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px !important; align-items: stretch !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container { align-items: stretch !important; width: 100%; gap: 0 !important; border-top: 1px solid #2a2a2a; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { box-sizing: border-box; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item { width: 100%; align-items: stretch !important; border-bottom: 1px solid #2a2a2a; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { display: block; width: 100%; padding: 14px 0 !important; font-size: 1.15rem; font-weight: 400; line-height: 1.3; color: #e2e2e2 !important; text-align: left; } /* Home, My Account: same size as the links under ROOMS / SHOP */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { width: auto !important; margin: 0 0 16px 2px !important; padding: 2px 0 !important; gap: 0 !important; border-left: 2px solid var(--erpsl-btn-red, #cf2e2e) !important; background: transparent !important; align-items: stretch !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { width: 100%; align-items: stretch !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: block; width: 100%; padding: 10px 0 10px 16px !important; font-size: 1.15rem; font-weight: 400; line-height: 1.3; color: #e2e2e2 !important; text-align: left; }
/* Current page and taps in amber (as specific as the white/grey rules above, so they win). */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content[aria-current], .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content[aria-current] { color: var(--wp--preset--color--accent-1, #fcb900) !important; }
@media (hover: hover) { .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover, .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--accent-1, #fcb900) !important; } } /* phones keep a 'sticky' hover after a tap */
.wp-block-navigation__responsive-container.is-menu-open a, .wp-block-navigation__responsive-container.is-menu-open a:hover, .wp-block-navigation__responsive-container.is-menu-open a:focus { text-decoration: none !important; } /* the theme underlines focused links; the menu focuses Home on open */
.wp-block-navigation__responsive-container.is-menu-open a:focus { outline: none; }
.wp-block-navigation__responsive-container.is-menu-open a:focus-visible, .wp-block-navigation__responsive-container.is-menu-open button:focus-visible { outline: 2px solid var(--wp--preset--color--accent-1, #fcb900); outline-offset: 4px; }

/* Menu section: on a page that is not itself a menu item, highlight the item it belongs to (functions.php
   erpsl_menu_section_body_class): a current room -> Current Rooms, a retired room -> Room Archive, a product -> View Merch. */
body.erpsl-section-rooms .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content[href$="/rooms/"],
body.erpsl-section-shop .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content[href$="/shop/"],
body.erpsl-section-room-archive .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content[href$="/room-archive/"] { color: var(--wp--preset--color--accent-1, #fcb900) !important; }
/* No outline or tap flash when tapping/clicking menu items (iPhone Safari draws both); keyboard users keep the amber outline. */
.erpsl-header a, .erpsl-header button, .wp-block-navigation__responsive-container.is-menu-open a, .wp-block-navigation__responsive-container.is-menu-open button { -webkit-tap-highlight-color: transparent; }
.erpsl-header a:focus:not(:focus-visible), .erpsl-header button:focus:not(:focus-visible), .wp-block-navigation__responsive-container.is-menu-open a:focus:not(:focus-visible), .wp-block-navigation__responsive-container.is-menu-open button:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
/* Rooms and Shop are section labels (no link of their own; their pages are "Current Rooms" and "View Merch" in the
   menu): in the phone menu small grey capitals, so only real links look tappable. On desktop they open the drop-down. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > a.wp-block-navigation-item__content:not([href]) { padding: 18px 0 8px !important; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #8c8c8c !important; cursor: default; pointer-events: none; }
.erpsl-header .wp-block-navigation-submenu > a.wp-block-navigation-item__content:not([href]) { cursor: default; }

/* =========================================================================
 * Focus outlines: keyboard only, in amber. Twenty Twenty-Five outlines EVERY focused element (2px, text colour =
 * white here), including things that only get focus from a click or tap: the menu item WordPress focuses when a
 * drop-down opens, the phone menu's first link, buttons. So clicking showed a white box. Now nothing is outlined
 * after a click/tap; Tab/keyboard focus gets a 2px amber outline everywhere.
 * ====================================================================== */
.wp-site-blocks :focus:not(:focus-visible),
.wp-site-blocks [tabindex="-1"]:focus { outline: none !important; }
:where(.wp-site-blocks :focus-visible) { outline: 2px solid var(--wp--preset--color--accent-1, #fcb900); outline-offset: 2px; }

/* =========================================================================
 * Desktop drop-downs (Rooms, Shop): dark like the site and the phone menu, instead of WordPress's white box.
 * Black panel, thin grey border, the red header rule continued along the top, light items with fine dividers,
 * amber for the current page/section and on hover.
 * ====================================================================== */
.erpsl-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container { background-color: #0b0b0b !important; color: #e2e2e2 !important; border: 1px solid #2a2a2a !important; border-top: 2px solid var(--erpsl-btn-red, #cf2e2e) !important; border-radius: 0 0 8px 8px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6); padding: 6px 0 !important; min-width: 200px !important; }
.erpsl-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content { color: #e2e2e2 !important; padding: 10px 18px !important; }
.erpsl-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item + .wp-block-navigation-item { border-top: 1px solid #1e1e1e; }
.erpsl-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover, .erpsl-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible, .erpsl-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content[aria-current],
body.erpsl-section-rooms .erpsl-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content[href$="/rooms/"],
body.erpsl-section-shop .erpsl-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content[href$="/shop/"],
body.erpsl-section-room-archive .erpsl-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content[href$="/room-archive/"] { color: var(--wp--preset--color--accent-1, #fcb900) !important; background: transparent; }
