.vspc-swatches {
	--vspc-size: 22px;
	--vspc-radius: 50%;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0 10px;
	padding: 0;
	list-style: none;
	align-items: center;
}

.vspc-swatch {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--vspc-size);
	min-height: var(--vspc-size);
	padding: 0 6px;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 3px;
	background: #fff;
	cursor: pointer;
	font-size: 12px;
	line-height: 1;
	color: #222;
	user-select: none;
	transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.vspc-swatch:hover {
	transform: scale(1.08);
	border-color: rgba(0, 0, 0, 0.45);
}

.vspc-swatch.vspc-active {
	border-color: #222;
	box-shadow: 0 0 0 1px #222 inset;
}

.vspc-swatch:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.vspc-swatch-color {
	width: var(--vspc-size);
	height: var(--vspc-size);
	padding: 0;
	border-radius: var(--vspc-radius);
}

.vspc-swatch-image {
	width: calc(var(--vspc-size) + 10px);
	height: calc(var(--vspc-size) + 10px);
	padding: 0;
	overflow: hidden;
	border-radius: 3px;
}

.vspc-swatch-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vspc-swatch-label {
	padding: 4px 8px;
	background: #f4f4f4;
}

.vspc-swatch.vspc-active.vspc-swatch-label {
	background: #222;
	color: #fff;
}

.vspc-swatch.vspc-out-of-stock {
	opacity: 0.5;
	position: relative;
}

.vspc-swatch.vspc-out-of-stock::after {
	content: "";
	position: absolute;
	left: 10%;
	right: 10%;
	top: 50%;
	height: 1px;
	background: currentColor;
	transform: rotate(-30deg);
	pointer-events: none;
}

.vspc-swatch.vspc-disabled {
	pointer-events: none;
	opacity: 0.45;
}

.vspc-swatch.vspc-hidden {
	display: none;
}

.vspc-more {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 1px dashed rgba(0, 0, 0, 0.25);
	border-radius: 3px;
	padding: 0 8px;
	min-height: var(--vspc-size);
	font-size: 11px;
	line-height: 1;
	color: #666;
	cursor: pointer;
}

.vspc-more:hover {
	color: #222;
	border-color: rgba(0, 0, 0, 0.5);
}
