.category main .container {
    --content-width: 1200px;
}
.category-hero{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../../images/category/category-hero.jpg);
}
.ch-inner{
    height: 350px;
}
.category-title{
    padding: 30px 0 9px 0;
    font-size: 36px;
    line-height: 1em;
}
.category-title h1{
    font-size: 3.125em;
    margin: 0 0 10px;
}
.category-title .button{
    color: #fff;
    padding: 10px 35px 9px;
    font-size: 0.875em;    
}
.shopall {
    height: 40px;
    line-height: 40px;
    font-size: 20px;
}
#product-cats.grid .inner {
    padding: 0;
}
#product-cats.grid .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}
#product-cats.grid .swiper-slide {
    margin: 0 !important;
}
.category #categories{
    padding-top: 83px;
}
.category-description{
    padding: 50px 0 50px;
    border-top: 2px solid var(--light-gray);
}
.category-description h3{
    color: #233260;
    font-size: 2em;
    margin: 0 0 .5em;
}
.category-description p{
    color: #232323;
    font-size: 1.0625em;
    line-height: 1.41176471;
}
.category-description p:not(:last-child),
.category-description p:not(:last-of-type){
    margin-bottom: 1em;
}
.category-description .button{
    color: #fff;
    padding: 10px 25px 9px;
    font-size: 0.875em;
    margin-top: 44px;
}
.products-details {
    padding: 0 20px;
}
.products-details p {
    color: #000;
    font-size: 1em;
    margin-top: 0;
}
.products-details .products-title {
    font-size: 1em;
}
.category-product{
    height: 410px;
} 
.category-product .products-image img {
    min-height: 100%;
    min-width: 100%;
    width: auto;
    height: auto;
}
.category-product .products-details {
    height: 140px;
}
.category-product .products-details span{
    margin-top: 2px;
}

/* Sub-categories */

.category-banner{
    color: #fff;
    padding: 30px 0;
}
#subc-banner{
    color: #fff;
    background-color: unset;
}
#subc-banner .container {
    padding: 30px 15px 45px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url("../../images/thanks/hero.jpg");
	width: calc( var(--content-width) - 30px);
}
#subc-banner h3{
    font-size: 2.1875em;
    line-height: 0.657;
    margin: 15px 0 15px;
}
#subc-banner p{
    font-size: 1.125em;
    line-height: 1.2777;
    margin-bottom: 12px;
}
#subc-banner a {
    font-size: 1em;
}
.category-banner:before{
    content: '';
    display: block;
    height: 120%;
    width: 2000px;
    position: absolute;
    z-index: 0;
    right: -600px;
    top: 0;
    background-color: #233260;
    transform: rotate(-11deg);
}
.category-banner .cb-text{
    margin-right: 60px;
}
.category-banner h3{
    margin: 0;
    font-size: 2em;
}
.category-banner p{
    font-size: 1.5em;
    line-height: 1.333;
}
.category-banner p .stroke{
    transform-origin: right;
    transform: rotate(-5deg);
    font-size: 1.333em;
}
.category-banner .button{
    color: #fff;
    background-color: #00aeef;
    height: 44px;
    line-height: 46px;
    width: 162px;
}
.sub-category-main{
    padding-top: 60px;
}
.category-widgets{
    padding-right: 1.5em;
    flex-basis: calc(285px + 1.5em);
    flex-shrink: 0;
}
.category-widget{
    padding: 29px 0 31px;
}
.category-widget:not(:last-child){
    border-width: 2px;
}
.cw-title{
    color: #000;
    font-size: 1.25em;
}
.cw-toggle{
    width: 11px;
    height: 7px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url(../../images/icons/icon-cw-toggle.png);
    transition: transform .3s;
}
.cw-active .cw-toggle{
    transform: scaleY(-1);
}
.sub-categories-list{
    padding-bottom: 20px;
    padding-top: 0;
}
.sub-categories-list a.current{
    font-size: 2em;
    line-height: 1.0625;
}
.sub-categories-list a.current + ul{
    margin-top: 15px;
}
.sub-categories-list a.current + ul a{
    font-size: 1.25em;
    line-height: 2;
}
.brands-filter ul{
    margin-top: 23px;
}
.brands-filter li{
    padding-left: 37px;
}
.brands-filter li:after{
	content: '';
	display: block;
	position: absolute;
	left: 0;
	width: 17px;
	height: 17px;
	border: 2px solid var(--middle-gray);
}
.brands-filter li.selected:after{
    border-color: var(--orange);
    background-color: var(--orange);
}
.brands-filter li.selected a:after{
	content: '';
	display: block;
    transform: rotate(45deg);
    height: 12px;
    width: 6px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
    top: 1px;
    left: 6px;
    z-index: 1;
}
.brands-filter li + li{
    margin-top: 15px;
}
.brands-filter a{
    color: #000;
    pointer-events: none;
}

#price-slider.noUi-target{
    height: 1px;
    box-shadow: none;
    border: none;
    background-color: var(--light-gray);
    border-radius: 0;
    margin: 75px 0 14px;    
}
#price-slider .noUi-connects{
    border-radius: 0;
}
#price-slider .noUi-connect {
    background: var(--red);
}
#price-slider.noUi-horizontal .noUi-handle{
    width: 30px;
    height: 30px;
    right: -15px;
    top: 50%;
    margin-top: -15px;
    border-radius: 50%;
    border-color: var(--red);
    background-color: #fff;
    box-shadow: none;    
    cursor: pointer;
    outline: none;
}
#price-slider.noUi-horizontal .noUi-handle:active{
    background-color: var(--red);
}
#price-slider .noUi-tooltip{
    border: none;
    border-radius: 5px;
    color: var(--red);
    padding: 4px 4px 0;
    font-family: 'SofiaPro-Bold';
    font-size: 1em; 
    line-height: 1;
    bottom: calc(100% + 4px);
}
#price-slider .noUi-handle:after, 
#price-slider .noUi-handle:before{
    display: none;
}
.sub-category-list{
    flex-grow: 1;
}
.products-list .category-product{
    flex-basis: calc(33.333% - 1.5em);
    margin-right: 2.25em;
    margin-bottom: 20px;
}
.products-list .category-product:nth-child(3n){
    margin-right: 0;
}
.view-filters{
    font-size: 14px;
    margin-bottom: 25px;
}
.view-filters .sort-by{
    margin-right: 55px;
}
.view-filters select,
.sort-filter select{
    width: auto;
    border: none;
    font-size: 14px;
    outline: none;
    padding-right: 15px;
    padding-top: 0;
    padding-bottom: 0;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 12px 7px;
    background-image: url(../../images/icons/icon-filter-select-arrow.png);
}
.sort-filter select {
    margin-top: 10px
}
.category-pagination {
   width:100%	
}
.category-pagination ul{
   display:flex;
   align-items: center;
   justify-content:center;
    padding: 0 0 70px 0;
   width:100%;
  
}
.category-pagination li{
    margin: 0 15px;
    color: #000;
	list-style:none;
	font-size: 1.375em;
    line-height: 1;
}
.category-pagination li.disabled {display:none}
.category-pagination li a {
	 color: #000;
	 text-decoration:none
}
.category-pagination .active span {
   position:relative	
}
.category-pagination .active span:after{
    content: '';
    position: absolute;
    left: 50%;
    margin-left: -9px;
    bottom: -10px;
    display: block;
    width: 18px;
    height: 5px;
    background-color: var(--orange);
}
.category-pagination a[rel=prev],
.category-pagination a[rel=next]{
	display:flex;
	align-items:center;
	justify-content:center;
    width: 41px;
    height: 41px;
    text-indent: -9999px;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.1);
    background-color: #fff;
	font-size:0;
}
.category-pagination span.previous-page,
.category-pagination span.next-page{
    background-color: var(--light-gray);
}
.category-pagination a[rel=prev]:after,
.category-pagination a[rel=next]:after{
    content: '';
    display: block;
    width: 17px;
    height: 10px;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url(../../images/icons/icon-arrow-right-long.png);
}
.category-pagination a[rel=prev]:after{
    transform: scaleX(-1);
}
.category-pagination span.previous-page:after{
    opacity: .5;
}
@media screen and (max-width: 1199px){
    .price-filter .cw-toggle-container{
        padding: 0 15px;
    }
}
@media screen and (max-width: 991px){
    #product-cats.grid .swiper-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .category-banner .cb-text{
        margin-right: 30px;
    }
    .sub-category-main{
        flex-direction: column;
    }
    .category-widgets{
        padding-right: 0;
    }
    .sub-categories-list a.current + ul,
    .brands-filter ul{
        column-count: 2;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px){
}
@media screen and (max-width: 767px){
    .category-title {
        margin: 20px 0 10px 0;
    }
    #product-cats.grid .swiper-wrapper {
        grid-template-columns: 1fr;
    }
    .products-list .category-product,
    .products-list .category-product:nth-child(3n){
        flex-basis: calc(50% - 2.25em);
        margin-right: 2.25em;
    }
    .products-list .category-product:nth-child(2n){
        margin-right: 0;
    }
    .category-pagination > *{
        margin: 0 10px;
    }
}
@media screen and (max-width: 567px){
    .category-banner:before{
        height: 100%;
        top: 109%;
        transform: rotate(-24deg);
    }
    .ch-inner{
        height: 252px;
    }
    .category-title{
        padding: 0;
        font-size: 29px;
        margin-top: 0;
    }
    .category-title h1{
        font-size: 2.4em;
    }
    #subc-banner h3{
        font-size: 1.6em;
        line-height: 1.2;
    }
    #subc-banner p{
        font-size: 1em;
        line-height: 1.3;
    }
    .category #categories{
        padding-bottom: 28px;
        padding-top: 20px;
    }
    .category-description{
        padding: 27px 0 39px;
    }
    .category-description h3{
        font-size: 1.4em;
        line-height: 1.04761905;
    }
    .category-description p{
        font-size: 16px;
        line-height: 24px;
    }
    .category-description .button{
        margin-top: 25px;
    }
    .products-list .category-product,
    .products-list .category-product:nth-child(3n){
        flex-basis: calc(50% - 1.6em);
        margin-right: 1.6em;
        margin-bottom: 1.6em;
    }
    .products-list .category-product:nth-child(2n){
        margin-right: 0;
    }
    .category-product{
        height: 264px;
    } 
    .category-product .products-details {
        height: 110px;
        padding: 0 5px;
    }
    .category-product .products-details span{
        margin-top: 0;
    }
    .category-banner{
        padding: 20px 0 27px;
    }
    .category-banner .container{
        flex-direction: column;
    }
    .category-banner .cb-text{
        margin-right: 0;
        margin-bottom: 12px;
    }
    .category-banner h3{
        font-size: 1.6em;
        line-height: 1.1666;
        padding: 0 40px;
    }
    .category-banner p{
        font-size: 1.2em;
    }
    .category-banner p .stroke{
        font-size: 1em;
    }
    .category-banner .button{
        height: 35px;
        line-height: 35px;
        width: 131px;
        font-size: 0.875em;
    }
    .sub-category-main{
        padding-top: 5px;
    }
    .category-widget {
        padding: 14px 0 15px;
    }
    .category-widget:last-child{
        border-width: 2px;
        border-bottom-style: solid;
        border-color: var(--middle-gray);
        margin-bottom: 35px;
    }
    .cw-title{
        font-size: 1.25em;
    }
    .sub-categories-list a.current{
        font-size: 1.733em;
    }
    .sub-categories-list a.current + ul{
        margin-top: 10px;
    }
    .sub-categories-list a.current + ul a{
        font-size: 1em;
        line-height: 1.733;
    }
    .category-pagination{
        font-size: 1em;
    }
    .category-pagination > * {
        margin: 0 7px;
    }
    .category-pagination > .previous-page, 
    .category-pagination > .next-page{
        width: 30px;
        height: 30px;
    }
    .category-pagination > .previous-page:after, 
    .category-pagination > .next-page:after{
        width: 12px;
    }
    .category-pagination > .current-page:after{
        margin-left: -6px;
        bottom: -5px;
        width: 12px;
        height: 3px;        
    }
}