.product-compact-card {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    background: white;
    margin: 10px 6px;
    padding: 18px;
    width: 290px;
    border: 1px #c1c1c1 solid;
    border-radius: 20px;
    text-align: left;
    overflow: hidden;
}

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

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

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

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

#add_wishlist:hover {
    cursor: pointer;
}


/* Image */

.product-compact-card>a {
    position: relative;
}

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

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

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


/* Title */

.product-card-title {
    font-size: 1.1em;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.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;
}

.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: inline-flex;
    align-items: center;
}

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

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

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

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

.main-products.product-grid::after {
    content: "";
    flex: auto;
}

.module-filter .panel-title {
    text-transform: uppercase;
}

.mobile-filter-container .modal-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
}

.mobile-filter-container .modal-footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-top: none;
}

.mobile-filter-container .clean-filters {
    color: #0C5ED9;
    cursor: pointer;
}

.mobile-filter-container .apply-filters {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    background-color: #c1c1c1;
    color: black;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
}

.mobile-filter-container h4 {
    margin: 0;
    text-align: left;
}

.mobile-filter-container .modal-dialog {
    max-height: 80vh;
}

.mobile-filter-container .modal-body > .content {
    max-height: 65vh;
    overflow-y: auto;
}

.mobile-filter-container .subitems {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.mobile-filter-container .subitems:not(:last-child) {
    padding-bottom: 10px;
    border-bottom: 1px solid #c1c1c1;
    margin-bottom: 15px;
}

.mobile-filter-container .subitems > .subitem {
    width: 47.5%;
    border: 1px solid #c1c1c1;
    border-radius: 20px;
    background-color: white;
    color: black;
    cursor: pointer;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-filter-container .subitems > .subitem.active {
    background-color: black;
    color: white;
}

.product-promo {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.product-promo-label {
    margin-right: 5px;
    width: 30px;
    height: 30px;
    background-size: 30px;
    background-image: url(/static/catalog/coupon-icon-color.svg);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-45deg);
    color: white;
}


/* 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;
    }
}
