<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>210</ContextCount>
  <ElementCount>452</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>53</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover Page Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/CoverPageCoverPage</Role>
      <ShortName>Cover Page Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952151 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952152 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/ConsolidatedStatementsofOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952153 - Statement - Consolidate Statements of Comprehensive Income Statement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/ConsolidateStatementsofComprehensiveIncomeStatement</Role>
      <ShortName>Consolidate Statements of Comprehensive Income Statement</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952154 - Statement - Consolidated Statements of Stockholders Equity Statement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/ConsolidatedStatementsofStockholdersEquityStatement</Role>
      <ShortName>Consolidated Statements of Stockholders Equity Statement</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952155 - Statement - Consolidated Statements of Cash Flows Statement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/ConsolidatedStatementsofCashFlowsStatement</Role>
      <ShortName>Consolidated Statements of Cash Flows Statement</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952156 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952157 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Level 1 (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESLevel1Notes</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Level 1 (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - ACQUISTIONS Level 1 (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/ACQUISTIONSLevel1Notes</Role>
      <ShortName>ACQUISTIONS Level 1 (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - OPERATING SEGMENTS Level 1 (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/OPERATINGSEGMENTSLevel1Notes</Role>
      <ShortName>OPERATING SEGMENTS Level 1 (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - DEBT Level 1 (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/DEBTLevel1Notes</Role>
      <ShortName>DEBT Level 1 (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - FINANCIAL INSTRUMENTS Level 1 (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/FINANCIALINSTRUMENTSLevel1Notes</Role>
      <ShortName>FINANCIAL INSTRUMENTS Level 1 (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - INCOME TAXES Level 1 (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/INCOMETAXESLevel1Notes</Role>
      <ShortName>INCOME TAXES Level 1 (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE (LOSS) INCOME Level 1 (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/ACCUMULATEDOTHERCOMPREHENSIVELOSSINCOMELevel1Notes</Role>
      <ShortName>ACCUMULATED OTHER COMPREHENSIVE (LOSS) INCOME Level 1 (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - STOCK-BASED COMPENSATION (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/STOCKBASEDCOMPENSATIONNotes</Role>
      <ShortName>STOCK-BASED COMPENSATION (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - DEFERRED COMPENSATION Level 1 (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/DEFERREDCOMPENSATIONLevel1Notes</Role>
      <ShortName>DEFERRED COMPENSATION Level 1 (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - ACCRUED EXPENSES Level 1 (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/ACCRUEDEXPENSESLevel1Notes</Role>
      <ShortName>ACCRUED EXPENSES Level 1 (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - OTHER CONTINGENCIES Level 1 (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/OTHERCONTINGENCIESLevel1Notes</Role>
      <ShortName>OTHER CONTINGENCIES Level 1 (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - LEASES Level 1 (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/LEASESLevel1Notes</Role>
      <ShortName>LEASES Level 1 (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - RELATED PARTY TRANSACTIONS (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/RELATEDPARTYTRANSACTIONSNotes</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Level 2 (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESLevel2Policies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Level 2 (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - OPERATING SEGMENTS Level 2 (Policy)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OPERATINGSEGMENTSLevel2Policy</Role>
      <ShortName>OPERATING SEGMENTS Level 2 (Policy)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - FINANCIAL INSTRUMENTS Fair Value (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/FINANCIALINSTRUMENTSFairValuePolicies</Role>
      <ShortName>FINANCIAL INSTRUMENTS Fair Value (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - STOCK-BASED COMPENSATION STOCK-BASED COMPENSATION (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/STOCKBASEDCOMPENSATIONSTOCKBASEDCOMPENSATIONPolicies</Role>
      <ShortName>STOCK-BASED COMPENSATION STOCK-BASED COMPENSATION (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Level 3 (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESLevel3Tables</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Level 3 (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oildri.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESLevel1Notes</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - ACQUISITIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/ACQUISITIONSTables</Role>
      <ShortName>ACQUISITIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - OPERATING SEGMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OPERATINGSEGMENTSTables</Role>
      <ShortName>OPERATING SEGMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oildri.com/role/OPERATINGSEGMENTSLevel1Notes</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - DEBT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/DEBTTables</Role>
      <ShortName>DEBT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oildri.com/role/DEBTLevel1Notes</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/INCOMETAXESTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oildri.com/role/INCOMETAXESLevel1Notes</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE (LOSS) INCOME Accumulated Other Comprehensive Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/ACCUMULATEDOTHERCOMPREHENSIVELOSSINCOMEAccumulatedOtherComprehensiveIncomeTables</Role>
      <ShortName>ACCUMULATED OTHER COMPREHENSIVE (LOSS) INCOME Accumulated Other Comprehensive Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oildri.com/role/ACCUMULATEDOTHERCOMPREHENSIVELOSSINCOMELevel1Notes</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - STOCK-BASED COMPENSATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/STOCKBASEDCOMPENSATIONTables</Role>
      <ShortName>STOCK-BASED COMPENSATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oildri.com/role/STOCKBASEDCOMPENSATIONNotes</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - ACCRUED EXPENSES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/ACCRUEDEXPENSESTables</Role>
      <ShortName>ACCRUED EXPENSES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oildri.com/role/ACCRUEDEXPENSESLevel1Notes</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - LEASES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/LEASESTables</Role>
      <ShortName>LEASES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oildri.com/role/LEASESLevel1Notes</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Cash and Cash Equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESCashandCashEquivalentsDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Cash and Cash Equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESInventoriesDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Intangible Assets Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIntangibleAssetsAmortizationExpenseDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Intangible Assets Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Intangible Assets Weighted Average Amortization Period (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIntangibleAssetsWeightedAverageAmortizationPeriodDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Intangible Assets Weighted Average Amortization Period (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Goodwill by operating segment(Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGoodwillbyoperatingsegmentDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Goodwill by operating segment(Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Earnings Per Share(Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESEarningsPerShareDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Earnings Per Share(Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNarrativeDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oildri.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESLevel3Tables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - ACQUISITION Asset Acquisition(Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/ACQUISITIONAssetAcquisitionDetails</Role>
      <ShortName>ACQUISITION Asset Acquisition(Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - ACQUISITION Pro Forma Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/ACQUISITIONProFormaInformationDetails</Role>
      <ShortName>ACQUISITION Pro Forma Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - ACQUISITION Nonrecurring Adjustments(Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/ACQUISITIONNonrecurringAdjustmentsDetails</Role>
      <ShortName>ACQUISITION Nonrecurring Adjustments(Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - ACQUISITIONS Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/ACQUISITIONSNarrativeDetails</Role>
      <ShortName>ACQUISITIONS Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - OPERATING SEGMENTS Disaggregation of Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OPERATINGSEGMENTSDisaggregationofRevenueDetails</Role>
      <ShortName>OPERATING SEGMENTS Disaggregation of Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - OPERATING SEGMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OPERATINGSEGMENTSDetails</Role>
      <ShortName>OPERATING SEGMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oildri.com/role/OPERATINGSEGMENTSTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - OPERATING SEGMENTS Financial Information by Geographic Region (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OPERATINGSEGMENTSFinancialInformationbyGeographicRegionDetails</Role>
      <ShortName>OPERATING SEGMENTS Financial Information by Geographic Region (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - OPERATING SEGMENTS Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OPERATINGSEGMENTSNarrativeDetails</Role>
      <ShortName>OPERATING SEGMENTS Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - DEBT Notes Payable (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/DEBTNotesPayableDetails</Role>
      <ShortName>DEBT Notes Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - DEBT Maturities of Notes Payable (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/DEBTMaturitiesofNotesPayableDetails</Role>
      <ShortName>DEBT Maturities of Notes Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - DEBT Debt (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/DEBTDebtNarrativeDetails</Role>
      <ShortName>DEBT Debt (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - FINANCIAL INSTRUMENTS Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/FINANCIALINSTRUMENTSNarrativeDetails</Role>
      <ShortName>FINANCIAL INSTRUMENTS Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - INCOME TAXES Income before Income Tax (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/INCOMETAXESIncomebeforeIncomeTaxDetails</Role>
      <ShortName>INCOME TAXES Income before Income Tax (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - INCOME TAXES Income Tax Provision (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/INCOMETAXESIncomeTaxProvisionDetails</Role>
      <ShortName>INCOME TAXES Income Tax Provision (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - INCOME TAXES Income Taxes Paid (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/INCOMETAXESIncomeTaxesPaidDetails</Role>
      <ShortName>INCOME TAXES Income Taxes Paid (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - INCOME TAXES Income Tax Effective Rate Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/INCOMETAXESIncomeTaxEffectiveRateReconciliationDetails</Role>
      <ShortName>INCOME TAXES Income Tax Effective Rate Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - INCOME TAXES Components of Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/INCOMETAXESComponentsofDeferredTaxAssetsandLiabilitiesDetails</Role>
      <ShortName>INCOME TAXES Components of Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - INCOME TAXES Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/INCOMETAXESNarrativeDetails</Role>
      <ShortName>INCOME TAXES Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE (LOSS) INCOME Accumulated Other Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/ACCUMULATEDOTHERCOMPREHENSIVELOSSINCOMEAccumulatedOtherComprehensiveIncomeDetails</Role>
      <ShortName>ACCUMULATED OTHER COMPREHENSIVE (LOSS) INCOME Accumulated Other Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oildri.com/role/ACCUMULATEDOTHERCOMPREHENSIVELOSSINCOMEAccumulatedOtherComprehensiveIncomeTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - STOCK-BASED COMPENSATION (Summary of Restricted Stock Activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/STOCKBASEDCOMPENSATIONSummaryofRestrictedStockActivityDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION (Summary of Restricted Stock Activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oildri.com/role/STOCKBASEDCOMPENSATIONTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - STOCK-BASED COMPENSATION (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/STOCKBASEDCOMPENSATIONNarrativeDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oildri.com/role/STOCKBASEDCOMPENSATIONTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - DEFERRED COMPENSATION Deferred Comp and Bonus (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/DEFERREDCOMPENSATIONDeferredCompandBonusDetails</Role>
      <ShortName>DEFERRED COMPENSATION Deferred Comp and Bonus (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - Payables and Accruals (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/PayablesandAccrualsDetails</Role>
      <ShortName>Payables and Accruals (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - OTHER CONTINGENCIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OTHERCONTINGENCIESDetails</Role>
      <ShortName>OTHER CONTINGENCIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oildri.com/role/OTHERCONTINGENCIESLevel1Notes</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955564 - Disclosure - LEASES Lease, Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/LEASESLeaseCostDetails</Role>
      <ShortName>LEASES Lease, Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955565 - Disclosure - LEASES Lessee, Operating Lease, Liability, Payment Due, Rolling Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/LEASESLesseeOperatingLeaseLiabilityPaymentDueRollingMaturityDetails</Role>
      <ShortName>LEASES Lessee, Operating Lease, Liability, Payment Due, Rolling Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="odc-20260731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955567 - Disclosure - RELATED PARTY TRANSACTIONS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/RELATEDPARTYTRANSACTIONSDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oildri.com/role/RELATEDPARTYTRANSACTIONSNotes</ParentRole>
      <Position>70</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="odc-20260731.htm">odc-20260731.htm</File>
    <File>odc-20260731.xsd</File>
    <File>odc-20260731_cal.xml</File>
    <File>odc-20260731_def.xml</File>
    <File>odc-20260731_lab.xml</File>
    <File>odc-20260731_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>odc-20260731_g1.jpg</File>
    <File>odc-20260731_g2.jpg</File>
    <File>odc-20260731_g3.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1235">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="10">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="39">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
