Inflation has buffeted consumers after a pandemic-fueled binge on goods for the home, but spending has also moved elsewhere as people are again able to travel, or go to restaurants and shows.