@layer components-entities {
    .tariff-card {
        display: flex;
        overflow: hidden;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        min-height: 384px;
        border-radius: var(--br4);
        background-color: var(--gray)
    }

    .tariff-card__head {
        display: flex;
        justify-content: space-between
    }

    @media screen and (max-width: 1599px) {
        .tariff-card__head {
            flex-direction:column
        }
    }

    .tariff-card__body {
        display: flex;
        align-items: end;
        justify-content: space-between
    }

    @media screen and (max-width: 1599px) {
        .tariff-card__body {
            align-items:start;
            flex-direction: column
        }
    }

    @media screen and (max-width: 1279px) {
        .tariff-card {
            min-height:368px
        }
    }

    @media screen and (max-width: 767px) {
        .tariff-card {
            min-height:340px
        }
    }
}
