v3.25.2
Inventories (Details) - USD ($)
$ in Thousands
Jun. 30, 2025
Jun. 30, 2024
Inventory [Line Items]    
U.S. inventories at average cost $ 587,479 $ 557,313
Foreign inventories at average cost 150,534 156,873
Inventory, Gross, Total 738,013 714,186
Less: Excess of average cost over LIFO cost for U.S. inventories 232,676 225,928
Inventories $ 505,337 $ 488,258