.tarifs_item {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  align-items: center;
  justify-content: space-between;
  border-radius: 5px;
  padding: 0 40px 0 0;
}
.tarifs_row {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 5px;
}
.tarifs_row.tarifs_row-price{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tarifs_item > .tarifs_row {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
  margin: 0 30px;
}
.tarifs_img img {
  border-radius: 5px 0 0 5px;
}
.tarifs_name {
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  margin-bottom: 15px;
}
.tarifs_subname {
  color: #828282;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  max-width: 341px;
}
.tarifs_label{
  color: #828282;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  max-width: 341px;
}
.tarifs_price {
  color: #25314D;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  margin-bottom: 15px;
}
.tarifs_detail {
  color: #141414;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  position: relative;
  border-bottom: 1px solid #141414;
  display: flex;
  cursor: pointer;
  align-items: center;
  max-width: max-content;
}

.tarifs_btn a {
  border-radius: 5px;
  background: linear-gradient(270deg, #A67A3E 0%, #D4A368 100%);
  color: #fff;
  display: inline-flex;
  padding: 21px 57px 20px 56px;
  justify-content: center;
  align-items: center;
  border: none;
  width: 260px;
}
.tarifs_btn a:hover {
  background: #fff;
  border: 2px solid #C89A5E;
  color: #C89A5E;
}
.tarifs_content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.tarifs_text {
  display: flex;
  flex-wrap: wrap;
  max-width: 50%;
}
.tarifs_text > div {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

@media (max-width: 1440px){
  .tarifs_subname { 
    font-size: 14px;
    line-height: 16px;
  }
  .tarifs_label{
    font-size: 12px;
  }
}
@media (max-width: 1024px){
  .tarifs_img, .tarifs_btn {
    margin-bottom: 20px;
  }
}
@media (max-width: 992px){
  .tarifs_img, .tarifs_btn {
    margin-bottom: 0
  }
  .tarifs_detail {
    font-size: 14px;
  }
  .tarifs_item > .tarifs_row {
    margin: 0 15px;
  }
  .tarifs_btn a {
    width: 100%;
  }
}
@media (max-width: 768px){
  .tarifs_text {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 20px;
  }
  .tarifs_name {
      font-size: 18px;
      margin-bottom: 5px;
  }
  .tarifs_price { 
    font-size: 22px;
    margin-bottom: 5px;
  }
  .tarifs_img, .tarifs_btn {
      width: 120px;
      /*width: 150px*/
  }
  .tarifs_btn a {
      padding: 10px;
  }
}
@media (max-width: 600px){
  .tarifs_img img {
    border-radius: 5px 5px 0 0;
    width: 100%;
  } 
  .tarifs_item {
    padding: 0;
  }
  .tarifs_item > div,
  .tarifs_item > .tarifs_row {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0;
  }
  .tarifs_item .tarifs_row, 
  .tarifs_btn {
    padding: 10px 20px;
  }
  .tarifs_text > div {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}