/* 站点底栏（UI 稿：白底、1440 内容区） */
.mj-te-contact-banner.mj-te-footer--ui {
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  box-sizing: border-box;
  font-family: 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.mj-te-footer__main {
  display: flex;
  justify-content: center;
  /* padding: 64px 24px 0; */
  box-sizing: border-box;
}

.mj-te-contact-inner.mj-te-footer__inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
}

/* 顶栏：Logo + Slogan */
.mj-te-footer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.mj-te-footer__logo-link {
  flex-shrink: 0;
  line-height: 0;
}

.mj-te-footer__logo {
  display: block;
  height: auto;
  max-width: 200px;
}

.mj-te-footer__slogan-group {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.mj-te-footer__slogan {
  margin: 0;
  font-family: 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #0009;
}

/* 公司简介 */
.mj-te-footer__intro {
  margin: 28px 0 0;
  font-size: 13px;
  /* font-weight: 400; */
  color: #000000;
  line-height: 1.7;
}

/* 导航四列 */
.mj-te-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 50px;
  margin-top: 40px;
  width: 100%;
}

.mj-te-footer__col {
  flex: 0 0 auto;
  min-width: 0;
}

.mj-te-footer__col--products {
  width: 240px;
}

.mj-te-footer__col--contact {
  width: 320px;
  flex: 1 1 320px;
  max-width: 420px;
}

.mj-te-footer__col-title {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #0009;
}

.mj-te-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mj-te-footer__links li {
  margin: 0 0 8px;
}

.mj-te-footer__links li:last-child {
  margin-bottom: 0;
}

.mj-te-footer__links a {
  font-size: 13px;
  /* font-weight: 400; */
  color: #000000;
  text-decoration: none;
  line-height: 1.6;
}

.mj-te-footer__links a:hover {
  color: #000000;
  text-decoration: none;
}

.mj-te-footer__contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 400;
  color: #000000;
  line-height: 1.7;
}

.mj-te-footer__contact-list li {
  margin: 0 0 6px;
}

.mj-te-footer__contact-list li:last-child {
  margin-bottom: 0;
}

.mj-te-footer__contact-list a {
  color: #000000;
  text-decoration: none;
}

.mj-te-footer__contact-list a:hover {
  color: #bf123e;
}

/* 底栏：社交图标 + 版权 */
.mj-te-footer__bottom-bar {
  margin-top: 73px;
  padding: 0 24px 40px;
  box-sizing: border-box;
}

.mj-te-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.mj-te-footer__qrcodes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.mj-te-footer__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mj-te-footer__qr img {
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

.mj-te-footer__qr-lightbox-trigger {
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  border-radius: 4px;
}

.mj-te-footer__qr-lightbox-trigger:focus-visible {
  outline: 2px solid #bf123e;
  outline-offset: 2px;
}

.mj-te-footer__copyright-wrap {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.mj-te-footer__copyright {
  margin: 0;
  font-size: 12px;
  /* font-weight: 400; */
  color: #000000;
  line-height: 1.6;
}

.mj-te-footer__copyright-b {
  margin-left: 8px;
}

.mj-te-footer__copyright a {
  color: inherit;
  text-decoration: none;
}

.mj-te-footer__copyright a:hover {
  text-decoration: underline;
}

/* 二维码放大预览 */
.mj-te-qr-preview {
  position: absolute;
  width: 113px;
  height: 113px;
  background: #ffffff;
  padding: 5px;
  box-sizing: border-box;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 10001;
}

.mj-te-qr-preview__img {
  width: 103px;
  height: 103px;
  display: block;
  background: #ffffff;
}

/* 页脚：缩略图点击大图弹层 */
.mj-te-img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.mj-te-img-lightbox[hidden] {
  display: none !important;
}

.mj-te-img-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.mj-te-img-lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 420px);
  padding: 12px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.mj-te-img-lightbox__img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(82vh, 560px);
  object-fit: contain;
}

.mj-te-img-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  color: #333333;
  font-size: 22px;
  line-height: 32px;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.mj-te-img-lightbox__close:hover {
  background: #f5f5f5;
}

/* 免责声明弹框 */
.mj-te-disclaimer-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.mj-te-disclaimer-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.mj-te-disclaimer-modal__dialog {
  position: relative;
  width: min(920px, calc(100vw - 40px));
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 16px;
  background: transparent;
}

.mj-te-disclaimer-modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 26px;
  line-height: 36px;
  cursor: pointer;
}

.mj-te-disclaimer-modal__content {
  background: #0b2f6b;
  border: 1px solid rgba(131, 184, 213, 0.8);
  padding: 30px 28px;
  border-radius: 16px;
}

.mj-te-disclaimer-modal__title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.mj-te-disclaimer-modal__text {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}

/* 已使用新底栏的页面：隐藏旧深蓝 footer */
.mj-te-contact-banner ~ .footer {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

@media (max-width: 1200px) {
  .mj-te-disclaimer-modal__content {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .mj-te-disclaimer-modal__close {
    right: 10px;
    top: 10px;
    width: 36px;
    height: 36px;
    font-size: 24px;
    line-height: 32px;
  }

  .mj-te-img-lightbox__panel {
    bottom: 10%;
  }

  .mj-te-disclaimer-modal__dialog {
    position: absolute;
    bottom: 20px;
    transform: translateY(0);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    top: 90%;
    left: 16px;
  }

  .mj-te-img-lightbox {
    align-items: flex-end;
    padding-top: 0;
    padding-bottom: max(20px, env(safe-area-inset-bottom, 20px));
    min-height: 100vh;
  }
}

@media screen and (max-width: 1200px) {
  .mj-te-contact-banner.mj-te-footer--ui {
    padding: 0;
  }

  .mj-te-footer__main {
    padding: 48px 1.28rem 0;
  }

  .mj-te-footer__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .mj-te-footer__slogan-group {
    text-align: left;
  }

  .mj-te-footer__slogan {
    font-size: 1.143rem;
    line-height: 1.5;
  }

  .mj-te-footer__intro {
    margin-top: 1.5rem;
    font-size: 0.929rem;
    line-height: 1.7;
  }

  .mj-te-footer__nav {
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
  }

  .mj-te-footer__col,
  .mj-te-footer__col--products,
  .mj-te-footer__col--contact {
    width: 100%;
    max-width: none;
    flex: none;
  }

  .mj-te-footer__col-title,
  .mj-te-footer__links a,
  .mj-te-footer__contact-list {
    font-size: 0.929rem;
  }

  .mj-te-footer__bottom-bar {
    margin-top: 2.5rem;
    padding: 0 1.28rem 2rem;
  }

  .mj-te-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .mj-te-footer__copyright-wrap {
    text-align: left;
    width: 100%;
  }

  .mj-te-footer__copyright {
    font-size: 0.857rem;
  }

  .mj-te-footer__copyright-b {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .mj-te-footer__qr img {
    height: 1.6rem;
  }
}
