v3.26.1
Leases and Other Commitments - Purchase Agreements and Other Commitments (Details) - USD ($)
shares in Millions, $ in Millions
12 Months Ended
Jul. 03, 2026
Jun. 27, 2025
Jun. 28, 2024
Apr. 08, 2026
Schedule of Equity Method Investments [Line Items]        
Purchase of marketable equity securities $ (970) $ 0 $ 0  
Nanya Technology Corporation        
Schedule of Equity Method Investments [Line Items]        
Investment (in shares)       139
Equity ownership, percentage       3.90%
Discount rate       15.00%