.variant-selector {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.variant-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.variant-label {
  color: var(--text-secondary);
  font-size: var(--font-size-base, 0.875rem);
  font-weight: 800;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.colour-swatch {
  width: 34px;
  height: 34px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);

  &:hover {
    transform: translateY(-1px);
  }

  &.active {
    border-color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(73, 118, 113, 0.2);
  }

  &.readonly {
    display: inline-block;
    cursor: default;
  }

  &:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
  }
}

.size-chip {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full, 999px);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);

  &:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
  }

  &.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--bg-primary);
  }

  &.readonly {
    display: inline-flex;
    align-items: center;
    cursor: default;
  }

  &:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
}
