The simple and obvious solution to the shopping problem is to never buy or rent a house more than 10 minutes walk from the nearest food store...
But 25 minutes (10 each way and an optimistic 5 to get something, wait in line, check out...) is too long for this use case anyway, in my opinion; it's just barely possible with a car, and I live about 12 minutes walk or 3-4 minutes drive from a store right now.