.xtool-wc-add-to-cart--swatches .xtool-swatches-native-select {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.xtool-swatch-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 4px 0 12px;
}

.xtool-swatch {
	box-sizing: border-box;
	width: 36px;
	height: 36px;
	padding: 0;
	background: #fff;
	border: 2px solid #D4CEC7;
	border-radius: 50%;
	cursor: pointer;
	transition: border-color 0.15s ease, transform 0.1s ease;
}

.xtool-swatch:hover {
	transform: scale(1.06);
}

.xtool-swatch.is-selected {
	border-color: #1C1C1E;
}

/* A plain-text pill (Size, Material, or a color slug that couldn't be
   resolved to a real CSS color) needs a different shape than the round
   color circle above — same border/selected-state mechanics, rectangular
   instead of circular, sized to its own label text rather than a fixed
   square. */
.xtool-swatch--pill {
	width: auto;
	height: auto;
	min-width: 36px;
	padding: 6px 14px;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.4;
	color: #1A1814;
	background: #fff;
}

.xtool-swatch--pill.is-selected {
	background: #1C1C1E;
	color: #fff;
}
