body > header.header {
  width: 100% !important;
  height: 62px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #fff !important;
  border-bottom: 1px solid #eef1f5 !important;
  box-shadow: none !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

body > header.header .hfc-header-inner {
  width: 100% !important;
  max-width: 1440px !important;
  height: 62px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 48px !important;
}

body > header.header .hfc-logo {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  text-decoration: none !important;
}

body > header.header .hfc-logo img {
  display: block !important;
  width: 204px !important;
  height: auto !important;
  max-width: none !important;
}

body > header.header .hfc-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 58px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 100% !important;
}

body > header.header .hfc-nav-item {
  display: inline-flex !important;
  align-items: center !important;
  height: 100% !important;
  position: relative !important;
}

body > header.header .hfc-nav-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  color: #1f2933 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

body > header.header .hfc-nav-link .iconfont {
  color: currentColor !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

body > header.header .hfc-nav-link:hover,
body > header.header .hfc-nav-link.is-active {
  color: #188cff !important;
}

body > header.header .hfc-nav-link.is-dropdown::after {
  content: "" !important;
  width: 8px !important;
  height: 8px !important;
  margin-left: 1px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: translateY(-3px) rotate(45deg) !important;
}

body > header.header .hfc-dropdown-panel {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  width: 704px !important;
  padding: 12px 16px 13px !important;
  background: #fff !important;
  border: 1px solid #eef1f5 !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.12) !important;
  transform: translateX(-28%) translateY(10px) !important;
  z-index: 1001 !important;
}

body > header.header .hfc-nav-item--dropdown:hover .hfc-dropdown-panel {
  display: block !important;
  transform: translateX(-28%) translateY(0) !important;
}

body > header.header .hfc-category-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px 18px !important;
}

body > header.header .hfc-category-card {
  height: 84px !important;
  padding: 0 !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 9px !important;
  background: #f6f8fb !important;
  text-decoration: none !important;
  transition: all .3s !important;
}

body > header.header .hfc-category-card:hover {
  transform: translateY(-4px) !important;
}

body > header.header .hfc-category-card--purple {
  background: linear-gradient(135deg, #c985ff, #a768ee) !important;
}

body > header.header .hfc-category-card--green {
  background: linear-gradient(135deg, #20d6b0, #19c78e) !important;
}

body > header.header .hfc-category-card--red {
  background: linear-gradient(135deg, #ff8e83, #ff5f5c) !important;
}

body > header.header .hfc-category-card--orange {
  background: linear-gradient(135deg, #ffc75a, #ff922d) !important;
}

body > header.header .hfc-category-card--coral {
  background: linear-gradient(135deg, #ff9f67, #ff743a) !important;
}

body > header.header .hfc-category-card--pink {
  background: linear-gradient(135deg, #ff77aa, #f63b75) !important;
}

body > header.header .hfc-category-card--lime {
  background: linear-gradient(135deg, #b5e82f, #89d600) !important;
}

body > header.header .hfc-category-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 12px !important;
  min-width: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

body > header.header .hfc-category-text strong {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

body > header.header .hfc-category-text em {
  max-width: 88px !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #188cff !important;
  font-size: 12px !important;
  font-style: normal !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body > header.header .hfc-category-card--purple .hfc-category-text em {
  color: #a768ee !important;
}

body > header.header .hfc-category-card--green .hfc-category-text em {
  color: #19c78e !important;
}

body > header.header .hfc-category-card--red .hfc-category-text em {
  color: #ff5f5c !important;
}

body > header.header .hfc-category-card--orange .hfc-category-text em {
  color: #ff922d !important;
}

body > header.header .hfc-category-card--coral .hfc-category-text em {
  color: #ff743a !important;
}

body > header.header .hfc-category-card--pink .hfc-category-text em {
  color: #f63b75 !important;
}

body > header.header .hfc-category-card--lime .hfc-category-text em {
  color: #89d600 !important;
}

body > header.header .hfc-category-card img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body > header.header .hfc-hot-search {
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px solid #eef1f5 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0 10px !important;
  color: #7b8794 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body > header.header .hfc-hot-search strong {
  color: #1f2933 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

body > header.header .hfc-hot-search a {
  color: #7b8794 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body > header.header .hfc-hot-search a:hover {
  color: #188cff !important;
}

body > footer.footer {
  width: 100% !important;
  margin: 0 !important;
  padding: 18px 20px 12px !important;
  background: #f5f8fc !important;
  border-top: 1px solid #edf2f7 !important;
  color: #8f99a8 !important;
  box-shadow: none !important;
}

body > footer.footer .hfc-footer-inner {
  max-width: 1440px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 7px !important;
  text-align: center !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

body > footer.footer .hfc-footer-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 0 12px !important;
  min-height: 18px !important;
}

body > footer.footer .hfc-footer-item,
body > footer.footer .hfc-footer-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  color: #8f99a8 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body > footer.footer .hfc-footer-link:hover {
  color: #188cff !important;
}

body > footer.footer .hfc-footer-police-icon {
  width: 16px !important;
  height: 16px !important;
  display: inline-block !important;
  object-fit: contain !important;
  vertical-align: middle !important;
}

@media (max-width: 1180px) {
  body > header.header .hfc-header-inner {
    gap: 28px !important;
  }

  body > header.header .hfc-nav {
    gap: 30px !important;
  }

  body > header.header .hfc-dropdown-panel {
    width: 640px !important;
    transform: translateX(-30%) translateY(10px) !important;
  }
  body > header.header .hfc-category-card {
    height: 75px !important;
  }
  body > header.header .hfc-category-card:hover {
       height: 75px !important;
    }
  body > header.header .hfc-nav-item--dropdown:hover .hfc-dropdown-panel {
    transform: translateX(-30%) translateY(0) !important;
  }

  body > header.header .hfc-logo img {
    width: 184px !important;
  }
}

@media (max-width: 768px) {
  body > header.header {
    height: auto !important;
  }

  body > header.header .hfc-header-inner {
    height: auto !important;
    min-height: 62px !important;
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 10px 16px !important;
  }

  body > header.header .hfc-logo img {
    width: 160px !important;
  }

  body > header.header .hfc-nav {
    width: 100% !important;
    height: auto !important;
    justify-content: flex-start !important;
    gap: 20px !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
  }

  body > header.header .hfc-nav-item {
    height: auto !important;
  }

  body > header.header .hfc-nav-link {
    font-size: 14px !important;
  }

  body > header.header .hfc-dropdown-panel {
    left: 0 !important;
    width: min(92vw, 520px) !important;
    transform: translateY(10px) !important;
  }

  body > header.header .hfc-nav-item--dropdown:hover .hfc-dropdown-panel {
    transform: translateY(0) !important;
  }

  body > header.header .hfc-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body > header.header .hfc-category-card {
    height: 76px !important;
  }

  body > footer.footer {
    padding: 16px 14px 12px !important;
  }

  body > footer.footer .hfc-footer-inner,
  body > footer.footer .hfc-footer-item,
  body > footer.footer .hfc-footer-link {
    font-size: 12px !important;
  }
}
