v3.26.1
Income taxes (Unrecognized Tax Benefits) (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 27, 2026
Jun. 28, 2025
Reconciliation of the beginning and ending accrual balance for unrecognized tax benefits    
Balance at beginning of year $ 92,578 $ 100,661
Additions for tax positions taken in prior periods 3,321 1,078
Reductions for tax positions taken in prior periods (326) (7,159)
Additions for tax positions taken in current period 4,728 3,974
Reductions related to settlements with taxing authorities (3,752) (7,533)
Reductions related to the lapse of applicable statutes of limitations (4,032) (352)
Adjustments related to foreign currency translation   1,909
Adjustments related to foreign currency translation (645)  
Balance at end of year $ 91,872 $ 92,578