.filter_container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #f7f7f7;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter_container form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    /* Set a max width for the form */
    width: 100%;
    /* Make the form responsive */
}

.filter_container input[type="text"],
.filter_container select {
    flex: 1;
    margin: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    /* Include padding in width */
    max-width: 300px;
    /* Set a max width for input fields */
    width: 100%;
    /* Make input fields responsive */
}


.out-of-stock{

    text-align: center;
}

.out-of-stock span {
    color: red;
    text-align: center;
    width: 100%;
    font-size: large;
    font-weight: bold;

}

.filter_container button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter_container button:hover {
    background-color: #0056b3;
}

/* Responsive styles */
@media (max-width: 768px) {
    .filter_container form {
        flex-direction: column;
        align-items: stretch;
    }

    .filter_container input[type="text"],
    .filter_container select {
        max-width: none;
        /* Remove max width for smaller screens */
    }
}