  /* 外层布局 */
.review-section {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  max-width: 80%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 左边图片块（PC） */
.review-left {
  flex: 0 0 auto;
  text-align: center;
  align-self:center;
}

/* 默认 PC 图片显示，Mobile 图片隐藏 */
.review-img { width: 170px; height: 93px; border-radius: 8px; }

.review-link {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #000;
  text-decoration: underline;
  cursor: pointer;
}
.review-link:hover
{
  color:#0073e6;
}

/* 右边评论轮播 */
.review-right {
  flex: 1;       /* 占满剩余空间 */
  min-width: 0;  /* 允许缩小防止超出屏幕 */
}

.review-carousel {
  position: relative;
  margin: 0 auto;       /* 居中 */
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

/* 评论列表 */
.reviews-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  touch-action: pan-y;
}

.review {
  min-width: calc(100% / 4);  /* PC端显示4条 */
  box-sizing: border-box;
  padding: 20px 30px;
  text-align: left; 
}

.review h3 { 
  margin-bottom: 6px; 
  font-size: 14px;  
  font-weight: 700;
}

.review p { 
  font-size: 13px; 
  margin-bottom: 8px; 
  line-height: 1.5; 
  color: #333; 

  display: -webkit-box;       
  -webkit-line-clamp: 3;      
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review span { 
  font-size: 0.9rem; 
  color: #555; 
}

/* 星级样式 Trustpilot 风格 */
.review .star-rating {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
  gap: 4px;
}
.review .star-rating .star-box {
  width: 22px;
  height: 22px;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}
.review .star-rating .star-box.filled {
  background-color: #00c853;
}
.review .star-rating .star-box svg {
  width: 14px;
  height: 14px;
  fill: white;
}

button.prev, button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

button.prev { left: 10px; }
button.next { right: 10px; }
button.prev:hover, button.next:hover { background: rgba(0,0,0,0.5); }

.dots-wrapper { text-align: center; margin-top: 10px; }
.dot {
  height: 10px; width: 10px;
  margin: 0 3px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}
.dot.active { background-color: #717171; }

/* 移动端只显示1条评论 + 图片切换 */
@media screen and (max-width: 768px) {
  .review { min-width: 100%; }

  .review-section {
    flex-direction: column;
    align-items: center;
  }

  .review-img { border-radius: 6px; }

  .review-link {
    font-size: 13px;
  }

  .review-right {
    width: 100%;
  }

  .review-carousel {
    max-width: 100%;
  }
}