/**
 * Full-screen metronome overlay shown while WooCommerce processes
 * checkout -- deliberately mirrors .oh-calendar__loading in
 * oh-calendar.css (the calendar's own "Reserving…" overlay) rather
 * than living inside WooCommerce's own per-element blockUI overlay,
 * since that overlay can appear more than once at the same moment
 * (the whole form and, separately, the order-review table) -- see
 * oh-checkout-loader.js's file header. WooCommerce's own overlay(s)
 * stay in the DOM underneath this (still blocking clicks/inputs as
 * normal), just visually covered by our own full-viewport backdrop.
 */
.oh-checkout-loader-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba( 0, 0, 0, 0.75 );
	text-align: center;
}

.oh-checkout-loader-lottie {
	height: 180px;
	max-height: 50vh;
	aspect-ratio: 1041 / 1540; /* matches metronome.json's real w/h -- update if Neil re-exports at a different size */
	margin: 0 auto 8px;
}

.oh-checkout-loader-text {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

/* Hides WooCommerce core's own spinning-circle icon
 * (.woocommerce .blockUI.blockOverlay::before in WooCommerce's own
 * woocommerce.css) on the checkout form specifically -- belt-and-
 * braces alongside the full-screen overlay above, which already
 * visually covers it, in case of any semi-transparent edge. The cart
 * page and mini-cart's own blockUI overlays are untouched, since this
 * is scoped to form.checkout.
 */
form.checkout .blockUI.blockOverlay::before {
	content: none;
	background: none;
	animation: none;
}
