/* Positionierungs-Kontext für das Badge.
   Ohne position:relative am Container rutscht ein absolut positioniertes
   Badge an die obere linke Ecke der Seite. */
.woocommerce ul.products li.product,
ul.products li.product,
.wc-block-grid__product,
.wc-block-components-product-image,
.woocommerce div.product,
.product.type-product,
.woocommerce-product-gallery,
.woocommerce div.product div.images,
.elementor-widget-woocommerce-product-images,
.elementor-widget-woocommerce-product-images > .elementor-widget-container,
.e-loop-item,
.ue-grid-item,
.uc-post-item,
.wnt-has-badge,
.wnt-image-wrap {
	position: relative;
}

.wnt-image-wrap {
	display: block;
}

.wnt-badge {
	position: absolute;
	display: inline-block;
	margin: 0;
	line-height: 1;
	white-space: nowrap;
	pointer-events: none;
	text-decoration: none;
	min-height: 0;
	min-width: 0;
	border: 0;
	right: auto;
	left: auto;
	top: auto;
	bottom: auto;
}

/* Positionsvarianten – die konkreten Abstände kommen aus den Einstellungen. */
.wnt-badge--top-left {
	top: 0;
	left: 0;
}

.wnt-badge--top-right {
	top: 0;
	right: 0;
}

.wnt-badge--bottom-left {
	bottom: 0;
	left: 0;
}

.wnt-badge--bottom-right {
	bottom: 0;
	right: 0;
}
