/**
 * Wunschstoff - Produktloop (Shop / Kategorien / Divi-Module): Raster, Hover-Zweitbild.
 */

/* Header-Aktionen: Warenkorb/Konto als sichtbare Bubbles. Liegt hier wegen Cache-Busting per filemtime. */
.et_pb_menu .et_pb_menu__cart-button {
	display: none !important;
}

.et_pb_menu #menu-main-menu > li.wunschstoff-menu-action,
.et_pb_menu .et_mobile_menu > li.wunschstoff-menu-action {
	display: inline-flex !important;
	align-items: center;
	padding-right: 0;
	opacity: 1 !important;
	visibility: visible !important;
}

.et_pb_menu #menu-main-menu > li.wunschstoff-menu-action + li.wunschstoff-menu-action {
	margin-left: 1rem;
}

.et_pb_menu #menu-main-menu > li.wunschstoff-menu-action > a,
.et_pb_menu .et_mobile_menu > li.wunschstoff-menu-action > a {
	position: relative;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	padding: 0 !important;
	border: 1px solid rgba(32, 42, 52, 0.16);
	border-radius: 999px;
	color: #202a34 !important;
	background: #ffffff;
	box-shadow: 0 0.12rem 0.35rem rgba(32, 42, 52, 0.14);
	text-decoration: none;
	opacity: 1 !important;
	visibility: visible !important;
	transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.et_pb_menu #menu-main-menu > li.wunschstoff-menu-action > a:hover,
.et_pb_menu #menu-main-menu > li.wunschstoff-menu-action > a:focus-visible,
.et_pb_menu .et_mobile_menu > li.wunschstoff-menu-action > a:hover,
.et_pb_menu .et_mobile_menu > li.wunschstoff-menu-action > a:focus-visible {
	background: #f5f5f5;
	border-color: rgba(32, 42, 52, 0.34);
	box-shadow: 0 0.18rem 0.45rem rgba(32, 42, 52, 0.18);
	transform: translateY(-1px);
}

.et_pb_menu .wunschstoff-menu-action__icon {
	display: block;
	width: 1.18rem;
	height: 1.18rem;
	background: currentColor;
}

.et_pb_menu .wunschstoff-menu-action--cart .wunschstoff-menu-action__icon {
	-webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 18.5A1.5 1.5 0 1 0 7 21.5 1.5 1.5 0 0 0 7 18.5ZM17 18.5A1.5 1.5 0 1 0 17 21.5 1.5 1.5 0 0 0 17 18.5ZM6.2 6 7.1 14.2c.1.7.7 1.3 1.4 1.3h8.4c.7 0 1.3-.5 1.4-1.2l1.1-6.8H7.5L7.2 4.8C7.1 4 6.4 3.5 5.7 3.5H3.5V5h2.2c.2 0 .4.2.5.5L6.2 6ZM8 9h9.6l-.8 5H8.6L8 9Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 18.5A1.5 1.5 0 1 0 7 21.5 1.5 1.5 0 0 0 7 18.5ZM17 18.5A1.5 1.5 0 1 0 17 21.5 1.5 1.5 0 0 0 17 18.5ZM6.2 6 7.1 14.2c.1.7.7 1.3 1.4 1.3h8.4c.7 0 1.3-.5 1.4-1.2l1.1-6.8H7.5L7.2 4.8C7.1 4 6.4 3.5 5.7 3.5H3.5V5h2.2c.2 0 .4.2.5.5L6.2 6ZM8 9h9.6l-.8 5H8.6L8 9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.et_pb_menu .wunschstoff-menu-action--account .wunschstoff-menu-action__icon {
	-webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 12.2A4.1 4.1 0 1 0 12 4a4.1 4.1 0 0 0 0 8.2ZM12 5.7a2.4 2.4 0 1 1 0 4.8 2.4 2.4 0 0 1 0-4.8ZM4.5 20c.7-3.5 3.6-5.8 7.5-5.8s6.8 2.3 7.5 5.8H17.7c-.7-2.5-2.8-4.1-5.7-4.1S7 17.5 6.3 20H4.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 12.2A4.1 4.1 0 1 0 12 4a4.1 4.1 0 0 0 0 8.2ZM12 5.7a2.4 2.4 0 1 1 0 4.8 2.4 2.4 0 0 1 0-4.8ZM4.5 20c.7-3.5 3.6-5.8 7.5-5.8s6.8 2.3 7.5 5.8H17.7c-.7-2.5-2.8-4.1-5.7-4.1S7 17.5 6.3 20H4.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.et_pb_menu .wunschstoff-menu-action__count {
	position: absolute;
	top: -0.42rem;
	right: -0.5rem;
	min-width: 1.15rem;
	height: 1.15rem;
	padding: 0 0.26rem;
	border: 1px solid rgba(32, 42, 52, 0.18);
	border-radius: 999px;
	background: #ffffff;
	color: #202a34;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.05rem;
	text-align: center;
}

body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products {
	display: grid !important;
	flex-wrap: unset !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 3vw, 40px);
	margin: 0;
	padding: 0;
	list-style: none;
}

body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products::before,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products::after {
	content: none !important;
	display: none !important;
}

@media (min-width: 768px) {
	body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
		justify-content: start;
	}
}

body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products li.product {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	clear: none !important;
}

body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .et_pb_shop ul.products[class*="columns-"] li.product.wunschstoff-loop-item,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .woocommerce ul.products[class*="columns-"] li.product.wunschstoff-loop-item,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #et-boc .et-l .et_pb_shop ul.products[class*="columns-"] li.product.wunschstoff-loop-item {
	position: relative;
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	text-align: left !important;
}

.wunschstoff-product-card {
	display: block;
	width: 100%;
	text-decoration: none;
	color: inherit;
	outline-offset: 4px;
}

.wunschstoff-product-card:focus-visible {
	outline: 2px solid currentColor;
}

/* Kacheln: intrinsische Bildbreite darf CSS-Grid nicht sprengen (Divi/Woo) */
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products li.product.wunschstoff-loop-item {
	min-width: 0;
}

.wunschstoff-product-card__media {
	width: 100%;
	max-width: 100%;
}

/* Auch ohne body:not-/ul.products-Kette: Bild fuellt 2:3-Rahmen (Body-Klassen variieren) */
.wunschstoff-product-card .wunschstoff-product-card__imgstack img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center top;
}

.wunschstoff-product-card__media {
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: #f4f4f4;
	min-height: 0;
}

.wunschstoff-product-card__imgstack {
	position: absolute;
	inset: 0;
	min-height: 0;
}

.wunschstoff-product-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	transform: scale(var(--wunschstoff-card-img-scale, 1));
	transform-origin: center top;
	transition: opacity 0.35s ease, transform 0.35s ease;
}

li.post-88 {
	--wunschstoff-card-img-scale: 1.28;
}

body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products li.product .wunschstoff-product-card__imgstack img,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products li.product a img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center top;
}

.wunschstoff-product-card__img--secondary {
	opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
	.wunschstoff-product-card:not(.wunschstoff-product-card--no-img-hover):hover .wunschstoff-product-card__img--primary,
	.wunschstoff-product-card:not(.wunschstoff-product-card--no-img-hover):focus-within .wunschstoff-product-card__img--primary {
		opacity: 0;
	}

	.wunschstoff-product-card:not(.wunschstoff-product-card--no-img-hover):hover .wunschstoff-product-card__img--secondary,
	.wunschstoff-product-card:not(.wunschstoff-product-card--no-img-hover):focus-within .wunschstoff-product-card__img--secondary {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wunschstoff-product-card__img {
		transition: none;
	}
}

.wunschstoff-product-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 4px 10px;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: #111;
	color: #fff;
}

.wunschstoff-product-card__body {
	padding: 14px 0 0;
	text-align: center;
}

.wunschstoff-product-card__title {
	margin: 0 0 6px;
	font-family: "Varela Round", Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	text-align: center !important;
}

.wunschstoff-product-card__description,
.wunschstoff-product-card__excerpt {
	font-family: "Varela Round", Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	text-align: center !important;
}

.wunschstoff-product-card__price,
.wunschstoff-product-card__price .amount {
	font-family: "Varela Round", Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 1.25 !important;
	text-align: center !important;
}

body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #et-boc .et-l .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__title,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__title {
	font-family: "Varela Round", Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	text-align: center !important;
}

body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #et-boc .et-l .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__price,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #et-boc .et-l .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__price .amount,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__price,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__price .amount {
	font-family: "Varela Round", Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 1.25 !important;
	text-align: center !important;
}

li.wunschstoff-loop-item,
li.wc-block-product,
li.wc-block-grid__product,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products li.product {
	position: relative;
}

.herbert-variation-hint {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 6;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	padding: 0.2em 0.25em 0.35em;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	background: transparent;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.herbert-variation-hint .herbert-swap__hover {
	position: static;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	width: 100%;
	opacity: 1;
	visibility: visible;
}

li.wunschstoff-loop-item:hover .wunschstoff-product-card__body {
	opacity: 0;
	visibility: hidden;
}

li.wunschstoff-loop-item:hover .herbert-variation-hint {
	opacity: 1;
	visibility: visible;
	background: #f5f5f5;
	border-radius: 6px;
}

li.wunschstoff-loop-item:focus-within .wunschstoff-product-card__body {
	opacity: 1;
	visibility: visible;
}

li.wunschstoff-loop-item:focus-within .herbert-variation-hint {
	opacity: 0;
	visibility: hidden;
}

@supports selector(:has(*)) {
	li.wunschstoff-loop-item:has(.herbert-variation-hint a:focus) .herbert-variation-hint {
		opacity: 1;
		visibility: visible;
	}
	li.wunschstoff-loop-item:has(.herbert-variation-hint a:focus) .wunschstoff-product-card__body {
		opacity: 0;
		visibility: hidden;
	}
}

.herbert-variation-hint .herbert-swap__link {
	pointer-events: auto;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.herbert-variation-hint a.herbert-swap__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.herbert-swap__row--swatches,
.herbert-swap__row--sizes,
.herbert-swap__row--chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35em;
	justify-content: center;
	align-items: center;
}

.herbert-swap__swatch {
	display: block;
	width: 1.75rem;
	height: 1.625rem;
	min-width: 1.75rem;
	min-height: 1.625rem;
	border: 0;
	border-radius: 0;
	flex-shrink: 0;
	box-sizing: border-box;
	background-clip: border-box !important;
	overflow: visible;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 29'%3E%3Cpath d='M16 28.4 13.7 26.3C5.6 18.9.3 14.1.3 8.2.3 3.4 4.1 0 8.8 0c2.7 0 5.3 1.2 7.2 3.2C17.9 1.2 20.5 0 23.2 0 27.9 0 31.7 3.4 31.7 8.2c0 5.9-5.3 10.7-13.4 18.1L16 28.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 29'%3E%3Cpath d='M16 28.4 13.7 26.3C5.6 18.9.3 14.1.3 8.2.3 3.4 4.1 0 8.8 0c2.7 0 5.3 1.2 7.2 3.2C17.9 1.2 20.5 0 23.2 0 27.9 0 31.7 3.4 31.7 8.2c0 5.9-5.3 10.7-13.4 18.1L16 28.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.18s ease, filter 0.18s ease;
}

.herbert-swap__swatch:hover {
	transform: translateY(-1px) scale(1.06);
	filter: drop-shadow(0 0.08rem 0.12rem rgba(0, 0, 0, 0.25));
}

.herbert-variation-hint .herbert-swap__swatch-wrap {
	display: inline-flex;
	vertical-align: middle;
	align-items: center;
	justify-content: center;
	overflow: visible;
}

.herbert-variation-hint .herbert-swap__swatch-wrap[data-tooltip] {
	position: relative;
	z-index: 0;
}

.herbert-variation-hint .herbert-swap__swatch-wrap[data-tooltip]:hover {
	z-index: 4;
}

@supports not ((-webkit-mask: url("")) or (mask: url(""))) {
	.herbert-swap__swatch {
		border: 1px solid rgba(0, 0, 0, 0.2);
		border-radius: 6px;
	}
}

.herbert-variation-hint .herbert-swap__size {
	font-size: 0.7rem;
	line-height: 1.1;
	padding: 0.25em 0.4em;
	border: 1px solid #1a1a1a;
	border-radius: 6px;
	color: #1a1a1a;
	background: #fff;
}

.herbert-variation-hint .herbert-swap__more {
	flex-shrink: 0;
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.02em;
	color: rgba(0, 0, 0, 0.55);
	white-space: nowrap;
}

@media (hover: none) {
	li .herbert-variation-hint,
	li.wc-block-grid__product .herbert-variation-hint {
		opacity: 0;
		visibility: hidden;
	}
	li.wunschstoff-loop-item .wunschstoff-product-card__body {
		opacity: 1;
		visibility: visible;
	}
}

body.single-product .woocommerce-product-gallery__trigger {
	display: none !important;
}

body.single-product .wunschstoff-pdp-thumbs {
	margin: 1.05rem 0 1.25rem;
	padding: 0;
}

body.single-product .wunschstoff-pdp-thumbs__label {
	margin: 0 0 0.5rem;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	color: rgba(18, 31, 43, 0.68);
}

body.single-product .wunschstoff-pdp-thumbs .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.7rem !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	overflow: visible !important;
}

body.single-product .wunschstoff-pdp-thumbs .flex-control-thumbs li {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.single-product .wunschstoff-pdp-thumbs .flex-control-thumbs img {
	width: 100% !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 6px;
	opacity: 1 !important;
}

/**
 * Wunschstoff – Produktloop (Shop / Kategorien / Divi-Module): Raster, Hover-Zweitbild.
 *
 * Wichtig: Kein Zwang zu body.woocommerce-page oder #main-content – Theme Builder / Divi
 * weichen stark ab. Ausnahmen: PDP, Warenkorb, Kasse, Kundenkonto.
 */

/*
 * Raster: überall wo Woo ul.products ausgibt, außer auf ausgeschlossenen Templates.
 */
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products {
	display: grid !important;
	flex-wrap: unset !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 3vw, 40px);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Woo/Divi-Clearfixe wuerden als leere Grid-Zellen mitlaufen. */
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products::before,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products::after {
	content: none !important;
	display: none !important;
}

@media (min-width: 768px) {
	body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
		justify-content: start;
	}
}

/* Woo/Divi-Spaltenklassen zurücknehmen, damit CSS-Grid zählt */
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products li.product {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	clear: none !important;
}

/*
 * Divi-Shop-Module schreiben bei columns-4 eigene prozentuale Kachelbreiten.
 * Im CSS-Grid muss jedes Produkt die komplette Grid-Spalte ausfüllen.
 */
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .et_pb_shop ul.products[class*="columns-"] li.product.wunschstoff-loop-item,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .woocommerce ul.products[class*="columns-"] li.product.wunschstoff-loop-item,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #et-boc .et-l .et_pb_shop ul.products[class*="columns-"] li.product.wunschstoff-loop-item {
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	text-align: left !important;
}

body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products .wunschstoff-loop-item {
	margin: 0;
	width: auto;
	float: none;
}

.wunschstoff-product-card {
	display: block;
	width: 100%;
	text-decoration: none;
	color: inherit;
	outline-offset: 4px;
}

.wunschstoff-product-card:focus-visible {
	outline: 2px solid currentColor;
}

/* Kacheln: intrinsische Bildbreite darf CSS-Grid nicht sprengen (Divi/Woo) */
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products li.product.wunschstoff-loop-item {
	min-width: 0;
}

.wunschstoff-product-card__media {
	width: 100%;
	max-width: 100%;
}

/* Auch ohne body:not-/ul.products-Kette: Bild fuellt 2:3-Rahmen (Body-Klassen variieren) */
.wunschstoff-product-card .wunschstoff-product-card__imgstack img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center top;
}

.wunschstoff-product-card__media {
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: #f4f4f4;
	min-height: 0;
}

.wunschstoff-product-card__imgstack {
	position: absolute;
	inset: 0;
	min-height: 0;
}

.wunschstoff-product-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	transform: scale(var(--wunschstoff-card-img-scale, 1));
	transform-origin: center top;
	transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Seated/lifestyle shot: same canvas, subject needs a slightly tighter crop. */
li.post-88 {
	--wunschstoff-card-img-scale: 1.28;
}

/*
 * Woo/Divi setzen oft height:auto + max-width auf Shop-Bildern → Kachel wirkt kaputt.
 * Füllung des 2:3-Rahmens passend zu 1600x2400-Produktbildern.
 */
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products li.product .wunschstoff-product-card__imgstack img,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products li.product a img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center top;
}

.wunschstoff-product-card__img--secondary {
	opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
	.wunschstoff-product-card:not(.wunschstoff-product-card--no-img-hover):hover .wunschstoff-product-card__img--primary,
	.wunschstoff-product-card:not(.wunschstoff-product-card--no-img-hover):focus-within .wunschstoff-product-card__img--primary {
		opacity: 0;
	}

	.wunschstoff-product-card:not(.wunschstoff-product-card--no-img-hover):hover .wunschstoff-product-card__img--secondary,
	.wunschstoff-product-card:not(.wunschstoff-product-card--no-img-hover):focus-within .wunschstoff-product-card__img--secondary {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wunschstoff-product-card__img {
		transition: none;
	}
}

.wunschstoff-product-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 4px 10px;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: #111;
	color: #fff;
}

.wunschstoff-product-card__body {
	padding: 14px 0 0;
	text-align: center;
}

.wunschstoff-product-card__title {
	margin: 0 0 6px;
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 1.25;
	text-align: center;
}

.wunschstoff-product-card__description,
.wunschstoff-product-card__excerpt {
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 1.35;
	text-align: center;
}

.wunschstoff-product-card__price {
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	text-align: center;
}

.wunschstoff-product-card__price .amount {
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 400 !important;
}

/*
 * Divi erzeugt pro Shop-Modul eigene Typografie-Regeln mit !important
 * (.et_pb_shop_0, .et_pb_shop_0_tb_body usw.). Diese Grid-Regeln muessen
 * deshalb bewusst staerker sein, damit Startseite und Kategorien gleich aussehen.
 */
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #et-boc .et-l .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__title,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__title {
	font-family: "Varela Round", Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	text-align: center !important;
}

body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #et-boc .et-l .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__description,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #et-boc .et-l .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__excerpt,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__description,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__excerpt {
	font-family: "Varela Round", Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	text-align: center !important;
}

body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #et-boc .et-l .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__price,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #et-boc .et-l .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__price .amount,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__price,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .et_pb_shop .woocommerce ul.products li.product.wunschstoff-loop-item .wunschstoff-product-card__price .amount {
	font-family: "Varela Round", Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 1.25 !important;
	text-align: center !important;
}

.wunschstoff-product-card__price del {
	opacity: 0.55;
	font-weight: 500;
	margin-right: 0.35em;
}

/* Herbert: variabler Produkt-Hinweis (nur Anzeige Farbe/Größe, data-herbert-vhint) */
li.wunschstoff-loop-item,
li.wc-block-product,
li.wc-block-grid__product,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) ul.products li.product {
	position: relative;
}
.herbert-variation-hint {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 6;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	padding: 0.2em 0.25em 0.35em;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	background: transparent;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}
.herbert-variation-hint .herbert-swap__hover {
	position: static;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	width: 100%;
	opacity: 1;
	visibility: visible;
}
/* Wunschstoff: Titel+Preis im <a> ausblenden, Overlay zeigen (Maus) */
li.wunschstoff-loop-item:hover .wunschstoff-product-card__body {
	opacity: 0;
	visibility: hidden;
}
li.wunschstoff-loop-item:hover .herbert-variation-hint {
	opacity: 1;
	visibility: visible;
	background: #f5f5f5;
	border-radius: 6px;
}
li.wunschstoff-loop-item:focus-within .wunschstoff-product-card__body {
	opacity: 1;
	visibility: visible;
}
li.wunschstoff-loop-item:focus-within .herbert-variation-hint {
	opacity: 0;
	visibility: hidden;
}
/* Fokus auf PDP-Links im Overlay: Info bleibt sichtbar (ohne :has: altes Verhalten) */
@supports selector(:has(*)) {
	li.wunschstoff-loop-item:has(.herbert-variation-hint a:focus) .herbert-variation-hint {
		opacity: 1;
		visibility: visible;
	}
	li.wunschstoff-loop-item:has(.herbert-variation-hint a:focus) .wunschstoff-product-card__body {
		opacity: 0;
		visibility: hidden;
	}
}
.herbert-variation-hint .herbert-swap__link {
	pointer-events: auto;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}
.herbert-variation-hint a.herbert-swap__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
/* Gutenberg-Blöcke: alles außer erstem Kindelement + Overlay ausblenden (typ. Bild) */
li.wc-block-product:hover .herbert-variation-hint,
li.wc-block-grid__product:hover .herbert-variation-hint {
	opacity: 1;
	visibility: visible;
}
li.wc-block-product:hover > *:not(:first-child):not(.herbert-variation-hint),
li.wc-block-grid__product:hover > *:not(:first-child):not(.herbert-variation-hint) {
	opacity: 0;
	visibility: hidden;
}
li.wc-block-product:focus-within .herbert-variation-hint,
li.wc-block-grid__product:focus-within .herbert-variation-hint {
	opacity: 0;
	visibility: hidden;
}
li.wc-block-product:focus-within > *:not(:first-child):not(.herbert-variation-hint),
li.wc-block-grid__product:focus-within > *:not(:first-child):not(.herbert-variation-hint) {
	opacity: 1;
	visibility: visible;
}
.herbert-swap__row--swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35em;
	justify-content: center;
	align-items: center;
}
.herbert-swap__swatch {
	display: block;
	width: 1.75rem;
	height: 1.625rem;
	min-width: 1.75rem;
	min-height: 1.625rem;
	border: 0;
	border-radius: 0;
	flex-shrink: 0;
	box-sizing: border-box;
	/* Hintergrund kommt aus dem Inline-Style; Parent-Themes oft span { background:… } */
	background-clip: border-box !important;
	overflow: visible;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 29'%3E%3Cpath d='M16 28.4 13.7 26.3C5.6 18.9.3 14.1.3 8.2.3 3.4 4.1 0 8.8 0c2.7 0 5.3 1.2 7.2 3.2C17.9 1.2 20.5 0 23.2 0 27.9 0 31.7 3.4 31.7 8.2c0 5.9-5.3 10.7-13.4 18.1L16 28.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 29'%3E%3Cpath d='M16 28.4 13.7 26.3C5.6 18.9.3 14.1.3 8.2.3 3.4 4.1 0 8.8 0c2.7 0 5.3 1.2 7.2 3.2C17.9 1.2 20.5 0 23.2 0 27.9 0 31.7 3.4 31.7 8.2c0 5.9-5.3 10.7-13.4 18.1L16 28.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.18s ease, filter 0.18s ease;
}
.herbert-swap__swatch:hover {
	transform: translateY(-1px) scale(1.06);
	filter: drop-shadow(0 0.08rem 0.12rem rgba(0, 0, 0, 0.25));
}

@supports not ((-webkit-mask: url("")) or (mask: url(""))) {
	.herbert-swap__swatch {
		border: 1px solid rgba(0, 0, 0, 0.2);
		border-radius: 6px;
	}
}
.herbert-swap__row--sizes,
.herbert-swap__row--chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35em;
	justify-content: center;
	align-items: center;
}
.herbert-variation-hint .herbert-swap__size {
	font-size: 0.7rem;
	line-height: 1.1;
	padding: 0.25em 0.4em;
	border: 1px solid #1a1a1a;
	border-radius: 6px;
	color: #1a1a1a;
	background: #fff;
}
.herbert-variation-hint .herbert-swap__more {
	flex-shrink: 0;
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.02em;
	color: rgba(0, 0, 0, 0.55);
	white-space: nowrap;
}
/* Touch: kein Hover-Overlay, Kachel normal lesbar */
@media (hover: none) {
	li .herbert-variation-hint,
	li.wc-block-grid__product .herbert-variation-hint {
		opacity: 0;
		visibility: hidden;
	}
	li.wunschstoff-loop-item .wunschstoff-product-card__body {
		opacity: 1;
		visibility: visible;
	}
	li.wc-block-product > *:not(:first-child):not(.herbert-variation-hint),
	li.wc-block-grid__product > *:not(:first-child):not(.herbert-variation-hint) {
		opacity: 1;
		visibility: visible;
	}
}

/* Wunschstoff PDP: Woo Variation Swatches als Herz, Auswahlfunktion bleibt Plugin/Woo. */
body.single-product .variations_form .color-variable-items-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	align-items: center;
}
body.single-product .variations_form .color-variable-item {
	width: 2.25rem !important;
	height: 2.0625rem !important;
	min-width: 2.25rem !important;
	min-height: 2.0625rem !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible;
	-webkit-mask: none !important;
	mask: none !important;
	clip-path: none !important;
}

body.single-product .variations_form .color-variable-item[data-tooltip] {
	position: relative;
}

body.single-product .variations_form .color-variable-item[data-tooltip]:hover,
body.single-product .variations_form .color-variable-item[data-tooltip]:focus-within {
	z-index: 4;
}

/* Woo Variation Swatches: Plugin zeigt eigenes Tooltip ueber data-wvstooltip (::before Text + ::after Pfeil). Mit unserem data-tooltip waeren es zwei Kisten — Plugin-::before hart abschalten (Rest erledigt JS durch Entfernen von data-wvstooltip). */
body.single-product .variations_form .color-variable-item[data-tooltip]::before,
body.single-product .variations_form .color-variable-item[data-tooltip]:hover::before {
	content: none !important;
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	border: none !important;
	background: none !important;
	transform: none !important;
	pointer-events: none !important;
}

body.single-product .variations_form .color-variable-item .variable-item-contents {
	width: 100%;
	height: 100%;
	border-radius: 0;
	overflow: visible;
}
body.single-product .variations_form .color-variable-item .variable-item-span-color {
	display: block;
	width: 100% !important;
	height: 100% !important;
	border-radius: 0 !important;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 29'%3E%3Cpath d='M16 28.4 13.7 26.3C5.6 18.9.3 14.1.3 8.2.3 3.4 4.1 0 8.8 0c2.7 0 5.3 1.2 7.2 3.2C17.9 1.2 20.5 0 23.2 0 27.9 0 31.7 3.4 31.7 8.2c0 5.9-5.3 10.7-13.4 18.1L16 28.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 29'%3E%3Cpath d='M16 28.4 13.7 26.3C5.6 18.9.3 14.1.3 8.2.3 3.4 4.1 0 8.8 0c2.7 0 5.3 1.2 7.2 3.2C17.9 1.2 20.5 0 23.2 0 27.9 0 31.7 3.4 31.7 8.2c0 5.9-5.3 10.7-13.4 18.1L16 28.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.18s ease, filter 0.18s ease;
}
body.single-product .variations_form .color-variable-item:hover .variable-item-span-color,
body.single-product .variations_form .color-variable-item:focus-visible .variable-item-span-color {
	transform: translateY(-1px) scale(1.06);
	filter: drop-shadow(0 0.12rem 0.14rem rgba(0, 0, 0, 0.25));
}
body.single-product .variations_form .color-variable-item.selected .variable-item-span-color,
body.single-product .variations_form .color-variable-item[aria-checked="true"] .variable-item-span-color {
	filter: drop-shadow(0 0 0.08rem #1a1a1a) drop-shadow(0 0.12rem 0.14rem rgba(0, 0, 0, 0.28));
	transform: scale(1.06);
}
body.single-product .variations_form .button-variable-item {
	border-radius: 6px !important;
}

/* Größen-Chips (nicht Shirtfarben-Herzen): gewählte Größe klar erkennbar */
body.single-product .variations_form .button-variable-items-wrapper .button-variable-item.selected,
body.single-product .variations_form .button-variable-items-wrapper .button-variable-item[aria-checked="true"] {
	border-color: #202a34 !important;
	box-shadow:
		0 0 0 2px rgba(32, 42, 52, 0.35),
		0 0.2rem 0.55rem rgba(18, 31, 43, 0.22) !important;
	font-weight: 700 !important;
	transform: translateY(-1px) scale(1.05);
	background-color: rgba(32, 42, 52, 0.06);
}

body.single-product .variations_form .button-variable-items-wrapper .button-variable-item.selected .variable-item-span,
body.single-product .variations_form .button-variable-items-wrapper .button-variable-item[aria-checked="true"] .variable-item-span {
	font-weight: 700 !important;
}

@supports not ((-webkit-mask: url("")) or (mask: url(""))) {
	body.single-product .variations_form .color-variable-item .variable-item-span-color {
		border-radius: 6px !important;
	}
}

/* Wunschstoff PDP: Thumbnails als Boutique-Galerie zwischen Varianten und Warenkorb. */
body.single-product .woocommerce-product-gallery__trigger {
	display: none !important;
}
body.single-product .wunschstoff-pdp-thumbs {
	margin: 1.05rem 0 1.25rem;
	padding: 0;
}
body.single-product .wunschstoff-pdp-thumbs__label {
	margin: 0 0 0.5rem;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	color: rgba(18, 31, 43, 0.68);
}
body.single-product .wunschstoff-pdp-thumbs .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.7rem !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	overflow: visible !important;
}
body.single-product .wunschstoff-pdp-thumbs .flex-control-thumbs li {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.single-product .wunschstoff-pdp-thumbs .flex-control-thumbs img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid rgba(18, 31, 43, 0.12);
	opacity: 1;
	transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
body.single-product .wunschstoff-pdp-thumbs .flex-control-thumbs img:hover,
body.single-product .wunschstoff-pdp-thumbs .flex-control-thumbs img.flex-active {
	opacity: 1;
	transform: translateY(-1px);
	border-color: rgba(18, 31, 43, 0.48);
}
body.single-product .woocommerce-product-gallery__wrapper img {
	image-rendering: auto;
}
@media (max-width: 980px) {
	body.single-product .wunschstoff-pdp-thumbs {
		margin-top: 0.85rem;
	}
	body.single-product .wunschstoff-pdp-thumbs .flex-control-thumbs {
		display: flex !important;
		gap: 0.6rem !important;
		overflow-x: auto !important;
		padding-bottom: 0.25rem !important;
		scroll-snap-type: x proximity;
	}
	body.single-product .wunschstoff-pdp-thumbs .flex-control-thumbs li {
		flex: 0 0 4.5rem;
		scroll-snap-align: start;
	}
}

/* Wunschstoff Chosen Color: kuratierte Farbwahl, kein freier Designer. */
body.single-product .wunschstoff-chosen {
	--wunschstoff-chosen-accent: #f2ff00;
	--wunschstoff-chosen-signature: var(--wunschstoff-chosen-accent);
	margin: 1.15rem 0 1.35rem;
	padding: 1rem;
	border: 1px solid rgba(18, 31, 43, 0.12);
	border-radius: 6px;
	background: #f5f5f5;
}

body.single-product .wunschstoff-chosen__head {
	margin: 0 0 0.85rem;
}

body.single-product .wunschstoff-chosen .wunschstoff-chosen__head h2 {
	margin: 0 0 0.4rem;
	font-size: 1.28rem !important;
	font-weight: 700 !important;
	line-height: 1.22;
	letter-spacing: -0.02em;
	color: rgba(18, 31, 43, 0.95) !important;
}

body.single-product .wunschstoff-chosen .wunschstoff-chosen__head h3 {
	margin: 0 0 0.35rem;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.25;
	color: rgba(18, 31, 43, 0.95) !important;
}

body.single-product .wunschstoff-chosen__head p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.45;
	font-weight: 700;
	color: rgba(18, 31, 43, 0.82);
}

body.single-product .wunschstoff-chosen__preview {
	position: relative;
	overflow: hidden;
	margin: 0 0 0.95rem;
	border-radius: 6px;
	background: #fff;
	container-type: inline-size;
}

body.single-product .wunschstoff-chosen__preview--gallery {
	margin: 0;
}

body.single-product.wunschstoff-chosen-gallery-active .woocommerce-product-gallery__wrapper,
body.single-product.wunschstoff-chosen-gallery-active .wunschstoff-pdp-thumbs {
	display: none !important;
}

body.single-product .wunschstoff-chosen__img {
	display: block;
	width: 100%;
	height: auto;
}

body.single-product .wunschstoff-chosen__mark {
	position: absolute;
	top: var(--wunschstoff-chosen-mark-top, 19%);
	left: var(--wunschstoff-chosen-mark-x, 71%);
	width: var(--wunschstoff-chosen-mark-width, 10%);
	aspect-ratio: 1 / 1;
	background-color: transparent;
	background-image: url("/wp-content/uploads/choose/heart1000x1000.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	filter: drop-shadow(0 0.05rem 0.08rem rgba(0, 0, 0, 0.18));
	transform: translateX(-50%);
}

body.single-product .wunschstoff-chosen__mark.is-motif {
	background-color: transparent;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

body.single-product .wunschstoff-chosen--large-center .wunschstoff-chosen__mark {
	top: var(--wunschstoff-chosen-mark-top, 22%);
	left: var(--wunschstoff-chosen-mark-x, 50%);
	width: var(--wunschstoff-chosen-mark-width, 32%);
}

body.single-product .wunschstoff-chosen__signature {
	position: absolute;
	left: var(--wunschstoff-chosen-signature-x, 80%);
	bottom: var(--wunschstoff-chosen-signature-bottom, 7.5%);
	font-family: "Varela Round", Helvetica, Arial, Lucida, sans-serif;
	font-size: clamp(0.48rem, calc(var(--wunschstoff-chosen-signature-size, 2) * 1cqw), 0.95rem);
	font-weight: 700;
	line-height: 1;
	color: var(--wunschstoff-chosen-signature);
	text-shadow: 0 0.04rem 0.06rem rgba(0, 0, 0, 0.18);
	transform: translateX(-50%);
}

body.single-product .wunschstoff-chosen__signature.is-gradient {
	-webkit-background-clip: text;
	background-clip: text;
	background-size: 100% 100%;
}

body.single-product .wunschstoff-chosen--large-center .wunschstoff-chosen__signature {
	left: var(--wunschstoff-chosen-signature-x, 14%);
}

body.single-product .wunschstoff-chosen__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	border: 0;
}

body.single-product .wunschstoff-chosen__choices legend {
	flex-basis: 100%;
	margin: 0 0 0.15rem;
	padding: 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.single-product .wunschstoff-chosen__presets-heading {
	flex-basis: 100%;
	width: 100%;
	margin: 0.3rem 0 0.15rem;
	padding: 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(18, 31, 43, 0.88);
}

body.single-product .wunschstoff-chosen__custom-block + .wunschstoff-chosen__presets-heading {
	margin-top: 0.55rem;
}

body.single-product .wunschstoff-chosen__choice {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 2.6rem;
	height: 2.35rem;
	padding: 0;
	border: 1px solid rgba(18, 31, 43, 0.16);
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 0.12rem 0.35rem rgba(18, 31, 43, 0.08);
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.single-product .wunschstoff-chosen__choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

body.single-product .wunschstoff-chosen__swatch {
	display: block;
	width: 2.05rem;
	height: 1.88rem;
	background-color: var(--choice-color);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	transition: opacity 0.18s ease;
}

body.single-product .wunschstoff-chosen__swatch.is-rendered {
	background-color: transparent;
}

body.single-product .wunschstoff-chosen__choice > span:last-child {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

body.single-product .wunschstoff-chosen__choice--motif > span:last-child {
	position: static;
	width: auto;
	height: auto;
	overflow: visible;
	clip: auto;
	white-space: normal;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
}

body.single-product .wunschstoff-chosen__custom-block {
	flex-basis: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 0.5rem;
	margin-top: 0.2rem;
	width: 100%;
}

body.single-product .wunschstoff-chosen__custom-lead {
	margin: 0;
	padding: 0;
	max-width: 28rem;
	font-size: 0.72rem;
	line-height: 1.4;
	font-weight: 600;
	color: rgba(18, 31, 43, 0.88);
}

body.single-product .wunschstoff-chosen__choice--custom {
	width: auto;
	min-width: 2.6rem;
	padding: 0 0.35rem;
}

/* Herzensfarbe (Picker) + Lieblingsfarbe-Herz (Custom-Hex) in einer Zeile */
body.single-product .wunschstoff-chosen__custom-picker-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.45rem;
	width: 100%;
	min-width: 0;
}

body.single-product .wunschstoff-chosen__custom-picker-row .wunschstoff-chosen__custom-tools {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	flex: 0 0 auto;
	width: auto;
	max-width: 100%;
	min-width: 0;
}

body.single-product .wunschstoff-chosen__custom-picker-row .wunschstoff-chosen__custom-picker-label {
	flex: 0 1 auto;
	max-width: 100%;
}

body.single-product .wunschstoff-chosen__custom-picker-row .wunschstoff-chosen__choice--custom {
	flex: 0 0 auto;
	align-self: center;
}

body.single-product .wunschstoff-chosen__custom-picker-label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	flex: 0 0 100%;
}

@media (min-width: 480px) {
	body.single-product .wunschstoff-chosen__custom-picker-label {
		flex: 0 0 auto;
	}
}

body.single-product .wunschstoff-chosen__color-panel-open {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.65rem 0.35rem 0.4rem;
	border: 1px solid rgba(18, 31, 43, 0.16);
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	box-shadow: 0 0.12rem 0.35rem rgba(18, 31, 43, 0.08);
	font: inherit;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #1a2229;
}

body.single-product .wunschstoff-chosen__color-panel-open-swatch {
	display: block;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 6px;
	border: 1px solid rgba(18, 31, 43, 0.14);
	background: var(--panel-swatch, #0d9488);
	flex-shrink: 0;
}

body.single-product .wunschstoff-chosen__color-panel {
	width: min(22rem, calc(100vw - 1.5rem));
	max-height: calc(100vh - 2rem);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
}

body.single-product .wunschstoff-chosen__color-panel::backdrop {
	background: rgba(18, 31, 43, 0.45);
}

body.single-product .wunschstoff-chosen__color-panel-inner {
	padding: 0.85rem 0.9rem 0.75rem;
	border: 1px solid rgba(18, 31, 43, 0.14);
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 0.5rem 1.25rem rgba(18, 31, 43, 0.18);
}

body.single-product .wunschstoff-chosen__color-panel-title {
	margin: 0 0 0.55rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #1a2229;
}

body.single-product .wunschstoff-chosen__color-panel .wunschstoff-chosen__custom-picker {
	display: block;
	width: 100%;
	height: 2.75rem;
	margin: 0 0 0.65rem;
	padding: 0;
	border: 1px solid rgba(18, 31, 43, 0.16);
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	box-shadow: none;
}

body.single-product .wunschstoff-chosen__color-panel .wunschstoff-chosen__color-spec {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

/* Farbfenster: Labels Dunkelblau, Eingaben #555 + helle Schrift */
body.single-product .wunschstoff-chosen__color-panel .wunschstoff-chosen__custom-picker-label,
body.single-product .wunschstoff-chosen__color-panel .wunschstoff-chosen__color-spec-lead,
body.single-product .wunschstoff-chosen__color-panel .wunschstoff-chosen__color-spec-field > span,
body.single-product .wunschstoff-chosen__color-panel .wunschstoff-chosen__color-spec-cmyk-label,
body.single-product .wunschstoff-chosen__color-panel .wunschstoff-chosen__color-spec-cmyk label > span {
	color: #202a34;
	font-weight: 700;
}

body.single-product .wunschstoff-chosen__color-panel .wunschstoff-chosen__color-spec-field input,
body.single-product .wunschstoff-chosen__color-panel .wunschstoff-chosen__color-spec-cmyk input {
	background: #555;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.22);
}

body.single-product .wunschstoff-chosen__color-panel .wunschstoff-chosen__color-spec-field input::placeholder,
body.single-product .wunschstoff-chosen__color-panel .wunschstoff-chosen__color-spec-cmyk input::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

body.single-product .wunschstoff-chosen__color-panel .wunschstoff-chosen__color-spec-grid {
	grid-template-columns: 1fr;
	gap: 0.55rem;
}

@media (min-width: 360px) {
	body.single-product .wunschstoff-chosen__color-panel .wunschstoff-chosen__color-spec-grid {
		grid-template-columns: 1fr 1fr;
	}
}

body.single-product .wunschstoff-chosen__color-panel .wunschstoff-chosen__color-spec-cmyk {
	grid-column: 1 / -1;
}

body.single-product .wunschstoff-chosen__color-panel-note {
	margin: 0.55rem 0 0;
	font-size: 0.68rem;
	line-height: 1.4;
	color: rgba(18, 31, 43, 0.72);
}

body.single-product .wunschstoff-chosen__color-panel-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 0.65rem;
}

body.single-product .wunschstoff-chosen__color-panel-done {
	padding: 0.4rem 0.85rem;
	border: 1px solid rgba(18, 31, 43, 0.2);
	border-radius: 6px;
	background: #1a2229;
	color: #fff;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 700;
	cursor: pointer;
}

body.single-product .wunschstoff-chosen__custom-picker {
	width: 2.75rem;
	height: 2.1rem;
	padding: 0;
	border: 1px solid rgba(18, 31, 43, 0.16);
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	box-shadow: 0 0.12rem 0.35rem rgba(18, 31, 43, 0.08);
}

body.single-product .wunschstoff-chosen__custom-hint {
	margin: 0;
	max-width: 28rem;
	font-size: 0.68rem;
	line-height: 1.45;
	color: rgba(18, 31, 43, 0.72);
}

body.single-product .wunschstoff-chosen__color-spec {
	margin: 0.65rem 0 0;
	padding: 0.65rem 0.75rem;
	border: 1px solid rgba(18, 31, 43, 0.12);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.92);
}

body.single-product .wunschstoff-chosen__color-spec-lead {
	margin: 0 0 0.5rem;
	font-size: 0.72rem;
	font-weight: 700;
	color: #1a2229;
}

body.single-product .wunschstoff-chosen__color-spec-grid {
	display: grid;
	gap: 0.5rem;
}

body.single-product .wunschstoff-chosen__color-spec-field {
	display: grid;
	gap: 0.2rem;
	font-size: 0.68rem;
	color: rgba(18, 31, 43, 0.85);
}

body.single-product .wunschstoff-chosen__color-spec-field input {
	width: 100%;
	padding: 0.35rem 0.45rem;
	border: 1px solid rgba(18, 31, 43, 0.2);
	border-radius: 6px;
	font: inherit;
	font-size: 0.75rem;
	line-height: 1.3;
}

body.single-product .wunschstoff-chosen__color-spec-cmyk {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.35rem 0.45rem;
	width: 100%;
	align-items: end;
}

body.single-product .wunschstoff-chosen__color-spec-cmyk-label {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 0.68rem;
	font-weight: 700;
	color: rgba(18, 31, 43, 0.85);
}

body.single-product .wunschstoff-chosen__color-spec-cmyk label {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
	font-size: 0.62rem;
	font-weight: 700;
	text-align: center;
}

body.single-product .wunschstoff-chosen__color-spec-cmyk input {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	padding: 0.4rem 0.35rem;
	font-size: 0.8rem;
	line-height: 1.2;
	text-align: center;
}

@media (min-width: 520px) {
	body.single-product .wunschstoff-chosen__color-spec-grid {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

	body.single-product .wunschstoff-chosen__color-spec-cmyk {
		grid-column: 1 / -1;
	}
}

body.single-product .wunschstoff-chosen__info-trigger,
body.single-product .wunschstoff-chosen__info-link {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: inherit;
	font-weight: 700;
	line-height: inherit;
	vertical-align: baseline;
	color: #c41e3a;
	text-decoration: underline;
	text-underline-offset: 0.12em;
	cursor: pointer;
	white-space: normal;
}

body.single-product .wunschstoff-chosen__info-trigger:hover,
body.single-product .wunschstoff-chosen__info-link:hover,
body.single-product .wunschstoff-chosen__info-trigger:focus-visible,
body.single-product .wunschstoff-chosen__info-link:focus-visible {
	color: #9a1830;
	text-decoration-thickness: 0.08em;
}

body.single-product .wunschstoff-chosen__farbinfo-dialog {
	max-width: min(28rem, 92vw);
	padding: 0;
	border: 1px solid rgba(18, 31, 43, 0.12);
	border-radius: 6px;
	background: #fff;
	color: rgba(18, 31, 43, 0.92);
	box-shadow: 0 0.5rem 2rem rgba(18, 31, 43, 0.22);
}

body.single-product .wunschstoff-chosen__farbinfo-dialog::backdrop {
	background: rgba(18, 31, 43, 0.45);
}

body.single-product .wunschstoff-chosen__farbinfo-dialog-inner {
	padding: 1rem 1.1rem 1rem;
}

body.single-product .wunschstoff-chosen__farbinfo-dialog h3 {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
	color: rgba(18, 31, 43, 0.95);
}

body.single-product .wunschstoff-chosen__farbinfo-body p {
	margin: 0 0 0.55rem;
	font-size: 0.82rem;
	line-height: 1.45;
	color: rgba(18, 31, 43, 0.88);
}

body.single-product .wunschstoff-chosen__farbinfo-body p:last-child {
	margin-bottom: 0;
}

body.single-product .wunschstoff-chosen__farbinfo-actions {
	margin: 0.85rem 0 0;
	padding: 0;
	border: 0;
}

body.single-product .wunschstoff-chosen__farbinfo-close {
	display: inline-block;
	margin: 0;
	padding: 0.45rem 1rem;
	border: 1px solid rgba(18, 31, 43, 0.2);
	border-radius: 6px;
	background: rgba(18, 31, 43, 0.06);
	font: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	color: rgba(18, 31, 43, 0.9);
	cursor: pointer;
}

body.single-product .wunschstoff-chosen__farbinfo-close:hover,
body.single-product .wunschstoff-chosen__farbinfo-close:focus-visible {
	background: rgba(18, 31, 43, 0.1);
	border-color: rgba(18, 31, 43, 0.35);
}

body.single-product tr.wunschstoff-chosen-variation-row .wunschstoff-chosen__custom-block {
	width: 100%;
}

body.single-product .wunschstoff-chosen__choice:hover,
body.single-product .wunschstoff-chosen__choice:focus-within {
	border-color: rgba(18, 31, 43, 0.45);
	box-shadow: 0 0.18rem 0.45rem rgba(18, 31, 43, 0.16);
	transform: translateY(-1px) scale(1.03);
}

body.single-product .wunschstoff-chosen__choice[data-tooltip]::after,
body.single-product .variations_form .color-variable-item[data-tooltip]::after,
body.single-product .wunschstoff-chosen-mobile__button[data-tooltip]::after,
body.single-product .wunschstoff-variation-mobile__button[data-tooltip]::after,
.herbert-variation-hint .herbert-swap__swatch-wrap[data-tooltip]::after {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 0.58rem);
	z-index: 30;
	width: max-content;
	max-width: min(12rem, 72vw);
	padding: 0.34rem 0.48rem;
	border-radius: 6px;
	background: #202a34;
	color: #fff;
	content: attr(data-tooltip);
	font-size: 0.72rem;
	font-weight: 400;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
	box-shadow: 0 0.18rem 0.5rem rgba(18, 31, 43, 0.18);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 0.16rem);
	transition: opacity 0.16s ease, transform 0.16s ease;
}

body.single-product .wunschstoff-chosen__choice[data-tooltip]:hover::after,
body.single-product .wunschstoff-chosen__choice[data-tooltip]:focus-within::after,
body.single-product .variations_form .color-variable-item[data-tooltip]:hover::after,
body.single-product .variations_form .color-variable-item[data-tooltip]:focus-within::after,
body.single-product .variations_form .color-variable-item[data-tooltip]:focus-visible::after,
body.single-product .wunschstoff-chosen-mobile__button[data-tooltip]:hover::after,
body.single-product .wunschstoff-chosen-mobile__button[data-tooltip]:focus-visible::after,
body.single-product .wunschstoff-variation-mobile__button[data-tooltip]:hover::after,
body.single-product .wunschstoff-variation-mobile__button[data-tooltip]:focus-visible::after,
.herbert-variation-hint .herbert-swap__swatch-wrap[data-tooltip]:hover::after,
.herbert-variation-hint .herbert-swap__swatch-wrap[data-tooltip]:focus-within::after {
	opacity: 1;
	transform: translate(-50%, 0);
}

body.single-product .wunschstoff-chosen__choice:has(input:checked) {
	border-color: #202a34;
	box-shadow: 0 0 0 1px #202a34 inset;
}

/* Varianten unvollständig: Hinweis vor dem Kaufbutton (Desktop + Mobile) */
body.single-product .wunschstoff-variation-required-notice {
	margin: 0 0 0.75rem;
	padding: 0.65rem 0.85rem;
	border-radius: 6px;
	border: 1px solid #b71c1c;
	background: #ffcdd2;
	color: #a31515;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.35;
}

body.single-product .wunschstoff-variation-required-notice__inner {
	margin: 0;
}

/* Größe gesetzt (z. B. Auto-M): Hinweis bleibt sichtbar, Ton info statt Warnung */
body.single-product .wunschstoff-variation-required-notice.wunschstoff-variation-required-notice--info {
	border-color: #1565c0;
	background: #e3f2fd;
	color: #0d47a1;
	font-weight: 600;
}

/* Chosen: zwischen Shirtfarbe und Größe (Tabellenzeile, gültiges HTML) */
body.single-product table.variations tr.wunschstoff-chosen-variation-row td.wunschstoff-chosen-variation-cell {
	padding: 0.75rem 0 0.35rem;
	vertical-align: top;
	border-top: none;
}

body.single-product table.variations tr.wunschstoff-chosen-variation-row .wunschstoff-chosen {
	margin-top: 0;
	margin-bottom: 0;
	max-width: 100%;
}

/* Tabellen-Zelle: Herz-Logos in den Motivfarbe-Kacheln wieder optisch mittig */
body.single-product td.wunschstoff-chosen-variation-cell fieldset.wunschstoff-chosen__choices {
	min-width: 0;
	width: 100%;
}

body.single-product tr.wunschstoff-chosen-variation-row .wunschstoff-chosen__choice {
	display: grid;
	place-items: center;
	justify-items: center;
	align-content: center;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr);
}

body.single-product tr.wunschstoff-chosen-variation-row .wunschstoff-chosen__swatch {
	display: block;
	margin-left: auto;
	margin-right: auto;
	background-position: center center;
	object-position: center;
}

body.single-product .wunschstoff-chosen-mobile,
body.single-product .wunschstoff-variation-mobile {
	display: none;
}

@media (max-width: 767px) {
	body.single-product.wunschstoff-chosen-mobile-dock-active .wunschstoff-chosen {
		display: none;
	}

	body.single-product.wunschstoff-variation-mobile-dock-active .wunschstoff-mobile-original-color-row {
		display: none !important;
	}

	body.single-product .wunschstoff-chosen-mobile,
	body.single-product .wunschstoff-variation-mobile {
		display: block;
		margin: 0 0 0.85rem;
		padding: 0.85rem;
		max-width: 100%;
		border: 1px solid rgba(18, 31, 43, 0.12);
		border-radius: 6px;
		background: #f5f5f5;
	}

	body.single-product .wunschstoff-variation-mobile {
		margin-bottom: 0.65rem;
	}

	body.single-product .wunschstoff-chosen-mobile__head,
	body.single-product .wunschstoff-variation-mobile__head {
		margin: 0 0 0.65rem;
		font-size: 0.82rem;
		font-weight: 800;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: #202a34;
	}

	body.single-product .wunschstoff-chosen-mobile__list,
	body.single-product .wunschstoff-variation-mobile__list {
		display: flex;
		gap: 0.55rem;
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 0.2rem;
		scroll-snap-type: x proximity;
		touch-action: pan-x;
		-webkit-overflow-scrolling: touch;
	}

	body.single-product .wunschstoff-chosen-mobile__button,
	body.single-product .wunschstoff-variation-mobile__button {
		display: grid;
		place-items: center;
		gap: 0.35rem;
		flex: 0 0 4.25rem;
		min-width: 4.25rem;
		min-height: 4.25rem;
		padding: 0.4rem;
		border: 1px solid rgba(18, 31, 43, 0.16);
		border-radius: 6px;
		background: #fff;
		color: #202a34;
		box-shadow: 0 0.12rem 0.35rem rgba(18, 31, 43, 0.08);
		scroll-snap-align: start;
	}

	body.single-product .wunschstoff-chosen-mobile__button.is-active,
	body.single-product .wunschstoff-variation-mobile__button.is-active {
		border-color: #202a34;
		box-shadow: 0 0 0 1px #202a34 inset;
	}

	body.single-product .wunschstoff-chosen-mobile__button[data-tooltip],
	body.single-product .wunschstoff-variation-mobile__button[data-tooltip] {
		position: relative;
	}

	body.single-product .wunschstoff-chosen-mobile__swatch,
	body.single-product .wunschstoff-variation-mobile__swatch {
		display: block;
		width: 2.75rem;
		height: 2.45rem;
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
	}

	body.single-product .wunschstoff-variation-mobile__swatch {
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 29'%3E%3Cpath d='M16 28.4 13.7 26.3C5.6 18.9.3 14.1.3 8.2.3 3.4 4.1 0 8.8 0c2.7 0 5.3 1.2 7.2 3.2C17.9 1.2 20.5 0 23.2 0 27.9 0 31.7 3.4 31.7 8.2c0 5.9-5.3 10.7-13.4 18.1L16 28.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 29'%3E%3Cpath d='M16 28.4 13.7 26.3C5.6 18.9.3 14.1.3 8.2.3 3.4 4.1 0 8.8 0c2.7 0 5.3 1.2 7.2 3.2C17.9 1.2 20.5 0 23.2 0 27.9 0 31.7 3.4 31.7 8.2c0 5.9-5.3 10.7-13.4 18.1L16 28.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
	}

	body.single-product .wunschstoff-chosen-mobile__swatch.is-motif {
		width: 3.1rem;
		height: 3.1rem;
	}

	body.single-product .wunschstoff-chosen-mobile__text,
	body.single-product .wunschstoff-variation-mobile__text {
		max-width: 4.8rem;
		font-size: 0.66rem;
		font-weight: 700;
		line-height: 1.1;
		text-align: center;
	}

	body.single-product .wunschstoff-chosen-mobile__custom-row {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.5rem;
		margin-top: 0.65rem;
		padding-top: 0.55rem;
		border-top: 1px solid rgba(18, 31, 43, 0.1);
		width: 100%;
	}

	body.single-product .wunschstoff-chosen-mobile__custom-label {
		flex: 1 1 auto;
		min-width: 0;
		max-width: 100%;
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: rgba(18, 31, 43, 0.88);
	}

	body.single-product .wunschstoff-chosen-mobile__custom-picker {
		flex: 0 0 auto;
		min-width: 2.75rem;
		min-height: 2.75rem;
		width: 2.85rem;
		height: 2.75rem;
		padding: 0;
		border: 1px solid rgba(18, 31, 43, 0.16);
		border-radius: 6px;
		background: #fff;
		cursor: pointer;
		box-shadow: 0 0.12rem 0.35rem rgba(18, 31, 43, 0.08);
	}
}

.wunschstoff-cart-chosen {
	display: grid;
	gap: 0.35rem;
	margin: 0.55rem 0 0;
	padding: 0.65rem;
	border: 1px solid rgba(18, 31, 43, 0.12);
	border-radius: 6px;
	background: #f5f5f5;
	font-size: 0.86rem;
	line-height: 1.35;
}

.wunschstoff-cart-matrix {
	position: relative;
	overflow: hidden;
	width: min(100%, 9.5rem);
	margin: 0 auto;
	border-radius: 6px;
	background: #fff;
}

.wunschstoff-cart-matrix img {
	display: block;
	width: 100%;
	height: auto;
}

.wunschstoff-cart-matrix__mark {
	position: absolute;
	top: var(--wunschstoff-chosen-mark-top, 19%);
	left: var(--wunschstoff-chosen-mark-x, 71%);
	width: var(--wunschstoff-chosen-mark-width, 10%);
	aspect-ratio: 1 / 1;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	transform: translateX(-50%);
}

.wunschstoff-cart-matrix__mark--color {
	-webkit-mask: url("/wp-content/uploads/choose/heart1000x1000.svg?v=clean-logo-20260429") center / contain no-repeat;
	mask: url("/wp-content/uploads/choose/heart1000x1000.svg?v=clean-logo-20260429") center / contain no-repeat;
}

.wunschstoff-cart-matrix__signature {
	position: absolute;
	left: var(--wunschstoff-chosen-signature-x, 80%);
	bottom: var(--wunschstoff-chosen-signature-bottom, 7.5%);
	font-family: "Varela Round", Helvetica, Arial, Lucida, sans-serif;
	font-size: clamp(0.45rem, calc(var(--wunschstoff-chosen-signature-size, 2) * 0.12rem), 0.85rem);
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	text-shadow: 0 0.04rem 0.06rem rgba(0, 0, 0, 0.18);
	transform: translateX(-50%);
	-webkit-background-clip: text;
	background-clip: text;
}

.wunschstoff-cart-chosen__row {
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.wunschstoff-cart-chosen__motif,
.wunschstoff-cart-chosen__swatch {
	display: inline-block;
	width: 2.1rem;
	height: 2.1rem;
	flex: 0 0 2.1rem;
	border-radius: 6px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	box-shadow: 0 0 0 1px rgba(18, 31, 43, 0.14) inset;
}

body.single-product .wunschstoff-chosen__choices--motifs {
	gap: 0.7rem;
}

body.single-product .wunschstoff-chosen__choice--motif {
	width: 5.4rem;
	height: auto;
	min-height: 5.7rem;
	padding: 0.35rem;
	gap: 0.35rem;
}

body.single-product .wunschstoff-chosen__motif-thumb {
	display: block;
	width: 4.4rem;
	height: 4.4rem;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}
