Seems to me that men get crappy treatment in gun shops too, so the women should not feel too badly. Also, a LOT of women come in that know nothing about guns, so on the rare occasion that one comes in that does know something, the guy behind the counter can make the error of ASSuming that it is yet another one. I would not take it personally. If they see 99 women in a row come in that don't know anything about guns, then when the 100th one walks in it is hard to blame them for assuming that she does not know anything as well.
The most flak I get is for loving Glocks. I was infuriated once when a cocky guy behind the counter told me about how Glocks "blow up" and that Sigs never do, and that Sigs are so superior (Hmm, I seem to know a few people that have had Sigs blow up...yet none of my many friends who avidly shoots Glocks has had one blow up). Then, another time when I asked to see a Glock 30, the 1911-carrying a$$hole beind the counter told me flat out that "Glocks are a piece of sh!t". Gee, thanks dude for the insult, it's my favorite gun, and I was about to buy one today. (I bought it somewhere else).