:root {
  --white: #fff;
  --amber: #eda943;
  --sage-500: #6e9279;
  --shadow-lg: 0 28px 80px rgba(7, 29, 19, .18);
  --radius-md: 18px;
  --radius-lg: 28px;
}

body.menu-open { overflow: hidden; }
button, input { font: inherit; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.button-small { min-height: 44px; padding: 0 18px; font-size: .88rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--forest-600); font-size: 13px; font-weight: 700; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 1px; background: currentColor; content: ""; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest-700); font-weight: 700; }
.text-link svg { transition: transform 180ms ease; }
.text-link:hover svg { transform: translateX(4px); }

.utility-bar { color: #dce8df; background: var(--forest-950); font-size: 13px; }
.utility-inner.container { display: flex; width: min(calc(100% - 40px), 1240px); min-height: 36px; align-items: center; justify-content: center; gap: 30px; }
.season-link { display: flex; align-items: center; gap: 8px; }
.season-link svg { width: 15px; height: 15px; fill: none; stroke: var(--amber); stroke-width: 1.6; }
.season-link svg:last-child { width: 16px; stroke: currentColor; }

.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(15, 45, 32, .08); background: rgba(251, 250, 245, .96); box-shadow: none; backdrop-filter: blur(15px); }
.header-main.container { display: flex; width: min(calc(100% - 40px), 1240px); min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .brand { display: inline-flex; min-height: 0; flex: 0 0 auto; align-items: center; gap: 11px; color: var(--forest-900); }
.site-header .brand-mark { display: grid; width: 42px; height: 48px; place-items: center; }
.site-header .brand-mark svg { width: 38px; height: 44px; fill: none; stroke: var(--forest-700); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.site-header .brand-copy { display: flex; flex-direction: column; }
.site-header .brand-copy strong { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.05; }
.site-header .brand-copy small { margin-top: 3px; color: var(--sage-500); font-size: 13px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.icon-button:hover { background: var(--sage-100); }
.icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.menu-trigger { display: none; }
.menu-close-icon { display: none !important; }
.menu-trigger[aria-expanded="true"] .menu-open-icon { display: none; }
.menu-trigger[aria-expanded="true"] .menu-close-icon { display: block !important; }

.category-nav-wrap { border-top: 1px solid var(--line); background: rgba(255, 255, 255, .34); }
.category-nav.container { display: flex; width: min(calc(100% - 20px), 1420px); min-height: 45px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-trigger { position: relative; display: flex; min-width: max-content; flex: 1 0 auto; align-items: center; justify-content: center; gap: 3px; padding: 0 4px; border: 0; background: transparent; color: #39463f; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: color 180ms ease, background 180ms ease; }
.category-trigger::after { position: absolute; right: 8px; bottom: -1px; left: 8px; height: 2px; border-radius: 2px; background: var(--forest-700); content: ""; transform: scaleX(0); transition: transform 180ms ease; }
.category-trigger:hover, .category-trigger[aria-expanded="true"] { color: var(--forest-700); background: var(--sage-100); }
.category-trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.category-trigger > svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 180ms ease; }
.category-trigger[aria-expanded="true"] > svg { transform: rotate(180deg); }
.category-trigger-icon { display: none; }

.mega-menu { position: absolute; z-index: 3; top: 100%; left: 0; width: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream-50); box-shadow: var(--shadow-lg); }
.mega-grid.container { display: grid; width: min(calc(100% - 40px), 1240px); grid-template-columns: 1.1fr 2fr .8fr; gap: 48px; padding-block: 38px; }
.mega-intro h2 { margin-bottom: 12px; font-size: 2rem; }
.mega-intro p { max-width: 330px; color: var(--muted); }
.mega-category-icon { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--sage-100); font-style: normal; letter-spacing: 0; }
.mega-link-grid { display: grid; align-content: start; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.mega-link-grid a { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); color: #415047; font-size: .86rem; font-weight: 600; }
.mega-link-grid a:hover { color: var(--forest-700); }
.mega-link-grid a svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; opacity: .55; transition: transform 180ms ease; }
.mega-link-grid a:hover svg { transform: translateX(3px); }
.mega-feature { align-self: stretch; padding: 24px; border-radius: var(--radius-md); background: var(--sage-100); }
.mega-feature-icon { display: grid; width: 42px; height: 42px; margin-bottom: 16px; place-items: center; border-radius: 50%; color: var(--forest-700); background: var(--white); }
.mega-feature-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.mega-feature strong, .mega-feature p, .mega-feature a { display: block; }
.mega-feature p { margin: 7px 0 12px; color: var(--muted); font-size: .86rem; }
.mega-feature a { color: var(--forest-700); font-size: .86rem; font-weight: 700; }

.mobile-menu { max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); padding: 8px 20px 20px; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); background: var(--cream-50); }
.mobile-menu nav { display: flex; flex-direction: column; margin-bottom: 18px; }
.mobile-nav-group { border-bottom: 1px solid var(--line); }
.mobile-nav-group summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 0; color: var(--forest-900); font-size: .86rem; font-weight: 700; list-style: none; cursor: pointer; }
.mobile-nav-group summary::-webkit-details-marker { display: none; }
.mobile-nav-group summary > span { display: flex; align-items: center; gap: 10px; }
.mobile-nav-group summary i { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: var(--forest-700); background: var(--sage-100); font-family: var(--serif); font-size: 13px; font-style: normal; }
.mobile-nav-group summary svg { width: 17px; height: 17px; fill: none; stroke: var(--forest-600); stroke-width: 1.6; transition: transform 180ms ease; }
.mobile-nav-group[open] summary svg { transform: rotate(45deg); }
.mobile-subnav { display: grid; padding: 0 0 14px 37px; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.mobile-subnav a { display: flex; min-height: 44px; align-items: center; padding: 8px 0; color: var(--muted); font-size: 13px; }
.mobile-subnav .mobile-all-link { color: var(--forest-700); font-weight: 700; grid-column: 1 / -1; }
.mobile-menu > .button { width: 100%; }

.search-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 30, 21, .88); }
.search-dialog::backdrop { background: rgba(8, 30, 21, .88); }
.search-panel { width: min(900px, calc(100% - 40px)); margin: 12vh auto 0; padding: 38px; border-radius: var(--radius-lg); background: var(--cream-50); box-shadow: var(--shadow-lg); }
.search-top { display: flex; align-items: center; justify-content: space-between; }
.search-panel label { display: block; margin: 18px 0 15px; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3.4rem); font-weight: 600; line-height: 1.1; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.search-field > svg { width: 22px; height: 22px; fill: none; stroke: var(--sage-500); stroke-width: 1.6; }
.search-field input { min-width: 0; flex: 1; padding: 12px 0; border: 0; outline: 0; background: transparent; font-size: 1rem; }
.popular-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; color: var(--muted); font-size: .82rem; }
.popular-searches button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 30px; background: transparent; cursor: pointer; }

@media (max-width: 1250px) {
  .category-nav-wrap { display: none; }
  .menu-trigger { display: grid; }
  .mega-menu { display: none !important; }
}

@media (max-width: 820px) {
  .utility-inner { justify-content: center; }
  .header-main.container { min-height: 68px; }
  .header-advisor.garden-survey-trigger { display: none !important; }
  .menu-trigger { width: 44px; flex: 0 0 44px; }
}

@media (max-width: 600px) {
  .utility-inner.container, .header-main.container, .mega-grid.container { width: min(calc(100% - 28px), 1240px); }
  .utility-bar { font-size: 13px; }
  .utility-inner.container { min-height: 32px; }
  .season-link { width: 100%; min-width: 0; justify-content: center; overflow: hidden; }
  .season-link span { min-width: 0; max-width: calc(100% - 47px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .site-header .brand-mark { width: 35px; height: 40px; }
  .site-header .brand-mark svg { width: 33px; height: 39px; }
  .site-header .brand-copy strong { font-size: 1.12rem; }
  .site-header .brand-copy small { display: none; }
  .header-main { gap: 10px; }
  .header-actions { gap: 0; }
  .search-trigger { display: none; }
  .search-panel { width: calc(100% - 24px); margin-top: 4vh; padding: 23px 18px; }
  .search-field { align-items: stretch; flex-direction: column; padding: 13px; }
  .search-field > svg { display: none; }
  .search-field input { width: 100%; padding: 10px; }
}
