/* Header aligned to the approved three-row storefront reference. */
.len-topbar {
  min-height: 30px;
  background: #00663b;
  color: #fff;
}

.len-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--layout-shell-max);
  min-height: 30px;
  margin-inline: auto;
  padding-inline: var(--layout-shell-px);
  font-size: .7rem;
}

.len-topbar__benefits {
  display: flex;
  align-items: center;
  gap: 28px;
}

.len-topbar a,
.len-topbar__country {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.len-topbar svg {
  width: 14px;
  height: 14px;
}

.header-support-link {
  display: none;
}

@media (min-width: 1024px) {
  .site-header {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 1px 0 rgba(15, 38, 28, .04);
  }

  .header-inner {
    position: relative;
    min-height: 76px;
    gap: 22px;
  }

  .site-logo {
    width: 205px;
    margin-right: 5px;
  }

  .site-logo img,
  .site-logo .logo-img,
  .site-logo .custom-logo-link img {
    width: 190px;
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    object-position: left center;
  }

  .header-inner > .cat-mega {
    position: absolute;
    top: 76px;
    left: var(--layout-shell-px);
    z-index: 4;
  }

  .header-inner .cat-trigger {
    min-width: 176px;
    min-height: 47px;
    justify-content: flex-start;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: .76rem;
  }

  .header-inner .cat-trigger__chevron {
    margin-left: auto;
  }

  .header-inner .cat-mega.is-open .cat-trigger,
  .header-inner .cat-trigger[aria-expanded="true"] {
    background: #eef8f2;
    color: #075f38;
  }

  .header-inner .cat-panel {
    top: 153px;
  }

  .header-actions {
    min-width: 0;
    flex: 1 1 auto;
    gap: 20px;
  }

  .header-search-pill {
    order: -1;
    flex: 1 1 460px;
    max-width: none;
    min-width: 260px;
    min-height: 43px;
    overflow: hidden;
    gap: 10px;
    padding: 0 0 0 15px;
    border-color: #d7dfda;
    border-radius: 6px;
    background: #fff;
    font-size: .73rem;
  }

  .header-search-pill svg {
    order: 3;
    width: 43px;
    height: 43px;
    margin: -1px;
    padding: 13px;
    border-radius: 0 6px 6px 0;
    background: #087b47;
    color: #fff;
  }

  .header-search-pill__kbd {
    display: none;
  }

  .header-support-link,
  .header-account-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    min-height: 44px;
    padding: 0;
    border-radius: 0;
    color: #15231c;
    text-decoration: none;
  }

  .header-support-link:hover,
  .header-account-link:hover {
    background: transparent;
    color: #087b47;
  }

  .header-support-link > svg,
  .header-account-link > svg {
    width: 21px;
    height: 21px;
  }

  .header-support-link > span,
  .header-account-link__label {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .header-support-link strong,
  .header-account-link__label strong {
    color: #142019;
    font-size: .72rem;
    font-weight: 750;
  }

  .header-support-link small,
  .header-account-link__label small {
    margin-top: 2px;
    color: #68736d;
    font-size: .61rem;
  }

  .header-cart-pill {
    gap: 7px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #101a15;
  }

  .header-cart-pill:hover {
    background: transparent;
    color: #087b47;
  }

  .header-cart-pill svg {
    width: 22px;
    height: 22px;
  }

  .header-cart-pill__label {
    display: inline;
    font-size: .72rem;
    font-weight: 750;
  }

  .header-cart-pill .cart-count,
  .header-cart-pill .cart-count.has-items {
    display: flex;
    width: 19px;
    height: 19px;
    background: #087b47;
    color: #fff;
    font-size: .61rem;
  }

  .header-lang-switcher {
    display: block;
    flex: 0 0 auto;
  }

  .header-bottom {
    border-top: 1px solid #edf0ee;
    border-bottom: 1px solid #e4e9e6;
  }

  .header-bottom__inner,
  .site-header .header-bottom__inner {
    min-height: 47px;
    padding-left: calc(var(--layout-shell-px) + 176px);
    gap: 0;
  }

  .header-product-links {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .header-product-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 13px;
    color: #1c2822;
    font-size: .69rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
  }

  .header-product-links a:hover {
    background: #f4f8f6;
    color: #087b47;
  }

  .header-product-links a > span {
    color: #7c8881;
    font-size: .72rem;
  }

  .header-product-links .header-product-links__bestsellers {
    color: #142019;
  }

  .header-product-links .header-product-links__bestsellers > span {
    color: #e5a800;
    font-size: 1rem;
  }

  .header-bottom__inner .nav-links {
    flex: 0 0 auto;
    gap: 0;
    height: 47px;
    margin-left: 40px;
  }

  .header-bottom__inner .nav-links__item--bordered,
  .header-bottom__inner .nav-links__separator,
  .header-bottom__shipping {
    display: none !important;
  }

  .header-bottom__inner .nav-pill {
    min-height: 47px;
    padding: 0 10px;
    border-radius: 0;
    font-size: .69rem;
  }

  .header-bottom__inner .nav-pill:hover {
    background: #f4f8f6;
  }

  .header-bottom__inner .nav-pill svg {
    width: 14px;
    height: 14px;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .header-inner {
    gap: 14px;
  }

  .site-logo {
    width: 165px;
  }

  .site-logo img,
  .site-logo .logo-img {
    width: 155px;
  }

  .header-actions {
    gap: 13px;
  }

  .header-support-link small,
  .header-account-link__label small {
    display: none;
  }

  .header-product-links a {
    padding-inline: 8px;
    font-size: .63rem;
  }

  .header-bottom__inner .nav-pill {
    padding-inline: 7px;
    font-size: .63rem;
  }
}

@media (max-width: 1023px) {
  .len-topbar {
    display: none;
  }

  .header-product-links,
  .header-support-link {
    display: none;
  }
}

/* Desktop navigation row: same order, spacing and vertical alignment as reference. */
@media (min-width: 1024px) {
  .header-lang-switcher {
    display: flex;
    align-items: center;
  }

  .header-product-links {
    flex: 1 1 auto;
    justify-content: space-between;
  }

  .header-product-links a {
    justify-content: center;
    min-width: 0;
    padding-inline: 8px;
    font-size: .68rem;
    line-height: 1;
  }

  .header-product-links a > span {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: #087b47;
    font-size: .78rem;
  }

  .header-product-links a > .header-product-links__icon {
    width: 16px;
    height: 16px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 16px;
    color: #07834b;
  }

  .header-product-links a > .header-product-links__icon svg {
    width: 16px;
    height: 16px;
    display: block;
  }

  .header-product-links__offers > .header-product-links__icon {
    color: #e5a800 !important;
  }

  .header-bottom__inner .nav-links {
    display: none !important;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .header-product-links {
    padding-right: 82px;
  }

  .header-product-links a {
    padding-inline: 4px;
    font-size: .58rem;
  }
}
