.product_card .product_card_img {

    position: relative;
}

.product_card {

    position: relative;
    overflow: hidden;
}



.mod_products_collection .product_card {

    margin: .25rem;
    width: calc((100% / 3) - .5rem);
}

.product_card a {

    position: relative;
    z-index: 1;
}

.product_card_img_item{
    position: relative;
}

.product_card_img_item .com-video{

    position: absolute; /* Use fixed for full viewport background */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; 
}

.product_card_img_item .com-video iframe{
    aspect-ratio: 1;
}

.product_card:hover .product_card_wish{

    opacity: 1;
    transition: opacity 0.3s;
}

.product_card .product_card_img_item .product_card_img{
    
    aspect-ratio: 1.1;
    object-fit: cover;
    width: 100%;
}

.product_card .product_card_wish{

    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    z-index: 9;

    opacity: 0;
    transition: opacity 0.3s;

    pointer-events: all;

    filter: invert(1);
}
.product_card .product_card_wish img{

    width: 1.3rem;
    height: 1.3rem;
}

.product_card_name{

    margin-bottom: 1rem;
    padding: 1rem;

    color: #fff;
    text-align: center;
    font-weight: 200;

    font-family: var(--font-family);

    direction: ltr;
}

.product_card_heading{

    padding: 1rem;
    color: #fff;
    text-align: center;
    width: clamp(60rem, 50%, 35rem);
    margin: 0 auto;
}


    .product_card_wish.wish_active_btn::before{

    content: "";
    background-image: url('../img/Favourites_full2.svg');
    width: 1.3rem;
    height: 1.3rem;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* .product_card .product_card_wish img {

    position: absolute;
    top: 0rem;
    left: 0rem;

    width: 1.5rem;
    height: 1.4rem;
    filter: invert(1);
    transform: rotate(45deg);

    visibility: hidden;
    left: 0;
    opacity: 0;
} */
/* 
.product_card .product_card_wish.wish_active_btn img{
    animation: spark 1s;
}

@keyframes spark {

    to{
        visibility: visible;
        opacity: 1;
    }
    from{
        visibility: visible;
        opacity: 1;
        top: 0.3rem;
        left: 0.7rem;    
    }
    
} */

.product_card_wish::before{

    content: "";
    background-image: url('../img/Favourites.svg');
    width: 1.3rem;
    height: 1.3rem;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media only screen and (max-width: 768px) {

    .product_card_heading{
    
        width: 100%;
        line-height: 3.7rem;
    }
    .mod_collections_lobby_wrap .product_card {

        margin: .25rem;
        width: calc(50% - .5rem);
    }
    .product_card .product_card_wish{

        top: 0.5rem;
        right: 0.5rem;
    }
    .product_card_name{
    
        font-size: 1rem;
    }
    .product_card .product_card_wish{
        
        opacity: 1;
        visibility: visible;
    }

}

