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

Consolidated Balance Sheets (Unaudited) (Parenthetical) - USD ($) $ in Millions | Sep. 26, 2025 | Dec. 27, 2024
--- | --- | ---
Statement of Financial Position [Abstract] |  |
Allowance for Credits | $ 5.9 | $ 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