header.ecofit-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  overflow: visible !important;
  background: rgba(255, 255, 255, .97) !important;
  border-bottom: 1px solid #eee4e4 !important;
  box-shadow: 0 8px 26px rgba(38, 20, 26, .055) !important;
  backdrop-filter: blur(16px);
}

header.ecofit-header + .ecofit-source-utility,
.ecofit-source-utility {
  display: none !important;
}

header.ecofit-header .ecofit-header-row {
  width: 100% !important;
  max-width: 1500px !important;
  height: 82px !important;
  min-height: 82px !important;
  margin-inline: auto !important;
  padding-inline: clamp(18px, 5vw, 72px) !important;
  gap: clamp(16px, 2.5vw, 42px) !important;
  transition: height .28s cubic-bezier(.2, .8, .2, 1), min-height .28s cubic-bezier(.2, .8, .2, 1);
}

header.ecofit-header.ecofit-header-compact .ecofit-header-row {
  height: 68px !important;
  min-height: 68px !important;
}

header.ecofit-header.ecofit-header-compact .ecofit-logo-wrap img {
  width: 96px !important;
}

header.ecofit-header.ecofit-header-compact .ecofit-header-cta {
  min-height: 38px;
}

header.ecofit-header .ecofit-logo-wrap {
  flex: 0 0 auto !important;
}

header.ecofit-header .ecofit-logo-wrap img {
  display: block !important;
  width: 112px !important;
  height: auto !important;
  max-width: none !important;
  transition: transform .2s ease, opacity .2s ease;
}

header.ecofit-header .ecofit-logo-wrap a:hover img {
  opacity: .88;
  transform: translateY(-1px);
}

header.ecofit-header .ecofit-source-nav {
  display: none !important;
}

header.ecofit-header .ecofit-header-nav {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(20px, 3vw, 46px) !important;
  min-width: 0 !important;
}

header.ecofit-header .ecofit-header-nav a {
  position: relative;
  padding: 10px 0;
  color: #393237;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .005em;
  text-decoration: none;
  transition: color .18s ease;
}

header.ecofit-header .ecofit-header-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: #a10c36;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

header.ecofit-header .ecofit-header-nav a:hover,
header.ecofit-header .ecofit-header-nav a:focus-visible {
  color: #a10c36;
}

header.ecofit-header .ecofit-header-nav a:hover::after,
header.ecofit-header .ecofit-header-nav a:focus-visible::after {
  transform: scaleX(1);
}

header.ecofit-header .ecofit-header-actions {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 9px !important;
}

header.ecofit-header .ecofit-desktop-search {
  width: 190px !important;
  border: 1px solid #efe6e5 !important;
  border-radius: 999px !important;
  background: #fbf8f7 !important;
  color: #71696c !important;
  transition: border-color .18s ease, background .18s ease !important;
}

header.ecofit-header .ecofit-desktop-search:hover {
  border-color: #d8b4be !important;
  background: #fff !important;
}

header.ecofit-header .ecofit-cart-button,
header.ecofit-header .ecofit-mobile-search,
header.ecofit-header .ecofit-menu-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px;
  min-height: 42px;
  border-radius: 999px !important;
  color: #31272b !important;
  transition: color .18s ease, background .18s ease, transform .18s ease !important;
}

header.ecofit-header .ecofit-cart-button:hover,
header.ecofit-header .ecofit-mobile-search:hover,
header.ecofit-header .ecofit-menu-trigger:hover {
  background: #f7eef0 !important;
  color: #a10c36 !important;
}

header.ecofit-header .ecofit-cart-label {
  margin-left: 7px;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

header.ecofit-header .ecofit-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #a10c36;
  border-radius: 999px;
  background: #a10c36;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(161, 12, 54, .13);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

header.ecofit-header .ecofit-header-cta:hover {
  background: #82092b;
  box-shadow: 0 8px 18px rgba(161, 12, 54, .2);
  transform: translateY(-1px);
}

header.ecofit-header .ecofit-hide-control {
  display: none !important;
}

header.ecofit-header .ecofit-menu-trigger,
header.ecofit-header .ecofit-mobile-menu {
  display: none !important;
}

header.ecofit-header .ecofit-menu-trigger {
  padding: 0 !important;
  border: 0;
  background: transparent;
  cursor: pointer;
}

header.ecofit-header .ecofit-menu-trigger svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

header.ecofit-header .ecofit-mobile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 10px clamp(18px, 5vw, 72px) 18px;
  border-bottom: 1px solid #eee4e4;
  background: #fff;
  box-shadow: 0 18px 28px rgba(38, 20, 26, .1);
}

header.ecofit-header .ecofit-mobile-menu a {
  display: block;
  padding: 15px 2px;
  border-bottom: 1px solid #f2eaea;
  color: #393237;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

header.ecofit-header .ecofit-mobile-menu a:last-child {
  border-bottom: 0;
}

header.ecofit-header .ecofit-mobile-menu a:hover {
  color: #a10c36;
}

header.ecofit-header .ecofit-header-row ~ .ecofit-mobile-menu {
  display: none !important;
}

html {
  scroll-padding-top: 96px;
}

#eco-home,
#ecofit-materials,
#ecofit-footer,
#shop-products {
  scroll-margin-top: 100px;
}

#root main > :not(#eco-home):not(#ecofit-stories):not(#shop-products),
#root [data-ecofit-legacy-nike="true"] {
  display: none !important;
}

#root footer {
  display: none !important;
}

header.ecofit-header .ecofit-desktop-search,
header.ecofit-header .ecofit-mobile-search,
header.ecofit-header .ecofit-cart-button {
  display: none !important;
}

.ecofit-explore-ready #root {
  visibility: visible;
}

@media (max-width: 1023px) {
  header.ecofit-header .ecofit-header-row {
    height: 72px !important;
    min-height: 72px !important;
    padding-inline: clamp(16px, 4vw, 30px) !important;
    gap: 12px !important;
  }

  header.ecofit-header .ecofit-logo-wrap img {
    width: 98px !important;
  }

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

  header.ecofit-header .ecofit-header-actions {
    gap: 3px !important;
  }

  header.ecofit-header .ecofit-desktop-search {
    width: 170px !important;
  }

  header.ecofit-header .ecofit-cart-label,
  header.ecofit-header .ecofit-header-cta {
    display: none !important;
  }

  header.ecofit-header .ecofit-menu-trigger {
    display: inline-flex !important;
  }

  header.ecofit-header.ecofit-menu-open .ecofit-mobile-menu {
    display: block !important;
  }
}

@media (min-width: 640px) {
  header.ecofit-header .ecofit-mobile-search {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  header.ecofit-header *,
  header.ecofit-header *::before,
  header.ecofit-header *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
