@media screen and (min-width: 600px) {
    div.nb-items div.nb-item {
        width: 50%;
    }
}

@media screen and (min-width: 991px) {
    div.nb-items div.nb-item {
        margin: 0;
    }

    div.nb-items.per-row-2>.nb-item {
        width: 50%;
    }

    div.nb-items.per-row-3>.nb-item {
        width: 33.333333%;
    }

    div.nb-items.per-row-4>.nb-item {
        width: 25%;
    }
}

div.nb-items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}

div.nb-item {
    width: 100%;
    max-width: 25em;
    padding: 1.2em;
    margin-left: auto;
    margin-right: auto;
    display: inline-block
}

div.nb-item-inner {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 0.9em;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

div.nb-img {
    height: 200px;
    overflow: hidden;
}

div.nb-img.compat-object-fit {
    background-size: cover;
    background-position: center center;
}

div.nb-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

div.nb-img.compat-object-fit img {
    display: none;
}

div.nb-content h4 {
    margin: 0;
    padding: 0.6em 0;
}

div.nb-content {
    padding: 0.6em 1.2em;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

div.nb-content ul,
div.nb-content ol {
    margin-left: 1em;
}

div.nb-description {
    font-size: 1em;
}

div.nb-price {
    display: inline;
    padding: 1.2em;
}

div.nb-price h4 {
    display: inline;
}

div.nb-button-group {
    padding: 0 1.2em 1.8em 0;
    display: inline;
    float: right;
}

div.nb-button-group.expanded {
    padding: 0;
    display: block;
    width: 100%;
    float: none;
    margin-top: 1.2em;
}

div.nb-button-group.expanded a.nb-button {
    display: inline-block;
    width: calc(50% - 1px);
    text-align: center;
    border-radius: 0;
}

div.nb-button-group.expanded a.nb-button:nth-child(2) {
    width: calc(50%);
}

div.nb-button-group.expanded a.nb-button:only-child {
    width: 100%;
}

div.nb-expand {
    text-align: center;
    margin-bottom: 0.9em;
}

div.nb-item-inner a.nb-button {
    font-size: 0.8em;
    -webkit-text-decoration-line: none;
    text-decoration-line: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 12px 1em;
    border-radius: 5px;
    -webkit-transition: background-color .25s ease-out, color .25s ease-out;
    transition: background-color .25s ease-out, color .25s ease-out;
}

div.nb-button-group a.nb-button:first-child {
    margin-right: 0.6em;
}

div.nb-button-group.expanded a.nb-button:first-child {
    margin-right: 1px;
}