West Coast baby
Simple, you don’t buy a carts worth of groceries at a time. When you can walk to the grocery store in 5 mins it’s easy to go twice a week or more. Hell, I went to the grocery store 3 times in a half hour because I kept forgetting stuff for a recipe I was making.
Also there are plenty of foldable carts that could fit under a bed or in a closet.