.tariffs-img{
    /*left: 0;*/
    right: -80px;
    bottom: -28px;
    height: 280px;
}
.offers-tariffs-conteiner .offer-box-wrap{
    z-index: 3;
    min-width: 222px;
}

.offer-box{
    border-radius: 16px;
    padding: 10px;
    text-align: center;
    height: 130px;
    /* display: flex; */
    /* flex-direction: column; */
    /* justify-content: space-between; */
    width: 222px;
    margin: 0 auto 10px;
    position: relative;
}

.offer-box p{
    font-size: 19px;
    line-height: 1.2;
}
.offer-box.bg-white p{
    font-weight: 300;
}
.offer-box .btn{ 
    width: auto;
    float: right;
    padding: 0px 10px 4px;
    line-height: 1;
    font-size: 13px;
    right: 8px;
    bottom: 7px;
}
.offer-box .tariff-info-btn{
    position: absolute;
}
.offer-box.bg-white .btn{
    padding: 2px 10px;
    float:inherit;
    margin-top: 20px;
    /*transform: translateX(-30%);*/
    right: 0;
}

.offer-box h3{
    font-weight: 600;
    font-size: 44px;
    line-height: 1;
}
.offer-box-price h3, .offer-box-price h4{
    font-family: var(--second-font);
}
.offer-box-price h4{
    font-size: 30px;
    text-align: left;
    line-height: 0.8;
    font-weight: 500;
    margin-top: 5px;
    
}
.offer-box-price{
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-top: 5px;
    margin-bottom: 10px;
}
.offer-box.bg-white{
    border: 1px solid var(--tertiary-color);
}
.offer-box.color-green{
    border-color: var(--quaternary-color);
}

.offer-box.color-yellow{
    border-color:  var(--secondary-color);
}

.offer-box.color-rose-w{
    border-color: #E8426B;
}
.tariffs-1 .content-title h2::after{
    background-color: var(--quaternary-color);
}
.buy-online-btn{
    text-transform: uppercase;
}

.tariffs-2 .content-title h2::after{
    background-color:  #F75396;
}

.tariffs-2 .action-btn{
    font-size: 28px;
    line-height: 1.1;
    padding: 0 22px 3px;
}
.tariffs-2 .offer-box{
    border: 1px solid #fff;
    margin-bottom: 0;
}
.tariffs-birthday-btn{
    line-height: 1.2;
    max-width: 85%;
    font-size: 30px;
    vertical-align: bottom;
    margin-bottom: 17px;
    padding: 2px 15px 2px 30px;
    margin-left: -30px;
    margin-right: 24px;
    letter-spacing: 0.9px;
}
.birthday-btn-container{
    margin-top: -26px;
    /*padding-bottom: 20px;*/
   padding-bottom: 136px;
}
.birthday-btn-container img{
    height: 123px;
    z-index: 3;
    position: relative;
    margin-left: -20px;
}
.tariffs-birthday-btn i{
    margin-left: 7px;
}
.prefooter{
    margin-top: -120px;
}

.t-card{
    position: relative;
}
.t-card .t-card-front{
    flex-direction: column;
    display: flex;
    justify-content: space-between;
}
.t-card-front, .t-card-back{
    backface-visibility: hidden;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.t-card-back {
    position: absolute;
    top: 0;
    left: 29px;
    right: 27px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.t-card-back .buy-online-btn{
    margin: auto auto 2px;
    width: auto;
    width: fit-content;
}
.t-card.is-flipped .t-card-front {
    transform: rotateY(180deg);
   /* display: none;*/
}

.t-card.is-flipped .t-card-back {
    transform: rotateY(0deg);
}

.t-card-back {
    transform: rotateY(180deg);
}
@media (max-width: 768px){
.tariffs-birthday-btn{
    margin-right: 0;
    font-size: 17px;
    padding: 2px 0px 2px 30px;
    margin-right: -10px;
}
.birthday-btn-container img{
    height: 90px;
}
.tariffs-2 .action-btn{
    font-size: 20px;
}
.tariffs-1 .offers-tariffs-conteiner{
    margin-bottom: 100px;
}
}
