/* Transparent EMS header, scoped to the EMS front page only. */
body.ems-shell-active.ems-store-home .ems-shell-header--home {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 120 !important;
  background: transparent !important;
  color: #fff !important;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

body.admin-bar.ems-shell-active.ems-store-home .ems-shell-header--home {
  top: 32px !important;
}

body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-utility {
  background: #fff !important;
  border-bottom-color: rgba(0, 0, 0, .12) !important;
}

body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-primary {
  position: absolute !important;
  top: 36px !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  min-height: 96px !important;
  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
}

body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-desktop {
  position: relative !important;
  width: 100% !important;
  height: 96px !important;
  overflow: visible !important;
}

body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-primary__inner {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: min(1380px, calc(100% - 48px)) !important;
  min-height: 96px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 24px !important;
}

body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-primary .ems-shell-logo--header {
  flex: 0 0 250px !important;
  justify-content: flex-start !important;
  width: 250px !important;
  min-width: 230px !important;
}

body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-primary .ems-shell-logo--header img,
body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-primary .ems-shell-logo--header .ems-shell-logo__image {
  display: block !important;
  width: auto !important;
  max-width: 250px !important;
  max-height: 62px !important;
  object-fit: contain !important;
}

body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-nav--inline {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: max-content !important;
  min-height: 96px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateX(-50%) !important;
  background: transparent !important;
}

body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-nav--inline .ems-shell-nav__list {
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: clamp(26px, 3vw, 52px) !important;
  min-height: 96px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-nav--inline .ems-shell-nav__list > li {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-nav--inline .ems-shell-nav__link {
  display: flex !important;
  align-items: center !important;
  min-height: 96px !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6) !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-nav--inline .ems-shell-nav__link:hover,
body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-nav--inline .ems-shell-nav__link:focus-visible,
body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-nav--inline .ems-shell-nav__link[aria-expanded="true"],
body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-nav--inline .ems-shell-nav__link.is-current,
body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-nav--inline .ems-shell-nav__link[aria-current="page"] {
  color: var(--ems-accent, #F6A51C) !important;
  border-bottom-color: var(--ems-accent, #F6A51C) !important;
}

body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-actions {
  flex: 0 0 auto !important;
  min-width: 110px !important;
  margin-left: auto !important;
  justify-content: flex-end !important;
}

body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-cart--desktop,
body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-cart--desktop svg,
body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-cart__total {
  color: #fff !important;
}

body.ems-shell-active.ems-store-home .ems-shell-header--home.ems-home-scrolled,
body.ems-shell-active.ems-store-home .ems-shell-header--home.ems-home-scrolled .ems-shell-utility,
body.ems-shell-active.ems-store-home .ems-shell-header--home.ems-home-scrolled .ems-shell-primary,
body.ems-shell-active.ems-store-home .ems-shell-header--home.ems-home-scrolled .ems-shell-nav--inline {
  background: #050505 !important;
}

body.ems-shell-active.ems-store-home .ems-shell-header--home.ems-home-scrolled .ems-shell-utility__message,
body.ems-shell-active.ems-store-home .ems-shell-header--home.ems-home-scrolled .ems-shell-utility__message a {
  color: #fff !important;
}

@media (max-width: 767px) {
  body.ems-shell-active.ems-store-home .ems-shell-header--home {
    min-height: 122px !important;
  }

  body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-utility {
    background: rgba(0, 0, 0, .18) !important;
    border-bottom-color: rgba(255, 255, 255, .24) !important;
  }

  body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-utility__message,
  body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-utility__message a {
    color: #fff !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .5) !important;
  }

  body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-mobile {
    position: absolute !important;
    top: 36px !important;
    right: 0 !important;
    left: 0 !important;
    display: block !important;
    width: 100% !important;
    background: transparent !important;
  }

  body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-mobile__bar {
    height: 86px !important;
    min-height: 86px !important;
    background: transparent !important;
  }

  body.ems-shell-active.ems-store-home .ems-shell-header--home .ems-shell-mobile-search {
    display: none !important;
  }

  body.ems-shell-active.ems-store-home .ems-shell-header--home.ems-home-scrolled,
  body.ems-shell-active.ems-store-home .ems-shell-header--home.ems-home-scrolled .ems-shell-mobile,
  body.ems-shell-active.ems-store-home .ems-shell-header--home.ems-home-scrolled .ems-shell-mobile__bar {
    background: #050505 !important;
  }
}
