Who says you can choose your political beliefs? Evidence actually indicates the opposite.
Anecdotally it happens. I went from super right wing, like legitimately had specific views about specific races to a moderate left wing person.
Banning clothing would have to be in terms of general application in order to be valid, i.e. all hats or all clothes with slogans, not just MAGA hats. If the criterion of unacceptability is political, then you can't say you're in favour of regulations yet say it's a free market because that's a double standard.
Trust me, totally get where you're getting at
, and thanks, this was an interesting thing to think about.
You can't fire someone for wearing a turban, that's religious discrimination. I mean literally part of their religion requires a certain garb for being a Sikh right? If a company, let's say Patagonia specifically forbids MAGA hats - your political view doesn't require you to wear a MAGA hat or any article of clothing in fact.
So you can identify as a Sikh and wear and turban or as a Muslim and hear a hijab at work, is tied to the article of clothing and is protected. If I identify a dog and wear a furry costume to work, obviously the company can have a policy against wearing furry onesies. That's their right to enforce a dress code.
So if Patagona, a left leaning company decides to ban MAGA hats, as a private entity they have right to do so in practicing their political beliefs. I do see it in the same vein as as Goya or Equinox, or Chick-fil-a a couple years ago, companies should be allowed to exercise support for a political candidate or have views on homosexuality etc. You should just expect the ramifications though the free market.