/* AfterStride Product Reviews - Clean & Minimal */
.product-reviews-widget {
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  max-width: 1200px;
  margin: 4rem auto;
  background: #ffffff;
}

/* Reviews Header */
.reviews-header {
  padding: 3rem 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 3rem;
}

.reviews-title {
  font-size: 2.4rem;
  font-weight: 600;
  color: #1e262d;
  margin: 0 0 2rem 0;
  text-align: center;
}

/* Overall Rating Section */
.overall-rating {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 600px;
  margin: 0 auto;
}

/* Left Column - Rating Score */
.rating-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
}

.rating-number {
  font-size: 4.8rem;
  font-weight: 600;
  color: #1e262d;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.rating-stars {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
  justify-content: center;
}

.star {
  font-size: 2rem;
  color: #e2e8f0;
}

.star--filled {
  color: #ffb128;
}

.star--half {
  color: #ffb128;
}

.rating-count {
  color: #4a5568;
  font-size: 1.4rem;
  font-weight: 400;
}

/* Right Column - Rating Breakdown */
.rating-breakdown {
  flex: 1;
  max-width: 400px;
}

.rating-bar {
  display: grid;
  grid-template-columns: 20px 1fr 100px;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 0.8rem;
}

.rating-label {
  font-size: 1.4rem;
  color: #1e262d;
  font-weight: 500;
  text-align: center;
}

.rating-progress {
  height: 0.6rem;
  background: #f7fafc;
  border-radius: 0.3rem;
  overflow: hidden;
}

.rating-fill {
  height: 100%;
  background: #ce532e;
  border-radius: 0.3rem;
}

.rating-count-small {
  font-size: 1.2rem;
  color: #718096;
  text-align: right;
  white-space: nowrap;
}

/* Reviews Section */
.reviews-section {
  padding: 0;
}

/* Reviews List */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.review-item {
  background: #ffffff;
  padding: 2.4rem 0;
  border-bottom: 1px solid #f7fafc;
}

.review-item:last-child {
  border-bottom: none;
}

.featured-review-item {
  background: #f9f8f2;
  padding: 2.4rem;
  border-radius: 0.8rem;
  margin-bottom: 2rem;
  border: none;
}

/* Reviewer Info */
.reviewer-info {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  margin-bottom: 1.6rem;
}

.reviewer-avatar {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f7fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ce532e;
}

.reviewer-details {
  flex: 1;
}

.reviewer-name {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1e262d;
  margin: 0 0 0.4rem 0;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.review-rating {
  display: flex;
  gap: 0.2rem;
}

.review-rating .star {
  font-size: 1.4rem;
}

.review-date {
  color: #718096;
  font-size: 1.3rem;
}

.verified-badge {
  background: #42ae58;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 0.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.verified-badge::before {
  content: "✓";
  font-weight: bold;
}

/* Review Content */
.review-content {
  margin-left: 6.4rem;
}

.review-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1e262d;
  margin: 0 0 0.8rem 0;
}

.review-text {
  color: #4a5568;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

/* Review Images */
.review-images {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.review-image {
  width: 6rem;
  height: 6rem;
  border-radius: 0.4rem;
  overflow: hidden;
  cursor: pointer;
}

.review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Review Actions */
.review-actions {
  display: flex;
  align-items: center;
}

.helpful-display {
  color: #718096;
  font-size: 1.3rem;
}

.helpful-count {
  color: #718096;
  font-size: 1.3rem;
}

/* Load More Section */
.load-more-section {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #f7fafc;
}

.load-more-btn {
  background: #ce532e;
  color: #ffffff;
  border: none;
  padding: 1.2rem 2.4rem;
  border-radius: 0.4rem;
  font-size: 1.4rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
}

.load-more-btn:hover {
  background: #b8461f;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .product-reviews-widget {
    margin: 2rem 0;
  }

  .reviews-header {
    padding: 2rem 0;
  }

  .reviews-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .overall-rating {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .rating-score {
    align-items: center;
  }

  .rating-number {
    font-size: 3.6rem;
  }

  .rating-breakdown {
    max-width: 100%;
  }

  .rating-bar {
    grid-template-columns: 15px 1fr 80px;
    gap: 0.8rem;
  }

  .review-item {
    padding: 1.6rem 0;
  }

  .reviewer-info {
    gap: 1.2rem;
  }

  .reviewer-avatar {
    width: 4rem;
    height: 4rem;
  }

  .review-content {
    margin-left: 5.2rem;
  }

  .review-meta {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .review-images {
    gap: 0.6rem;
  }

  .review-image {
    width: 5rem;
    height: 5rem;
  }
}

@media (max-width: 480px) {
  .reviews-header {
    padding: 1.5rem 0;
  }

  .reviews-title {
    font-size: 1.8rem;
  }

  .rating-number {
    font-size: 3rem;
  }

  .review-item {
    padding: 1.2rem 0;
  }

  .reviewer-avatar {
    width: 3.6rem;
    height: 3.6rem;
  }

  .review-content {
    margin-left: 4.8rem;
  }

  .review-images {
    gap: 0.4rem;
  }

  .review-image {
    width: 4.5rem;
    height: 4.5rem;
  }
}
