/* Products Section */
.products {
    padding: 6em 2em;
    background-color: var(--color-white);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 3em;
}

/* Product Items */
.product-item {
    display: flex;
    align-items: center;
    gap: var(--g-gap);
    margin-bottom: 4em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.product-item.reverse {
    flex-direction: row-reverse;
}

/* Product Image */
.product-image {
    flex: 1 1 400px;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.product-image img:hover {
    transform: scale(1.05);
}

/* Product Text */
.product-text {
    flex: 1 1 400px;
    text-align: left;
}

.product-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8em;
    color: var(--color-primary);
}

.product-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text);
}

/* Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Responsive */
@media screen and (max-width: 992px) {
    .product-item {
        flex-direction: column;
        text-align: center;
    }

    .product-item.reverse {
        flex-direction: column;
    }

    .product-text {
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2em;
    }

    .product-text h3 {
        font-size: 1.5rem;
    }

    .product-text p {
        font-size: 1rem;
    }
}