/* 
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 */

/* container must be positioned for absolute images to overlap; adjust selectors if your theme uses different classes */
/* container must be positioned; adjust selectors to match your markup */
.product .product-image { position: relative; display:block; overflow:hidden; }
.product .product-image img { display:block; width:100%; height:auto; transition:opacity .35s ease; }

/* assume the second image has class .secondary */
.product .product-image img.secondary { 
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  opacity:0;
  pointer-events:none;
}
.product:hover .product-image img.secondary { opacity:1; }
.product:hover .product-image img.primary   { opacity:0; }
