/* CE Product Sync — product labels (archive cards + single product gallery) */

/* ---- Positioning context ---- */

.product_img,
.product_img_gal_wrap {
	position: relative;
}

/* ---- Label wrapper — horizontal row, top-right, both contexts ---- */

.product_img .product_ons_wrap,
.product_img_gal_wrap .product_ons_wrap {
	position: absolute !important;
	top: 12px !important;
	right: 12px !important;
	left: auto !important;
	bottom: auto !important;
	z-index: 50 !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 6px !important;
	width: auto !important;
	pointer-events: none;
}

/* ---- Individual labels ---- */

.product_img .product_ons_wrap .new_in,
.product_img .product_ons_wrap .sale_in,
.product_img .product_ons_wrap .offer_in,
.product_img_gal_wrap .product_ons_wrap .new_in,
.product_img_gal_wrap .product_ons_wrap .sale_in,
.product_img_gal_wrap .product_ons_wrap .offer_in {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	white-space: nowrap;
	font-size: 12px;
	line-height: 1;
	padding: 6px 8px;
	font-family: 'MSLondonSemibold', sans-serif;
	text-transform: uppercase;
	color: #fff;
}

.product_img .product_ons_wrap .new_in,
.product_img_gal_wrap .product_ons_wrap .new_in {
	background: #00843d;
}

.product_img .product_ons_wrap .sale_in,
.product_img_gal_wrap .product_ons_wrap .sale_in {
	background: #c8102e;
}

.product_img .product_ons_wrap .offer_in,
.product_img_gal_wrap .product_ons_wrap .offer_in {
	background: #00843d;
}
