XML 66 R51.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Significant Accounting Policies - Shipping and Handling Cost for Last Three Fiscal Years (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jun. 29, 2017 | Jun. 30, 2016 | Jun. 25, 2015
Shipping And Handling Costs [Abstract] |  |  |
Shipping and handling costs | $ 17,682 | $ 16,686 | $ 17,699

X
- Definition Shipping and handling costs. + References No definition available. + Details
Name: | jbss_ShippingAndHandlingCostsAbstract
Namespace Prefix: | jbss_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Cost incurred during the reporting period in transporting goods and services to customers. Includes freight-out costs. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 45 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=68080631&loc=d3e61069-111654 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 45 -Section 45 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=68075638&loc=d3e60635-111653 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18726-107790 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 45 -Section S99 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=82851458&loc=d3e221937-122793 + Details
Name: | us-gaap_ShippingHandlingAndTransportationCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration