Women not being allowed to vote is actually an inherent flaw of democracy: Those who are allowed to vote decide who else may vote. All democratic countries make this kind of decision for many groups. Voting age, if and when immigrants may vote, whether to let people convicted of a felony or prisoners vote: all of these are cases of the voters deciding on who else will share their privilege. Switzerland was just slightly different because referendums are binding and were not overturned by the supreme courts, and the discriminated group was more visible/obvious.
So you want to say that just because it's called democracy, the voters have the right to deprive the other of basic human rights? The same way as in ancient Greek/Athens democracy where we had both free elections by popular vote and slaves.
I was, obviously, saying the very opposite, i.e. that what you are describing is an inherent flaw of democracy, and that some discrimination is just more obvious for cultural reasons. Usually, institutions like the supreme court save the day in the worst cases, but when this control fails, like with the popular votes in Switzerland on Voting rights for women, democracies can be quite barbaric.