As supply chains reel, retailers adapt to keep shelves stocked