.norterra-customer-reviews,
.norterra-customer-reviews * {
  box-sizing: border-box;
}

.norterra-customer-reviews {
  --ncr-green: #00b67a;
  --ncr-title: #191919;
  --ncr-text: #2d2d2d;
  --ncr-muted: #6d6d6d;
  width: 100%;
  padding: 38px 20px 32px;
  overflow: hidden;
  background: #fff;
}

.norterra-customer-reviews__inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.norterra-customer-reviews__header {
  margin: 0 0 24px;
  text-align: center;
}

.norterra-customer-reviews__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #178664;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.norterra-customer-reviews__header h2 {
  margin: 0;
  color: var(--ncr-title);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.norterra-customer-reviews__carousel {
  position: relative;
}

.norterra-customer-reviews__track {
  display: flex;
  gap: 20px;
  padding: 4px 1px 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.norterra-customer-reviews__track::-webkit-scrollbar {
  display: none;
}

.norterra-customer-reviews__card {
  display: flex;
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  min-height: 190px;
  flex-direction: column;
  padding: 20px 18px 17px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  background: #f7f7f7;
  box-shadow: 0 8px 22px rgba(19, 30, 40, .055);
  scroll-snap-align: start;
}

.norterra-customer-reviews__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.norterra-customer-reviews__stars {
  display: inline-flex;
  gap: 3px;
}

.norterra-customer-reviews__star {
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  background: var(--ncr-green);
  color: #fff;
}

.norterra-customer-reviews__star.is-muted {
  background: #d9d9d9;
}

.norterra-customer-reviews__star svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.norterra-customer-reviews__verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ncr-muted);
  font-size: 11px;
  line-height: 1;
  text-decoration: underline;
  white-space: nowrap;
}

.norterra-customer-reviews__verified svg {
  width: 15px;
  height: 15px;
  color: #666;
}

.norterra-customer-reviews__verified circle {
  fill: currentColor;
}

.norterra-customer-reviews__verified path {
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.norterra-customer-reviews__content h3 {
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--ncr-title);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.norterra-customer-reviews__content p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ncr-text);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.norterra-customer-reviews__card footer {
  margin-top: auto;
  padding-top: 20px;
  color: var(--ncr-muted);
  font-size: 12px;
  line-height: 1.35;
}

.norterra-customer-reviews__card footer strong {
  color: #4d4d4d;
  font-weight: 700;
}

.norterra-customer-reviews__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid #d7d7d7;
  border-radius: 50%;
  background: #fff;
  color: #161616;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .08);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.norterra-customer-reviews__arrow:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .12);
}

.norterra-customer-reviews__arrow:disabled {
  opacity: .35;
  cursor: default;
}

.norterra-customer-reviews__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.norterra-customer-reviews__arrow.is-prev {
  left: -19px;
}

.norterra-customer-reviews__arrow.is-next {
  right: -19px;
}

.norterra-customer-reviews__summary {
  margin-top: 18px;
  text-align: center;
}

.norterra-customer-reviews__summary p {
  margin: 0;
  color: #222;
  font-size: 12px;
  line-height: 1.5;
}

.norterra-customer-reviews__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 3px;
  color: #111;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.norterra-customer-reviews__brand svg {
  width: 19px;
  height: 19px;
  fill: var(--ncr-green);
}

@media screen and (max-width: 1090px) {
  .norterra-customer-reviews__card {
    flex-basis: calc((100% - 40px) / 3);
  }

  .norterra-customer-reviews__arrow.is-prev {
    left: -8px;
  }

  .norterra-customer-reviews__arrow.is-next {
    right: -8px;
  }
}

@media screen and (max-width: 820px) {
  .norterra-customer-reviews__card {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@media screen and (max-width: 600px) {
  .norterra-customer-reviews {
    padding: 28px 14px 25px;
  }

  .norterra-customer-reviews__header {
    margin-bottom: 18px;
  }

  .norterra-customer-reviews__header h2 {
    font-size: 27px;
  }

  .norterra-customer-reviews__track {
    gap: 12px;
    margin-right: -14px;
    padding-right: 14px;
  }

  .norterra-customer-reviews__card {
    flex: 0 0 86%;
    min-height: 178px;
    padding: 17px 15px 15px;
  }

  .norterra-customer-reviews__arrow {
    display: none;
  }

  .norterra-customer-reviews__star {
    width: 23px;
    height: 23px;
  }

  .norterra-customer-reviews__content h3 {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .norterra-customer-reviews__track {
    scroll-behavior: auto;
  }

  .norterra-customer-reviews__arrow {
    transition: none;
  }
}
