/*---------- 3-card ----------*/
.card .lt-tsr-content {
    position: relative;
    min-height: 550px !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    -ms-flex-line-pack: start !important;
    -webkit-align-content: flex-start !important;
            align-content: flex-start !important;
    height: 100% !important;
    overflow: visible;
}

/* меняем местами */
.card .flex-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
}

.image-card {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    -webkit-order: 1;
       -moz-box-ordinal-group: 2;
            order: 1;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    -webkit-flex: 0 0 100%;
       -moz-box-flex: 0;
            flex: 0 0 100%;
}

.card .header {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    -webkit-order: 2;
       -moz-box-ordinal-group: 3;
            order: 2;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    -webkit-flex: 0 0 100%;
       -moz-box-flex: 0;
            flex: 0 0 100%;
}

.card .description {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    -webkit-order: 3;
       -moz-box-ordinal-group: 4;
            order: 3;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    -webkit-flex: 0 0 100%;
       -moz-box-flex: 0;
            flex: 0 0 100%;
}

.card .subheader {
    -webkit-box-ordinal-group: 5;
    -ms-flex-order: 4;
    -webkit-order: 4;
       -moz-box-ordinal-group: 5;
            order: 4;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    -webkit-flex: 0 0 100%;
       -moz-box-flex: 0;
            flex: 0 0 100%;
}

.card .button {
    -webkit-box-ordinal-group: 6;
    -ms-flex-order: 5;
    -webkit-order: 5;
       -moz-box-ordinal-group: 6;
            order: 5;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    -webkit-flex: 0 0 100%;
       -moz-box-flex: 0;
            flex: 0 0 100%;
}

.card .btn.f-btn.button-md {
    padding-left: 0px !important;
    padding-right: 0px !important;
    width: 100%;
    position: absolute;
    bottom: 0;
}
/* меняем местами - конец */

.card .lt-tsr-block.flex-column {
    background: var(--gray) var(--cards-bg);
    -moz-background-size: cover;
         background-size: cover;
    background-position: top center !important;
    border: 1px solid #323232;
    -webkit-border-radius: 25px;
       -moz-border-radius: 25px;
            border-radius: 25px;
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 calc(33.33% - 20px) !important;
    -webkit-flex: 0 0 -webkit-calc(33.33% - 20px) !important;
       -moz-box-flex: 0 !important;
            flex: 0 0 calc(33.33% - 20px) !important;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    padding: 30px !important;
    margin: 10px !important;
}

/* картинка */
.lt-tsr-block .image-wrapper {
    -webkit-border-radius: 16px;
       -moz-border-radius: 16px;
            border-radius: 16px;
}

/* заголовок */
.card .header {
    margin-top: 15px;
    margin-bottom: 15px;
}

.card .header p {
    font-family: var(--ff1);
    font-weight: 900;
    font-size: 18px;
    line-height: 120%;
    text-transform: uppercase;
}

/* Описание */
.card .description {
    margin-bottom: 10px !important;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 6px;
    margin-bottom: 250px !important;
}

.card .description p {
    font-family: var(--ff3);
    color: var(--text-color) !important;
    font-size: 16px !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 145%;
}

/* Подзаголовок (цена) */
.card .subheader {
    margin-bottom: 10px !important;
    position: absolute;
    width: 100%;
    bottom: 100px;
}

.card .subheader p {
    font-family: var(--ff1);
    color: var(--accent-color) !important;
    text-align: center;
    font-size: 12px !important;
    letter-spacing: 0px !important;
    margin-bottom: 10px;
}

/* зачеркнутая */
.card .subheader p del {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    opacity: 0.6;
}

/* основная цена */
.card .subheader p strong {
    font-size: 26px;
    font-style: normal;
    font-weight: 900;
    line-height: 100%;
}

@media(max-width:1000px) {
    .card .lt-tsr-block.flex-column {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 calc(50% - 32px) !important;
        -webkit-flex: 0 0 -webkit-calc(50% - 32px) !important;
           -moz-box-flex: 0 !important;
                flex: 0 0 calc(50% - 32px) !important;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
           -moz-box-pack: center;
                justify-content: center;
        padding: 18px 25px 35px !important;
        margin: 40px 16px !important;
    }
}

@media(max-width:1000px) {
    .card .lt-tsr-block.flex-column {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 calc(50% - 20px) !important;
        -webkit-flex: 0 0 -webkit-calc(50% - 20px) !important;
           -moz-box-flex: 0 !important;
                flex: 0 0 calc(50% - 20px) !important;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
           -moz-box-pack: center;
                justify-content: center;
        padding: 18px 18px 25px !important;
        margin: 40px 10px !important;
    }
}

@media(max-width:820px) {
    .card .justify-content-center .flex-row {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        -webkit-justify-content: flex-start;
           -moz-box-pack: start;
                justify-content: flex-start;
    }

    .card .lt-tsr-block.flex-column {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 calc(100% - 15px) !important;
        -webkit-flex: 0 0 -webkit-calc(100% - 15px) !important;
           -moz-box-flex: 0 !important;
                flex: 0 0 calc(100% - 15px) !important;
        padding: 20px !important;
        margin: 15px 0px !important;
    }
}

@media(max-width:420px) {
    /* цена */
    .card .subheader p strong {
        font-size: 25px;
    }
}
