.ecommerce-portal {
  padding: 0 var(--distance);
  box-sizing: border-box;
  overflow: hidden;
}
.ecommerce-portal .ecommerce-portal-swiper {
  /* 2026-08-16 pagination absolute 定位锚点（否则圆点跑到图片外） */
  position: relative;
}
.ecommerce-portal .ecommerce-banner {
  position: relative;
  border-radius: 1.6rem;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 2;
}
.ecommerce-portal .ecommerce-banner .ecommerce-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.ecommerce-portal .ecommerce-banner .ecommerce-overlay {
  position: absolute;
  inset: 0;
  /* 2026-08-16 文字与背景图之间叠 0.2 透明黑, 增强文字可读性 */
  background: rgba(0, 0, 0, 0.2);
}
.ecommerce-portal .ecommerce-banner .ecommerce-content {
  position: absolute;
  bottom: 6rem;
  left: 5rem;
  width: 60%;
}
.ecommerce-portal .ecommerce-banner .ecommerce-content .ecommerce-title {
  font-size: 4.8rem;
  width: 100%;
  margin-bottom: 3rem;
  color: #fff;
}
.ecommerce-portal .ecommerce-banner .ecommerce-content .btn-white {
  background-color: white;
  border-radius: 3rem;
  padding: 1rem 2rem;
  font-size: 1.6rem;
}
.ecommerce-portal .swiper-pagination {
  /* 2026-08-16 圆点放在图片下方（图片外）: relative 流式排布, 覆盖 swiper 默认 absolute */
  position: relative;
  top: auto;
  bottom: auto;
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}
.ecommerce-portal .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C9C9C9;
  opacity: 1;
  transition: background 0.2s ease;
}
.ecommerce-portal .swiper-pagination-bullet-active {
  background: #000;
}
.ecommerce-portal .swiper-pagination-bullet:hover {
  background: #000;
}
.ecommerce-portal .wow {
  transition: all 1s ease-in-out;
  transform: translateY(40px);
  opacity: 0;
}
.ecommerce-portal .wow.animated {
  transform: translateY(0);
  opacity: 1;
}
@media all and (max-width: 769px) {
  .ecommerce-portal .ecommerce-banner {
    min-height: 0;
    aspect-ratio: 5 / 4;
  }
  .ecommerce-portal .ecommerce-banner .ecommerce-content {
    width: 80%;
  }
  .ecommerce-portal .ecommerce-banner .ecommerce-content .ecommerce-title {
    width: 100%;
    font-size: var(--t1);
  }
  .ecommerce-portal .ecommerce-banner .ecommerce-content {
    left: 3rem;
    bottom: 3rem;
  }
  .ecommerce-portal .ecommerce-banner .ecommerce-content .ecommerce-title {
    font-size: var(--t2);
  }
}
