main .container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.col-product {
    display: flex;
    /* Biến cột thành flex container */
    flex-direction: column;
    /* Sắp xếp nội dung theo chiều dọc */
    position: relative;
}

.col-product>div {
    flex: 1;
    /* Div bên trong sẽ tự động mở rộng để chiếm toàn bộ chiều cao của cột */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card img {
    width: 100% !important;
    border-radius: 20px;
}


/* From Uiverse.io by alexruix */

.product-card {
    height: 580px;
    padding: .8em;
    background: #f5f5f5;
    position: relative;
    overflow: visible;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.product-top {
    cursor: pointer;
}

.product-card-img {
    background-color: #f5f5f5;
    width: 100%;
    border-radius: .5rem;
    transition: .3s ease;
}

.product-card-info {
    padding-top: 10%;
    /* height: 150px; */
}

.product-title {
    font-size: 20px;
}

.product-pack span {
    font-size: 14px;
    border-radius: 5px;
}

.text-limit-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Giới hạn 3 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

svg {
    width: 20px;
    height: 20px;
}

.product-card-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.add-to-cart-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}


/*Text*/

.text-price {
    font-weight: 900;
    font-size: 1em;
    line-height: 1.5;
    color: #d98c56;
    width: 300px;
}

.text-body {
    font-size: .9em;
    padding-bottom: 10px;
}

@media (max-width: 768px) {
    .intro {
        margin-bottom: -40px;
    }

    .col-product {
        margin-top: 45px;
    }

    .product-card {
        /* min-height: 540px; */
        height: auto;
        border-radius: 8px;
        padding-bottom: 5px;
    }

    .product-card img {
        width: 100% !important;
        border-radius: 10px;
    }

    .product-card-img {
        border-radius: 0;
    }

    .product-desc p {
        font-size: 13px;
    }

    main .container {
        padding: 20px 20px 50px 20px;
    }

    .content-sp {
        row-gap: 20px;
    }

    .product-card-info {
        /* height: 120px; */
    }

    .product-title {
        font-size: 18px;
    }

    .text-limit-lines {
        -webkit-line-clamp: 2;
        /* Giới hạn 3 dòng */
    }

    .text-price {
        width: 220px;
    }

}