.cnx-products {
    width: 100%;
    padding: 75px 4%;
    background: #fff;
}

.cnx-products-wrap {
    width: 100%;
    max-width: 1820px;
    margin: 0 auto;
}

.cnx-products-head {
    display: flex;
    align-items: flex-end;
    margin-bottom: 36px;
}

.cnx-products-intro {
    max-width: 650px;
}

.cnx-red-line {
    display: block;
    width: 47px;
    height: 4px;
    background: #990000;
    margin-bottom: 16px;
}

.cnx-eyebrow {
    color: #990000;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
}

.cnx-main-title {
    margin: 0 0 14px;
    color: #222334;
    font-size: 50px;
    font-weight: 800;
}

.cnx-main-description {
    color: #747783;
    font-size: 17px;
    line-height: 1.55;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.cnx-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* =========================================================
   PRODUCT BOX
========================================================= */

.cnx-machine-card {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 285px;
    overflow: hidden;
    border-radius: 18px;
    background: #f5f6f8;

    border: 1px solid #222;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.15);

    transition:
        box-shadow 0.3s ease;
}

.cnx-machine-card:hover {
    box-shadow:
        0 0 20px 0 rgba(0, 0, 0, 0.5);
}


/* =========================================================
   DARK PRODUCT INFORMATION
========================================================= */

.cnx-machine-details {
    position: relative;
    padding: 28px 25px;
    color: #fff;
    background: #222334;
}


/* =========================================================
   RED LINE
========================================================= */

.cnx-card-line {
    display: block;
    width: 42px;
    height: 3px;
    background: #990000;
    margin-bottom: 20px;
}


/* =========================================================
   PRODUCT NAME
========================================================= */

.cnx-machine-name {
    margin: 0 0 17px;
    font-size: 26px;
    color: #fff;
}


/* =========================================================
   PRODUCT DESCRIPTION
========================================================= */

.cnx-machine-text {
    max-width: 230px;
    color: rgba(255,255,255,.84);
    font-size: 14px;
    line-height: 1.48;
}


/* =========================================================
   PRODUCT BUTTON
========================================================= */

.cnx-machine-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* Slightly larger because arrow was removed */
    min-width: 125px;

    padding: 13px 23px;

    margin-top: 23px;

    border-radius: 30px;

    background: #990000;
    color: #fff;

    font-size: 14px;
    font-weight: 700;

    /*
       IMPORTANT:
       Keep the 2px border permanently transparent.
       This prevents the layout from moving when hovered.
    */
    border: 2px solid transparent;

    box-sizing: border-box;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}


/* =========================================================
   BUTTON HOVER
========================================================= */

.cnx-machine-btn:hover {
    color: #fff;
    background: #222334;
    border: 2px solid #990000;
}


/* =========================================================
   PRODUCT IMAGE - 01
========================================================= */

.cnx-machine-visual {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    overflow: hidden;
}

.cnx-machine-visual img {
    width: 94%;
    height: 94%;

    object-fit: contain;

    transform: scale(1.20);

    rotate: 1deg;

    transform-origin: center left;

    transition: transform 0.35s ease;
}


/* =========================================================
   PRODUCT IMAGE - 02
========================================================= */

.cnx-machine-visual1 {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    overflow: hidden;
}

.cnx-machine-visual1 img {
    width: 89%;
    height: 94%;

    object-fit: contain;

    transform: scale(1.20);

    transform-origin: center center;

    transition: transform 0.35s ease;
}


/* =========================================================
   PRODUCT IMAGE - 03
========================================================= */

.cnx-machine-visual2 {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    overflow: hidden;
}

.cnx-machine-visual2 img {
    width: 95%;
    height: 94%;

    object-fit: contain;

    transform: scale(1.20);

    transform-origin: center center;

    
}


/* =========================================================
   PRODUCT IMAGE - 04
========================================================= */

.cnx-machine-visual3 {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    overflow: hidden;
}

.cnx-machine-visual3 img {
    width: 90%;
    height: 94%;

    object-fit: contain;

    transform: scale(1.20);

    transform-origin: center center;

    transition: transform 0.35s ease;
}


/* =========================================================
   PRODUCT IMAGE - 05
========================================================= */

.cnx-machine-visual4 {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    overflow: hidden;
}

.cnx-machine-visual4 img {
    width: 94%;
    height: 94%;

    object-fit: contain;

    transform: scale(1.20);

    transform-origin: center center;

    transition: transform 0.35s ease;
}


/* =========================================================
   PRODUCT IMAGE - 06
========================================================= */

.cnx-machine-visual5 {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    overflow: hidden;
}

.cnx-machine-visual5 img {
    width: 94%;
    height: 94%;

    object-fit: contain;

    transform: scale(1.20);

    transform-origin: center center;

    transition: transform 0.35s ease;
}


/* =========================================================
   PRODUCT IMAGE - 07
========================================================= */

.cnx-machine-visual6 {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    overflow: hidden;
}

.cnx-machine-visual6 img {
    width: 98%;
    height: 94%;

    object-fit: contain;

    transform: scale(1.20);

    transform-origin: center center;

    transition: transform 0.35s ease;
}


/* =========================================================
   PRODUCT IMAGE - 08
========================================================= */

.cnx-machine-visual7 {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    overflow: hidden;
}

.cnx-machine-visual7 img {
    width: 97%;
    height: 94%;

    object-fit: contain;

    transform: scale(1.20);

    transform-origin: center center;

    transition: transform 0.35s ease;
}


/* =========================================================
   PRODUCT IMAGE - 09
========================================================= */

.cnx-machine-visual8 {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    overflow: hidden;
}

.cnx-machine-visual8 img {
    width: 90%;
    height: 94%;

    object-fit: contain;

    transform: scale(1.20);

    transform-origin: center center;

    transition: transform 0.35s ease;
}


/* =========================================================
   PRODUCT IMAGE - 10
========================================================= */

.cnx-machine-visual9 {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    overflow: hidden;
}

.cnx-machine-visual9 img {
    width: 94%;
    height: 94%;

    object-fit: contain;

    transform: scale(1.20);

    transform-origin: center center;

    transition: transform 0.35s ease;
}


/* =========================================================
   IMAGE HOVER
========================================================= */




/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1250px) {

    .cnx-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 800px) {

    .cnx-products {
        padding: 55px 22px;
    }

    .cnx-featured-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 550px) {

    .cnx-products {
        padding: 45px 15px;
    }

    .cnx-main-title {
        font-size: 34px;
    }

    .cnx-main-description {
        font-size: 15px;
    }

    .cnx-machine-card {
        display: flex;
        flex-direction: column;
    }

    .cnx-machine-details {
        min-height: 275px;
    }

    .cnx-machine-visual,
    .cnx-machine-visual1,
    .cnx-machine-visual2,
    .cnx-machine-visual3,
    .cnx-machine-visual4,
    .cnx-machine-visual5,
    .cnx-machine-visual6,
    .cnx-machine-visual7,
    .cnx-machine-visual8,
    .cnx-machine-visual9 {
        height: 270px;
        min-height: 270px;
    }

}