html.site-preloader-active {
	overflow: hidden;
}

html.site-preloader-skip #site-preloader {
	display: none !important;
}

.site-preloader {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	background: var(--black_bg_black, #fff);
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-preloader--hide {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.site-preloader__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: calc(100vw - 32px);
	padding: 0 16px;
	box-sizing: border-box;
}

.site-preloader__mark {
	width: min(52vw, 190px);
	max-width: 190px;
	color: #d02471;
	color: var(--theme-base-color, #d02471);
	flex-shrink: 0;
	line-height: 0;
	overflow: visible;
	animation: site-preloader-mark-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both,
		site-preloader-mark-pulse 1.8s ease-in-out 0.7s infinite;
}

.site-preloader__mark svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.site-preloader__bar {
	width: 72px;
	height: 2px;
	margin-top: 24px;
	border-radius: 2px;
	overflow: hidden;
	background: rgba(208, 36, 113, 0.12);
	background: color-mix(in srgb, var(--theme-base-color, #d02471) 12%, transparent);
}

.site-preloader__bar span {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: #d02471;
	background: var(--theme-base-color, #d02471);
	animation: site-preloader-bar 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes site-preloader-mark-in {
	from {
		opacity: 0;
		transform: scale(0.88) translateY(10px);
	}

	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

@keyframes site-preloader-mark-pulse {
	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.72;
	}
}

@keyframes site-preloader-bar {
	0% {
		width: 0;
	}

	40% {
		width: 55%;
	}

	75% {
		width: 82%;
	}

	100% {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-preloader__mark {
		animation: none;
	}

	.site-preloader__bar span {
		animation: none;
		width: 100%;
	}

	.site-preloader {
		transition-duration: 0.15s;
	}
}
