v3.26.1
DERIVATIVES (Derivatives Not Designated as Hedging Instruments) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2026
May 31, 2025
May 31, 2026
May 31, 2025
Derivative Instruments, Gain (Loss) [Line Items]        
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification, after Tax $ (3,172) $ 6,378 $ 4,691 $ 29,493
Commodity        
Derivative Instruments, Gain (Loss) [Line Items]        
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification, after Tax (3,173) 6,374 4,688 29,476
Commodity | Cost of goods sold        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments (in thousands) (2,133) 943 (26,312) (3,799)
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, before Tax 1,121 1,432 10,343 6,003
Foreign exchange | SG&A expenses        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments (in thousands) $ (7,737) $ 6,108 $ (3,054) $ 8,122