/* =========================================================
   NLEQ FEATURED PRODUCTS
   ========================================================= */

   .nleq-featured-products {
    width: 100%;
    margin: 0 auto;
}


/* =========================================================
   GRID
   ========================================================= */

.nleq-featured-grid {
    display: grid;
    grid-template-columns: repeat(
        var(--nleq-columns),
        minmax(0, 1fr)
    );
    gap: 30px;
    width: 100%;
}


/* =========================================================
   CARD
   ========================================================= */

.nleq-featured-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dddddd;
    box-sizing: border-box;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.nleq-featured-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   IMAGE
   ========================================================= */

.nleq-featured-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3f3f3;
}

.nleq-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nleq-featured-card:hover
.nleq-featured-image img {
    transform: scale(1.04);
}


/* No image */

.nleq-featured-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #777777;
    font-size: 14px;
}


/* =========================================================
   CONTENT
   ========================================================= */

.nleq-featured-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 20px 24px;
}


/* =========================================================
   TYPE
   ========================================================= */

.nleq-featured-type {
    margin: 0 0 10px;
    color: #E00101;
    font-size: 12px;
    line-height: 1.4;
}


/* =========================================================
   EQUIPMENT NAME
   ========================================================= */

.nleq-featured-title {
    margin: 0 0 18px;
    color: #222222;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
}

.nleq-featured-title a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   PRICE
   ========================================================= */

.nleq-featured-price {
    margin-top: auto;
    margin-bottom: 20px;
    color: #4B5563;
    font-size: 16px;
    line-height: 1.3;
}


/* =========================================================
   VIEW DETAILS
   ========================================================= */

.nleq-featured-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 11px 18px;
    box-sizing: border-box;

    background: #00000000;
    border-style: dashed;
    border-width: 1px;
    border-color: #E00101;

    color: #E00101;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;

    text-align: center;
    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.nleq-featured-button:hover {
    background: #ffffff;
    border-color: #222222;
    color: #222222;
    text-decoration: none;
}

.nleq-button-disabled {
    opacity: 0.6;
    cursor: default;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .nleq-featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .nleq-featured-content {
        padding: 18px 16px 20px;
    }

    .nleq-featured-title {
        font-size: 18px;
    }

    .nleq-featured-price {
        font-size: 20px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .nleq-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .nleq-featured-content {
        padding: 16px 14px 18px;
    }

    .nleq-featured-type {
        font-size: 13px;
    }

    .nleq-featured-title {
        font-size: 17px;
        margin-bottom: 14px;
    }

    .nleq-featured-price {
        font-size: 19px;
        margin-bottom: 16px;
    }

    .nleq-featured-button {
        min-height: 42px;
        padding: 9px 12px;
        font-size: 14px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .nleq-featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nleq-featured-image {
        aspect-ratio: 16 / 10;
    }
}