/* Только телефон (до 767 px, как hidden-sm-up в теме) */
@media (max-width: 767px) {
    /* Одна кнопка «Фильтр» вместо «Подобрать товар» + «Фильтры» */
    a.show-filter.hidden-sm-up { display: none !important; }
    #product-list > .sorting { background: none !important; padding: 0 !important; margin: 0 0 12px !important; }
    #product-list .filters-mobile,
    #product-list .filters-mobile li { display: block !important; float: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
    #product-list .filters-mobile a.show-filter {
        display: flex !important; align-items: center; justify-content: center; gap: 8px;
        width: 100% !important; height: 46px; box-sizing: border-box; padding: 0 !important;
        border: 1.5px solid #ed1b24 !important; border-radius: 4px;
        background: #fff !important; color: #ed1b24 !important; font-size: 17px; text-decoration: none;
    }
    #product-list .filters-mobile a.show-filter:after { display: none !important; }

    /* Номера страниц только под списком */
    #product-list .pagination.pv-top { display: none !important; }

    /* «избранное / сравнить» на каждой карточке списка */
    .compare-favorite { display: none !important; }

    /* Панель покупки снизу на странице товара */
    .pv-buy {
        position: fixed; left: 0; right: 0; bottom: var(--pv-bb, 56px); z-index: 900;
        display: flex; align-items: center; gap: 12px; padding: 8px 12px;
        background: #fff; box-shadow: 0 -2px 10px rgba(0, 0, 0, .15);
        transform: translateY(150%); visibility: hidden; transition: transform .2s, visibility .2s;
    }
    .pv-buy.on { transform: none; visibility: visible; }
    .pv-buy__old { display: block; font-size: 13px; color: #888; text-decoration: line-through; }
    .pv-buy__price { display: block; font-size: 21px; font-weight: 700; color: #222; line-height: 1.1; white-space: nowrap; }
    .pv-buy__btn {
        flex: 1; height: 46px; margin: 0; padding: 0 10px;
        border: 0; border-radius: 4px; background: #ed1b24; color: #fff; font-size: 17px;
    }
}
@media (min-width: 768px) { .pv-buy { display: none !important; } }
