Kroger, the nation’s largest supermarket chain, posted double-digit sales gains in the fourth quarter as consumers “learned how to cook” and stocked up their pantries during the pandemic, another sign of how Americans eating more at home — at least for now — is impacting restaurants and eateries.