/* Add-to-cart feedback restored from the agency theme's inline presentation code. */
.woocommerce .single_add_to_cart_button.loading,
.woocommerce .ajax_add_to_cart.loading {
	position: relative;
	padding-right: 24px !important;
}

.woocommerce .single_add_to_cart_button.loading::after,
.woocommerce .ajax_add_to_cart.loading::after {
	display: block !important;
	position: absolute;
	top: 0.618em;
	right: 1em;
	font-family: WooCommerce;
	font-weight: 400;
	vertical-align: top;
	content: "\e01c";
	animation: rochford-cart-gear-spin 2s linear infinite;
}

@keyframes rochford-cart-gear-spin {
	100% {
		transform: rotate(360deg);
	}
}

#custom-cart-popup {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	visibility: hidden;
	transition: 0.3s ease;
}

#custom-cart-popup.show {
	opacity: 1;
	visibility: visible;
}

#custom-cart-popup .popup-content {
	width: 360px;
	max-width: 90%;
	padding: 35px 25px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
	text-align: center;
	transform: scale(0.8);
	transition: 0.3s ease;
}

#custom-cart-popup.show .popup-content {
	transform: scale(1);
}

#custom-cart-popup .popup-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 75px;
	height: 75px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: #b49d5a;
	color: #fff;
	font-size: 34px;
	font-weight: 700;
}

#custom-cart-popup h3 {
	margin: 0 0 10px;
	color: #111;
	font-family: "Cormorant Garamond";
	font-size: 28px;
	font-weight: 900;
	text-transform: uppercase;
}

#custom-cart-popup p {
	margin-bottom: 25px;
	color: #666;
	font-family: "Suisse Intl", sans-serif;
	font-size: 16px;
}

#custom-cart-popup .popup-btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 0;
	background: #b49d5a;
	color: #fff !important;
	font-family: "Suisse Intl", sans-serif;
	text-decoration: none;
	text-transform: uppercase;
	transition: 0.3s;
}

#custom-cart-popup .popup-btn:hover,
#custom-cart-popup .popup-btn:focus-visible {
	background: #333;
}

@media (prefers-reduced-motion: reduce) {
	.woocommerce .single_add_to_cart_button.loading::after,
	.woocommerce .ajax_add_to_cart.loading::after {
		animation: none;
	}

	#custom-cart-popup,
	#custom-cart-popup .popup-content {
		transition: none;
	}
}
