XML 117 R105.htm IDEA: XBRL DOCUMENT
v3.25.2

Subsequent Event - Additional Information (Detail) - $ / shares | Sep. 11, 2025 | Aug. 19, 2025 | Jul. 15, 2025
--- | --- | --- | ---
O2025M1 Dividends [Member] |  |  |
Subsequent Event [Line Items] |  |  |
Special cash dividend |  |  | $ 0.6
Annual common stock dividend declared |  |  | $ 0.9
Dividend payable date, declared day |  |  | Jul. 15, 2025
Subsequent Event [Member] | O2025M1 Dividends [Member] |  |  |
Subsequent Event [Line Items] |  |  |
Special cash dividend |  |  | $ 0.6
Annual common stock dividend declared |  |  | $ 0.9
Dividend payable date, declared day |  |  | Jul. 15, 2025
Subsequent Event [Member] | O2025M2 Dividends [Member] |  |  |
Subsequent Event [Line Items] |  |  |
Stockholders of record date |  | Aug. 19, 2025 |
Subsequent Event [Member] | O2025M3 Dividends [Member] |  |  |
Subsequent Event [Line Items] |  |  |
Dividend payable date | Sep. 11, 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 The per share amount of a dividend declared, but not paid, as of the financial reporting date. + 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_DividendsPayableAmountPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

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_DividendsAxis=jbss_O2025M1DividendsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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_O2025M2DividendsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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