An overhead shot of a photo picking a container of berries in a grocery store.

U.S. inflation moved higher last month as the price of gas, groceries, hotel rooms and airfare rose, along with the cost of clothes and used cars.