.elementor-10528 .elementor-element.elementor-element-4a66997{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS */.shortcode-contaner{
    position: relative;
    width: 100%;

}



        /* Product Grid */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            padding: 20px 3% ;
        }

.product-card:hover{
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1)
}
        /* Product Card */
        .product-card {
            transition: all ease-in-out 0.5s;
            padding: 5% ;
            display: flex;
            font-family: 'Cairo';
            background: white;
            border-radius: 15px !important;
            text-align: left;
            position: relative;
            flex-direction: column;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
        }
        
        .absolute-icons{
    position: absolute;
    right: 4px;
    top: 4px;
    display: flex
;
gap: 8px;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-end;
}

        .quick-view ,.add-to-favorites,.buy-now{
            position: relative;
            width: 40px !important;
            height: 40px !important;
            border-radius: 15px;
            padding: 8px;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all ease-in-out 0.3s;
            background:linear-gradient(180deg, #fff,  0%, #ffffffcd 100%);
        }
        
        
        .add-to-favorites{
            padding: 10px;
        }
        
        span.floating {
    position: absolute;
    top: 0px;
    opacity: 0;
    transition: all ease-in-out 0.3s;
    text-wrap: nowrap;
    font-size: 9px;
    background: #282828bf;
    color: #fff;
    padding: 2px 7px;
    border-radius: 50px;
            
        }
                .quick-view:hover .floating,.add-to-favorites:hover .floating,.buy-now:hover .floating {
            top: -10px;
            opacity: 1;
        }
        
                        .quick-view:hover,.add-to-favorites:hover,.buy-now:hover{    background: linear-gradient(180deg, var( --e-global-color-4558dec ) 0%, #e41c344D 100%)
             }



        /* Product Image Background */
.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.5s ease-in-out; /* Scale effect */
}

/* Extra div for hover image */
.product-image-container:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: all 0.8s ease-in-out; /* Smooth fade effect */
}

/* When hovering, fade in the second image */
.product-image-container:hover::before {
    opacity: 1;
    transform: scale(1.05); /* Slight zoom effect */
}


        /* Product Info */
        .product-info {
            height: 100%;
            padding: 10px 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        
        .cat-brand{
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        

        .product-category a,.product-brand {
            position: relative;
            font-size: 14px;
            color: #212121 ;
            font-family: 'Cairo' !important;
            transition: all ease 0.3s;
        }
        
        
        .product-category a:after,.product-brand:after{
            position: absolute;
            left: 0;
            bottom: 5px;
            width: 0%;
            height: 1px;
            content: "";
            background: #e41c34;
            transition: all ease 0.3s;
        }
        
                .product-category a:hover:after,.product-brand:hover:after{
                    width: 100%;
                }
        
        
        .product-category a:hover,.product-brand:hover{
            color: #e41c34 
        }
        

.product-title-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
    display: flex;
    align-items: center;
}


        .product-title a{
            font-family: 'Cairo' !important;
            font-size: 16px;
            color: #212121 !important;
            transition: all ease 0.4s

        }
        .product-title a:hover{
            color: #e41c34 !important;
        }

.product-title {
    position: absolute;
    display: inline-block;
    white-space: nowrap;

    text-overflow: ellipsis;
    max-width: 100%; /* Ensures title doesn't overflow */
    transition: transform 0.3s ease-in-out;
}

/* Enable scrolling effect on hover */
.product-title-wrapper:hover .product-title {
    animation: scrollTitle 5s linear infinite;
}

/* Scroll animation */
@keyframes scrollTitle {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% + 200px)); } /* Adjust width based on design */
}

        .product-price bdi {
            font-size: 18px;
            font-family: 'Cairo' !important;
            color: #212121;
        }

        .regular-price {
            text-decoration: line-through;
            color: gray;
            margin-right: 5px;
        }

        .sale-price {
            color: red;
        }




        /* Product Actions */
        .product-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 10px;
        }

.add-to-cart a{
    font-family: 'Cairo' !important;
    color: white !important;
}

.add-to-cart:hover a{
    color: #212121 !important;
}

        .add-to-cart {
            font-family: 'Cairo' !important;   
            flex: 1;
            background: #212121 !important;
            color: white !important;
            transition: all ease 0.3s;
            padding: 10px !important;
            border-radius: 15px !important;
            border: 1px solid #212121 !important;
            text-align: center;
            cursor: pointer;
        }

        .add-to-cart:hover {
            background: transparent !important;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
            color: #212121 !important;
        }



.quick-view-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.quick-view-content {
    background: white;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.quickview-main-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 5px;
    transition: opacity 0.3s ease-in-out;
}

.quickview-gallery-container {
    display: flex;
    margin-top: 10px;
    gap: 10px;
    overflow-x: auto;
}

.quickview-thumbnail {
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 4px;
    transition: opacity 0.3s ease-in-out;
    opacity: 0.7;
}

.quickview-thumbnail:hover {
    opacity: 1;
}

.quickview-title {
    font-size: 22px;
    margin: 10px 0;
}

.quickview-price {
    font-size: 18px;
    color: #f57224;
}

.quickview-stock {
    font-size: 14px;
    font-weight: bold;
    color: green;
}

.quickview-description {
    margin: 10px 0;
}


.quick-view-modal .add-to-cart,.quick-view-modal .buy-now {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    text-align: center;
    background: #f57224;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.quick-view-modal .buy-now {
    background: #333;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}



.product-card.loading {
    opacity: 0.5;
    pointer-events: none;
}

        .close-modal {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 20px;
            cursor: pointer;
        }
        
        
     .buy-now .woolentor-quick-checkout-btn-text{
            display: none;
        }
        
        .buy-now .woolentor-quick-checkout-btn-icon{
            margin: 0 !important;
            color: #000 !important;
        }
        
        
        .buy-now .woolentor-quick-checkout-btn-area{
                display: flex
;
    flex-direction: row;
    align-items: stretch;
        }
        
        
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    position: relative;
    text-align: center;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}
        
        
    @keyframes scrollTitle {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}



@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr !important;
        padding:5% 15% !important;
    }
    
    .filter-bar {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch;
        gap: 10px;
        padding: 10px;
    }

    .filter-bar > div {
        width: 100%;
    }
}/* End custom CSS */