.reviews-section {
  width: 100%;
  margin: -10px 0 0;
  padding: 10px 40px 60px;
  overflow-x: hidden;
}

.reviews-head {
  position: relative;
  height: auto;
  min-height: 48px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.reviews-section .section-head h2 {
  height: 24px;
}

.reviews-section .section-head h2 img {
  position: relative;
  top: 7px;
  width: 30px;
  height: 30px;
}

.reviews-head p {
  margin: 8px 0 0 40px;
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.5px;
  color: var(--gray-dark);
}

.reviews-head .slider-arrows {
  top: 50%;
  transform: translateY(-50%);
}

.reviews-slider {
  padding-top: 10px;
  overflow: visible;
}

.reviews-slider .swiper-slide {
  overflow: visible;
}

.review-card {
  height: 245px;
  padding: 16px;
  border-radius: 16px;
  background-color: var(--bg-color);
  box-shadow: var(--shadow-soft);
}

.review-top {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 8px;
}

.review-top > img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.review-author {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  column-gap: 8px;
  margin-bottom: 6px;
}

.review-author b {
  font-size: 15px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.review-author time {
  font-size: 13px;
  font-weight: 500;
  line-height: 12px;
  letter-spacing: -0.5px;
  color: var(--gray);
  white-space: nowrap;
}

.review-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  column-gap: 8px;
}

.review-status {
  width: fit-content;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 6px;
  border-radius: 3px;
  background-color: #c8cfdc;
  font-size: 12px;
  font-weight: 600;
  line-height: 12px;
  letter-spacing: -0.5px;
  color: var(--white);
  text-transform: uppercase;
}

html[data-theme="dark"] .review-status {
  background-color: #2a2e39;
  color: #c8cfdc;
}

.review-rating {
  display: flex;
  align-items: center;
  column-gap: 8px;
}

.review-stars {
  display: flex;
  column-gap: 2px;
}

.review-rating strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--blue);
}

.review-text {
  min-height: 95px;
  margin: 12px 0;
  padding: 16px;
  border-radius: 16px;
  background-color: #f1f2f4;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: 0%;
  color: #6b7280;
}

html[data-theme="dark"] .review-text {
  background-color: #2a2e39;
  color: #c8cfdc;
}

.review-product {
  height: 54px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  column-gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 12px;
  background-color: #f4f5f7;
}

html[data-theme="dark"] .review-product {
  background-color: #2a2e39;
}

.review-product img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.review-product b {
  font-size: 15px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.review-product > span {
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 6px;
  background-color: var(--green-light);
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--white);
}

@media (max-width: 767px) {
  .reviews-section {
    padding: 0 var(--mobile-gutter) 40px;
  }

  .reviews-section .section-head h2 {
    height: 18px;
    font-size: 18px;
  }

  .reviews-section .section-head h2 img {
    top: 4px;
  }

  .reviews-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
  }

  .reviews-head p {
    font-size: 15px;
  }

  .reviews-slider {
    display: flex;
    padding-top: 0;
  }

  .reviews-head .slider-arrows {
    position: relative;
    top: unset;
    transform: unset;
  }

  .review-card {
    width: 100%;
    height: auto;
    padding: 15px 12px;
  }

  .review-product b {
    font-size: 14px;
  }
}

@media (max-width: 359.98px) {
  .review-rating strong {
    display: none;
  }
}
