/**
 * Product Cards Section Styles
 * Static 2-column grid for product showcase
 * 
 * @package lifesolutions
 */

.section-product-cards {
    padding: 80px 0 21px;
    background-color: #ffffff;
}

/* Title */
.product-cards__title {
    color: #1a1a1a;
    margin-bottom: 50px;
}

/* Grid - 2 columns */
.product-cards__grid {
    margin-bottom: 48px;
    position: relative;
}

.product-cards__grid .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Card */
.product-cards__card {

    background-color: #F5F5F5;
    border-radius: 16px;
    padding: 41px 38px;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.product-cards__card-wrapper {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}

.product-cards__card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 54%;
    z-index: 1;
}

/* Product Title */
.product-cards__card-title {
    color: #004789;
    margin-bottom: 19px;
    margin-top: 0;
}

/* Feature Icons (water options) */
.product-cards__card-features {
    display: flex;
    gap: 10px;
    margin-bottom: 21px;
}

.product-cards__card-feature {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #ffffff;
    color: #004789;
    border: 1px solid #fff;
}

.product-cards__card-feature--cold,
.product-cards__card-feature--chilled {
    color: #0066CC;
}

.product-cards__card-feature--hot,
.product-cards__card-feature--boiling {
    color: #E53935;
}

.product-cards__card-feature--sparkling,
.product-cards__card-feature--soda {
    color: #0097A7;
}

/* Sector Tags */
.product-cards__card-sectors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: auto;
}

.product-cards__card-sector {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid #004789;
    border-radius: 100px;
    color: #004789;
}

/* View Product Link */
.product-cards__card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 126px;
    padding: 12px 24px;
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.product-cards__card-link:hover {
    background-color: #004789;
    border-color: #004789;
    color: #ffffff;
}

.product-cards__card-link svg {
    transition: transform 0.3s ease;
}

.product-cards__card-link:hover svg {
    transform: translateX(4px);
}

/* Product Image */
.product-cards__card-image {
    width: 45%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0;
}

.product-cards__card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

/* Card Hover Effects - Image scale only */
.product-cards__card:hover .product-cards__card-image img {
    transform: scale(1.08);
}

/* Footer with Explore Button */
.product-cards__footer {
    display: flex;
    justify-content: center;
}

.product-cards__explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background-color: #004789;
    color: #ffffff;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-cards__explore-btn:hover {
    background-color: #003366;
}


/* Responsive */

@media (min-width: 768px) {
    .product-cards__card-link.hide-desktop {
        display: none;
    }
}

@media (max-width: 991px) {
    .product-cards__title {
        margin-bottom: 32px;
    }

    .product-cards__grid .swiper-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-cards__card {
        min-height: 280px;
    }

    .product-cards__card-content {
        max-width: 55%;
    }

    .product-cards__card-title {
        font-size: 24px;
    }
}

@media (max-width: 767px) {

    .section-product-cards {
        padding: 32px 0 9px;
        overflow: hidden;
    }

    .product-cards__title {
        margin-bottom: 31px;
    }


    .product-cards__card {
        flex-direction: column;
        min-height: auto;
        padding: 30px 20px 34px;
        text-align: center;
    }

    .product-cards__card-content {
        max-width: 100%;
        order: 1;
        text-align: center;
        margin-bottom: 34px;
    }

    .product-cards__card-image {
        position: relative;
        width: 100%;
        height: 180px;
        order: 2;
        margin-bottom: 16px;
        padding: 0;
        justify-content: center;
    }

    .product-cards__card-title {
        font-size: 22px;
    }

    .product-cards__card-link {
        justify-content: center;
        margin-top: 26px;
    }

    .product-cards__grid {
        margin-bottom: 32px;
        padding-bottom: 30px;
        overflow: visible;
        /* Space for pagination */
    }

    .product-cards__grid .swiper-wrapper {
        display: flex;
        gap: 0;
    }


    /* Keep pagination visible */
    .product-cards__grid .swiper-pagination {
        bottom: 0px;
    }

    .product-cards__grid .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: #D9D9D9;
        opacity: 1;
        margin: 0 5px;
    }

    .product-cards__grid .swiper-pagination-bullet-active {
        background: #004789;
        width: 24px;
        border-radius: 4px;
    }

    .industry-intro__benefits {
        padding: 73px 0 91px;
    }

    .product-cards__card-features {
        justify-content: center;
    }

    .product-cards__card-features {
        justify-content: center;
        margin-bottom: 17px;
    }

    .product-cards__card-sectors {
        justify-content: center;
    }

    .product-cards__footer {
        justify-content: flex-start;
    }
}