.review-slider {
  --review-gap: 0px;
  --review-slides: 3;
  position: relative;
  padding: 0 44px;
  font-size: 14px;
  color: #000000;
}

.review-slider,
.review-slider * {
  box-sizing: border-box;
}

.review-slider__viewport {
  overflow: hidden;
}

.review-slider__track {
  display: flex;
  align-items: stretch;
  transition: transform 0.4s ease;
  will-change: transform;
}

.review-slider__slide {
  flex: 0 0 calc((100% - (var(--review-gap) * (var(--review-slides) - 1))) / var(--review-slides));
  min-width: calc((100% - (var(--review-gap) * (var(--review-slides) - 1))) / var(--review-slides));
  padding: 0 10px;
}

.custom-review-card {
  height: 260px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px 15px 15px;
  border: 1px solid #fafafa;
  border-radius: 5px;
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.custom-review-card.is-expanded {
  height: auto;
}

.custom-review-card__author {
  margin: 0 0 8px;
  text-align: center;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.3;
}

.custom-review-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}

.custom-review-card__headline,
.custom-review-card__text {
  margin: 0;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.5;
  text-align: start;
  word-break: break-word;
}

.custom-review-card__headline {
  margin-bottom: 0;
}

.custom-review-card__excerpt {
  display: -webkit-box;
  flex-grow: 1;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
}

.custom-review-card.is-expanded .custom-review-card__excerpt {
  display: block;
  overflow: visible;
}

.custom-review-card.is-expanded .custom-review-card__content {
  overflow: visible;
}

.custom-review-card__toggle {
  align-self: flex-start;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #000000;
  font: inherit;
  font-size: 0.9em;
  text-decoration: underline;
  cursor: pointer;
}

.custom-review-card__toggle[hidden] {
  display: none;
}

.custom-review-card__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap-reverse;
  justify-content: center;
  margin-top: 14px;
}

.custom-review-stars {
  position: relative;
  display: inline-block;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 1px;
}

.custom-review-stars__base {
  color: #ffd8e4;
}

.custom-review-stars__fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: #040748;
  white-space: nowrap;
}

.custom-review-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: auto;
  border-radius: 4px;
  background: linear-gradient(180deg, #25a3ff 0%, #0d6dfd 100%);
}

.custom-review-store svg {
  width: 13px;
  height: 13px;
}

.review-slider__nav {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.25s ease;
}

.review-slider__nav svg {
  width: 36px;
  height: 36px;
}

.review-slider__nav:hover:not(:disabled) {
  opacity: 0.9;
}

.review-slider__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.review-slider__nav--prev {
  left: 4px;
}

.review-slider__nav--next {
  right: 4px;
}

.review-slider.is-static {
  padding-left: 0;
  padding-right: 0;
}

.review-slider.is-static .review-slider__nav {
  display: none;
}

.review-slider__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.custom-review-summary__title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #ffffff;
  font-family: Sora, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.custom-review-summary__apple {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.custom-review-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 6px;
  color: #ffffff;
}

.custom-review-summary__stars {
  position: relative;
  display: inline-block;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 1px;
}

.custom-review-summary__stars-base {
  color: rgba(255, 255, 255, 0.35);
}

.custom-review-summary__stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 96%;
  overflow: hidden;
  color: #ffffff;
  white-space: nowrap;
}

.custom-review-summary__count {
  margin: 6px 0 0;
  color: #ffffff;
  font-family: Sora, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

body.custom-review-popup-open {
  overflow: hidden !important;
}

.custom-review-popup {
  position: fixed;
  inset: 0;
  z-index: 2147483002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8);
}

.custom-review-popup__dialog {
  position: relative;
  width: min(100%, 630px);
  padding: 30px;
  border-radius: 5px;
  background: #ffffff;
  color: #565656;
  font-family: Verdana, Helvetica, Arial, sans-serif;
  font-size: 14px;
  box-sizing: border-box;
}

.custom-review-popup__close {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: #565656;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}

.custom-review-popup__meta {
  margin-right: 32px;
}

.custom-review-popup__author {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.custom-review-popup__store-label {
  color: #b8b8b8;
  font-size: 13px;
  line-height: 1.4;
}

.custom-review-popup__body {
  margin-top: 10px;
  line-height: 24px;
  word-break: break-word;
}

.custom-review-popup__body p {
  margin: 0 0 8px;
}

.custom-review-popup__body p:last-child {
  margin-bottom: 0;
}

.custom-review-popup__footer {
  display: flex;
  align-items: center;
  min-height: 28px;
  margin-top: 18px;
}

.custom-review-popup__spacer {
  flex-grow: 1;
}

.custom-review-popup__date {
  margin-right: 8px;
  color: #565656;
}

.custom-review-popup .custom-review-stars {
  font-size: 22px;
}

.custom-review-popup .custom-review-store {
  width: 24px;
  height: 24px;
  margin-left: 0;
  border-radius: 5px;
}

.custom-review-popup .custom-review-store svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1199px) {
  .review-slider {
    padding: 0 44px;
  }

  .custom-review-card {
    min-height: 260px;
  }
}

@media (max-width: 767px) {
  .custom-review-summary__title {
    font-size: 18px;
  }

  .custom-review-summary__apple {
    width: 24px;
    height: 24px;
  }

  .custom-review-summary__stars {
    font-size: 26px;
  }

  .custom-review-summary__count {
    font-size: 13px;
  }

  .review-slider {
    padding: 0 34px;
  }

  .custom-review-card {
    min-height: 260px;
    padding: 25px 15px 15px;
  }

  .custom-review-card__author {
    font-size: 1.1em;
  }

  .custom-review-card__headline,
  .custom-review-card__text {
    font-size: 1em;
  }

  .review-slider__nav {
    width: 34px;
    height: 34px;
  }

  .review-slider__nav svg {
    width: 34px;
    height: 34px;
  }
}
