.reviews-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.reviews-page__title {
  font-family: var(--font-edito);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  text-align: center;
  margin: 0 0 0.5em;
}

.reviews-page__count {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  color: var(--ink-soft, #6b665c);
  margin: 0 0 2.5em;
}

/* ===== Список отзывов ===== */
.reviews-page__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.review-card {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line, #D8D1C0);
}

.review-card__product {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.review-card__product-photo {
  width: 160px;
  height: 180px;
  object-fit: contain;

}
.review-card__product-name {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--ink-soft, #6b665c);
}

.review-card__product:hover .review-card__product-name {
  color: var(--ink, #1C1A17);
}

.review-card__body {
  flex: 1;
}

.review-card__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0.5em;
}

.review-card__author {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.review-card__stars-filled {
  color: var(--brass, #A9803F);
}

.review-card__stars-empty {
  color: var(--line, #D8D1C0);
}

.review-card__date {
  font-family: var(--font-secondary);
  font-size: 0.8125rem;
  color: var(--ink-soft, #6b665c);
  margin-left: auto;
}

.review-card__text {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink, #1C1A17);
  margin: 0;
}

/* ===== Пагинация ===== */
.reviews-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 3em;
  font-family: var(--font-secondary);
  font-size: 0.875rem;
}

.reviews-pagination a {
  color: var(--ink, #1C1A17);
  text-decoration: none;
}

.reviews-page__empty {
  text-align: center;
  color: var(--ink-soft, #6b665c);
  padding: 60px 0;
}

@media (max-width: 480px) {
  .review-card {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .review-card__product {
    flex-basis: auto;
  }

  .review-card__product-photo {
    width: 140px;
    height: 160px;
  }

  .review-card__body {
    width: 100%;
  }

  .review-card__header {
    justify-content: center;
    text-align: center;
  }

  .review-card__date {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .review-card__text {
    text-align: left;
  }
}