v3.26.1
Restructuring - Restructuring Plan Costs (Details) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Restructuring Cost and Reserve [Line Items]      
Restructuring charges $ 215 $ 64 $ 97
Berry Plan      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 194 14 0
2023 Restructuring Plan      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 0 44 87
2023 Restructuring Plan | Restructuring related      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges   10 15
Other Restructuring Plans      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 21 6 10
Other Restructuring Plans | Restructuring related      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 12 $ 3 4
Other Restructuring Plans | Fixed Asset Related Costs      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges $ 2   $ 2