XML 61 R49.htm IDEA: XBRL DOCUMENT
v3.25.2

Significant Accounting Policies - Estimated Useful Lives of Property, Plant and Equipment (Detail) | Jun. 26, 2025
--- | ---
Minimum [Member] | Buildings [Member] |
Property Plant And Equipment Estimated Useful Lives [Line Items] |
Property, plant and equipment estimated useful life | 10 years
Minimum [Member] | Machinery and equipment [Member] |
Property Plant And Equipment Estimated Useful Lives [Line Items] |
Property, plant and equipment estimated useful life | 5 years
Minimum [Member] | Furniture and leasehold improvements [Member] |
Property Plant And Equipment Estimated Useful Lives [Line Items] |
Property, plant and equipment estimated useful life | 5 years
Minimum [Member] | Vehicles [Member] |
Property Plant And Equipment Estimated Useful Lives [Line Items] |
Property, plant and equipment estimated useful life | 3 years
Minimum [Member] | Computers and software [Member] |
Property Plant And Equipment Estimated Useful Lives [Line Items] |
Property, plant and equipment estimated useful life | 3 years
Maximum [Member] | Buildings [Member] |
Property Plant And Equipment Estimated Useful Lives [Line Items] |
Property, plant and equipment estimated useful life | 30 years
Maximum [Member] | Machinery and equipment [Member] |
Property Plant And Equipment Estimated Useful Lives [Line Items] |
Property, plant and equipment estimated useful life | 10 years
Maximum [Member] | Furniture and leasehold improvements [Member] |
Property Plant And Equipment Estimated Useful Lives [Line Items] |
Property, plant and equipment estimated useful life | 10 years
Maximum [Member] | Vehicles [Member] |
Property Plant And Equipment Estimated Useful Lives [Line Items] |
Property, plant and equipment estimated useful life | 5 years
Maximum [Member] | Computers and software [Member] |
Property Plant And Equipment Estimated Useful Lives [Line Items] |
Property, plant and equipment estimated useful life | 10 years

X
- Definition Property Plant And Equipment Estimated Useful Lives [Line Items] + References No definition available. + Details
Name: | jbss_PropertyPlantAndEquipmentEstimatedUsefulLivesLineItems
Namespace Prefix: | jbss_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_MachineryAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=jbss_FurnitureAndFixturesAndLeaseholdImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_VehiclesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_TechnologyEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |