.product img{
width: 100%;
height: auto;
box-sizing: border-box;
object-fit: cover;
}
.pagination a{
color: DarkMagenta;
}
.pagination li:hover a{
color: #fff;
background-color: DarkMagenta;
}
/* Add padding to push the filter section down */
.filter-section {
     /* Adjust this value to move the filters further down */
}

/* Optional: Adjust the form-group spacing */
.form-group {
    margin-bottom: 20px; /* Adds more space between filter items */
}

/* Ensure button stretches across the filter section */
.btn-block {
    width: 100%;
    margin-top: 20px;
}
/* General Styling */
        body {
            font-family: 'Arial', sans-serif;
        }

        h3, h5 {
            font-weight: bold;
        }

        hr {
            border: 1px solid #ddd;
        }

        /* Filter Sidebar */
        .filter-section {
            padding-top: 75px;
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .filter-section h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: #343a40;
        }

        .filter-section label {
            display: block;
            font-size: 1rem;
            margin-bottom: 8px;
            color: #495057;
        }

        .filter-section .form-group {
            margin-bottom: 20px;
        }

        .filter-section select,
        .filter-section input[type="range"] {
            width: 100%;
            padding: 8px;
            border-radius: 8px;
            border: 1px solid #ced4da;
        }

        .filter-section .btn-primary {
            background-color: #007bff;
            border-color: #007bff;
            border-radius: 5px;
            padding: 10px;
        }

        /* Product Grid */
        .product_box {
            background-color: #fff;
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 30px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .product_box:hover {
            transform: translateY(-10px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        }

        .product_box img {
            max-height: 200px;
            object-fit: cover;
            margin-bottom: 10px;
            border-radius: 10px;
        }

        .p-name {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: #333;
        }

        .p-price {
            font-size: 1.3rem;
            color: #00000;
        }

        .product_box .buy-button {
            margin-top: 10px;
            background-color: DarkMagenta;
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 8px;
            transition: background-color 0.3s;
        }

        .product_box .buy-button:hover {
            background-color: #884EA0;
        }

        /* Star Ratings */
        .star i {
            color: #884EA0;
            margin-right: 5px;
        }

        .star p {
            margin: 0;
            font-size: 0.9rem;
        }

        /* Responsive Adjustments */
        @media (max-width: 767px) {
            .filter-section {
                text-align: center;
                padding: 15px;
            }

            .product_box img {
                max-width: 100%;
                height: auto;
            }
        }
