XML 18 R5.htm IDEA: XBRL DOCUMENT
v3.25.1

Consolidated Balance Sheets (Unaudited) (Parenthetical) - USD ($) $ in Millions | Mar. 28, 2025 | Dec. 27, 2024
--- | --- | ---
Statement of Financial Position [Abstract] |  |
Allowance for Credits | $ 6.2 | $ 6.0

X
- Definition Allowance for Credits: Includes allowance for doubtful accounts and other credits against receivables. + References No definition available. + Details
Name: | ggg_AllowanceforCredits
Namespace Prefix: | ggg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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