XML 116 R104.htm IDEA: XBRL DOCUMENT
v3.25.2

Product Type Sales Mix - Schedule of Sales by Product Type as Percentage of Gross Sales (Detail) | 12 Months Ended
--- | ---
Jun. 26, 2025 | Jun. 27, 2024 | Jun. 29, 2023
Product Type Reporting Information [Line Items] |  |  |
Total | 100.00% | 100.00% | 100.00%
Peanuts & Peanut Butter [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 16.40% | 17.90% | 19.00%
Pecans [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 9.40% | 9.10% | 11.40%
Cashews & Mixed Nuts [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 17.60% | 18.20% | 20.70%
Walnuts [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 4.90% | 4.40% | 5.60%
Almonds [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 7.20% | 7.80% | 8.80%
Trail & Snack Mixes [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 24.20% | 24.80% | 27.20%
Snack Bars [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 14.00% | 11.40% | 0.40%
Other [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 6.30% | 6.40% | 6.90%

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_SnackBarsMember
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: |