Let me empathize the question better: as in restaurants adding a surcharge imposed towards customers just because the logistics of bringing in the ingredients to cook dishes is being impacted (usually come in bulk from supply trucks) alongside the cost of fuel going up.
I know its the same thing for rideshare (as drivers need gas, so they charge passengers more on the app for this reason). In my country, they added a 5% surcharge for customers who dine in at restaurants and 10% for food deliveries, which is just ridiculous (but I get it).
I mean, my country has it’s own oil reserves but whether they’ll be used during this time remains unclear, and they’re kind of seldom on exporting that towards the global market since for the most part, crude oil is imported from the Gulf states (like Oman or Kuwait).


Most restaurants will buy from a distributor in a time limited contract. Where a product like beef will be purchased at a set amount for a certain time. Larger chains might buy beef for a year to lock in a cheaper price if they think inflation is going to climb. Also note that restaurants are in competition with eachother so they might not want to be the first to mark up prices.
So the result is that in the event where everything becomes dramatically more expensive in a short time, you will probably see some lag before it shows, but it depends.