/* h5/2026 响应式补充：与 main.css 及各页 CSS 配合，断点与 JS 中 1024 / fullpage 992 一致 */

:root {
  /* 须早于文中各块引用（购买/产品/公司地址等） */
  --h5-sticky-nav-clearance: calc(56px + 0.52rem + env(safe-area-inset-top, 0px));
}

/* 顶栏压在 fullPage 右侧点导航 #fp-nav(z-index:100)、轮播箭头、section 之上，避免产品页等顶栏被挡 */
.nav-header {
  z-index: 10050 !important;
}

/* 关注我们：透明二维码叠蓝底，首屏视觉居中、标题与二维码占比加大 */
body.page-follow .follow-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: 0 0.24rem 0.48rem;
  background-color: #4a9fd4;
  background-image: url("../images/min-banner/common-bg.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.page-follow .follow-main-box {
  width: 100%;
  max-width: 13.6rem;
  min-height: min(82vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

body.page-follow .follow-main-right {
  width: 100%;
  max-width: 12.4rem;
  margin: 0 auto;
  padding: 0.32rem 0 0.56rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

body.page-follow .follow-main-title {
  width: 100%;
  margin: 0 0 0.44rem;
  padding: 0;
  color: #fff;
  text-align: center;
  font-family: "FZLT Extralight", "FZLT Regular", sans-serif;
  font-size: 0.82rem;
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.22);
}

body.page-follow .follow-main-title span {
  display: inline-block;
}

body.page-follow .follow-qrcode-grid {
  width: 100%;
  max-width: 12rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem 0.36rem;
  align-items: start;
  justify-items: center;
}

body.page-follow .follow-qrcode-item {
  background: transparent;
  border-radius: 0;
  padding: 0.08rem 0.06rem;
  text-align: center;
  box-shadow: none;
}

body.page-follow .follow-qrcode-item img {
  width: 100%;
  max-width: min(3.4rem, 30vw);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.18));
}

body.page-follow .follow-qrcode-item p {
  margin-top: 0.16rem;
  color: #fff;
  font-size: 0.22rem;
  line-height: 1.4;
  font-family: "FZLT Regular";
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

/* 仅备案条页脚（partials 去掉多列导航时）：紧凑排版，避免留白与左侧空栏 */
.container-footer.site-footer-legal-only {
  min-height: 0;
}

.container-footer.site-footer-legal-only .footer-bottom {
  padding-top: 0.12rem !important;
  padding-bottom: 0.2rem !important;
  margin-top: 0;
  align-items: center;
  justify-content: center;
}

.container-footer.site-footer-legal-only .footer-copy-left {
  display: none !important;
  width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.container-footer.site-footer-legal-only .footer-copy-right {
  width: 100% !important;
  max-width: 100% !important;
  text-align: center;
}

body.fp-responsive .container-footer.site-footer-legal-only .footer-bottom {
  padding-top: 0.12rem !important;
  padding-bottom: 0.2rem !important;
}

/* ========== 大图 ========== */
/* [预览试验 2026] 小屏整图等比例入屏（contain + 居中），与 PC 所见构图一致、不裁切；不满意可搜本文件「恢复 cover」整段改回 */
/* ========== 商品图仍用下方 object-fit，不受背景 KV 策略影响 ========== */

.swiper-slide[style*="background-image"] {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

@media (max-width: 1024px) {
  /* --- 以下为「整图预览」：恢复 cover 时请改回 cover + left center，并去掉底色 --- */
  .swiper-container.swiper1,
  .swiper-container.swiper2,
  .swiper-container.swiper01,
  .swiper-container.swiper0001,
  .swiper-container.swiper007 {
    min-height: 50vh;
    background-color: #e8e8e8;
  }

  .swiper-container.swiper1 .swiper-slide,
  .swiper-container.swiper2 .swiper-slide,
  .swiper-container.swiper01 .swiper-slide,
  .swiper-container.swiper0001 .swiper-slide,
  .swiper-container.swiper007 .swiper-slide {
    min-height: 50vh;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #e8e8e8;
  }

  /* 首页 section1/2 等内联背景的横滑 KV */
  .swiper-slide[style*="background-image"] {
    min-height: 48vh;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #e8e8e8;
  }

  /* 产品/首页商品图：比例不变形，在盒内完整展示 */
  .procuct-main-img,
  .main-3-product .product-images {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .procuct-main-img .product-images img.img-responsive,
  .product-images img.img-responsive {
    width: 100%;
    max-width: 100% !important;
    height: auto !important;
    max-height: min(2.8rem, 42vw);
    object-fit: contain;
    object-position: center center;
  }

  .main-3-product .product-images img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
  }

  /* 全站大块 section / 页面背景图（预览：整图等比例） */
  #section0,
  #section1,
  #section2,
  #section3,
  #section4,
  #section5,
  #section6,
  #section7 {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  /* 产品页：底图按宽铺满，避免 contain 两侧留白被误认为「可横滑区域」 */
  body:has(#fullpage .product-main-box) #section0,
  body:has(#fullpage .product-main-box) #section1,
  body:has(#fullpage .product-main-box) #section2,
  body:has(#fullpage .product-main-box) #section3,
  body:has(#fullpage .product-main-box) #section4,
  body:has(#fullpage .product-main-box) #section5,
  body:has(#fullpage .product-main-box) #section6,
  body:has(#fullpage .product-main-box) #section7 {
    background-size: cover !important;
    background-position: center center !important;
  }

  /* .pc_main 购买渠道页单独在下方块处理，避免此处 contain 压掉 common-bg 的 cover */
}

/* =====================================================================
   产品页：移动端现代列表视图（不依赖 Swiper/fullPage）
   - PC(≥992px) 完全不变：仍使用 #fullpage + Swiper
   - H5(≤991px) 隐藏 #fullpage，启用 #product-mobile
   ===================================================================== */

@media (min-width: 992px) {
  body.page-product #product-mobile {
    display: none !important;
  }
}

@media (max-width: 991px) {
  body.page-product #fullpage {
    display: none !important;
  }

  body.page-product #product-mobile {
    display: block;
  }

  body.page-product #product-mobile[aria-hidden="true"] {
    display: none;
  }

  body.page-product .product-mobile {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: var(--h5-sticky-nav-clearance) 12px 20px;
    background: url("../../public/images/full-banner/product_main_bg.jpg") center top no-repeat;
    background-size: cover;
    overflow-x: hidden;
  }

  body.page-product .pm-section {
    margin: 0 0 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  body.page-product .pm-section__hd {
    padding: 14px 14px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  body.page-product .pm-title {
    font-family: "FZLT Extralight", "FZLT Regular", sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #111;
    line-height: 1.2;
  }

  body.page-product .pm-subtitle {
    font-family: "FZLT Regular", sans-serif;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.52);
    line-height: 1.2;
  }

  body.page-product .pm-tabs {
    padding: 0 12px 12px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.page-product .pm-tab {
    flex: 0 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.92);
    color: #222;
    border-radius: 999px;
    padding: 9px 12px;
    font-size: 13px;
    line-height: 1;
    font-family: "FZLT Regular", sans-serif;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  body.page-product .pm-tab[aria-selected="true"] {
    background: #4fa3e7;
    border-color: #4fa3e7;
    color: #fff;
  }

  body.page-product .pm-panel {
    padding: 0 12px 14px;
  }

  body.page-product .pm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
    align-items: start;
  }

  body.page-product .pm-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.06);
    min-width: 0;
  }

  body.page-product .pm-card__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
  }

  body.page-product .pm-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  body.page-product .pm-card__title {
    font-family: "FZLT Regular", sans-serif;
    font-size: 12px;
    line-height: 1.35;
    color: #111;
    text-align: center;
    min-height: 2.7em;
  }

  body.page-product .pm-card__cta {
    display: flex;
    justify-content: center;
  }

  body.page-product .pm-card__cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f5f4f4;
    color: #333;
    font-size: 12px;
    font-family: "FZLT Regular", sans-serif;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  html {
    font-size: 9.5vw;
  }
}

.nav-header .w1780 {
  position: relative;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav-header .w1780 {
    flex-wrap: nowrap;
    align-items: center;
    padding-left: 12px;
    padding-right: 12px;
  }

  .nav-header .logo {
    width: auto;
    flex: 0 0 auto;
    padding-left: 0;
  }

  .nav-header .logo img {
    max-height: 36px;
    width: auto;
  }

  .nav-header .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0;
    padding: 0 0 12px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-header.nav-open .nav {
    display: block;
  }

  .nav-header .nav-title {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .nav-header .nav li {
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
    border-bottom: 1px solid #eee;
  }

  .nav-header .nav li a {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
  }

  .nav-header .nav li .nav_sub {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    left: auto !important;
    padding: 0 !important;
    box-shadow: none;
    background: #f7f7f7 !important;
    opacity: 1 !important;
  }

  .nav-header .nav li .nav_sub dd {
    border-bottom: 1px solid #ececec;
  }

  .nav-header .nav li .nav_sub a {
    padding-left: 28px;
    font-size: 14px;
    line-height: 1.4;
  }

  .nav-header .nav .on .title_active {
    border-bottom: 0;
    box-shadow: inset 4px 0 0 #4fa3e7;
  }
}

body.nav-menu-open {
  overflow: hidden;
}

/* fullPage 小屏改为普通滚动后，由 body.fp-responsive 标记 */
body.fp-responsive .fp-section,
body.fp-responsive #fullpage .section {
  height: auto !important;
  min-height: 50vh;
}

/* 仅备案条页脚时取消整节强制高度，避免删导航后中间空白一条 */
body.fp-responsive #fullpage .section:has(.site-footer-legal-only),
body.fp-responsive .fp-section:has(.site-footer-legal-only) {
  min-height: 0 !important;
  height: auto !important;
}

body.fp-responsive #fullpage .section:has(.site-footer-legal-only) .fp-tableCell {
  height: auto !important;
}

body.fp-responsive #fullpage .fp-tableCell {
  height: auto !important;
}

/* 小屏 fullPage 关闭整屏滚动时：仅首页类全屏 KV 轮播定高，勿作用于产品页商品 Swiper */
body.fp-responsive .swiper-container.swiper1,
body.fp-responsive .swiper-container.swiper2,
body.fp-responsive .swiper-container.swiper01,
body.fp-responsive .swiper-container.swiper0001,
body.fp-responsive .swiper-container.swiper007 {
  min-height: 52vh;
  height: 52vh !important;
  background-color: #e8e8e8;
}

body.fp-responsive .swiper-container.swiper1 .swiper-slide,
body.fp-responsive .swiper-container.swiper2 .swiper-slide,
body.fp-responsive .swiper-container.swiper01 .swiper-slide,
body.fp-responsive .swiper-container.swiper0001 .swiper-slide,
body.fp-responsive .swiper-container.swiper007 .swiper-slide {
  min-height: 52vh;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #e8e8e8;
}

body.fp-responsive .container-main-3 {
  flex-direction: column;
  height: auto;
  min-height: auto;
  padding: 72px 12px 24px;
}

body.fp-responsive .main-3-box-left,
body.fp-responsive .main-3-box-right {
  width: 100%;
  height: auto;
}

body.fp-responsive .main-3-right-box {
  flex-direction: column;
  align-items: stretch;
  padding-top: 0.4rem;
  height: auto;
}

body.fp-responsive .main-3-product1,
body.fp-responsive .main-3-product2 {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

body.fp-responsive .main3-col-md {
  max-width: 46%;
  margin: 0 2% 12px;
  flex: 1 1 42%;
}

body.fp-responsive .main-3-product {
  width: 100%;
  max-width: 2.8rem;
  height: auto;
  min-height: 2rem;
  margin: 0 auto;
}

body.fp-responsive .text-long-hide {
  width: 100%;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.fp-responsive .footer-box {
  flex-direction: column;
  padding: 0.4rem 12px 0;
}

body.fp-responsive .footer-left {
  display: none;
}

body.fp-responsive .footer-right {
  width: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px 12px;
}

body.fp-responsive .foot-col-md {
  flex: 1 1 42%;
  min-width: 140px;
}

body.fp-responsive .footer-bottom {
  flex-direction: column;
  align-items: flex-start;
  padding: 0.3rem 12px;
}

body.fp-responsive .footer-copy-left {
  display: none;
}

body.fp-responsive .footer-copy-right {
  width: 100%;
  font-size: 12px;
  line-height: 1.5;
}

body.fp-responsive .footer-copy-right p {
  word-break: break-word;
}

/* 无 fullPage 的页面（慈善、购买渠道等）：小屏页脚与首页一致 */
@media (max-width: 1024px) {
  .container-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .container-footer .footer-box {
    flex-direction: column;
    padding: 0.4rem 12px 0;
    max-width: 100%;
  }

  .container-footer .footer-left {
    display: none;
  }

  .container-footer .footer-right {
    width: 100% !important;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px 12px;
  }

  .container-footer .foot-col-md {
    flex: 1 1 42%;
    min-width: 140px;
    box-sizing: border-box;
  }

  .container-footer .box-width {
    width: 100% !important;
    max-width: 100% !important;
  }

  .container-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.3rem 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .container-footer .footer-copy-left {
    display: none;
  }

  .container-footer .footer-copy-right {
    width: 100%;
    font-size: 12px;
    line-height: 1.5;
  }

  .container-footer .footer-copy-right p {
    word-break: break-word;
  }

  body.page-follow .follow-main {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    justify-content: center !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.page-follow .follow-main-box {
    min-height: 0 !important;
    max-width: 100% !important;
  }

  body.page-follow .follow-main-right {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    padding: var(--h5-sticky-nav-clearance) 8px 28px !important;
    box-sizing: border-box;
    flex: 1 1 auto;
    justify-content: center !important;
  }

  body.page-follow .follow-main-title {
    margin-bottom: 0.36rem !important;
    font-size: 0.56rem !important;
    letter-spacing: 0.1em !important;
  }

  body.page-follow .follow-qrcode-grid {
    max-width: 100%;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  body.page-follow .follow-qrcode-item {
    padding: 6px 4px !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.page-follow .follow-qrcode-item img {
    max-width: min(200px, 42vw) !important;
  }

  body.page-follow .follow-qrcode-item p {
    margin-top: 10px;
    font-size: 15px;
    color: #fff !important;
  }
}

@media (max-width: 640px) {
  body.page-follow .follow-main-title {
    font-size: 0.5rem !important;
  }

  body.page-follow .follow-qrcode-grid {
    grid-template-columns: 1fr;
    max-width: min(300px, 88vw);
    gap: 20px;
  }

  body.page-follow .follow-qrcode-item img {
    max-width: min(240px, 72vw) !important;
  }
}

@media (max-width: 1024px) {
  .main-1-box,
  .main-2-box {
    position: relative;
    margin-top: 56px;
    flex-direction: column;
  }

  .main-1-box-left,
  .main-2-box-left {
    display: none;
  }

  .main-1-box-right,
  .main-2-box-right {
    width: 100%;
  }

  .swiper-button-next1,
  .swiper-button-prev1,
  .swiper-button-next2,
  .swiper-button-prev2 {
    transform: scale(0.75);
  }
}

/* 关于 / 产品等内页通用 */
@media (max-width: 1024px) {
  .about-fzlc-box,
  .main-ppjj-box,
  .product-main-box {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }

  .about-fzlc-box-left,
  .product-main-box-left {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .about-fzlc-box-right,
  .product-main-box-right,
  .main-3-box-right {
    width: 100%;
  }

  .product-right-box {
    flex-direction: column;
    padding: var(--h5-sticky-nav-clearance) 12px 24px;
    height: auto;
  }

  .product-box-lm,
  .product-box1 {
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
  }

  .product-col-md {
    flex: 1 1 45%;
    max-width: 48%;
  }

  .timeline {
    max-width: 100%;
    overflow-x: auto;
  }
}

/* 购买渠道页 */
@media (max-width: 1024px) {
  body:has(.pc_main) {
    min-height: 100vh;
    min-height: 100dvh;
    background-color: #4a9fd4;
  }

  .pc_main {
    background-image: url("../images/min-banner/common-bg.jpg") !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-attachment: scroll !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column;
    box-sizing: border-box;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }

  .pc_main_box {
    flex: 1 1 auto;
    flex-direction: column;
    height: auto;
    min-height: 0;
    display: flex;
  }

  /* 关注我们：与购买页共用 pc_main，内容纵向居中 */
  body.page-follow .pc_main_box {
    justify-content: center !important;
    align-items: center !important;
    min-height: min(88dvh, 900px);
  }

  body.page-follow .pc_main_box_right.follow-main-right {
    justify-content: center !important;
    align-items: center !important;
  }

  .pc_main_box_left {
    display: none;
  }

  .pc_main_box_right {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1 1 auto;
    margin-top: 0;
    padding: var(--h5-sticky-nav-clearance) 12px 24px 12px;
    box-sizing: border-box;
  }

  .pc_main_logo {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    gap: 10px;
  }

  .pc_main_logo_box {
    flex: 0 0 calc(33.33% - 8px);
    max-width: calc(33.33% - 8px);
    min-width: 0;
  }

  .pc_main_box_title {
    width: 100%;
    font-size: 0.36rem;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    text-align: center;
    margin-top: 0 !important;
    margin-bottom: 0.18rem !important;
    line-height: 1.35;
    box-sizing: border-box;
  }

  .pc_main_box_right > .pc_main_box_title:first-of-type {
    padding-top: 4px;
    margin-bottom: 0.24rem !important;
  }

  .pur-title-text0 {
    margin-left: 0;
  }

  .pur-title-text {
    display: inline;
    opacity: 0.95;
  }

  .pc_main .konghang {
    height: 0.36rem;
  }
}

/* 慈善公益 */
@media (max-width: 1024px) {
  .cs_main {
    align-items: flex-start !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .cs_main_box {
    flex-direction: column;
    height: auto;
  }

  .cs_main_box_left {
    display: none;
  }

  .cs_main_box_right {
    width: 100%;
    height: auto;
    min-height: 0;
    margin-top: 0;
    padding: 12px;
  }

  /* 公益地图：移动端用 min-banner 整图（城市已画入图），宽度铺满、高度随图；隐藏 PC 底图与 DOM 锚点避免叠字 */
  .map_bg_right_box {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    display: block !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .cs_main_map_bg {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto;
    overflow: hidden !important;
    background: none !important;
    background-image: none !important;
    transform: none !important;
    -webkit-transform: none !important;
  }

  .cs_main_map_bg .charity-map-m-img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    vertical-align: top;
    object-fit: contain;
    object-position: center top;
    pointer-events: none;
  }

  .cs_main_map_bg .item-1 {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .map_bg_main {
    flex-direction: column;
    width: 100%;
  }

  .map_bg_left {
    display: none;
  }

  .map_bg_right {
    width: 100% !important;
  }

  .logo_8020,
  .text_8020 {
    position: relative;
    top: auto;
    left: auto;
    margin: 12px;
  }

  .c_main_text_right {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .c_main_text_right p {
    padding: 12px 14px !important;
    margin-bottom: 12px !important;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    line-height: 1.65 !important;
  }
}

/* 联系我们等 */
@media (max-width: 1024px) {
  .ct_main_box {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }

  .ct_main_box_left {
    display: none;
  }

  .ct_main_box_right {
    width: 100%;
    height: auto;
  }

  .ct_lxdh,
  .ct_dlrx,
  .ct_pphz {
    position: relative !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    min-height: 140px;
    margin: 12px 0;
    background-size: cover !important;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .c_main_text {
    flex-direction: column;
  }

  .c_main_text_left {
    display: none;
  }

  .c_main_text_right {
    width: 100%;
    margin: 56px 12px 12px;
  }
}

/* 公司地址 */
@media (max-width: 1024px) {
  .ca_main {
    position: relative !important;
    height: auto !important;
    /* 至少占满首屏，避免地址区底部与页脚之间大块留白（先 vh 兜底，再 dvh 覆盖） */
    min-height: calc(100vh - env(safe-area-inset-bottom, 0px));
    min-height: calc(100dvh - env(safe-area-inset-bottom, 0px));
    z-index: 1;
  }

  .ca_main_box {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: calc(100vh - env(safe-area-inset-bottom, 0px));
    min-height: calc(100dvh - env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
  }

  .ca_main_box_menu {
    width: 100% !important;
    flex: 1 1 auto;
    min-height: calc(100vh - env(safe-area-inset-bottom, 0px));
    min-height: calc(100dvh - env(safe-area-inset-bottom, 0px));
    height: auto !important;
    margin-top: 0;
    padding-top: var(--h5-sticky-nav-clearance);
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    flex-direction: column;
    /* 浅底图时地址用深色字；cover + 足够高度铺满首屏，减少底图被「截在半空」 */
    background-color: #f0f4f8;
    background-image: url("../images/min-banner/company_adr-bg.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }

  .ca_main_box_menu_left {
    display: none;
  }

  .ca_main_box_menu_right {
    width: 100% !important;
    display: block !important;
  }

  .adr_info_center {
    width: 100%;
  }

  .ca_main_box_menu_right .swiper-pagination {
    width: 100%;
  }

  .ca_main_box_menu_right ul li {
    padding-bottom: 0.28rem !important;
    align-items: flex-start !important;
  }

  .ca_main_box_menu_right ul li span p {
    color: #1a1a1a !important;
    text-shadow: none;
    font-size: 0.22rem !important;
    line-height: 1.55 !important;
    margin: 0.06rem 0 0 !important;
  }

  .ca_main_box_menu_right ul li span p:first-child {
    font-size: 0.26rem !important;
    font-weight: 600;
    color: #111 !important;
    margin-top: 0 !important;
    margin-bottom: 0.04rem !important;
  }

  .ca_main_box_menu_right ul li .ca_pd_ico {
    filter: none;
    opacity: 0.85;
  }

  .ca_main_box_right {
    display: none !important;
  }

  /* 小屏禁止 menudiss 把整块地址菜单 display:none（与 PC fullPage 联动逻辑冲突） */
  #company_adr_menu.menudiss,
  .ca_main_box.menudiss {
    display: flex !important;
    visibility: visible !important;
  }

  /*
   * 不展示 PC full-banner 轮播，但勿用 display:none：Swiper 在 0 尺寸容器里可能不渲染分页，
   * 地址列表依赖 .swiper-pagination。改为移出视口 + 固定尺寸 + 不可交互。
   */
  #fullpage #section0 .swiper-container.swiper007 {
    position: absolute !important;
    left: -9999px !important;
    top: 0 !important;
    width: 375px !important;
    height: 400px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    background: transparent !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
  }

  #fullpage #section0 .swiper007 .swiper-slide {
    background-image: none !important;
    background: none !important;
    min-height: 200px !important;
    height: 200px !important;
  }

  #fullpage #section0 .swiper-button-next1,
  #fullpage #section0 .swiper-button-prev1 {
    display: none !important;
  }

  #fullpage #section0 {
    min-height: 0 !important;
    height: auto !important;
  }
}

/* =====================================================================
   全站 H5 增强：小屏排版、安全区、产品页宽度、横屏与窄机兼容（内容不变）
   ===================================================================== */

:root {
  --h5-page-pad: max(12px, env(safe-area-inset-left, 0px));
  --h5-page-pad-r: max(12px, env(safe-area-inset-right, 0px));
  --h5-header-pad-t: max(0px, env(safe-area-inset-top, 0px));
}

@media (max-width: 1024px) {
  html {
    /* 与 main.css 640 以下 20vw 协调，避免极小屏根字号过大 */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    word-break: break-word;
    overflow-wrap: anywhere;
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .w1780,
  .w1600,
  .w1400,
  .w1340 {
    max-width: 100% !important;
    padding-left: var(--h5-page-pad) !important;
    padding-right: var(--h5-page-pad-r) !important;
    box-sizing: border-box;
  }

  .nav-header {
    padding-top: calc(0.36rem + var(--h5-header-pad-t));
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
  }

  /* 产品页 fullPage：顶栏易被盖住或看似「消失」，强制顶栏在上且汉堡可见 */
  body:has(#fullpage .product-main-box) > .nav-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 100050 !important;
  }

  body:has(#fullpage .product-main-box) .nav-toggle {
    display: flex !important;
  }

  body:has(#fullpage .product-main-box) #fullpage {
    position: relative;
    z-index: 0;
  }

  /* 产品页：小屏根字号为 vw 时，固定 rem 易把两列撑出视口 → 仅保留纵向滚动 */
  body:has(#fullpage .product-main-box) {
    overflow-x: hidden;
  }

  html:has(#fullpage .product-main-box) {
    overflow-x: hidden;
    max-width: 100%;
  }

  body:has(#fullpage .product-main-box) #fullpage,
  body:has(#fullpage .product-main-box) #fullpage .fp-section,
  body:has(#fullpage .product-main-box) #fullpage .section {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  body:has(#fullpage .product-main-box) .product-main-title {
    margin-left: 0;
    padding-left: 2px;
    padding-right: 2px;
    box-sizing: border-box;
  }

  .main-content {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* flex 子项防止被固定 rem 宽度撑出横向滚动 */
  .product-main-box,
  .product-right-box,
  .product-box1,
  .product-box-lm,
  .about-ppzx-main,
  .about-ry-main,
  .main-4-box,
  .main-5-box,
  .main-6-box {
    min-width: 0;
  }

  /* 产品页：解除固定 rem 宽度，横滑区随屏宽 */
  #fullpage .product-main-box .swiper-container:not(.swiper002):not(.swiper003),
  .product-main-box .swiper-container:not(.swiper002):not(.swiper003),
  .product-right-box .swiper-container:not(.swiper002):not(.swiper003) {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /*
   * 漱口水 / 牙膏屏：swiper002、swiper003 为 fade 轮播。
   * 切勿对容器写 height:auto!important，否则会盖住 Swiper 内联高度，容器变 0，整屏空白。
   */
  body:has(#fullpage .product-main-box) .swiper-container.swiper002,
  body:has(#fullpage .product-main-box) .swiper-container.swiper003 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /*
   * 漱口水 / 牙膏：标题与二级分类在 PC 为同一行；小屏（≤991，与 fullpage responsiveWidth 对齐）
   * 改为标题在上、分类 Tab 独占一行并可横滑，避免 flex 横向挤压导致分页宽度为 0、整屏似空白。
   */
  @media (max-width: 991px) {
    body:has(#fullpage .product-main-box) #section1 .product-title-box,
    body:has(#fullpage .product-main-box) #section2 .product-title-box {
      flex-direction: column;
      align-items: stretch;
      gap: 10px;
      width: 100%;
      max-width: 100%;
    }

    /* 不支持 :has() 的移动端 WebView 兜底：用页面标识类限定作用域（不影响 PC） */
    body.page-product #section1 .product-title-box,
    body.page-product #section2 .product-title-box {
      flex-direction: column;
      align-items: stretch;
      gap: 10px;
      width: 100%;
      max-width: 100%;
    }

    /* 小屏将 002/003 轮播从固定 rem 高度切为内容撑开（配合 JS 小屏 effect:slide + autoHeight） */
    body:has(#fullpage .product-main-box) .swiper-container.swiper002,
    body:has(#fullpage .product-main-box) .swiper-container.swiper003 {
      height: auto !important;
      min-height: 0 !important;
    }

    /* 不支持 :has() 的移动端 WebView 兜底 */
    body.page-product .swiper-container.swiper002,
    body.page-product .swiper-container.swiper003 {
      height: auto !important;
      min-height: 0 !important;
    }

    body:has(#fullpage .product-main-box) .swiper-container.swiper002 .swiper-wrapper,
    body:has(#fullpage .product-main-box) .swiper-container.swiper003 .swiper-wrapper {
      height: auto !important;
    }

    body.page-product .swiper-container.swiper002 .swiper-wrapper,
    body.page-product .swiper-container.swiper003 .swiper-wrapper {
      height: auto !important;
    }

    body:has(#fullpage .product-main-box) .swiper-container.swiper002 .swiper-slide,
    body:has(#fullpage .product-main-box) .swiper-container.swiper003 .swiper-slide {
      height: auto !important;
      min-height: 0 !important;
    }

    body.page-product .swiper-container.swiper002 .swiper-slide,
    body.page-product .swiper-container.swiper003 .swiper-slide {
      height: auto !important;
      min-height: 0 !important;
    }

    body:has(#fullpage .product-main-box) #section1 .product-main-title,
    body:has(#fullpage .product-main-box) #section2 .product-main-title {
      flex-shrink: 0;
    }

    body:has(#fullpage .product-main-box) #section1 .pro-lanming,
    body:has(#fullpage .product-main-box) #section2 .pro-lanming {
      align-self: stretch;
      width: 100%;
      min-width: 0;
      flex-wrap: nowrap;
      justify-content: flex-start;
      align-items: center;
      gap: 0;
      padding-bottom: 4px;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
    }

    body.page-product #section1 .pro-lanming,
    body.page-product #section2 .pro-lanming {
      align-self: stretch;
      width: 100%;
      min-width: 0;
      flex-wrap: nowrap;
      justify-content: flex-start;
      align-items: center;
      gap: 0;
      padding-bottom: 4px;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
    }

    body:has(#fullpage .product-main-box) #section1 .pro-lanming::after,
    body:has(#fullpage .product-main-box) #section2 .pro-lanming::after {
      content: "";
      flex: 0 0 8px;
      width: 8px;
      height: 1px;
    }

    body:has(#fullpage .product-main-box) #section1 .pro-lanming .swiper-pagination-bullet,
    body:has(#fullpage .product-main-box) #section2 .pro-lanming .swiper-pagination-bullet {
      flex: 0 0 auto;
      width: auto !important;
      height: auto !important;
      min-height: 40px;
      padding: 8px 14px;
      margin: 0 6px 0 0 !important;
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: rgba(245, 244, 244, 0.98) !important;
      opacity: 1 !important;
      color: #333;
      font-size: 13px !important;
      line-height: 1.25;
      white-space: nowrap;
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    body.page-product #section1 .pro-lanming .swiper-pagination-bullet,
    body.page-product #section2 .pro-lanming .swiper-pagination-bullet {
      flex: 0 0 auto;
      width: auto !important;
      height: auto !important;
      min-height: 40px;
      padding: 8px 14px;
      margin: 0 6px 0 0 !important;
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: rgba(245, 244, 244, 0.98) !important;
      opacity: 1 !important;
      color: #333;
      font-size: 13px !important;
      line-height: 1.25;
      white-space: nowrap;
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    body:has(#fullpage .product-main-box) #section1 .pro-lanming .swiper-pagination-bullet-active,
    body:has(#fullpage .product-main-box) #section2 .pro-lanming .swiper-pagination-bullet-active {
      background: #4fa3e7 !important;
      color: #fff;
    }

    body.page-product #section1 .pro-lanming .swiper-pagination-bullet-active,
    body.page-product #section2 .pro-lanming .swiper-pagination-bullet-active {
      background: #4fa3e7 !important;
      color: #fff;
    }
  }

  /* fullPage 小屏：fade + autoHeight 偶发算高为 0，给商品区保底高度（不影响 ≥992px PC） */
  body.fp-responsive:has(#fullpage .product-main-box) .swiper-container.swiper002,
  body.fp-responsive:has(#fullpage .product-main-box) .swiper-container.swiper003 {
    min-height: clamp(240px, 52vh, 720px);
  }

  #fullpage .product-main-box .swiper-container:not(.swiper002):not(.swiper003) .swiper-slide,
  .product-main-box .swiper-container:not(.swiper002):not(.swiper003) .swiper-slide {
    min-height: 0 !important;
    height: auto !important;
  }

  .product-box1,
  .product-box-lm {
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 12px 6px !important;
    margin-left: 0 !important;
    box-sizing: border-box;
  }

  .product-col-md {
    flex: 1 1 calc(50% - 3px) !important;
    max-width: calc(50% - 3px) !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  /* product.css 中 margin-right:.08rem 与两列并存时易挤出横向滚动 */
  body:has(#fullpage .product-main-box) .product-col-md {
    margin-right: 0 !important;
  }

  .procuct-main-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-left: auto;
    margin-right: auto;
  }

  body:has(#fullpage .product-main-box) .product-images img,
  body:has(#fullpage .product-main-box) .procuct-main-img .product-images img {
    max-width: 100% !important;
  }

  /* fullPage 侧导航点：避免贴边被刘海遮挡 */
  #fp-nav.left,
  #fp-nav {
    left: max(8px, env(safe-area-inset-left, 0px)) !important;
  }

  body.fp-responsive .fp-section,
  body.fp-responsive #fullpage .section {
    min-height: min(72vh, 720px);
  }

  /*
   * 产品页：各屏按内容高度折叠。禁用 72vh 最小高度，否则两列商品块之间会出现大片空白 + 底图气泡。
   */
  body.fp-responsive:has(#fullpage .product-main-box) #fullpage .section,
  body.fp-responsive:has(#fullpage .product-main-box) #fullpage .fp-section {
    min-height: 0 !important;
    height: auto !important;
  }

  body.fp-responsive:has(#fullpage .product-main-box) #fullpage .fp-tableCell {
    height: auto !important;
    min-height: 0 !important;
    vertical-align: top !important;
  }

  /* 产品区块背景随内容高度，避免 cover + 超高 section 造成中间「空泡」 */
  body:has(#fullpage .product-main-box) #section0,
  body:has(#fullpage .product-main-box) #section1,
  body:has(#fullpage .product-main-box) #section2,
  body:has(#fullpage .product-main-box) #section3,
  body:has(#fullpage .product-main-box) #section4,
  body:has(#fullpage .product-main-box) #section5 {
    background-size: 100% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }

  body.fp-responsive #fullpage .section:has(.site-footer-legal-only),
  body.fp-responsive .fp-section:has(.site-footer-legal-only) {
    min-height: 0 !important;
    height: auto !important;
  }

  .swiper-button-next1,
  .swiper-button-prev1,
  .swiper-button-next2,
  .swiper-button-prev2,
  .swiper-button-next,
  .swiper-button-prev {
    touch-action: manipulation;
  }
}

/* 小屏手机：首页热卖区两列；产品页保持两列（见上方 #fullpage .product-col-md） */
@media (max-width: 480px) {
  body.fp-responsive .main3-col-md {
    flex: 1 1 calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }

  body.fp-responsive .main-3-product1,
  body.fp-responsive .main-3-product2 {
    justify-content: space-between !important;
    gap: 8px !important;
  }

  body.fp-responsive .foot-col-md {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }

  .swiper-container.swiper1,
  .swiper-container.swiper2,
  .swiper-container.swiper01,
  .swiper-container.swiper0001,
  .swiper-container.swiper007,
  body.fp-responsive .swiper-container.swiper1,
  body.fp-responsive .swiper-container.swiper2,
  body.fp-responsive .swiper-container.swiper01,
  body.fp-responsive .swiper-container.swiper0001,
  body.fp-responsive .swiper-container.swiper007 {
    min-height: clamp(220px, 48vh, 420px);
  }

  .swiper-container.swiper1 .swiper-slide,
  .swiper-container.swiper2 .swiper-slide,
  .swiper-container.swiper01 .swiper-slide,
  .swiper-container.swiper0001 .swiper-slide,
  .swiper-container.swiper007 .swiper-slide,
  body.fp-responsive .swiper-container.swiper1 .swiper-slide,
  body.fp-responsive .swiper-container.swiper2 .swiper-slide,
  body.fp-responsive .swiper-container.swiper01 .swiper-slide,
  body.fp-responsive .swiper-container.swiper0001 .swiper-slide,
  body.fp-responsive .swiper-container.swiper007 .swiper-slide {
    min-height: clamp(220px, 48vh, 420px);
  }

  .swiper-slide[style*="background-image"] {
    min-height: clamp(200px, 45vh, 400px);
  }
}

/* 横屏且高度较矮：避免 KV 过高占满屏 */
@media (max-width: 1024px) and (max-height: 500px) {
  .swiper-container.swiper1,
  .swiper-container.swiper2,
  .swiper-container.swiper01,
  .swiper-container.swiper0001,
  .swiper-container.swiper007,
  body.fp-responsive .swiper-container.swiper1,
  body.fp-responsive .swiper-container.swiper2,
  body.fp-responsive .swiper-container.swiper01,
  body.fp-responsive .swiper-container.swiper0001,
  body.fp-responsive .swiper-container.swiper007 {
    min-height: 70vh !important;
    height: 70vh !important;
  }

  .swiper-container.swiper1 .swiper-slide,
  .swiper-container.swiper2 .swiper-slide,
  .swiper-container.swiper01 .swiper-slide,
  .swiper-container.swiper0001 .swiper-slide,
  .swiper-container.swiper007 .swiper-slide,
  body.fp-responsive .swiper-container.swiper1 .swiper-slide,
  body.fp-responsive .swiper-container.swiper2 .swiper-slide,
  body.fp-responsive .swiper-container.swiper01 .swiper-slide,
  body.fp-responsive .swiper-container.swiper0001 .swiper-slide,
  body.fp-responsive .swiper-container.swiper007 .swiper-slide {
    min-height: 70vh !important;
    background-size: contain !important;
    background-position: center center !important;
  }
}

/* 关于页：多列荣誉/资讯块易溢出，小屏堆叠 */
@media (max-width: 1024px) {
  .main-4-box,
  .main-5-box,
  .main-6-box,
  .about-ppzx-box {
    flex-direction: column;
    height: auto !important;
    min-height: 0 !important;
  }

  .main-4-box-left,
  .main-5-box-left,
  .main-6-box-left,
  .about-ppzx-box-left,
  .about-fzlc-box-left {
    display: none;
  }

  .main-4-box-right,
  .main-5-box-right,
  .main-6-box-right,
  .about-ppzx-box-right {
    width: 100% !important;
    margin-top: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* about #section3（年度奖项）：移动端内容居中，避免左右切换箭头被裁切 */
  #fullpage #section3 .main-6-box,
  body.fp-responsive #fullpage #section3 .main-6-box {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }

  #fullpage #section3 .main-6-box-right,
  body.fp-responsive #fullpage #section3 .main-6-box-right {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #fullpage #section3 .about-jx-right-box,
  body.fp-responsive #fullpage #section3 .about-jx-right-box {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  #fullpage #section3 .about-jx-right-center,
  body.fp-responsive #fullpage #section3 .about-jx-right-center {
    width: 100%;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #fullpage #section3 .fp-controlArrow.fp-prev,
  body.fp-responsive #fullpage #section3 .fp-controlArrow.fp-prev {
    left: 10px !important;
  }

  #fullpage #section3 .fp-controlArrow.fp-next,
  body.fp-responsive #fullpage #section3 .fp-controlArrow.fp-next {
    right: 10px !important;
  }

  .about-ppzx-main {
    flex-direction: column;
    height: auto !important;
    min-height: 0 !important;
    padding-top: 0.6rem;
  }

  .about-ry-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    align-items: start;
    gap: 0.2rem 0.16rem;
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }

  .about-ry-box {
    max-width: min(5rem, 100%);
    width: 100%;
    justify-self: center;
  }

  .ppzx-focus,
  .ppzx-other {
    width: 100% !important;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-ppzx-main {
    align-items: center;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-left: 0 !important;
    overflow-x: hidden;
  }

  .ppzx-other-box {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .ppzx-mid-list {
    margin-left: 0 !important;
    width: 100%;
    max-width: 400px;
  }

  .ppzx-big-img img,
  .ppzx-mid-img img {
    width: 100%;
    height: auto;
    display: block;
  }

  .main-ppjj-box {
    width: 100% !important;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .main-ppjj-box .main-3-box-right {
    width: 100% !important;
    margin-left: 0 !important;
    max-width: 100%;
  }

  .swiper-container.swiper01 .swiper-slide:not(.about-m-banner) {
    background-position: center center !important;
    background-size: contain !important;
  }

  /* 资质荣誉 #section2：小屏仍 2 列；PC 仍为 3×6=18 格，长图靠双格拼接 */
  #section2 .about-ry-main .about-ry-box {
    height: auto !important;
    overflow: visible !important;
    min-height: 2.46rem;
    box-sizing: border-box;
  }

  #section2 .about-ry-main .about-ry-box[style*="url("] {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
  }

  /* 小屏隐藏「下半截」拼接格；上半格单格展示整张长图（PC 保留两格拼接） */
  #section2 .about-ry-jx-split-m-hide {
    display: none !important;
  }

  #section2 .about-ry-main .about-ry-jx-top {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
  }

  .ry_text_main[style*="width: 50%"] {
    width: 100% !important;
  }

  .about-ry-text-box .ry_text_main {
    width: 100% !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box;
  }

  .about-ry-text-box {
    width: 100% !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  .about-ry-text-box .ry-text-box,
  .about-ry-text-box .ry-text-box-all {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box;
  }

  .about-ry-text-box .ry-text-box-all > div[style*="display: flex"] {
    flex-direction: column !important;
    width: 100% !important;
  }

  .about-ry-text-box .ry-text-box > div[style*="display: flex"] {
    flex-direction: column !important;
    width: 100% !important;
  }
}

/* 首页与其它 KV（预览：整图 contain） */
@media (max-width: 1024px) {
  .swiper-container.swiper1 .swiper-slide,
  .swiper-container.swiper2 .swiper-slide,
  body.fp-responsive .swiper-container.swiper1 .swiper-slide,
  body.fp-responsive .swiper-container.swiper2 .swiper-slide {
    background-position: center center !important;
    background-size: contain !important;
  }

  .swiper-slide[style*="background-image"] {
    background-position: center center !important;
    background-size: contain !important;
  }
}

/* 首页移动端：四屏 KV 纵向轮播（上下滑 + 侧栏点 + 上下按钮；PC 隐藏） */
@media (min-width: 1025px) {
  .main-content .index-mobile-kv {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .main-content .index-mobile-kv {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 0;
  }

  .main-content #fullpage #section0,
  .main-content #fullpage #section1,
  .main-content #fullpage #section2,
  .main-content #fullpage #section3 {
    display: none !important;
  }

  .main-content:has(#index-mobile-kv) #fp-nav {
    display: none !important;
  }

  body:has(#index-mobile-kv) {
    overflow-x: hidden;
  }

  html:has(#index-mobile-kv) {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* 首页首屏改为满屏轮播；边缘释放手势可继续下滑到热卖 */
  .main-content .index-kv-vertical {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
  }

  .main-content .index-kv-vertical .swiper-slide {
    height: 100%;
    min-height: 100% !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover !important;
    background-color: transparent !important;
  }

  .main-content .index-kv-vertical-pagination.swiper-pagination-bullets {
    right: max(10px, env(safe-area-inset-right, 0px));
    left: auto;
    width: auto;
    top: 50%;
    bottom: auto;
    transform: translate3d(0, -50%, 0);
  }

  .main-content .index-kv-vertical-pagination .swiper-pagination-bullet {
    display: block;
    margin: 6px 0 !important;
    background: #fff;
    opacity: 0.5;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  }

  .main-content .index-kv-vertical-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #4fa3e7;
  }

  .main-content .index-kv-arrow {
    position: absolute;
    z-index: 8;
    left: 50%;
    margin-left: -22px;
    width: 44px;
    height: 44px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .main-content .index-kv-arrow--up {
    top: calc(var(--h5-sticky-nav-clearance) + 8px);
  }

  .main-content .index-kv-arrow--down {
    bottom: max(18px, env(safe-area-inset-bottom, 12px));
  }

  .main-content .index-kv-arrow::after {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    margin: 0 auto;
    border: solid #333;
    border-width: 0 2px 2px 0;
  }

  .main-content .index-kv-arrow--up::after {
    transform: rotate(-135deg);
    margin-top: 5px;
  }

  .main-content .index-kv-arrow--down::after {
    transform: rotate(45deg);
    margin-top: -1px;
  }

  .main-content .index-kv-arrow.swiper-button-disabled {
    opacity: 0.28;
    pointer-events: none;
  }

}

@media (max-width: 480px) {
  .container-footer .foot-col-md {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }
}

/* 极窄屏：资质荣誉单列 */
@media (max-width: 360px) {
  .about-ry-main {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/*
 * 首页 4 屏 + 关于首屏：小屏专用 min-banner 竖图，全宽 cover。
 * 须压过 main.css 里 #section0 .swiper1 .swiper-slide 等 !important 分段图，
 * 以及本文件前文的 contain + 灰底（故放在文件末尾、并用 #section + 多 class 提权）。
 * 高度按 min-banner 原图比例 830×1796（与 index/about 竖版 KV 一致），避免 50vh/52vh 留白。
 */
@media (max-width: 1024px) {
  body.fp-responsive .main-content #section0,
  body.fp-responsive .main-content #section1,
  body.fp-responsive .main-content #section2,
  body.fp-responsive .main-content #section3 {
    min-height: 0 !important;
  }

  body.fp-responsive #fullpage #section0:has(.about-m-banner) {
    min-height: 0 !important;
  }

  body.fp-responsive .main-content #section0 .fp-tableCell,
  body.fp-responsive .main-content #section1 .fp-tableCell,
  body.fp-responsive .main-content #section2 .fp-tableCell,
  body.fp-responsive .main-content #section3 .fp-tableCell {
    min-height: 0 !important;
    height: auto !important;
    vertical-align: top;
  }

  body.fp-responsive #fullpage #section0:has(.about-m-banner) .fp-tableCell {
    min-height: 0 !important;
    height: auto !important;
    vertical-align: top;
  }

  /* index #section2/#section3：wrapper 内误放的 main-* 盒会撑高整段 Swiper，小屏隐藏 */
  .main-content #section2 .swiper2 .swiper-wrapper > :not(.swiper-slide),
  .main-content #section3 .swiper2 .swiper-wrapper > :not(.swiper-slide) {
    display: none !important;
  }

  /* 关于首屏：内层版心盒带 padding，会把 slide 撑得高于背景比例，改为叠在图上不占流 */
  #fullpage #section0 .swiper01 .swiper-slide.about-m-banner .main-ppjj-box {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    pointer-events: none;
  }

  #fullpage #section0 .swiper01 .swiper-slide.about-m-banner {
    position: relative;
  }

  .main-content #section0 .swiper-container.swiper1,
  .main-content #section1 .swiper-container.swiper2,
  .main-content #section2 .swiper-container.swiper2,
  .main-content #section3 .swiper-container.swiper2,
  #fullpage #section0 .swiper-container.swiper01 {
    background-color: transparent !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .main-content #section0 .swiper1 .swiper-wrapper,
  .main-content #section1 .swiper2 .swiper-wrapper,
  .main-content #section2 .swiper2 .swiper-wrapper,
  .main-content #section3 .swiper2 .swiper-wrapper,
  #fullpage #section0 .swiper01 .swiper-wrapper {
    height: auto !important;
  }

  .main-content #section0 .swiper1 .swiper-slide.index-m-banner--01,
  body.fp-responsive .main-content #section0 .swiper1 .swiper-slide.index-m-banner--01,
  .main-content #section1 .swiper2 .swiper-slide.index-m-banner--02,
  body.fp-responsive .main-content #section1 .swiper2 .swiper-slide.index-m-banner--02,
  .main-content #section2 .swiper2 .swiper-slide.index-m-banner--03,
  body.fp-responsive .main-content #section2 .swiper2 .swiper-slide.index-m-banner--03,
  .main-content #section3 .swiper2 .swiper-slide.index-m-banner--04,
  body.fp-responsive .main-content #section3 .swiper2 .swiper-slide.index-m-banner--04,
  #fullpage #section0 .swiper01 .swiper-slide.about-m-banner,
  body.fp-responsive #fullpage #section0 .swiper01 .swiper-slide.about-m-banner {
    aspect-ratio: 830 / 1796;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .main-content #section0 .swiper1 .swiper-slide.index-m-banner--01,
  body.fp-responsive .main-content #section0 .swiper1 .swiper-slide.index-m-banner--01 {
    background-image: url("../images/min-banner/index-banner_01.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
  }

  .main-content #section1 .swiper2 .swiper-slide.index-m-banner--02,
  body.fp-responsive .main-content #section1 .swiper2 .swiper-slide.index-m-banner--02 {
    background-image: url("../images/min-banner/index-banner_02.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
  }

  .main-content #section2 .swiper2 .swiper-slide.index-m-banner--03,
  body.fp-responsive .main-content #section2 .swiper2 .swiper-slide.index-m-banner--03 {
    background-image: url("../images/min-banner/index-banner_03.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
  }

  .main-content #section3 .swiper2 .swiper-slide.index-m-banner--04,
  body.fp-responsive .main-content #section3 .swiper2 .swiper-slide.index-m-banner--04 {
    background-image: url("../images/min-banner/index-banner_04.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
  }

  #fullpage #section0 .swiper01 .swiper-slide.about-m-banner,
  body.fp-responsive #fullpage #section0 .swiper01 .swiper-slide.about-m-banner {
    background-image: url("../images/min-banner/about-banner_01.jpg") !important;
    background-size: cover !important;
    /* 移动端首屏：让 fixed 顶栏自然压住顶部，底部尽量完整可见 */
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
  }

  /* 首页纵向四屏 Swiper：与 section0–3 同源 min-banner 竖图 */
  .main-content .index-mobile-kv .index-kv-vertical .swiper-slide.index-m-banner--01 {
    background-image: url("../images/min-banner/index-banner_01.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
  }

  .main-content .index-mobile-kv .index-kv-vertical .swiper-slide.index-m-banner--02 {
    background-image: url("../images/min-banner/index-banner_02.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
  }

  .main-content .index-mobile-kv .index-kv-vertical .swiper-slide.index-m-banner--03 {
    background-image: url("../images/min-banner/index-banner_03.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
  }

  .main-content .index-mobile-kv .index-kv-vertical .swiper-slide.index-m-banner--04 {
    background-image: url("../images/min-banner/index-banner_04.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
  }
}

@media (max-width: 1024px) and (max-height: 500px) {
  .main-content #section0 .swiper-container.swiper1,
  .main-content #section1 .swiper-container.swiper2,
  .main-content #section2 .swiper-container.swiper2,
  .main-content #section3 .swiper-container.swiper2,
  #fullpage #section0 .swiper-container.swiper01 {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .main-content #section0 .swiper1 .swiper-slide.index-m-banner--01,
  body.fp-responsive .main-content #section0 .swiper1 .swiper-slide.index-m-banner--01,
  .main-content #section1 .swiper2 .swiper-slide.index-m-banner--02,
  body.fp-responsive .main-content #section1 .swiper2 .swiper-slide.index-m-banner--02,
  .main-content #section2 .swiper2 .swiper-slide.index-m-banner--03,
  body.fp-responsive .main-content #section2 .swiper2 .swiper-slide.index-m-banner--03,
  .main-content #section3 .swiper2 .swiper-slide.index-m-banner--04,
  body.fp-responsive .main-content #section3 .swiper2 .swiper-slide.index-m-banner--04,
  #fullpage #section0 .swiper01 .swiper-slide.about-m-banner,
  body.fp-responsive #fullpage #section0 .swiper01 .swiper-slide.about-m-banner {
    aspect-ratio: 830 / 1796;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}
