/*!****************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./src/components/ProductCard/productcard.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************/
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
    height: 400px;
    background-color: #F2F4F7;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0px 10px 25px -5px rgba(0, 0, 0, 0.1);
    background-image: inherit;
    background-size: cover;
    background-position: center;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(0);
    transition: filter 0.3s ease-in-out;
    z-index: 1;
}

.product-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease-in-out;
    z-index: 2;
}

.product-card:hover::before {
    filter: blur(8px);
}

.product-card:hover::after {
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.product-card .flex-grow {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    transition: all 0.3s ease-in-out;
    z-index: 3; /* Ensure content is above the blur and overlay */
}

.product-card .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    transition: all 0.5s ease-in-out;
    position: absolute;
    top: 20rem;
    z-index: 3; /* Ensure content is above the blur and overlay */
}

.product-card .title {
    transition: all 0.3s ease-in-out;
    margin-bottom: 0.5rem;
}

.product-card .description, .viewAll {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    text-align: justify;
}

/* Hover effects */
.product-card:hover .flex-grow {
    align-items: center;
}

.product-card:hover .content {
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
}

.product-card:hover .description, .product-card:hover .viewAll {
    opacity: 1;
}

