In some situations a women can use obrigado or a man could use obrigada. Here is an example: A boy opens the door for a old women. She could say just obrigada OR obrigado menino!
Nothing is wrong here in spoken language. Maybe grammatically but lots native speakers tend to use obrigado/a according to the gender of the person they want to thank.