v3.26.3
RELATED PARTY INFORMATION (Details) - USD ($)
$ in Thousands
12 Months Ended
Feb. 15, 2024
Jul. 25, 2026
Jul. 26, 2025
Jul. 27, 2024
Dec. 19, 2025
Related Party Transaction [Line Items]          
Notes payable to Wakefern and other related parties   $ 45,367 $ 48,621   $ 5,563
Proceeds from issuance of notes payable to related parties   222 0 $ 0  
Maturity of notes receivable from Wakefern   0 0 33,338  
Interest income   12,689 13,502 14,799  
Stock Subscriptions Outstanding, Payments Due In 2026          
Related Party Transaction [Line Items]          
Notes payable to Wakefern   371 541    
Stock Subscriptions Outstanding, Payments Due In 2027          
Related Party Transaction [Line Items]          
Related party transaction amount   $ 25      
Wakefern          
Related Party Transaction [Line Items]          
Ownership interest in Wakefern   13.00%      
Purchase obligation, as a percentage of merchandise requirements   85.00%      
Purchase obligation period   10 years      
Percentage of stockholders to request termination   75.00%      
Accounts payable to Wakefern   $ 396      
Vendor allowances and rebates   41,841 49,467 46,302  
Support services incurred charges   39,087 41,539 42,459  
Demand deposits invested at related party Wakefern   111,776 92,003    
Interest income   $ 12,631 13,464 $ 14,717  
Wakefern | Related Party Note Receivable Maturing February 2024          
Related Party Transaction [Line Items]          
Proceeds from issuance of notes payable to related parties $ 33,338        
Basis spread on variable rate (as a percent) 0.75%        
Wakefern | Related Party Note Receivable Maturing February 2029          
Related Party Transaction [Line Items]          
Basis spread on variable rate (as a percent) 2.25% 2.25%      
Maturity of notes receivable from Wakefern   $ 39,097      
Wakefern | Related Party Note Receivable Maturing August 2027          
Related Party Transaction [Line Items]          
Basis spread on variable rate (as a percent)   0.50%      
Maturity of notes receivable from Wakefern   $ 39,460      
Wakefern | Related Party Note Receivable Maturing September 2027          
Related Party Transaction [Line Items]          
Basis spread on variable rate (as a percent)   0.50%      
Maturity of notes receivable from Wakefern   $ 40,733      
Wakefern | Per Store Investment, Maximum          
Related Party Transaction [Line Items]          
Related party transaction amount   $ 975      
Wakefern | Insure-Rite Ltd.          
Related Party Transaction [Line Items]          
Investment in Insure-Rite, Ltd   9.00%      
Related Party          
Related Party Transaction [Line Items]          
Accounts payable to Wakefern   $ 87,416 $ 83,258    
Notes payable to Wakefern   371      
Notes payable to Wakefern and other related parties   $ 25