/* Version für xinzuo.at */
.xz-store-reviews {
  box-sizing: border-box;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  padding: 18px 10px 30px;
}

.xz-store-reviews__panel {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 28px 32px;
  color: #171717;
  background: #f7f6f3;
  border: 1px solid #e7e3dc;
  border-left: 4px solid #e31e24;
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

.xz-store-reviews__panel.has-five-star-proof {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 32%);
  align-items: center;
  column-gap: 52px;
}

.xz-store-reviews__content {
  min-width: 0;
}

.xz-store-reviews__eyebrow {
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xz-store-reviews__heading {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
}

.xz-store-reviews__stars {
  margin-bottom: 16px;
  color: #e6a300;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 2px;
}

.xz-store-reviews__slides {
  display: grid;
}

.xz-store-reviews__slide {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 420ms ease,
    visibility 420ms ease;
}

.xz-store-reviews__slide.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.xz-store-reviews__quote {
  margin: 0;
  padding: 0;
  color: #292929;
  font-size: 17px;
  font-style: normal;
  line-height: 1.55;
  border: 0;
}

.xz-store-reviews__customer {
  display: flex;
  align-items: center;
  min-width: 0;
  margin-top: 18px;
  gap: 10px;
}

.xz-store-reviews__initials {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: #111;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.xz-store-reviews__name,
.xz-store-reviews__meta {
  display: block;
}

.xz-store-reviews__name {
  font-size: 14px;
  line-height: 1.3;
}

.xz-store-reviews__meta {
  margin-top: 2px;
  color: #777;
  font-size: 12px;
  line-height: 1.3;
}

.xz-store-reviews__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 8px 12px 8px 48px;
  border-left: 1px solid #ddd8cf;
  flex-direction: column;
  text-align: center;
}

.xz-store-reviews__proof-eyebrow,
.xz-store-reviews__proof-number,
.xz-store-reviews__proof-stars,
.xz-store-reviews__proof-label {
  display: block;
}

.xz-store-reviews__proof-eyebrow {
  margin-bottom: 1px;
  color: #6f6b64;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.xz-store-reviews__proof-number {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.xz-store-reviews__proof-stars {
  margin-top: 8px;
  color: #e6a300;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 2px;
}

.xz-store-reviews__proof-label {
  max-width: 250px;
  margin-top: 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.xz-store-reviews__controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #ddd8cf;
}

.xz-store-reviews__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.xz-store-reviews__dot {
  display: block;
  width: 9px;
  height: 9px;
  margin: 0;
  padding: 0;
  background: #c9c4bb;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.xz-store-reviews__dot:hover,
.xz-store-reviews__dot:focus,
.xz-store-reviews__dot.is-active {
  background: #e31e24;
  transform: scale(1.25);
}

.xz-store-reviews__link {
  color: #111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.xz-store-reviews__link:hover,
.xz-store-reviews__link:focus {
  color: #e31e24;
}

.xz-product-card-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  margin: 7px 0 5px;
  gap: 7px;
  color: #606060;
  line-height: 1.2;
  text-decoration: none;
}

.xz-product-card-rating:hover,
.xz-product-card-rating:focus {
  color: #e31e24;
  text-decoration: none;
}

.xz-product-card-rating__stars {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.xz-product-card-rating__stars-empty {
  color: #d6d6d6;
}

.xz-product-card-rating__stars-filled {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: var(--xz-rating-percent);
  color: #e6a300;
  white-space: nowrap;
}

.xz-product-card-rating__label {
  font-size: 12px;
  font-weight: 500;
}

.xz-product-card-rating.is-empty {
  color: #8b8b8b;
}

.xz-product-card-rating.is-empty
  .xz-product-card-rating__stars-empty {
  color: #cecece;
}

@media (max-width: 767px) {
  .xz-store-reviews {
    padding: 18px 0 28px;
  }

  .xz-store-reviews__panel {
    display: block;
    padding: 22px 18px;
  }

  .xz-store-reviews__heading {
    font-size: 21px;
  }

  .xz-store-reviews__quote {
    font-size: 15px;
  }

  .xz-store-reviews__proof {
    margin-top: 22px;
    padding: 20px 0 0;
    border-top: 1px solid #ddd8cf;
    border-left: 0;
  }

  .xz-store-reviews__proof-number {
    font-size: 40px;
  }

  .xz-store-reviews__controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .xz-store-reviews__link {
    text-align: left;
  }

  .xz-product-card-rating {
    gap: 6px;
  }

  .xz-product-card-rating__stars {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xz-store-reviews__slide,
  .xz-store-reviews__dot {
    transition: none;
  }
}
