/** Premium responsive navigation. Loaded last to isolate the OC4 menu from legacy parity rules. */
:root {
	--gl-menu-ink: #163b21;
	--gl-menu-muted: #66756a;
	--gl-menu-green: #237c31;
	--gl-menu-green-dark: #165e24;
	--gl-menu-pale: #f2f7f0;
	--gl-menu-line: #dce7d8;
	--gl-menu-gold: #d9a33a;
}

.gl-premium-navigation { background: #fff; border-bottom: 1px solid #e2e9df; position: relative; z-index: 1020; }
.gl-premium-navigation > .container { position: relative; }
.gl-premium-navigation .greenleaf-nav { background: transparent !important; border: 0 !important; margin: 0 !important; min-height: 76px; padding: 12px 0 !important; position: static; }
.gl-navigation-desktop { display: block; width: 100%; }
.gl-navigation-desktop > .navbar-nav { align-items: center !important; display: flex; flex-direction: row; gap: clamp(5px, 1.15vw, 20px) !important; min-height: 52px; padding: 0 !important; }
.gl-navigation-desktop .nav-item { margin: 0; }
.gl-navigation-desktop .nav-link { align-items: center; background: transparent; border: 0; border-radius: 12px; color: var(--gl-menu-ink) !important; display: inline-flex; font-size: 13px !important; font-weight: 750 !important; gap: 9px; height: 52px; line-height: 1.2; padding: 0 12px !important; text-decoration: none; text-transform: none !important; transition: background-color .18s ease, color .18s ease, transform .18s ease; white-space: nowrap; }
.gl-navigation-desktop .nav-link:hover,
.gl-navigation-desktop .nav-link:focus-visible { background: var(--gl-menu-pale) !important; color: var(--gl-menu-green-dark) !important; outline: none; }
.gl-navigation-desktop .greenleaf-home-link .nav-link { justify-content: center; min-width: 44px; padding: 0 !important; }

.gl-navigation-desktop .greenleaf-catalog-menu { position: static !important; }
.gl-navigation-desktop .greenleaf-catalog-toggle { background: linear-gradient(145deg, #318a3b, #1b6828) !important; box-shadow: 0 8px 20px rgba(25, 105, 38, .22); color: #fff !important; justify-content: flex-start; min-width: 232px; padding: 0 22px !important; }
.gl-navigation-desktop .greenleaf-catalog-toggle:hover,
.gl-navigation-desktop .greenleaf-catalog-toggle:focus-visible,
.gl-navigation-desktop .greenleaf-catalog-toggle[aria-expanded="true"] { background: linear-gradient(145deg, #277d33, #145821) !important; color: #fff !important; transform: translateY(-1px); }
.gl-navigation-desktop .gl-catalog-chevron { font-size: 10px; margin-left: auto; transition: transform .2s ease; }
.gl-navigation-desktop .greenleaf-catalog-toggle[aria-expanded="true"] .gl-catalog-chevron { transform: rotate(180deg); }

.gl-catalog-panel { left: 0; padding-top: 4px; position: absolute; right: 0; top: 100%; z-index: 1050; }
.gl-catalog-panel[hidden] { display: none !important; }
.gl-catalog-panel__shell { background: #fff; border: 1px solid var(--gl-menu-line); border-radius: 0 0 18px 18px; box-shadow: 0 26px 65px rgba(20, 70, 35, .18); display: grid; grid-template-columns: 280px minmax(0, 1fr); height: min(620px, calc(100vh - 250px)); max-height: min(620px, calc(100vh - 250px)); min-height: min(440px, calc(100vh - 250px)); overflow: hidden; }
.gl-catalog-roots { background: linear-gradient(180deg, #f6faf4, #eef5ec); border-right: 1px solid var(--gl-menu-line); min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 10px; }
.gl-catalog-root { align-items: center; background: transparent; border: 0; border-radius: 12px; color: #294a31; display: grid; font-size: 13px; font-weight: 700; gap: 10px; grid-template-columns: 44px minmax(0, 1fr) 12px; line-height: 1.25; margin: 0 0 3px; min-height: 55px; padding: 6px 10px; text-align: left; transition: background-color .16s ease, box-shadow .16s ease, color .16s ease; width: 100%; }
.gl-catalog-root:hover,
.gl-catalog-root:focus-visible,
.gl-catalog-root.is-active { background: #fff; box-shadow: 0 6px 18px rgba(25, 92, 38, .09); color: var(--gl-menu-green-dark); outline: none; }
.gl-catalog-root__media { align-items: center; background: #fff; border: 1px solid #e1eadf; border-radius: 10px; color: var(--gl-menu-green); display: flex; height: 44px; justify-content: center; overflow: hidden; width: 44px; }
.gl-catalog-root__media img { display: block; height: 100%; object-fit: cover; width: 100%; }
.gl-catalog-root > i { color: #8ba08d; font-size: 10px; }
.gl-catalog-root.is-active > i { color: var(--gl-menu-green); }

.gl-catalog-content { min-height: 0; min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px 28px 28px; }
.gl-catalog-section[hidden] { display: none !important; }
.gl-catalog-section__header { align-items: center; border-bottom: 1px solid #e6ede3; display: flex; justify-content: space-between; margin-bottom: 22px; padding-bottom: 18px; }
.gl-catalog-section__eyebrow { color: #8a6a24; display: block; font-size: 10px; font-weight: 850; letter-spacing: .13em; margin-bottom: 5px; text-transform: uppercase; }
.gl-catalog-section__header h2 { color: #173b21; font-size: 25px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.gl-catalog-section__all { align-items: center; border: 1px solid #cfe0cc; border-radius: 999px; color: var(--gl-menu-green-dark) !important; display: inline-flex; font-size: 12px; font-weight: 800; gap: 9px; min-height: 38px; padding: 0 16px; text-decoration: none; white-space: nowrap; }
.gl-catalog-section__all:hover,
.gl-catalog-section__all:focus-visible { background: var(--gl-menu-green); border-color: var(--gl-menu-green); color: #fff !important; outline: none; }
.gl-catalog-groups { column-gap: 30px; columns: 3; }
.gl-catalog-group { break-inside: avoid; margin: 0 0 22px; }
.gl-catalog-group__title { color: #1a4826 !important; display: inline-block; font-size: 15px; font-weight: 800; line-height: 1.35; margin-bottom: 8px; text-decoration: none; }
.gl-catalog-group__title:hover,
.gl-catalog-group__title:focus-visible { color: #2b8b38 !important; text-decoration: underline; text-decoration-color: #afd0ad; text-underline-offset: 4px; }
.gl-catalog-group ul { border-left: 1px solid #dfe8dd; list-style: none; margin: 0; padding: 0 0 0 12px; }
.gl-catalog-group li { margin: 0 0 6px; }
.gl-catalog-group li a { color: #637267 !important; font-size: 13px; line-height: 1.45; text-decoration: none; }
.gl-catalog-group li a:hover,
.gl-catalog-group li a:focus-visible { color: var(--gl-menu-green) !important; }
.gl-catalog-empty { align-items: center; color: var(--gl-menu-muted); display: flex; flex-direction: column; gap: 14px; justify-content: center; min-height: 280px; text-align: center; }
.gl-catalog-empty i { color: #91b393; font-size: 36px; }
.gl-catalog-empty p { margin: 0; }

.gl-mobile-menu--inline,
.gl-mobile-menu-backdrop,
.gl-mobile-drawer { display: none; }

@media (max-width: 1199px) and (min-width: 992px) {
	.gl-navigation-desktop > .navbar-nav { gap: 4px !important; }
	.gl-navigation-desktop .nav-link { font-size: 12px !important; gap: 6px; padding-left: 8px !important; padding-right: 8px !important; }
	.gl-navigation-desktop .greenleaf-catalog-toggle { min-width: 190px; padding-left: 16px !important; padding-right: 16px !important; }
	.gl-catalog-panel__shell { grid-template-columns: 250px minmax(0, 1fr); }
	.gl-catalog-content { padding-left: 22px; padding-right: 22px; }
	.gl-catalog-groups { column-gap: 22px; }
}

@media (max-width: 991px) {
	html.gl-menu-lock,
	body.gl-menu-lock { overflow: hidden !important; }
	.gl-premium-navigation { border: 0; height: 0; min-height: 0; }
	.gl-premium-navigation > .container { max-width: none; padding: 0; }
	.gl-premium-navigation .greenleaf-nav { min-height: 0; padding: 0 !important; }
	.gl-navigation-desktop { display: none !important; }
	.gl-mobile-menu--inline { align-items: center; background: #207b30; border: 0; border-radius: 0 0 12px 0; color: #fff; display: inline-flex; font-size: 13px; font-weight: 800; gap: 10px; left: 0; min-height: 48px; padding: 0 18px; position: absolute; top: 0; }
	.greenleaf-store-32 .gl-mobile-menu--inline,
	.greenleaf-store-55 .gl-mobile-menu--inline { display: none !important; }

	.gl-mobile-menu-backdrop { background: rgba(12, 30, 17, .56); display: block; inset: 0; opacity: 0; position: fixed; transition: opacity .24s ease; z-index: 1990; }
	.gl-mobile-menu-backdrop.is-open { opacity: 1; }
	.gl-mobile-menu-backdrop[hidden] { display: none !important; }
	.gl-mobile-drawer { background: #fff; box-shadow: 22px 0 60px rgba(10, 37, 17, .25); display: grid; grid-template-rows: 68px minmax(0, 1fr); height: 100vh; height: 100dvh; left: 0; max-width: 410px; position: fixed; top: 0; transform: translateX(-104%); transition: transform .28s cubic-bezier(.22,.74,.26,1); width: min(92vw, 410px); z-index: 2000; }
	.gl-mobile-drawer.is-open { transform: translateX(0); }
	.gl-mobile-drawer[hidden] { display: none !important; }
	.gl-mobile-drawer__header { align-items: center; background: linear-gradient(145deg, #276f34, #184f24); color: #fff; display: flex; justify-content: space-between; padding: 0 16px 0 20px; }
	.gl-mobile-drawer__header span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .13em; opacity: .75; text-transform: uppercase; }
	.gl-mobile-drawer__header strong { display: block; font-size: 18px; line-height: 1.2; margin-top: 3px; }
	.gl-mobile-drawer__header button { align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff; display: flex; font-size: 18px; height: 44px; justify-content: center; width: 44px; }
	.gl-mobile-stage { min-height: 0; overflow: hidden; position: relative; }
	.gl-mobile-root-panel,
	.gl-mobile-subpanel { background: #fff; height: 100%; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 14px calc(28px + env(safe-area-inset-bottom)); position: absolute; transition: opacity .24s ease, transform .28s cubic-bezier(.22,.74,.26,1); }
	.gl-mobile-root-panel { transform: translateX(0); }
	.gl-mobile-root-panel.is-shifted { opacity: 0; transform: translateX(-28%); pointer-events: none; }
	.gl-mobile-subpanel { opacity: 0; transform: translateX(104%); visibility: hidden; }
	.gl-mobile-subpanel.is-active { opacity: 1; transform: translateX(0); visibility: visible; }
	.gl-mobile-home { align-items: center; background: #f1f7ef; border-radius: 12px; color: #245d2e !important; display: flex; font-size: 14px; font-weight: 800; gap: 12px; min-height: 48px; padding: 0 15px; text-decoration: none; }
	.gl-mobile-categories { margin-top: 12px; }
	.gl-mobile-category-row { align-items: stretch; border-bottom: 1px solid #e8eee6; display: grid; grid-template-columns: minmax(0, 1fr) 48px; min-height: 64px; }
	.gl-mobile-category-row > a { align-items: center; color: #24452c !important; display: grid; font-size: 14px; font-weight: 720; gap: 12px; grid-template-columns: 48px minmax(0, 1fr); line-height: 1.3; padding: 7px 6px 7px 2px; text-decoration: none; }
	.gl-mobile-category-row__media { align-items: center; background: #f5f8f3; border: 1px solid #e1e9df; border-radius: 12px; color: #398242; display: flex; height: 48px; justify-content: center; overflow: hidden; width: 48px; }
	.gl-mobile-category-row__media img { display: block; height: 100%; object-fit: cover; width: 100%; }
	.gl-mobile-category-row > button { background: transparent; border: 0; color: #718176; font-size: 12px; min-height: 48px; width: 48px; }
	.gl-mobile-service-links { background: #f7faf6; border: 1px solid #e3ebe0; border-radius: 14px; display: grid; gap: 0; margin-top: 18px; padding: 5px 13px; }
	.gl-mobile-service-links a { align-items: center; border-bottom: 1px solid #e7ede5; color: #35513b !important; display: grid; font-size: 13px; font-weight: 650; gap: 12px; grid-template-columns: 24px minmax(0, 1fr); min-height: 46px; text-decoration: none; }
	.gl-mobile-service-links a:last-child { border-bottom: 0; }
	.gl-mobile-service-links i { color: #2a7b37; text-align: center; }
	.gl-mobile-partner { align-items: center; background: linear-gradient(135deg, #fff8e8, #fff); border: 1px solid #e2bc6c; border-radius: 14px; color: #674713 !important; display: grid; font-size: 14px; font-weight: 800; gap: 12px; grid-template-columns: 24px minmax(0, 1fr) 16px; margin-top: 12px; min-height: 54px; padding: 0 16px; text-decoration: none; }
	.gl-mobile-partner > i:first-child { color: #b47613; }
	.gl-mobile-back { align-items: center; background: transparent; border: 0; color: #276733; display: flex; font-size: 13px; font-weight: 800; gap: 10px; min-height: 44px; padding: 0 4px; }
	.gl-mobile-subpanel__title { align-items: center; background: linear-gradient(135deg, #f0f7ed, #fafcf9); border: 1px solid #e0e9dd; border-radius: 16px; display: flex; gap: 14px; margin: 8px 0 12px; padding: 14px; }
	.gl-mobile-subpanel__title img { border-radius: 13px; height: 58px; object-fit: cover; width: 58px; }
	.gl-mobile-subpanel__title span { color: #8a6a24; display: block; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
	.gl-mobile-subpanel__title h2 { color: #173d21; font-size: 20px; font-weight: 800; line-height: 1.18; margin: 4px 0 0; }
	.gl-mobile-view-all { align-items: center; background: #237b31; border-radius: 12px; color: #fff !important; display: flex; font-size: 13px; font-weight: 800; justify-content: space-between; min-height: 48px; padding: 0 16px; text-decoration: none; }
	.gl-mobile-child-list { margin-top: 12px; }
	.gl-mobile-child { border-bottom: 1px solid #e7eee5; }
	.gl-mobile-child__row { align-items: stretch; display: grid; grid-template-columns: minmax(0, 1fr) 48px; min-height: 54px; }
	.gl-mobile-child__row > a { align-items: center; color: #284a30 !important; display: flex; font-size: 14px; font-weight: 750; line-height: 1.3; padding: 10px 8px 10px 4px; text-decoration: none; }
	.gl-mobile-child__row > button { background: transparent; border: 0; color: #67806b; min-height: 48px; width: 48px; }
	.gl-mobile-child__row > button i { transition: transform .18s ease; }
	.gl-mobile-child__row > button[aria-expanded="true"] i { transform: rotate(180deg); }
	.gl-mobile-child ul { background: #f7faf6; border-radius: 10px; list-style: none; margin: 0 0 10px; padding: 8px 12px; }
	.gl-mobile-child ul[hidden] { display: none !important; }
	.gl-mobile-child li a { color: #657469 !important; display: block; font-size: 13px; line-height: 1.4; min-height: 38px; padding: 9px 6px; text-decoration: none; }
}

@media (max-width: 389px) {
	.gl-mobile-drawer { width: 94vw; }
	.gl-mobile-root-panel,
	.gl-mobile-subpanel { padding-left: 10px; padding-right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.gl-navigation-desktop .nav-link,
	.gl-navigation-desktop .gl-catalog-chevron,
	.gl-mobile-menu-backdrop,
	.gl-mobile-drawer,
	.gl-mobile-root-panel,
	.gl-mobile-subpanel { transition: none !important; }
}
