XML 110 R98.htm IDEA: XBRL DOCUMENT
v3.25.2

Retirement Plan - Components of Actuarial Loss Portion of Change in Projected Benefit Obligation (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jun. 26, 2025 | Jun. 27, 2024 | Jun. 29, 2023
Schedule Of Actuarial Gain Loss In Projected Benefit Obligation [Abstract] |  |  |
Change in assumed pay increases | $ 1,119 | $ 1,418 | $ (70)
Change in discount rate | (141) | (1,138) | (1,584)
Change in mortality assumptions | 0 | 0 | (0)
Other | (338) | (1,943) | (1,353)
Actuarial gain | $ 640 | $ (1,663) | $ (3,007)

X
- Definition Actuarial gain loss other. + References No definition available. + Details
Name: | jbss_ActuarialGainLossOther
Namespace Prefix: | jbss_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Change In Assumed Pay Increases Impacting Actuarial Gain Loss + References No definition available. + Details
Name: | jbss_ChangeInAssumedPayIncreasesImpactingActuarialGainLoss
Namespace Prefix: | jbss_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Change In Discount Rate Impacting Actuarial Gain Loss + References No definition available. + Details
Name: | jbss_ChangeInDiscountRateImpactingActuarialGainLoss
Namespace Prefix: | jbss_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Change in mortality assumption impacting actuarial gain (loss). + References No definition available. + Details
Name: | jbss_ChangeInMortalityAssumptionImpactingActuarialGainLoss
Namespace Prefix: | jbss_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Schedule of actuarial gain loss in projected benefit obligation. + References No definition available. + Details
Name: | jbss_ScheduleOfActuarialGainLossInProjectedBenefitObligationAbstract
Namespace Prefix: | jbss_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of gain (loss) from change in actuarial assumptions which (increases) decreases benefit obligation of defined benefit plan. Assumptions include, but are not limited to, interest, mortality, employee turnover, salary, and temporary deviation from substantive plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanActuarialGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration