.xt_atc_override_spinner  {

	a.add_to_cart_button,
	a.single_add_to_cart_button,
	button.add_to_cart_button,
	button.single_add_to_cart_button {

		transition: all 0.3s!important;

		&:before,
		&:after {
			display: none !important;
		}

		&.xt_atc-loading {

			text-align: center !important;
			opacity: 0.9 !important;

			&:hover {
				opacity: 0.9 !important;
			}
		}

		.xt_atc-button-spinner-wrap{
			display: flex;
			align-items: center;
			justify-content: center;
			height: 100%;
			transform: scale(0);
			transform-origin: center center;
			transition: transform 0.3s;
		}

		.xt_atc-button-spinner {
			display: flex;
			align-items: center;
			justify-content: center;
			width: initial!important;
			height: 100%!important;
			color: currentColor;
			position: relative;
			line-height: initial!important;
			padding: 0;
			margin: 0;
			z-index: 2;
			overflow: hidden;

			&[class^="xt_icon-checkmark"]:before,
			&[class*=" xt_icon-checkmark"]:before {
				animation: none;
			}
		}

	}
}

.added_to_cart {
	margin-left: 10px;

	.xt_atc_hide_view_cart &{
		display:none!important;
	}
}

.xt_atc-error{
	box-shadow: 0px 0px 5px 4px rgba(255, 0, 0, 0.45);
	padding: 10px 15px!important;
	transition: all 0.3s;
}
