.product {
    text-decoration: none;
    display: block;
    position: relative;
    color: #000;
    overflow: hidden;
    padding: 10px;
    margin-bottom: 30px;
}

.product .product-name {
    position: relative;
    z-index: 200;
    margin-top: 5px;
    text-transform: capitalize;
}

.product img {
    width: 100%;
    object-fit: contain;
    object-position: center;
    aspect-ratio: 1/1;
    background-color: #f2f2f4;
    transition: all ease .5s;
}

.product .brand {
    background-color: #000;
    position: absolute;
    left: -200px;
    top: 20px;
    /* font-weight: 600; */
    font-family: 'since-bold', sans-serif;
    letter-spacing: 1px;
    padding: 2px 10px;
    border-radius: 0px 4px 4px 0px;
    /* font-size: 18px; */
    color: #fff;
    transition: all ease .5s;
    z-index: 200;
}

.product:hover .brand {
    left: 0;
}

.product-img {
    position: relative;
}

.product-img .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-img:hover .hover-img {
    opacity: 1;
}

.product-img:hover .default-img {
    opacity: 0;
}

button {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.product-img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.mrp {
    font-size: 12px;
    color: #333;
    text-decoration: line-through;
}

.product-name {
    margin: 0;
}

.product .product-name.product-price {
    margin-top: 0;
    margin-bottom: 10px;
}
@media (max-width:600px) {

    .mrp {
        font-size: 10px;
    }

    .tx {
        display: none;
    }

    .product-name {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 12px;
    }

    .col-6 {
        padding: 3px;
    }

}