v3.26.1
Segment Information - Additional Information (Detail) - Segment
12 Months Ended
Jun. 27, 2026
Jun. 28, 2025
Jun. 29, 2024
Segment Reporting [Line Items]      
Number of reportable segments 3    
Segment Reporting, CODM, Profit (Loss) Measure, How Used, Description The Company’s chief operating decision maker (“CODM”), our Chief Executive Officer, utilizes total sales and Segment Adjusted EBITDA, which is the Company’s GAAP measure of segment profit, to evaluate each operating segment’s financial performance and make decisions about resource allocation. Segment Adjusted EBITDA is defined as net income before interest expense, interest income, income taxes, depreciation, and amortization and excludes certain items that the Company does not consider part of its segments’ core operating results, including stock-based compensation expense, changes in the LIFO reserve, acquisition, integration and reorganization expenses, and gains and losses related to fuel derivatives. The CODM reviews budget-to-actual and year-over-year variances for net sales and Segment Adjusted EBITDA each month when assessing segment performance and making decisions about allocating resources to the segments.    
Segment Reporting, CODM, Individual Title and Position or Group Name [Extensible Enumeration] srt:ChiefExecutiveOfficerMember    
Consolidated Net Sales [Member] | Customer Concentration Risk [Member] | Cigarettes [Member]      
Segment Reporting [Line Items]      
Concentration risk percentage 22.10% 23.00% 24.70%
Cost Of Goods Total Member | Significant Suppliers Member | Product Concentration Risk Member      
Segment Reporting [Line Items]      
Concentration risk percentage 19.00% 20.40% 22.40%