/* SIA Discounts — storefront offer badges. */

/* SIA badges render inside the theme's sale-flash slot (.onsale): keep the
   theme's position, strip its default chrome, and stack our badge(s). */
.sia-onsale {
	background: transparent !important;
	padding: 0 !important;
	margin: 0;
	border: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	border-radius: 0 !important;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	line-height: 1.2;
}
.sia-onsale .sia-badge { position: static; }

/* Anchor relative to the product cell / gallery if the theme didn't. */
.woocommerce ul.products li.product,
.woocommerce div.product .woocommerce-product-gallery {
	position: relative;
}

.sia-badge {
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 9px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .02em;
	color: #fff;
	background: #7c3aed;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
	white-space: nowrap;
}

.sia-badge--rounded { border-radius: 6px; }
.sia-badge--pill { border-radius: 999px; }
.sia-badge--square { border-radius: 0; }

/* Per-corner positioning is handled by the .sia-badges--<corner> classes above. */

.sia-badge__countdown {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	opacity: .9;
}

/* Cart/checkout gift + BOGO line markers. */
.sia-gift-badge,
.sia-free-tag {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	font-size: 11px;
	font-weight: 700;
	border-radius: 999px;
	background: #d1fae5;
	color: #059669;
}
.sia-gift-price { font-weight: 700; color: #059669; text-decoration: none; }
