XML 17 R1.htm IDEA: XBRL DOCUMENT v3.23.2
Document and Entity Information
12 Months Ended
Jun. 29, 2023
Cover [Abstract]  
Document Type DEF 14A
Amendment Flag false
Entity Registrant Name SANFILIPPO JOHN B & SON INC
Entity Central Index Key 0000880117