.vsp-wrapper {
  margin-bottom: 20px;
}

.vsp-label-wrapper {
	display: flex;
	justify-content: center;
	gap: 6px;
	width: 100%;
}


.vsp-swatch-group {
	margin-bottom: 12px;
	display: flex;
    gap: 8px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.vsp-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.vsp-swatch {
  display: inline-block;
  cursor: pointer;
}

.vsp-swatch.selected {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* Colour circles for pa_colour */
.vsp-swatch:not(.vsp-button) {
	width: 32px;
	height: 32px;
	border-radius: 4px;
}

/* Buttons for other attributes */
.vsp-button {
  padding: 4px 10px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color:#fff;
  color: inherit;
}

.vsp-button:hover {
  outline:2px solid var(--global-color-8);
  outline-offset: 2px;
}

.vsp-button.selected {
  outline: 2px solid var(--accent);
}

.vsp-clear {
  border: 1px solid #ccc;
  padding: 0px 8px;
  cursor: pointer;
  border-radius: 4px;
  font-size:14px
}

.vsp-clear:hover {
  background-color: #000000aa;
}

.vsp-swatch[style*="display: none"] {
  opacity: 0.3;
  pointer-events: none;
  filter: grayscale(100%);
}

.vsp-swatch.disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: not-allowed;
}
.vsp-archive-swatches {
    display: flex;
	flex-wrap: wrap;
	gap:8px;
	padding:8px;
}

.vsp-archive-swatches .vsp-swatch {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 3px;
	margin:0
}