.rating-summary {
  max-width: 600px;
  margin: 30px auto 10px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.rating-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.5em;
  font-weight: bold;
}

.rating-stars {
  color: orange;
}

.rating-subtext {
  font-size: 0.95em;
  color: #666;
  margin-top: 6px;
}

.rating-bar {
  display: flex;
  align-items: center;
  margin-top: 6px;
}

.bar-label {
  width: 68px;
  font-size: 0.95em;
}

.bar-container {
  flex: 1;
  background: #e9ecf1;
  border-radius: 10px;
  height: 8px;
  margin: 0 10px;
  overflow: hidden;
}

.bar-fill {
  background: orange;
  height: 100%;
}

.bar-value {
  min-width: 30px;
  text-align: right;
  font-size: 0.9em;
}


    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f9f9f9;
    }
    .review-container {
      max-width: 600px;
      margin: 20px auto;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      padding: 16px;
    }
    .review-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .user-info {
      display: flex;
      align-items: center;
    }
    .user-avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 12px;
    }
    .user-name {
      font-weight: bold;
    }
    .review-date {
      font-size: 0.9em;
      color: #666;
    }
    .stars {
      margin-top: 4px;
    }
    .star {
      font-size: 1.2em;
    }
    .filled {
      color: orange;
    }
    .empty {
      color: #ddd;
    }
    .product-name {
      margin-top: 12px;
      font-weight: bold;
      color: #333;
    }
    .review-text {
      margin-top: 6px;
      color: #444;
      line-height: 1.4;
    }
    @media screen and (max-width: 600px) {
      .review-container {
        margin: 12px;
        padding: 12px;
      }
      .user-name {
        font-size: 1em;
      }
    }
    .letter-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(66, 133, 244, 0.1); /* светло-синий полупрозрачный */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  color: #4285f4; /* насыщенный синий для буквы */
  margin-right: 12px;
  text-transform: uppercase;
}
