.borbila-floating-cart {
	--floating-cart-primary: var(--e-global-color-primary, #6044f0);
	align-items: stretch;
	background: var(--floating-cart-primary);
	border: 1px solid color-mix(in srgb, var(--floating-cart-primary) 18%, transparent);
	border-radius: 12px 0 0 12px;
	box-shadow: -4px 6px 24px rgb(22 16 64 / 16%);
	color: #fff;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font-family: inherit;
	font-style: normal;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1.2;
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: fixed;
	right: 0;
	text-align: center;
	text-decoration: none !important;
	text-transform: none;
	top: 50%;
	transform: translateY(-50%);
	transition: box-shadow 180ms ease, opacity 180ms ease;
	width: max-content;
	min-width: 78px;
	max-width: calc(100vw - 24px);
	z-index: 9998;
}

.borbila-floating-cart:hover,
.borbila-floating-cart:focus,
.borbila-floating-cart:active {
	background: var(--floating-cart-primary);
	color: #fff;
}

.borbila-floating-cart:hover {
	box-shadow: -5px 8px 28px rgb(22 16 64 / 24%);
}

.borbila-floating-cart:focus-visible {
	outline: 3px solid var(--floating-cart-primary);
	outline-offset: 4px;
}

.borbila-floating-cart__main {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 5px;
	justify-content: center;
	min-height: 63px;
	padding: 9px 5px 8px;
}

.borbila-floating-cart__icon,
.borbila-floating-cart__icon svg {
	display: block;
	height: 23px;
	width: 23px;
}

.borbila-floating-cart__icon svg {
	fill: currentColor;
}

.borbila-floating-cart__count {
	font-size: 11px;
	font-weight: 500;
	white-space: nowrap;
}

.borbila-floating-cart__total {
	align-items: center;
	background: #fff;
	color: var(--floating-cart-primary);
	display: flex;
	font-size: 13px;
	font-weight: 700;
	justify-content: center;
	min-height: 28px;
	padding: 5px 7px;
	white-space: nowrap;
}

.borbila-floating-cart__total .amount,
.borbila-floating-cart__total bdi {
	color: inherit;
	font: inherit;
}

.borbila-floating-cart[aria-expanded="true"] {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

/* Keep the modal cart clear of floating contact/navigation controls. */
html.borbila-cart-drawer-open,
body.borbila-cart-drawer-open {
	overflow: hidden;
	overscroll-behavior: none;
}

body.borbila-cart-drawer-open .borbila-floating-whatsapp,
body.borbila-cart-drawer-open .elementor-location-footer .elementor-element-41e5ee00 {
	visibility: hidden;
	pointer-events: none;
}

/* Give the close control a reliable touch target without enlarging the X. */
.elementor-location-header .elementor-menu-cart__close-button[role="button"] {
	border-radius: 8px;
	flex: 0 0 44px;
	height: 44px;
	margin: -10px -10px 10px 0;
	width: 44px;
}

.elementor-location-header .elementor-menu-cart__close-button[role="button"]::before,
.elementor-location-header .elementor-menu-cart__close-button[role="button"]::after {
	height: 2px;
	left: 11px;
	width: 22px;
}

.elementor-location-header .elementor-menu-cart__close-button[role="button"]:focus:not(:focus-visible) {
	outline: none;
}

.elementor-location-header .elementor-menu-cart__close-button[role="button"]:focus-visible {
	outline: 2px solid var(--e-global-color-primary, #6044f0);
	outline-offset: 2px;
}

.elementor-location-header .elementor-menu-cart__main > .widget_shopping_cart_content {
	flex: 1;
	height: auto;
	min-height: 0;
}

.elementor-location-header .elementor-menu-cart__products {
	overscroll-behavior: contain;
}

@media (max-width: 1024px) {
	.borbila-floating-cart { min-width: 72px; }
}

@media (max-width: 767px) {
	.borbila-floating-cart {
		border-radius: 10px 0 0 10px;
		min-width: 64px;
	}
	.borbila-floating-cart__main { min-height: 56px; padding: 8px 3px; gap: 4px; }
	.borbila-floating-cart__icon,
	.borbila-floating-cart__icon svg { height: 21px; width: 21px; }
	.borbila-floating-cart__count { font-size: 10px; }
	.borbila-floating-cart__total { min-height: 26px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.borbila-floating-cart { transition: none; }
}
