/* Reviews Section */
.reviews-section .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reviews-section .title {
  font-size: var(--h1-font-size-mobile);
  font-weight: var(--h1-font-weight);
  line-height: var(--h1-line-height-mobile);
  text-align: left;
  cursor: pointer;
}

.reviews-section .reviews-panel {
  display: flex;
  align-items: flex-start;
  gap: var(--inner-gap);
  overflow-y: hidden;
  overflow-x: auto;

  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.reviews-section .reviews-panel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Opera */
}

.reviews-section .review-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
  padding: 24.5px 16px;
  border-radius: 12px;
  border: 1px solid #eeedf2;
  box-shadow: 1px 1px 0px 0px #eeedf2;
}

.reviews-section .review-card .content {
  width: var(--review-card-min-width);
  min-height: var(--review-card-min-height);
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
}

.reviews-section .review-card .rating {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.reviews-section .review-card .rating img {
  width: var(--rating-star-width);
  height: var(--rating-star-height);
}

.reviews-section .review-card .review {
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
}

.reviews-section .review-card .review p {
  font-size: var(--font-size-mobile);
  font-weight: var(--font-weight-mobile);
  line-height: var(--line-height-mobile);
  text-align: left;
}

.reviews-section .review-card .review .review-text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 6;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

.reviews-section .review-card .review .review-text.expanded {
  line-clamp: unset;
  -webkit-line-clamp: unset;
}

.reviews-section .review-card .review .review-btn {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.reviews-section .review-card .review .review-btn a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--dark-color);
}

.reviews-section .review-card .review .review-btn span {
  font-size: var(--font-size-mobile);
  font-weight: var(--font-weight-mobile);
  line-height: var(--line-height-mobile);
  text-align: left;
}

.reviews-section .review-card .reviewer {
  display: flex;
  align-items: center;
  gap: 18px;
}

.reviews-section .review-card .reviewer img {
  height: 56px;
  width: 56px;
  border-radius: 50%;
}

.reviews-section .review-card .reviewer .details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--h3-font-size-mobile);
  font-weight: 300;
  line-height: 23.4px;
  text-align: left;
}

@media (min-width: 1280px) {
  .reviews-section .reviews-panel {
    gap: 36px;
  }

  .reviews-section .container {
    gap: 60px;
  }

  .reviews-section .review-card {
    width: var(--review-card-min-width);
    padding: 20px;
  }

  .reviews-section .review-card .content {
    justify-content: space-between;
    width: 100%;
    min-height: 100%;
  }

  .reviews-section .review-card .review {
    margin-bottom: 28px;
  }

  .reviews-section .review-card .review p,
  .reviews-section .review-card .review .review-btn span {
    font-size: 16px;
    font-weight: 300;
    line-height: 20.8px;
    letter-spacing: 0.16px;
    text-align: left;
  }

  .reviews-section .review-card .review .review-btn span {
    font-family: Ubuntu;
    font-size: 16px;
    font-weight: 300;
    line-height: 20.8px;
    letter-spacing: 0.16px;
    text-align: left;
  }
}
