/**
 * Frontend Swatch Fix Styles for Woodmart.
 */
.wd-swatches-product .wd-swatch.camela-swatch-fixed .wd-swatch-bg img,
.wd-swatches-grid .wd-swatch.camela-swatch-fixed .wd-swatch-bg img,
img.camela-variation-swatch-img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: inherit !important;
	display: block !important;
}

.wd-swatches-product .wd-swatch.camela-swatch-missing-image,
.wd-swatches-grid .wd-swatch.camela-swatch-missing-image {
	opacity: 0.75;
}

.wd-swatches-product .wd-swatch.camela-swatch-missing-image .wd-swatch-bg {
	background-color: #f1f1f1 !important;
	border: 1px dashed #c0c0c0;
}

/* Ensure native select dropdown is completely hidden when swatches are present */
.with-swatches select,
.wd-swatches-product + select,
td.value.cell:has(.wd-swatches-product) select,
form.variations_form select[name="attribute_pa_cor"].has-swatches {
	display: none !important;
}
