XML 65 R58.htm IDEA: XBRL DOCUMENT
v3.25.3

Subsequent Event - Additional Information (Detail) - Subsequent Event [Member] - $ / shares | Dec. 30, 2025 | Dec. 01, 2025 | Oct. 29, 2025
--- | --- | --- | ---
O2025M4 Dividends [Member] |  |  |
Subsequent Event [Line Items] |  |  |
Special cash dividend |  |  | $ 1
Dividends Payable |  |  | Oct. 29, 2025
O2025M6 Dividends [Member] |  |  |
Subsequent Event [Line Items] |  |  |
Dividends payable date to be paid | Dec. 30, 2025 |  |
Dividends payable date of record |  | Dec. 01, 2025 |

X
- Definition Special Dividend Amount Per Share + References No definition available. + Details
Name: | jbss_SpecialDividendAmountPerShare
Namespace Prefix: | jbss_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date the declared dividend will be paid, in YYYY-MM-DD format. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-3 + Details
Name: | us-gaap_DividendPayableDateToBePaidDayMonthAndYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date the dividend to be paid was declared, in YYYY-MM-DD format. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-3 + Details
Name: | us-gaap_DividendsPayableDateDeclaredDayMonthAndYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date the holder must own the stock to be entitled to the dividend, in YYYY-MM-DD format. + References No definition available. + Details
Name: | us-gaap_DividendsPayableDateOfRecordDayMonthAndYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481674/830-30-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 855 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483399/855-10-50-2 + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DividendsAxis=jbss_O2025M4DividendsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DividendsAxis=jbss_O2025M6DividendsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |