
/* ================= LISTING LAYOUT ================= */

.product-listing-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.product-left {
    width: 260px;
}

.product-right {
    width: calc(100% - 260px);
    padding-left: 50px;
}

.mobilefilter-box {
    display: none;
}

/* ================= PRODUCT WC HEADER ================= */

.product-wc-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 60px;
    padding: 0 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--cream);
}

.pr_wc_left .woocommerce-result-count {
    float: none;
    margin: 0;
    font-size: 16px;
    color: var(--text-color);
}

.pr_wc_right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sort-input .woocommerce-ordering {
    float: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
    margin: 0;
    gap: 8px;
}

.sort-input .woocommerce-ordering label.sort-input__label {
    margin: 0;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
}

.sort-input .woocommerce-ordering select.select-option {
    width: auto;
    min-width: 0;
    height: auto;
    border: 0;
    padding: 0 20px 0 0;
    background: transparent url(../images/icon/select-arrow-dark.svg) no-repeat right center / 12px 8px;
    font-family: var(--font-body-family);
    font-size: 16px;
    line-height: 26px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-color);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.pagination-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pagination-top .page-numbers img {
    display: block;
}

.pagination-top .page-numbers.prev img {
    transform: scaleX(-1);
}

/* ================= FILTER USPs PANEL ================= */

.filter-usps {
    list-style: none;
    margin: 20px 0 0;
    padding: 32px 24px;
    border-radius: 10px;
    background-color: var(--primary);
}

.filter-usps li + li {
    margin-top: 24px;
}

.filter-usps li {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filter-usps__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
}

.filter-usps__label {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    color: var(--white);
        width: calc(100% - (40px + 14px));
}

/* ================= PRODUCT GRID ================= */
.woocommerce ul.products.columns-3 li.product {
    width: 33.33%;
   
}

.product-listing-wrap .product-right {
    .pagination-wrap {
        margin:58px 0 0 0;
    }
}
.sec-trade-cta{
    position: relative;
    z-index:1;
}
.bg-light + .sec-trade-cta:before
{
    position:absolute;
    content:"";
    width:100%;
    height:50%;
    background-color: #EEEEE6;
    left:0;
    top:0;
    z-index:-1;
}

ul.prlist-slider
{
    display:flex;
    flex-wrap:wrap;
    list-style-type:none;
    margin:0 -7px;
    padding:0;
}
ul.prlist-slider li{
    width:20%;
    padding:0 7px;
    margin-bottom:0;
}
ul.prlist-slider li:not(:nth-child(-n+5)){
    display: none;
}
ul.prlist-slider li>a{
    display:block;
    width:100%;
     height:100%;
}
ul.prlist-slider li .prlist-li
{
    padding:28px;
    border:1px solid #D9D9D9;
    border-radius:10px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    height:100%;
    gap:10px;
}
ul.prlist-slider .prlist-info
{
    font-size:16px;
    color:var(--black);
    font-weight:var(--font-weight-semibold);
    line-height:1.12;
    width:calc(100% - 120px);
}
ul.prlist-slider .prlist-img{
   width: 110px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
ul.prlist-slider .prlist-circle{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
ul.prlist-slider .prlist-circle:before{
    position:absolute;
    content:"";
    width:80px;
    height:80px;
    background-color:#EEEEE6;
    border-radius:100%;
    z-index:-1;
}
ul.prlist-slider.slick-initialized{
    display:block;
}
ul.prlist-slider li:not(:nth-child(-n +5 )){
    display: none;
}
.prslider-wrap {
    margin-right: calc(-50vw + (100% - 200px) / 2);
}
ul.prlist-slider .slick-track{
    display:flex;
}
ul.prlist-slider .slick-slide
{
    height:auto;
}
ul.prlist-slider .slick-slide>div{
  display:flex;
  flex-wrap:wrap;
  width: 100%;
  height:100%;
}
.prslider-wrap .slick-prev,
.prslider-wrap .slick-next
{
       top: 0;
    margin-top: -45px;
}
.prslider-wrap .slick-prev{
    left: auto;
    right: 0;
    margin-right:calc(0vw + (50% - 200px) / 2);
}
.prslider-wrap .slick-next{
    right: 0px;
    margin-right:calc(0vw + (50% - 300px) / 2);
    z-index: 1;
}
/* ================= RESPONSIVE ================= */

@media(max-width:1599.98px){
    .product-right{
        padding-left:30px;
    }
    .product-listing-wrap .product-right {
        .pagination-wrap {
            margin:40px 0 0 0;
        }
    }

    ul.prlist-slider li .prlist-li{
        padding:20px;
        gap:5px;
    }
    ul.prlist-slider .prlist-img{
        width:90px;
    }
    ul.prlist-slider .prlist-info{
            width: calc(100% - 95px);
            font-size:15px;
    }
    ul.prlist-slider .prlist-circle:before{
        width:70px;
        height:70px;
    }
    ul.prlist-slider li{
        padding:0 4px;
    }
    ul.prlist-slider{
            margin: 0 -4px;
    }
    .prslider-wrap {
        margin-right: calc(-50vw + (100% - 120px) / 2);
    }
}

@media(max-width:1439.98px){
.prslider-wrap {
        margin-right:0;
    }
    .prslider-wrap .slick-next{
        margin-right: 6px;
    }
    .prslider-wrap .slick-prev{
         margin-right: 50px;
    }
    ul.prlist-slider li{
        width:25%;
    }
    ul.prlist-slider li:not(:nth-child(-n+4)){
        display: none;
    }
}

@media(max-width:1199.98px){
    .product-wc-header{
        height:auto;
        padding:10px 20px;
        margin-bottom:30px;
    }
    .product-left {
        width: 240px;
    }
    .product-right {
        width: calc(100% - 240px);
        padding-left:30px;
    }
    
    .filter-usps{
        padding:28px;
    }
    .filter-usps li{gap:10px;}
    .filter-usps__icon{
        width:34px;
        height:34px;
        object-fit:contain;
    }
    .filter-usps__label{
        width: calc(100% - (34px + 10px)); 
        font-size:15px;
    }
    .filter-usps li + li {
        margin-top:12px;
    }
    .pagination-top{
        gap:4px;
    }
    .pr_wc_left .woocommerce-result-count{
        font-size:15px;
    }
    .pr_wc_right{
        gap:20px;
    }
}

@media (max-width: 991.98px) {

     .product-left{
            width:100%;
            order:2;
        }
        .product-right{
            width:100%;
            order:1;
            padding-left:0px;  
            .mobilefilter-box {
                display:block;
                margin-bottom:20px;
                .modalpopup{
                    display:none;
                }
            }
        }
        .pr_wc_right{
            gap:20px;
        }
        .pagination-top{
            gap:4px;
        }
        
            .mobile-slide {
        width: 100%;
        position: fixed;
        top: 0;
        left: -100%;
        background: #f3f2ef;
        margin: 0;
        padding: 0;
        z-index: 99999;
        height: 100vh;
        transition: 1s ease all;
        overflow: scroll;
    }
        .mobile-slide.slide {
        left: 0;
        padding: 50px 30px 30px;
    }
        .categorylistbox-wrap .closemenu {
        background-color: var(--theme);
        width: 30px;
        height: 30px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        border-radius:4px;
    }

    .product-wc-header {
                height: auto;
        padding: 10px 15px;
        border-radius: 5px;
    }
    .pr_wc_left .woocommerce-result-count{
        font-size:14px;
    }
    .pr_wc_right {
        gap: 10px;
    }
    .pagination-top{
        display: none;
    }
    .filter-usps{
        column-count:2;
    }


    ul.prlist-slider li{
        width:33.33%;
    }
    ul.prlist-slider li:not(:nth-child(-n+3)){
        display: none;
    }

}

@media(max-width:767.98px){
   .product-right .product-wc-header
   {
     display:none;
   } 
   .product-right {
         .mobilefilter-box {
            display:flex;
            flex-wrap:wrap;
            gap:10px;

            .modalpopup {
                display: inline-flex;
            }
        }
    }
    ul.prlist-slider li .prlist-li {
        padding:14px;
        gap: 5px;
    }
    ul.prlist-slider .prlist-circle>img
    {
        width:auto;
        display:block;
    }

     ul.prlist-slider li{
        width:50%;
    }
    ul.prlist-slider li:not(:nth-child(-n+2)){
        display: none;
    }
    div#enq_sortby {
        padding: 30px;
        width: 85%;
        background: #fff;
    }
    .sortboxtitle {
        font-size: 18px;
        line-height: 1.1;
        font-weight: bold;
        margin-bottom: 10px;
    }
    .popup_close_btn {
        position: absolute;
        right: 15px;
        top: 10px;
        background: var(--theme);
        width: 30px;
        height: 30px;
        text-align: center;
        line-height: 27px;
        border-radius: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding: 8px;
    }
    #enq_sortby ul {
        list-style-type: none;
        margin-left: 0;
    }
        #enq_sortby ul>li>a {
        color: var(--black);
        border-bottom: 0;
        line-height: 1.25;
        text-decoration: none;
    }
        #enq_sortby ul>li {
        margin-bottom: 3px;
        line-height: 1;
    }
}

@media (max-width: 575.98px) {
    .pr_wc_right {
        width: 100%;
        justify-content: space-between;
        gap: 16px;
    }

    .pagination-top {
        display: none;
    }
     .product-listing-wrap .product-right {
        .pagination-wrap {
            margin:20px 0 0 0;
        }
    }
    .product-right {
      .mobilefilter-box {
        gap:6px;
      }
    }

    .prslider-wrap {
        margin-right: calc(-50vw + (100% - 460px) / 2);
    }
    .filter-usps {
        padding: 20px;
        gap:10px;
    }
}
