/* ==========================================================================
   RESPONSIVE - All media queries and mobile adaptations
   ========================================================================== */

   Product Split Layout - Alternating Image/Text
   ======================================== */

.product-split {
    padding: 40px 0;
}

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

.product-image-wrapper img {
    max-width: 500px;
    width: 100%;
    border-radius: 12px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e57c7;
    margin-bottom: 0.5rem;
}

.product-subtitle {
    font-size: 1.1rem;
    color: #808eb1;
    margin-bottom: 0;
}

.product-content {
    padding: 20px 0;
}

/* Desktop: Align button right for text-left products */
@media (min-width: 992px) {
    .product-content.pe-lg-4 .btn {
        float: right;
    }

    /* Reduce gap between image-left and text-right */
    .product-content.ps-lg-4 {
        padding-left: 0.5rem !important;
    }

    /* Reduce right padding on image column when image is on the left */
    .product-split > .col-lg-6.order-lg-1:has(.product-image-wrapper) {
        padding-right: 0.5rem;
    }

    /* Align image to the right when image column is on the left */
    .product-split > .col-lg-6.order-lg-1 .product-image-wrapper {
        text-align: right;
    }

    /* Override flex for image columns on the left */
    #products .product-split > .col-lg-6.order-lg-1:has(.product-image-wrapper) {
        display: block;
    }
}

/* Mobile: Alternating image/text layout */
@media (max-width: 991.98px) {
    .product-split {
        position: relative;
        padding: 15px 0;
        min-height: 280px;
        overflow: hidden;
    }

    /* Image column: faded background on one side */
    .product-split > [class*="col-lg-6"]:has(.product-image-wrapper) {
        position: absolute;
        top: 0;
        width: 45%;
        height: 100%;
        padding: 10px;
        z-index: 0;
    }

    .product-image-wrapper {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
    }

    .product-image-wrapper img {
        width: 100%;
        height: 100%;
        max-height: 260px;
        object-fit: contain;
    }

    /* Text column: full width */
    .product-split > [class*="col-lg-6"]:has(.product-content) {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .product-content {
        padding: 20px 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .product-content .text-muted {
        font-size: 0.9rem;
        max-width: 55%;
    }

    /* Title and subtitle always centered */
    .product-title,
    .product-subtitle {
        text-align: center;
        width: 100%;
    }

    .product-title {
        font-size: 1.4rem;
    }

    .product-subtitle {
        font-size: 0.85rem;
    }

    .product-content .btn {
        margin-top: 10px;
        align-self: center;
    }

    /* ODD products (1st, 3rd): Image LEFT, Description RIGHT */
    .product-split:nth-child(odd) > [class*="col-lg-6"]:has(.product-image-wrapper) {
        left: 0;
    }

    .product-split:nth-child(odd) .product-content .text-muted {
        text-align: left;
        align-self: flex-end;
    }

    /* EVEN products (2nd, 4th): Image RIGHT, Description LEFT */
    .product-split:nth-child(even) > [class*="col-lg-6"]:has(.product-image-wrapper) {
        left: auto;
        right: 0;
    }

    .product-split:nth-child(even) .product-content .text-muted {
        text-align: right;
        align-self: flex-start;
    }
}

/* ========================================
   End Product Split Layout
   ======================================== */

/* ePRO Product Page - Feature list styling */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 17px;
}

.feature-list li:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c";
    color: #528fcf;
    font-size: 14px;
    position: absolute;
    left: 0;
    top: 3px;
}

/* Proof point quote box */
.proof-point {
    background: rgba(82, 143, 207, 0.08);
    border-left: 4px solid #528fcf;
    border-radius: 8px;
}

.proof-point .lead {
    font-style: italic;
    color: #404b67;
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 767.98px) {
    .feature-list {
        text-align: left;
    }

    .proof-point {
        padding: 20px !important;
    }

    .proof-point .lead {
        font-size: 1rem;
    }
}


