/* Theme 1.0.32 — overnight walkthrough fixes.
   Switches: tsd_v1032_on, plus body classes tsd-v1032-popups, -cancel-list, -qty, -shop-ui, -map, -guides. */

/* ------------------------------------------------------------------ 2. Opaque pop-up panels */
/* The 1.0.30 panel used a grain overlay with z-index:-1 on a transparent ::before, so the product
   page showed through the panel. Force a solid dark fill on the dialog and on the grain layer. */
body.tsd-v1032-popups dialog.tt-modal,
body.tsd-v1032-popups dialog.tt-modal.tsd-pop,
body.tsd-v1032-popups dialog.tt-modal.tt-scheme-dark,
body.tsd-v1032-popups dialog.tt-modal.tt-scheme-light {
	background-color: #121212 !important;
	background-image: none;
	opacity: 1 !important;
	color: #ececec;
}
body.tsd-v1032-popups dialog.tt-modal.tsd-pop::before {
	background-color: #121212;
	background-image: radial-gradient(700px 300px at 100% 0%, rgba(255, 184, 28, .09), transparent 65%), var(--tsd-grain, none);
	opacity: 1;
	z-index: 0;
	pointer-events: none;
}
body.tsd-v1032-popups dialog.tt-modal.tsd-pop > * { position: relative; z-index: 1; }
body.tsd-v1032-popups dialog.tt-modal::backdrop { background: rgba(0, 0, 0, .82); }

/* ------------------------------------------------------------------ 3. Cancellation policy as a real list */
body.tsd-v1032-cancel-list .tsd-pop__ol {
	margin: 0;
	padding: 0 0 0 0;
	list-style: none;
	counter-reset: tsd-pop;
}
body.tsd-v1032-cancel-list .tsd-pop__ol > li,
body.tsd-v1032-cancel-list li.tsd-pop__li {
	position: relative;
	margin: 0 0 1.15rem;
	padding: 0 0 0 2.6rem;
	list-style: none;
	counter-increment: tsd-pop;
}
body.tsd-v1032-cancel-list .tsd-pop__ol > li::before,
body.tsd-v1032-cancel-list li.tsd-pop__li::before {
	content: counter(tsd-pop);
	position: absolute;
	left: 0;
	top: 0;
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 50%;
	background: var(--tt-gold, #ffb81c);
	color: var(--tt-black, #0b0b0b);
	font-family: var(--tt-head, inherit);
	font-weight: 800;
	font-size: .85rem;
	letter-spacing: 0;
	display: grid;
	place-items: center;
	line-height: 1;
}
body.tsd-v1032-cancel-list .tsd-pop__ol .tsd-pop__h,
body.tsd-v1032-cancel-list li.tsd-pop__li .tsd-pop__h {
	margin: .15rem 0 .45rem;
	display: inline-block;
}

/* ------------------------------------------------------------------ 4. Locked quantity (max 1 / sold individually) */
body.tsd-v1032-qty .quantity:has(.tsd-qty-locked),
body.tsd-v1032-qty .quantity:has(.qty[max="1"]) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .35rem .7rem;
}
body.tsd-v1032-qty .quantity:has(.tsd-qty-locked) .qty,
body.tsd-v1032-qty .quantity:has(.qty[max="1"]) .qty,
body.tsd-v1032-qty .quantity:has(.tsd-qty-locked) .minus,
body.tsd-v1032-qty .quantity:has(.tsd-qty-locked) .plus,
body.tsd-v1032-qty .quantity:has(.qty[max="1"]) .minus,
body.tsd-v1032-qty .quantity:has(.qty[max="1"]) .plus {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	padding: 0;
}
/* The note after the input is hidden unless the qty is locked (the hook prints it on every qty field). */
body.tsd-v1032-qty .tsd-qty-note { display: none; font-size: .9rem; color: #444; font-weight: 600; }
body.tsd-v1032-qty .quantity:has(.tsd-qty-locked) .tsd-qty-note,
body.tsd-v1032-qty .quantity:has(.qty[max="1"]) .tsd-qty-note,
body.tsd-v1032-qty .tsd-qty-static .tsd-qty-note { display: inline; }
body.tsd-v1032-qty .tsd-qty-static { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .6rem; font-weight: 700; }

/* ------------------------------------------------------------------ 8. Shop / cart cards: buttons share a baseline */
body.tsd-v1032-shop-ui .wp-block-woocommerce-product-collection .wc-block-product,
body.tsd-v1032-shop-ui .wc-block-product-template .wc-block-product,
body.tsd-v1032-shop-ui .cross-sells ul.products li.product,
body.tsd-v1032-shop-ui .wp-block-woocommerce-cart-cross-sells-products .wc-block-product,
body.tsd-v1032-shop-ui .wp-block-woocommerce-product-collection ul.wc-block-product-template > li,
body.tsd-v1032-shop-ui ul.products li.product {
	display: flex;
	flex-direction: column;
	height: 100%;
}
body.tsd-v1032-shop-ui .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button,
body.tsd-v1032-shop-ui .wc-block-product-template .wp-block-woocommerce-product-button,
body.tsd-v1032-shop-ui .cross-sells li.product .button,
body.tsd-v1032-shop-ui .cross-sells li.product a.button,
body.tsd-v1032-shop-ui .wp-block-woocommerce-cart-cross-sells-products .wp-block-woocommerce-product-button,
body.tsd-v1032-shop-ui ul.products li.product .button,
body.tsd-v1032-shop-ui ul.products li.product .wp-block-button {
	margin-top: auto;
}

/* Invalid coupon / cart errors: a readable branded notice, not tiny pale text. */
body.tsd-v1032-shop-ui .woocommerce-error,
body.tsd-v1032-shop-ui .woocommerce-notices-wrapper .woocommerce-error,
body.tsd-v1032-shop-ui .woocommerce-NoticeGroup .woocommerce-error,
body.tsd-v1032-shop-ui .wc-block-components-notice-banner.is-error,
body.tsd-v1032-shop-ui .wc-block-cart__empty-cart__error,
body.tsd-v1032-shop-ui .wc-block-components-validation-error,
body.tsd-v1032-shop-ui .coupon .woocommerce-error,
body.tsd-v1032-shop-ui .wc-block-components-totals-coupon__content .wc-block-components-validation-error {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 1rem;
	padding: .85rem 1.1rem;
	border: 0;
	border-left: 5px solid var(--tt-red, #dd0000);
	border-radius: 6px;
	background: #fdecec;
	color: #4a1010;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.45;
	list-style: none;
}
body.tsd-v1032-shop-ui .woocommerce-error li { margin: 0; padding: 0; color: inherit; font-size: inherit; }
body.tsd-v1032-shop-ui .woocommerce-error a { color: #8a1010; font-weight: 700; }

/* Footer "Book a class" stays a gold filled button on pages that do not load legacy.css (404, thin products). */
body.tsd-v1032-shop-ui .tsd-ft-top__btns .tt-btn--fill.tt-btn--brand,
body.tsd-v1032-shop-ui .tt-footer .tt-btn--fill.tt-btn--brand,
body.tsd-v1032 .tsd-ft-top__btns .tt-btn--fill.tt-btn--brand,
body.tsd-v1032 .tt-footer .tt-btn--fill.tt-btn--brand {
	background: var(--tt-gold, #ffb81c);
	border-color: var(--tt-gold, #ffb81c);
	color: var(--tt-black, #0b0b0b);
	text-decoration: none;
	opacity: 1;
}
body.tsd-v1032-shop-ui .tsd-ft-top__btns .tt-btn--fill.tt-btn--brand:hover,
body.tsd-v1032-shop-ui .tt-footer .tt-btn--fill.tt-btn--brand:hover,
body.tsd-v1032 .tsd-ft-top__btns .tt-btn--fill.tt-btn--brand:hover,
body.tsd-v1032 .tt-footer .tt-btn--fill.tt-btn--brand:hover {
	background: var(--tt-red, #dd0000);
	border-color: var(--tt-red, #dd0000);
	color: #fff;
}
body.tsd-v1032 .tsd-ft-top__call,
body.tsd-v1032 .tt-footer .tt-btn--border {
	color: #fff;
	border-color: rgba(255, 255, 255, .7);
	opacity: 1;
}

/* Checkout: a little air above "Additional information", so it does not sit on the email field. */
body.tsd-v1032-shop-ui .woocommerce-checkout .woocommerce-additional-fields,
body.tsd-v1032-shop-ui .woocommerce-checkout #order_comments_field,
body.tsd-v1032-shop-ui .woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
	margin-top: 1.35rem;
}
body.tsd-v1032-shop-ui .woocommerce-checkout .woocommerce-additional-fields > h3 {
	margin: 0 0 .7rem;
	line-height: 1.3;
}

/* Header cart badge: hide a leftover 0 if a stale fragment ever prints one. */
body.tsd-v1032-shop-ui .tt-cartcount:empty,
body.tsd-v1032-shop-ui a.tt-cartlink .tt-cartcount[data-count="0"] { display: none; }

/* ------------------------------------------------------------------ Contact map: overlay the card on a full-width map (no empty dark band). */
body.tsd-v1032-map .tsd-c-map {
	display: grid;
	grid-template-columns: 1fr;
	background: #1b1b1b;
}
body.tsd-v1032-map .tsd-c-map__frame {
	grid-column: 1;
	grid-row: 1;
	min-height: clamp(22rem, 52vh, 30rem);
	background: #1b1b1b;
}
body.tsd-v1032-map .tsd-c-map__iframe {
	background: #1b1b1b;
	min-height: clamp(22rem, 52vh, 30rem);
}
body.tsd-v1032-map .tsd-c-map__card {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
	align-self: center;
	z-index: 2;
	max-width: min(26rem, calc(100% - 2rem));
	margin: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem) max(1rem, calc((100vw - 1200px) / 2));
}
@media (max-width: 800px) {
	body.tsd-v1032-map .tsd-c-map { display: block; }
	body.tsd-v1032-map .tsd-c-map__card {
		margin: 0;
		max-width: none;
		border-radius: 0;
		border-left: 0;
		border-right: 0;
	}
}
