Food, gas prices pinch families as inflation surges globally