Inventories (Details) - USD ($) $ in Thousands |
12 Months Ended | |||||
|---|---|---|---|---|---|---|
Dec. 30, 2023 |
Dec. 31, 2022 |
Jan. 01, 2022 |
Oct. 07, 2023 |
Jul. 15, 2023 |
Apr. 22, 2023 |
|
| Inventory, Net [Abstract] | ||||||
| Percentage of LIFO inventory (percent) | 91.40% | 92.40% | ||||
| Increase (decrease) to Cost of sales | $ (94,600) | $ 311,800 | $ (122,300) | |||
| Purchasing and Warehousing costs included in inventory | 576,900 | 635,900 | ||||
| LIFO Method Related Items [Abstract] | ||||||
| Inventories at first-in, first-out (“FIFO”) | 5,041,752 | 5,174,918 | ||||
| Adjustments to state inventories at LIFO | (184,050) | (278,649) | ||||
| Inventories at LIFO | $ 4,857,702 | $ 4,896,269 | $ 4,682,635 | $ 4,919,155 | $ 5,052,244 | $ 5,001,157 |