/* ProtectCare - variatie-keuzes als kaarten */

.pc-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 4px 0 6px;
}

.pc-swatch {
	flex: 1 1 140px;
	max-width: 190px;
	background: #fff;
	border: 2px solid #e2e6e8;
	border-radius: 8px;
	padding: 10px 10px 12px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
	font: inherit;
	color: inherit;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: 0;
	margin: 0;
}
.pc-swatch:hover,
.pc-swatch:focus-visible {
	border-color: #0b7a86;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	outline: none;
}
.pc-swatch.is-active {
	border-color: #0b7a86;
	box-shadow: 0 0 0 2px rgba(11, 122, 134, 0.18);
}
.pc-swatch.is-disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.pc-swatch__img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: 4px;
	margin: 0 auto 8px;
	background: #fff;
}
.pc-swatch__label {
	display: block;
	font-weight: 600;
	font-size: 1em;
	color: #333;
	text-transform: none;
}
.pc-swatch__price {
	display: block;
	margin-top: 3px;
	font-size: 0.95em;
	color: #0b7a86;
	font-weight: 600;
}
.pc-swatch__price .woocommerce-Price-amount {
	color: inherit;
}
.pc-swatch__check {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #0b7a86;
	color: #fff;
	font-size: 13px;
	line-height: 22px;
	display: none;
}
.pc-swatch {
	position: relative;
}
.pc-swatch.is-active .pc-swatch__check {
	display: block;
}

/* Originele dropdown verbergen, maar in de DOM laten voor WooCommerce */
.variations .pc-has-swatches select,
.variations .pc-has-swatches .select-wrapper,
.variations .pc-has-swatches .reset_variations {
	display: none !important;
}
.variations tr.pc-swatch-row th.label,
.variations tr.pc-swatch-row td.value {
	display: block;
	width: 100%;
}
.variations tr.pc-swatch-row th.label {
	padding-bottom: 4px;
}

@media only screen and (max-width: 48em) {
	.pc-swatch {
		flex-basis: calc(50% - 6px);
		max-width: none;
	}
}
