﻿.proLoop {
    margin-bottom: 25px;
    border: 1px solid transparent;
}

@media (max-width: 767px) {
    .proLoop {
        padding-left: 7.5px;
        padding-right: 7.5px;
    }
}

@media (min-width: 768px) {
    .proLoop {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.proLoop:hover {
    border-color: #ffe5e6;
}

    .proLoop:hover .productImg .productImgLink picture:nth-of-type(2) {
        opacity: 1;
        visibility: visible;
    }

    .proLoop:hover .productImg .productImgLink picture:nth-of-type(1) {
        opacity: 0;
        visibility: hidden;
    }

@media (min-width: 768px) {
    .proLoop:hover .productImg .productAction {
        opacity: 1;
    }

        .proLoop:hover .productImg .productAction a {
            -webkit-transform: scale(1);
            -moz-transform: scale(1);
            -ms-transform: scale(1);
            -o-transform: scale(1);
            transform: scale(1);
            opacity: 1;
        }
}

.proLoop .productImg {
    position: relative;
    overflow: hidden;
}

    .proLoop .productImg .productOut, .proLoop .productImg .productLabelTags {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #F8D5D7;
        padding: 2px 7.5px;
        font-size: 12px;
        color: white;
        border-radius: 10px;
        z-index: 5;
    }

    .proLoop .productImg .productSale {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #F8D5D7;
        text-align: center;
        width: auto;
        height: auto;
        font-size: 12px;
        color: #926625;
        z-index: 5;
        line-height: 26px;
        padding: 0 10px;
        border-radius: 4px;
    }

        .proLoop .productImg .productSale:after {
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 5px solid #f7d5d6;
            content: "";
            position: absolute;
            top: 100%;
            left: 20%;
        }

    .proLoop .productImg .productLabelTags {
        left: 10px;
        right: initial;
    }

    .proLoop .productImg .productOut {
        background: #999;
    }

    .proLoop .productImg .productImgLink {
        display: flex;
        justify-content: center;
    }

        .proLoop .productImg .productImgLink picture {
            transition: all 0.5s;
        }

            .proLoop .productImg .productImgLink picture:nth-of-type(2) {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                opacity: 0;
                display: flex;
                justify-content: center;
                visibility: hidden;
            }

    .proLoop .productImg .productAction {
        padding: 5px 10px;
        opacity: 0;
        display: inline-block;
        text-align: center;
        margin: 0;
        position: absolute;
        top: 20%;
        -webkit-transform: translateY(0%);
        -moz-transform: translateY(0%);
        -ms-transform: translateY(0%);
        -o-transform: translateY(-50%);
        transform: translateY(0%);
        right: 0;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
        z-index: 2;
    }

@media (max-width: 767px) {
    .proLoop .productImg .productAction {
        transform: translate(0, 0);
        position: relative;
        display: none;
    }

        .proLoop .productImg .productAction .setQuickview {
            display: none !important;
        }
}

.proLoop .productImg .productAction a {
    background: #F8D5D7;
    color: #fff;
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 10px 0;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    display: block;
    border-radius: 4px;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

    .proLoop .productImg .productAction a i {
        font-size: 18px;
        line-height: 30px;
    }

    .proLoop .productImg .productAction a:hover {
        opacity: .75;
    }

.proLoop .productName {
    margin-bottom: 5px;
    font-size: 16px;
    text-align: center;
    height: 40px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

    .proLoop .productName a {
        color: #333;
        display: block;
    }

@media (max-width: 1200px) {
    .proLoop .productName {
        font-size: 14px;
        height: 38px;
        line-height: 1.4;
    }
}

.proLoop .productPrice {
    text-align: center;
    color: #ff1616;
    font-weight: 300;
    font-size: 15px;
}

    .proLoop .productPrice del {
        font-weight: 300;
        margin-left: 5px;
        color: #bbbbbb;
        font-size: 13px;
    }
