.tarif {
  padding: 64px 0;
  border-radius: 0px 0px 40px 40px;
  background: #151617;
}

.tarifInner {
  display: flex;
  flex-direction: column;
}

.tarifTitle {
  color: #FFF;

  font-family: Manrope;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}

.tarifBoxes {
  margin-top: 40px;
  display: flex;
  gap: 24px;
}

.tarifContainer {
  display: flex;
}

.tarifBox {
  border-radius: 20px;
  background: #FFF;
}

.tarifBoxInfo {
  padding: 20px;
}

.tarifBoxPretitle {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tarifNumber {
  padding: 8px 10px;
  color: #FFF;
  border-radius: 10px;
  background: #FF4085;
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  /* 16px */
  letter-spacing: 0.48px;
}

.tarifTwo {
  background: #151617;
}

.tarifText {
  padding: 8px 10px;
  color: #151617;

  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  border-radius: 10px;
  background: linear-gradient(114deg, #B07939 -22.2%, #FCEB93 31.65%, #FDFBBD 43.38%, #C5983B 71.14%);
  letter-spacing: 0.48px;
}

.tarifBoxTitle {
  margin-top: 8px;
}

.tarifList {
  margin: 25px 0 0 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tarifBoxTitle {
  color: #FF4085;

  font-family: Manrope;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
}

.tarifBoxTitleTwo {
  color: #151617;
}

.tarifListPoint {
  color: #151617;

  font-family: Manrope;
  font-size: 20px;


  line-height: 130%;
  /* 26px */
  letter-spacing: 0.4px;
}

.tarifListPoint span {
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
}

.tarifImg {
  width: 186px;
}

.tarifPrice {
  margin-top: 40px;
  border-radius: 12px;
  background: #E3E3E3;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tarifPriceOld {
  color: #151617;

  leading-trim: both;

  text-edge: cap;
  font-family: Manrope;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%
}

.tarifPriceOld span {
  color: #151617;

  font-family: Manrope;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  /* 20px */
  text-decoration: line-through;
}

.tarufPriceNew {
  color: #151617;

  text-align: right;
  leading-trim: both;

  text-edge: cap;
  font-family: Manrope;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
}

.tarifRassrochka {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9.894px;

  border-radius: 12px;
  background: #FF4085;
}

.tarifRassrochkaText {
  color: #FFF;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
}

.tarifRassrochkaPrice {
  color: #FFF;
  font-family: Manrope;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
}

.tarifRassrochkaPrice span {
  font-size: 20px;
}

.tarifButton {
  align-self: center;
  margin-top: 45px;
  border-radius: 16px;
  background: #FFF;
  max-width: 343px;
  width: 100%;
  color: #FF4085;

  text-align: center;
  font-family: Manrope;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  padding: 11px 0;

}

@media (max-width: 1244px) {
  .tarifBoxes {
    align-items: center;
    flex-direction: column;
  }

  .tarifLine {
    margin-top: 125px;
  }

  .tarif {
    padding: 40px 0;
    border-radius: 0px 0px 20px 20px;
  }
}

@media (max-width: 960px) {
  .tarifLine {
    margin-top: 45px;
  }

  .tarifImg {
    width: 100%;
  }



  .tarifContainer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .tarifLine {
    margin-top: 0px;
  }

  .tarifImg {
    position: relative;
    top: -1px;
  }



  .tarifTitle {
    font-size: 28px;
  }

  .tarifNumber {
    font-size: 14px;
    padding: 8px;
  }

  .tarifText {
    font-size: 13px;
    padding: 8px;
  }

  .tarifBoxTitle {
    font-size: 20px;
  }

  .tarifListPoint {
    font-size: 16px;
  }

  .tarifListPoint span,
  li.tarifListPoint::marker {
    font-size: 12px;
  }

  .tarifPriceOld {
    font-size: 10px;

  }

  .tarifPriceOld span {
    font-size: 12px;
  }

  .tarifPriceNew {
    font-size: 20px;
  }

  .tarifRassrochkaText {
    font-size: 12px;
  }

  .tarifRassrochkaPrice {
    font-size: 28px;
  }

  .tarifRassrochkaPrice span {
    font-size: 16px;
  }

  .tarifButton {
    max-width: 100%;
  }
}