.add-to-cart-button a {
	position: relative;
}

.add-to-cart-button.disabled a {
	cursor: not-allowed;
	background-color: #ccc !important;  
	color: #fff !important;  
}

.add-to-cart-outline-button.disabled a {
	cursor: not-allowed;
	border-color: #ccc !important; 
	background-color: transparent !important;
	color: #ccc !important;
}

.add-to-cart-button a:after {
	opacity: 0;
	visibility: hidden;
	content: "\f110";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 30px;
	display: flex;
	align-items: center;
	font-family: "Font Awesome 5 Free";
	color: #000;
	margin-right: -25px;
	animation: spin_preloader 3s linear infinite;
	transition: all .3s ease;
}

.add-to-cart-button a.loading {
	background-color: #ccc !important;
	cursor: not-allowed;
}

.add-to-cart-button a.loading:after {
	opacity: 1;
	visibility: visible;
}

.add-to-cart-button .error {
	position: absolute;
	top: 100%;
	left: 0;
	color: red;
	margin-top: 5px;
	font-size: 14px;
}

@keyframes spin_preloader {
	0% {
		opacity: 1;
		transform: rotateZ(0deg);
	}
	25% {
		opacity: 0.5;
	}

	50% {
		opacity: 1;
	}

	75% {
		opacity: 0.5;
	}

	100% {
		opacity: 1;
		transform: rotateZ(360deg);
	}
}


