#sbaFloatingCart{
	position:fixed;
	left:50%;
	bottom:14px;
	width:calc(100% - 24px);
	max-width:560px;
	box-sizing:border-box;
	/* Below the Benami cart overlay/drawer (99990/99991) and toast (99999). */
	z-index:99985;
	opacity:0;
	visibility:hidden;
	pointer-events:none;
	transform:translateX(-50%) translateY(140%);
	transition:transform .35s ease, opacity .35s ease, visibility 0s linear .35s;
}
#sbaFloatingCart.is-visible{
	opacity:1;
	visibility:visible;
	pointer-events:auto;
	transform:translateX(-50%) translateY(0);
	transition:transform .35s ease, opacity .35s ease, visibility 0s;
}
#sbaFloatingCart .sba-floating-cart-inner{
	background:#080808;
	color:#fff;
	border:1px solid rgba(212,175,55,.45);
	border-radius:18px;
	box-shadow:0 12px 35px rgba(0,0,0,.35);
	padding:12px 14px;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
}
#sbaFloatingCart .sba-floating-cart-text{
	display:flex;
	flex-direction:column;
	min-width:0;
}
#sbaFloatingCart .sba-floating-cart-label{
	font-size:13px;
	color:#d8d1c4;
	line-height:1.3;
}
#sbaFloatingCart .sba-floating-cart-total{
	font-size:20px;
	color:#f5d76e;
	font-weight:800;
	line-height:1.3;
	white-space:nowrap;
}
#sbaFloatingCart .sba-floating-cart-total .woocommerce-Price-amount{ color:inherit; }
#sbaFloatingCart .sba-floating-cart-actions{
	display:flex;
	gap:8px;
	flex-shrink:0;
}
#sbaFloatingCart .sba-cart-btn,
#sbaFloatingCart .sba-checkout-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius:999px;
	text-decoration:none !important;
	font-size:14px;
	line-height:1.2;
	white-space:nowrap;
}
#sbaFloatingCart .sba-cart-btn{
	background:transparent;
	border:1px solid rgba(255,255,255,.25);
	color:#fff !important;
	padding:10px 14px;
}
#sbaFloatingCart .sba-checkout-btn{
	background:linear-gradient(135deg,#d4af37,#f5d76e);
	color:#111 !important;
	padding:10px 16px;
	font-weight:800;
	box-shadow:0 4px 14px rgba(212,175,55,.35);
}

/* Phones/small tablets: leave the bottom-left corner free for the accessibility button. */
@media (max-width:767px){
	#sbaFloatingCart{ left:58px; right:8px; width:auto; bottom:10px; transform:translateY(140%); }
	#sbaFloatingCart.is-visible{ transform:translateY(0); }
}
/* Phones: one compact row so the bar does not cover a third of the screen. */
@media (max-width:480px){
	#sbaFloatingCart .sba-floating-cart-inner{ padding:9px 10px; gap:8px; border-radius:16px; }
	#sbaFloatingCart .sba-floating-cart-label{ font-size:12px; }
	#sbaFloatingCart .sba-floating-cart-total{ font-size:17px; }
	#sbaFloatingCart .sba-floating-cart-actions{ gap:6px; }
	#sbaFloatingCart .sba-cart-btn{ padding:9px 11px; font-size:13px; }
	#sbaFloatingCart .sba-checkout-btn{ padding:9px 13px; font-size:13px; }
}
/* Very narrow phones: stack. */
@media (max-width:339px){
	#sbaFloatingCart .sba-floating-cart-inner{ flex-direction:column; align-items:stretch; }
	#sbaFloatingCart .sba-floating-cart-actions .sba-cart-btn,
	#sbaFloatingCart .sba-floating-cart-actions .sba-checkout-btn{ flex:1; }
}

/* While the bar shows: lift the cart toast above it, and keep the bottom of the page reachable
   on phones. */
body.sba-fc-on .benami-cart-toast{ bottom:calc(var(--sba-fc-h, 64px) + 24px); }
@media (max-width:767px){
	body.sba-fc-on{ padding-bottom:calc(var(--sba-fc-h, 64px) + 20px); }
}
@media print{
	#sbaFloatingCart{ display:none !important; }
}
