body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(to bottom, #f5fafd, #ecf9ff);
}

.banner {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    width: 100%;
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    /* z-index: 1; */
}

.bannerheading {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    /* font-size: 1.1vw; */
    letter-spacing: 1.7px;
    text-align: center;
    margin: 0;
    z-index: 2;
}

.product-container {
    display: flex;
    flex-direction: column; /* Default for small screens */
    gap: 20px;
    padding: 20px;
}

/* Filter Section */
/* Filter Section */
.filter-section {
    background-color: #f0faff; /* Light pastel blue for a soft, fresh look */
    padding: 15px;
    border: 2px solid #cce7f0; /* Slightly darker blue for contrast */
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: transform 0.3s ease-in-out; /* Hover effect */
}

.filter-section:hover {
    transform: scale(1.02); /* Slight zoom effect on hover */
}

/* Filter Section Heading */
.filter-section h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50; /* Darker blue for the title */
    margin-bottom: 10px;
    font-size: 1.5rem; /* Slightly larger for prominence */
    text-align: center;
}

/* Price Filter Dropdown */
#price-filter {
    margin: 5px;
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #cce7f0; /* Matches border of the filter section */
    border-radius: 5px;
    background-color: #ffffff; /* Clean white for the dropdown */
    color: #2c3e50; /* Text color for readability */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    outline: none;
    transition: all 0.3s ease-in-out; /* Smooth hover effect */
}

#price-filter:hover {
    border: 2px solid #6bc7d4; /* Slightly more vibrant blue on hover */
    background-color: #e8f8ff; /* Soft pastel blue for hover state */
    color: #2c3e50;
    cursor: pointer;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .filter-section {
        padding: 10px;
    }

    #price-filter {
        font-size: 0.9rem;
        padding: 10px;
    }

    .filter-section h3 {
        font-size: 1.2rem;
    }
}


/* Product Grid */
.product-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.product {
    background-color: #fff;
    border: 1px solid #ddd;
    width: 300px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
}

.product:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.product-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 15px;
}

.product-details {
    padding: 0 15px 20px;
}

h2 {
    font-size: 20px;
    margin: 10px 0;
    color: #333;
}

p {
    font-size: 18px;
    color: #666;
}

label,
input {
    font-size: 16px;
}

input {
    width: 50px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    border: 2px solid #ad1414;
    border-radius: 8px;
    color: #ad1414;
    background-color: rgb(255, 255, 255);
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

button:hover {
    background-color: #ad1414; 
    color: white; 
    border-color: white; 
    transform: translateY(-2px);
}


@media (min-width: 768px) {
    .product-container {
        flex-direction: row; 
        align-items: flex-start;
    }

    .filter-section {
        width: 250px; 
        flex-shrink: 0;
        margin-right: 20px;
    }

    .product-list {
        flex-grow: 1; /* Take the remaining space */
    }
}

/* Medium Screens (Tablets) */
@media (max-width: 767px) {
    .product-container {
        flex-direction: column; 
    }

    .filter-section {
        width: 100%;
        margin-bottom: 20px;
    }

    .product-list {
        justify-content: center;
    }

    .product {
        width: 280px; /* Slightly smaller products */
    }
}

/* Small Screens (Mobile) */
@media (max-width: 480px) {
    .filter-section {
        margin-bottom: 15px;
    }

    button {
        padding: 6px;
        font-size: 15px;
        width: 70%;
    }

    p {
        font-size: 15px;
    }

    label,
    input {
        font-size: 15px;
    }

    .product {
        width: 166px;
    }

    .product-list {
        justify-content: center;
    }
}
