XML 163 R140.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Agreement to acquire OCI Global's methanol business (Details) - OCI Global Acquisition shares in Millions, $ in Millions | Sep. 08, 2024 USD ($) shares
--- | ---
Disclosure of detailed information about business combination [line items] |
Cash transferred | $ | $ 1,180
Number of shares issued (in shares) | shares | 9.9

X
- Definition The fair value, at acquisition date, of cash transferred as consideration in a business combination. [Refer: Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -Subparagraph f -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_f_i&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_CashTransferred
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfBusinessCombinationsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of shares issued by the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 106 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_106_d&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_NumberOfSharesIssued
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=mx_OCIGlobalAcquisitionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |