v3.26.1
Revenue - Net Sales by Product Category (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Entity Wide Information Revenue From External Customer [Line Items]        
Net sales $ 3,862,548 $ 4,234,064 $ 7,149,625 $ 7,891,560
Manufactured Products        
Entity Wide Information Revenue From External Customer [Line Items]        
Net sales 831,622 959,349 1,566,208 1,813,232
Windows, Doors and Millwork        
Entity Wide Information Revenue From External Customer [Line Items]        
Net sales 954,610 1,050,742 1,808,574 1,994,837
Specialty Building Products and Services        
Entity Wide Information Revenue From External Customer [Line Items]        
Net sales 1,036,890 1,092,342 1,890,276 1,980,959
Lumber and Lumber Sheet Goods        
Entity Wide Information Revenue From External Customer [Line Items]        
Net sales $ 1,039,426 $ 1,131,631 $ 1,884,567 $ 2,102,532