/* NGX WooCommerce Swatches frontend styles. */
.wc-vsg-swatch-set--single {
	display: none;
}

.wc-vsg-js .wc-vsg-swatch-set--single {
	display: block;
}

.wc-vsg-js .wc-vsg-native-select .wc-vsg-hidden-select {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.wc-vsg-swatch-set {
	margin: 0 0 14px;
}

.wc-vsg-swatch-set--archive {
	margin: 8px 0 0;
}

.wc-vsg-archive-swatches {
	clear: both;
	margin: 8px 0 4px;
}

.wc-vsg-swatch-title {
	display: block;
	margin: 0 0 7px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
}

.wc-vsg-swatch-set--archive .wc-vsg-swatch-title {
	font-size: 0.75rem;
	margin-bottom: 5px;
}

.wc-vsg-swatch-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
}
.single-product .wc-vsg-swatch-options {
	justify-content: flex-start;
}
.wc-vsg-swatch-set--archive .wc-vsg-swatch-options {
	gap: 6px;
}

.wc-vsg-swatch {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 3px;
	border: 1px solid #d8d8d8;
	border-radius: 6px;
	background: #fff;
	color: inherit;
	line-height: 1;
	text-decoration: none !important;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.wc-vsg-swatch-set--archive .wc-vsg-swatch {
	min-width: 50px;
	min-height: 20px;
	border-radius: 5px;
}

.wc-vsg-swatch:hover,
.wc-vsg-swatch:focus-visible,
.wc-vsg-swatch.is-selected,
.wc-vsg-swatch.is-active {
	border-color: #111;
	box-shadow: 0 0 0 1px #111;
	outline: none;
}

.wc-vsg-swatch.is-disabled,
.wc-vsg-swatch:disabled {
	opacity: 0.35;
	cursor: not-allowed;
	text-decoration: line-through;
}

.wc-vsg-swatch-media {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	overflow: hidden;
	border-radius: 4px;
	background-color: #d9d9d9;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.wc-vsg-swatch-set--archive .wc-vsg-swatch-media {
	width: 28px;
	height: 28px;
}

.wc-vsg-color-chip {
	position: absolute;
	right: 3px;
	bottom: 3px;
	width: 12px;
	height: 12px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.wc-vsg-size-label {
	min-width: 28px;
	padding: 0 7px;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.wc-vsg-swatch-set--archive .wc-vsg-size-label {
	min-width: unset;
	padding: 0px;
	font-size: 0.75rem;
}

.wc-vsg-screen-reader-text,
.variations .wc-vsg-swatch-set > .wc-vsg-swatch-title,
.wc-vsg-swatch-set--color .wc-vsg-swatch-title,
.wc-vsg-swatch-set--archive .wc-vsg-swatch-title {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.variations .wc-vsg-swatch-set {
	padding-top: 4px;
}

.variations .wc-vsg-swatch-options {
	margin-bottom: 4px;
}

.woocommerce ul.products li.product .wc-vsg-archive-swatches {
	text-align: inherit;
}
