.home-features {
    padding: 42px 0 54px;
    background: #f3f5f7;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.home-feature {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce2e7;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(29, 52, 68, .07);
}

.home-feature--overview {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    min-height: 360px;
    border-top: 4px solid #018ccf;
}

.home-feature__media {
    display: flex;
    height: 235px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #124a91;
}

.home-feature--overview .home-feature__media {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 356px;
}

.home-feature__media img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 18px;
    object-fit: contain;
}

.home-feature__body {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 28px 28px;
}

.home-feature--overview .home-feature__body {
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
    padding: 34px 38px;
}

.home-feature__title {
    margin: 0 0 14px;
    padding: 0;
    color: #075b86;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
}

.home-feature--overview .home-feature__title {
    font-size: 32px;
}

.home-feature__title a {
    color: inherit;
    text-decoration: none;
}

.home-feature__title a:hover,
.home-feature__title a:focus {
    color: #018ccf;
}

.home-feature__intro {
    margin: 0 0 14px;
    color: #34444f;
    font-size: 16px;
    line-height: 1.55;
}

.home-feature__benefits {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.home-feature__benefits li {
    position: relative;
    margin: 0 0 9px;
    padding-left: 20px;
    color: #34444f;
    font-size: 15px;
    line-height: 1.5;
}

.home-feature__benefits li::before {
    position: absolute;
    top: 8px;
    left: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #018ccf;
    content: "";
}

.home-feature__highlight {
    margin: 0 0 22px;
    padding: 12px 14px;
    border-left: 3px solid #4f9b62;
    background: #f1f7f2;
    color: #284b31;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.home-feature__cta {
    display: inline-flex;
    min-height: 40px;
    margin-top: auto;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid #018ccf;
    border-radius: 3px;
    background: #018ccf;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.home-feature__cta:hover,
.home-feature__cta:focus {
    background: #fff;
    color: #0177ad;
    text-decoration: none;
}

.home-feature__cta span {
    font-size: 22px;
    line-height: 16px;
}

@media (max-width: 991px) {
    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-feature--overview {
        grid-column: auto;
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    }
}

@media (max-width: 767px) {
    .box-sanpham .nbs-flexisel-item {
        width: calc(50% - .5px) !important;
    }

    .home-features {
        padding: 28px 0 38px;
    }

    .home-feature-grid {
        gap: 18px;
    }

    .home-feature--overview {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .home-feature__media,
    .home-feature--overview .home-feature__media {
        width: 100%;
        height: 205px;
        min-height: 205px;
    }

    .home-feature__media img {
        padding: 12px;
    }

    .home-feature__body,
    .home-feature--overview .home-feature__body {
        padding: 23px 20px 25px;
    }

    .home-feature__title,
    .home-feature--overview .home-feature__title {
        font-size: 24px;
    }

    .home-feature__intro {
        font-size: 15px;
    }

    .home-feature__cta {
        width: 100%;
        justify-content: center;
    }

    .box-sanpham .nbs-flexisel-item .product-item {
        min-height: 245px;
        padding: 7px;
    }

    .box-sanpham .nbs-flexisel-item .product-thumbnail {
        display: flex;
        height: 175px;
        align-items: center;
        justify-content: center;
    }

    .box-sanpham .nbs-flexisel-item .product-thumbnail a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .box-sanpham .nbs-flexisel-item .product-thumbnail img {
        width: 100%;
        height: 100%;
        padding: 4px;
        object-fit: contain;
    }

    .box-sanpham .nbs-flexisel-item .product-info a.product-title {
        display: -webkit-box;
        min-height: 40px;
        overflow: hidden;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 14px;
        line-height: 1.4;
        text-overflow: ellipsis;
    }
}

@media (max-width: 380px) {
    .box-sanpham .nbs-flexisel-item .product-item {
        min-height: 225px;
    }

    .box-sanpham .nbs-flexisel-item .product-thumbnail {
        height: 155px;
    }

    .box-sanpham .nbs-flexisel-item .product-info a.product-title {
        font-size: 13px;
    }
}
