.product {
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.product-item {
    width: 32%; /* Default: 3 items per row */
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
}

.product-item:hover {
    transform: scale(1.05);
}

.card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.card img {
    width: 100%;
    height: auto;
}

.card-body {
    padding: 15px;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 18px;
    margin: 5px;
}

.btn-primary {
    background-color: #800000;
    color: white;
}

.btn-success {
    background-color: #800000;
    color: white;
}

.detailsdiv {
    text-align: center;
    margin-top: 20px;
}

.btndetails {
    display: inline-block;
    padding: 10px 20px;
    background-color: #800000;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
}

/* Responsive Design */

/* Tablets - 2 items per row */
@media (max-width: 1024px) {
    .product-item {
        width: 48%; /* 2 columns */
    }
}

/* Mobile Devices - 1 item per row */
@media (max-width: 600px) {
    .product-item {
        width: 100%; /* Full width */
    }
}
