.variations_form .jsweb-swatch-field .jsweb-native-select,
.variations_form .jsweb-swatch-field .variation-selector,
.variations_form .jsweb-swatch-field select {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

/* Neutralizar el falso selector dibujado por el tema Claue. */
.variations_form .variations .value.jsweb-swatch-value {
	height: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.variations_form .variations .value.jsweb-swatch-value::before,
.variations_form .variations .value.jsweb-swatch-value::after {
	display: none !important;
	content: none !important;
}

.jsweb-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 4px 0 10px;
}

.jsweb-swatch {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 3px;
	border: 1px solid #d5d5d5;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.jsweb-swatch > span:first-child {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.jsweb-swatch:hover,
.jsweb-swatch.selected {
	border-color: #111;
	box-shadow: 0 0 0 1px #111;
}

.jsweb-swatch.disabled {
	opacity: .35;
	cursor: not-allowed;
}

.jsweb-swatch.disabled::before,
.jsweb-swatch.disabled::after {
	position: absolute;
	top: 50%;
	left: 1px;
	right: 1px;
	height: 1px;
	background: #e00000;
	content: '';
	z-index: 3;
	transform: rotate(45deg);
	pointer-events: none;
}

.jsweb-swatch.disabled::after {
	transform: rotate(-45deg);
}

.jsweb-swatch-tooltip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 7px);
	z-index: 10;
	visibility: hidden;
	padding: 4px 7px;
	border-radius: 3px;
	background: #111;
	color: #fff;
	font-size: 11px;
	line-height: 1.2;
	white-space: nowrap;
	opacity: 0;
	transform: translateX(-50%);
	pointer-events: none;
	transition: opacity .15s ease;
}

.jsweb-swatch:hover .jsweb-swatch-tooltip,
.jsweb-swatch:focus .jsweb-swatch-tooltip {
	visibility: visible;
	opacity: 1;
}

@media (max-width: 767px) {
	.jsweb-swatch {
		width: 36px;
		height: 36px;
	}
}
