	.product-filter__heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.category-item{
    margin-bottom: 8px;
}

.category-item label{
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.category-item input{
    margin-right: 8px;
}

.category-item input[type="radio"] {
    display: none;
}

.category-item .count{
    margin-left: 5px;
    display: none;
}




#product-list.loading{
    opacity:.5;
    pointer-events:none;
    transition:.25s;
}
.product-list .row > .col {
    margin-bottom: 24px;
}


.product-list .shopping_form,
.product-list .bp_pd_brand{
    display: none;
}




.product-filter {
    background: #fff;
    border: 1px dashed  #ebebeb;
    overflow: hidden;
    position: sticky;
    top: 16px;
    padding: 30px;
}
.product-filter__list {
    padding: 0 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.product-filter__list:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.product-filter__heading {
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: 600;
}

#category-list .category-row {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
}

#category-list .category-toggle,
#category-list .category-toggle-placeholder {
    flex: 0 0 20px;
    width: 20px;
}

#category-list .category-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #555;
    cursor: pointer;
}

#category-list .category-toggle i {
    font-size: 11px;
}

#category-list .category-label,
#category-list .category-item label {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 8px;
    margin: 0;
    cursor: pointer;
}

#category-list input[type="radio"] {
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
    display: none;
}

#category-list .category-name {
    flex: 1;
    min-width: 0;
    color: #333;
    overflow-wrap: anywhere;
}

#category-list .count {
    flex-shrink: 0;
    color: #888;
    font-size: 12px;
    font-weight: 400;
    display: none;
}

#category-list .category-children {
    display: block;
}

#category-list .category-all {
    margin-bottom: 6px;
}

#category-list input[type="radio"]:checked + .category-name {
    color: #198754;
    font-weight: 600;
}

.category-node:not(:last-child) {
    margin-bottom: 10px;
}


.btn-filter-mobile {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: none;
    transition: ease-in-out .4s;
}

.btn-filter-mobile .content_button_link_container {
    width: fit-content;
}

.btn-filter-mobile .tp-btn {
    padding: 10px;
    border-radius: 20px 0px 0px 20px;
}

.btn-filter-mobile.active {
    right: 256px;
}

.tp-popup-mode-sidebar.tp-popup-side-right .tp-popup-dialog {
    transform: translateX(100%);
    transition: ease-in-out .4s;
}

.tp-popup-open.tp-popup-mode-sidebar.tp-popup-side-right .tp-popup-dialog.active {
    transform: translateX(0);
}

.tp-popup-mode-sidebar {
    opacity: 0;
    visibility: hidden;
}

.tp-popup-mode-sidebar.active {
    opacity: 1;
    visibility: visible;
}


@keyframes checkbox-check {
    from {
        transform: rotate(45deg) scale(0);
        opacity: 0;
    }
    to {
        transform: rotate(45deg) scale(1);
        opacity: 1;
    }
}

.product-filter__list input[type="checkbox"]:active {
    transform: scale(.9);
}

.product-filter__list input[type="checkbox"]:focus-visible {
    outline: 2px solid #888;
    outline-offset: 3px;
}

.product-filter__list input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: .45;
}



/* Khung bộ lọc giá */
.price-filter {
    width: 100%;
    padding: 20px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Tiêu đề */
.price-filter__title {
    margin-bottom: 20px;
    color: #222;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

/* Giá trị thấp nhất và cao nhất */
.price-filter__values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 20px;
    color: #333;
    font-size: 13px;
    font-weight: 500;
}

.price-filter__separator {
    color: #999;
}

/* Khu vực thanh kéo */
.price-filter__slider {
    position: relative;
    height: 24px;
    margin: 0 6px 22px;
}

/* Đường nền */
.price-filter__track,
.price-filter__selected {
    position: absolute;
    top: 10px;
    height: 4px;
    border-radius: 10px;
}

.price-filter__track {
    left: 0;
    width: 100%;
    background: #e2e2e2;
}

/* Đoạn giá được chọn */
.price-filter__selected {
    left: 0;
    width: 100%;
    background: #198754;
}

.price-filter__slider {
    position: relative;
    height: 24px;
    margin: 0 6px 22px;
}

.price-filter__track,
.price-filter__selected {
    position: absolute;
    top: 10px;
    height: 4px;
    border-radius: 10px;
}

.price-filter__track {
    left: 0;
    width: 100%;
    background: #e2e2e2;
}

.price-filter__selected {
    left: 0;
    width: 100%;
    background: #198754;
    pointer-events: none;
}

.price-filter__slider input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 24px;
    margin: 0;
    padding: 0;
    background: none;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}

.price-filter__slider input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.price-filter__slider input[type="range"]::-moz-range-track {
    height: 4px;
    background: transparent;
}

.price-filter__slider input[type="range"]::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    margin-top: -6px;
    border: 2px solid #198754;
    border-radius: 50%;
    background: #fff;
    cursor: grab;
    pointer-events: auto;
    appearance: none;
    -webkit-appearance: none;
}

.price-filter__slider input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 2px solid #198754;
    border-radius: 50%;
    background: #fff;
    cursor: grab;
    pointer-events: auto;
}

/* Nút lọc */
.price-filter__button {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 10px 16px;
    border: 0;
    border-radius: 5px;
    background: #198754;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.price-filter__button:hover {
    background: #146c43;
}

.price-filter__button:disabled {
    opacity: 0.6;
    cursor: wait;
}

@media (max-width: 1199.98px) {
    .product-filter {
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .product-filter {
        margin-bottom: 30px;
    }
    .btn-filter-mobile {
        display: block;
    }
}

@media (max-width: 767.98px) {
    
    .product-filter {
        padding: 0;
        border: none;
        border-radius: 0;
    }
    
        .price-filter {
        padding: 16px;
    }

    .price-filter__values {
        font-size: 12px;
    }

}
