XML 45 R34.htm IDEA: XBRL DOCUMENT
v3.23.1

BASIS OF PRESENTATION AND CONSOLIDATION AND ACCOUNTING POLICIES -Basis of Presentation and Consolidation (Details) | Jul. 01, 2022
--- | ---
Held-for-sale | Brazil |
Business And Organization |
Percentage of equity interest relinquished | 100.00%

X
- Definition Business And Organization [Line Items] + References No definition available. + Details
Name: | gpi_BusinessAndOrganizationLineItems
Namespace Prefix: | gpi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Discontinued Operations, Equity Interest Relinquished + References No definition available. + Details
Name: | gpi_DiscontinuedOperationsEquityInterestRelinquished
Namespace Prefix: | gpi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_DisposalGroupClassificationAxis=us-gaap_DiscontinuedOperationsHeldforsaleMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis=gpi_BrazilSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |