body {
    background-color: #2c1c13; /* Dark reddish-brown background color */
    color: #FFEBC1; /* Light beige text color */
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   
    
    margin: 0;
}

.filter-container {
    margin-bottom: 20px;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px;
    max-width: 1200px; /* Adjust the max-width based on your design */
}

.product {
    background-color: #3d1f13; /* Dark copper box background color */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1 1 250px; /* Adjust flex basis as needed */
    max-width: 250px; /* Adjust maximum width as needed */
}

.product img {
    max-width: 100%;
    border-radius: 5px;
    height: auto; /* Allow image to resize proportionally */
}

.product h3 {
    margin-top: 10px;
    font-size: 1.2em;
}

.description {
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 60px; /* Set a fixed height for the description */
}

.product-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #D7A86E; /* Light copper button background color */
    color: #8E3200; /* Dark reddish-brown button text color */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.product-link:hover {
    background-color: #FFEBC1; /* Light beige hover color */
}

@media screen and (max-width: 768px) {
    .product {
        max-width: calc(50% - 20px); /* Two products per row */
    }
}

@media screen and (max-width: 480px) {
    .product {
        max-width: calc(100% - 20px); /* One product per row */
    }
}

input{
    padding: 0 4px;
    border-radius: 1px;
}