* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    padding: 30px;
    background: linear-gradient(135deg,
            #f8b6b6 0%,
            #f6d6c9 20%,
            #e8c7f0 45%,
            #bfa7ff 70%,
            #9ff7c2 100%);
}

.container {
    max-width: 1200px;
    margin: auto;
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}


.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 2.3rem;
    color: #1f2937;
    margin-bottom: 10px;
}

.header p {
    color: #555;
}


.filter-section {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-section input,
.filter-section select {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 14px;
    outline: none;
    background: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    color: #333;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 280px));
    justify-content: center;
    gap: 24px;
    margin-top: 10px;
}

.product-card {
    width: 280px;
    min-height: 430px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 10px;
}

.product-card p {
    color: #666;
    margin-bottom: 8px;
}

.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #6d5dfc;
    margin-bottom: 15px;
}

.buy-btn {
    width: 100%;
    border: none;
    padding: 14px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 600;
    color: white;
    background: linear-gradient(to right,
            #6d5dfc,
            #8a63ff);
    transition: 0.3s;
}

.buy-btn:hover {
    transform: translateY(-2px);
}

.empty {
    text-align: center;
    padding: 40px;
    color: #555;
    font-size: 1rem;
}

@media(max-width: 768px) {
    .filter-section {
        flex-direction: column;
    }

    .container {
        padding: 22px;
    }

    .product-card {
        width: 100%;
    }

    .products-container {
        grid-template-columns: 1fr;
    }
}