XML 92 R80.htm IDEA: XBRL DOCUMENT
v3.25.2

Income Taxes - Additional Information (Detail) - USD ($) $ in Thousands | 12 Months Ended |  |  |  |
--- | --- | --- | --- | --- | ---
Jun. 26, 2025 | Jun. 28, 2024 | Jun. 27, 2024 | Jun. 29, 2023 | Jun. 30, 2022
IncomeTaxDisclosure [Line Items] |  |  |  |  |
Year of tax returns audit | 2022 2023 2024 |  |  |  |
Unrecognized tax benefits and accrued interest and penalties long-term | $ 780 |  | $ 692 |  |
Total gross amounts of unrecognized tax benefits | $ 807 | $ 733 | $ 733 | $ 463 | $ 390
Illinois [Member] |  |  |  |  |
IncomeTaxDisclosure [Line Items] |  |  |  |  |
Income Tax Examination, Year under Examination | 2023 2024 |  |  |  |
California [Member] |  |  |  |  |
IncomeTaxDisclosure [Line Items] |  |  |  |  |
Year of tax returns audit | 2021 2022 2023 2024 |  |  |  |

X
- Definition Income Tax Disclosure [Line Items] + References No definition available. + Details
Name: | jbss_IncometaxdisclosureLineItems
Namespace Prefix: | jbss_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tax year being audited in the income tax examination, in YYYY format. + References No definition available. + Details
Name: | us-gaap_IncomeTaxExaminationYearUnderExamination
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:gYearListItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tax year that remains open to examination under enacted tax laws, in YYYY format. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_OpenTaxYear
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:gYearListItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 217 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-217 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15A Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 10B -Publisher FASB -URI https://asc.fasb.org/1943274/2147482525/740-10-45-10B + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount accrued for interest on an underpayment of income taxes and penalties related to a tax position claimed or expected to be claimed in the tax return. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 217 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-217 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | jbss_StateAxis=stpr_IL
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | jbss_StateAxis=stpr_CA
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |