.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    box-sizing: border-box;
    height: 100%;
}
.card_product {
    margin: 20px;
    border: 1px solid #d3d3d3;
    border-radius: 20px;
    box-sizing: border-box; /* You only need to define this property once */
    width: calc(25% - 40px);
    text-align: center;
    padding: 20px;
}
@media (max-width: 768px) {
    .card_product {
        width: calc(50% - 20px);
        margin:5px;
        padding:5px;
    }
    .row{
    padding : 0px;
    }
}
/* Pagination buttons styling */
/* Pagination buttons styling */
.pagination button {
    border: none;
    margin: 0 5px;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
}

.pagination .arrow {
    background-color: #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .page-number {
    background-color: #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .page-number:hover, .pagination .arrow:hover {
    background-color: #bbb;
}

.pagination .page-number.active {
    background-color: #bbb;
}
.card_product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 10px;
}

.card_product {
    font-size: 4vw; /* Responsive font size */
    margin-top: 10px;
    word-wrap: break-word; /* Ensure long words break to the next line */
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .card_product {
        font-size: 1vw; /* Adjust font size for larger screens */
    }
}

/* Media query for small screens */
@media (max-width: 767px) {
    .card_product {
        font-size: 2.8vw; /* Adjust font size for smaller screens */
    }
}