/* Shared storefront navigation and cart preview. */
:root { --gw-header-offset: 116px; }
.gw-sota-header {
  --gw-chrome: #10271f;
  --gw-chrome-line: #456052;
  --gw-chrome-accent: #b8f16b;
  background: var(--gw-chrome);
  color: #f5f9f2;
  border: 0;
  z-index: 1000;
}
.gw-sota-frame {
  box-sizing: border-box;
  width: min(1440px, 100%);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 36px);
}
.gw-sota-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand search actions";
  grid-template-rows: 72px;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
}
.gw-sota-brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 700;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.gw-sota-brand strong, .gw-sota-brand-mark { color: var(--gw-chrome-accent); }
.gw-sota-brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid #739650;
  border-radius: 8px;
}
.gw-sota-search { grid-area: search; min-width: 0; }
.gw-sota-header .gw-v2-site-search {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  background: #fff;
  border: 1px solid #718579;
  border-radius: 8px;
  overflow: visible;
  box-sizing: border-box;
}
.gw-sota-query, .gw-sota-category { display: flex; min-width: 0; }
.gw-sota-search :is(select, input) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #17211d;
  font: 500 16px/1.3 'DM Sans', Arial, sans-serif;
}
.gw-sota-category select {
  width: 122px;
  border-radius: 7px 0 0 7px;
  border-right: 1px solid #cfd8d0;
  font-size: 14px;
  background: #f0f4ed;
}
.gw-sota-query input::placeholder { color: #515f56; }
.gw-sota-search .gw-commerce-suggestion-view-all {
  position: sticky;
  bottom: -7px;
  background: #fff;
  border-top: 1px solid #d9e2da;
}
.gw-sota-search .gw-commerce-suggestion-view-all > a { color: #1f5a34; font-weight: 750; }
.gw-sota-header .gw-v2-site-search > button {
  min-width: 44px;
  height: auto;
  padding: 0 12px;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 0 7px 7px 0;
  background: #1f5a34;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.gw-sota-header .gw-v2-site-search > button:hover { background: #174629; }
.gw-sota-actions { grid-area: actions; display: flex; align-items: center; gap: 7px; }
.gw-sota-icon {
  display: inline-flex;
  position: relative;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 9px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: inherit;
  border: 1px solid var(--gw-chrome-line, #cbd5cd);
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  list-style: none;
}
.gw-sota-icon:hover { background: #77958530; }
.gw-sota-icon:active { background: #77958555; }
.gw-sota-icon::-webkit-details-marker, .gw-sota-header summary::-webkit-details-marker { display: none; }
.gw-sota-actions .gw-sota-quote {
  background: var(--gw-chrome-accent);
  border-color: var(--gw-chrome-accent);
  color: #13291c;
  padding-inline: 11px;
  font-size: 14px;
  font-weight: 800;
}
.gw-sota-actions .gw-sota-quote:hover { background: #a4d95d; }
.gw-sota-actions .gw-sota-quote:active { background: #92c352; }
.gw-sota-cart-count {
  position: absolute;
  top: -5px;
  right: -4px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  min-width: 20px;
  height: 20px;
  padding-inline: 4px;
  border: 1px solid var(--gw-chrome);
  border-radius: 10px;
  color: #13291c;
  background: var(--gw-chrome-accent);
  font-size: 11px;
  font-weight: 800;
}
.gw-sota-cart-count[hidden], .gw-sota-cart-panel [hidden], .gw-sota-search-toggle { display: none; }
.gw-sota-category-bar { box-shadow: inset 0 1px 0 var(--gw-chrome-line); }
.gw-sota-category-row { display: flex; min-height: 44px; align-items: stretch; justify-content: space-between; gap: 10px; }
.gw-sota-category-links, .gw-sota-regions { display: flex; align-items: stretch; gap: clamp(12px, 1.6vw, 24px); }
.gw-sota-category-links > a, .gw-sota-category-links > details > summary, .gw-sota-regions > a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: #ecf5e9;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  list-style: none;
}
.gw-sota-category-links > details { position: relative; }
.gw-sota-category-links > details > summary::after {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
  content: "";
}
.gw-sota-category-links > a:hover, .gw-sota-category-links > a[aria-current],
.gw-sota-category-links > details > summary:hover, .gw-sota-regions > a:hover,
.gw-sota-regions > a[aria-current] { color: var(--gw-chrome-accent); }
.gw-sota-category-links > details > div, .gw-sota-drawer-panel {
  box-sizing: border-box;
  position: absolute;
  top: 100%;
  background: #fff;
  color: #17241c;
  border: 1px solid #cbd6cd;
  box-shadow: 0 12px 26px #14291c33;
}
.gw-sota-category-links > details > div { display: grid; width: 244px; inset-inline-end: 0; padding: 8px; border-radius: 0 0 8px 8px; }
.gw-sota-category-links > details:not([open]) > div { display: none; }
.gw-sota-category-links > details > div > a, .gw-sota-drawer-panel a {
  display: flex;
  min-height: 44px;
  align-items: center;
  box-sizing: border-box;
  padding: 6px 9px;
  border-radius: 6px;
  color: #19492a;
  font-size: 14px;
  font-weight: 650;
}
.gw-sota-category-links > details > div > a:hover, .gw-sota-drawer-panel a:hover { background: #edf4e9; }
.gw-sota-drawer-panel {
  inset-inline-end: max(0px, calc((100vw - 1440px) / 2));
  width: min(100%, 390px);
  max-height: calc(100vh - var(--gw-header-offset) - 60px);
  max-height: calc(100dvh - var(--gw-header-offset) - 60px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 12px 16px 0;
  border-radius: 0 0 8px 8px;
}
.gw-sota-drawer-regions, .gw-sota-drawer-contact { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; }
.gw-sota-drawer-regions strong { margin-right: auto; font-size: 13px; }
.gw-sota-drawer-regions a[aria-current] { background: #edf4e9; }
.gw-sota-drawer-panel details { border-block-start: 1px solid #e0e8df; }
.gw-sota-drawer-panel details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.gw-sota-drawer-panel details > summary::after { content: "+"; font-size: 18px; }
.gw-sota-drawer-panel details[open] > summary::after { content: "−"; }
.gw-sota-drawer-panel details > div { padding-inline-start: 8px; }
.gw-sota-drawer-panel .gw-sota-drawer-cta {
  position: sticky;
  bottom: 0;
  padding: 8px 0;
  background: #fff;
  border-block-start: 1px solid #d8e3d9;
}
.gw-sota-drawer-cta a, .gw-sota-cart-review { justify-content: center; background: #1f5a34; color: #fff; }
.gw-sota-drawer-cta a:hover, .gw-sota-cart-review:hover { background: #174629; color: #fff; }
.gw-sota-header :is(a,button,summary,select,input):focus-visible,
.gw-sota-cart-panel :is(a,button):focus-visible { outline: 2px solid #78aa49; outline-offset: 2px; }
.gw-sota-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.gw-sota-header + .gw-content-target { scroll-margin-top: var(--gw-header-offset); }
@media (min-width: 721px) {
  .gw-sota-header.gw-sota-compact { margin-bottom: 52px; }
  .gw-sota-compact .gw-sota-main { grid-template-rows: 64px; }
  .gw-sota-compact .gw-sota-category-bar { display: none; }
}
@media (min-width: 721px) and (max-width: 1050px) {
  .gw-sota-category-links > :nth-last-child(-n+2), .gw-sota-regions { display: none; }
  .gw-sota-category select { width: 88px; padding-inline: 6px; }
  .gw-sota-header .gw-v2-site-search > button > span, .gw-sota-actions .gw-sota-quote > svg { display: none; }
}
@media (max-width: 720px) {
  :root { --gw-header-offset: 108px; }
  .gw-sota-main {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand actions" "search search";
    grid-template-rows: 56px 52px;
    gap: 0 5px;
    padding-inline: 12px;
  }
  .gw-sota-category-bar { display: none; }
  .gw-sota-brand { gap: 6px; font-size: clamp(14px, 4.1vw, 20px); }
  .gw-sota-brand-mark { width: 30px; height: 30px; }
  .gw-sota-actions { gap: 3px; }
  .gw-sota-actions .gw-sota-quote { padding-inline: 8px; }
  .gw-sota-quote > span, .gw-sota-header .gw-v2-site-search > button > span { display: none; }
  .gw-sota-category select { width: 102px; padding-inline: 6px; font-size: 16px; }
  .gw-sota-search { align-self: start; }
  .gw-sota-header.gw-sota-compact { margin-bottom: 52px; }
  .gw-sota-compact .gw-sota-main { grid-template-areas: "brand actions"; grid-template-rows: 56px; }
  .gw-sota-compact .gw-sota-search { display: none; }
  .gw-sota-compact .gw-sota-search-toggle { display: inline-flex; }
  .gw-sota-compact.gw-sota-search-open .gw-sota-search {
    display: block;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    padding: 4px 12px 8px;
    background: var(--gw-chrome);
    box-shadow: 0 8px 20px #14291c26;
  }
  body:has(.gw-sota-header) .gw-mobile-contact {
    min-height: calc(56px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
  }
  body:has(.gw-sota-header) .gw-mobile-contact a { min-height: 48px; }
}
@media (max-width: 360px) {
  .gw-sota-main { padding-inline: 8px; }
  .gw-sota-brand { gap: 4px; }
  .gw-sota-brand-mark { width: 27px; height: 27px; }
  .gw-sota-search .gw-sota-query input { padding-inline: 7px; }
}
@media (max-width: 760px) {
  body:has(.gw-sota-header):has(.gw-commerce-mobile) { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  body:has(.gw-sota-header):has(.gw-commerce-mobile) .gw-mobile-contact {
    position: fixed;
    inset: auto 0 0;
    z-index: 1100;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: calc(56px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #10271f;
  }
  body:has(.gw-sota-header):has(.gw-commerce-mobile) .gw-mobile-contact > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    color: #f5f9f2;
  }
  body:has(.gw-sota-header):has(.gw-commerce-mobile) .gw-mobile-contact > a:last-child {
    color: #13291c;
    background: #b8f16b;
  }
  body:has(.gw-sota-header) .gw-commerce-mobile { display: none; }
  body.gw-sota-sticky-purchase:has(.gw-sota-header) .gw-commerce-mobile {
    display: flex;
    bottom: 0;
    min-height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding: 7px 9px calc(7px + env(safe-area-inset-bottom, 0px));
    gap: 5px;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  body.gw-sota-sticky-purchase:has(.gw-sota-header) .gw-mobile-contact { display: none !important; }
  body.gw-sota-sticky-purchase .gw-commerce-mobile .gw-commerce-mobile-contact {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    min-height: 44px;
  }
  body.gw-sota-sticky-purchase .gw-commerce-mobile-summary span { overflow: hidden; text-overflow: ellipsis; }
}
.gw-sota-cart-panel {
  inset: 0 0 0 auto;
  box-sizing: border-box;
  width: min(100%, 420px);
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  color: #17241c;
  background: #fff;
  box-shadow: -6px 0 30px #14291c38;
  font-family: 'DM Sans', Arial, sans-serif;
}
.gw-sota-cart-panel[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.gw-sota-cart-panel::backdrop { background: #10271f70; }
.gw-sota-cart-heading, .gw-sota-cart-content, .gw-sota-cart-footer { padding: 16px 20px; }
.gw-sota-cart-heading, .gw-sota-cart-footer > p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gw-sota-cart-heading { border-bottom: 1px solid #d9e2da; }
.gw-sota-cart-heading h2 { margin: 0; color: inherit; font-size: 23px; }
.gw-sota-cart-content { overflow: auto; overscroll-behavior: contain; }
.gw-sota-cart-content ul { margin: 0; padding: 0; list-style: none; }
.gw-sota-cart-content li { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid #d9e2da; }
.gw-sota-cart-content li span { color: #47574b; font-size: 14px; }
.gw-sota-cart-footer {
  display: grid;
  gap: 9px;
  border-top: 1px solid #d9e2da;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.gw-sota-cart-footer p { margin: 0 0 4px; color: inherit; }
.gw-sota-cart-review, .gw-sota-keep-shopping {
  display: flex;
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 8px;
  font: 700 15px/1.35 'DM Sans', Arial, sans-serif;
  cursor: pointer;
}
.gw-sota-keep-shopping { color: #20452b; background: #fff; border: 1px solid #cbd6cd; }
.gw-sota-keep-shopping:hover { background: #edf4e9; }
@media print { .gw-sota-header, .gw-sota-cart-panel { display: none !important; } }
