/* Final shared-header layer. It loads after both the rebuilt homepage styles
   and mirrored Shopify theme styles so every route presents the same chrome. */
@media (min-width: 1200px) {
  .eco-shell .eco-announcement {
    min-height: 40px;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    color: #fff;
    background: var(--eco-forest);
    font: 500 12px/1.3 var(--eco-font-body);
    letter-spacing: .015em;
  }

  .eco-shell .eco-announcement__control {
    width: 52px;
    min-width: 52px;
    min-height: 40px;
    padding: 0;
    color: inherit;
    opacity: .72;
  }

  .eco-shell .eco-announcement__pause { display: none; }

  .eco-shell .eco-site-header {
    min-height: 84px;
    border: 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: none;
  }

  .eco-shell .eco-site-header.is-scrolled {
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 8px 26px rgba(47, 71, 57, .10);
  }

  .eco-shell .eco-header__primary {
    position: relative;
    z-index: 1;
    background: #fff;
  }

  .eco-shell .eco-header__inner.eco-container {
    width: min(calc(100% - 64px), 1800px) !important;
    min-height: 84px;
    grid-template-columns: 270px minmax(0, 1fr) 176px;
    gap: 18px;
  }

  .eco-shell .eco-site-header.is-scrolled .eco-header__inner { min-height: 72px; }

  .eco-shell .eco-header__brand {
    width: 260px !important;
    max-width: 260px !important;
    justify-self: start;
  }

  .eco-shell .eco-header__brand .eco-brand-lockup,
  .eco-shell .eco-header__brand .eco-brand-lockup__mark {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .eco-shell .eco-header__brand .eco-brand-lockup__mark { height: 42px; }

  .eco-shell .eco-header__brand img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 42px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  .eco-shell .eco-header__search-form { display: none !important; }

  .eco-shell .eco-header__actions {
    min-width: 176px;
    gap: 2px;
  }

  .eco-shell .eco-header__search {
    display: inline-grid !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px;
    place-items: center;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
  }

  .eco-shell .eco-header__secondary {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 208px;
    left: 306px;
    display: grid !important;
    height: 84px;
    place-items: center;
    border: 0;
    background: transparent;
    pointer-events: none;
  }

  .eco-shell .eco-site-header.is-scrolled .eco-header__secondary { height: 72px; }

  .eco-shell .eco-nav {
    width: max-content;
    max-width: 100%;
    pointer-events: auto;
  }

  .eco-shell .eco-nav__list {
    width: auto;
    justify-content: center;
    gap: clamp(18px, 1.8vw, 34px);
  }

  .eco-shell .eco-nav__trigger,
  .eco-shell .eco-nav__link {
    min-height: 38px;
    padding: 7px 0;
    color: var(--eco-ink);
    font: 600 clamp(12px, .92vw, 15px)/1.2 var(--eco-font-body);
  }

  .eco-shell .eco-mega-menu {
    top: 100%;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
  }

  .eco-shell .eco-mega-menu__inner {
    width: min(calc(100% - 64px), 1420px);
    margin-inline: auto;
    padding: 28px clamp(28px, 3vw, 48px) 32px;
    border: 1px solid rgba(47, 71, 57, .14);
    border-radius: 0 0 24px 24px;
    background: rgba(255, 255, 255, .985);
    box-shadow: 0 24px 42px rgba(47, 71, 57, .16);
  }

  .eco-shell .eco-mega-menu--simple .eco-mega-menu__inner {
    width: max-content;
    min-width: 220px;
    max-width: calc(100vw - 32px);
    margin-right: 0;
    margin-left: var(--eco-simple-menu-left, 16px);
    padding: 12px 0;
  }
}

@media (min-width: 1200px) and (max-width: 1370px) {
  .eco-shell .eco-header__inner.eco-container {
    width: calc(100% - 40px) !important;
    grid-template-columns: 220px minmax(0, 1fr) 142px;
    gap: 12px;
  }

  .eco-shell .eco-header__brand {
    width: 210px !important;
    max-width: 210px !important;
  }

  .eco-shell .eco-header__actions {
    width: 142px;
    min-width: 142px;
    max-width: 142px;
    justify-self: end;
  }

  .eco-shell .eco-header__secondary {
    right: 174px;
    left: 252px;
  }

  .eco-shell .eco-nav__list { gap: clamp(9px, 1vw, 13px); }
  .eco-shell .eco-nav__trigger,
  .eco-shell .eco-nav__link {
    font-size: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 1199px) {
  .eco-shell .eco-header__menu-button {
    display: inline-grid !important;
  }

  .eco-shell .eco-header__secondary,
  .eco-shell .eco-mega-menu {
    display: none !important;
  }

  .eco-shell .eco-header__inner.eco-container {
    width: calc(100% - 24px) !important;
    min-height: 72px;
    grid-template-columns: 44px minmax(0, 1fr) 132px;
    gap: 8px;
  }

  .eco-shell .eco-header__brand {
    width: min(210px, 100%) !important;
    min-width: min(210px, 100%) !important;
    max-width: 210px !important;
    display: block !important;
    justify-self: start;
    flex: 0 0 auto !important;
  }

  .eco-shell .eco-header__brand .eco-brand-lockup,
  .eco-shell .eco-header__brand .eco-brand-lockup__mark {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  .eco-shell .eco-header__brand img {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 32px !important;
    object-fit: contain !important;
    object-position: left center !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .eco-shell .eco-header__actions {
    width: 132px;
    min-width: 132px;
    gap: 2px;
  }

  .eco-shell .eco-header__actions .eco-header__account {
    display: inline-grid !important;
  }
}

@media (max-width: 480px) {
  .eco-shell .eco-announcement {
    min-height: 34px;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    font-size: 11px;
  }

  .eco-shell .eco-announcement__control {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .eco-shell .eco-announcement__pause { display: none; }

  .eco-shell .eco-header__inner.eco-container {
    min-height: 70px;
    grid-template-columns: 42px minmax(0, 1fr) 126px;
    gap: 6px;
  }

  .eco-shell .eco-header__brand {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 170px !important;
  }

  .eco-shell .eco-header__actions {
    width: 126px;
    min-width: 126px;
  }

  .eco-shell button.eco-icon-button,
  .eco-shell .eco-icon-button {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    flex-basis: 42px;
  }
}
