.red {
    border: 1px solid black;
    min-height: 50px;
}
.wrapper-i-love {
    margin-top: 80px;
    padding-top: 80px;
}
.wrapper-i-love#offers {
    padding-top: 68px;
    margin-top: 68px;
}
/* .i-love-title {
    font-weight: bold;
    font-size: 52px;
    line-height: 62px;
} */
.i-love-cards-a {
    margin-top: 20px;
    margin-right: 50px;
    font-size: 20px;
    line-height: 24px;
}
.i-love-cards-a:last-child { margin-right: 0; }
.i-love-cards-a-actived {
    font-weight: bold;
    color: #000;
    text-decoration: none;
    /* border-bottom:  none !important; */
}
.i-love-cards-a-actived span {
    border-bottom:  none !important;
}

.wrapper-cards {
    margin-top: 84px;
}
.wrapper-cards .row {
    margin-left: -20px;
    margin-right: -20px;
}
.wrapper-cards [class*="col"] {
    padding-left: 20px;
    padding-right: 20px;
}
.product_slides [class*="col"] > *:first-child {
    height: calc((100vw - 60px * 2 - 20px * 2 * 4 - 16px) * 0.282);
    border-radius: 20px;
    overflow: hidden;
    transition: .5s;
}
.product_slides [class*="col"]:nth-child(1) > *:first-child {
    margin-top: calc((100vw - 60px * 2 - 20px * 2 * 4 - 16px) * 0.05);
}
.product_slides [class*="col"]:nth-child(3) > *:first-child {
    margin-top: calc((100vw - 60px * 2 - 20px * 2 * 4 - 16px) * 0.1);
}
.product_slides [class*="col"]:nth-child(4) > *:first-child {
    margin-top: calc((100vw - 60px * 2 - 20px * 2 * 4 - 16px) * 0.05);
}
.product_slides [class*="col"]:nth-child(5) > *:first-child {
    margin-top: calc((100vw - 60px * 2 - 20px * 2 * 4 - 16px) * -0.007);
}
.product_slides [class*="col"]:nth-child(6) > *:first-child {
    height: calc((100vw - 60px * 2 - 20px * 2 * 4 - 16px) * 0.334);
    margin-top: calc((100vw - 60px * 2 - 20px * 2 * 4 - 16px) * -0.059);
}
.product_slides [class*="col"]:nth-child(7) > *:first-child {
    height: calc((100vw - 60px * 2 - 20px * 2 * 4 - 16px) * 0.234);
    margin-top: calc((100vw - 60px * 2 - 20px * 2 * 4 - 16px) * 0.041);
}
.product_slides [class*="col"]:nth-child(8) > *:first-child {
    margin-top: calc((100vw - 60px * 2 - 20px * 2 * 4 - 16px) * -0.007);
}
.card-title {
    transition: .5s;
    text-shadow: 0 0 15px #fff, 0 0 15px #fff;
    /*line-height: 40px;*/
}
.wrapper-card-items {
    cursor: pointer;
}
#catalogue .wrapper-card-items:hover .wrapper-card-text .card-title{
    color: #D21F39;
}
#catalogue .wrapper-card-items:hover .wrapper-card-text {
    transform: translateY(-20px);
}
#offers .wrapper-card-items:hover .wrapper-card-img,
#catalogue .wrapper-card-items:hover .wrapper-card-img {
    transform: translateY(-20px);
}
#offers .wrapper-card-items:hover .wrapper-card-img img,
#catalogue .wrapper-card-items:hover .wrapper-card-img img{
    /*transform: scale(1.1);*/
}
.wrapper-card-item {
    position: absolute;
    background: red;
    bottom: 0;
}
.card-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border: 1px dashed #505050;
    box-sizing: border-box;
    border-radius: 20px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    transition: .5s;
}

.product_slides .card-btn {
    background-color: #D21F39;
    color: #fff;
    font-size: 19px;
    border: none;
}

.card-btn .small {
    font-size: 15px;
    font-weight: normal;
    letter-spacing: 0.02em;
}

.card-btn:hover {
    border: none;
    background: #D21F39;
    color: #fff;
}
.wrapper-card-img {
    position: relative;
    z-index: 1;
}
/*.wrapper-card-img:not(:last-child):before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    z-index: 1;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 230px;*/
/*    background: linear-gradient(0deg,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 99.65%);*/
/*}*/
.wrapper-card-img img {
    transition: .5s;
}
.wrapper-card-text {
    position: relative;
    z-index: 2;
    padding-left: 40px;
    transition: .5s;
}
.card-text {
    margin-top: -16px;
    font-weight: bold;
    font-size: 36px;
    line-height: 26px;
}
.card-price {
    display: block;
    margin-top: 17px;
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
}
.card-price-rub {
    fill: #333;
}
.i-love-a {
    transition: .5s;
}
.i-love-a .main-text-a {
    transition: .5s; text-decoration: none;
}
.i-love-a .main-text-a span {
     border-bottom: 2px dashed #787878; transition: .5s;
}

.i-love-a .main-text-a:hover {
    color: #B22432;
    transition: .5s;
}
.i-love-a .main-text-a:hover span {
    color: #B22432;
    /* text-decoration: none;
    transition: .5s; */
    border: none;
padding-bottom: 2px;
}
#functions, #space, #style-design {
    display: none;
}
.wrapper-animation-i-love {
    /*min-height: 1190px;*/
}
.i-love-position-absolute {
    position: absolute;
}

/*popup-i-love*/
#popup-i-love {
    display: block;
    position: fixed;
    width: 100%;
}
.wrapper-popup-i-text {
    padding-top: 20px;
    white-space: nowrap;
}
.wrapper-popup-i-text .title{
    display: inline-block;
    font-weight: bold;
    font-size: 48px;
    line-height: 58px;
}
.wrapper-popup-i-text .text {
    font-size: 24px;
    line-height: 29px;
    margin-left: 40px;
}
.wrapper-popup-i-text .card-price-rub {
    width: 13px;
    height: 18px;
}
.popup-i-btn {
    cursor: pointer;
    border-radius: 40px;
    height: 80px;
    width: 100%;
    text-align: center;
    padding-top: 31px;
    font-weight: bold;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
    transition: .5s;
}
.popup-i-btn-1 {
    border: 1px dashed #505050;
    transition: .5s;
}
.popup-i-btn-1:hover {
    background: #D21F39;
    border: none;
    color: #fff;
}
.popup-i-btn-2 {
    background: #B22432;
    color: #fff;
    transition: .5s;
}
.popup-i-btn-2:hover {
    background: #D21F39;
}
.wrapper-popup-i-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc((100vw -  16px - 60px * 2 - 30px * 2) * 0.75 * 0.6);
    max-height: 85vh;
    overflow: hidden;
    text-align: center;
    margin-bottom: 17px;
    transition: .5s;
}
.wrapper-popup-i-img img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    border-radius: 20px;
}
#i-love-gallery {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}
.popup-i-top-content {
    margin-top: 40px;
}
.popup-i-middle-content {
    margin-top: 60px;
}
.wrapper-popup-i-img-mimi {
    padding: 0 5px;
    border-radius: 10px;
    width: 100%;
    height: 100px;
    margin-top: 1px;
    margin-bottom: 10px;
    opacity: .5;
    transition: .5s;
}
.wrapper-popup-i-img-mimi img{
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.actived-img {
    opacity: 1;
}
.actived-img-hover {
    opacity: 1;
}
.desctop-text-gallery {
    display: block;
    margin-top: 60px;
    padding-left: 0;
}
.mobile-text-gallery {
    display: none;
}
.i-love-info-p { margin-top: 30px; }
#popup-i-love p {
    font-size: 16px;
    line-height: 19px;
}
.i-love-info {
    font-weight: bold;
}
.popup-i-top-end {
    margin-top: 17px;
    margin-bottom: 80px;
}
/*полный каталог кухонь*/
#popup-get-katalog-kitchen .popup-record-salon__email {
    width: 100%;
}
#popup-get-katalog-kitchen .popup-label-checkbox-record-salon,
#popup-form-designers .popup-label-checkbox-record-salon {
    width: 98%;
    height: auto;
    margin-top: 30px;
}

@media screen and (max-width: 1599px) {
    .wrapper-i-love {
        padding-top: 150px;
        margin-top: 60px;
    }
    .wrapper-popup-i-img-mimi {
        height: 80px;
    }
    .wrapper-cards {
        margin-top: 54px;
    }
    .wrapper-card-text {
        padding-left: 27px;
    }
    .card-text {
        margin-top: -18px;
        font-size: 30px;
    }
    .card-price {
        font-size: 17px;
        line-height: 1;
    }
    .card-price-rub {
        width: 9px;
        height: 13px;
    }
    .product_slides [class*="col"] > *:first-child {
        height: calc((100vw - 60px * 2 - 20px * 2 * 4 - 16px) * 0.32);
    }
    .product_slides [class*="col"]:nth-child(6) > *:first-child {
        height: calc((100vw - 60px * 2 - 20px * 2 * 4 - 16px) * 0.372);
    }
    .product_slides [class*="col"]:nth-child(7) > *:first-child {
        height: calc((100vw - 60px * 2 - 20px * 2 * 4 - 16px) * 0.272);
    }
}

@media screen and (max-width: 1409px) {
    .container-fluid#offers {
        padding-top: 57px;
        margin-top: 57px;
    }
    .card-text {
        margin-top: -20px;
        font-size: 30px;
        line-height: 36px;
    }
    .card-btn {
        font-size: 14px;
    }
    /*popup i love*/
    .wrapper-popup-i-text {
        padding-top: 25px;
    }
    .wrapper-popup-i-text .title{
        font-size: 36px;
        line-height: 1.3;
    }
    .wrapper-popup-i-text .text {
        font-size: 20px;
        line-height: 24px;
    }
    .wrapper-popup-i-text .card-price-rub {
        width: 11px;
        height: 15px;
    }
    .popup-i-btn {
        font-size: 14px;
        line-height: 17px;
    }
    #popup-i-love p {
        font-size: 14px;
        line-height: 17px;
    }
    .popup-i-top-end {
        font-size: 18px;
        line-height: 22px;
        margin-top: 40px;
        margin-bottom: 60px;
    }
    .i-love-cards-a {
        font-size: 18px;
        line-height: 1.3;
    }

}
@media screen and (max-width: 1089px) {
    .wrapper-i-love {
        margin-top: 0;
        padding-top: 80px;
    }
    .container-fluid#offers {
        padding-top: 38px;
        margin-top: 38px;
    }
    .i-love-cards-a {
        margin-top: 17px;
        margin-right: 41px;
        font-size: 18px;
        line-height: 22px;
    }
    .product_slides.wrapper-cards {
        margin-top: calc((100vw - 40px * 2 - 20px * 2) * 0.1 + 54px);
    }
    .wrapper-cards .row {
        margin-top: -20px;
        margin-bottom: -20px;
    }
    .wrapper-cards [class*="col"] {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .product_slides [class*="col"]:nth-child(n) > *:first-child {
        height: calc((100vw - 40px * 2 - 20px * 2) * 0.536);
    }
    .product_slides [class*="col"]:nth-child(6) > *:first-child {
        height: calc((100vw - 40px * 2 - 20px * 2) * 0.64);
    }
    .product_slides [class*="col"]:nth-child(odd) > *:first-child {
        margin-top: 0;
    }
    .product_slides [class*="col"]:nth-child(even) > *:first-child {
        margin-top: calc((100vw - 40px * 2 - 20px * 2) * -0.1);
    }
    .product_slides [class*="col"]:nth-child(8) > *:first-child {
        margin-top: 0;
    }
    .card-price {
        margin-top: 10px;
    }
    .base-service .card-text {
        margin-top: 12px;
    }
    .wrapper-popup-i-text {
        margin-bottom: 28px;
    }
}
@media screen and (max-width: 991px) {
    .desctop-text-gallery {
        display: none;
    }
    .mobile-text-gallery {
        display: block;
    }
    .wrapper-popup-i-img {
        height: calc((100vw - 40px * 2) * 0.6);
    }
    .wrapper-popup-previews {
        margin: 0 -4px;
    }
    .wrapper-popup-i-img-mimi {
        height: calc(((100vw - 15px * 2) / 2) * 0.15);
    }
    .i-love-info-p {
        margin-top: 0;
    }
    .popup-i-top-end {
        font-size: 16px;
        line-height: 1.3;
        margin-top: 28px;
        margin-bottom: 36px;
    }
}
@media screen and (max-width: 800px) {
    .wrapper-animation-i-love {
        /*min-height: 1140px;*/
    }
}
@media (min-width: 680px) and (max-width: 767px) {
    .card-btn {
        height: 357px;
    }
}
@media screen and (max-width: 679px) {
    /*popup i love*/
    .wrapper-cards {
        margin-top: 40px;
    }
    .wrapper-popup-i-text {
        padding-top: 25px;
    }
    .wrapper-popup-i-text .text {
        font-size: 20px;
        line-height: 24px;
    }
    .popup-i-btn {
        font-size: 12px;
        line-height: 14px;
        margin-top: 30px;
    }
    #popup-i-love p {
        font-size: 14px;
        line-height: 17px;
        margin-top: 0;
    }
    .popup-i-top-end {
        font-size: 16px;
        line-height: 19px;
        margin-top: 30px;
        margin-bottom: 100px;
    }
    .wrapper-popup-i-img {
        height: calc((100vw - 20px * 2) * 0.7);
    }
    .wrapper-popup-i-img-mimi {
        height: 50px;
    }

    .i-love-cards-a {
        margin-top: 19px;
        margin-right: 32px; 
    }

    .wrapper-i-love {
        padding-top: 80px;
        margin-top: 0;
    }
    /*popup i love*/
    #popup-i-love .container-fluid {
        margin-left: 0;
    }
    .wrapper-popup-i-text {
        padding-top: 25px;
    }
    .wrapper-popup-i-text .text {
        margin-left: 0px;
        margin-top: 20px;
        display: block;
    }
    .popup-i-btn {
        font-size: 12px;
        line-height: 14px;
        margin-top: 30px;
    }
    #popup-i-love p:first-child {
        margin-top: 40px;
    }
    .i-love-a .main-text-a {
        font-size: 16px;
        line-height: 19px;
    }
    .card-title {
        font-size: 24px;
    }
    .i-love-cards-a {
        margin-top: 16px;
    }
    .product_slides.wrapper-cards {
        margin-top: 42px;
    }
    .product_slides [class*="col"]:nth-child(n) > *:first-child {
        height: calc((100vw - 40px) * 1.065);
        margin: 0;
    }
    .product_slides [class*="col"]:nth-child(n) > .card-btn {
        height: calc((100vw - 40px) * 0.5);
    }
}