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) |
| X | ||||||||||
- Definition Amount of increase (decrease) in right-of-use assets obtained in exchange for operating lease liability from lease modifications or reassessments in a non-cash transaction. No definition available.
|
| X | ||||||||||
- Definition Amount of lease modifications removing right-of-use assets. No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of loss from impairment of right-of-use asset from operating lease. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for operating lease liability. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of gain (loss) on sale and leaseback transaction from transfer of asset accounted for as sale. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|