/* WooCommerce product loops use the Jabiru toast instead of inline success UI. */
.woocommerce a.added_to_cart.wc-forward,
.woocommerce a.added_to_cart,
.elementor-widget-woocommerce-products a.added_to_cart,
.wc-block-grid a.added_to_cart{
	display:none!important;
	width:0!important;
	height:0!important;
	margin:0!important;
	padding:0!important;
	overflow:hidden!important;
}
.woocommerce .add_to_cart_button.added:after,
.woocommerce a.button.added:after,
.elementor-widget-woocommerce-products .add_to_cart_button.added:after,
.wc-block-grid .add_to_cart_button.added:after{
	display:none!important;
	content:none!important;
}

/* Elementor/Home product buttons: premium spinner fixed to the exact center. */
@keyframes jabiru-global-spin{
	to{transform:translate(-50%,-50%) rotate(360deg)}
}
.woocommerce .add_to_cart_button.loading,
.elementor-widget-woocommerce-products .add_to_cart_button.loading,
.elementor-widget-wc-archive-products .add_to_cart_button.loading,
.wc-block-grid .add_to_cart_button.loading{
	position:relative!important;
	color:transparent!important;
	opacity:.72!important;
	pointer-events:none!important;
}
.woocommerce .add_to_cart_button.loading:after,
.elementor-widget-woocommerce-products .add_to_cart_button.loading:after,
.elementor-widget-wc-archive-products .add_to_cart_button.loading:after,
.wc-block-grid .add_to_cart_button.loading:after{
	position:absolute!important;
	top:50%!important;
	left:50%!important;
	right:auto!important;
	display:block!important;
	box-sizing:border-box!important;
	width:17px!important;
	height:17px!important;
	margin:0!important;
	border:2px solid rgba(255,255,255,.42)!important;
	border-top-color:#fff!important;
	border-radius:50%!important;
	background:transparent!important;
	content:""!important;
	transform:translate(-50%,-50%)!important;
	animation:jabiru-global-spin .7s linear infinite!important;
}

/* Real DOM spinner animated from JavaScript (immune to CSS optimizer conflicts). */
.woocommerce .add_to_cart_button.jabiru-is-spinning,
.elementor-widget-woocommerce-products .add_to_cart_button.jabiru-is-spinning,
.elementor-widget-wc-archive-products .add_to_cart_button.jabiru-is-spinning,
.wc-block-grid .add_to_cart_button.jabiru-is-spinning{
	position:relative!important;
	color:transparent!important;
	opacity:.78!important;
	pointer-events:none!important;
}
.add_to_cart_button.jabiru-is-spinning:after{
	display:none!important;
	content:none!important;
}
.add_to_cart_button .jabiru-live-spinner{
	position:absolute!important;
	z-index:3!important;
	top:50%!important;
	left:50%!important;
	display:block!important;
	box-sizing:border-box!important;
	width:18px!important;
	height:18px!important;
	margin:0!important;
	border:2px solid rgba(255,255,255,.4)!important;
	border-top-color:#fff!important;
	border-right-color:#fff!important;
	border-radius:50%!important;
	background:transparent!important;
	transform:translate(-50%,-50%) rotate(0deg);
	pointer-events:none!important;
}

.jabiru-global-cart-toast{
	position:fixed;
	z-index:99999;
	right:28px;
	bottom:28px;
	display:grid;
	min-width:330px;
	min-height:76px;
	padding:14px 16px;
	grid-template-columns:42px minmax(0,1fr) auto;
	align-items:center;
	gap:13px;
	border:1px solid #173b60;
	border-radius:8px;
	background:linear-gradient(115deg,#001b38,#00305e);
	color:#fff;
	box-shadow:0 18px 45px rgba(0,27,56,.3);
	opacity:0;
	transform:translateY(18px);
	visibility:hidden;
	transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
}
.jabiru-global-cart-toast.is-visible{
	opacity:1;
	transform:translateY(0);
	visibility:visible;
}
.jabiru-global-cart-toast>i{
	display:grid;
	width:42px;
	height:42px;
	place-items:center;
	border-radius:50%;
	background:#eaf8f1;
	color:#138557;
	font-size:22px;
	font-style:normal;
	font-weight:800;
}
.jabiru-global-cart-toast strong{
	display:block;
	font-size:12px;
	line-height:1.45;
}
.jabiru-global-cart-toast a{
	display:inline-flex;
	min-height:34px;
	padding:0 13px;
	align-items:center;
	border:1px solid rgba(255,255,255,.48);
	border-radius:4px;
	color:#fff;
	font-size:11px;
	font-weight:700;
	text-decoration:none;
}
.jabiru-global-cart-toast a:hover{
	border-color:#ed1c24;
	background:#ed1c24;
	color:#fff;
}
@media(max-width:560px){
	.jabiru-global-cart-toast{
		right:12px;
		bottom:12px;
		left:12px;
		min-width:0;
	}
}
