.best-product-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}


.best-products{
    padding: 0;
}


.best-product-container .image,
.best-product-container .custom-card {
    /* max-width: 90%;  */
    border-radius: 10%;
  
}

.best-product-container .image {
    height: auto; /* Keep the aspect ratio of the image */
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    aspect-ratio: 1/1;
    
}

.best-product-container .custom-card {
    background-color: white;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    position: relative;
    
           
}

@media screen and (max-width: 576px) {
    .best-product-container .image {
        max-width: 100%;
        object-fit: cover;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;

        
    }
}

/* @media screen and (max-width: 430px) {
    .best-product-container .image {
        max-width: 70%;
    }

    .best-product-container .custom-card {
        width: 70%; 
    }
} */

.relative-image
{
    position: relative;
    overflow: hidden; 
}


.best-product-container .add-to-cart-easy {
    background-color: var( --primary-color) !important;
    color: #fff;
    border: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.best-product-container .add-to-cart-easy:hover {
    background-color: var( --secondary-color) !important;
    color: #fff;
}

.wrapper-best-buttons:lang(ar) {
    left: auto !important;
}
.wrapper-best-buttons:lang(en) {
right: auto !important;
}