LEASES - Schedule of Supplemental Cash Flows Information (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Aug. 01, 2026 |
Aug. 02, 2025 |
Aug. 03, 2024 |
|
| Leases [Abstract] | |||
| Cash paid for amounts included in the measurement of operating lease liabilities | $ 29,516 | $ 29,966 | $ 35,461 |
| Operating lease right-of-use assets obtained in exchange for operating lease liabilities, net of impairments and other reductions | 0 | 0 | (21,055) |
| Operating lease impairment | 0 | 0 | 16,562 |
| Loss on early termination | $ 0 | $ 0 | $ 1,465 |