.product-content{
    box-sizing: border-box;
    width: 100%;
    max-width: 210px;
    height: 315px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
    cursor: pointer;
    text-decoration: none;
    color: #000;
    display: flex; /* Change to block-level display */
    flex-direction: column;
    padding-bottom: 5px;
    font-family: 'Young Serif', serif;
}



.product-content:hover{
    scale: 1.02;
    box-shadow: 0 0 8px 0 #EC008C;
}

.product-content  a{
    color: #000;
    display: flex; /* Change to block-level display */
    flex-direction: column;
    text-decoration: none;
}


.product-content .img-box{
    width: 100%;
    height: 200px;
    margin-bottom: 10px;
    position: relative;
}
.like-product{
    display: none;
    background: #EC008C;
}

.img-box:hover  .like-product{
    position: absolute;
    z-index: 1;
    display: block;
    top:5px;
    right: 2px;
    padding:5px;
}

.img-box  .promotion-product{
    position: absolute;
    z-index: 1;
    display: block;
    left: 0px;
    padding:5px;
    background: #EC008C;;
    font-size: 12px;
    color: #ffffff;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

.fa-heart-o:hover{
    color: #ffffff;
}

.product-content .img-box img{
    width: 100%;
    height: 100%;
    object-fit: fill;
    

}

.productcard-detail {
    flex: 1.8;
    padding: 0px 8px 8px;
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    flex-grow: 1;
     /* Set a fixed height for the .thumb-content elements */
     height: auto; /* Adjust the height as needed */
     overflow: hidden; /* Hide overflow content */
}

.productcard-detail h5 {
    display: inline;
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: #222;
    line-height: normal;
    word-break: break-all;
    vertical-align: middle;
    font-size: 9px;
}


.productcard-detail .number-sold{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap:10px;
    font-size: 14px;
}

#color-star{
    color:rgba(255, 255, 11, 0.637);
    font-size: 16px;
}


.productcard-detail h5:hover{
    color:#EC008C;
}

.item-price {
    font-size: 15px;
    padding: 1px 0;
    display: flex;
    align-items: center;
    gap:10px;
}
.item-price b {
    font-size: 9px;
 }

#old-price {
    color: #EC008C;;
    font-size: 12px;
    text-decoration: line-through;
}

#new-price{
    font-weight: bold;
}

.shipping {
    /* Adjust flex properties as needed */
    flex-grow: 1; /* Set flex-grow to control growth */
    flex-shrink: 0; /* Set flex-shrink to prevent shrinking */
    padding:9px 0;
   
}

.free-shipping {
    color: rgb(33, 168, 33);
    font-size: 12px;
    flex-grow: 1;
    
}
#liked span{
    font-size: 16px;
}
#liked:hover span{
    color: #ffff;
}


.store-name a{
    font-size: 13px;
    color:#c5c5c7;
    margin-left: 10px;
    margin-bottom: 5px;
}
.store-name a:hover{ 
   color:#b3211e;
}





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

    .product-content{
        max-width: 200px;
    }
}
@media screen and (max-width:450px) {

    .product-content{
        max-width: 257px;
    }
}
@media screen and (max-width:280px) {

    .product-content{
        max-width: 190px;
    }
}