.cong4-woo-selector__label {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 0.75em;
	opacity: 0.7;
}

.cong4-woo-selector__options {
	display: flex;
	flex-wrap: wrap;
	/*
	 * Divis Design-Bereich "Layout" (divi/layout) schreibt nur die CSS-Variablen
	 * --horizontal-gap/--vertical-gap; die eigentlichen column-gap/row-gap-Regeln
	 * liefert normalerweise Divis eigenes .et_flex_module/.et_grid_module (aus einem
	 * dynamisch nachgeladenen Divi-Core-Stylesheet, das für Drittanbieter-Module nicht
	 * zuverlässig eingebunden wird). Deshalb lesen wir die Variablen hier selbst aus,
	 * mit denselben Fallback-Werten wie zuvor.
	 */
	column-gap: var(--horizontal-gap, 0.5em);
	row-gap: var(--vertical-gap, 0.5em);
}

.cong4-woo-option {
	appearance: none;
	border: 1px solid rgba(0, 0, 0, 0.15);
	background: #fff;
	padding: 0.9em 1.2em;
	font: inherit;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cong4-woo-option:hover {
	border-color: rgba(0, 0, 0, 0.4);
}

.cong4-woo-option.is-active {
	background: #1a1a1a;
	border-color: #1a1a1a;
	color: #fff;
}

.cong4-woo-price__from-label {
	display: inline-block;
	font-size: 0.9rem;
	margin-right: 0.4em;
	opacity: 0.75;
}

.cong4-woo-price__value {
	display: block;
	font-size: 2.2rem;
	line-height: 1.2;
}

.cong4-woo-price[data-cong4-show-from-price="on"] .cong4-woo-price__value {
	display: inline-block;
}

.cong4-woo-price__hint {
	display: block;
	font-size: 0.85rem;
	opacity: 0.65;
	margin-top: 0.35em;
}

.cong4-woo-buy-button {
	appearance: none;
	width: 100%;
	border: none;
	background: #1a1a1a;
	color: #fff;
	padding: 1em 1.5em;
	font: inherit;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.cong4-woo-buy-button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.cong4-woo-buy-button.is-loading {
	opacity: 0.7;
	cursor: progress;
}

.cong4-woo-buy-button.is-success {
	background: #2f6b3a;
}

/* Artikelbildgalerie */

.cong4-woo-gallery__inner {
	display: flex;
	flex-direction: column;
	/* Gap-Erklärung: siehe Kommentar bei .cong4-woo-selector__options oben. */
	column-gap: var(--horizontal-gap, 20px);
	row-gap: var(--vertical-gap, 20px);
}

.cong4-woo-gallery__main {
	cursor: pointer;
}

.cong4-woo-gallery__main {
	/*
	 * Immer volle verfügbare Breite einnehmen – unabhängig davon, wie das
	 * Hauptbild als Flex-/Grid-Kind innerhalb von .cong4-woo-gallery__inner
	 * (siehe "Anordnung"-Design-Feld) sonst schrumpfen/wachsen würde.
	 */
	align-self: stretch;
	width: 100%;
	flex: 1 1 100%;
}

.cong4-woo-gallery__main img {
	display: block;
	width: 100%;
	height: auto;
}

.cong4-woo-gallery__thumbs {
	display: flex;
	align-items: center;
	column-gap: var(--horizontal-gap, 8px);
	row-gap: var(--vertical-gap, 8px);
}

.cong4-woo-gallery__track {
	display: flex;
	/*
	 * "inherit" statt eines festen Werts: .cong4-woo-gallery__thumbs (das
	 * Elternelement) bekommt seine flex-direction bereits responsiv über
	 * Divis eigene Style-Pipeline (unterschiedliche Werte je Breakpoint sind
	 * dort automatisch möglich) – der Track folgt dem einfach mit, ohne dass
	 * PHP die Richtung selbst pro Breakpoint auflösen und ausgeben muss.
	 */
	flex-direction: inherit;
	flex: 1 1 auto;
	overflow: auto;
	scroll-behavior: smooth;
	column-gap: var(--horizontal-gap, 8px);
	row-gap: var(--vertical-gap, 8px);
}

.cong4-woo-gallery__track::-webkit-scrollbar {
	display: none;
}

.cong4-woo-gallery__thumb {
	appearance: none;
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	padding: 0;
	border: 2px solid transparent;
	background: none;
	cursor: pointer;
	opacity: 0.7;
}

.cong4-woo-gallery__thumb:hover {
	opacity: 1;
}

.cong4-woo-gallery__thumb.is-active {
	opacity: 1;
	border-color: #1a1a1a;
}

.cong4-woo-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cong4-woo-gallery__nav {
	appearance: none;
	flex: 0 0 auto;
	border: none;
	background: none;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.4em;
}

.cong4-woo-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.85);
	padding: 2rem;
}

.cong4-woo-lightbox__image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.cong4-woo-lightbox__close {
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	appearance: none;
	border: none;
	background: none;
	color: #fff;
	font-size: 2.5rem;
	line-height: 1;
	cursor: pointer;
}

body.cong4-woo-lightbox-open {
	overflow: hidden;
}

/* Warenkorbicon */

.cong4-cart-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.cong4-cart-icon__icon {
	font-size: 1.5rem;
	line-height: 1;
}

.cong4-cart-icon__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.4em;
	height: 1.4em;
	padding: 0 0.3em;
	margin-left: 0.4em;
	border-radius: 999px;
	background: #1a1a1a;
	color: #fff;
	font-size: 0.75rem;
	line-height: 1;
}

.cong4-cart-icon__count.is-empty {
	display: none;
}
