/* Container for the products section */
.products {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px 20px;
}

/* Container for each product */
.product-container {
    width: 250px;
    height: 350px;
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f9f9f9;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

/* Inner container for the flip card effect */
.flip-card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

/* Flip card effect on hover */
.product-container:hover .flip-card-inner,
.flip-card-back {
    transform: rotateY(180deg);
}

/* Front and back sides of the flip card */
.flip-card-front,
.flip-card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 1rem;
    border-radius: 10px;
}

/* Back side of the flip card */
.flip-card-back {
    background-color: #333;
    color: #fefefe;
    align-items: center;
}

/* Paragraph inside the back side of the flip card */
.flip-card-back p {
    width: 80%;
}

/* Links inside the back side of the flip card */
.flip-card-back a {
    color: #fefefe;
}

/* Image inside the product container */
.product-container img {
    border-radius: 10px;
}

/* Links inside the product container */
.product-container a {
    font-weight: bold;
}

/* Span inside the product container */
.product-container span {
    color: #777;
    font-size: 1.2em;
}

/* Container for the price section */
.price-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

/* Button inside the product container */
.product-container button {
    height: 40px;
    width: 80%;
    border-radius: 10px;
    text-align: center;
    background-color: #fefefe;
    color: #333;
    font-size: 1rem;
    border: none;
}

/* Hover effect for the button */
.product-container button:hover {
    height: 40px;
    width: 80%;
    border-radius: 10px;
    text-align: center;
    background-color: #ddd;
}
