:root {
  --bs-header-green: #214b19;
  --bs-header-green-dark: #173b13;
  --bs-header-amber: #c98716;
  --bs-header-cream: #fbf8f1;
  --bs-header-border: #e5e0d6;
  --bs-header-ink: #182116;
}

.bs-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bs-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100000;
  padding: 10px 14px;
  border-radius: 5px;
  background: #fff;
  color: var(--bs-header-green-dark);
  transform: translateY(-150%);
}

.bs-skip-link:focus { transform: translateY(0); }

.bs-header,
.bs-header * { box-sizing: border-box; }

.bs-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: var(--bs-header-cream);
  color: var(--bs-header-ink);
  font-family: "Quicksand", Arial, sans-serif;
}

.bs-header a { color: inherit; text-decoration: none; }

.bs-header a:focus-visible,
.bs-header button:focus-visible,
.bs-header summary:focus-visible,
.bs-header input:focus-visible {
  outline: 3px solid rgba(201, 135, 22, .55);
  outline-offset: 2px;
}

.bs-header-shell {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding-inline: 24px;
}

.bs-header-top {
  min-height: 30px;
  background: linear-gradient(90deg, #173c12 0%, #234b18 48%, #173c12 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.bs-header-top__inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bs-header-top__promise,
.bs-header-top__links,
.bs-header-top__links a {
  display: flex;
  align-items: center;
}

.bs-header-top__promise,
.bs-header-top__links a { gap: 7px; }

.bs-header-top__links { gap: 0; }

.bs-header-top__links a {
  min-height: 18px;
  padding-inline: 14px;
  border-right: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
}

.bs-header-top__links a:last-child { padding-right: 0; border-right: 0; }
.bs-header-top__links a:hover { color: #f5d99f; }

.bs-header-main {
  background: rgba(255, 253, 248, .98);
  border-bottom: 1px solid var(--bs-header-border);
}

.bs-header-main__inner {
  min-height: 85px;
  display: grid;
  grid-template-columns: 180px minmax(280px, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.bs-header-logo {
  width: 152px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.bs-header-logo img {
  display: block;
  width: auto;
  height: 72px;
  max-width: 152px;
  object-fit: contain;
}

.bs-header-logo--horizontal {
  width: 200px;
}

.bs-header-logo--horizontal img {
  width: 200px;
  height: auto;
  max-width: 200px;
  max-height: 72px;
}

.bs-header-search { position: relative; width: 100%; }

.bs-header-search form.searchform {
  position: relative;
  display: flex;
  width: 100%;
  height: 40px;
  padding: 0;
  border: 1px solid #d7d4cc;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.bs-header-search form.searchform input.s {
  min-width: 0;
  flex: 1;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #252a23;
  font-size: 13px;
  box-shadow: none;
}

.bs-header-search form.searchform .searchsubmit {
  position: static;
  width: 42px;
  min-width: 42px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--bs-header-green-dark) !important;
  color: #fff;
  font-size: 17px;
}

.bs-header-search .search-results-wrapper {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  z-index: 20;
}

.bs-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bs-header-actions > a {
  min-width: 58px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #151b14;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.bs-header-actions > a:hover { color: var(--bs-header-green); }
.bs-header-actions > a > i { font-size: 21px; }

.bs-header-cart__icon { position: relative; display: inline-flex; }

.bs-header-cart__icon b {
  position: absolute;
  top: -12px;
  right: -12px;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--bs-header-amber);
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.bs-header-nav {
  min-height: 43px;
  border-bottom: 1px solid #ded9ce;
  background: #fff;
}

.bs-header-nav__inner {
  min-height: 43px;
  display: grid;
  grid-template-columns: 137px minmax(0, 1fr) 112px;
  align-items: center;
  gap: 16px;
}

.bs-header-categories { position: relative; height: 34px; }
.bs-header-categories summary { list-style: none; }
.bs-header-categories summary::-webkit-details-marker { display: none; }

.bs-header-categories summary {
  height: 34px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  background: var(--bs-header-green-dark);
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.bs-header-categories ul {
  position: absolute;
  top: 39px;
  left: 0;
  z-index: 30;
  width: 250px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--bs-header-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(26, 46, 20, .18);
}

.bs-header-categories li { margin: 0; }
.bs-header-categories li a { display: block; padding: 9px 11px; border-radius: 5px; font-size: 13px; font-weight: 600; }
.bs-header-categories li a:hover { background: #f4f0e7; color: var(--bs-header-green-dark); }

.bs-header-category-links {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  overflow: hidden;
}

.bs-header-category-links a {
  flex: 0 0 auto;
  color: #20251f;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.bs-header-category-links a:hover { color: var(--bs-header-amber); }

.bs-header-seller {
  height: 42px;
  margin-top: -1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(135deg, #d79824, #b9740c);
  color: #fff !important;
  line-height: 1.1;
}

.bs-header-seller strong { font-size: 13px; }
.bs-header-seller small { margin-top: 3px; color: #fff; font-size: 9px; }

@media (max-width: 1050px) {
  .bs-header-main__inner { grid-template-columns: 120px minmax(240px, 1fr) auto; gap: 18px; }
  .bs-header-logo { width: 100px; }
  .bs-header-logo img { max-width: 96px; height: 68px; }
  .bs-header-actions { gap: 10px; }
  .bs-header-actions > a { min-width: 48px; gap: 5px; }
  .bs-header-category-links { gap: 16px; }
}

@media (min-width: 901px) and (max-width: 1050px) {
  .bs-header-main__inner {
    grid-template-columns: 225px minmax(340px, 360px) minmax(248px, 1fr);
    gap: 20px;
  }
  .bs-header-actions { justify-content: flex-start; gap: 28px; padding-left: 18px; }
  .bs-header-logo.bs-header-logo--horizontal { width: 200px; }
  .bs-header-logo--horizontal img { width: 200px; height: auto; max-width: 200px; max-height: 72px; }
  .bs-header-category-links { gap: 16px; }
  .bs-header-category-links a { font-size: 10px; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .bs-header-logo.bs-header-logo--horizontal { width: 120px; }
  .bs-header-logo--horizontal img { width: 118px; height: auto; max-width: 118px; max-height: 68px; }
  .bs-header-categories { height: 40px; }
  .bs-header-categories summary { height: 40px; }
  .bs-header-categories ul { top: 45px; }
  .bs-header-category-links {
    min-height: 42px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
  }
  .bs-header-category-links::-webkit-scrollbar { display: none; }
  .bs-header-category-links a,
  .bs-header-category-links a:nth-child(n) {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    scroll-snap-align: start;
  }
}

@media (max-width: 760px) {
  .bs-header-shell { padding-inline: 15px; }
  .bs-header-top__inner { justify-content: center; }
  .bs-header-top__links { display: none; }
  .bs-header-main__inner {
    min-height: 116px;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: 60px 50px;
    gap: 2px 10px;
  }
  .bs-header-logo { width: 110px; height: 58px; }
  .bs-header-logo img { width: 58px; height: 58px; }
  .bs-header-logo.bs-header-logo--horizontal { width: 110px; }
  .bs-header-logo--horizontal img { width: 108px; height: auto; max-width: 108px; max-height: 56px; }
  .bs-header-actions { justify-self: end; gap: 4px; }
  .bs-header-actions > a { min-width: 44px; min-height: 44px; }
  .bs-header-actions > a > span:not(.bs-header-cart__icon) { display: none; }
  .bs-header-actions > a > i { font-size: 19px; }
  .bs-header-search { grid-column: 1 / -1; grid-row: 2; }
  .bs-header-search form.searchform { height: 44px; }
  .bs-header-search form.searchform input.s { height: 42px; font-size: 12px; }
  .bs-header-search form.searchform .searchsubmit { width: 44px; min-width: 44px; height: 44px; }
  .bs-header-nav__inner { grid-template-columns: 137px minmax(0, 1fr); gap: 10px; }
  .bs-header-categories { height: 42px; }
  .bs-header-categories summary { height: 42px; }
  .bs-header-categories ul { top: 47px; }
  .bs-header-seller { display: none; }
  .bs-header-category-links {
    min-height: 42px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
  }
  .bs-header-category-links::-webkit-scrollbar { display: none; }
  .bs-header-category-links a,
  .bs-header-category-links a:nth-child(n) {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    scroll-snap-align: start;
  }
}

@media (max-width: 380px) {
  .bs-header-top { font-size: 10px; }
  .bs-header-main__inner { grid-template-columns: 106px minmax(0, 1fr); gap: 2px 8px; }
  .bs-header-logo,
  .bs-header-logo.bs-header-logo--horizontal { width: 104px; }
  .bs-header-logo--horizontal img { width: 102px; max-width: 102px; }
  .bs-header-nav__inner { grid-template-columns: 137px minmax(0, 1fr); }
  .bs-header-categories summary { padding-inline: 11px; font-size: 11px; }
}
