I can't be sure on anything a court would potentially rule on, but I think age discrimination kicks in around 40. Surely you can think of a bunch of thing people under certain ages aren't allowed to buy or even enter.
While I do not disagree with your earlier statements, the things that people under a certain age cannot buy are that way by law. At this point, 18+ can legally buy rifle ammo.