/*
 * AdeptDEV × NANU Market — Category Hero Neutral Pass v7.29
 * Internal signature: AdeptDEV — https://t.me/adeptdevs
 * Neutral palette pass: #373636 + white; orange reserved for functional accents elsewhere.
 */

/* Light theme: remove warm/orange ambient from the category hero. */
#product-category.adeptdev-category .adev-category-hero {
  border-color: rgba(55,54,54,.075) !important;
  background:
    radial-gradient(circle at 90% -25%, rgba(55,54,54,.045), transparent 34%),
    #ffffff !important;
  box-shadow: 0 16px 42px rgba(55,54,54,.065) !important;
}

#product-category.adeptdev-category .adev-category-hero::before {
  width: 145px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #373636 0%, rgba(55,54,54,.42) 100%) !important;
  opacity: .82 !important;
}

#product-category.adeptdev-category .adev-category-kicker {
  color: #373636 !important;
  letter-spacing: .16em !important;
  font-weight: 850 !important;
}

#product-category.adeptdev-category .adev-category-kicker::before {
  background: #373636 !important;
  box-shadow: 0 0 0 4px rgba(55,54,54,.075) !important;
}

/* The old -0.035em made large uppercase category names look compressed. */
#product-category.adeptdev-category .adev-category-hero h1,
#product-category.adeptdev-category #adev-category-title {
  letter-spacing: .018em !important;
  line-height: 1.06 !important;
  font-weight: 900 !important;
}

#product-category.adeptdev-category .adev-category-count {
  border-color: rgba(55,54,54,.085) !important;
  background: rgba(255,255,255,.86) !important;
  color: rgba(55,54,54,.72) !important;
  box-shadow: none !important;
}

#product-category.adeptdev-category .adev-category-count strong {
  color: #373636 !important;
}

#product-category.adeptdev-category .adev-share {
  border-color: rgba(55,54,54,.10) !important;
  background: rgba(255,255,255,.90) !important;
  color: #373636 !important;
  box-shadow: none !important;
}

#product-category.adeptdev-category .adev-share:hover,
#product-category.adeptdev-category .adev-share:focus {
  border-color: rgba(55,54,54,.18) !important;
  background: #ffffff !important;
  color: #373636 !important;
  box-shadow: 0 8px 24px rgba(55,54,54,.07) !important;
}

#product-category.adeptdev-category .adev-category-hero__mark {
  color: rgba(55,54,54,.038) !important;
  letter-spacing: -.055em !important;
}

/* Dark theme: same neutral hierarchy, no orange cloud behind the title. */
body.nx-dark #product-category.adeptdev-category .adev-category-hero,
html.nx-theme-dark-root body #product-category.adeptdev-category .adev-category-hero {
  border-color: rgba(255,255,255,.10) !important;
  background:
    radial-gradient(circle at 90% -25%, rgba(255,255,255,.045), transparent 34%),
    #373636 !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.18) !important;
}

body.nx-dark #product-category.adeptdev-category .adev-category-hero::before,
html.nx-theme-dark-root body #product-category.adeptdev-category .adev-category-hero::before {
  background: linear-gradient(90deg, rgba(255,255,255,.74), rgba(255,255,255,.20)) !important;
}

body.nx-dark #product-category.adeptdev-category .adev-category-kicker,
html.nx-theme-dark-root body #product-category.adeptdev-category .adev-category-kicker {
  color: rgba(255,255,255,.76) !important;
}

body.nx-dark #product-category.adeptdev-category .adev-category-kicker::before,
html.nx-theme-dark-root body #product-category.adeptdev-category .adev-category-kicker::before {
  background: rgba(255,255,255,.78) !important;
  box-shadow: 0 0 0 4px rgba(255,255,255,.065) !important;
}

body.nx-dark #product-category.adeptdev-category .adev-category-count,
body.nx-dark #product-category.adeptdev-category .adev-share,
html.nx-theme-dark-root body #product-category.adeptdev-category .adev-category-count,
html.nx-theme-dark-root body #product-category.adeptdev-category .adev-share {
  border-color: rgba(255,255,255,.10) !important;
  background: rgba(255,255,255,.055) !important;
  color: rgba(255,255,255,.76) !important;
  box-shadow: none !important;
}

body.nx-dark #product-category.adeptdev-category .adev-category-count strong,
body.nx-dark #product-category.adeptdev-category .adev-share,
html.nx-theme-dark-root body #product-category.adeptdev-category .adev-category-count strong,
html.nx-theme-dark-root body #product-category.adeptdev-category .adev-share {
  color: #ffffff !important;
}

body.nx-dark #product-category.adeptdev-category .adev-category-hero__mark,
html.nx-theme-dark-root body #product-category.adeptdev-category .adev-category-hero__mark {
  color: rgba(255,255,255,.035) !important;
}

@media (max-width: 767px) {
  #product-category.adeptdev-category .adev-category-hero h1,
  #product-category.adeptdev-category #adev-category-title {
    letter-spacing: .012em !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
  }
}
