/*product card*/
.itemCard {
    width: 220;
    height: 300px;
    margin: 0px;
    border: 1px solid #c0c0c0 !important; /* Important to override any other styles */
    background-color: rgba(192, 192, 192, 0.0);
    padding: 0px;
    color: #2c3e50;
    // background-color:black;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    vertical-align: middle;
}

    .itemCard:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.0);
    }

@media screen and (max-width: 768px) {
    .itemCard {
        width: 120px;
        height: 200px;
        margin: 0px;
        border: 0px solid white;
        background-color: white;
        padding: 0px;
    }
}

.img1 {
    display: block;
    width: 10px;
    border-radius: 0%;
    vertical-align: central;
}

.container_imgP {
    position: relative;
    max-width: 100%; /* Maximum width */
    margin: 0 auto; /* Center it */
    opacity: 1;
    transition: .5s ease;
    align-items: center;
    vertical-align: central;
}




    .container_imgP .content {
        position: absolute; /* Position the background text */
        bottom: 0; /* At the bottom. Use top:0 to append it to the top */
        background: rgb(0, 0, 0); /* Fallback color */
        background: rgba(0, 0, 0, 0.8); /* Black background with 0.5 opacity */
        color: black; /* Grey text */
        width: 100%; /* Full width */
        padding: 5px; /* Some padding */
        align-content: center;
        text-align: center;
        height: 50px;
        line-height: 20px;
        border-radius: 0%;
    }

    .container_imgP:hover {
        opacity: 0.5;
        transition: .5s ease;
    }


        .container_imgP:hover .content {
            bottom: 30%;
            transition: .5s ease;
            background: rgba(0, 0, 0, 0.4);
        }

        .container_imgP:hover ._newButtonP {
            visibility: visible;
            bottom: 0%;
            height: 50px;
            transition: .5s ease;
        }



    .container_imgP .contentSale {
        position: absolute; /* Position the background text */
        bottom: 0; /* At the bottom. Use top:0 to append it to the top */
        /*background: rgb(0, 0, 0); /* Fallback color */
        /* background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
        color: black; /* Grey text */
        width: 100%; /* Full width */
        padding: 20px; /* Some padding */
        align-content: center;
        text-align: center;
        left: 10%;
    }


    .container_imgP:hover .contentSale {
        /*   bottom: 50%;*/
        /*transition: .5s ease;         */
    }

    .container_imgP:hover ._newButtonSale {
        visibility: visible;
        top: 5%;
        bottom: 100px;
        height: 50px;
        transition: .5s ease;
    }




._newButtonP {
    position: absolute;
    top: 160%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-color: white;
    color: white;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    width: 120px;
    color: black;
    border-color: black;
    border-style: solid;
    border-width: 1px;
    visibility: hidden;
    font-size: 16px;
    height: 10px;
    border-color: white;
    height: 10px;
}


    ._newButtonP:hover {
        background-color: black;
        color: white;
    }

/*for product details*/
