/*
 * Structural baseline for the reviews carousel. Layout/spacing lean on the
 * theme's Bootstrap utilities; only what the theme cannot provide lives here
 * (card frame, stars, author avatar). Meant to be superseded by the theme SCSS.
 */
.productReviews {
  --productReviews-star: #f5b301;
  --productReviews-quote-bg: #eaf4fd;

  padding-block: 2rem;
}

.productReviews__title {
  margin-bottom: 1.5rem;
}

.productReviews__slider {
  padding-block: 0.5rem;
}

.productReviews__card {
  height: 100%;
  padding: 1rem;
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 2px 12px rgb(0 0 0 / 8%);
}

.productReviews__cover {
  display: block;
  margin-bottom: 1rem;
  text-align: center;
}

.productReviews__img {
  width: auto;
  max-height: 200px;
  object-fit: contain;
}

.productReviews__product-name {
  margin-bottom: 0.5rem;
}

.productReviews__rating {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 0.75rem;
  color: var(--productReviews-star);
}

.productReviews__star--empty {
  opacity: 0.25;
}

.productReviews__quote {
  margin: 0 0 1rem;
  padding: 0.75rem;
  background-color: var(--productReviews-quote-bg);
  border-radius: 0.5rem;
}

.productReviews__text {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.4;
}

.productReviews__author {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid rgb(0 0 0 / 10%);
  font-size: 0.875rem;
}

.productReviews__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  border-radius: 50%;
  background-color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.productReviews__footer {
  text-align: center;
}
