v3.26.3
Leases - Supplemental Cash Flow Information and Non-cash Activity Related to Operating Leases (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2026
Aug. 01, 2025
Aug. 02, 2024
Operating cash flow information:      
Gain on sale and leaseback transaction, net $ (47,421)    
Cash paid for amounts included in the measurement of lease liabilities 98,051 $ 98,186 $ 97,014
Noncash information:      
Right-of-use assets obtained in exchange for new operating lease liabilities 72,360 7,358 14,219
Lease modifications or reassessments increasing right-of-use assets 3,758 23,307 23,532
Lease modifications removing right-of-use assets (5,435) (1,002) (2,133)
Right-of-use asset impairment $ (5,944) $ (1,381) $ (1,832)