It doesn't work like that over here. Discrimination laws apply to a person's national origin, race, color, religion, disability, sex, and familial status. A business may apply whatever dress code they desire. Some restaurants will not admit men without a tie, or people with uncovered underarms, for instance. Most in my beach town do not allow dining in swim attire, and so on. As long as the rules are applied equally, i.e. all must wear a mask, all must wear shoes, all must wear a shirt, it's perfectly legal for a business to dictate such and throw you out.