/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.woocommerce-loop-product {
    position: relative;
}

.woocommerce-loop-product .image-gallery {
    display: none;
    position: absolute;
	padding: 0;
	border: 0px solid #BFBFBF;
	max-width: 650px;
    z-index: 8;
    -moz-opacity : 0;
    -ms-filter: "alpha(opacity=0)";
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
    filter: alpha(opacity=0);
    opacity: 0;
    padding: 0;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.elementor-products-grid ul.products.elementor-grid li.product:hover .woocommerce-loop-product .image-gallery {
    display: block;   
    top: 0;
    -khtml-opacity:1;
    -moz-opacity : 1;
    -ms-filter: "alpha(opacity=100)";
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
    filter: alpha(opacity=100);
    opacity: 1;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out; 
}
.woocommerce-product-gallery__image {
    aspect-ratio: 3/2;
}

.woocommerce-product-gallery__image > a > img {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
}

.woocommerce-product-gallery__image > a {
    width: 100%;
    height: 100%;
    display: block;
}