/* 底部 */
.footer-content {
  height: auto;
  position: relative;
  width: calc(100% - var(--container) * 2);
  margin: auto;
  padding: 48px 0;

  display: flex;
  gap: 10%;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 55%;
}

.footer-menu-item {
  display: flex;
  flex-direction: column;
  width: auto;
}

.footer-menu-title {
  padding: 16px 0;
  color: #656565;
}

.footer-menu-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-menu-item:nth-child(8) .footer-menu-links {
  /* flex-direction: row; */
  /* flex-wrap: wrap; */
  /* gap: 12.8px; */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.footer-menu-item:nth-child(8) .footer-menu-links a {
  /* width: calc(100% / 2.8); */
}

.footer-menu-item .footer-menu-links a {
  text-decoration: none;
  color: #656565;
}

.footer-menu-item .footer-menu-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-right h1 {
  color: var(--primary-color);
  padding: 12.8px 0;
}

.footer-right p {
  font-size: 17.6px;
}

.contact-way {
  display: flex;
  gap: 10%;
  margin: var(--container) 0;
}

.contact-way .icon-weixin,
.contact-way .icon-xiaohongshu,
.contact-way .icon-shipinhao {
  font-size: 32px;
  border-radius: 50%;
  width: 54.4px;
  height: 54.4px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 1.92px solid #656565;
  color: #656565;
  position: relative;
}

.icon-weixin:hover {
  border-color: #7bc549;
  background-color: #7bc549;
  color: #fff;
}

.icon-xiaohongshu:hover {
  border-color: #ff2e4d;
  background-color: #ff2e4d;
  color: #fff;
}

.icon-shipinhao:hover {
  border-color: #fa9d3b;
  background-color: #fa9d3b;
  color: #fff;
}

.contact-way img {
  max-width: 120px;
  object-fit: contain;
}

.interest-list {
  display: none;
  margin: 12.8px 0;
  gap: 4%;
  font-size: 1em;
}

.interest-list .interest-item {
  text-align: center;
  width: calc(100% / 4);
  max-width: 120px;
}

.interest-list img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

@media (max-width: 767px) {
  .contact-way {
    display: none;
  }

  .interest-list {
    display: flex;
  }
}

@media (max-width: 990px) {

  .footer-content {
    flex-direction: column;
    padding: var(--container) 0;
  }

  .footer-menu {
    width: 100%;
  }

  .footer-menu-item {
    width: calc(90% / 2);
  }
}

footer {
  text-align: center;
  background-color: #d6d7da;
  padding: 10px 0;
  color: #656565;
}

/* 返回顶部按钮 */
.backTop {
  position: fixed;
  right: 24px;
  bottom: 90px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.2s ease, background-color 0.2s ease;
}
.backTop .iconfont {
  font-size: 22px;
  line-height: 1;
}
.backTop.show {
  display: flex;
  opacity: 1;
}
.backTop.hide {
  display: none;
  opacity: 0;
}
.backTop:hover {
  background-color: var(--primary-color);
  filter: brightness(0.9);
  transform: translateY(-2px);
}
@media (max-width: 767px) {
  .backTop {
    right: 14px;
    bottom: 64px;
    width: 40px;
    height: 40px;
    font-size: 19px;
  }
  .backTop .iconfont {
    font-size: 19px;
  }
}

