v3.26.1
Summary of Significant Accounting Policies and Estimates - Additional Information (Detail) - USD ($)
12 Months Ended
Jun. 27, 2026
Jun. 28, 2025
Jun. 29, 2024
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Restricted cash [1] $ 10,700,000 $ 8,200,000  
Provision (benefit) for doubtful accounts 22,200,000 22,700,000 $ 19,800,000
Inventories, net 4,333,000,000 3,887,700,000  
Inventories at first in first out cost 2,400,000,000 2,200,000,000  
Inventories at last in first out cost 1,700,000,000 1,500,000,000  
Inventories weighted average cost 303,800,000 241,000,000  
Inventory reserve 464,100,000 363,000,000  
Consideration received from vendors 121,600,000 112,100,000  
Adjusted inventories $ 20,400,000 18,000,000  
Property, Plant, and Equipment, Useful Life, Term, Description [Extensible Enumeration] Property, Plant, and Equipment, after Accumulated Depreciation, Depletion, and Amortization    
Intangible assets estimated useful life 9 years 8 months 12 days    
Impairment of goodwill and intangible assets $ 0 0 0
State and local excise taxes 3,500,000,000 3,400,000,000 3,600,000,000
Contract assets 79,100,000 67,000,000  
Cost of goods sold $ 59,748,900,000 55,882,300,000 51,704,100,000
Employee Stock Purchase Plan [Member]      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Eligible employees to purchase common stock at discount, percent 15.00%    
Shipping and Handling Fees      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Cost of goods sold $ 3,200,000,000 2,900,000,000 $ 2,600,000,000
Minimum [Member]      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Useful lives of assets 2 years    
Intangible assets estimated useful life 2 years    
Maximum [Member]      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Useful lives of assets 39 years    
Intangible assets estimated useful life 12 years    
Fair Value Inputs Level 1 [Member]      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Restricted cash $ 10,700,000 $ 8,200,000  
[1] Restricted cash is reported within other assets and represents the amounts required by insurers to collateralize a part of the deductibles for the Company’s workers’ compensation and liability claims along with cash required by a healthcare benefits and claims administration arrangement to maintain a healthcare imprest account for eligible healthcare expenses.