/* Nút đang xử lý: equalizer mini + chữ "Đang …" (inc/ds-btn-loading.php). Dùng chung: trang Tài khoản, plugin trả góp. */
.ds-eq-mini { display: inline-flex; align-items: flex-end; gap: 2px; height: 1em; flex-shrink: 0; }
.ds-eq-mini i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; animation: ds-eq-mini .7s ease-in-out infinite alternate; }
.ds-eq-mini i:nth-child(2) { animation-delay: -.45s; }
.ds-eq-mini i:nth-child(3) { animation-delay: -.2s; }
.ds-eq-mini i:nth-child(4) { animation-delay: -.6s; }
.ds-eq-mini i:nth-child(5) { animation-delay: -.3s; }
@keyframes ds-eq-mini { 0% { transform: scaleY(.18); } 55% { transform: scaleY(1); } 100% { transform: scaleY(.45); } }
.ds-btn-busy { display: inline-flex !important; align-items: center; justify-content: center; gap: var(--spacing-xs); cursor: progress !important; pointer-events: none; }
.ds-btn-busy.disabled, .ds-btn-busy:disabled { opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { .ds-eq-mini i { animation: none; transform: scaleY(.6); } }

/* Thêm vào giỏ (Bricks AJAX): equalizer vẽ bằng CSS khi Bricks gắn class bricks-cart-adding — không đụng chữ của nút */
.single_add_to_cart_button.bricks-cart-adding { display: inline-flex; align-items: center; justify-content: center !important; gap: var(--spacing-xs); opacity: 1 !important; }
.single_add_to_cart_button.bricks-cart-adding::before {
	content: ""; position: static !important; inset: auto !important; transform: none !important; display: block; width: 19px; height: 1em; flex-shrink: 0; margin: 0 !important; border: 0; border-radius: 0; opacity: 1;
	background:
		linear-gradient(currentColor, currentColor) 0 100% / 3px 40% no-repeat,
		linear-gradient(currentColor, currentColor) 4px 100% / 3px 90% no-repeat,
		linear-gradient(currentColor, currentColor) 8px 100% / 3px 55% no-repeat,
		linear-gradient(currentColor, currentColor) 12px 100% / 3px 75% no-repeat,
		linear-gradient(currentColor, currentColor) 16px 100% / 3px 30% no-repeat;
	animation: ds-eq-css .7s ease-in-out infinite alternate;
}
.single_add_to_cart_button.bricks-cart-adding > * { flex: 0 0 auto !important; width: auto !important; margin: 0 !important; }
@keyframes ds-eq-css {
	to { background-size: 3px 95%, 3px 35%, 3px 85%, 3px 25%, 3px 100%; }
}
@media (prefers-reduced-motion: reduce) { .single_add_to_cart_button.bricks-cart-adding::before { animation: none; } }
