.kit.testimonials {
  background: rgba(var(--color-background));
  color: rgba(var(--color-text));
}

.kit .testimonials__heading {
  font-family: var(--kit-font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  text-align: center;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(var(--testimonials-columns, 3), 1fr);
  gap: 24px;
}

.testimonials__card {
  background: rgba(var(--color-text), 0.12);
  border: 1px solid rgba(var(--color-text), 0.2);
  border-radius: var(--kit-radius);
  padding: 30px;
}

.testimonials__stars {
  color: rgba(var(--color-highlight));
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.kit .testimonials__quote {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 18px;
}

.testimonials__author {
  font-weight: 700;
  font-size: 14px;
}

@media (max-width: 800px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}

/* Rating summary header + outlined card variant (product page reviews). */
.kit.testimonials--ruled {
  border-top: 1px solid rgba(var(--color-entry-line), 0.1);
}

.testimonials__summary {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
  text-align: center;
}

.testimonials__score {
  font-family: var(--kit-font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: rgba(var(--color-highlight));
}

.testimonials__summary-stars {
  color: rgba(var(--color-button-background));
  letter-spacing: 2px;
  margin: 8px 0 4px;
}

.testimonials__count {
  font-size: 13px;
  color: rgba(var(--color-light-text));
}

.testimonials__divider {
  width: 1px;
  height: 80px;
  background: rgba(var(--color-entry-line), 0.1);
}

.testimonials__statement {
  font-size: 15px;
  color: rgba(var(--color-light-text));
  max-width: 24em;
  text-align: left;
}

.testimonials__statement strong {
  color: rgba(var(--color-text));
}

.testimonials--outlined .testimonials__grid {
  gap: 20px;
}

.testimonials--outlined .testimonials__card {
  background: none;
  border: 1px solid rgba(var(--color-entry-line), 0.1);
  padding: 26px;
}

.testimonials--outlined .testimonials__stars {
  color: rgba(var(--color-button-background));
  margin-bottom: 10px;
}

.testimonials__title {
  font-family: var(--kit-font-display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.kit.testimonials--outlined .testimonials__quote {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(var(--color-light-text));
  margin: 0 0 14px;
}

.testimonials--outlined .testimonials__author {
  font-size: 13px;
}
