v3.26.1
Commitments and contingencies (Textuals) (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 27, 2026
Jun. 29, 2024
Jun. 28, 2025
Loss Contingency, Estimate [Abstract]      
Contingent liability recognized     $ 43,400
Estimate of possible loss $ 6,200   9,600
Guarantee liability 139,800   $ 118,300
Gain on legal settlements and other   $ 86,499  
Proceeds from legal settlement   $ 90,700  
Payments for Legal Settlements 61,400    
Mexico Consumption Tax Audit      
Loss Contingency, Estimate [Abstract]      
Loss on legal settlement $ 35,100