/* Shared navigation row style, independent of the lazy-loaded panel content. */
.kgpd-header :is(.kgpd-mega-tab,.kgpd-catalog-tab,.outdoor-step-groups>a),
.kgpd-catalog-drawer .kgpd-catalog-tab,
.kgpd-catalog-drawer .kgpd-catalog-child-primary {
 display:grid!important;grid-template-columns:28px minmax(0,1fr) 16px!important;
 align-items:center!important;gap:12px!important;min-height:52px!important;
 padding:12px!important;margin:0!important;border:0!important;
 border-bottom:1px solid #dfe6ed!important;border-radius:0!important;
 color:#1d3a6a!important;background:transparent!important;
 font-size:13px!important;font-weight:600!important;line-height:1.4!important;
 text-decoration:none!important;box-shadow:none!important;
}
.kgpd-header :is(.kgpd-mega-tab,.kgpd-catalog-tab,.outdoor-step-groups>a)>.kgpd-icon,
.kgpd-catalog-drawer :is(.kgpd-catalog-tab,.kgpd-catalog-child-primary)>.kgpd-icon {
 width:28px!important;height:28px!important;stroke-width:1.7!important;fill:none!important;color:inherit!important;
}
.kgpd-header :is(.kgpd-mega-tab,.kgpd-catalog-tab,.outdoor-step-groups>a)>span,
.kgpd-catalog-drawer :is(.kgpd-catalog-tab,.kgpd-catalog-child-primary)>span {min-width:0;overflow-wrap:anywhere;white-space:normal}
.kgpd-header :is(.kgpd-mega-tab,.kgpd-catalog-tab,.outdoor-step-groups>a)>b,
.kgpd-catalog-drawer :is(.kgpd-catalog-tab,.kgpd-catalog-child-primary)>b {justify-self:end;font-size:20px;line-height:1}
.kgpd-header :is(.kgpd-mega-tab,.kgpd-catalog-tab,.outdoor-step-groups>a):hover,
.kgpd-catalog-drawer :is(.kgpd-catalog-tab,.kgpd-catalog-child-primary):hover {background:#f4f8fc!important}
.kgpd-header :is(.kgpd-mega-tab,.kgpd-catalog-tab,.outdoor-step-groups>a):is(.is-active,[aria-expanded=true]),
.kgpd-catalog-drawer :is(.kgpd-catalog-tab,.kgpd-catalog-child-primary).is-active {
 background:#fff7f2!important;box-shadow:inset 3px 0 #ff5b24!important;font-weight:700!important;
}
.kgpd-header :is(.kgpd-mega-tab,.kgpd-catalog-tab,.outdoor-step-groups>a):focus-visible,
.kgpd-catalog-drawer :is(.kgpd-catalog-tab,.kgpd-catalog-child-primary):focus-visible {outline:2px solid #1d3a6a!important;outline-offset:-2px!important}
.kgpd-mega-sidebar>h3,.kgpd-catalog-title>h2 {font-size:20px!important;font-weight:700!important;line-height:1.25!important}
.kgpd-mega-sidebar>h3>.kgpd-icon {width:36px!important;height:36px!important}
@media(max-width:900px){
 .kgpd-header :is(.kgpd-mega-tab,.kgpd-catalog-tab,.outdoor-step-groups>a),
 .kgpd-catalog-drawer :is(.kgpd-catalog-tab,.kgpd-catalog-child-primary) {font-size:14px!important;min-height:54px!important;padding:12px 10px!important;gap:10px!important}
}
/* Keep the third level as readable as the two preceding levels. */
#kgpd-products-drawer .kgpd-catalog-grandchildren a,
#kgpd-products-drawer .kgpd-catalog-grandchildren a>span {
 font-size:13px!important;font-weight:500!important;line-height:1.45!important;
}
#kgpd-products-drawer .kgpd-catalog-third-title h3 {font-size:16px!important;font-weight:700!important;line-height:1.3!important}
#kgpd-products-drawer .kgpd-catalog-panel-title h2 {font-size:21px!important;line-height:1.25!important}
@media(max-width:900px){
 #kgpd-products-drawer .kgpd-catalog-grandchildren a,
 #kgpd-products-drawer .kgpd-catalog-grandchildren a>span {font-size:14px!important;min-height:44px}
 #kgpd-products-drawer .kgpd-catalog-panel-title h2 {font-size:20px!important}
}

/* Furniture sidebar typography: 2026-11-19 afternoon */
#kgpd-furniture-mega .kgpd-mega-sidebar .kgpd-mega-tab,
#kgpd-furniture-mega .kgpd-mega-all {font-size:12px!important;line-height:1.4!important}
#kgpd-furniture-mega .kgpd-mega-sidebar>h3 {font-size:18px!important}
@media(max-width:900px){#kgpd-furniture-mega .kgpd-mega-sidebar .kgpd-mega-tab,#kgpd-furniture-mega .kgpd-mega-all {font-size:13px!important}}

/* Shared smaller typography across all navigation levels, 2026-11-20. */
:is(#kgpd-products-drawer,#kgpd-furniture-mega,#kgpd-outdoor-mega) {--kgpd-nav-link-size:13px;--kgpd-nav-heading-size:20px}
:is(#kgpd-products-drawer,#kgpd-furniture-mega,#kgpd-outdoor-mega) :is(.kgpd-mega-tab,.kgpd-mega-all,.kgpd-catalog-tab,.kgpd-catalog-child-primary,.kgpd-catalog-grandchildren a,.kgpd-catalog-all,.kgpd-catalog-panel-title>a,.kgpd-mega-links a,.outdoor-step-groups>a,.outdoor-step-links>a) {font-size:var(--kgpd-nav-link-size)!important}
:is(#kgpd-products-drawer,#kgpd-furniture-mega,#kgpd-outdoor-mega) :is(.kgpd-mega-sidebar>h3,.kgpd-catalog-title>h2,.kgpd-catalog-panel-title h2,.kgpd-mega-panel h2) {font-size:var(--kgpd-nav-heading-size)!important;line-height:1.3!important}
@media(max-width:900px){:is(#kgpd-products-drawer,#kgpd-furniture-mega,#kgpd-outdoor-mega){--kgpd-nav-link-size:14px;--kgpd-nav-heading-size:19px}}
:is(#kgpd-furniture-mega,#kgpd-outdoor-mega) .kgpd-mega-feature h3 {font-size:15px!important;line-height:1.35!important}
:is(#kgpd-furniture-mega,#kgpd-outdoor-mega) .kgpd-mega-planning h3 {font-size:17px!important;line-height:1.35!important}
:is(#kgpd-furniture-mega,#kgpd-outdoor-mega) :is(.kgpd-mega-subcategory-links a,.kgpd-mega-title-link,.kgpd-mega-planning-button,.kgpd-mega-audiences a) {font-size:12px!important;line-height:1.4!important}
:is(#kgpd-furniture-mega,#kgpd-outdoor-mega) .kgpd-mega-subcategories>h3 {font-size:13px!important}
@media(max-width:900px){:is(#kgpd-furniture-mega,#kgpd-outdoor-mega) :is(.kgpd-mega-subcategory-links a,.kgpd-mega-title-link,.kgpd-mega-planning-button,.kgpd-mega-audiences a){font-size:14px!important;min-height:44px}}
