.product-compact-card {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    background: #fff;
    margin: 6px;
    padding: 12px;
    width: 290px;
    border: 1px #c1c1c1 solid;
    border-radius: var(--border-radius);
    text-align: left;
    overflow: hidden;
}

:not(.product-row-card)>.product-compact-card:hover {
    box-shadow: #c1c1c1 0 0 21px -6px;
    transition: 0.2s;
}

.product-compact-card>*:not(:last-child) {
    margin-bottom: 4px;
}

.product-compact-card>.product-title,
.product-compact-card>.seller {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#add_wishlist {
    margin-top: 0 !important;
}

#add_wishlist:hover {
    cursor: pointer;
}


/* Image */

.product-compact-card>a {
    display:flex;
    position: relative;
    overflow: hidden;
}

.product-compact-card>a>img {
    max-height: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.grid-single > div > .product-compact-card > a > img {
    height: inherit;
}

a>.discount-circle {
    position: absolute;
    top: 0;
    left: 0;
    padding: 14px;
    border-radius: 100%;
    background: #ff0015;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 55px;
    height: 55px;
}

a>.discount-circle>b {
    margin-bottom: -3px;
}


/* Title */

.product-card-title {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block !important;
}

.product-card-title:focus {
    color: black;
}


/* Stars */

.product-compact-card>.product-rating {
    font-size: 19px;
    opacity: 0.9;
    margin-top: -4px;
}

.product-compact-card>.product-rating>img {
    height: 1em;
}


/* Prices */

.product-compact-card>.price {
    margin-top: -10px;
    margin-bottom: 4px;
}

.product-compact-card>.price>span {
    display: flex;
}

.product-compact-card>.price>span:first-of-type {
    min-height: 16px;
    text-decoration: line-through;
    opacity: 0.6;
}

.product-compact-card>.price>span:last-of-type {
    font-size: 1.3em;
    font-weight: 800;
}

.product-compact-card>.price>span>span {
    font-size: 0.8em;
}


/* Tags */

.product-compact-card>.extra-tags {
    /* display: inline-flex; */
    display: none !important;
}

.product-compact-card>.extra-tags>div:not(:last-of-type) {
    margin-right: 4px;
}

.product-card-btn {
    display: flex;
    align-items: center;
    color: white;
    border-radius: 28px;
    padding: 1px 5px;
    text-align: center;
    font-size: 0.7em;
}

.product-card-btn>img {
    height: 19px;
    margin-right: 5px;
}

.product-card-btn.main {
    background: black;
    padding: 5px 15px;
    font-size: 0.9em;
}

.product-card-btn.main:hover {
    cursor: pointer;
}

.product-card-btn.ocb-ask-quote {
    font-size: 11px;
    padding: 7px 13px;
    margin-left: 5px;
}

.product-card-btn.ocb-ask-quote > i {
    font-size: 15px;
    margin-right: 6px;
}

/* Options */

.product-compact-card>.options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.product-compact-card>.options>.stepper {
    border-radius: 5px;
    border: 0;
    margin-right: 8px;
    box-shadow: 0 0 0 1px #b7b7b7;
    width: 45px !important;
}

.product-compact-card>.options>.stepper>span {
    border: 0 !important;
}

.select-quantity-product {
    min-height: 25px;
    background-color: white;
    border: 1px solid #b7b7b7;
    border-radius: 4px;
}

.product-row-card .options > *, .product-compact-card .options > * {
    margin-top: 10px;
}

.swiper-wrapper>.product-compact-card {
    margin: 13px;
}

.main-products.product-grid {
    justify-content: space-between;
}


/* RESPONSIVE */

@media screen and (max-width: 650px) {
    .product-card-title {
        font-size: 12px !important;
    }
}

@media screen and (max-width: 570px) {
    .product-compact-card,
    #product-layout-scrolling {
        width: 100% !important;
        padding: 15px !important;
        font-size: 14px;
    }
}

@media screen and (min-width: 570px) and (max-width: 930px) {
    :not(.product-row-card)>.product-compact-card {
        width: calc(50% - 12px);
    }
}

@media screen and (min-width: 930px) and (max-width: 1150px) {
    .product-compact-card,
    #product-layout-scrolling {
        width: calc((100% / 2) - 16px) !important;
    }
}

@media screen and (min-width: 1150px) and (max-width: 1420px) {
    .product-compact-card,
    #product-layout-scrolling {
        width: calc((100% / 3) - 16px) !important;
        padding: 16px !important;
    }
}

@media screen and (min-width: 1420px) and (max-width: 1920px) {
    .product-compact-card,
    #product-layout-scrolling {
        width: calc((100% / 4) - 16px) !important;
    }
}

/* PRODUCTS NEW LISTS */

/* Grid */

.carousel-inner.grid-4 > .item {
    height: inherit;
}

.product-4-grid {
    display: flex;
    flex-wrap: wrap;
    height: inherit;
}

.product-4-grid > div {
    width: calc(50% - 12px) !important;
    height: calc(50% - 12px) !important;
    margin: 6px !important;
}

.product-4-grid > .product-compact-card > a {
    display: flex;
}

.product-4-grid > .product-compact-card > a > img {
    height: 100%;
}

/* List */

.product-list-2,
.product-list-4 {
    display: flex;
/*height: 350px;*/
}

.product-list-2 {
width: 100%;
}

.product-list-2 > div {
width: calc(50% - 12px) !important;
height: inherit !important;
margin: 6px !important;
}

.product-list-4 > div {
width: calc(25% - 12px) !important;
height: calc(100% - 12px) !important;
margin: 6px !important;
}

.carousel-inner.grid-4,
.carousel-inner.grid-single {
height: 500px !important;
}

@media screen and (max-width: 650px) {
    .carousel-inner.grid-4,
    .carousel-inner.grid-single {
        height: auto !important;
    }
}
/* Single */

.carousel-inner.grid-single > .item {
    height: inherit;
}

.carousel-inner.grid-single > .item > div {
    width: calc(100% - 12px) !important;
    height: calc(100% - 12px) !important;
}

.carousel-inner.grid-single > .item > .product-compact-card {
    margin: 6px !important;
}

.carousel-control {
    background: none !important;
    color: black !important;
    opacity: 1 !important;
    width: 8% !important;
    display: flex !important;
    align-items: center !important;
    z-index: 100;
    font-size: 50px;
    justify-content: center;
}

.carousel-control.left.inside-arrow,
.carousel-control.right.inside-arrow {
    width: 30px !important;
}

.carousel-control.left.inside-arrow {
    left: 10px;
}

.carousel-control.right.inside-arrow {
    right: 10px;
}