.tariffs_card {
    padding-top: 45px;
    background: var(--grad_th);
    position: relative;
}

.tariffs_card_popular {
    background: var(--bg_sec);
}

.tariffs_card_premium {
    background: var(--bg_th);
}

.tariffs_cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 40px;
    padding-top: 20px;
}

.tariffs_card_type {
    padding: var(--px10) var(--px15);
    width: fit-content;
    background: var(--bg_th);
}

.tariffs_card_type .button {
    text-transform: uppercase;
    color: var(--primary);
}

.tariffs_card_popular .tariffs_card_type {
    background: var(--bgs);
}
.tariffs_card_popular .tariffs_card_type .button {
    color: var(--heads);
}

.tariffs_card_type_con {
    padding: 10px;
    background: var(--bg);
    width: fit-content;
    position: absolute;
    left: 0; right: 0; top: -28px;
    margin: 0 auto;
    max-width: calc(100% - var(--px40));
}

.tariffs_card_premium .tariffs_card_type {
    background: var(--second);
}
.tariffs_card_premium .tariffs_card_type .button {
    color: var(--heads);
}

.tariffs_card_param {
    padding: var(--px15) var(--px20);
    border-radius: 10px;
    background: var(--bg_th);
    text-transform: uppercase;
}

.tariffs_card_premium .tariffs_card_param {
    background: var(--bg_stroke);
}

.tariffs_card_price {
  background-image: var(--second);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.tariffs_card_bottom .btn {
    width: 100%;
}

@media (max-width:1150px){
    .tariffs_cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:750px){
    .tariffs_cards {
        grid-template-columns: 1fr;
    }
}