Yikes, what a goof he was. If an employee says something inappropriate, make sure to look very closely at their name tag. (And make it obvious that you ARE looking closely at their name tag.) If they don't have a name tag, ask them politely for their name. And make sure you get the name and spelling right. ("Is that Steven with a V or PH? Thanks.")
Then say no more, unless you want to, but be sure to write corporate and give them feedback on what happened. It's not a complaint (though there is nothing wrong with complaining in a case like that) it is simply giving them feedback so they can decide if their employees need more training. Or firing. Or whatever.
Feedback is usually appreciated! It is VALUABLE input, after all. You may even score a gift card or coupons for it, but even if you don't, you will still feel better and you will have done the right thing for customers everywhere.