.rate {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.rate span {
  color: var(--gr);
  font-size: 36px;
  font-weight: 600;
  line-height: 42px;
}

.rate .stars {
  display: flex;
  flex-direction: row;
  user-select: none;
  pointer-events: none;
}
.rate .stars span {
  width: 16px;
  font-size: 14px;
  height: 16px;
  line-height: inherit;
  color:var(--lg);
}
.rate .stars span.checked, .star-rating span.checked {
  color: var(--gr);

}
.rate p {
  margin: 0;
  white-space: nowrap;
  margin-top: 8px;
  font-size: 14px;
}

.rate img {
  filter: invert(86%) sepia(0%) saturate(0%) hue-rotate(153deg) brightness(99%)
    contrast(77%);
  width: 16px;
}

.rate img.filled {
  filter: invert(57%) sepia(86%) saturate(1532%) hue-rotate(113deg)
    brightness(101%) contrast(99%);
}

section.reviews {
  margin-bottom: 26px;
}
section.reviews > .top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

section.reviews h2 {
  font-size: 30px;
  font-weight: 600;
  font-family: "Syne", sans-serif;
}

section.reviews > .top > div {
  display: flex;
  align-items: center;
  gap: 21px;
}

.select {
  width: 260px;
  height: 52px;
  border: solid 2px #eaeaea;
  border-radius: 8px;
  box-sizing: border-box;
  background-color: white;
  padding: 0 14px;
  font-size: 16px;
  text-align: left;
  color: #8e8e8e;
  position: relative;
}

.reviews .order {
  position: relative;
  width: 260px;
}

.reviews .order p {
  position: absolute;
  top: -32px;
  font-size: 16px;
  color: #333;
  margin: 0;
}

.reviews .order .select.selected {
  color: #575757;
}

.reviews .order .select:focus {
  border-color: white;
  box-shadow: 0px 4px 15px #00000025;
  outline: none;
}

.reviews .order .options {
  list-style: none;
  padding: 0;
  position: absolute;
  z-index: 2;
  background-color: white;
  box-shadow: 0px 4px 15px #00000039;
  border-radius: 8px;
  width: 100%;
  top: 62px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms;
  margin: 16px 0px;
}

.reviews .order .select:focus + .options, .reviews .order .select + .options:focus-within {
  opacity: 1;
  pointer-events: all;
}
.reviews .order .select.value {
  color: black;
}
.reviews .order .options button {
  padding: 12px 14px;
  width: 100%;
  text-align: left;
  color: #575757;
  font-size: 16px;
  transform-origin: left center;
  cursor: pointer;
}

.reviews .order .options button:hover {
  transform: scale(1.08);
}

.reviews .order img {
  position: absolute;
  right: 16px;
  top: 18px;
  transform: rotate(90deg);
  width: 10px;
  filter: invert(0.1);
  pointer-events: none;
}

.reviews > .row {
  white-space: nowrap;
  position: relative;
}

.reviews .card {
  display: inline-block;
  width: 320px;
  min-width: 320px;
  height: 180px;
  border-radius: 12px;
  background-color: #f8f8f8;
  border: solid 1px #eaeaea;
  margin-right: 32px;
  overflow: hidden;
  padding: 18px;
  box-sizing: border-box;
  transition: border-color 300ms, box-shadow 300ms;
}

.reviews .card:hover {
  border-color: #f8f8f8;
  box-shadow: 0 6px 15px #00000044;
}

.reviews .card .top {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.reviews .card .top .image {
  display: flex;
  width: 64px;
  min-width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 100%;
  user-select: none;
  pointer-events: none;
}

.reviews .card .top .author {
  width: 200px;
}

.reviews .card .top p {
  font-size: 14px;
  margin-top: 2px;
  margin-bottom: 2px;
  text-transform: capitalize;
}

.reviews .card h3 {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  margin-bottom: 2px;
  font-size: 16px;
}

.reviews .card .top .status {
  display: flex;
  white-space: nowrap;
  align-items: center;
  justify-content: space-between;
}

.reviews .card .top .status img {
  user-select: none;
  pointer-events: none;
}

.reviews .card .top .verified {
  font-size: 9px;
  align-items: center;
  display: flex;
  color: var(--gr);
  gap: 7px;
}

.reviews .card p {
  margin: 0;
  font-size: 10px;
  white-space: initial;
}

.reviews > .left, .reviews > .right {
  position: absolute;
  height: 180px;
}

.reviews > div > .arrow {
  transition: opacity 300ms;
  opacity: 0;
}

.reviews:hover > div > .arrow {
  opacity: 1;
}

.reviews > .right {
  right: 24px;
}

.reviews > div > .arrow.swiper-button-disabled{
  opacity: 0;
}

.reviews .arrow {
  top: 74px;
}

@media screen and (max-width: 900px) {
  section.reviews > .top {
    flex-wrap: wrap;
    margin-bottom: 30px;
  }
  .reviews .top h2 {
    width: 100%;
    margin-bottom: 12px;;
  }
}


@media screen and (max-width: 600px) {
  .reviews h2 {
    font-size: 26px;
    line-height: 86%;
    width: 100%;
    margin-top: 0px;
    flex: 1;
    margin-bottom: 17px;
  }
  .reviews .top .rate p {
    margin-top: 3px;
  }

  .reviews .top h2 {
    min-width: 100%;
    margin-bottom: 12px;;
  }
  .reviews .top > div {
    justify-content: space-between;
    flex: 1;
  }
  .reviews .row .card {
    margin-right: 12px;
  }
  section.newsletter {
    margin-top: 60px;
  }
  
  .reviews .top > div button {
    background-color: #f8f8f8;
    border: solid 1px #eaeaea;
    height: 24px;
    padding: 0 9px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }
  section.newsletter {
    margin-top: 39px;
  }
}
