/* Canonical purchase appearance for native loops, quick view and explicitly
 * marked Elementor purchase banners. Component layouts and native loading
 * icons remain untouched. Do not target generic .button or accent controls. */
body a.button.add_to_cart_button,
body a.button.add-to-cart-loop,
body .wd-product a.button.add-to-cart-loop,
body .single_add_to_cart_button,
body .wd-sticky-btn .wd-sticky-add-to-cart,
body .elementor-element.ep-purchase-cta a.btn {
	border: 1px solid #191d21;
	border-radius: 10px;
	background: #25292e;
	color: #fff;
	font-family: var(--ep-font-body, 'Albert Sans', Arial, sans-serif);
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	box-shadow: inset 0 1px 0 #ffffff30, 0 3px 0 #15191d, 0 7px 11px -5px #00000035;
	transition: transform .16s ease, box-shadow .16s ease;
}
body a.button.add_to_cart_button:hover,
body a.button.add-to-cart-loop:hover,
body .wd-product a.button.add-to-cart-loop:hover,
body .single_add_to_cart_button:hover,
body .wd-sticky-btn .wd-sticky-add-to-cart:hover,
body .elementor-element.ep-purchase-cta a.btn:hover {
	background: #25292e;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: inset 0 1px 0 #ffffff30, 0 4px 0 #15191d, 0 9px 13px -5px #00000040;
}
body a.button.add_to_cart_button:active,
body a.button.add-to-cart-loop:active,
body .wd-product a.button.add-to-cart-loop:active,
body .single_add_to_cart_button:active,
body .wd-sticky-btn .wd-sticky-add-to-cart:active,
body .elementor-element.ep-purchase-cta a.btn:active {
	transform: translateY(1px);
	scale: none;
}
body a.button.add_to_cart_button:focus-visible,
body a.button.add-to-cart-loop:focus-visible,
body .wd-product a.button.add-to-cart-loop:focus-visible,
body .single_add_to_cart_button:focus-visible,
body .wd-sticky-btn .wd-sticky-add-to-cart:focus-visible,
body .elementor-element.ep-purchase-cta a.btn:focus-visible {
	outline: 2px solid #52675f;
	outline-offset: 4px;
}
body a.button.add_to_cart_button:is(.disabled, [aria-disabled="true"]),
body a.button.add-to-cart-loop:is(.disabled, [aria-disabled="true"]),
body .wd-product a.button.add-to-cart-loop:is(.disabled, [aria-disabled="true"]),
body .single_add_to_cart_button:is(:disabled, .disabled) {
	box-shadow: none;
	transform: none;
	cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
	body a.button.add_to_cart_button,
	body a.button.add-to-cart-loop,
	body .wd-product a.button.add-to-cart-loop,
	body .single_add_to_cart_button,
	body .wd-sticky-btn .wd-sticky-add-to-cart,
	body .elementor-element.ep-purchase-cta a.btn {
		transition: none;
		transform: none;
	}
}

/* No label replacement, widths or layout changes. Native loading text stays intact. */
body .ep-buy-motion {
	position: relative;
	-webkit-tap-highlight-color: transparent;
}
body .ep-buy-motion > i.ep-buy-fx {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block !important;
	width: auto;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: inherit;
	overflow: hidden;
	background: transparent;
	opacity: 1;
	transform: none;
	pointer-events: none;
}
body .ep-buy-motion > .ep-buy-fx::before {
	content: "";
	position: absolute;
	left: var(--ep-press-x, 50%);
	top: var(--ep-press-y, 50%);
	width: 220%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgb(255 255 255 / 28%), rgb(68 209 170 / 14%) 48%, transparent 70%);
	opacity: 0;
	transform: translate(-50%, -50%) scale(.05);
}
body .ep-buy-pressed > .ep-buy-fx::before {
	animation: ep-buy-ripple 560ms cubic-bezier(.2,.7,.25,1) both;
}
body .ep-buy-motion > .ep-buy-fx::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40%;
	height: 3px;
	border-radius: 4px;
	background: linear-gradient(90deg, transparent, #98f0d7 35%, #fff 60%, transparent);
	opacity: 0;
	transform: translateX(-110%);
}
body .ep-buy-pending > .ep-buy-fx::after,
body form.checkout.processing #place_order.ep-buy-motion > .ep-buy-fx::after {
	opacity: .95;
	animation: ep-buy-wait 1150ms cubic-bezier(.4,0,.2,1) infinite;
}
body .ep-buy-confirmed {
	animation: ep-buy-confirm 650ms cubic-bezier(.2,.8,.2,1) both;
}
body .ep-buy-confirmed > .ep-buy-fx::after {
	width: 100%;
	background: #9bedcf;
	transform: none;
	animation: ep-buy-done 1100ms ease-out both;
}
@media (prefers-reduced-motion: no-preference) {
	body .ep-buy-motion {
		transition: scale 160ms cubic-bezier(.2,.8,.2,1), background-color 180ms ease, box-shadow 180ms ease;
	}
	body .ep-buy-motion:active:not(:disabled):not(.disabled):not([aria-disabled="true"]) {
		scale: .975;
	}
}
@keyframes ep-buy-ripple {
	0% { opacity: .8; transform: translate(-50%, -50%) scale(.05); }
	70% { opacity: .3; }
	100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}
@keyframes ep-buy-wait {
	0% { transform: translateX(-110%); }
	100% { transform: translateX(360%); }
}
@keyframes ep-buy-confirm {
	0% { scale: .985; box-shadow: 0 0 0 0 rgb(43 198 155 / 25%); }
	45% { scale: 1.015; box-shadow: 0 0 0 7px rgb(43 198 155 / 9%); }
	100% { scale: 1; box-shadow: 0 0 0 10px rgb(43 198 155 / 0%); }
}
@keyframes ep-buy-done {
	0%, 60% { opacity: 1; }
	100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	body .ep-buy-motion,
	body .ep-buy-motion > .ep-buy-fx::before,
	body .ep-buy-motion > .ep-buy-fx::after {
		animation: none !important;
		transition: none !important;
		scale: none !important;
	}
	body .ep-buy-pending > .ep-buy-fx::after,
	body form.checkout.processing #place_order.ep-buy-motion > .ep-buy-fx::after {
		width: 100%;
		transform: none;
		opacity: .6;
	}
	body .ep-buy-confirmed { box-shadow: inset 0 -3px #9bedcf; }
}
