.figures-product-loader {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), transparent 38%),
		rgba(8, 8, 10, 0.94);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.18s ease, visibility 0s linear 0.18s;
	transform: translateZ(0);
	will-change: opacity;
}

.figures-product-loader.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
	transition-delay: 0s;
}

.figures-product-loader__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 230px;
	padding: 28px 34px 24px;
	gap: 13px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	direction: rtl;
	text-align: center;
	background: linear-gradient(145deg, rgba(35, 35, 39, 0.94), rgba(17, 17, 20, 0.96));
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.figures-product-loader__brand {
	direction: ltr;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 2.2px;
	color: rgba(255, 255, 255, 0.72);
}

.figures-product-loader__walker {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 150px;
	height: 132px;
	margin: 1px 0 3px;
}

.figures-product-loader__runner {
	position: relative;
	z-index: 2;
	display: block;
	width: auto;
	height: 126px;
	object-fit: contain;
	filter: drop-shadow(0 7px 8px rgba(0, 0, 0, 0.48));
	animation: figures-product-loader-forward 1.35s linear infinite;
}

.figures-product-loader__shadow {
	position: absolute;
	z-index: 1;
	left: 50%;
	bottom: -2px;
	width: 53px;
	height: 9px;
	margin-left: -26.5px;
	background: rgba(0, 0, 0, 0.5);
	border-radius: 50%;
	filter: blur(3px);
}

.figures-product-loader__text {
	margin-top: 2px;
	white-space: nowrap;
}

.figures-product-loader__dots {
	display: flex;
	direction: ltr;
	gap: 5px;
}

.figures-product-loader__dots i {
	display: block;
	width: 5px;
	height: 5px;
	background: #fff;
	border-radius: 50%;
	opacity: 0.25;
	animation: figures-product-loader-pulse 1.1s ease-in-out infinite;
}

.figures-product-loader__dots i:nth-child(2) { animation-delay: 0.16s; }
.figures-product-loader__dots i:nth-child(3) { animation-delay: 0.32s; }

html.figures-product-is-loading,
html.figures-product-is-loading body {
	overflow: hidden !important;
}

body.admin-bar .figures-product-loader {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .figures-product-loader {
		top: 46px;
	}

	.figures-product-loader {
		background: rgba(8, 8, 10, 0.96);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		transition-duration: 0.08s;
	}

	.figures-product-loader__box {
		min-width: 205px;
		padding: 23px 27px 20px;
		box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38);
	}

	.figures-product-loader__walker {
		width: 132px;
		height: 118px;
	}

	.figures-product-loader__runner {
		width: auto;
		height: 112px;
	}

	.figures-product-loader__dots {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.figures-product-loader {
		transition: none;
	}
}

@keyframes figures-product-loader-pulse {
	0%, 100% { opacity: 0.22; transform: translateY(0); }
	50% { opacity: 1; transform: translateY(-3px); }
}

@keyframes figures-product-loader-forward {
	0% { opacity: 0; transform: translate3d(38px, 0, 0); }
	9% { opacity: 1; }
	90% { opacity: 1; }
	100% { opacity: 0; transform: translate3d(-38px, 0, 0); }
}
