XML 87 R58.htm IDEA: XBRL DOCUMENT
v3.25.3

Inventories, Net - Schedule of Inventories Impairment Consists (Details) - USD ($) | 12 Months Ended
--- | ---
Jun. 30, 2025 | Jun. 30, 2024 | Jun. 30, 2023
Schedule of Inventories Impairment Consists [Abstract] |  |  |
Beginning balance | $ (1,263,735) | $ (732,897) | $ (655,783)
Addition | (24,116) | (564,020) | (133,218)
Write-offs | 669,919 | 27,596 |
Foreign currency exchange effect | (13,423) | 5,586 | 56,104
Ending balance | $ (631,355) | $ (1,263,735) | $ (732,897)

X
- Definition Represent the amount of inventory addition. + References No definition available. + Details
Name: | mgih_InventoryAddition
Namespace Prefix: | mgih_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Represent the amount of inventory foreign currency exchange effect. + References No definition available. + Details
Name: | mgih_InventoryForeignCurrencyExchangeEffect
Namespace Prefix: | mgih_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of inventory reserves for last-in first-out (LIFO) and other inventory valuation methods. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 330 -SubTopic 10 -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483080/330-10-50-1 + Details
Name: | us-gaap_InventoryAdjustments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_InventoryAdjustmentsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of loss from reductions in inventory due to subsequent measurement adjustments, including, but not limited to, physical deterioration, obsolescence, or changes in price levels. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 330 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483080/330-10-50-2 + Details
Name: | us-gaap_InventoryWriteDown
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration