.san-about-factory {
  padding-top: 60px;
  width: 100%;
  position: relative;
  padding-bottom: 0;
  max-width: 100%; /* 占满屏幕 */
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.san-about-factory.padding-top {
  padding-top: 60px;
}

.san-about-factory .container {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.san-about-factory .title {
  margin: -10px auto 30px; 
  padding: 0 20px;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.san-about-factory .title h2 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.san-about-factory .title p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.san-about-factory .factory-list {
  margin-top: 10px;
  overflow: hidden;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.san-about-factory .factory-list li {
  overflow: hidden;
  border-radius: 0;
  height: 600px; /* 固定高度 */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.san-about-factory .factory-list li img {
  width: 100%; /* 占满slide宽度 */
  height: 100%; /* 占满slide高度 */
  object-fit: cover; /* 覆盖整个区域 */
  object-position: center;
  padding: 0;
  min-height: auto;
  transition: transform 0.3s ease;
  border-radius: 0;
}

.san-about-factory .factory-list li img:hover {
  transform: scale(1.03);
}

.san-about-factory .home-scenarioshd {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding: 0 20px;
}

.san-about-factory .home-ny {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70%;
  height: 20px;
  max-width: 1200px;
}

.san-about-factory .swiper-container {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}

.san-about-factory .swiper-wrapper {
  position: relative;
  width: 100%;
  height: 500px; /* 固定高度 */
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: border-box;
  align-items: center;
}

.san-about-factory .swiper-slide {
  flex-shrink: 0;
  position: relative;
  transition-property: transform;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px; /* 固定高度 */
  /* 宽度由JavaScript动态计算 */
}

.san-about-factory .home-ny .swiper-btn-prev,
.san-about-factory .home-ny .swiper-btn-next {
  display: inline-block;
  width: 50px;
  height: 50px;
  font-size: 24px;
  line-height: 50px;
  color: var(--color-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.san-about-factory .home-ny .swiper-btn-prev:hover,
.san-about-factory .home-ny .swiper-btn-next:hover {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.san-about-factory .home-ny .swiper-btn-next {
  margin-left: 20px;
}

.san-about-factory .san-swiper-pagination {
  flex: 1;
  max-width: 200px;
  height: 3px;
  background: rgba(203, 210, 214, 0.6);
  margin: 0 20px;
  border-radius: 2px;
  overflow: hidden;
}

.san-about-factory .san-swiper-pagination .swiper-pagination-progressbar-fill {
  background: var(--color-primary);
  height: 100%;
  transition: width 0.3s ease;
}

/* 桌面端多图显示 */
@media (min-width: 1024px) {
  .san-about-factory .factory-list li {
    height: 400px; /* 桌面端稍低高度 */
  }
  
  .san-about-factory .swiper-wrapper {
    height: 400px;
  }
  
  .san-about-factory .swiper-slide {
    height: 400px;
  }
}

/* 平板端 */
@media (min-width: 768px) and (max-width: 1023px) {
  .san-about-factory .factory-list li {
    height: 350px;
  }
  
  .san-about-factory .swiper-wrapper {
    height: 350px;
  }
  
  .san-about-factory .swiper-slide {
    height: 350px;
  }
}

/* 移动端响应式优化 */
@media (max-width: 767px) {
  .san-about-factory {
    padding-top: 30px;
    padding-bottom: 20px;
  }
  
  .san-about-factory.padding-top {
    padding-top: 30px;
  }
  
  .san-about-factory .title {
    margin: 0 auto 15px;
    padding: 0 15px;
  }
  
  .san-about-factory .title h2 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 8px;
    font-weight: 600;
  }
  
  .san-about-factory .title p {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
  }
  
  .san-about-factory .factory-list {
    margin-top: 0;
  }
  
  .san-about-factory .factory-list li {
    height: 300px; /* 移动端固定高度 */
  }
  
  .san-about-factory .swiper-wrapper {
    height: 300px;
  }
  
  .san-about-factory .swiper-slide {
    height: 300px;
  }
  
  .san-about-factory .home-scenarioshd {
    margin-top: 20px;
    padding: 0 15px;
  }
  
  .san-about-factory .home-ny {
    width: 100%;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 22px;
    padding: 0 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
  }
  
  .san-about-factory .home-ny .swiper-btn-prev,
  .san-about-factory .home-ny .swiper-btn-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
    line-height: 40px;
  }
  
  .san-about-factory .home-ny .swiper-btn-next {
    margin-left: 15px;
  }
  
  .san-about-factory .san-swiper-pagination {
    max-width: 120px;
    height: 4px;
    margin: 0 15px;
  }
}