/* Тарифы со зачёркнутой ценой: 2 столбца равной высоты (ПК + мобила) */

#tarifs .tariff-card__price.is-full.has-old-price {
    align-items: stretch !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 10px !important;
    justify-content: flex-start !important;
}

#tarifs .tariff-card__price-col {
    box-sizing: border-box;
}

#tarifs .tariff-card__price-col--main {
    align-items: flex-start !important;
    align-self: stretch !important;
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

#tarifs .tariff-card__price-col--side {
    align-self: stretch !important;
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 100%;
}

#tarifs .tariff-card__price-cell {
    display: flex !important;
    flex: 1 1 0;
    min-height: 0;
}

#tarifs .tariff-card__price-cell--old {
    align-items: flex-end !important;
    justify-content: flex-start !important;
}

#tarifs .tariff-card__price-cell--unit {
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

#tarifs .tariff-card__price.is-full.has-old-price .tariff-card__price-value {
    font-weight: 500 !important;
    line-height: 1 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

#tarifs .tariff-card__price.is-full.has-old-price .tariff-card__oldprice-value {
    line-height: 1 !important;
    margin: 0 !important;
}

#tarifs .tariff-card__price.is-full.has-old-price .tariff-card__price-text.is-rub-month {
    line-height: 1 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    white-space: nowrap;
}

/* Перебить tariff-zoom-lock на ПК */
@media screen and (min-width: 1207px) {
    #tarifs[data-tariff-zoom-lock] .tariff-card__price.is-full.has-old-price {
        align-items: stretch !important;
        display: flex !important;
    }

    #tarifs[data-tariff-zoom-lock] .tariff-card__price.is-full.has-old-price .tariff-card__price-col--side {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    #tarifs[data-tariff-zoom-lock] .tariff-card__price.is-full.has-old-price .tariff-card__price-value {
        line-height: 1 !important;
        margin-right: 0 !important;
        min-width: 0 !important;
        text-align: left !important;
    }

    #tarifs[data-tariff-zoom-lock] .tariff-card__price.is-full.has-old-price .tariff-card__price-text.is-rub-month {
        font-size: var(--tariff-price-text-size-lock) !important;
        line-height: 1 !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }

    #tarifs .tariff-card__price.is-full.has-old-price .tariff-card__price-value {
        line-height: 1 !important;
        text-align: left !important;
    }
}

@media screen and (min-width: 680px) and (max-width: 1206px) {
    #tarifs .tariff-card__price.is-full.has-old-price .tariff-card__price-value {
        line-height: 1 !important;
        text-align: left !important;
    }

}

@media screen and (min-width: 680px) and (max-width: 1206px) {
    #tarifs .tariff-card__price.is-full.has-old-price .tariff-card__price-text.is-rub-month {
        font-size: calc(1.17188vw - 2px) !important;
        line-height: calc(1.46484vw - 2px) !important;
    }
}

@media screen and (min-width: 1207px) and (max-width: 1519px) {
    #tarifs .tariff-card__price.is-full.has-old-price .tariff-card__price-text.is-rub-month {
        font-size: 10px !important;
        line-height: 13px !important;
    }
}

@media screen and (min-width: 1520px) and (max-width: 1759px) {
    #tarifs .tariff-card__price.is-full.has-old-price .tariff-card__price-text.is-rub-month {
        font-size: 12px !important;
        line-height: 18px !important;
    }
}

@media screen and (min-width: 1760px) {
    #tarifs .tariff-card__price.is-full.has-old-price .tariff-card__price-text.is-rub-month {
        font-size: 16px !important;
        line-height: 22px !important;
    }
}

@media screen and (max-width: 679px) {
    #tarifs .tariff-card__price.is-full.has-old-price {
        gap: 0 2.66667vw !important;
    }

    #tarifs .tariff-card__price.is-full.has-old-price .tariff-card__price-value {
        font-size: calc(10.6667vw - 4px) !important;
        line-height: 1 !important;
    }

    /* Мобила: единый размер подписей (Р/мес, Мбит/сек, каналов) */
    #tarifs .tariff-card__price-text {
        font-size: calc(3.73333vw - 1px) !important;
    }

    #tarifs .tariff-card__price.is-full.has-old-price .tariff-card__price-text.is-rub-month {
        line-height: 1 !important;
    }
}
