v3.26.1
DERIVATIVES (Derivatives Not Designated as Hedging Instruments) (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Feb. 28, 2026
Feb. 28, 2025
Feb. 28, 2026
Feb. 28, 2025
Derivative Instruments, Gain (Loss) [Line Items]        
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification, after Tax $ 5,030 $ 22,695 $ 7,863 $ 23,115
Commodity        
Derivative Instruments, Gain (Loss) [Line Items]        
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification, after Tax 5,029 22,690 7,861 23,102
Commodity | Cost of goods sold        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments (in thousands) (14,823) (8,484) (24,179) (4,742)
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, before Tax 6,344 2,998 9,222 4,571
Foreign exchange        
Derivative Instruments, Gain (Loss) [Line Items]        
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification, after Tax 1 5 2 13
Foreign exchange | SG&A expenses        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments (in thousands) 3,570 5,186 4,683 2,014
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, before Tax $ 9 $ 42 $ 15 $ 107