body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 20px;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: auto;
}

.sidebar {
    width: 250px;
    margin-right: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar h3, .sidebar h4 {
    margin-bottom: 15px;
    color: #333;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.sidebar ul li {
    margin: 10px 0;
    cursor: pointer;
    color: #007bff;
    font-weight: bold;
}

.sidebar ul li:hover {
    text-decoration: underline;
}

.price-filter input[type="range"] {
    width: 100%;
}

button#filterBtn {
    width: 100%;
    padding: 10px;
    background-color: #003366;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}

button#filterBtn:hover {
    background-color: #00224d;
}

.product-list {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-item {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 250px;
    text-align: center;
}

.product-item img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.product-item img {
    width: 100%;      /* Make the image take the full width of its container */
    height: 200px;    /* Set a fixed height */
    object-fit: cover; /* Scale the image to cover the container, cropping if needed */
    border-radius: 5px; /* Optional: Add rounded corners for consistency */
}

.product-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-item p {
    margin: 5px 0;
    color: #555;
}
