/* The main Wovenary header uses the homepage rail on every standard page. */
body header.site {
  background: #faf6ee;
  border-bottom: 1px solid #e8e1d3;
}
@supports (backdrop-filter: blur(12px)) {
  body header.site {
    background: rgba(250, 246, 238, .9);
    backdrop-filter: saturate(140%) blur(12px);
  }
}
body header.site > .wrap.row {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 2 * clamp(18px, 4vw, 42px)));
  max-width: none;
  height: 70px;
  min-height: 70px;
  gap: 16px;
  margin-inline: auto;
  padding: 0;
}
body header.site > .row .brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}
body header.site > .row .wovenary-wordmark {
  color: #1e2521;
  font: 400 30px/1 var(--display);
  letter-spacing: -.05em;
}
body header.site > .row .wovenary-wordmark > span {
  margin-left: 2px;
  font: 400 11px/1 var(--sans);
  top: 2px;
}
body header.site > .row .mainnav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.65vw, 26px);
}
body header.site > .row .mainnav > a,
body header.site > .row .navtrigger {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 5px;
  color: #3b453e;
  font: 700 14px/1.35 var(--sans);
  white-space: nowrap;
}
body header.site > .row .navtrigger { padding: 0; border: 0; background: transparent; }
body header.site > .row .mainnav > a:hover,
body header.site > .row .navtrigger:hover {
  color: #2e5641;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body header.site > .row .navitem > .mega { top: 100%; }
/* The dropdown panels follow the same design as the homepage. */
body header.site .navitem > .mega {
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 560px;
  max-height: calc(100dvh - 100px);
  padding: 14px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 42px -18px rgba(28, 37, 32, .28);
  font: 400 16px/1.55 var(--sans);
  transform: none;
}
body header.site .navitem > .mega.one { grid-template-columns: minmax(0, 1fr); width: 310px; }
body header.site .navitem:is(:hover, :focus-within, .open) > .mega { transform: none; }
body header.site .navitem > .mega > a {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 11px;
  border-radius: 14px;
}
body header.site .navitem > .mega > a:hover { background: var(--pine-50); }
body header.site .mega .t { font-size: 14px; font-weight: 750; }
body header.site .mega .s { color: var(--stone); font-size: 13px; }
body header.site .mega .pr,
body header.site .mega .lt { display: block; margin-top: 3px; font-size: 12px; font-weight: 700; }
body header.site .mega .pr { color: var(--ink); }
body header.site .mega .lt { color: var(--pine-600); }
body header.site .mega a:has(.lt) > :last-child {
  display: grid;
  grid-template-rows: auto minmax(22px, auto) minmax(40px, auto) auto;
}
body header.site .mega a:has(.lt) br { display: none; }
body header.site .mega .v2-popular {
  grid-column: 1 / -1;
  align-items: center;
  gap: 3px 8px;
  padding: 10px;
  border: 0;
  border-radius: 14px;
  background: var(--pine-50);
}
body header.site .v2-popular > strong {
  grid-column: 1 / -1;
  flex-basis: 100%;
  color: var(--stone);
  font: 750 12px/1.55 var(--sans);
  letter-spacing: normal;
  text-transform: none;
}
body header.site .mega .v2-popular a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--pine-700);
  font: 700 13px/1.4 var(--sans);
}
body header.site .mega .v2-popular a:hover { background: var(--surface); }
body header.site .mega .price-basis-note {
  grid-column: 1 / -1;
  margin: 2px 10px 5px;
  color: var(--graphite);
  font-size: 12px;
}
body .mmenu .v2-popular > strong {
  font: 750 12px/1.55 var(--sans);
  letter-spacing: normal;
  text-transform: none;
}
body header.site > .row .hdr-cta { display: flex; align-items: center; gap: 12px; }
body header.site > .row .hdr-cta .site-search {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: clamp(168px, 16vw, 232px);
  min-width: 0;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid #d9cfb9;
  border-radius: 999px;
  background: #fff;
}
body header.site > .row .hdr-cta .site-search > svg { width: 17px; height: 17px; flex: none; }
body header.site > .row .hdr-cta .site-search input {
  width: 100%;
  min-width: 0;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  font: 600 13px var(--sans);
}
body header.site > .row .hdr-cta .phone {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  color: #3b453e;
  font: 650 13px/1.55 var(--sans);
  white-space: nowrap;
}
body header.site > .row .hdr-cta .btn {
  box-sizing: border-box;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  background: #3e6b54;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 700 14px/1.35 var(--sans);
  white-space: nowrap;
}
body header.site > .row .hdr-cta .btn:hover { background: #2e5641; }
body header.site > .row :is(.brand, .mainnav > a, .navtrigger, .phone, .btn, .burger):focus-visible {
  outline: 3px solid #2e5641;
  outline-offset: 3px;
}
body header.site > .row :is(.brand, .mainnav > a, .navtrigger):focus-visible { border-radius: 9px; }

@media (max-width: 1170px) {
  body header.site > .row .hdr-cta .phone { display: none; }
}
@media (min-width: 981px) and (max-width: 1100px) {
  body header.site > .row .hdr-cta .site-search { width: 178px; }
}
@media (max-width: 980px) {
  body header.site > .wrap.row { height: 63px; min-height: 63px; }
  body header.site > .row :is(.mainnav, .hdr-cta) { display: none; }
  body header.site > .row .burger {
    display: grid;
    flex: none;
    place-items: center;
    padding: 0;
    border-color: #d9cfb9;
    background: #fff;
  }
}
@media (max-width: 700px) {
  body header.site > .wrap.row { height: 57px; min-height: 57px; }
  body header.site > .row .wovenary-wordmark { font-size: 27px; }
}
