/**
 * Velotary – Mini Cart Icon widget (header cart button + count badge).
 * Defaults follow the Lovable header; every value is overridable from the widget's Style tab.
 */
.btelmt-mini-cart-icon-wrap {
	display: flex;
	align-items: center;
}

.btelmt-mini-cart-icon {
	--btelmt-cart-icon-size: 20px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #f5f5f5;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btelmt-mini-cart-icon:hover,
.btelmt-mini-cart-icon:focus-visible {
	color: #c2001a;
}

.btelmt-mini-cart-icon:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.btelmt-mini-cart-icon-glyph {
	display: inline-flex;
	line-height: 1;
	font-size: var(--btelmt-cart-icon-size);
}

.btelmt-mini-cart-icon-glyph svg {
	width: var(--btelmt-cart-icon-size);
	height: var(--btelmt-cart-icon-size);
}

.btelmt-mini-cart-icon-glyph svg:not([fill="none"]) {
	fill: currentColor;
}

.btelmt-mini-cart-icon-badge {
	position: absolute;
	top: 2px;
	right: 2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #c2001a;
	color: #fff;
	font-family: Manrope, sans-serif;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	pointer-events: none;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.btelmt-mini-cart-icon.hide-empty.is-empty .btelmt-mini-cart-icon-badge {
	opacity: 0;
	transform: scale(0.5);
}

.btelmt-mini-cart-icon.is-bumped .btelmt-mini-cart-icon-badge {
	animation: btelmt-cart-badge-bump 0.4s ease;
}

@keyframes btelmt-cart-badge-bump {
	50% {
		transform: scale(1.3);
	}
}

@media (prefers-reduced-motion: reduce) {
	.btelmt-mini-cart-icon,
	.btelmt-mini-cart-icon-badge {
		transition: none;
	}

	.btelmt-mini-cart-icon.is-bumped .btelmt-mini-cart-icon-badge {
		animation: none;
	}
}
