XML 67 R55.htm IDEA: XBRL DOCUMENT
v3.25.2

Significant Accounting Policies - Summary of Anti-dilutive Awards Excluded from Computation of Diluted Earnings Per Share (Detail) - shares | 12 Months Ended
--- | ---
Jun. 26, 2025 | Jun. 27, 2024 | Jun. 29, 2023
Anti Dilutive Shares [Abstract] |  |  |
Weighted average number of anti-dilutive shares: | 0 | 0 | 0

X
- Definition Anti dilutive shares. + References No definition available. + Details
Name: | jbss_AntiDilutiveSharesAbstract
Namespace Prefix: | jbss_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482662/260-10-50-1 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration