.variation-swatches {
	--color-thumb: 1.75rem;
	--image-thumb: 5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
/* naam-swatch = klein outline-dark-knopje (was @extend .btn .btn-sm .btn-outline-dark) */
.variation-swatches > *:not(.color):not(.image) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem 0.5rem;
	font-size: var(--wcp-font-size-sm, 0.875rem);
	line-height: 1.5;
	cursor: pointer;
	text-decoration: none;
	color: var(--wcp-color-dark, #374151);
	background-color: transparent;
	border: 1px solid var(--wcp-color-dark, #374151);
	border-radius: var(--wcp-radius, 0.375rem);
	transition: all 0.2s ease-in-out;
}
.variation-swatches > *:not(.color):not(.image):hover,
.variation-swatches > *:not(.color):not(.image).active {
	color: #fff;
	background-color: var(--wcp-color-dark, #374151);
	border-color: var(--wcp-color-dark, #374151);
}
.variation-swatches > *.color,
.variation-swatches > *.image {
	border: 1px solid var(--wcp-color-border, #e5e7eb);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.variation-swatches > *.color.active,
.variation-swatches > *.image.active {
	border-color: var(--wcp-color-primary, #873EFF);
}
.variation-swatches > *.color {
	width: var(--color-thumb);
	height: var(--color-thumb);
	border-radius: 50%;
}
.variation-swatches > *.color div {
	width: 75%;
	height: 75%;
	border-radius: 50%;
}
.variation-swatches > *.image {
	width: var(--image-thumb);
	height: var(--image-thumb);
	border-radius: var(--wcp-radius, 0.375rem);
}
.variation-swatches > *.image img {
	aspect-ratio: 1/1;
	width: 85%;
	height: 85%;
	object-fit: contain;
	border-radius: var(--wcp-radius, 0.375rem);
}
/* JS-getoggled beschikbaarheid + verborgen native select (waren Bootstrap .d-none) */
.variation-swatches .swatch.is-hidden { display: none; }
.variation-swatches .swatch.disabled { opacity: 0.4; cursor: not-allowed; }
/* Met WooCommerce's eigen selector: .woocommerce div.product form.cart .variations select zet
   display: inline-block en wint anders op specificiteit (Bootstrap's .d-none had !important). */
select.wcp-swatch-select,
.woocommerce div.product form.cart .variations select.wcp-swatch-select { display: none; }

/* FacetWP-color-integratie (ongewijzigd t.o.v. legacy, tokens waar relevant) */
.facetwp-type-color .facetwp-color-item {
	position: relative;
	width: max-content;
	margin: 0 0.5rem 0.5rem 0;
	gap: 0.5rem;
}
.facetwp-type-color .facetwp-color-item .facetwp-color {
	margin: 0 !important;
}
.facetwp-type-color .facetwp-color-item .facetwp-color:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: calc(100% - 0.5rem);
	height: calc(100% - 0.5rem);
	display: block !important;
}
