/* تقييمات العميل — لوحة dash-pro */

body.public-shell.buyer-reviews-page .buyer-reviews-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--dash-soft, #f4f4f5);
  border: 1px solid var(--dash-line, #e4e4e7);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--s-muted, #71717a);
  flex-shrink: 0;
}

body.public-shell.buyer-reviews-page .buyer-reviews-count__n {
  font-size: 0.92rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--s-text, #18181b);
}

body.public-shell.buyer-reviews-page .buyer-reviews-panel .form-message {
  margin-bottom: 12px;
}

body.public-shell.buyer-reviews-page .buyer-reviews-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  padding: clamp(28px, 5vw, 40px) clamp(18px, 4vw, 28px);
  border-radius: 16px;
  border: 1px dashed var(--dash-line, #e4e4e7);
  background: var(--dash-soft, #f4f4f5);
  text-align: center;
}

body.public-shell.buyer-reviews-page .buyer-reviews-empty.is-visible {
  display: flex;
}

body.public-shell.buyer-reviews-page .buyer-reviews-empty__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--s-text, #18181b);
  letter-spacing: -0.02em;
}

body.public-shell.buyer-reviews-page .buyer-reviews-empty__desc {
  margin: 0;
  max-width: 36ch;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--s-muted, #71717a);
}

body.public-shell.buyer-reviews-page .buyer-reviews-empty .btn {
  margin-top: 8px;
}

body.public-shell.buyer-reviews-page .buyer-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 4px;
}

body.public-shell.buyer-reviews-page .buyer-reviews-grid:empty {
  display: none;
}

body.public-shell.buyer-reviews-page .review-card {
  background: var(--dash-paper, #fff);
  border: 1px solid var(--dash-line, #e4e4e7);
  border-radius: 16px;
  padding: clamp(14px, 2vw, 18px);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 10px;
  min-width: 0;
}

body.public-shell.buyer-reviews-page .review-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--s-text, #18181b);
  line-height: 1.35;
}

body.public-shell.buyer-reviews-page .review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--s-muted, #71717a);
  font-size: 0.82rem;
}

body.public-shell.buyer-reviews-page .review-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #ca8a04;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.public-shell.buyer-reviews-page .review-card__comment {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--s-text, #18181b);
}

body.public-shell.buyer-reviews-page .review-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

body.public-shell.buyer-reviews-page .review-card__actions .btn {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 0.84rem;
}

@media (max-width: 640px) {
  body.public-shell.buyer-reviews-page .buyer-reviews-grid {
    grid-template-columns: 1fr;
  }
}
