:root {
  --hb-shell-brand: #00a0e9;
  --hb-shell-brand-dark: #0069a8;
  --hb-shell-ink: #17354d;
  --hb-shell-muted: #8093a1;
  --hb-shell-line: #dce8ef;
}

.hb-site-home .index-search,
.hb-site-home .index-header .header-right,
.hb-site-home .index-header .site-search {
  display: none !important;
}

.hb-shell-enabled #head .titleNav > li > a {
  white-space: nowrap;
}

.hb-shell-enabled #head {
  position: relative;
  z-index: 100;
}

.hb-shell-enabled .header ul.titleNav > li.hb-shell-products {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.hb-shell-enabled .hb-shell-products__toggle {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  color: #2e4a60;
  background: transparent;
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease;
}

.hb-shell-enabled .hb-shell-products__toggle::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--hb-shell-brand);
  transform: scaleX(0);
  transition: transform .18s ease;
}

.hb-shell-enabled .hb-shell-products__toggle:hover,
.hb-shell-enabled .hb-shell-products__toggle:focus-visible,
.hb-shell-enabled .hb-shell-products.is-open .hb-shell-products__toggle {
  color: var(--hb-shell-brand-dark);
}

.hb-shell-enabled .hb-shell-products__toggle:hover::after,
.hb-shell-enabled .hb-shell-products__toggle:focus-visible::after,
.hb-shell-enabled .hb-shell-products.is-open .hb-shell-products__toggle::after {
  transform: scaleX(1);
}

.hb-shell-enabled .hb-shell-products__toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}

.hb-shell-enabled .hb-shell-products.is-open .hb-shell-products__toggle svg {
  transform: rotate(180deg);
}

.hb-shell-enabled .hb-shell-products__panel {
  position: absolute;
  z-index: 120;
  top: calc(100% - 4px);
  right: -20px;
  width: 252px;
  padding: 9px;
  border: 1px solid rgba(205, 224, 235, .92);
  border-radius: 14px;
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 22px 52px rgba(17, 55, 82, .17);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.hb-shell-enabled .hb-shell-products__panel::before {
  content: "";
  position: absolute;
  right: 36px;
  bottom: 100%;
  width: 48px;
  height: 9px;
}

.hb-shell-enabled .hb-shell-products.is-open .hb-shell-products__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hb-shell-enabled #head .hb-shell-products__panel a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--hb-shell-ink) !important;
  background: transparent;
  transition: color .18s ease, background .18s ease;
}

.hb-shell-enabled #head .hb-shell-products__panel a::after {
  display: none;
}

.hb-shell-enabled #head .hb-shell-products__panel a:hover,
.hb-shell-enabled #head .hb-shell-products__panel a:focus-visible {
  color: var(--hb-shell-brand-dark) !important;
  background: #eef8fd;
}

.hb-shell-enabled .hb-shell-products__panel span {
  font-size: 14px;
  font-weight: 650;
}

.hb-shell-enabled .hb-shell-products__panel small {
  color: var(--hb-shell-muted);
  font-size: 11px;
}

.hb-shell-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  clear: both;
  color: #dbe9f2;
  background:
    radial-gradient(circle at 83% 14%, rgba(0, 160, 233, .17), transparent 22%),
    #132f45;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
}

.hb-shell-footer *,
.hb-shell-footer *::before,
.hb-shell-footer *::after {
  box-sizing: border-box;
}

.hb-shell-footer a {
  color: inherit;
  text-decoration: none;
}

.hb-shell-footer__main {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: start;
  gap: 44px;
  padding: 58px 0 48px;
}

.hb-shell-footer__brand img {
  display: block;
  width: 116px;
  height: auto;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid rgba(211, 235, 247, .46);
  background: linear-gradient(135deg, rgba(255, 255, 255, .68), rgba(216, 239, 250, .2));
  box-shadow: 0 12px 30px rgba(4, 31, 49, .13), inset 0 1px 0 rgba(255, 255, 255, .34);
}

.hb-shell-footer__brand p {
  margin: 18px 0 7px;
  color: #a9bfcd;
  font-size: 12px;
  line-height: 1.7;
}

.hb-shell-footer__brand > a {
  color: #d7eaf4;
  font-size: 12px;
}

.hb-shell-footer__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(104px, 1fr));
  gap: 26px;
  min-width: 0;
}

.hb-shell-footer__links dl,
.hb-shell-footer__links dd {
  min-width: 0;
  margin: 0;
}

.hb-shell-footer__links dt {
  margin-bottom: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}

.hb-shell-footer__links dd + dd {
  margin-top: 10px;
}

.hb-shell-footer__links a {
  color: #a9bfcd;
  font-size: 12px;
  line-height: 1.55;
  transition: color .18s ease;
}

.hb-shell-footer__links a:hover,
.hb-shell-footer__links a:focus-visible {
  color: #fff;
}

.hb-shell-footer__qr {
  display: flex;
  gap: 10px;
}

.hb-shell-footer__qr figure {
  width: 82px;
  margin: 0;
  text-align: center;
}

.hb-shell-footer__qr img {
  display: block;
  width: 70px;
  height: 70px;
  margin-inline: auto;
  padding: 4px;
  border-radius: 9px;
  background: #fff;
}

.hb-shell-footer__qr figcaption {
  margin-top: 7px;
  color: #a9bfcd;
  font-size: 10px;
  line-height: 1.4;
}

.hb-shell-footer__bottom {
  border-top: 1px solid rgba(218, 235, 245, .12);
}

.hb-shell-footer__bottom > div {
  width: min(1180px, calc(100% - 40px));
  min-height: 56px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #819baa;
  font-size: 11px;
}

.hb-shell-footer__bottom a:hover,
.hb-shell-footer__bottom a:focus-visible {
  color: #dbe9f2;
}

.hb-shell-footer [aria-current="page"] {
  color: #fff;
}

@media (hover: hover) and (min-width: 721px) {
  .hb-shell-enabled .hb-shell-products:hover .hb-shell-products__panel,
  .hb-shell-enabled .hb-shell-products:focus-within .hb-shell-products__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hb-shell-enabled .hb-shell-products__toggle {
    padding-inline: 8px;
  }

  .hb-shell-footer__main {
    grid-template-columns: 145px minmax(0, 1fr);
  }

  .hb-shell-footer__qr {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .hb-shell-footer__main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hb-shell-footer__brand {
    max-width: 280px;
  }

  .hb-shell-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .hb-shell-footer__qr {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .hb-shell-enabled .header ul.titleNav > li.hb-shell-products {
    position: static;
    flex: 0 0 auto;
  }

  .hb-shell-enabled .hb-shell-products__toggle {
    height: auto;
    padding: 8px 4px 11px;
    font-size: 11.5px;
  }

  .hb-shell-enabled .hb-shell-products__toggle::after {
    bottom: 4px;
  }

  .hb-shell-enabled .hb-shell-products__toggle svg {
    width: 11px;
    height: 11px;
  }

  .hb-shell-enabled.hb-shell-products-open #head .titleNav {
    overflow: visible;
  }

  .hb-shell-enabled .hb-shell-products__panel {
    position: fixed;
    top: 96px;
    right: 14px;
    width: min(252px, calc(100vw - 28px));
  }
}

@media (max-width: 560px) {
  .hb-shell-footer__main {
    width: calc(100% - 28px);
    gap: 32px;
    padding: 48px 0 40px;
  }

  .hb-shell-footer__links {
    gap: 30px 18px;
  }

  .hb-shell-footer__links dt {
    margin-bottom: 15px;
    font-size: 13px;
  }

  .hb-shell-footer__links a {
    font-size: 11px;
  }

  .hb-shell-footer__qr {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hb-shell-footer__bottom > div {
    width: calc(100% - 28px);
    min-height: 74px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    padding: 12px 0;
  }
}

@media (max-width: 370px) {
  .hb-shell-footer__links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-shell-products *,
  .hb-shell-footer * {
    transition-duration: .01ms !important;
  }
}
