v3.26.1
Income Taxes - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Millions
12 Months Ended
Jul. 03, 2026
Jun. 27, 2025
Jun. 28, 2024
Income Tax Disclosure [Line Items]      
Income tax holiday, aggregate amount $ 60 $ 551 $ 209
Income tax benefits (in dollars in share) $ 0.16 $ 1.54 $ 0.64
Portion of gross unrecognized tax benefits that would affect the effective tax rate $ 455 $ 416 $ 555
Penalties and interest accrued on unrecognized tax benefits 130 82 181
Unrecognized tax benefits, including accrued interest and penalties 585 $ 498 $ 736
Net potential payment 136    
Tax Years 2008 Through 2015      
Income Tax Disclosure [Line Items]      
Potential payables related to unrecognized tax benefits 349    
Favorable tax receivable 213    
Net potential payment 136    
Mandatory deemed repatriation tax obligations 166    
Interest savings 65    
Minimum      
Income Tax Disclosure [Line Items]      
Income taxes payable 349    
Domestic Tax Authority      
Income Tax Disclosure [Line Items]      
Operating loss carryforward, valuation allowance 116    
Tax credit carryforward, valuation allowance 27    
Income Tax Jurisdiction, Domestic State and Local      
Income Tax Disclosure [Line Items]      
Operating loss carryforward, valuation allowance 240    
Tax credit carryforward, valuation allowance $ 2