v3.26.1
Basis of Presentation (Details) - USD ($)
$ in Thousands
9 Months Ended
Jan. 02, 2026
Mar. 31, 2026
Mar. 31, 2025
Feb. 27, 2026
Jun. 30, 2025
Debt Instrument [Line Items]          
Accounts receivable sold, principal   $ 205,262 $ 216,002    
Cash   44,311      
Insurance claim $ 25,900        
Disposed of by Sale | North American Snacks Business          
Debt Instrument [Line Items]          
Cash consideration       $ 111,200  
Net proceeds used to repay term loans       $ 101,100  
Line of Credit | Second Amendment and Restated Credit Agreement | Revolving Credit Facility          
Debt Instrument [Line Items]          
Debt, gross   401,000     $ 450,500
Line of Credit | Amended and Restated Credit Agreement          
Debt Instrument [Line Items]          
Available borrowing capacity   195,901     $ 246,725
Term loans | Second Amendment and Restated Credit Agreement          
Debt Instrument [Line Items]          
Debt, gross   148,825      
Line of Credit and Term Loans | Second Amendment and Restated Credit Agreement | Revolving Credit Facility          
Debt Instrument [Line Items]          
Debt, gross   $ 549,825      
Maturity date   Dec. 22, 2026