Saying thanks is common where I grew up in Bromley outside of London, and that's a pretty posh area. I say it here in Glasgow too after I moved and realized generally people do it here too.
Not sure it's a generational thing though, it's a shame you have that view of young people.