@media screen and (max-width: 1024px) {
  .header.fixed .header-top__rating {
    margin-right: 30px;
  }
}
@media screen and (max-width: 767px) {
  .header.fixed .header-top__rating {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .header.open-menu .header-top__rating {
    margin-right: 30px;
  }
}
@media screen and (max-width: 767px) {
  .header.open-menu .header-top__rating {
    display: none;
  }
}

.header-top__rating {
  flex-grow: 1;
  text-align: center;
  max-width: 150px;
  margin-left: 20px;
}
@media screen and (max-width: 1024px) {
  .header-top__rating {
    margin-right: 120px;
  }
}
@media screen and (max-width: 767px) {
  .header-top__rating {
    margin-right: 80px;
    margin-left: 0;
  }
}
@media screen and (max-width: 640px) {
  .header-top__rating {
    margin-right: 0;
  }
}
@media screen and (max-width: 480px) {
  .header-top__rating {
    display: none;
  }
}

.y-rating {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  text-align: left;
  line-height: 1.2;
  color: #606060;
}
@media screen and (max-width: 480px) {
  .y-rating {
    margin-left: auto;
  }
}
.y-rating .y-rating__number {
  text-align: center;
  padding-top: 0.867em;
  color: #fff;
  font-weight: 800;
  font-size: 1.5em;
  background: #393186;
  width: 2.333em;
  height: 3.267em;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 90%, 0 100%);
          clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 90%, 0 100%);
}
.y-rating .y-rating__body {
  padding-left: 1em;
  font-size: 1.2em;
}
.y-rating .y-rating__stars {
  margin-bottom: 0.333em;
  height: 1em;
  width: 6.333em;
  background: url(../images/stars/y-star-empty.svg) 0 0 no-repeat;
  background-size: auto 100%;
  position: relative;
}
.y-rating .y-rating__stars .y-rating__stars-full {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: url(../images/stars/y-star-full.svg) 0 0 no-repeat;
  background-size: auto 100%;
}

@media screen and (max-width: 1200px) {
  .header__top .header-top__city {
    max-width: 300px;
  }
  .header__top .logo__text {
    max-width: 150px;
    font-size: 12px;
  }
}
@media screen and (max-width: 1200px) and (max-width: 1024px) {
  .header__top .logo__text {
    max-width: 170px;
    font-size: inherit;
  }
}
@media screen and (max-width: 1200px) and (max-width: 767px) {
  .header__top .logo__text {
    max-width: 150px;
    font-size: 12px;
  }
}
@media screen and (max-width: 1200px) and (max-width: 480px) {
  .header__top .logo__text {
    max-width: 250px;
    font-size: inherit;
  }
}
@media screen and (max-width: 480px) {
  .header .check-city__current {
    width: 100%;
    margin-top: 10px;
  }
  .offer {
    padding-top: 180px;
  }
}