v3.26.1
Share-based Compensation (Narrative) (Details)
12 Months Ended
Jul. 03, 2026
USD ($)
mo
$ / shares
shares
Jun. 27, 2025
USD ($)
$ / shares
shares
Jun. 28, 2024
USD ($)
$ / shares
shares
Oct. 20, 2021
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Tax benefit $ 28,000,000 $ 21,000,000 $ 5,000,000  
Share-based compensation $ 213,000,000 200,000,000 127,000,000  
Percentage match of employee contribution under 401(k) plan (as a percent) 50.00%      
Share-based compensation expense $ 213,000,000 200,000,000 127,000,000  
Maximum contribution match by the employer as a percentage of employee compensation (as a percent) 6.00%      
Maximum amount of contribution per employee made by the employer per year $ 6,000      
Matching contributions $ 76,000,000 $ 67,000,000 $ 65,000,000  
Per share weighted average price of shares purchased (in dollars per share) | $ / shares $ 101.06 $ 77.87 $ 54.71  
Shares purchased in period (in shares) | shares 1,000,000 1,000,000 1,000,000  
Share-based compensation $ 185,000,000 $ 163,000,000    
Stock Compensation Plan | STX 2012 EIP        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Number of shares available for grant | shares 12,200,000      
Employee Stock | ESPP        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Number of shares available for grant | shares 14,700,000      
Number of shares authorized | shares 70,000,000      
Offering period for Stock Purchase Plan (in months) 6 months      
Maximum number of shares per offering period | shares 1,500,000      
Employee purchase price, percentage of fair market value of ordinary shares 85.00%      
Restricted Stock Units (RSUs)        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Share-based Compensation Arrangement, Vesting Period Maximum 4 years      
Employee service share-based compensation, nonvested awards, total compensation cost not yet recognized, period for recognition 2 years 1 month 6 days      
Share-based compensation expense $ 37,000,000      
Restricted Stock Units (RSUs) | Share-based Compensation Award, Tranche One        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Percentage of options to be vested on first anniversary of vesting commencement date (as a percent) 25.00%      
Restricted Stock Units (RSUs) | Share-based Compensation Award, Tranche Two through Four        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Percentage of options to be vested on first anniversary of vesting commencement date (as a percent) 75.00%      
Restricted Stock Units (RSUs) | Nonvested Shares        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Unrecognized compensation cost $ 201,000,000      
Restricted Stock Units (RSUs) | Performance Awards Market Condition        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Aggregate fair value of nonvested shares vested $ 129,000,000 105,000,000 $ 105,000,000  
Employee Stock Option        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Share-based Compensation Arrangement, Vesting Period Maximum 4 years      
Employee Stock Option | Full Value Share Awards        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Remaining award vesting period (in months) | mo 36      
Performance Shares        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Employee service share-based compensation, nonvested awards, total compensation cost not yet recognized, period for recognition 1 year 1 month 6 days      
Performance Shares | TSR/ROIC        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Performance period (in years) 3 years      
Performance Shares | Performance Awards Market Condition        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Aggregate fair value of nonvested shares vested $ 18,000,000 $ 17,000,000 $ 6,000,000  
Unrecognized compensation cost $ 53,000,000      
Restricted Stock Units and Performance Share Units | Equity Incentive Plan 2022        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Number of shares authorized | shares       16,100,000