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

.vsp-label-wrapper {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}

.vsp-swatch-group {
  margin-bottom: 12px;
}

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

.vsp-swatch {
  display: inline-block;
  margin: 0 8px 8px 0;
  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;
  border: 2px solid #ccc;
}

/* 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: 4px 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;
}
