XML 40 R33.htm IDEA: XBRL DOCUMENT
v3.25.3

Basis of Presentation and Description of Business - Additional Information (Detail) | 3 Months Ended
--- | ---
Sep. 25, 2025 Channel
Organization, Consolidation and Presentation of Financial Statements [Abstract] |
Number of distribution channels | 3

X
- Definition Number of distribution channels. + References No definition available. + Details
Name: | jbss_NumberOfDistributionChannels
Namespace Prefix: | jbss_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration