.linked-new-products .products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 15px;
    margin-top: 40px;
}

@media (min-width:576px) {

    .linked-new-products .products-grid {
        align-content: start;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }

}

@media (min-width:992px) {

    .linked-new-products .products-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

}

@media (min-width:1200px) {

    .linked-new-products .products-grid {
        grid-template-rows: auto;
        gap: 40px 20px;
    }
}

.product-image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
}

.shema-container {
    height: 100%;
}

.product-item {
    max-width: 370px;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 0fr;
    position: relative;
    -webkit-text-decoration: none;
    text-decoration: none;
    border-radius: var(--border-radius);
    background: #fff;
    -webkit-transition: box-shadow 0.2s ease-out, -webkit-transform 0.15s ease-out;
    -webkit-transition: box-shadow 0.2s ease-out, transform 0.15s ease-out;
    transition: box-shadow 0.2s ease-out, transform 0.15s ease-out;
    box-shadow: var(--card-shadow-min);
}

.product-item:hover {
    box-shadow: var(--card-hover-color);
    -webkit-transform: scale(1.02) translate3d(0, 0, 0);
    -ms-transform: scale(1.02) translate3d(0, 0, 0);
    transform: scale(1.02) translate3d(0, 0, 0);
}

.product-item:hover .card-title {
    color: var(--main);
}

.product-item:hover .product-card-img {
    -webkit-transform: scale(1.06);
    -ms-transform: scale(1.06);
    transform: scale(1.06);
}

.product-item .image-container {
    height: 135px;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    border-radius: 2px 2px 0 0;
}

.product-item .image-container::before {
    position: relative;
    display: block;
    padding-top: 100%;
}

.card-image-container {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: -webkit-transform 0.6s ease-out;
    -webkit-transition: transform 0.6s ease-out;
    transition: transform 0.6s ease-out;
}

.product-item .image-container .card-title {
    z-index: 1;
    position: absolute;
    color: var(--grey-1);
    bottom: 10px;
    left: 10px;
    font-size: 13px;
    line-height: 14px;
    padding-right: 20%;
}

.product-item .image-container .promo-status-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: flex-start;
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
}

.product-item .promo-point {
    display: block;
    color: white;
    font-size: 8px;
    margin-bottom: 1px;
    padding: 1px 3px;
    border-radius: 2px;
    text-transform: uppercase;
}

.product-item .promo-hit {
    background-color: #dcca00;
}

.product-item .promo-newproduct {
    background-color: #ac1919;
}

.product-item .promo-offer {
    background-color: var(--main);
}

.product-item:hover .image-container::after {
    background: rgba(0, 0, 0, 0.1);
}

.product-item .image-container::after {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: background-color 0.2s ease-out;
    transition: background-color 0.2s ease-out;
    background-color: rgba(0, 0, 0, 0.3);
}

.card-text-grid {
    padding: 10px 10px 10px 10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    /*-webkit-justify-content: space-between;*/
    -ms-flex-pack: justify;
    /*justify-content: space-between;*/
}

.card-text-grid .text {
    color: var(--grey-5);
    font-size: 11px;
    line-height: 14px;
    margin-bottom: 3px;
}

.product-item .min-text {
    line-height: 10px;
    font-size: 10px;
    -webkit-letter-spacing: 0.5px;
    -moz-letter-spacing: 0.5px;
    -ms-letter-spacing: 0.5px;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.product-item .exist-value {
    z-index: 1;
    position: absolute;
    top: 25px;
    right: -7px;
    font-size: 8px;
    padding: 0px 2px;
    font-weight: 600;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    line-height: 12px;
    border-radius: var(--border-radius);
    background-color: var(--grey-4);
    color: var(--grey-1);
    box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.1);
}

.product-item .active-exist-value {
    background-color: var(--c3);
}

.product-item .card-price-container {
    padding-top: 10px;
    position: relative;
}

.product-item .card-price-container::after {
    position: absolute;
    content: '';
    display: block;
    width: 65%;
    height: 1px;
    top: 4px;
    left: 0%;
    border-radius: 2px 2px 0 0;
    background-color: rgba(0, 0, 0, 0.05);
    background-color: rgba(239, 124, 34, 0.21);
}

.product-item .card-price {
    color: var(--grey-7);
    margin-right: 5px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.product-item .compare-container {
    display: none;
}

.product-item .hover-description {
    display: none;
}

.product-item .product-preview {
    z-index: 3;
    position: absolute;
    background: var(--grey-1);
    border-radius: var(--big-border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    padding: 15px 15px 25px;
    bottom: 55px;
    left: -10px;
    right: -10px;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.product-item .show-preview {
    visibility: visible;
}

.product-item .hide-preview {
    visibility: hidden;
}

.product-item .product-preview-text {
    font-size: 13px;
    line-height: 18px;
    color: var(--grey-7);
}

.product-item .more-container {
    z-index: 4;
}

@media (min-width:576px) {
    .product-item .image-container {
        overflow: hidden;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-items: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding-top: 0;
        position: relative;
    }

    .product-item .image-container .promo-status-container {
        top: 20px;
        left: 20px;
    }

    .card-price {
        font-size: 17px;
        font-weight: 700;
    }
}

@media (min-width:768px) {
    .product-item .image-container .card-title {
        bottom: 15px;
        left: 15px;
        font-size: 14px;
        line-height: 15px;
    }

    .card-text-grid {
        padding: 15px;
    }

    .card-text-grid .text {
        color: var(--grey-5);
        font-size: 12px;
        line-height: 15px;
        margin-bottom: 15px;
    }

    .product-item .exist-value {
        z-index: 1;
        position: absolute;
        top: 37px;
        right: -3px;
        font-size: 9px;
        padding: 2px 4px;
        line-height: 11px;
        box-shadow: none;
    }
}

@media (min-width:992px) {
    .product-item .image-container {
        height: 150px;
    }

    .product-item .hover-description {
        position: absolute;
        bottom: 15px;
        right: 15px;
        display: block;
        width: 25px;
        height: 25px;
        z-index: 2;
    }

    .product-item .more-container {
        width: 100%;
        height: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-items: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        background-color: var(--main);
        -webkit-transition: box-shadow 0.2s ease-out;
        transition: box-shadow 0.2s ease-out;
        border-radius: 2px;
        box-shadow: inset -2px -2px 1px rgba(0, 0, 0, 0.1), inset 2px 2px 1px rgba(255, 255, 255, 0.2);
    }

    .product-item .hover-description:hover .more-container {
        box-shadow: inset 2px 2px 1px rgba(0, 0, 0, 0.1), inset -2px -2px 1px rgba(255, 255, 255, 0.2);
    }

    .info-icon-svg {
        opacity: 0.75;
        width: 60%;
        height: auto;
        display: block;
    }

    .compare-container {
        position: absolute;
        bottom: 15px;
        right: 45px;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-items: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        border-radius: 3px;
        width: 25px;
        height: 25px;
        background-color: rgba(240, 240, 240, 1);
    }

    .compare-container:hover {
        box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.05), inset -2px -2px 2px rgba(255, 255, 255, 1);
    }

    .compare-container:active {
        background-color: var(--main);
        color: white;
    }

    .compare-block {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        padding-left: 2px;
    }

    .compare {
        font-size: 10px;
        color: var(--grey-5);
    }

    @media (min-width:1200px) {
        .product-item {
            /*grid-template-rows: 162px 1fr;*/
        }

        .product-item .image-container {
            height: 162px;
        }

        .product-item .image-container .card-title {
            bottom: 15px;
            left: 17px;
            font-size: 16px;
            line-height: 18px;
            -webkit-transition: opacity 0.2s ease-out;
            transition: opacity 0.2s ease-out;
        }

        .product-item:hover .card-title {
            opacity: 0;
        }

        .card-text-grid {
            padding: 15px;
        }

        .card-text-grid .text {
            font-size: 14px;
            line-height: 19px;
            padding-right: 10px;
        }

        .card-price-container::after {
            width: 65%;
            height: 1px;
            top: 0px;
            left: 0%;
        }

        @media (min-width:1600px) {
            .product-item {
                /*grid-template-rows: 190px 1fr;*/
            }

            .product-item .image-container {
                height: 190px;
            }

            .card-text-grid {
                padding: 20px;
            }

            .product-item .image-container .card-title {
                font-size: 18px;
                line-height: 20px;
                bottom: 15px;
                left: 20px;
                padding-right: 20%;
            }

            .card-text-grid .text {
                font-size: 15px;
                line-height: 19px;
                padding-right: 10px;
                margin-bottom: 20px;
            }

            .product-item .hover-description {
                bottom: 18px;
                right: 19px;
            }

            .compare-container {
                bottom: 18px;
                right: 47px;
            }
        }
    }
}
