/** Shopify CDN: Minification failed

Line 294:12 Expected identifier but found whitespace
Line 294:14 Unexpected "{"
Line 294:23 Expected ":"
Line 294:63 Expected ":"

**/
.video-testimonials-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.video-testimonials-section .container {
  max-width: var(--testimonials-max-width, 1400px);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
}

.testimonials-slider-wrapper {
  position: relative;
}

/* 使用flexbox和overflow-x实现水平滚动 */
.testimonials-scroll-container {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 15px;
  padding-bottom: 20px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* 自定义滚动条样式 */
.testimonials-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.testimonials-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.testimonials-scroll-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.testimonials-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Firefox滚动条样式 */
.testimonials-scroll-container {
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f1f1f1;
}

.testimonial-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  flex-shrink: 0;
  width: 280px;
  display: flex;
  flex-direction: column;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.video-container {
  width: 100%;
  height: 180px;
  position: relative;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-container video,
.video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.youtube-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.placeholder-video {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f2f5 0%, #e9ecef 100%);
  color: #6c757d;
}

.placeholder-content {
  text-align: center;
  padding: 15px;
}

.placeholder-content svg {
  opacity: 0.6;
  margin-bottom: 10px;
}

.placeholder-content p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
  max-width: 180px;
}

.testimonial-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 140px;
}

/* 客户信息和星级评分的容器 - 水平对齐 */
.customer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 10px;
}

.customer-info {
  flex: 1;
}

.customer-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #333;
  line-height: 1.3;
}

.customer-country {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
  font-weight: 400;
}

.star-rating {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.star {
  font-size: 1.2rem;
  color: #e9ecef;
  margin-left: 1px;
  transition: color 0.2s ease;
  line-height: 1;
}

.star.filled {
  color: #ffc107;
}

.testimonial-description {
  margin-top: auto;
  line-height: 1.5;
  color: #555;
  font-size: 0.9rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.testimonial-description p {
  margin: 0 0 8px 0;
}

.testimonial-description p:last-child {
  margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .video-testimonials-section {
    padding: 40px 0;
  }
  
  .video-testimonials-section .container {
    padding: 0 15px;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .testimonial-item {
    width: 260px;
  }
  
  .video-container {
    height: 160px;
  }
  
  .testimonial-content {
    padding: 18px;
    min-height: 120px;
  }
  
  .customer-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .star-rating {
    justify-content: flex-start;
  }
  
  .customer-name {
    font-size: 1.05rem;
  }
  
  .star {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .testimonial-item {
    width: 240px;
  }
  
  .video-container {
    height: 140px;
  }
  
  .testimonial-content {
    padding: 15px;
    min-height: 110px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .customer-name {
    font-size: 1rem;
  }
  
  .testimonial-description {
    font-size: 0.85rem;
    -webkit-line-clamp: 3;
  }
}

/* 自定义CSS变量用于最大宽度 */
.video-testimonials-section .container {
  max-width: {{ section.settings.max_width | default: 1400 }}px;
}
