.wc-ausverkauft-wrap {
	position: relative;
	display: block;
	container-type: inline-size;
	overflow: hidden;
}

.woocommerce-product-gallery__image:has(> .wc-ausverkauft-sticker) {
	position: relative;
	display: block;
	container-type: inline-size;
}

.wc-ausverkauft-wrap img {
	vertical-align: top;
}

.wc-ausverkauft-sticker {
	position: absolute;
	left: var(--wc-ausverkauft-left, 50%);
	top: var(--wc-ausverkauft-top, 50%);
	z-index: 2;
	display: block;
	max-width: 92%;
	margin: 0;
	padding: 0 0.15em;
	color: var(--wc-ausverkauft-color, #e10600);
	font-family: "Arial Black", Impact, Haettenschweiler, "Franklin Gothic Heavy", sans-serif;
	font-size: clamp(
		calc(28px * var(--wc-ausverkauft-scale, 1)),
		calc(16cqw * var(--wc-ausverkauft-scale, 1)),
		calc(96px * var(--wc-ausverkauft-scale, 1))
	);
	font-style: var(--wc-ausverkauft-font-style, italic);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: 0.01em;
	text-align: center;
	white-space: nowrap;
	pointer-events: none;
	transform: translate(-50%, -50%) rotate(-18deg);
	-webkit-text-stroke: 0.08em var(--wc-ausverkauft-shadow, #fff);
	paint-order: stroke fill;
	text-shadow:
		0 1px 0 var(--wc-ausverkauft-shadow, #fff),
		1px 0 0 var(--wc-ausverkauft-shadow, #fff),
		-1px 0 0 var(--wc-ausverkauft-shadow, #fff),
		0 -1px 0 var(--wc-ausverkauft-shadow, #fff);
}

.wc-ausverkauft-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
