.reviews {
  margin-top: 100px;
  padding: 0 16px;
}

.reviews__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.reviews__title {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 110%;
}

.reviews__all {
  box-sizing: border-box;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 12px 9px 12px;
  border-radius: 50px;
  color: inherit;
  text-decoration: none;
  background: #EFEFEF;
  white-space: nowrap;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
}

.reviews__all:hover {
  background: #E4E4E4;
}

.reviews__all:active {
  background: #D5D5D5;
}

.reviews__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.reviews__tab {
  box-sizing: border-box;
  height: 30px;
  padding: 8px 12px 9px 12px;
  border: 1px solid #EFEFEF;
  border-radius: 50px;
  background: transparent;
  color: #000000;
  cursor: pointer;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
}

.reviews__tab:hover {
  background: #E4E4E4;
}

.reviews__tab:active {
  background: #D5D5D5;
}

.reviews__tab.is-active,
.reviews__tab.is-active:hover,
.reviews__tab.is-active:active {
  border-color: #EFEFEF;
  background: #EFEFEF;
  color: #000000;
}

.reviews__track {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar {
  display: none;
}

.reviews__card {
  box-sizing: border-box;
  flex: 0 0 640px;
  padding-top: 16px;
  border-top: 1px solid #ececec;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.reviews__stars {
  font-size: 14px;
  letter-spacing: 2px;
}

.reviews__author {
  margin-top: 12px;
  font-weight: 400;
  font-size: 14px;
}

.reviews__date {
  margin-top: 4px;
  font-weight: 400;
  font-size: 12px;
  color: #767676;
}

.reviews__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  margin-top: 12px;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
}

.reviews__text.is-expanded {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.reviews__more {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 18px 30px;
  border: 1px solid #EFEFEF;
  border-radius: 50px;
  background: transparent;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 400;
  font-size: 28px;
  line-height: 110%;
}

.reviews__more:hover {
  background: #EFEFEF;
}

.reviews__more:active {
  background: #E4E4E4;
}

.reviews__more[hidden] {
  display: none;
}

.reviews__load-more {
  box-sizing: border-box;
  display: none;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 30px;
  padding: 8px 12px 9px 12px;
  border: none;
  border-radius: 50px;
  background: #EFEFEF;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  color: #212325;
  -webkit-text-fill-color: #212325;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
}

.reviews__load-more:hover {
  background: #E4E4E4;
}

.reviews__load-more:active {
  background: #D5D5D5;
}

.reviews__load-more[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .reviews {
    padding: 0 32px;
  }

  .reviews__header {
    flex-wrap: wrap;
    row-gap: 16px;
    margin-bottom: 32px;
  }

  .reviews__title {
    font-size: 28px;
    line-height: 110%;
  }

  .reviews__all {
    height: 67px;
    padding: 18px 30px;
    font-size: 28px;
    line-height: 110%;
  }

  .reviews__tabs {
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
  }

  .reviews__tab {
    height: 67px;
    padding: 18px 30px;
    font-size: 28px;
    line-height: 110%;
  }

  .reviews__track {
    flex-direction: column;
    align-items: stretch;
    overflow-x: visible;
    gap: 23px;
  }

  .reviews__card {
    flex: none;
    width: auto;
    padding-top: 23px;
    border-top: 1px solid #ececec;
  }

  .reviews__card.is-first-visible {
    border-top: none;
    padding-top: 0;
  }

  .reviews__stars {
    font-size: 28px;
  }

  .reviews__author {
    font-size: 28px;
    margin-top: 32px;
  }

  .reviews__date {
    font-size: 28px;
    margin-top: 12px;
  }

  .reviews__text {
    -webkit-line-clamp: 6;
    line-clamp: 6;
    font-size: 28px;
    margin-top: 32px;
  }

  .reviews__more {
    margin-top: 32px;
  }

  .reviews__load-more {
    display: flex;
    align-self: center;
    margin-top: 64px;
    height: 67px;
    padding: 18px 30px;
    border-top: 1px solid #ececec;
    font-size: 28px;
  }

  .reviews__load-more[hidden] {
    display: none;
  }
}

@media (max-width: 480px) {
  .reviews {
    padding: 0 20px;
  }

  .reviews__title {
    font-size: 20px;
  }

  .reviews__all {
    height: 44px;
    padding: 10px 18px;
    font-size: 16px;
  }

  .reviews__tabs {
    gap: 10px;
  }

  .reviews__tab {
    height: 40px;
    padding: 10px 16px;
    font-size: 16px;
  }

  .reviews__stars {
    font-size: 18px;
  }

  .reviews__author {
    font-size: 18px;
    margin-top: 20px;
  }

  .reviews__date {
    font-size: 16px;
  }

  .reviews__text {
    font-size: 16px;
    margin-top: 20px;
  }

  .reviews__more {
    margin-top: 20px;
    padding: 12px 20px;
    font-size: 16px;
  }

  .reviews__load-more {
    height: 44px;
    padding: 10px 18px;
    font-size: 16px;
  }
}
