XML 82 R63.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Debt (Narrative) (Details) - USD ($) |  |  | 12 Months Ended
--- | --- | --- | ---
Dec. 16, 2022 | Dec. 15, 2022 | Dec. 27, 2024 | Dec. 29, 2023 | Dec. 30, 2022
Line of Credit Facility [Line Items] |  |  |  |  |
Maximum borrowing amount - credit facility |  |  | $ 818,000,000 |  |
Interest paid |  |  | 3,000,000 | $ 6,000,000 | $ 10,000,000
Committed Facility |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Unused portion of credit facility |  |  | 778,000,000 |  |
Shelf Notes |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Maximum borrowing amount - credit facility | $ 250,000,000 | $ 200,000,000 |  |  |
Floating Rate Principal Maximum | $ 100,000,000 |  |  |  |
Line of Credit Facility, Expiration Period | 15 years | 12 years |  |  |
Revolving Credit Facility |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Chinese Renminbi Facility Maximum Borrowing Capacity |  |  | $ 50,000,000 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Minimum |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage |  |  | 0.125% |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Minimum | Cash flow leverage ratio no acquisition |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  | 1.00 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Minimum | Cash flow leverage ratio with acquisitions |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  | 1.00 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Minimum | Interest coverage ratio no acquisitions |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  | 1.00 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Minimum | Interest coverage ratio with acquisitions |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  | 1.00 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Maximum |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage |  |  | 0.25% |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Maximum | Cash flow leverage ratio no acquisition |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  | 3.50 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Maximum | Cash flow leverage ratio with acquisitions |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  | 4.00 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Maximum | Interest coverage ratio no acquisitions |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  | 3.00 |  |
Revolving Credit Facility | Committed Facility | Line of Credit | Maximum | Interest coverage ratio with acquisitions |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Debt Instrument, Covenant Compliance |  |  | 2.50 |  |
Domestic Line of Credit | Committed Facility |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Maximum borrowing amount - credit facility |  |  | $ 800,000,000 |  |
Foreign Line of Credit | Committed Facility |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Maximum borrowing amount - credit facility |  |  | 18,000,000 |  |
Foreign Line of Credit | Uncommitted Facility |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Unused portion of credit facility |  |  | $ 20,000,000 |  |
Foreign Line of Credit | Uncommitted Facility | Maximum |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |
Loan commitment fee percentage |  |  | 0.15% |  |

X
- Definition Chinese Renminbi Facility Maximum Borrowing Capacity + References No definition available. + Details
Name: | ggg_ChineseRenminbiFacilityMaximumBorrowingCapacity
Namespace Prefix: | ggg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Floating Rate Principal Maximum + References No definition available. + Details
Name: | ggg_FloatingRatePrincipalMaximum
Namespace Prefix: | ggg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition States whether the entity was in compliance with the debt covenants throughout the reporting period, and describes facts and circumstances of any compliance failure. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -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 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477734/942-470-50-3 + Details
Name: | us-gaap_DebtInstrumentCovenantCompliance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash paid for interest, including, but not limited to, capitalized interest and payment to settle zero-coupon bond attributable to accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount; classified as operating and investing activities. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-2 + Details
Name: | us-gaap_InterestPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The fee, expressed as a percentage of the line of credit facility, for the line of credit facility regardless of whether the facility has been used. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period remaining on line of credit facility before it terminates, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ggg_CommittedFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ggg_ShelfNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ggg_CovenantRatioAxis=ggg_CashFlowLeverageRatioNoAcquisitionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ggg_CovenantRatioAxis=ggg_CashFlowLeverageRatioWithAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ggg_CovenantRatioAxis=ggg_InterestCoverageRatioNoAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ggg_CovenantRatioAxis=ggg_InterestCoverageRatioWithAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_DomesticLineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_ForeignLineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ggg_UncommittedFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |