.swatch-input-wrapper {
  display: inline-flex;
  align-items: center;
}

.swatch-input {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.swatch-input__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.swatch-input__input:focus-visible + .swatch-input__label {
  outline: 2px solid rgba(var(--color-foreground), 0.6);
  outline-offset: 2px;
}

.swatch-input__input:checked + .swatch-input__label {
  box-shadow: inset 0 0 0 0.15rem rgba(var(--color-foreground), 0.5);
}

.swatch-input__label {
  display: inline-flex;
  border-radius: 999px;
  cursor: pointer;
}
