.product-review {
  margin: 0 auto;
}

.review-title {
  font-size: 24px;
  margin-bottom: 20px;
}

.review-summary {
  margin-bottom: 30px;
}

.average-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-number {
  font-size: 32px;
  font-weight: bold;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.product-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.product-title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.reviewer-name {
  font-weight: 500;
}

.review-date {
  color: #666;
}

.stars {
  margin: 10px 0;
}

.star {
  font-size: 20px;
}

.star.filled {
  color: #ffd700;
}

.star.empty {
  color: #e0e0e0;
}

.review-content {
  color: #333;
  line-height: 1.5;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.pagination button {
  padding: 8px 16px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pagination button:hover {
  background-color: #333;
}

.pagination button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.review-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-info {
  color: #666;
}

/* Loader  */

.loader {
  margin-left: 10px;
  width: 16px;
  height: 16px;
  border: 2px solid #000;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none;
}
