/**
 * Сворачивание/разворачивание фильтра каталога (filter.tpl) в мобильной
 * версии. Кнопка скрыта по умолчанию (ПК) -- на ПК блок фильтра всегда
 * полностью открыт, как и раньше, вне зависимости от класса .is-open.
 */
.filter-mobile-toggle {
    display: none;
}

@media (max-width: 1199.98px) {
    div.filter-box-catalog p.filter-title-desktop {
        display: none;
    }

    .filter-mobile-toggle {
        display: block;
        width: 100%;
        margin: 10px 0;
        padding: 10px 40px 10px 15px;
        border: 1px solid #e6e1de;
        border-radius: 4px;
        background-color: #fff;
        background-image: url(../images/down.png);
        background-position: right 15px center;
        background-repeat: no-repeat;
        font-family: 'Montserrat';
        font-weight: 700;
        font-size: 16px;
        line-height: 16px;
        color: #000;
        text-align: left;
        cursor: pointer;
    }

    .filter-mobile-toggle.is-open {
        background-image: url(../images/up.png);
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .catalog-items-filter-cont {
        max-height: 0;
        overflow: hidden;
        padding-top: 0;
        padding-bottom: 0;
        border-width: 0;
        transition: max-height 0.3s ease;
    }

    .catalog-items-filter-cont.is-open {
        max-height: 6000px;
        padding-top: 10px;
        padding-bottom: 10px;
        border-width: 1px;
    }
}
