
.product-image {
    display: block;
    position: relative;
    border: none;
    width: 100%;
    padding: 0;

    &:hover {
        z-index: 1;
    }

    .inner {
        display: block;
        overflow: hidden;
        position: relative;
    }

    img {
        display: inline-block;
        width: 100%;
        height: auto;
        @include transition($image-transition);
        transform: translateZ(0);
    }

	.viewcart {
		font-size: 1.8em;
		border-radius: 50%;
		position: absolute;
		top: 0; bottom: 0;
		left: 0; right: 0;
		margin: auto;
		z-index: 1;
		text-align: center;
		width: 2.2em;
		height: 2.2em;
		line-height: 2.1em;
		display: none;
		opacity: 0;
		@include transition($transition);

		&:before {
			font-family: "Simple-Line-Icons" !important;
			font-style: normal !important;
			font-weight: normal !important;
			font-variant: normal !important;
			text-transform: none !important;
			speak: none;
			content: "\e04e";
			font-size: .9em;
			vertical-align: top;
		}

		&.viewcart2:before {
			font-family: "Porto" !important;
			content: "\e87f";
			vertical-align: baseline;
		}

		&.viewcart3:before {
			font-family: "Simple-Line-Icons" !important;
			content: "\e04e";
			vertical-align: baseline;
			font-size: 1.1em;
		}
		&.viewcart4:before {
			font-family: "Simple-Line-Icons" !important;
			content: "\e035";
			vertical-align: baseline;
		}

		&:hover {
			color: #fff;
		}
	}

    .labels {
        line-height: 1;
        color: $color-white;
        font-weight: $font-weight-semibold;
        text-transform: uppercase;
        position: absolute;
        z-index: 2;
        top: .8em;
        font-size: 10px;
        #{$left}: .8em;

        .onhot,
        .onsale {
            padding: 5px 11px;
            margin-bottom: 5px;
        }

        .onhot {
            background: $hot-bg;
        }

        .onsale {
            background: $sale-bg;
        }

        .tooltip {
            font-weight: normal;
            text-transform: none;
            white-space: nowrap;
            z-index: 100;
        }
    }

    .stock {
        position: absolute;
        z-index: 1;
        color: #000;
        top: 0; bottom: 0; left: 0; right: 0;
        width: 10em;
        height: 3em; line-height: 3em;
        margin: auto;
        font-weight: $font-weight-semibold;
        text-transform: uppercase;
        text-align: center;
        //opacity: 0;
        @include transition($transition);
    }

    &:hover {
        .stock {
            //bottom: 0;
            //opacity: 1;
        }
    }
}

.yith-wcbm-badge {
    margin: 0;

    img {
        margin: 0 !important;
        border-radius: 0;
        opacity: 1 !important;
    }

    .products & {
        margin: 0;
        img {
            margin: 0 !important;
        }
    }
}