
.card:hover {
    box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3);
}

/****** AUTO BRAND *******/
.card.card-auto-brand {
    height: 48px;
    overflow: hidden;
}

.card.card-auto-brand .auto-brand-logo-sm,
.card.card-auto-brand .auto-brand-info-sm {
    padding: 0;
}

.card.card-auto-brand .auto-brand-logo-sm img {
    margin-top: -16px;
    max-height: 36px;
}

.card.card-auto-brand .auto-brand-info-sm {
    padding-left: 8px;
}
.card.card-auto-brand .auto-brand-info-sm a {
    margin-top: -5px;
    font-size: 14px;
    display: block;
    white-space: nowrap;
    text-decoration: none;
    color: #000000;
}

/****** PART BRAND *******/
.card.card-part-brand {
    margin-bottom: 10px;
    text-align: center;
}

.card.card-part-brand .card-title {
    overflow: hidden;
}

.card.card-part-brand a.h5 {
    text-decoration: none;
    color: #545454;
}
.card.card-part-brand:hover a.h5 {
    color: #9C1F2D;
}

.card.card-part-brand .img-wrapper {
    height: 200px;
    overflow: hidden;
}

.card.card-part-brand .img-wrapper img {
    height: 168px;
}
/****** PART BRAND ON LINE *******/
.card.card-part-brand-online {
    overflow: hidden;
}

.card.card-part-brand-online .img-wrapper {
    height: 100px;
    overflow: hidden;
}

.card.card-part-brand-online .img-wrapper img {
    height: 100px;
}
/********** CATALOGS ****************/

a.card.card-catalog {
    height: 300px;
    text-align: center;
}

a.card.card-catalog .catalog-title {
    position: absolute;
    left: 10px;
    bottom: 5px;
}

@media (max-width: 576px) {
    a.card.card-catalog .figure img {
        height: 275px;
    }
}

/********** ITEM ****************/

.card.card-item {
    z-index: 0;
    margin-bottom: 10px;
    text-align: center;
}

.card.card-item .item-info {
    font-family: "Oswald", sans-serif;
    font-size: 0.75rem;
    margin-bottom: 3px;
    margin-top: 3px;
}

.card.card-item .card-title {
    font-family: "Oswald", sans-serif;
    height: 48px;
    overflow: hidden;
}

.card.card-item .price .add-to-cart {
    margin-top: -8px;
}

.card.card-item a.h5 {
    text-decoration: none;
    margin-bottom: 14px;
    color: #545454;
}

.card.card-item .availability {
    color: #198754;
    font-size: 12px;
}

.card.card-item:hover a.h5 {
    color: #9C1F2D;
}

.card.card-item:hover {
    z-index: 4;
}

.card.card-item .img-wrapper {
    height: 215px;
    overflow: hidden;
}

.card.card-item .img-wrapper-sm img {
    height: 175px;
}

.card.card-item .additional-content-wrap {
    position: absolute;
    top: 0;
    left: -1px;
    right: -1px;
    bottom: 0;
    visibility: hidden;
    transform: scaleY(.8);
    transform-origin: top;
    transition: transform .2s ease-out;
    z-index: -1;
    backface-visibility: hidden;
}

.card.card-item .additional-content-wrap:before {
    content: "";
    float: left;
    height: 100%;
    width: 100%;
}

.card.card-item .additional-content {
    position: relative;
    top: -1px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, .5);
    border-radius: 3px;
}

.card.card-item:hover .additional-content-wrap {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

/*.card.card-item .img-wrapper img.img-fluid {*/
/*    height: 100%;*/
/*}*/

@media (max-width: 1199px) {
    .card.card-item .img-wrapper {
        height: 160px;
    }
}

@media (max-width: 991px) {
    .card.card-item .img-wrapper {
        height: 288px;
    }
}

@media (max-width: 767px) {
    .card.card-item .img-wrapper {
        height: 200px;
    }
}
/***********************/
.ribbon {
    position: absolute;
    right: -5px; top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px; height: 75px;
    text-align: right;
}
.ribbon span {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #9c1f2d;
    background: linear-gradient(#F70505 0%, #9c1f2d 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px; right: -21px;
}
.ribbon span::before {
    content: "";
    position: absolute; left: 0; top: 100%;
    z-index: -1;
    border-left: 3px solid #9c1f2d;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #9c1f2d;
}
.ribbon span::after {
    content: "";
    position: absolute; right: 0; top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-right: 3px solid #8F0808;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #8F0808;
}

.card-viewed h6.title {
    height: 58px;
    overflow-y: hidden;
    text-decoration: none;
    color: #545454;
}
.card-viewed .img-wrap {
    height: 175px;
    overflow: hidden;
}

.home-page-catalog-img {
    max-height: 275px;
}
