/*
 * Farasale VIP Pricing - "Has VIP price" badge.
 * Uses logical (inset-inline-*) properties so positioning is correct
 * automatically in the site's RTL layout.
 */

/* Ensure the loop item is a positioning context for the overlay badge.
   Most WooCommerce themes already set this on li.product, but we set
   it defensively in case the active theme overrides it. */
ul.products li.product {
	position: relative;
}

.fvp-vip-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Overlay variant: shop / category / related-products loop thumbnail. */
.fvp-vip-badge--loop {
	position: absolute;
	top: 10px;
	inset-inline-end: 10px;
	z-index: 9;
	width: 40px;
	height: 40px;
	pointer-events: none;
	filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.25));
}

.fvp-vip-badge--loop img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Pill variant: single product page, placed above the product title. */
.fvp-vip-badge--single {
	background: linear-gradient(135deg, #fbbf24, #f97316);
	color: #ffffff;
	padding: 6px 14px 6px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 12px;
	box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.fvp-vip-badge--single img {
	width: 20px;
	height: 20px;
}

.fvp-vip-badge__label {
	line-height: 1;
}
