/* Sava — AJAX «loading dots» replacing the WooCommerce spinner.
   The .sava-dots-loading class and --sava-dot-color are set by loading-dots.js
   on the .loading state; the button label is hidden with an inline
   color:transparent !important so it outranks theme rules. */
.sava-dots-loading {
	position: relative !important;
	cursor: wait !important;
	pointer-events: none !important;
}

/* Hide the core spinner and any theme pseudo-icons while loading. */
.sava-dots-loading::before,
.sava-dots-loading::after {
	content: "" !important;
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	animation: none !important;
}

.sava-dots {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	gap: 5px;
	line-height: 0;
	margin: 0;
	padding: 0;
	pointer-events: none;
	z-index: 3;
}

.sava-dots i {
	display: block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sava-dot-color, #fff);
	animation: sava-dots-hop 0.9s ease-in-out infinite;
}

.sava-dots i:nth-child(2) { animation-delay: 0.15s; }
.sava-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes sava-dots-hop {
	0%, 55%, 100% { transform: translateY(0); opacity: 0.5; }
	27%           { transform: translateY(-5px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.sava-dots i { animation: none; opacity: 0.85; }
}
