main {
    width: 100%;
}
#breadcrumb {
    margin-top: 20px;
}
#breadcrumb a, #breadcrumb span {
    color: #8c8c8c !important;
}
#categories {
    margin-top: 40px;
    border-bottom: 1px solid #d3d3d3;
    padding-bottom: 80px;
}
#categories .container {
    gap: 70px;
}
.sub-category main .container {
    --content-width: 1230px;
    gap: 0;
}
.category-hero{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../../images/category/category-hero.jpg);
    background-position: 50% 34%;
}
.ch-inner{
    height: 395px;
}
.category-title{
    padding: 29px 93px 40px;
    background-color: rgba(255, 255, 255, .8);
    max-width: calc(100% - 30px);
    border: 2px solid var(--orange);
}
.category-title h1{
    font-size: 55px;
    margin: 0 0 10px;
    font-family: 'montserratblack';
}
.category-title .button{
    color: #000;
    background-color: var(--yellow);
    padding: 0 35px 0;
    font-size: 17px;
    height: 52px;
    line-height: 52px;
    border-radius: 0;
    font-family: 'montserratblack';
}
.category #categories{
    padding-top: 83px;
}
.category-description{
    padding: 0;
    margin-top: 40px;
}
.category-description h2 {
    color: #000;
    font-size: 22px;
}
.category-description .title{
    font-size: 26px;
    margin: 0 0 .5em;
    font-family: 'montserratbold';
}
.category-description p{
    color: #232323;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
    max-width: 1120px;
    font-family: 'montserratmedium' !important;
}
.category-description p:not(:last-child),
.category-description p:not(:last-of-type){
    margin-bottom: 11px;
}
.category-description .button{
    color: #000;
    padding: 0;
    font-size: 18px;
    line-height: 20px;
    margin-top: 3px;
    display: block;
    text-decoration: underline;
    background: transparent;
    height: unset;
}
.products-details {
    padding: 0 20px;
}
.category .products-details span,
.category .products-details p {
    display: none;
}
.products-details p {
    color: #000;
    font-size: 1em;
    margin-top: 5px;
}
.products-details .products-title {
    font-size: 1em;
}
.category-product{
    height: 318px;
    flex-grow: 1;
    border-radius: 5px;
    overflow: hidden;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.sub-category .category-product {
    border-radius: 0;
}
.category-product .products-image {
    height: 285px;
}
.category-product .products-image img {
    width:99%;
    height: auto;
    z-index: 3;
}
.products-details {
    padding: 0;
}
.sub-category .category-product .products-details {
    height: 148px;
}
.image-wrapper > img.contain {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}
#trending .category-product .products-image img {
    min-width: 100%;
    min-height: 100%;
    width: auto;
}
.category-product .products-details {
    height: 77px;
}
.sub-category .category-product {
    height: 388px !important;
}
.sub-category .category-product .products-details {
    height: 148px;
}
.category-product .products-details .product-price {
    margin-top: 10px;
    font-size: 26px;
    line-height: 25px;
    /* letter-spacing: -0.10em; */
}

.category-product .products-details .product-price span {
    display: inline-block;
    width: 0.56em !important;
    text-align:center !important;
}

.category-product .week {
    font-size: 18px;
    margin-left: 2px;
    align-self: flex-end;
    margin-bottom: -3px;
}

.categories-item:hover strong {
    border-color: var(--orange) !important;
}

.categories-image {
    margin-bottom: 14px;
    aspect-ratio: 1 / 1;
    width: 200px;
}

#categories .categories-item span {
    border:1px solid #fff;
    display:inline-block;
    padding:5px 10px;
    font-size: 18px;
    font-family: 'montserratbold';
}
#categories .categories-item:hover span {
    border:1px solid var(--orange);
}


/* 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");
}
#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: 62px;
}
.category-widgets{
    padding-right: 1.5em;
    flex-basis: calc(285px + 1.5em);
    flex-shrink: 0;
}
.category-widget{
    padding: 29px 0 25px;
}
.category-filters-head {
    padding: 29px 7px 25px 5px;
}
.category-filters-head .clickable {
    line-height: 1.8;
}
.category-filter {
    padding: 29px 3px 25px;
}
.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: 14px;
    padding-top: 0;
}
.sub-categories-list a.current{
    font-size: 2em;
    line-height: 1.0625;
}
.sub-categories-list a.current + ul{
    margin-top: 19px;
}
.sub-categories-list a.current + ul a{
    font-size: 1.25em;
    line-height: 2;
}
.brands-filter ul{
    margin-top: 16px;
}
.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 #000;
    border-right: 2px solid #000;
    position: absolute;
    top: 1px;
    left: 6px;
    z-index: 1;
}
.brands-filter li + li{
    margin-top: 11px;
}
.brands-filter a{
    color: #000;
    pointer-events: none;
    font-family: 'montserratsemibold';
}

#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(25% - 1.25em) !important;
    margin-right: 1.25em !important;
    margin-bottom: 60px;
    /* border:1px solid #dcdcdc; */
    padding-top:10px;
    flex-grow: 0;
}
.products-list .category-product:hover {
    text-decoration: none;
}
.products-list .category-product:nth-child(3n){
    margin-right: 0;
}
.view-filters{
    font-size: 14px;
    margin-bottom: 25px;
    margin-top: 5px;
}
.view-filters label {
    margin-bottom: 0;
    font-weight: 500;
}
.view-filters .sort-by{
    margin-right: 20px;
}
.sort-by-new {
    background: #F1F1F1;
    padding: 5px 15px;
    border-radius: 15px;    
}
.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-new.png);
    background-color: transparent;
}
.sort-filter select {
    margin-top: 10px
}
.category-heading {
    font-size: 45px;
    width: 100%;
}
.custom-per-page {
    width: 120px;
    border: 1px solid #000;
    padding-left: 10px;
    border-radius: 4px; 
    position: absolute;
    right: 0;
    top: 8px;    
}
.bottom-container {
    position: relative;
    width: 100%;
}
.category-pagination{
    flex-basis: 100%;
    font-size: 20px;
    line-height: 1;
    margin-top: 3px;
}
.category-pagination > *{
    margin: 0 11px;
}
.pagination {
    display: flex;
    align-items: center;
}
.pagination>li>a, .pagination>li>span{
    color: #000;
    font-family: 'Poppins';
    font-weight: 700;
    border-width: 0;
}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover{
    color: var(--orange) !important;
    background-color: transparent !important;
}
.pagination>li>a:not(.prev,.nect):focus, .pagination>li>a:hover, .pagination>li:not(.active)>span:focus, .pagination>li:not(.active)>span:hover {
    color: #000;
    background-color: transparent;
    text-decoration: underline;
}
.pagination>li>a[rel='prev']:hover, .pagination>li>a[rel='next']:hover, .pagination>li>a[rel='prev']:focus, .pagination>li>a[rel='next']:focus {
    text-decoration: none;
}
.pagination>li:first-child>a, .pagination>li:first-child>span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-right: 30px;
    text-indent: -9999px;
    border: 1px solid var(--dark-gray);
    border-radius: 50%;
}
.pagination>li:first-child>a:after, .pagination>li:first-child>span:after {
    content: '';
    display: block;
    width: 17px;
    height: 10px;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url(/themes/ace/images/icons/icon-deals-right.png);
    transform: scaleX(-1);
}
.pagination>li:first-child>span:after {
    opacity: 0.5;
}
.pagination>li:last-child>a, .pagination>li:last-child>span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-left: 30px;
    text-indent: -9999px;
    border: 1px solid var(--dark-gray);
    border-radius: 50%;
}
.pagination > .active > span {
    color: var(--orange);
    background: transparent !important;
    border: 1px solid var(--orange) !important;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold !important;    
}
.pagination > li:last-child > a, .pagination > li:last-child > span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-left: 30px;
    text-indent: -9999px;
    border: 1px solid var(--dark-gray);
    border-radius: 50%;
      border-top-right-radius: 50%;
      border-bottom-right-radius: 50%;
}
.pagination>li:last-child>a:after, .pagination>li:last-child>span:after {
    content: '';
    display: block;
    width: 17px;
    height: 10px;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url(/themes/ace/images/icons/icon-deals-right.png);
}
.pagination>li:last-child>span:after {
    opacity: 0.5;
}

.pagination > li:first-child > a, .pagination > li:first-child > span, .pagination > li:last-child > a, .pagination > li:last-child > span  {
    border-radius: 50% !important;
    border: 1px solid var(--dark-gray) !important;
}

.pagination a:hover:not(.active) {
    background-color: transparent !important;
    border-radius: 50% !important;
    text-decoration: none;
    color: var(--orange);
}
.sub-category-list .pagination > li > a, .sub-category-list .pagination > li > span {
    font-family: 'montserratlight';
    font-weight: 700;
    border-width: 0;
    border-radius: 50%;
}  
.category-pagination > .current-page {
    color: var(--orange);
}
.category-pagination > .current-page:after{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 32.5px;
    height: 32.5px;
    background-color: #000;
    border-radius: 50%;
    z-index: -1;
}
.category-pagination > .previous-page,
.category-pagination > .next-page{
    width: 47px;
    height: 47px;
    text-indent: -9999px;
    background-color: #fff;
    border: 1px solid var(--dark-gray);
}
.category-pagination > .previous-page {
    margin-right: 30px;
}
.category-pagination > .next-page {
    margin-left: 30px;
}
.category-pagination > .previous-page:after,
.category-pagination > .next-page: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-deals-right.png);
}
.category-pagination > .previous-page:after{
    transform: scaleX(-1);
}
.category-pagination > span.previous-page:after,
.category-pagination > span.next-page:after{
    opacity: .5;
}
.sub-category-list .category-product .products-details {
    height: 148px;
}
.sub-category-list .products-list .category-product {
    min-height: 450px !important;
}
.subcategory-items-button {
    background-color: var(--orange);
    border: 0px;
    padding: 8px 12px;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    width: 160px;
    text-align: center;
}
.subcategory-items-button:hover {
    color: white;
}
.category-product .products-image {
    border:1px solid #dcdcdc;
}
@media screen and (max-width: 1199px){
    .price-filter .cw-toggle-container{
        padding: 0 15px;
    }
}
@media screen and (max-width: 991px){
    .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: 1;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px){
}
@media screen and (max-width: 767px){
    .category-hero {
        background-position: 12% 34%;
    }
    .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;
    }
    .category-pagination > * {
        margin: 0 11px;
    }
    .category-pagination > .previous-page {
        margin-right: 30px;
    }
    .category-pagination > .next-page {
        margin-left: 30px;
    }
    .category-heading {
        text-align: center;
    }
    .products-details {
        align-items: center;
        text-align: center;
    }
}
@media screen and (max-width: 567px){
    #categories .container {
        gap: 34px 0px;
    }
    .categories-item {
        width:50%;
    }
    .categories-image {
        width: 123px;
    }
    .category-banner:before{
        height: 100%;
        top: 109%;
        transform: rotate(-24deg);
    }
    .products-details .products-title {
        font-size: 13px;
    }
    .sub-category .products-details .products-title {
        font-size: 10px;
        margin-top: 4px;
        margin-bottom: 5px;
    }
    .categories-item {
        position: relative;
    }
    .ch-inner{
        height: 244px;
    }
    .category-title {
        padding: 25px 0px 28px;
        width: 100%;
        max-width: unset;
    }
    .category-title h1{
        font-size: 50px;
        margin: auto;
    }
    .category-title .button {
        margin-top: 10px;
        font-size: 15px;
        height: 47px;
        line-height: 47px;
    }
    #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: 43px;
    }
    .category-description{
        padding: 30px 0 22px;
    }
    .category-description .title{
        font-size: 26px;
        line-height: 31px;
        margin: 0 0 4px;
    }
    .category-description p{
        font-size: 16px;
        line-height: 24px;
    }
    .category-description .button{
        margin-top: 0;
        font-size: 16px;
    }
    .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;
        /* border: 1px solid #f0f0f0; */
    }
    .products-list .category-product:nth-child(2n){
        margin-right: 0;
    }
    .category-product .products-details {
        height: 84px;
        padding: 0 15px;
    }
    .sub-category .category-product .products-details {
        height: 88px;
    }
    .sub-category .category-product {
        height: 233px;
        margin-bottom: 39px;
    }
    .category-product .products-details .product-price {
        margin-top: 0;
        font-size: 18px;
        line-height: 1;
    }
    .category-product .week {
        margin: 0 0 -1px 6px;
        font-size: 13px;
    }
    .products-details p {
        font-size: 10px;
        margin-bottom: 9px;
    }
    .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 20px;
    }
    .sort-filter {
        padding: 14px 0 13px 5px;
    }
    .category-filters-head {
        padding: 14px 0 11px 5px;
    }
    .category-filter {
        padding: 14px 0 12px 5px;
    }
    .category-filters-head .clickable {
        font-family: 'Soleil-Regular' !important;
    }
    .category-widget:last-child{
        border-width: 2px;
        border-bottom-style: solid;
        border-color: var(--middle-gray);
        margin-bottom: 48px;
    }
    .cw-title{
        font-size: 1.25em;
    }
    .sub-categories-list a.current{
        font-size: 22px;
    }
    .sub-categories-list a.current + ul{
        margin-top: 4px;
    }
    .sub-categories-list a.current + ul a{
        font-size: 15px;
        line-height: 27px;
    }
    .category-pagination{
        font-size: 20px;
        margin-top: 11px;
        padding-bottom: 56px;
    }
    .category-pagination > .current-page:after {
        top: calc(50% - 1px);
    }
}

@media screen and (max-width: 400px) {
    .products-details .products-title {
        font-size: 10px;
    }
}

@media screen and (max-width: 360px ) {
    #categories .container {
        gap: 27px 10px;
    }
    #categories img {
        max-width: 140px;
    }
}