/* Agend Apps Shop — Cart Header widget styles */

.agend-apps-shop-cart-header {
	display: inline-block;
}

.agend-shop-cart-header-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
}

.agend-shop-cart-icon {
	display: inline-flex;
	align-items: center;
	font-size: 1.4em;
}

/*
 * Size the icon explicitly. Elementor's inline-SVG icons ship without
 * width/height attributes and rely on context-scoped rules (e.g.
 * .elementor-button-icon .e-font-icon-svg) that do not target this widget's
 * markup, so the SVG would otherwise collapse to 0x0 and appear invisible.
 */
.agend-shop-cart-icon svg,
.agend-shop-cart-icon .e-font-icon-svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* Badge */
.agend-shop-cart-badge {
	position: absolute;
	top: -0.5em;
	right: -0.7em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.4em;
	height: 1.4em;
	padding: 0 0.2em;
	border-radius: 999px;
	font-size: 0.7em;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	/* Colours are injected via inline style from widget settings */
}

/* Hidden attribute support */
.agend-shop-cart-badge[hidden] {
	display: none;
}
