/* Me2You - Public seller reviews page styles */

.reviews-seller {
  max-width: 760px;
}

/* Seller header */
.reviews-seller__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-orange-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--brand-orange-700);
  font-size: 24px;
}
.reviews-seller__name {
  font-size: 22px;
  margin: 0 0 2px;
}
.reviews-seller__star {
  color: var(--brand-orange);
}

/* Rating summary card */
.review-summary {
  background: var(--paper);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  gap: 32px;
  align-items: center;
}
.review-summary__big {
  text-align: center;
  min-width: 100px;
}
.review-summary__number {
  font-family: 'Quicksand', sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-900);
}
.review-summary__stars {
  font-size: 18px;
  margin: 4px 0;
}
.review-summary__bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-bar__label {
  font-size: 13px;
  font-weight: 600;
  min-width: 36px;
  text-align: right;
  color: var(--ink-700);
}
.review-bar__track {
  flex: 1;
  height: 8px;
  background: var(--ink-100);
  border-radius: 4px;
  overflow: hidden;
}
.review-bar__fill {
  height: 100%;
  background: var(--brand-orange);
  border-radius: 4px;
  transition: width .3s ease;
  /* --w arrives via data-style-vars (per-star percentage). */
  width: var(--w, 0%);
}
/* Rating star helpers: gold for active, muted for inactive. Used by the
   summary stars and per-review item stars so neither needs an inline style. */
.review-star {
  color: var(--ink-300);
}
.review-star--on {
  color: var(--brand-orange);
}
.review-bar__count {
  font-size: 13px;
  color: var(--ink-500);
  min-width: 24px;
}
.review-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.review-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-100);
}
.review-item:first-child {
  border-top: 1px solid var(--ink-100);
}
.review-item__stars {
  font-size: 15px;
}
.review-item__comment {
  line-height: 1.55;
}
.page-link {
  color: var(--brand-orange-700);
  border-color: var(--ink-300);
}
.page-item.active .page-link {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
}
@media (max-width: 575.98px) {
  .review-summary {
    flex-direction: column;
    gap: 16px;
  }
}
