/*!***********************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/rating-block/style.scss ***!
  \***********************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
:root {
  --star-size: 24px;
  --star-color: #fff;
  --star-background: rgba(255, 102, 31, 1);
}

.rating-block {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  padding: 30px;
  display: flex;
  gap: 30px;
  background-color: rgb(247, 247, 249);
}
.rating-block .average-title, .rating-block .rating-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 19.8px;
  text-align: left;
}
.rating-block p {
  margin: 0;
}
.rating-block .firstColumn {
  display: flex;
  flex-direction: column;
}
.rating-block .average-wrapper {
  margin-top: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 20.4px;
  color: #212121;
}
.rating-block .average-wrapper .Stars {
  --percent: calc(var(--rating) / 5 * 100%);
  display: inline-block;
  font-size: var(--star-size);
  font-family: Times;
  line-height: 1;
}
.rating-block .average-wrapper .Stars::before {
  content: "★★★★★";
  letter-spacing: 3px;
  background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rating-block .grade-wrapper {
  margin-top: 36px;
  border-radius: 6px;
  width: 190px;
  height: 34px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20.4px;
  color: #212121;
  background-color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rating-block .grade-wrapper .grade-label {
  border-radius: 6px;
  width: auto;
  padding: 0px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: rgb(0, 186, 0);
  color: white;
  line-height: 16px;
}
.rating-block .secondColumn {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.rating-block .secondColumn .secondColumn__row {
  font-size: 16px;
  font-weight: 400;
  line-height: 20.4px;
  text-align: left;
  color: #212121;
}
.rating-block .secondColumn .secondColumn__row a {
  text-decoration: none;
  color: rgb(255, 102, 31);
}

@media (max-width: 475px) {
  .rating-block {
    padding: 20px;
    flex-direction: column;
  }
  .rating-block .average-title, .rating-block .rating-title {
    font-size: 16px;
    line-height: 18px;
  }
  .rating-block .average-wrapper {
    margin-top: 14px;
    font-size: 14px;
    line-height: 14px;
  }
  .rating-block .grade-wrapper {
    margin-top: 14px;
    width: 168px;
    height: 32px;
    font-size: 14px;
    line-height: 14px;
  }
  .rating-block .grade-wrapper .grade-label {
    line-height: 14px;
  }
  .rating-block .secondColumn {
    gap: 8px;
  }
  .rating-block .secondColumn .rating-title {
    margin-bottom: 2px;
  }
  .rating-block .secondColumn .secondColumn__row {
    font-size: 14px;
    line-height: 18px;
  }
}
@media (min-width: 1475px) {
  :root {
    --star-size: 1.66vw;
  }
  .rating-block {
    padding: 2.08vw;
    gap: 2.08vw;
  }
  .rating-block .average-title, .rating-block .rating-title {
    font-size: 1.2vw;
    line-height: 1.1em;
  }
  .rating-block .average-wrapper {
    margin-top: 1vw;
    gap: 1vw;
    font-size: 1.1vw;
    line-height: 1.25em;
  }
  .rating-block .average-wrapper .Stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: var(--star-size);
    font-family: Times;
    line-height: 1;
  }
  .rating-block .average-wrapper .Stars::before {
    letter-spacing: 0.2vw;
  }
  .rating-block .grade-wrapper {
    margin-top: 2.5vw;
    border-radius: 0.41vw;
    width: 13.194vw;
    height: 2.361vw;
    font-size: 1.1vw;
    line-height: 1.25em;
    gap: 0.694vw;
  }
  .rating-block .grade-wrapper .grade-label {
    font-size: 1.1vw;
    border-radius: 0.416vw;
    padding: 0px 0.694vw;
    line-height: 1em;
  }
  .rating-block .secondColumn {
    gap: 1vw;
  }
  .rating-block .secondColumn .secondColumn__row {
    font-size: 1.1vw;
    line-height: 1.25em;
  }
}

/*# sourceMappingURL=style-index.css.map*/