/* Webtanan Product Labels - basic styles. Adjust in theme if needed. */
.webtanan-label {
	position: absolute;
	z-index: 9;
	display: inline-block;
	padding: 6px 10px;
	border-radius: 4px;
	font-size: 12px;
	line-height: 1;
	font-weight: 600;
	color: #fff;
	background: #EF8FAB;
	pointer-events: none;
}

/* Color variants */
.webtanan-label-urgent { background: #EF8FAB; }
.webtanan-label-not_urgent { background: #EF8FAB; }
.webtanan-label-new_collection { background: #EF8FAB; }
.webtanan-label-sale { background: #EF8FAB; }
.webtanan-label-new { background: #EF8FAB; }
.webtanan-label-sewing_time { background: #EF8FAB; }
.webtanan-label-custom { background: #EF8FAB; }

/* Ensure label absolute positioning has a reliable parent in common Woo wrappers. */
.woocommerce ul.products li.product,
.single-product .woocommerce-product-gallery,
.single-product div.product div.images {
	position: relative;
}

/* Position variants */
.webtanan-label-pos-top_left {
	top: 10px;
	left: 10px;
}

.webtanan-label-pos-top_right {
	top: 10px;
	right: 10px;
}

.webtanan-label-pos-bottom_left {
	bottom: 10px;
	left: 10px;
}

.webtanan-label-pos-bottom_right {
	bottom: 10px;
	right: 10px;
}

/* Legacy fallback for old labels with no saved position. */
.webtanan-label:not([class*="webtanan-label-pos-"]) {
	bottom: 10px;
	right: 10px;
}

/* Keep compatibility with some themes that render badges after the image wrapper. */
.product .webtanan-label,
.products .product .webtanan-label,
.single-product .webtanan-label,
.woocommerce-product-gallery .webtanan-label {
	margin-top: 0;
}


