XML 110 R95.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Product Type Sales Mix - Schedule of Sales by Product Type as Percentage of Gross Sales (Detail) | 12 Months Ended
--- | ---
Jun. 29, 2017 | Jun. 30, 2016 | Jun. 25, 2015
Product Type Reporting Information [Line Items] |  |  |
Total | 100.00% | 100.00% | 100.00%
Peanuts [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 15.70% | 13.90% | 13.70%
Pecans [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 16.20% | 13.10% | 12.70%
Cashews & Mixed Nuts [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 24.30% | 23.30% | 22.00%
Walnuts [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 8.40% | 9.40% | 11.00%
Almonds [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 16.30% | 23.00% | 23.40%
Trail & Snack Mixes [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 13.90% | 12.40% | 12.00%
Other [Member] |  |  |
Product Type Reporting Information [Line Items] |  |  |
Total | 5.20% | 4.90% | 5.20%

X
- Definition Percentage Of Gross Product Sales + References No definition available. + Details
Name: | jbss_PercentageOfGrossProductSales
Namespace Prefix: | jbss_
Data Type: | num: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: | us-gaap_ProductOrServiceAxis=jbss_PeanutsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

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