



@media (max-width: 768px) {
    .pages, .limiter {
        display: none !important; 
    }
   

  .toolbar.toolbar-products:nth-of-type(1) .mobile-pagination {
    display: none;
}



    .mobile-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        position: relative
    }


    .pager-prev, .pager-next {
        display: flex;
        align-items: center;
        justify-content: center;
        width:100%;
        max-width: 112px;
        height: 32px;
        background: #fff;
        border: 1px solid #146a52;
        border-radius: 6px;
        text-decoration: none;
        color: #333;
        font-weight: bold;
        font-size: 27px;
        transition: background 0.2s, border-color 0.2s;
    }


    .pager-prev:hover, .pager-next:hover {
        background: #f5f5f5;
        border-color: #999;
    }


    .pager-prev.disabled, .pager-next.disabled {
        opacity: 0.4;
        pointer-events: none;
    }


    .pager-dropdown-toggle {
        background: #f5f5f5;
        border: 1px solid #146a52;
        width:100%;
        color:#146a52 !important;
        max-width:112px;
        cursor: pointer;
        border-radius: 6px;
        font-weight: bold;
        position: relative

    }


    .pager-dropdown-list {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 8px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        max-height: 310px;
        overflow-y: auto;
        width: 100%;
        display: none;
        pointer-events: auto;
    }

    .pager-dropdown-list ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }


    .pager-dropdown-list li {
        display:block;
        padding: 2px 14px;
        font-size:14px;
        text-align: left;
        cursor: pointer;
        transition: background 0.3s;
    }
    .pager-dropdown-list li a {
        display: block;
        width: 100%;
        text-decoration: none;
    }
    .pager-dropdown-toggle:active{
        color:#146a52 !important;
    }

    .pager-dropdown-list .active-page {
        background: #add8e6;
        font-weight: bold;
    }


}
.product-list-style-38 .product-item:hover .product-item-photo:after{
opacity:0 !important;
}
.block.filter .filter-options .filter-options-content .item {
margin-bottom:0;
}
.block.filter .filter-options .filter-options-content .item:before{
    content: none;
}
@media only screen and (min-width: 768px){
    .product-list-style-38 .product-item:hover .product-item-actions{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 89%;
    }
      
    .product-list-style-38 .product-item-details{
        padding: 0 20px !important;
    }

        
        .cdz-product.cat-grid .product-item:hover {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    }

}


.noUi-connect{
    background: var(--back-color) !important;
}
.noUi-handle{
    background: var(--back-color) !important
}
   
}
}
@media only screen and (max-width: 768px){
    .product-list-style-38 .product-item .product-item-actions{
        flex-direction: column;
        position: absolute;
        z-index: 1;
        top:0;
        right: 0;
        height: 100%;
        justify-content: space-between !important;
        padding:0 !important;


    }
    .product-list-style-38 .products.items.product-items .action.primary {
        margin-right: 4px ;
    }

}

.products-grid .product-item{
        padding: 2px;
    padding-top: 1px;
    border: 1px solid lightgray;
    border-radius: 19px;
    overflow: hidden;
  
    }

@media (min-width: 768px) {
    .mobile-pagination {
    display: block;
    float:left;
    position: relative

}
 .pager-dropdown-list {
           /* transform: translateX(-50%); */
    background: #fff;
    border: 1px solid #ccc;
    /* border-radius: 8px; */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    /* left: 50.7%; */
    top: 100%;
    max-height: 310px;
    position: absolute;
    overflow-y: auto;
    width: 78.7px;
    display: none;
    pointer-events: auto;
    }

    .pager-dropdown-list ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .pager-dropdown-toggle {
        background: #ffffff;
        border: 1px solid #ffffff;
        width:100%;
        color:var(--back-color) !important;
        max-width:112px;
        cursor: pointer;
        border-color:#e0d9d9 !important;
        border-radius: 1px;
        font-weight: bold;
        position: relative;
        padding: 7.5px 20px;

    }
    .pager-dropdown-list li {
        display:block;
        padding: 2px 14px;
        font-size:14px;
        text-align: left;
        cursor: pointer;
        transition: background 0.3s;
    }
    .pager-dropdown-list li a {
        display: block;
        width: 100%;
        text-decoration: none;
    }
    .pager-dropdown-toggle:active{
        color:#146a52 !important;
    }

    .pager-dropdown-list .active-page {
        background: #add8e6;
        font-weight: bold;
    }
    .pager-prev{
        display: none
    }
    .pager-next {
        display: none
    }



}