@media screen and (max-width: 991px) {
    .filter-modal__loading.active {
        display: none;
    }

    .filter-modal__title span.show {
        display: inline-block;
    }

    .filter-modal {
        align-items: end;
    }

    .filter-modal__outer {
        width: 100%;
    }

    .filter-modal__main {
        flex-direction: column;
        overflow-y: scroll;
    }

    .filter-modal__content {
        display: none;
    }

    .filter-modal__header {
        height: auto;
        padding: 18px 7px 18px 30px;
    }

    .r-tabs-accordion-title {
        position: relative;
    }

    .r-tabs-accordion-title::before,
    .r-tabs-accordion-title::after {
        content: '';
        display: block;
        background: #212121;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .r-tabs-accordion-title::before {
        width: 14px;
        height: 2px;
        right: 10%;
    }

    .r-tabs-accordion-title::after {
        height: 14px;
        width: 2px;
        right: calc(10% + 6px);
    }

    .filter-modal__outer {
        height: 80%;
    }

    .filter-modal__footer {
        padding: 10px 20px;
        gap: 25px;
    }

    .filter-modal__display-btn {
        border-radius: 4px;
        padding: 13px 14px;
    }

    .filter-modal__remove-all {
        font-size: 13px;
        line-height: 21px;
    }

    .filter-modal__display-text {
        font-size: 13px;
        line-height: 21px;
        font-weight: 700;
    }

    .filter-modal__content-title {
        font-size: 15px;
        line-height: 22px;
        text-transform: capitalize;
    }

    .filter-modal__footer {
        height: auto;
    }
    
    .filter-modal__content-title {
        display: none;
    }

    .filter-modal__body {
        display: flex;
        flex-direction: column;
    }

    .filter-modal__form {
        flex: 1 1 auto;
    }

    .filter-parameters .filter-parameters__item:not(:first-child){
        display: none;
    }

    .filter-parameters.show .filter-parameters__show-all span::after {
        background: transparent;
    }

    .filter-parameters.show .filter-parameters__item {
        display: block;
        margin-bottom: 8px;
    }

    .filter-parameters__item:not(:last-child) {
        margin-bottom: 0;
    }

    .filter-parameters__list-name {
        font-size: 14px;
        line-height: 20px;
    }

    .filter-parameters__list-label {
        padding-left: 35px;
    }

    .filter-parameters__list span {
        top: -1px;
        height: 21px;
        width: 20px;
    }

    .filter-search {
        margin-bottom: 10px;
    }
    
    .filter-modal__content-subtitle.search {
        display: none;
    }

    .r-tabs-accordion-title.r-tabs-state-active a::after {
        background: transparent;
    }
    
    .filter-parameters__show-all {
        display: block;
    }

    .filter-modal__tabs {
        width: 95%;
        overflow-y: visible;
        border-right-color: transparent;
    }

    .filter-modal__tabs-item.active::after {
        background: #e9e9e9;
    }

    .filter-modal__tabs-item.active .filter-modal__tabs-body {
        background: none;
    }

    .filter-modal__tabs-clear.show {
        display: inline-block;
    }

    .r-tabs-accordion-title span {
        font-size: 14px;
        font-weight: 700;
        width: 18px;
        height: 18px;
    }

    .filter-modal__tabs-item {
        flex-direction: column;
    }

    .filter-modal__tabs-item.active .filter-modal__tabs-content {
        display: block;
    }

    .filter-modal__tabs-body {
        padding: 10px 20px 12px;
        position: relative;
    }
    
    .filter-modal__tabs-body::after {
        content: "";
        display: block;
        width: 14px;
        height: 14px;
        background: url('../../../../assets/images/shop/closed.svg') no-repeat 0 0 /cover;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .filter-modal__tabs-item.active .filter-modal__tabs-body::after {
        background: url('../../../../assets/images/shop/opened.svg') no-repeat 0 0 /contain;
        top: 28px;
    }

    .filter-modal__tabs-body.loading::before {
        content: "";
        display: block;
        width: 30px;
        height: 30px;
        background: url('../../../../assets/images/loader01.gif') no-repeat 0 0 /cover;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
    }

    .filter-modal__tabs-item::after {
        left: 25px;
    }
}

@media screen and (max-width: 768px) {
    .filter-parameters__letter {
        display: none;
    }

    .filter-parameters__list {
        flex-direction: column;
        gap: 0px;
    }

    .filter-parameters__list .filter-parameters__list-item {
        margin-bottom: 10px;
    }

    .filter-parameters__list-item {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .filter-popular__item {
        flex: 0 1 30%;
    }

    .filter-popular__items {
        gap: 10px;
    }
}

@media screen and (max-width: 375px) {
    .sort-box > span.sort_title {
        display: none;
    }

    .filter-popular__image {
        width: 100%;
    }
}
