XML 118 R103.htm IDEA: XBRL DOCUMENT
v3.23.2

Product Type Sales Mix - Schedule of Sales by Product Type as Percentage of Gross Sales (Detail) | 12 Months Ended
--- | ---
Jun. 29, 2023 | Jun. 30, 2022 | Jun. 24, 2021
Product Type Reporting Information [Line Items] |  |  |
Total | 100.00% | 100.00% | 100.00%
Peanuts & Peanut Butter [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 19.00% | 18.00% | 19.30%
Pecans [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 11.40% | 10.10% | 10.00%
Cashews & Mixed Nuts [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 20.70% | 22.60% | 23.30%
Walnuts [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 5.60% | 5.80% | 6.20%
Almonds [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 8.80% | 10.20% | 10.80%
Trail & Snack Mixes [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 27.20% | 26.90% | 24.70%
Other [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 7.30% | 6.40% | 5.70%

X
- Definition Percentage Of Gross Product Sales + References No definition available. + Details
Name: | jbss_PercentageOfGrossProductSales
Namespace Prefix: | jbss_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Product type reporting Information. + References No definition available. + Details
Name: | jbss_ProductTypeReportingInformationLineItems
Namespace Prefix: | jbss_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_ProductOrServiceAxis=jbss_PeanutsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=jbss_PecansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=jbss_CashewsAndMixedNutsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=jbss_WalnutsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=jbss_AlmondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=jbss_TrailAndSnackMixesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=jbss_OtherProductMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |