Might be as simple as your acromioclavicular (AC) joint. You can put this slightly out even sleeping. Get someone to take a look and mobilize it through range to see if the click resolves.