/**
 * 玲珑颜 - 见证页样式
 * @file webroot/lly/css/testimonials.css
 */

.lly-testimonials-banner {
  padding: 100px 0 40px;
  background: linear-gradient(135deg, #FAF6F2 0%, #F5E6E8 100%);
  text-align: center;
}

.lly-testimonials-banner__tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--lly-color-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.lly-testimonials-banner__title {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--lly-color-text);
  margin-bottom: 10px;
}

.lly-testimonials-banner__subtitle {
  font-size: 14px;
  color: var(--lly-color-text-secondary);
  margin-bottom: 30px;
}

.lly-testimonials-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.lly-testimonials-stat {
  text-align: center;
}

.lly-testimonials-stat__num {
  display: block;
  font-family: 'Noto Serif SC', serif;
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, #C08497, #D4AF7A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lly-testimonials-stat__label {
  font-size: 13px;
  color: var(--lly-color-text-secondary);
}

.lly-testimonials-filter {
  padding: 20px 0;
  background: var(--lly-color-bg);
  border-bottom: 1px solid var(--lly-color-border);
}

.lly-testimonials-list-section {
  padding: 40px 0 60px;
}

.lly-testimonials-masonry {
  column-count: 3;
  column-gap: 20px;
}

.lly-testimonial-item {
  break-inside: avoid;
  margin-bottom: 20px;
  background: var(--lly-color-bg);
  border-radius: var(--lly-radius-lg);
  padding: 24px;
  box-shadow: var(--lly-shadow-sm);
  transition: all 0.3s ease;
}

.lly-testimonial-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--lly-shadow-md);
}

.lly-testimonial-item__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.lly-testimonial-item__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--lly-color-bg-light);
  flex-shrink: 0;
}

.lly-testimonial-item__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lly-testimonial-item__info {
  flex: 1;
}

.lly-testimonial-item__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--lly-color-text);
}

.lly-testimonial-item__skin-type {
  font-size: 12px;
  color: var(--lly-color-text-light);
}

.lly-testimonial-item__rating {
  color: #D4AF7A;
  font-size: 14px;
}

.lly-testimonial-item__content {
  font-size: 14px;
  color: var(--lly-color-text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.lly-testimonial-item__images {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.lly-testimonial-item__images img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--lly-radius-sm);
}

.lly-testimonial-item__product {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(192, 132, 151, 0.08);
  border-radius: 16px;
  font-size: 12px;
  color: var(--lly-color-primary);
}

.lly-testimonial-item__date {
  font-size: 12px;
  color: var(--lly-color-text-light);
}

.lly-testimonials-load-more {
  text-align: center;
  margin-top: 30px;
}

.lly-testimonials-cta__content {
  text-align: center;
}

.lly-testimonials-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.lly-loading-placeholder {
  text-align: center;
  padding: 60px 20px;
  color: var(--lly-color-text-light);
}

@media (max-width: 768px) {
  .lly-testimonials-masonry {
    column-count: 1;
  }
  .lly-testimonials-stats {
    gap: 24px;
  }
  .lly-testimonials-stat__num {
    font-size: 28px;
  }
}
