.af-catalog-page__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    margin: 25px 0; 
}

.af-catalog-page__top .catalog-page__header {
    padding: 0;
    /* margin: 10px 0; */
}

.af-catalog-page__top .catalog-page__header *{
    font-family: 'Open Sans', sans-serif;
}

.af-catalog-page__top .catalog-page__header h1 {
    font-size: 20px;
    line-height: 24px;
    color: rgba(47, 48, 76, 1);
}

.af-catalog-page .catalog-page__subsection-list-wrapper {
    max-width: fit-content;
    position: relative;
    padding: 0 80px;
    margin: 0 0 30px 0;
}

.af-catalog-page .catalog-page__subsection-list .swiper-slide {
    width: fit-content;
}

.af-catalog-page .catalog-page__subsection-list-item {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
} 

.af-catalog-page .catalog-page__subsection-list-item a {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    color: rgba(78, 81, 88, 1);
    padding: 6px 16px;
    background: rgba(245, 245, 245, 1);
    transition: 0.2s;
    text-transform: uppercase;
}

.af-catalog-page .catalog-page__subsection-list-item a:hover,
.af-catalog-page .catalog-page__subsection-list-item.active a {
    background: rgb(19, 40, 75);
    color: #ffffff;
}

.af-catalog-page .catalog-page__content {
    width: 100%;
    max-width: unset;
    padding-left: unset;
}

.af-catalog-page .catalog-page__subsection-list-wrapper .catalog-page__subsection-list-nav-prev,
.af-catalog-page .catalog-page__subsection-list-wrapper .catalog-page__subsection-list-nav-next {
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 10;
}

.af-catalog-page .catalog-page__subsection-list-wrapper .catalog-page__subsection-list-nav-prev.swiper-button-disabled,
.af-catalog-page .catalog-page__subsection-list-wrapper .catalog-page__subsection-list-nav-next.swiper-button-disabled {
    opacity: 0.5;
}

.af-catalog-page .catalog-page__subsection-list-wrapper .catalog-page__subsection-list-nav-prev.swiper-button-lock,
.af-catalog-page .catalog-page__subsection-list-wrapper .catalog-page__subsection-list-nav-next.swiper-button-lock {
    display: block;
}

.af-catalog-page .catalog-page__subsection-list-wrapper .catalog-page__subsection-list-nav-prev {
    top:4px;
    left: 40px;
    background: url(https://arfashion.ru/local/templates/arfashion/img/svg/components/catalog-owl-slider/slider-arrow-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}

.af-catalog-page .catalog-page__subsection-list-wrapper .catalog-page__subsection-list-nav-next {
    top:4px;
    right: 44px;
    background: url(https://arfashion.ru/local/templates/arfashion/img/svg/components/catalog-owl-slider/slider-arrow-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    transform: rotate(180deg);
}

.af-grid-changer__container {
    display: flex;
    align-items: center;
    margin: 0 40px 0 0;
}

.af-grid-changer__state-0 {
    background: url(/local/templates/arfashion/img/components/catalog/grid-state-0-off.svg);
    margin: 0 8px 0 0;
}

.af-grid-changer__state-0.active {
    background: url(/local/templates/arfashion/img/components/catalog/grid-state-0-on.svg);
}

.af-grid-changer__state-1 {
    background: url(/local/templates/arfashion/img/components/catalog/grid-state-1-off.svg);
}

.af-grid-changer__state-1.active {
    background: url(/local/templates/arfashion/img/components/catalog/grid-state-1-on.svg);
}

.af-grid-changer__state-0,
.af-grid-changer__state-1 {
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}

.af-catalog-page__controls {
    display: flex;
    align-items: center;
    /* margin: 10px 0; */
}



.af-catalog-close-area {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 210;
    display: none;
}

.af-catalog-filter-wrapper {
   position: fixed;
   top: 0;
   right: -100%;
   z-index: 210;
   max-width: 600px;
   width: 100%;
   transition: 0.3s ease;
}

.af-catalog-filter-wrapper.active {
    right: 0;
}

.af-filter-call {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.af-filter-call .af-filter-call__name {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: rgba(78, 81, 88, 1);
    margin: 0 16px 0 0;
    display: flex;
    text-transform: uppercase;
}

.af-filter-call__ico {
    position: relative;
    bottom: -1px;
}

.af-filter-call .af-filter-call__counter {
    margin: 0 0 0 4px;
}

.af-filter-call .af-filter-call__counter * {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 12px;
    font-weight: 400;
    color: rgba(158, 158, 158, 1);
}

.af-catalog-filter-wrapper .catalog-filter .catalog-filter__title  {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 20px;
    line-height: 24px;
    text-align: left;
    color: rgba(47, 48, 76, 1);
    margin: 0 0 30px 0;
}

.af-catalog-filter-wrapper .catalog-filter {
    padding: 20px 40px;
    margin-top: 0;
    background: #ffffff;
    overflow-y: auto;
    height: 100vh;
    position: relative;
}

.catalog-filter__af-close {
    position: absolute;
    width: 26px;
    height: 26px;
    top: 20px;
    right: 40px;   
    cursor: pointer;
}

.catalog-filter__af-close::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: rgba(26, 42, 74, 1);
    top: 11px;
    transform: rotate(45deg);
}

.catalog-filter__af-close::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: rgba(26, 42, 74, 1);
    bottom: 13px;
    transform: rotate(135deg);
}

.af-catalog-page .pagination--new .btn_transparent-new,
.af-catalog-page .pagination--new .new-pagination-prev,
.af-catalog-page .pagination--new .new-pagination-next{
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .af-catalog-page__top .catalog-page__header h1 {
        font-size: 12px;
        text-align: left;
        line-height: 16px;
    }

    .af-catalog-page__top {
        padding: 0 16px;
        margin: 16px 0 12px 0;
        flex-wrap: nowrap;
    }

    .af-grid-changer,
    .af-filter-call .af-filter-call__name{
        display: none;
    }

    .af-catalog-page__controls {
        flex: 0 0 25px; 
        align-self: flex-start;
    }

    .af-catalog-page__top .catalog-page__header {
        flex: 0 0 calc(100% - 25px);  
        padding: 0 10px 0 0; 
        margin: 0;   
    }

    .af-catalog-page .catalog-page__subsection-list-wrapper {
        padding: 0 40px;
        margin: 0 0 20px 0;
    }

    .af-catalog-page .catalog-page__subsection-list-wrapper .catalog-page__subsection-list-nav-prev {
        left: 11px;
    }

    .af-catalog-page .catalog-page__subsection-list-wrapper .catalog-page__subsection-list-nav-next{
        right: 11px;
    }

    .af-catalog-page #filter-wrapper_mobile {
        display: none;
    }

    .af-catalog-page .catalog-page__subsection-list-item {
        font-size: 12px;
    }

    div.af-catalog-page .container {
        padding: 0 16px;
    }

    .af-filter-call__ico {
        transform: scale(0.8);
    }

}





