/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

ul li.product {
	padding-bottom: 0;
}

ul li.product .purchasable {
	height: 100%;
    padding-bottom: 0;
}

ul li.product .purchasable .woocommerce-loop-product__title {
	text-align: center;
}

.purchasable {
    display: flex;
    align-items: center;
    flex-flow: column nowrap;
    margin: 0;
    padding: 0 0 28px 0;
    box-shadow: 0 0 0 1px #e5e5e5;
    border-radius: 5px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.purchasable:hover {
	box-shadow: 7px 5px 30px 0px rgb(72 73 121 / 15%);
    border-color: transparent;
}

.woo_product_image.shop_media {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.woo_product_image.shop_media .picture {
    position: relative;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
    margin: 0;
}
.picture img {
	transition: all 0.4s;
    transform: scale(1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.picture a img:nth-child(1) {
	transition: all 0.4s;
    transform: scale(1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.picture a img:nth-child(2) {
	opacity: 0;
    transition: all 0.4s;
    filter: blur(0);
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    transform: translate(-100%, 0);
}

.purchasable:hover .picture a img:nth-child(2) {
	opacity: 1;
    transform: translate(0, 0);
    visibility: visible;
}

.purchasable:hover .picture a img:nth-child(1) {
	transform: translate(100%, 0);
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}


.purchasable .star-rating {
    float: none;
    width: 6.94em;
    height: 20px !important;
    margin: 7px auto 10px;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 4px;
    font-family: star;
    overflow: hidden;
    position: relative;
}

.purchasable .star-rating span {
	overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.purchasable .price{
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    line-height: 35px;
	padding-bottom: 30px;
}

.purchasable .star-rating:before {
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	color: #f9d322;
	    top: 0;
    position: absolute;
    left: 0;
}
/* .star-rating:before {
	content: "" !important;
} */
.purchasable a.button{
	background: -webkit-linear-gradient(left,#ffc600 0%,#ff4200 50%,#ffc600 100%);
    background-size: 300%,1px;
    background-position: 0%;
	display: inline-block;
    position: absolute;
    z-index: 2;
    bottom: -40px;
    font-weight: 800;
    box-shadow: none;
    text-shadow: none;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    line-height: 46px;
    padding: 0 32px;
    text-align: center;
    color: #fff;
    white-space: nowrap;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    min-width: 180px;
    box-sizing: border-box;
    text-transform: uppercase;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
}



.purchasable a.button:hover{
	    background-position: 100% !important;
    color: #fff !important;
}

.purchasable:hover a.button {
	visibility: visible;
    opacity: 1;
    bottom: -24px;
}

button.single_add_to_cart_button.button {
    background: -webkit-linear-gradient(left,#ffc600 0,#ff4200 50%,#ffc600 100%);
    background-size: 300%,1px;
    background-position: 0;
    opacity: 1 !important;
    transition: .5s;
}

button.single_add_to_cart_button.button:hover {
    background-position: 100% !important;
}
