v3.24.2.u1
Revenue - Schedule of Net Sales by Product Category (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2024
Jun. 30, 2023
Entity Wide Information Revenue From External Customer [Line Items]        
Net sales $ 4,456,340 $ 4,528,890 $ 8,347,692 $ 8,412,204
Lumber and Lumber Sheet Goods        
Entity Wide Information Revenue From External Customer [Line Items]        
Net sales 1,194,847 1,060,371 2,175,393 1,937,231
Manufactured Products        
Entity Wide Information Revenue From External Customer [Line Items]        
Net sales 1,054,943 1,294,156 2,034,287 2,357,236
Windows, Doors and Millwork        
Entity Wide Information Revenue From External Customer [Line Items]        
Net sales 1,115,340 1,091,905 2,146,067 2,170,400
Specialty Building Products & Services        
Entity Wide Information Revenue From External Customer [Line Items]        
Net sales $ 1,091,210 $ 1,082,458 $ 1,991,945 $ 1,947,337