.qc-menu-item.hgc-product-center {
  position: static;
}

.qc-navbar.hgc-products-expanded,
body > header:has(.hgc-product-legacy.hgc-products-expanded) {
  z-index: 1100;
}

.hgc-product-center .hgc-product-trigger {
  border: 0;
  background: transparent;
  font-family: inherit;
}

.hgc-product-legacy {
  position: relative;
}

.hgc-product-legacy .hgc-product-center {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  position: static;
}

.hgc-product-legacy .hgc-product-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 72px;
  padding: 0 20px;
  color: #333;
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
}

.hgc-product-legacy :is(button, a):focus-visible {
  outline: 2px solid #0052d9 !important;
  outline-offset: -3px;
}

.hgc-product-chevron {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  opacity: .7;
  transition: transform .18s ease, opacity .18s ease;
}

.is-product-open > .hgc-product-trigger {
  color: #0052d9;
}

.is-product-open > .hgc-product-trigger::after {
  transform: scaleX(1);
}

.is-product-open .hgc-product-chevron,
.hgc-product-mobile[open] > summary .hgc-product-chevron {
  opacity: 1;
  transform: rotate(180deg);
}

.hgc-product-dropdown {
  position: absolute;
  z-index: 25;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100vh - var(--hgc-product-top, 70px));
  max-height: calc(100dvh - var(--hgc-product-top, 70px));
  overflow: hidden;
  overscroll-behavior: contain;
  background: #ffffff;
  border-top: 1px solid #e7ebf0;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .09);
}

.hgc-product-dropdown[hidden],
.hgc-product-panel[hidden] {
  display: none !important;
}

.hgc-product-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  color: #181818;
  text-align: left;
  font-family: inherit;
}

.hgc-product-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 310px;
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  max-width: 1640px;
  min-height: min(540px, max(0px, calc(100vh - var(--hgc-product-top, 70px) - 1px)));
  min-height: min(540px, max(0px, calc(100dvh - var(--hgc-product-top, 70px) - 1px)));
  max-height: calc(100vh - var(--hgc-product-top, 70px));
  max-height: calc(100dvh - var(--hgc-product-top, 70px));
  overflow: hidden;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
  min-width: 0;
}

.hgc-product-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 0;
  background: #f5f7fa;
  border-right: 1px solid #eef1f6;
  min-width: 0;
  min-height: 0;
}

.hgc-product-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 28px 20px;
  color: #181818;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s ease;
}

.hgc-product-all-link:hover {
  color: #0052d9;
  text-decoration: none;
}

.hgc-product-chevron-right {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hgc-product-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hgc-product-tab {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 8px 28px;
  border: 0;
  background: transparent;
  color: #181818;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: color .15s ease;
}

.hgc-product-tab:hover {
  color: #0052d9;
}

.hgc-product-tab[aria-selected="true"] {
  color: #0052d9;
  font-weight: 500;
}

.hgc-product-tab-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 6px;
  min-width: 0;
}

.hgc-product-tab-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #0052d9;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .16s ease;
}

.hgc-product-tab[aria-selected="true"] .hgc-product-tab-inner::after {
  transform: scaleX(1);
}

.hgc-product-tab-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hgc-product-center-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 28px 44px 36px;
  background: #ffffff;
}

.hgc-product-search-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.hgc-product-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 280px;
  max-width: 420px;
  height: 36px;
  padding: 0 12px;
  margin: 0;
  border-radius: 2px;
  border: 1px solid transparent;
  background: #f3f5f8;
  color: #4b5563;
  cursor: text;
  transition: background-color .15s ease, border-color .15s ease;
}

.hgc-product-search-box:focus-within {
  background: #ffffff;
  border-color: #0052d9;
}

.hgc-product-search-svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #4b5563;
}

.hgc-product-search-input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #181818;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.hgc-product-search-input::placeholder {
  color: #9ca3af;
}

.hgc-product-hot-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hgc-product-hot-tag {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 2px;
  background: #f3f5f8;
  color: #374151;
  font-size: 12.5px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}

.hgc-product-hot-tag:hover {
  background: #e8effa;
  color: #0052d9;
  text-decoration: none;
}

.hgc-product-content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 10px;
  margin: -8px -10px;
}

.hgc-product-section-title {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f2f5;
  color: #181818;
  font-size: 14px;
  font-weight: 600;
}

.hgc-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 36px;
  align-content: start;
}

.hgc-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 8px 10px;
  margin: -8px -10px;
  border-radius: 4px;
  background: transparent;
  color: #181818;
  text-decoration: none;
  transition: background-color .14s ease;
}

.hgc-product-card:hover {
  background: #f5f7fa;
  text-decoration: none;
}

.hgc-product-name {
  display: block;
  color: #181818;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  transition: color .14s ease;
}

.hgc-product-card:hover .hgc-product-name {
  color: #0052d9;
}

.hgc-product-description {
  display: block;
  margin-top: 4px;
  color: #858a99;
  font-size: 12px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hgc-product-promo-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 36px 28px 0;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hgc-product-close {
  position: absolute;
  top: 28px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #858a99;
  cursor: pointer;
  transition: color .15s ease;
}

.hgc-product-close:hover {
  color: #181818;
}

.hgc-product-close-svg {
  width: 14px;
  height: 14px;
}

.hgc-product-banner-wrap {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 4px;
  background: #f5f7fa;
}

.hgc-product-banner-kicker {
  margin-bottom: 8px;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hgc-product-banner {
  display: block;
  text-decoration: none;
  border-radius: 2px;
  overflow: hidden;
}

.hgc-product-banner:hover {
  text-decoration: none;
}

.hgc-product-banner-stage {
  display: flex;
  align-items: center;
  min-height: 96px;
  padding: 16px;
  background: #e6f0ff url('/web/heiguocloud/assets/img/document/document-pc.jpg') right center / cover no-repeat;
  color: #181818;
}

.hgc-product-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hgc-product-banner-title {
  font-size: 15px;
  font-weight: 600;
  color: #181818;
  line-height: 1.35;
}

.hgc-product-banner-sub {
  font-size: 12px;
  color: #4b5563;
}

.hgc-product-news {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 4px;
  background: #f9fafc;
}

.hgc-product-news-head {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  color: #181818;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.hgc-product-news-head:hover {
  color: #0052d9;
  text-decoration: none;
}

.hgc-product-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hgc-product-news-item {
  position: relative;
  display: block;
  padding-left: 12px;
  text-decoration: none;
}

.hgc-product-news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5e1;
}

.hgc-product-news-item:hover {
  text-decoration: none;
}

.hgc-product-news-top {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.hgc-product-news-title {
  color: #181818;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .14s ease;
}

.hgc-product-news-item:hover .hgc-product-news-title {
  color: #0052d9;
}

.hgc-product-tag {
  display: inline-flex;
  align-items: center;
  height: 16px;
  padding: 0 5px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.hgc-product-tag.is-red {
  background: #fff1f0;
  color: #e34d59;
}

.hgc-product-news-desc {
  margin: 3px 0 0;
  color: #858a99;
  font-size: 12px;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hgc-product-empty {
  padding: 40px 24px;
  text-align: center;
  color: #858a99;
}

.hgc-product-empty a {
  display: inline-block;
  padding: 10px 16px;
  color: #0052d9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hgc-product-mobile {
  margin-top: 2px;
}

.hgc-product-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px;
  color: #0f172a;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.hgc-product-summary::-webkit-details-marker {
  display: none;
}

.hgc-product-mobile .hgc-product-layout {
  grid-template-columns: minmax(96px, 28%) minmax(0, 1fr);
  min-height: 0;
  max-height: 65vh;
  max-height: 65dvh;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.hgc-product-mobile .hgc-product-sidebar {
  padding: 8px 0;
}

.hgc-product-mobile .hgc-product-all-link,
.hgc-product-mobile .hgc-product-search-bar,
.hgc-product-mobile .hgc-product-section-title,
.hgc-product-mobile .hgc-product-promo-col {
  display: none;
}

.hgc-product-mobile .hgc-product-tab {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 13px;
}

.hgc-product-mobile .hgc-product-center-col {
  padding: 10px;
}

.hgc-product-mobile .hgc-product-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.hgc-product-mobile .hgc-product-card {
  margin: 0;
  padding: 8px;
}

.hgc-product-description,
.hgc-product-banner-kicker,
.hgc-product-banner-title,
.hgc-product-banner-sub,
.hgc-product-news-title,
.hgc-product-news-desc {
  white-space: normal;
  overflow-wrap: anywhere;
}

.hgc-product-news-top {
  flex-wrap: wrap;
}

.hgc-product-tag {
  max-width: 100%;
  height: auto;
  min-height: 16px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hgc-product-mobile .hgc-product-tab-label {
  white-space: normal;
  overflow-wrap: anywhere;
}

.hgc-product-without-promo {
  grid-template-columns: 220px minmax(0, 1fr) 36px;
}

.hgc-product-without-promo .hgc-product-promo-col {
  padding-right: 0;
}

.hgc-product-mobile .hgc-product-content {
  padding: 0;
  margin: 0;
}

.qc-navbar.hgc-nav-condensed .qc-menu,
.qc-navbar.hgc-nav-condensed .qc-util {
  display: none;
}

.qc-navbar.hgc-nav-condensed .qc-navbar-inner {
  justify-content: space-between;
}

.qc-navbar.hgc-nav-condensed .qc-burger {
  display: flex;
}

.qc-navbar.hgc-nav-condensed .qc-mobile.is-open {
  display: block !important;
}

@media (min-width: 961px) and (max-width: 1400px) {
  .qc-navbar:has(.hgc-product-center) .qc-navbar-inner {
    gap: 16px;
    padding-left: 24px;
  }

  .qc-navbar:has(.hgc-product-center) .qc-util span {
    display: none;
  }
}

@media (min-width: 961px) and (max-width: 1200px) {
  .hgc-product-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .hgc-product-promo-col {
    display: none;
  }

  .hgc-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .qc-navbar .hgc-product-dropdown {
    display: none;
  }
}

@media (max-width: 991px) {
  .hgc-product-legacy .hgc-product-trigger {
    height: 44px;
    padding: 0 12px;
    font-size: 14px;
  }

  .hgc-product-legacy .hgc-product-layout {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .hgc-product-legacy .hgc-product-promo-col {
    display: none;
  }

  .hgc-product-legacy .hgc-product-center-col {
    padding: 14px;
  }

  .hgc-product-legacy .hgc-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .hgc-product-legacy .hgc-product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hgc-product-chevron,
  .hgc-product-card {
    transition: none;
  }
}
