.footer-copyright { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.footer-company { width: fit-content; max-width: 100%; min-width: 0; padding-block-start: 18px; text-align: center; }
.footer-company .footer-company-logo { display: block; width: fit-content; max-width: 100%; margin: 0 auto 16px; }
.footer-company .footer-company-logo img { display: block; width: 128px; max-width: 100%; height: auto; padding: 6px 8px; border-radius: 4px; background: #fff; }
.footer-company p { margin: 0; color: #c5c6c9; font-size: 14px; line-height: 1.8; }
.bowang-home .footer-top { grid-template-columns: minmax(220px, .85fr) minmax(0, 2fr); gap: 48px; }
.bowang-home .zy-footer-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.qimu-product .footer .footer-main { display: grid; grid-template-columns: minmax(180px, .85fr) minmax(0, 2fr); align-items: start; gap: 48px; }
.qimu-product .footer-main .zy-footer-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; min-width: 0; color: #bfc1c5; font-size: 14px; line-height: 1.55; }
.qimu-product .zy-footer-groups h2 { margin-top: 12px; font-size: 14px; line-height: 1.55; letter-spacing: normal; }
:is(.bowang-home, .qimu-product) .zy-footer-groups > div > ul { gap: 4px; }
:is(.bowang-home, .qimu-product) .zy-footer-groups > div > ul > li > a,
:is(.bowang-home, .qimu-product) .zy-footer-groups > div > ul > li > details > summary {
  display: block;
  width: fit-content;
  min-height: 0;
  padding-block: 4px;
  font-size: 14px;
  line-height: 1.55;
  cursor: pointer;
}
.qimu-product .footer-contact summary::-webkit-details-marker { display: none; }
.qimu-product .zy-footer-groups a:hover, .qimu-product .footer-contact summary:hover { color: #fff; }
.qimu-product .footer-contact p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 4px; overflow-wrap: anywhere; user-select: text; }
.qimu-product .footer-contact-address { min-width: 0; }
.qimu-product .footer-contact-copy { min-width: 4.5em; padding: 4px 8px; border: 1px solid #626469; border-radius: 4px; background: transparent; color: inherit; font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer; }
.qimu-product .footer-contact-copy:hover { color: #fff; border-color: #c5c6c9; }
.qimu-product .zy-footer-groups :is(a, button, summary):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (min-width: 1025px) {
  .bowang-home .footer-top,
  .qimu-product .footer .footer-main {
    grid-template-columns: minmax(220px, 18.5%) minmax(0, 1fr);
    padding-inline-end: 8%;
  }
}

@media (max-width: 1024px) {
  .bowang-home .zy-footer-groups { gap: 0; }
  .qimu-product .footer-main .zy-footer-groups { display: flex; gap: 0; }
  .qimu-product .zy-footer-groups h2 { margin: 0; }
}
@media (max-width: 767px) {
  .bowang-home .footer-top, .qimu-product .footer .footer-main { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
.footer-policy-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; }
.footer-policy-links a { display: inline-flex; align-items: center; min-height: 28px; color: #eee; }
.footer-policy-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-policy-links a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.footer-policy-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.footer-policy-links span { color: #85878c; }
.footer-icp { display: flex; flex-basis: 100%; flex-wrap: wrap; align-items: center; column-gap: 12px; margin: 0; color: #c5c6c9; font-size: 12px; line-height: 1.55; }
.footer-icp a { display: inline-block; padding-block: 4px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-icp a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.footer-social {
  display: flex;
  justify-content: flex-end;
  margin-inline-start: auto;
}

.footer-social > button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.footer-social > button > img {
  width: 24px;
  height: 24px;
  opacity: .57;
}

.footer-social > button:hover > img,
.footer-social > button:focus-visible > img {
  opacity: 1;
}

.footer-social > button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
  border-radius: 4px;
}

.bowang-home .footer-social + .zy-footer-baseline,
.qimu-product .footer-social + .footer-legal {
  margin-top: 14px;
  padding-top: 14px;
}

.qimu-product .footer-legal {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-language {
  position: relative;
  flex: none;
  align-self: flex-end;
  margin-inline-start: auto;
  font-size: 12px;
}

.footer-language summary {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  width: fit-content;
  margin-inline-start: auto;
  list-style: none;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.footer-language summary::-webkit-details-marker { display: none; }
.footer-language summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.footer-language__options {
  position: absolute;
  z-index: 2;
  inset: auto 0 calc(100% + 6px) auto;
  width: 132px;
  padding: 8px 0;
  border-radius: 8px;
  background: #fff;
  color: #151515;
  box-shadow: 0 3px 14px rgb(0 0 0 / 22%);
}

.footer-language__options button {
  display: block;
  width: 100%;
  min-height: 32px;
  padding: 6px 16px;
  border: 0;
  background: transparent;
  text-align: start;
  cursor: pointer;
}

.footer-language__options button[aria-pressed="true"] { color: #cf101b; font-weight: 600; }
.footer-language__options button:hover,
.footer-language__options button:focus-visible { background: #f1f1f1; }
.footer-language__options button:focus-visible { outline: 2px solid #333; outline-offset: -2px; }

@media (max-width: 767px) {
  .footer-social > button { flex-shrink: 1; width: 44px; min-width: 0; }
  .footer-language__options button { min-height: 44px; }
}
