* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: linear-gradient(-45deg, #f9d423, #ff4e50, #1e90ff, #42e695);
    background-size: 400% 400%;
    animation: wave 12s ease infinite;
    padding: 30px;
    color: #fff;
}

@keyframes wave {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #222;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: #eeaeca;
    background: radial-gradient(
        circle,
        rgba(238, 174, 202, 1) 0%,
        rgba(148, 187, 233, 1) 100%
    );
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    filter: brightness(1.03);
    border: 1px solid rgba(0, 123, 255, 0.2);
    backdrop-filter: blur(2px);
    background: #2a7b9b;
    background: linear-gradient(
        90deg,
        rgba(42, 123, 155, 1) 0%,
        rgba(87, 199, 133, 1) 50%,
        rgba(237, 221, 83, 1) 100%
    );
}
.product-image {
    padding: 15px;
}
.product-card img {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.product-card:hover img {
    filter: saturate(1.2) brightness(1.05);
    transform: scale(1.02);
}

.product-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #222;
}

.product-content p {
    font-size: 14px;
    color: #555;
    flex-grow: 1;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
.product-price {
    font-size: 14px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.discount {
    color: #e91e63;
    font-weight: bold;
}
.stock {
    font-size: 16px;
    color: #e91e63;
    font-weight: bold;
}

@media (max-width: 600px) {
    h1 {
        font-size: 28px;
    }
    .product-card img {
        height: 150px;
    }
}
