.category-image{
    margin-bottom: 30px;
    img{
        max-width: 100%;
    }
}
.category-description{
    margin-bottom: 30px;
    img{
        width: 100%;
    }
}

.item-cwc-wrap{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 4;
    width: 100%;    
    display: block;
    .item-cwc-inner{
        display: table;
        width: 100%;
    }
} 
.email-friend{
    display: none;
}
.item-compare,
.item-wishlist{
    float: left;
    a{
        display: block;
        text-indent: -999em;
        width: 40px;
        height: 40px;
        text-align: center;
        overflow: hidden;
        background: #fff;
        margin-left: 10px;
        border: 1px solid @border-color;       
        background-repeat: no-repeat;    
        font-weight: normal;    
        font-style: 100%;
        &:hover,
        &:focus{
            background-color: @theme-color;
            border: 1px solid @theme-color;
            background-repeat: no-repeat; 
        }
        &:before{
            font-family: FontAwesome;
            display: block;
            text-indent: 0;
            font-size: 14px;
        }
    }
}

.item-wishlist a{
    background-image: ~"url(../images/iconwishlist.png)";
    background-position: 8px center;
    &:hover,
    &:focus{
        background-image: ~"url(../images/iconwishlist-hover.png)";
    }        
}
.item-compare a{
    background-image: ~"url(../images/iconcompare.png)";
    background-position: 11px center;
    &:hover,
    &:focus{
        background-image: ~"url(../images/iconcompare-hover.png)";
    }
}

.item-quickview{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    height: 40px;
    width: 146px;
    text-align: center;
    margin-top: -20px;
    margin-left: -73px;
    background: #fff;
    text-transform: uppercase;
    display: none;
    /*&:before{
        position: absolute;
        content: "";
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        height: 50px;
        width: 156px;
        border: 1px solid #fff;
    }*/
    a{
        color: #222;
        z-index: 4;
        line-height: normal;
        float: left;
        width: 100%;
        margin-top: 10px;
        margin-left: 15px;
        position: relative;
        &:before{
            background-image: ~"url(../images/iconquickview.png)";
            width: 20px;
            height: 20px;
            content: "";
            position: absolute;
            background-repeat: no-repeat;
            background-position: 0 0;   
            top: 0;
            left: 0;        
        }
        &:focus, 
        &:hover{
            color: #222;
        }      
    }
    &:focus,
    &:hover{
        cursor: pointer;
        background: @theme-color;
        a{
            color: #fff;
            &:before{
                background-image: ~"url(../images/iconquickview-hover.png)";
            }
        }
    }
} 

.item-addcart{
    float: left;
    .button, a{
        display: block;
        width: auto;
        height: 40px;
        text-align: center;
        text-transform: uppercase;
        line-height: 26px;
        overflow: hidden;
        color: #222;
        background-color: #fff;
        float: left;
        padding: 0 15px 0 45px;
        border: 1px solid @border-color;
        background-image: ~"url(../images/iconcart.png)";
        background-position: 15px center;
        background-repeat: no-repeat;    
        font-weight: normal;    
        font-size: 100%;
        margin: 0;
        &:hover,
        &:focus{
            background-color: @theme-color;
            border: 1px solid @theme-color;
            color: #fff;
            background-image: ~"url(../images/iconcart-hover.png)";
            background-repeat: no-repeat; 
            background-position: 15px center;
        }
    }    
}

.products-grid{
    .item{
        &:hover{
            .item-cwc-wrap{
                display: block;
            }
        }
    }
    .item-cwc-wrap{
        position: absolute;
        bottom: auto;
        top: 50%;
        margin-top: -15px;
        left: 0;
        z-index: 3;
        width: 100%;    
        display: none;
        .item-cwc-inner{
            display: table;
            width: auto;
            margin: 0 auto
        }
    }

    .item-quickview{
        text-indent: -999em; 
        height: 30px;
        width: 30px;
        margin:0;
        position: relative;
        left: auto;
        top: auto;
        float: left;
        &:before{
            display: none;
        }
        a{
            margin: 0;
            float: left;
            height: 30px;
            width: 30px;
            text-align: center;
            color: #666;
            &:before{
                content: "\f002";
                font-family: FontAwesome;
                text-indent: 0;
                font-size: 16px;  
                background: #fff; 
                width: 100%;
                height: 100%;  
                padding: 6px 0;       
            }     
        }
        &:hover{
            a{
                &:before{
                    color: #fff;
                    background: @theme-color;
                }
            }
        }
    }         

    .item-compare,
    .item-wishlist{
        float: left;
        a{
            width: 30px;
            height: 30px;
            color: #666;
            background: #fff;
            margin: 0 5px 0 0;
            border: none;
            font-size: 0;
            padding: 4px 0;
            &:hover{
                background: @theme-color;
                color: #fff;
            }
            &:before{
                content: "\f08a";
                font-family: FontAwesome;
                display: block;
                text-indent: 0;
                font-size: 16px;
            }
        }
    }

    .item-compare a:before{
        content: "\f074";
    }        

    .item-addcart{
        .button, a{
            background: #fff;
            font-size: 0;
            width: 30px;
            height: 30px;
            color: #666;   
            padding: 9px 0;
            border: none;
            margin-right: 5px;         
            &:before{
                content: "\f07a";
                font-family: FontAwesome;
                display: block;
                text-indent: 0;
                font-size: 16px;
            }
            &:hover{
                background: @theme-color;
                &:before{
                    color: #fff;
                }
            }
        }        
    }
}


/*products grid*/
.products-grid{
    padding: 0;
    float: left;
    width: 100%;
    margin-bottom: 30px;

    .item{
        margin-top: 30px;
        float: left;
        .item-inner{
            width: 100%;
            float: left;
            overflow: hidden;
        }
        &:hover{
            .item-quickview,
            .item-cwc-wrap{
                display: block;
            }
            .product-image{
                > a{
                    &:before{
                        display: block;
                    }                     
                }
            }             
        }
    }

    .product-image{
        position: relative;
        overflow: hidden;
        > a{
            position: relative;
            float: left;
            width: 100%;
            z-index: 3;
            &:before{
                position: absolute;
                content: "";
                width: 100%;
                height: 100%;
                top: 0;
                left: 0;
                background: #000;
                opacity: 0.4;
                z-index: 2;
                display: none;
            }            
            img{
                width: 100%;
            }
        }
    }

    .product-info{
        float: left;
        padding: 20px 0 0;
        width: 100%;
        position: relative;
        text-align: center;
        .product-name{
            display: block;
            padding: 0 0 5px;
        }
        .price-box{
            float: none;
            display: table;
            margin: 0 auto;
            width: auto;
            .special-price{
                float: left;
                margin-right: 10px;
                line-height: normal;
            }
        }
    }
}


/*products list*/
.products-list{
    list-style: none;
    padding: 0;
    float: left;
    width: 100%;
    margin-top: 30px;
    .item{
        margin-bottom: 30px;
        float: left;
        width: 100%;
        overflow: hidden;
        &:hover{
            .product-image{
                &:before,
                .item-quickview{
                    display: block;
                }
            }
        }
        .product-image{
            float: left;
            position: relative;
            margin-right: 30px;
            z-index: 2;
            img{
                width: 100%;
                max-width: 100%;
                height: 100%;
            }
            &:before{
                position: absolute;
                content: "";
                width: 100%;
                height: 100%;
                top: 0;
                left: 0;
                background: #a1b0ba;
                opacity: 0.4;
                z-index: 2;
                display: none;
            }                      
        }
        .product-shop{
            .product-name{
                a{
                    display: inline-block;
                    margin: 10px 0;
                }
            }
            .ratings{
            }
            .no-rating{
                float: none;
            }
            .price-box .minimal-price{
                float: none;
            }
            .desc.std{
                margin: 10px 0 20px;
            }            
            .item-cwc-wrap{
                display: block;
                float: none;
                margin: 0;
                position: relative;             
            }            
        }
        .price-box{
            float: none;
            margin-top: 3px;
            display: inline-block;
            width: auto;
            .special-price{
                float: left;
                margin-right: 10px;
            }
        }
        .configurable-swatch-list{
            display: inline-block;
        }
    }
}


.flip-effect{
    position: relative;
    .back,.front{
        .backface-visibility(hidden);
        .transition(~"transform .6s ease");
    }
    .front{
        position: relative;
        z-index: 2;
    }
    .back{
        position: absolute;
        top: 0;
        left: 0;
        .rotateY(-180deg)
    }
    &:hover{
        .front{
            .rotateY(180deg);
            z-index: 1;
        }
        .back{
            .rotateY(0deg);
            z-index: 2;
        }
    }
    &.vertical-effect{
        .back{
            .rotateX(-180deg);
        }
        &:hover{
            .front{
                .rotateX(180deg);
            }
            .back{
                .rotateX(0deg)
            }
        }
    }
}
.transform-effect{
    position: relative;
    .back,.front{
        .transition(~"transform .6s ease");
    }
    .front{
        width: 100%;
        height: 100%;
    }
    .back{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        .translateX(-100%);
    }
    &:hover{
        .back{
            .translateX(0);
            z-index: 2;
        }
    }
    &.skin1-effect{
        &:hover{
            .front{
                .translateX(100%);
            }
        }
        &.vertical-effect{
            &:hover{
                .front{
                    .translateY(-100%);
                }
            }
        }
    }
    &.vertical-effect{
        .back{
            .translateY(100%);
        }
        &:hover{
            .back{
                .translateY(0);
            }
        }
    }
}
.fade-effect{
    .front,.back{
        .transition(~"all 450ms ease");
        width: 100%;
        height: 100%;
    }
    .front{
        .opacity(1);
    }
    .back{
        .opacity(0);
        position: absolute;
        top: 0;
        left: 0;
    }
    &:hover{
        .front{
            .opacity(0);
        }
        .back{
            .opacity(1);
        }
    }
}
.no-transition{
    .transition(~"none !important");
}
.pt-wrap-1{
    position: relative;
    width: 100%;
    overflow: hidden;
    a{
        display: block;
        img{
            position: relative;
            .transition(~"all .5s ease");
            &.hidden-slowly{
                left: 0;
                margin-left: -50%;
                .opacity(0);
                position: absolute;
                top: 0;
                visibility: hidden;
                &.hs-left{
                    margin-left:50%;
                }
            }
            &.hs-right{
                margin-right:50%;
            }
            &.enter-in{
                margin-left:100%;
                .opacity(1);
                &.ei-left{
                    margin-left:-100%;
                }
            }

        }
    }
    .pt-catalog-controls {
        .pt-catalog-next{
            right: 0;
        }
        .pt-catalog-prev{
            left: 0;
        }
        .pt-catalog-next,
        .pt-catalog-prev{
            .opacity(0);
            cursor: pointer;
            display: block;
            position: absolute;
            top: 50%;
            height: 32px;
            padding: 0 10px;
            font-size: 14px;
            text-align: center;
            line-height: 32px;
            overflow: hidden;
            white-space: pre;
            z-index: 3;
            box-shadow: 0 1px 1px #c3c3c3;
            .transition(~"all .5s ease");
            .translateY(-50%);
            border-radius: @border-radius;
            color: #666666;
            background: #f2f2f2;
            & when(@button-gradient){
                #gradient.vertical(#f6f6f6,#f2f2f2);
            }
            &:hover{
                background: @theme-color;
                color: #fff;
                & when(@button-gradient){
                    #gradient.vertical(darken(@theme-color,5%),darken(@theme-color,7%));
                }
            }
            .item:hover &{
                .opacity(1);
            }
        }
    }
}