/**
 * Label product
 */

.product-labels {
    .product-label {
        display: block;
        padding: 5px 15px;
        text-align: center;
        text-transform: uppercase;
        color: #fff;
        font-size: 92.307%;
        font-weight: normal;
        .border-radius(0);
    }

    .new-label {
        background-color: #5089fd;
    }

    .sale-label {
        background-color: #ff4466;
    }
}

.products-list .image-product {
    position: relative;
}

.products-list,
.products-grid {
    .product-labels {
        .product-label {
            position: absolute;
            top: 15px;
            z-index: 20;
            font-size: 12px;
        }

        .new-label {
            right: 10px;
        }

        .sale-label {
            left: 10px;
        }
    }
}

/**
 * Grid style
 */

.products-grid {
    .product-item {
        font-size: unset;
    }

    .product-item .price-box {
        margin: 5px 0 0px;
    }

    .product-item .price-box {
        .price {
            font-size: 123.07%;
            font-weight: bold;
            color: #000;
        }

        .old-price .price {
            color: #999;
            font-size: 123.07%;
        }
    }

    .product-image-container {
        vertical-align: top;
    }

    .product-reviews-summary {
        display: block;
    }

    .product-item .product-reviews-summary .rating-summary {
        display: inline-block;
    }

    .product-reviews-summary .reviews-actions {
        display: none;
    }

    .product-item-details {
        text-align: center;
        padding: 25px 20px 0;
		position:relative;
    }

    .product-item-name {
        font-size: 107.69%;
        margin: 0 0 6px;

        a {
            display: inline-block;
        }
    }

    .product-item-inner {
        position: absolute;
		left: 0;
		top:-50px;
		z-index: 1;
		background: #fff;
		text-align: center;
		width: 100%;
		padding: 10px 0;
		opacity: 0;
        visibility: hidden;
        .transition(.3s ease-in-out);
    }

    .product-item-actions {
        display: inline-block;
        padding: 0;
        margin: 0;
        position: relative;

        .actions-primary button {
            border: none;
            background: none !important;
            height: 50px;
			width: 50px;
            line-height: 50px;
            color: #000000;
            padding: 0;
            font-weight: 400;
            .border-radius(0);
            .box-shadow-none();
            .transition(.1s);
			position:relative;
			span{
				display:none;
			}
			&:before{
				content: "";
				position: absolute;
				z-index: -1;
				top: 0;
				left: 0;
				right: 0;
				bottom: 0;
				background:#000000 !important;
				transform: scaleY(0);
				.transition(.2s); 
			}
			&:after {
                .icomoon(e958, 18px);
            }
			&:hover {
				
				color:#fff;
				&:before{
					.transform(scaleY(1));
				}
			}
        }

        .actions-secondary {
            .action {
                float: left;
                margin-left: 3px;
                display: inline-block;
                width: 50px;
                height: 50px;
                text-align: center;
                line-height: 50px;
                color: #000000;
                border: none;
                vertical-align: top;
                .border-radius(0); 
                .transition(.1s);
				position:relative;
				&:before{
					content: "" !important;
					position: absolute;
					z-index: -1;
					top: 0;
					left: 0;
					right: 0;
					bottom: 0;
					background:#000000 !important;
					transform: scaleY(0);
					.transition(.2s); 
				}
				&:hover {
					color:#fff;
					&:before{
						.transform(scaleY(1));
					}
				}
            }

            .action span {
                display: none !important;
            }

            .towishlist:after {
                .icomoon(e93f, 18px);
            }

            .tocompare:after {
                .icomoon(e953, 18px);
            }

            .quickview-handler:after {
                .icomoon(e954, 18px);
            }
        }
    }

    .product-item-info {
        background-color: #fff;
        height: 100%;
        width: 100%;
        position: relative;
        padding: 0;

        &:hover {
			.product-item-name a {
				color:#000;
			}
            .product-item-inner {
                opacity: 1;
                visibility: visible;
				top: -65px;
            }
        }
    }

    .swatch-attribute:last-child {
        margin-bottom: 10px;
    }

    .swatch-attribute-options {
        margin: 0;
    }

    .swatch-option {
        float: none;
        display: inline-block;
        margin-left: 3px;
        margin-right: 3px;
    }
}

/**
 * Block slider product page
 */

.detail-product-slider {
    .block-title {
        font-size: 138.461%;
        color: #222;
        text-transform: uppercase;
        margin-bottom: 12px;
    }

    .block-content {
        border: 1px solid #e5e5e5;
    }

    .owl-theme .owl-nav {
        margin: 0;
        position: absolute;
        top: -44px;
        right: 0;
    }

    .owl-theme .owl-nav [class*='owl-'] {
        margin: 0;
        padding: 0;
        width: 26px;
        height: 34px;
        line-height: 32px;
        background-color: #fff;
        border: 1px solid #e5e5e5;
        color: #888;
        .border-radius(0);
        .transition(.1s);

        &:before {
            font-size: 18px;
        }

        &.owl-next {
            border-left: none;
        }

        &.owl-prev {
            border-right: none;
        }
    }
}

/**
 * Product wishlist page
 */
.products-grid.wishlist .product-item .price-box {
    margin: 5px 0 15px;
}

.products-grid.wishlist .product-item .fieldset .field.qty {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.products-grid.wishlist {
    .product-item-info {
        text-align: center !important;
        padding-bottom: 20px;

        .product-item-inner {
            position: static;
        }

        .box-tocart {
            margin-bottom: 10px;
        }
    }
}
