/* WildDragon 2026 shared header. Used by home, category, and product pages. */

:is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) {
  --wd-header-ink: #171421;
  --wd-header-muted: #716a7f;
  --wd-header-purple: #7c35e8;
  --wd-header-purple-dark: #5f25c8;
  --wd-header-border: rgba(124, 53, 232, 0.12);
  --wd-header-shadow: 0 16px 42px rgba(31, 22, 50, 0.08);
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content.site-header.nasa-header-sticky-wrap {
  position: relative !important;
  z-index: 10050 !important;
  width: 100% !important;
  margin: 0 !important;
  overflow: visible !important;
  border-bottom: 1px solid var(--wd-header-border) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: var(--wd-header-shadow) !important;
  -webkit-backdrop-filter: saturate(150%) blur(18px) !important;
  backdrop-filter: saturate(150%) blur(18px) !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content *,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content *::before,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content *::after {
  box-sizing: border-box !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content ul,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content ol,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content a {
  color: inherit !important;
  text-decoration: none !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content #masthead {
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .hidden-tag:not(.nasa-active):not(.nasa-show),
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .warpper-mobile-search.hidden-tag:not(.nasa-active):not(.nasa-show) {
  display: none !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .sub-menu,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nav-dropdown,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-menu-dropdown {
  display: none !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content #top-bar {
  min-height: 38px !important;
  border-bottom: 1px solid var(--wd-header-border) !important;
  background: linear-gradient(90deg, #fbf8ff 0%, #fff 48%, #f8f3ff 100%) !important;
  color: #4e465d !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content #top-bar .row,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content #top-bar ul,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content #top-bar .topbar-menu-container {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 14px !important;
  min-height: 38px !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .logo,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .logo-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .logo img,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content img.header_logo,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content img.logo_mobile {
  display: block !important;
  width: auto !important;
  object-fit: contain !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .logo img:not(:first-child) {
  display: none !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nav-wrapper .root-item > a,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content #site-navigation .root-item > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  color: #211b2d !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nav-wrapper .root-item > a::after,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content #site-navigation .root-item > a::after {
  display: none !important;
  content: none !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nav-wrapper .root-item:hover > a,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nav-wrapper .current-menu-item > a,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nav-wrapper .current-menu-parent > a,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nav-wrapper .current_page_item > a {
  background: #f4edff !important;
  color: var(--wd-header-purple-dark) !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .header-icons,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-header-icons {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  min-width: 0 !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .header-icons .nasa-icon-text,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .header-icons .cart-label,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .header-icons .wishlist-title,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .header-icons .mini-cart-label,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .header-icons .hidden-tag {
  display: none !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .header-icons > li,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .header-icons > li > a {
  position: relative !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .header-icons > li > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  padding: 0 !important;
  border: 1px solid rgba(124, 53, 232, 0.16) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #211b2d !important;
  box-shadow: 0 12px 28px rgba(31, 22, 50, 0.08) !important;
  pointer-events: auto !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .header-icons > li > a:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(124, 53, 232, 0.36) !important;
  color: var(--wd-header-purple-dark) !important;
  box-shadow: 0 16px 34px rgba(31, 22, 50, 0.12) !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .header-icons svg {
  display: block !important;
  width: 26px !important;
  height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  color: currentColor !important;
  box-shadow: none !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-mini-number {
  position: absolute !important;
  top: -7px !important;
  right: -7px !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 6px !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  background: var(--wd-header-purple) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(100, 36, 200, 0.28) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) .nasa-show-search-form,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) .nasa-search-space,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) .warpper-mobile-search {
  z-index: 100900 !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) .nasa-show-search-form.nasa-show,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) .nasa-show-search-form.nasa-active,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) .nasa-show-search-form.nasa-over-hide {
  position: fixed !important;
  z-index: 100920 !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) .nasa-tranparent,
html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) .nasa-tranparent-filter {
  z-index: 100880 !important;
}

html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #gender-tabs-container {
  z-index: 20 !important;
}

@media (min-width: 1025px) {
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content #masthead {
    min-height: 112px !important;
    padding: 14px 0 !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content #masthead .row,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .large-12.columns.header-container {
    float: none !important;
    width: min(100% - 96px, 1640px) !important;
    max-width: 1640px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-header-flex,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-elements-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(42px, 5vw, 96px) !important;
    min-height: 92px !important;
    overflow: visible !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-header-flex > .order-1,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-header-flex > .logo-wrapper {
    order: 1 !important;
    flex: 0 0 320px !important;
    width: 320px !important;
    max-width: 320px !important;
    justify-content: flex-start !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-header-flex > .order-2,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-header-flex > .wide-nav {
    order: 2 !important;
    flex: 0 1 720px !important;
    min-width: 360px !important;
    max-width: 720px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 2 !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-header-flex > .order-3,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-header-flex > .icons-wrapper {
    order: 3 !important;
    flex: 0 0 320px !important;
    width: 320px !important;
    max-width: 320px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    position: relative !important;
    z-index: 10080 !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content #site-navigation > ul,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nav-wrapper > ul,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nav-wrapper .nav-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 22px !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .logo img,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content img.header_logo {
    max-width: 260px !important;
    max-height: 96px !important;
  }
}

@media (max-width: 1024px) {
  html,
  body.home,
  body.front-page,
  body.tax-product_cat,
  body.wd-category-surface,
  body.single-product {
    margin-top: 0 !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content.site-header.nasa-header-sticky-wrap,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .sticky-wrapper,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .fixed-already {
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 calc(50% - 50vw) !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 10px 28px rgba(31, 22, 50, 0.1) !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content #top-bar {
    display: none !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content #masthead,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-header-mobile-layout #masthead {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 70px !important;
    height: 70px !important;
    margin: 0 !important;
    padding: 0 max(14px, env(safe-area-inset-left)) 0 max(14px, env(safe-area-inset-right)) !important;
    background: #fff !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content #masthead .row,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .large-12.columns.header-container {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-header-flex,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-header-mobile-layout #masthead,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-header-mobile-layout .nasa-elements-wrap {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) 104px !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 70px !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .elements-wrapper.left-icons,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .elements-wrapper.right-icons {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .elements-wrapper.left-icons {
    justify-content: flex-start !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .elements-wrapper.right-icons {
    justify-content: flex-end !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nav-wrapper,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content #site-navigation {
    display: none !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .logo .header_logo {
    display: none !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .logo .logo_mobile,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .logo.nasa-has-mobile-logo .logo_mobile,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content img.logo_mobile {
    display: inline-block !important;
    width: auto !important;
    max-width: min(178px, 42vw) !important;
    max-height: 58px !important;
  }

  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .header-icons > li > a,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .nasa-mobile-menu_toggle,
  html :is(body.home, body.front-page, body.tax-product_cat, body.wd-category-surface, body.single-product) #header-content .mobile_toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    border: 1px solid rgba(124, 53, 232, 0.14) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #211b2d !important;
    box-shadow: 0 10px 24px rgba(31, 22, 50, 0.07) !important;
  }
}
