Restructuring Costs - Additional Information (Details) - USD ($) |
3 Months Ended | 12 Months Ended | ||
|---|---|---|---|---|
Jun. 29, 2025 |
Jun. 28, 2026 |
Jun. 29, 2025 |
Jun. 30, 2024 |
|
| Restructuring Cost and Reserve [Line Items] | ||||
| Cash purchase price | $ 5,002,000 | $ 10,488,000 | $ 11,189,000 | |
| Madison Sale [Member] | ||||
| Restructuring Cost and Reserve [Line Items] | ||||
| Cash purchase price | $ 45,000,000 | |||
| Description of deferred compensation arrangements | As part of the Madison Sale, there is an amendment to the purchase agreement for the potential payment of deferred compensation to UNIFI in the amount of (i) $8,000, if certain energy supply conditions are met within two years of closing, (ii) $5,000, if the same conditions are not met within two years of closing but are met within three years of closing, and (iii) up to $5,000, if certain additional energy conditions beyond those referred to in (i) and (ii) are met within four years of closing. No amounts related to the future occurrence of these events have been recorded in the Consolidated Financial Statements as of June 29, 2025. | |||
| Potential payment of deferred compensation within year two | $ 8,000,000 | |||
| Potential payment of deferred compensation within year three | 5,000,000 | |||
| Maximum [Member] | Madison Sale [Member] | ||||
| Restructuring Cost and Reserve [Line Items] | ||||
| Potential payment of deferred compensation within year four | $ 5,000,000 | |||