.product-reviews {
  grid-column: 2;
  min-width: 0;
  padding-inline-end: calc(var(--product-order-column, 0px) + var(--product-column-gap, 0px));
  box-sizing: border-box;
}

.product-reviews-panel {
  width: min(796px, 100%);
  margin-inline: auto;
  padding: 26px 24px;
  border: 1px solid var(--product-border, #39383f);
  border-radius: 20px;
  background: var(--product-panel, #202023);
}

.product-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-bottom: 18px;
}

.product-reviews-heading {
  margin: 0;
  color: var(--product-text, #f2f3f4);
  font-size: 19px;
  font-weight: 800;
}

.product-reviews-summary {
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-reviews-average {
  color: var(--product-text, #f2f3f4);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.product-reviews-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-reviews-stars {
  position: relative;
  display: inline-block;
  width: fit-content;
  color: rgb(243 184 74 / 30%);
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1.2;
  white-space: nowrap;
}

.product-reviews-stars > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--review-rating-fill, 100%);
  overflow: hidden;
  color: #f3b84a;
  white-space: nowrap;
}

.product-reviews-count,
.product-reviews-status {
  margin: 0;
  color: var(--product-muted, #a6a7ad);
  font-size: 13px;
}

.product-reviews-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-review-card {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: 12px;
  background: rgb(255 255 255 / 4%);
}

.product-review-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  margin-bottom: 9px;
}

.product-review-avatar {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
  background: linear-gradient(135deg, #7655a7, #3c2b57);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.product-review-author {
  margin: 0;
  overflow: hidden;
  color: var(--product-text, #f2f3f4);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-review-text {
  margin: 0;
  color: rgb(242 243 244 / 76%);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.product-review-card .product-reviews-stars {
  margin-bottom: 5px;
  font-size: 13px;
}

.product-reviews-status:not(.sr-only) {
  padding: 26px 16px;
  border: 1px dashed rgb(255 255 255 / 14%);
  border-radius: 14px;
  background: rgb(255 255 255 / 3%);
  text-align: center;
}

.product-reviews-footer {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.product-reviews-more {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--product-border, #39383f);
  border-radius: 11px;
  background: rgb(255 255 255 / 4%);
  color: var(--product-text, #f2f3f4);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.product-reviews-more:hover {
  border-color: #8c6bcc;
  background: rgb(124 58 237 / 12%);
}

.product-reviews-more:focus-visible {
  outline: 2px solid #c4a7ff;
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .product-reviews {
    grid-column: 1;
    margin: 16px -12px 0;
    padding: 0;
  }

  .product-reviews-panel {
    width: 100%;
    padding: 20px 16px;
    border-inline: 0;
    border-radius: 0;
  }
}

@media (max-width: 560px) {
  .product-reviews-header {
    align-items: flex-start;
    margin-bottom: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-reviews-more {
    transition: none;
  }
}
