/* Product grids and recommendation sliders share the same vertical card flow.
   Do not stretch Bootstrap's two wrapped rows: spare height belongs below the
   title, not between the image and the title. Horizontal list/detail layouts
   are deliberately excluded by .productbox-column. */
.ngi-modern .productbox-column .productbox-inner {
    display: flex;
    flex-direction: column;
}
.ngi-modern .productbox-column .productbox-inner > .row {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    min-height: 0;
}
.ngi-modern .productbox-column .productbox-inner > .row > .col {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.ngi-modern .productbox-column .productbox-inner > .row > .col:last-child {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}
.ngi-modern .productbox-column .productbox-inner > .row > .col:first-child > .productbox-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
}
.ngi-modern .productbox-column .productbox-title {
    flex: 0 0 auto;
    height: 2.8em;
    min-height: 2.8em;
    max-height: 2.8em;
    margin-top: 10px;
    overflow: hidden;
    font-size: .9375rem;
    line-height: 1.4;
}
.ngi-modern .productbox-column .productbox-title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: inherit;
    line-height: inherit;
}
.ngi-modern .productbox-column .ngi-quick-cart-card [itemprop="offers"] {
    margin-top: auto;
}
@media (max-width: 575.98px) {
    .ngi-modern .productbox-column .productbox-title {
        margin-top: 8px;
        font-size: .8rem;
    }
}
