We Scots use the word bonnet as a general name for a hat.We would not say "that's a braw Glengarry/Balmoral or whatever you are wearing".We would say "that's a braw bonnet you are wearing".That would also include a woman's hat.