.apf-results-wrap{
    position:relative;
    min-height:300px;
}
.apf-loader{
    display:flex;
    position:relative;
    inset:0;
    z-index:10;
    display:flex;
    align-items:center;
    justify-content:center;
}
.apf-loading #apf-results{visibility:hidden}

.apf-card{
    border:1px solid #eee;
    border-radius:8px;
    background:#fff;
    height:100%;
    position: relative;
    padding-bottom: 50px;
}
.apf-card_cont {
    padding: 10px 10px 0;
}
.apf-card .button,
.apf-card .added_to_cart{
    width:100%;
    margin-top:6px;
    text-align:center;
}

.apf-card .added_to_cart{
    background:#198754;
    color:#fff;
    padding:6px;
    border-radius:4px;
}
.apf-card .product_type_simple {
    background-color: #00AFEF !important;
    font-weight: 600;
    text-transform: uppercase;
    color: #FFFFFF !important;
    position: absolute !important;
    bottom: 0;
}
.apf-suggest{
    position:absolute;
    z-index:50;
    top:100%;
    /* align-items: start; */
}
#apf-pagination ul{
    display:flex;
    gap:6px;
    justify-content:center;
}

.apf-img-wrap {
    position: relative;
    overflow: hidden;
}

.apf-img-wrap img {
    width: 100%;
    display: block;
}

.apf-qv-icon {
    position: absolute;
    bottom: 0%;
    /* left: 50%;
    transform: translate(-50%, -50%); */
    background: rgba(0,0,0,.7);
    color: #fff;
    border: none;
    width: 100%;
    /* height: 44px; */
    /* border-radius: 50%; */
    font-size: 18px;
    opacity: 0;
    transition: .25s ease;
    cursor: pointer;
}

.apf-img-wrap:hover .apf-qv-icon {
    opacity: 1;
}

.accordion-header {
    margin: 0;
}

.apf-s-item{
    text-align: start;
}


#apf-clear {
    
}
/* ===============================
   APF Price Slider – FINAL
================================ */

.apf-wrapper #price-slider {
    position: relative;
    width: 100%;
    height: 6px;
    margin: 14px 0 24px;
    background: #e5e7eb;
    border-radius: 4px;
}

.apf-wrapper #price-slider .ui-slider-range {
    position: absolute;
    height: 100%;
    background: #0d6efd;
    border-radius: 4px;
}

.apf-wrapper #price-slider .ui-slider-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: #ffffff;
    border: 2px solid #0d6efd;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
}

/* Prevent layout jump on focus */
.apf-wrapper #price-slider .ui-slider-handle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13,110,253,.25);
}

/* ================= SIDEBAR HEADER ================= */

.apf-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid #ddd;
}

#apf-filter-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.apf-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.apf-card .price {
    margin-top: auto;
}


/* ================= MOBILE SIDEBAR ================= */

@media (max-width: 991px) {
    .apf-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 1055;
        overflow-y: auto;
        padding: 1rem;
        transition: left .3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,.15);
    }

    .apf-sidebar.active {
        left: 0;
    }

    body.apf-filter-open {
        overflow: hidden;
    }
}

/* Desktop untouched */
@media (min-width: 992px) {
    .apf-sidebar {
        position: static;
        height: auto;
        box-shadow: none;
        padding: 0;
    }
}
