.ld-infinite-feed { clear: both; margin: 30px 0 0; }
.ld-infinite-feed.tab-pane { margin-top: 0; }
.ld-feed-products { clear: both; }
#ld-feed-product .ld-feed-products {
    display: flex;
    flex-wrap: wrap;
}
#ld-feed-product .ld-feed-products > li.ld-feed-pending {
    visibility: hidden !important;
}
#ld-feed-product .ld-feed-all-heading {
    clear: both;
    margin-top: 30px;
}
#ld-category-products .ld-feed-all-heading {
    clear: both;
    margin-top: 30px;
}
#ld-search-products .ld-feed-all-heading {
    clear: both;
    margin: 30px 0 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid #d6d4d4;
}
#ld-sale-products .ld-feed-all-heading {
    clear: both;
    margin: 36px 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #d6d4d4;
}
@media (min-width: 992px) {
    #ld-feed-product .ld-feed-products > li.ajax_block_product {
        float: left;
        width: 25% !important;
    }
}
.ld-feed-loading { display: none; clear: both; padding: 24px; text-align: center; color: #777; }
.ld-infinite-feed.is-loading .ld-feed-loading { display: block; }
.ld-feed-sentinel { clear: both; height: 1px; }
.ld-category-infinite .top-pagination-content,
.ld-category-infinite .bottom-pagination-content,
.ld-category-infinite .nbrItemPage,
.ld-category-infinite .pagination { display: none !important; }
.ld-search-infinite .top-pagination-content,
.ld-search-infinite .bottom-pagination-content,
.ld-search-infinite .nbrItemPage,
.ld-search-infinite .pagination { display: none !important; }
.ld-search-infinite #ld-search-products .product_list.list > li {
    float: none;
    width: 100%;
}
@media (min-width: 992px) {
    .ld-search-infinite #ld-search-products .product_list.grid > li.ajax_block_product {
        float: left;
        width: 25% !important;
    }
}
.ld-category-infinite #ld-category-products .product_list.list > li {
    float: none;
    width: 100%;
}
.ld-infinite-feed .product-image-container .new-box,
.ld-infinite-feed .product-image-container .sale-box {
    display: block !important;
    visibility: visible !important;
    z-index: 20 !important;
}
.ld-infinite-feed .product-image-container .new-label,
.ld-infinite-feed .product-image-container .sale-label {
    display: block !important;
    visibility: visible !important;
}
.ld-sidebar-footer { background: transparent; margin: 20px 0 0; }
.ld-sidebar-footer #footer { width: auto; padding: 0; }
.ld-sidebar-footer #footer > .row { margin: 0; }
.ld-sidebar-footer #footer > .row > section,
.ld-sidebar-footer #footer > .row > div { float: none; width: 100%; padding: 0; margin-bottom: 18px; }
.ld-sidebar-footer #footer .footer-block h4 { color: #333; }
.ld-scroll-top {
    position: fixed;
    left: auto;
    right: 136px;
    bottom: 21px;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(105, 105, 105, 0.52);
    color: #fff;
    font-size: 0;
    text-align: center;
    box-shadow: 0 2px 9px rgba(0, 0, 0, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 9998;
    transition: opacity .2s ease, background-color .2s ease, visibility .2s ease;
}
.ld-scroll-top > svg {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
}
.ld-scroll-top:hover,
.ld-scroll-top:focus { background: rgba(85, 85, 85, 0.78); color: #fff; outline: none; }
.ld-scroll-top.is-visible { opacity: .72; visibility: visible; pointer-events: auto; }
.ld-scroll-top.is-visible:hover,
.ld-scroll-top.is-visible:focus { opacity: 1; }
.ld-scroll-top.ld-scroll-top-probe { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
@media (max-width: 767px) {
    .ld-sidebar-footer { margin-top: 25px; }
    .ld-scroll-top { left: auto; right: 99px; bottom: 25px; width: 54px; height: 54px; }
    .ld-scroll-top > svg { width: 31px; height: 31px; margin: -15.5px 0 0 -15.5px; }
}

/* Sort by на вкладках главной (ALL/New arrivals/Popular/SALE) — одна строка
   с меню вкладок, правый край совпадает с правым краем сетки товаров,
   т.к. #home-page-tabs занимает всю ширину #center_column. (2026-11-28) */
#home-page-tabs {
    position: relative;
    min-height: 46px;
}
#home-page-tabs > li.ld-home-sort {
    float: right;
    border: none;
    background: none;
    margin: 6px 0 0;
}
#home-page-tabs > li.ld-home-sort > div.select {
    margin: 0;
}
#home-page-tabs > li.ld-home-sort .selectProductSort {
    height: 34px;
    padding: 5px 28px 5px 10px;
    font-size: 13px;
}
@media (max-width: 767px) {
    #home-page-tabs > li.ld-home-sort {
        float: none;
        width: 100%;
        margin: 8px 0 0;
    }
    #home-page-tabs > li.ld-home-sort .selectProductSort {
        width: 100%;
    }
}
