.price-filter {
    background: white;
    padding: 20px;
    border-radius: 8px;
    /*max-width: 350px;*/
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.price-header {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.price-display {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.slider-container {
    position: relative;
    height: 5px;
    margin-bottom: 15px;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 5px;
    background: #ddd;
    border-radius: 3px;
}

.slider-range {
    position: absolute;
    height: 5px;
    background: #666;
    border-radius: 3px;
}

.slider-input {
    position: absolute;
    width: 100%;
    height: 5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    top: 0;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: white;
    border: 2px solid #006CC7;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
}

.slider-input::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: white;
    border: 2px solid #006CC7;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
}

.price-inputs {
    display: flex;
    gap: 10px;
    font-size: 13px;
}

.price-inputs input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

.price-inputs input:focus {
    outline: none;
    border-color: #006CC7;
}







/*FILTER*/
.filter_popup {
    display: none;
}
.filter_popup.active {
    display: block;
}

.filter_popup {
    min-width: 480px;
    max-width: 100%;
    width: max-content;
    padding: 32px;
    border-radius: 16px;
    background: #e9e9e9;
    position: fixed;
    z-index: 99999;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
.filter_popup .g_close {
    position: absolute;
    top: 7px;
    right: 13px;
    cursor: pointer;
    /* font-size: 32px; */
    line-height: 1;
    /* color: crimson; */
}
.filter_popup .g_close svg {
    fill: crimson;
}
.filter_item_list .g_item {
    /* background: #dfdfdf; */
    padding: 5px 0;
    /* border-radius: 16px; */
    /* margin: 8px; */
    cursor: pointer;
    user-select: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M384 80c8.8 0 16 7.2 16 16l0 320c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16L48 96c0-8.8 7.2-16 16-16l320 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"/></svg>');
    background-repeat: no-repeat;
    /*border-top: 1px solid #e2e2e2;*/
    background-size: 14px;
    background-position: 0px 5px;
    padding-left: 20px;
    width: max-content;
    max-width: 100%;
}

.filter_item_list .g_item:hover {
    /*background: #999;*/
    /*color: #fff;*/
}
/*.filter_item_list .g_item.active {*/
/*    background: #666;*/
/*    color: #fff;*/
/*}*/
.filter_item_list .g_item.selected {
    background-image: url('data:image/svg+xml;utf8,<svg fill="brown" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0zM342 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L189.1 315.2 137 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.9 7.5 18.8 7s13.4-4.1 17.5-9.8L347.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z"/></svg>');
}

.boloc_apply {
    background: #006CC7;
    color: #fff;
    padding: 12px;
    border-radius: 16px;
    /* margin: 8px; */
    cursor: pointer;
    user-select: none;
    margin-top: 16px;
    width: max-content;

    /*display: none;*/
}


.filter_item_list {
    /*display: flex;*/
    /*margin: -8px;*/

}
.filter_title {
    font-size: 32px;
}

.boloc_item {
    padding: 15px 0;
    border-bottom: 1px solid #e2e2e2;
}
.filter_item_title {
    margin-bottom: 16px;
    font-weight: bold;
}
.common_boloc_thuoctinh {
    background: white;
    padding: 20px;
    border-radius: 8px;
    /* max-width: 350px; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}


/*END FILTER*/

#max_items_select, #sort_select {
    border-radius: 8px;
    min-width: 130px;
}