/*产品解决方案*/
/* 解决方案容器 */
.solution-container {
  width: 16rem;
  margin: 0 auto;
  background-color: #F7F7F7;
  padding: 0.6rem;
  border-radius: 0.1rem;
  box-sizing: border-box;
  position: relative;
}

/* Swiper容器 */
.solution-swiper {
  width: 100%;
  height: auto;
}

/* 解决方案内容布局 */
.solution-content {
  display: flex;
  gap: 0.8rem;
  width: 100%;
  margin-bottom: 0.5rem;
}

/* 左侧图片容器 */
.solution-image-container {
  position: relative;
  width: 6rem;
  min-width: 6rem; /* 确保图片容器不会被压缩 */
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.1rem;
  overflow: hidden;
}

/* 缩略图 */
.solution-thumbnail {
  width: calc(100% - 0.3rem); /* 比容器小0.15rem左右 */
  height: calc(100% - 0.3rem);
  object-fit: cover;
  border-radius: 0.08rem;
}

/* 右侧信息区域 */
.solution-info {
  flex: 1;
  width: calc(100% - 6.8rem); /* 考虑了图片宽度和间隙 */
  min-width: 0; /* 允许内容换行 */
  display: flex;
  flex-direction: column;
}

.solution-type {
  color: #1DB49C;
  font-size: 0.3rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.solution-title {
  font-size: 0.26rem;
  color: #333;
  margin: 0 0 0.3rem 0;
  line-height: 1.4;
  word-wrap: break-word;
}

.solution-desc {
  font-size: 0.16rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0.4rem;
  flex-grow: 1;
  word-wrap: break-word;
}

.solution-actions {
  display: flex;
  gap: 0.3rem;
}

.btn-view, .btn-more {
  display: inline-block;
  padding: 0.12rem 0.3rem;
  border-radius: 0.05rem;
  text-decoration: none;
  font-size: 0.16rem;
  transition: all 0.3s ease;
}

.btn-view {
  background-image: linear-gradient(90deg, rgb(25, 212, 125), rgb(29, 180, 157));
  color: white;
}

.btn-more {
  background-color: #fff;
  color: #19D37D;
  border: 1px solid #19D37D;
}

.btn-view:hover {
  opacity: 0.9;
}

.btn-more:hover {
  background-color: #f0fff5;
}

/* 轮播控制区 */
.carousel-control {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.carousel-nav {
  display: flex;
  align-items: center;
  width: 5rem; /* 设置为5rem宽度 */
  margin: 0 auto;
  gap: 0.2rem;
  position: relative;
}

.arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: white;
  border: 1px solid #eee;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  z-index: 10;
}

.arrow-btn:hover {
  background-color: #f0f0f0;
}

/* 箭头图片 */
.arrow-img {
  width: 0.2rem;
  height: 0.2rem;
  display: block;
}

/* Swiper进度条 */
.swiper-pagination {
  flex: 1;
  position: relative !important;
  width: auto !important;
  height: 0.06rem;
  background-color: #E0E0E0;
  border-radius: 0.03rem;
  overflow: hidden;
}

.swiper-pagination-progressbar-fill {
  background-image: linear-gradient(90deg, rgb(25, 212, 125), rgb(29, 180, 157)) !important;
}

/* 页码指示器 */
.page-indicator {
  margin-left: 0.3rem;
  font-size: 0.18rem;
  color: #333;
  display: flex;
  align-items: center;
}

.current-page {
  font-weight: bold;
  color: #1DB49D;
}

.separator {
  margin: 0 0.08rem;
  color: #999;
}

.total-pages {
  color: #999;
}

/* 清除Swiper默认按钮样式 */
.swiper-button-prev, .swiper-button-next {
  position: static !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
}

.swiper-button-prev:after, .swiper-button-next:after {
  display: none !important;
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
  .solution-content {
    flex-direction: column;
    gap: 0.4rem;
  }
  
  .solution-image-container {
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 3/2;
  }
  
  .solution-info {
    width: 100%;
  }
  
  .carousel-nav {
    width: 100%;
  }
}
