/* WooCommerce loop Add to Cart request states. */
.bambu-cart-state-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	white-space: nowrap;
}

.bambu-cart-state-button.bambu-cart-loading,
.bambu-cart-state-button.bambu-cart-success {
	background: #111 !important;
	color: #fff !important;
	opacity: 1 !important;
	transform: translateY(0);
}

.bambu-cart-state-button.bambu-cart-loading {
	cursor: wait !important;
	pointer-events: none !important;
}

.bambu-cart-state-button::before,
.bambu-cart-state-button::after {
	display: none !important;
	content: none !important;
}

.bambu-loop-cart__spinner {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255, 255, 255, .42);
	border-top-color: #fff;
	border-radius: 50%;
	animation: bambu-loop-cart-spin .7s linear infinite;
}

.bambu-loop-cart__check {
	flex: 0 0 auto;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}

.bambu-loop-cart__label {
	color: inherit;
	font: inherit;
	line-height: 1;
}

@keyframes bambu-loop-cart-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.bambu-loop-cart__spinner {
		animation-duration: 1.4s;
	}
}
