/* Kundenbewertungen – estilo Trustpilot: resumo em card cinza, barras verdes, cards brancos */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

.delura-reviews-spacer {
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.delura-reviews {
  font-family: Inter, var(--font-paragraph--family, sans-serif);
  max-width: var(--max-width--body-normal, 1200px);
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

/* Verde Trustpilot */
.delura-reviews--green {
  --delura-reviews-green: #00b67a;
  --delura-reviews-green-dark: #009e6a;
}

.delura-reviews__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 1.25rem 0;
}

/* Card de resumo (fundo cinza claro) */
.delura-reviews__summary-card {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e5e7eb;
}

.delura-reviews__summary-top {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin-bottom: 1.25rem;
}

.delura-reviews__score {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}

.delura-reviews__score-sep {
  font-size: 1.125rem;
  font-weight: 500;
  color: #6b7280;
}

.delura-reviews__count {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0;
}

/* Barras por categoria (Qualität, Preis-Leistung) */
.delura-reviews__category-bars {
  margin-bottom: 1.25rem;
}

.delura-reviews__category-row,
.delura-reviews__sentiment-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
}

.delura-reviews__category-label,
.delura-reviews__sentiment-label {
  min-width: 120px;
  flex-shrink: 0;
}

.delura-reviews__bar-track {
  flex: 1;
  height: 10px;
  background: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
  min-width: 0;
}

.delura-reviews__bar-fill {
  height: 100%;
  background: #00b67a;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.delura-reviews__category-value {
  min-width: 2.5rem;
  text-align: right;
  font-weight: 600;
  color: #111827;
}

.delura-reviews__sentiment-pct {
  min-width: 2.5rem;
  text-align: right;
  font-weight: 500;
  color: #6b7280;
}

.delura-reviews__sentiment-bars .delura-reviews__sentiment-label {
  min-width: 110px;
}

/* Ações */
.delura-reviews__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.delura-reviews__write-btn {
  padding: 0.75rem 1.5rem;
  background: #374151;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.delura-reviews__write-btn:hover {
  background: #4b5563;
}

.delura-reviews__sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.delura-reviews__sort-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  font-size: 0.875rem;
  font-family: inherit;
  color: #374151;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

/* Lista de reviews – cards brancos */
.delura-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.delura-reviews__card {
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-sizing: border-box;
}

.delura-reviews__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.delura-reviews__card-main {
  flex: 1;
  min-width: 0;
}

.delura-reviews__name {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.35rem 0;
}

.delura-reviews__card-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 0.5rem;
}

.delura-reviews__card-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #00b67a;
  line-height: 0;
}

.delura-reviews__card-star svg {
  display: block;
  width: 18px;
  height: 18px;
}

.delura-reviews__quote {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
  font-style: italic;
}

.delura-reviews__verified-line {
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.delura-reviews__verified-icon {
  color: #00b67a;
  font-size: 0.875rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: #00b67a;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.delura-reviews__date {
  font-size: 0.875rem;
  color: #6b7280;
  flex-shrink: 0;
  white-space: nowrap;
}

.delura-reviews__image {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  max-width: 200px;
  border: 1px solid #e5e7eb;
}

.delura-reviews__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 640px) {
  .delura-reviews__summary-card {
    padding: 1.25rem 1rem;
  }
  .delura-reviews__category-label,
  .delura-reviews__sentiment-label {
    min-width: 90px;
    font-size: 0.8125rem;
  }
  .delura-reviews__card-top {
    flex-direction: column;
    gap: 0.5rem;
  }
  .delura-reviews__date {
    align-self: flex-end;
  }
}
