.customer-voice {
  background-color: var(--background-color-secondary);
}

.customer-voice__list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin-right: -20px;
  margin-left: -40px;
  margin-bottom: 0;
  padding-right: 20px;
}

.customer-voice__card {
  min-width: 308px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.customer-voice__header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.customer-voice__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.customer-voice__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.customer-voice__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.customer-voice__name {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  margin: 0;
  line-height: 1.2;
}

.customer-voice__age {
  font-size: 14px;
  margin: 0;
}

.customer-voice__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.customer-voice__price-before,
.customer-voice__price-after {
  border-radius: 8px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 24px;
  font-size: 24px;
}

.customer-voice__price-before span,
.customer-voice__price-after span {
  font-size: 12px;
}

.customer-voice__price-before {
  color: #333;
  background-color: var(--background-color-secondary);
}

.customer-voice__price-after {
  background-color: #fdf0e8;
}

.customer-voice__quote {
  font-size: 14px;
}

@media (width >= 768px) {
  .customer-voice__list {
    gap: 40px;
    width: calc(100vw + 20px);
  }

  .customer-voice__card {
    min-width: 453px;
  }

  .customer-voice__icon {
    width: 64px;
    height: 64px;
  }

  .customer-voice__header {
    gap: 16px;
  }

  .customer-voice__name {
    font-size: 24px;
  }

  .customer-voice__age {
    font-size: 18px;
  }

  .customer-voice__price {
    flex-direction: row;
  }

  .customer-voice__price-before,
  .customer-voice__price-after {
    gap: 8px;
  }

  .customer-voice__price-before span,
  .customer-voice__price-after span {
    font-size: 18px;
  }

  .customer-voice__quote {
    font-size: 18px;
  }
}

@media (width >= 1200px) {
   .customer-voice__list {
    padding-left: 140px;
  } 
}