/*******************************************************
Product list Styles
********************************************************/

/*******************************************************
Product list Topbar Styles
********************************************************/
.cat-name {
    margin: 32px 0 11px;
    font-weight: normal;
    font-size: 27px;
    line-height: 40px;
    letter-spacing: -1px;
    text-transform: capitalize;
}

.heading-counter {
    color: #5d5d5d;
    font-size: 13px;
    letter-spacing: 0;
}

.sortPagiBar-container {
    min-height: 48px;
    margin-top: 16px;
    margin-bottom: 20px;
    margin-left: 25.6%;
    border-bottom: 1px solid #eee;
}

.sortPagiBar {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    padding-left: 10px;
    background-color: #fff;
}

@media (max-width: 991px) {
    .sortPagiBar {
        margin-bottom: 0;
        padding: 5px 0 0 0;
    }
}

#productsSortForm {
    min-width: 220px;
    padding-right: 0;
}

#selectProductSort {
    height: 30px;
    min-height: unset;
    padding: 0 25px 0 5px;
    font-size: 12px;
}

.top-space {
    margin-top: 0 !important;
}

.sortPagiBar ul {
    display: inline-block;
    flex: auto;
    padding: 0;
    vertical-align: top;
}

.sortPagiBar ul li {
    display: inline-block;
    min-width: 49px;
    margin: 0 23px 0 0;
    vertical-align: top;
}

.sortPagiBar ul li a {
    color: #3d3d3d;
    font-weight: 600;
    font-size: 13px;
}

.sortPagiBar ul li a i {
    margin-right: 3px;
    color: #ccc;
    font-size: 16px;
    vertical-align: bottom;
}

.sortPagiBar .sorting-label {
    display: none;
}

#popularity-sort {
    float: left;
    width: 100%;
    height: 32px;
}

.products-sort-form {
    margin-left: -15px;
    padding-right: 15px;
}

#search .heading-counter {
    padding-left: 20px;
}

@media (min-width: 992px) {
    .products-sort-form {
        padding-right: 30px;
    }

    #search .products-sort-form {
        display: inline-block;
        padding-right: 0;
    }

    #search .sortPagiBar ul {
        margin-top: 0;
    }

    #search .content_sortPagiBar .sortPagiBar {
        margin-bottom: -10px;
        padding-left: 0;
    }

    .filter-sort-column {
        margin-top: -73px;
    }
}

#item-count {
    width: 90px;
    height: 32px;
}

.product-count {
    padding-top: 30px;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

.pagination-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pagination-tiles {
    text-align: center;
}

#pagination_bottom {
    margin: 5px 0 0;
}

@media (min-width: 768px) {
    .product-count {
        padding: 30px 0;
        text-align: left;
    }

    .pagination-container {
        flex-direction: row;
        align-items: center;
    }

    .pagination-tiles {
        text-align: right;
    }

    #pagination_bottom {
        margin: 17px 0;
    }
}

.pagination {
    margin: 10px 0;
}

.pagination li:hover a,
.pagination li.current a {
    background-color: #fff;
}

.pagination_previous > a,
.pagination_next > a {
    width: 35px !important;
    border: none !important;
}

.pagination_previous > a > i,
.pagination_next > a > i {
    font-weight: 800 !important;
}

.pagination > li > a,
.pagination > li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 40px;
    margin: 0 4px 0 0;
    padding: 5px !important;
    color: #3d3d3d !important;
    font-size: 16px;
    text-transform: capitalize;
    border-radius: 0 !important;
}

@media (max-width: 476px) {
    .pagination > li:last-child > a {
        margin-right: 0 !important;
    }
}

#product_list > #ajax-loader-content {
    position: absolute;
    top: 78px;
    z-index: 9999;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    border-radius: 10px;
}

#ajax-loader-content .loader {
    display: block;
    width: 60px;
    height: 60px;
    margin: auto;
    color: #000;
}

#product_list {
    position: relative;
}

@media (max-width: 768px) {
    /* Stretching the container with the product list */
    .product-list-container {
        margin-right: -22px !important;
        margin-left: -22px !important;
    }

    .search-header-found {
        margin-left: 15px !important;
    }

    .product-list-container.search-products-list-container {
        margin-right: -8px !important;
        margin-left: -8px !important;
    }
}

/* Grid */

@media (min-width: 768px) {
    .pl-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 30px -2% 0;
    }

    .pl-grid::after {
        content: '';
        flex: auto;
    }

    .pl-topcategory .pl-grid {
        margin-top: 0;
    }
}

/* Item */

.pl-item {
    position: relative;
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: 100%;
    margin: 0 auto 20px;
    padding: 15px 15px 8px;
    overflow: hidden;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    transition: box-shadow 0.1s;
    background-color: #fff;
}

.made-in-poland {
    margin-bottom: -10px;
    padding-top: 20px;
    font-size: 10px;
    color: #777;
}

.made-in-poland img {
    margin-right: 7px;
}

.cd-compatible-devices .pl-item,
.pl-grid.--fav .pl-item {
    width: auto;
}

@media (min-width: 992px) {
    .cd-compatible-devices .pl-item {
        width: 360px;
    }
}

body:not(.category-23) .pl-item.m--pro {
    border-color: #949494;
}

body:not(.category-23) .pl-item.m--pro::after,
body:not(.category-55) .pl-item.m--ultra::after {
    position: absolute;
    top: -1px;
    right: -1px;
    min-width: 68px;
    height: 25px;
    padding: 0 10px;
    background: url('/themes/media-center/img/ultra-pro/pro-v2.svg') right top no-repeat;
    border-bottom-left-radius: 10px;
    content: '';
}

body:not(.category-55) .pl-item.m--ultra {
    border-color: #484848;
}

body:not(.category-55) .pl-item.m--ultra::after {
    width: 78px;
    background-image: url('/themes/media-center/img/ultra-pro/ultra-v2.svg');
}

.pl-item a {
    color: #3b3b3b;
}

.pl-grid.--ebike {
    background-image: url("/themes/media-center/img/category-banners/tło_top_mobile_be.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top center;
    padding-top: 140px;
    margin: 0 -15px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 460px) {
    .pl-grid.--ebike {
        padding-top: 170px;
    }
}

@media (min-width: 550px) {
    .pl-grid.--ebike {
        padding-top: 200px;
    }
}

@media (min-width: 675px) {
    .pl-grid.--ebike {
        padding-top: 240px;
    }
}

@media (min-width: 768px) {
    .pl-item {
        width: 40%;
        margin-right: 5%;
        margin-left: 5%;
    }

    .pl-item:hover {
        z-index: 1;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .pl-grid.--cd .pl-item,
    .pl-grid.--fav .pl-item {
        width: 46%;
        margin-right: 2%;
        margin-left: 2%;
    }

    .pl-grid.--ebike {
        margin: 30px -2% 0;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 992px) {
    .pl-item {
        width: 29.3%;
        margin-right: 2%;
        margin-left: 2%;
        padding: 15px 20px;
    }

    .pl-topcategory .pl-item {
        width: 45%;
        margin-right: 2.5%;
        margin-left: 2.5%;
    }

    .pl-grid.--ebike {
        background-image: url("/themes/media-center/img/category-banners/tlo_desktop_grid_be.svg");
        background-size: 95%;
        background-repeat: no-repeat;
        background-position: top center;
        padding-top: 70px;
    }
}

@media (min-width: 1200px) {
    .pl-item {
        width: 21%;
        margin-right: 2%;
        margin-left: 2%;
    }

    .pl-topcategory .pl-item {
        width: 29.3%;
        margin-right: 2%;
        margin-left: 2%;
    }

    .pl-grid.--cd .pl-item,
    .pl-grid.--fav .pl-item {
        width: 29%;
        margin-right: 2%;
        margin-left: 2%;
    }

    .pl-grid.--cd.is-logged .pl-item {
        width: 23%;
        margin-right: 1%;
        margin-left: 1%;
    }

    .pl-item.--ebike-banner {
        margin-bottom: 40px !important;
    }

    .pl-grid.--ebike {
        background-size: 95.8%;
    }

    .products-list.--ebike {
        background-image: url("/themes/media-center/img/category-banners/tlo_desktop_list_be.svg");
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: top center;
        padding-top: 70px;
    }

    .product-item.--ebike-banner {
        margin-bottom: 40px !important;
    }
}

@media (min-width: 1350px) {
    .pl-grid.--ebike {
        background-size: 96%;
    }
}

/* Item: add to cart */

@media (max-width: 768px) {
    .pl-item-addtocart-btn {
        width: 43px !important;
        min-width: 0 !important;
        height: 43px !important;
        background: #fff url('/themes/media-center/img/crossselling-icon-buy-off.svg') center / 25px no-repeat;
        border: 1px solid #ff8104 !important;
        border-radius: 50% !important;
    }

    .pl-item-addtocart-btn:hover {
        background-color: #f90;
        background-image: url('/themes/media-center/img/crossselling-icon-buy.svg');
    }

    .pl-item-addtocart-btn.m--disabled {
        color: #ccc !important;
        background-color: #c6c6c6;
        background-image: url('/themes/media-center/img/crossselling-icon-buy.svg');
        border: none !important;
        cursor: not-allowed;
    }

    .pl-item-addtocart-btn > span {
        display: none;
    }
}

/* Item: features */

.pl-item-features {
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.5;
}

.pl-item-feature-label {
    color: #aaa;
}

/* Item: footer container */

.pl-item-footer-addtocart {
    flex: 0;
    order: 3;
    width: 50%;
    margin-left: auto;
    text-align: right;
}


@media (max-width: 767px) {
    .pl-item-footer-addtocart {
        margin-top: 20px;
    }
}

.pl-item-footer-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.pl-item-footer-features {
    flex: 2;
    align-self: flex-start;
    order: 0;
    min-width: 37%;
    margin-bottom: 4px;
}

.pl-item-footer-info {
    flex: 1 0 50%;
    order: 2;
}

.pl-item-footer-info.send-order {
    margin: 12px 0 0 !important;
}

.pl-item-footer-price {
    flex: 1;
    align-self: flex-end;
    order: 1;
    margin-bottom: 7px;
    margin-left: 15px;
}

@media (min-width: 768px) {
    .pl-item-footer-addtocart {
        flex: auto;
        align-self: flex-end;
        width: 100%;
        margin-top: 24px;
    }

    .pl-item-footer-container {
        margin-top: auto;
    }

    .pl-item-footer-features {
        flex: 1 0 100%;
        align-self: flex-start;
    }

    .pl-item-footer-info {
        align-self: flex-end;
        order: 1;
        width: auto;
        margin: 0;
    }

    .pl-item-footer-price {
        order: 2;
        margin: 0 0 -3px;
    }
}

/* Item: info */

.pl-item-info {
    position: relative;
    padding-left: 18px;
    font-size: 12px;
}

.pl-item-info .fa {
    position: absolute;
    top: 3px;
    left: 0;
    margin-right: 5px;
    color: #9c0;
}

/* Item: name */

.pl-item-name {
    display: -webkit-box;
    max-height: 2.8em;
    margin-bottom: 8px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.4em;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (min-width: 768px) {
    .pl-item-name {
        max-height: 4.2em;
        font-size: 18px;
        -webkit-line-clamp: 3;
    }
}

/* Item: price */

.pl-item-price {
    height: 20px;
    color: #aaa;
    text-decoration: line-through;
}

.pl-item-price-container {
    margin-left: auto;
    white-space: nowrap;
    text-align: right;
}

.pl-item-price-current {
    color: #3b3b3b;
    font-size: 28px;
    line-height: 1.2;
}

/* Item: reviews */

.pl-item-reviews {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 12px;
}

.pl-item-reviews-stars {
    display: flex;
    margin-right: 5px;
}

.pl-item-reviews-stars > img {
    width: 16px;
    height: 16px;
    margin-right: 2px;
}

/* Item: ribbon */

.pl-item .ribbon {
    top: -1px;
    left: -1px;
}

/* Item: separator */

.pl-item-separator {
    display: none;
    margin: 10px 0 -20px;
    border-bottom: 1px solid #efefef;
}

/* Item: thumbnail */

.pl-item-thumbnail > img {
    display: block;
    width: 100%;
    max-width: 246px;
    height: auto;
    max-height: 186px;
    margin: 0 auto;
}

.product-list-container .bold-feature {
    font-weight: 700;
}

/* Omnibus changes - lowest price */
.our_promotional_price_list {
    position: relative;
}

.price-with-code-wrapper {
    font-size: 11px;
    font-weight: 400;
    position: absolute;
    bottom: -12px;
    right: 0;
}

.price-with-code-wrapper.list-listening {
    bottom: -20px;
    min-width: 250px;
}

.omnibus-price-info {
    margin: 5px 2px;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.omnibus-price-info > span {
    display: inline-block;
    font-weight: 600;
}

@media (max-width: 476px) {
    .omnibus-price-info {
        text-align: left;
    }
}
