Food prices have been changing for a long time, but only if you pay attention to quantity and ingredients. With gas prices, the unit quantity or ingredient cannot change, so the change is obvious. Same with things like milk and eggs and vegetables though, which do change often.
With processed food, the seller has much more ability to maneuver around having to increase price.
I assure you, as someone in a position to know the numbers, that sugary beverages have low margins. It is very expensive to move them around, marketing is expensive, and customers are very price sensitive.
https://www.investopedia.com/ask/answers/071015/what-profit-...
Logically, if the same quantity of Arizona Ice Tea retails for the same price as it did 25 years ago, then someone in the supply chain is or was making huge profit margins, considering the increase in materials and transport costs.
https://www.fao.org/worldfoodsituation/foodpricesindex/en/
Depending on how you set your endpoints, you can basically come up with any number for inflation you want, from 1.7% to 20+%
I guess this is all well-understood and taken care of under the hood by processed food companies, though, since the Big Mac Index has pretty steadily held to an inflation level near the CPI
They do play with pennies. I worked in a huge national restaurant chain as a teenager and went through numerous menu updates. They were always flipping nickels and pennies all over the place on the menu. As a kid I thought changing the menu prices by five cents was ridiculous. Apparently, that's how it works in this business with razor thin margins.
Arizona Iced Tea started at 99 cents in 1997 - today that should be $1.83 but it's still 99 cents. Same with Costco's hot dog and chicken (though they've done some noticeable changes on the hot dog).
When the dam breaks, it's not going to go up 10%, it's going to skyrocket to try to make up for lost time.