Aren't there laws that prevent discrimination on gender and race pretty much in every first-world country? That would make it illegal to pay a woman less for the same job.
If you consider jobs where the title is the same but the professional works B2B, maybe women are less likely to ask for a better pay? That's why pink razors cost more, after all.
Female soccer players make less money because less people watch and there is less money, same thing for BBC journalists who demanded the same pay even though they got 10% share compared to their male colleague.
There are so many variables...