body.single-product .woocommerce-product-gallery .flexy-view {
	position: relative;
	cursor: zoom-in;
}

body.single-product .mc-variation-combination-overlay {
	position: absolute;
	z-index: 8;
	left: clamp(10px, 2vw, 18px);
	bottom: clamp(10px, 2vw, 18px);
	max-width: calc(100% - 36px);
	padding: 0.5em 0.8em;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: rgba(18, 18, 18, 0.76);
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #fff;
	font-size: clamp(12px, 1.4vw, 15px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	pointer-events: none;
}

body.single-product .mc-variation-combination-overlay[hidden] {
	display: none;
}

/* Pfeile über der Klickfläche; Lightbox-Trigger bleibt als dezenter Zoom-Hinweis */
body.single-product .woocommerce-product-gallery [class*="flexy-arrow"] {
	z-index: 12;
}

/* Forward/Back: Desktop 200px / Mobile 100px vom Top — feste px, kein %-Shift */
body.single-product .woocommerce-product-gallery .flexy > [class*="flexy-arrow"] {
	opacity: 1 !important;
	visibility: visible !important;
	top: 200px !important;
	bottom: auto !important;
	--translate-x: 0;
	--translate-y: 0;
	transform: rotate(var(--rotate, 0)) translateX(0) translateY(0) !important;
}
@media (max-width: 689.98px) {
	body.single-product .woocommerce-product-gallery .flexy > [class*="flexy-arrow"] {
		top: 100px !important;
	}
}

body.single-product .woocommerce-product-gallery__trigger {
	/* Neben Love-Button: 20px Rand + Herz + Abstand */
	left: auto !important;
	right: 68px !important;
	top: 20px !important;
	z-index: 14;
}
@media (max-width: 689.98px) {
	body.single-product .woocommerce-product-gallery__trigger {
		display: none !important;
	}
}

/* Aktives Galerie-Thumb: Rahmen am Bild, nicht am li
 * (Blocksy li hat padding 15px 7.5px 0 — Shadow am li wirkt mobil versetzt) */
body.single-product .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] li {
	box-sizing: border-box;
	box-shadow: none !important;
	outline: none !important;
}
body.single-product .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] li .ct-media-container {
	box-sizing: border-box;
	border-radius: 2px;
	box-shadow: 0 0 0 2px transparent;
	transition: box-shadow 0.15s ease;
}
body.single-product .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] li.active .ct-media-container,
body.single-product .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] li[aria-current="true"] .ct-media-container {
	box-shadow: 0 0 0 3px var(--theme-palette-color-1, #79365e);
}

/* Lightbox: dieselbe Info-Bubble (Abmessung · Material) am Raumbild */
.pswp .mc-lightbox-combination-overlay {
	position: absolute;
	z-index: 16000;
	left: clamp(16px, 3vw, 28px);
	bottom: clamp(16px, 4vh, 36px);
	max-width: min(420px, calc(100% - 48px));
	pointer-events: none;
}
.pswp .mc-lightbox-combination-overlay[hidden] {
	display: none;
}
