/* 
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 */
.custom-loop-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.custom-loop-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Smooth fade-in/fade-out transition */
    transition: opacity 0.4s ease-in-out;
    display: block;
}

.custom-loop-image-wrapper .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Smooth Fade Effect on Hover */
.custom-loop-image-wrapper:hover .img-main {
    opacity: 0;
}

.custom-loop-image-wrapper:hover .img-hover {
    opacity: 1;
}
.custom-loop-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.custom-loop-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Smooth fade-in/fade-out transition */
    transition: opacity 0.4s ease-in-out;
    display: block;
}

.custom-loop-image-wrapper .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Jab .prdcrd YA wrapper par hover ho, tab image switch ho */
.prdcrd:hover .img-main,
.custom-loop-image-wrapper:hover .img-main {
    opacity: 0;
}

.prdcrd:hover .img-hover,
.custom-loop-image-wrapper:hover .img-hover {
    opacity: 1;
}