/* Filter block */
.boloc-wat-flex{
    display: flex;
}
.boloc-wat-filters ul,
.boloc-wat-filters li,
.boloc-wat-filters p{
    list-style: none;
    padding: 0;
    margin: 0;
}

.boloc-wat-brands .boloc-wat-sort-title,
.boloc-wat-filters .boloc-wat-sort-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.boloc-wat-filters .boloc-wat-sort-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.boloc-wat-filters .boloc-wat-sort-list .boloc-wat-btn {
    position: relative;
    align-items: center;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #444;
    cursor: pointer;
    display: flex;
    font-size: 12px;
    height: 34px;
    margin: 0 10px 10px 0;
    padding: 5px 10px;
    white-space: nowrap;
    text-transform: none;
    justify-content: center;
}

.boloc-wat-filters .boloc-wat-sort-list .boloc-wat-btn .icon {
    align-items: center;
    display: flex;
    margin-right: 6px;
    width: 15px;
    position: relative;
}

.boloc-wat-filters .boloc-wat-btn #boloc-wat-total-num{
    position: absolute;
    color: #fff;
    background-color: #FB743E;
    border-radius: 50%;
    display: inline-block;
    font-size: 10px;
    height: 16px;
    line-height: 16px;
    position: absolute;
    top: -7px;
    text-align: center;
    right: -7px;
    width: 16px;
}


.boloc-wat-filters .boloc-wat-sort-list .boloc-wat-brands ul{
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 8px;
}

.boloc-wat-filters .boloc-wat-sort-list .boloc-wat-btn-item {
    position: relative;
}

.boloc-wat-filters .boloc-wat-sort-list .boloc-wat-brand-item .boloc-wat-btn{
    height: 40px;
    background-color: #fff;
    margin-right: 0;
}

.boloc-wat-filters .boloc-wat-sort-list .boloc-wat-btn-item .boloc-wat-brand-img {
    display: flex;
    justify-content: center;
    max-height: 36px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
}

.boloc-wat-filters .boloc-wat-sort-list .boloc-wat-btn span{
    display: inline-block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.boloc-wat-filters .boloc-wat-sort-list input{
    display: none;
}

.boloc-wat-filters .boloc-wat-sort-list input:checked + .boloc-wat-btn,
.boloc-wat-filters .boloc-wat-sort-list .boloc-wat-btn.active,
.boloc-wat-filters .boloc-wat-price-filter .boloc-wat-btn-parent.active,
.boloc-wat-filters .boloc-wat-rating .boloc-wat-btn-parent.active {
    background: #fef2f2;
    border: 1px solid #d70018;
    color: #d70018;
    position: relative;
}

.boloc-wat-filters .boloc-wat-sort-list input:checked + .boloc-wat-btn .icon,
.boloc-wat-filters .boloc-wat-sort-list .boloc-wat-btn.active .icon,
.boloc-wat-filters .boloc-wat-price-filter .boloc-wat-btn-parent.active .icon,
.boloc-wat-filters .boloc-wat-rating .boloc-wat-btn-parent.active .icon {
    fill: #d70018;
}

.boloc-wat-filters .boloc-wat-sort-list .boloc-wat-btn.active.deactive {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #444;
}

.boloc-wat-filters .boloc-wat-sort-list .boloc-wat-btn.active.deactive .icon {
    fill: #444;
}

.boloc-wat-filters .boloc-wat-sort-list .boloc-wat-dropdown input:checked + .boloc-wat-btn:after,
.boloc-wat-filters .boloc-wat-sort-list .boloc-wat-btn-item.active:after {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    width: 15px;
    height: 10px;
    background-color: #d70018;
    border-radius: 0 8px 0 8px;
    content: "✓";
    font-size: 7px;
    color: #fff;
    text-align: center;
    line-height: initial;
}

.boloc-wat-filters .boloc-wat-sort-list .boloc-wat-btn .item-value-filter:not(:last-child):after {
    content: "|";
}

.boloc-wat-filters {
    position: relative;
}

.boloc-wat-filters .boloc-wat-btn .icon {
    align-items: center;
    display: flex;
    margin-left: 6px;
    margin-right: 0;
    width: 15px;
}

.boloc-wat-filters .boloc-wat-dropdown {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    display: none;
    opacity: 0;
    padding: 10px 10px 0;
    position: absolute;
    transition: 0.5s;
    width: 365px;
    z-index: -1;
}

.boloc-wat-filters .boloc-wat-item-wrap{
    width: 100%;
    position: relative;
    display: flex;
}

.boloc-wat-filters .boloc-wat-dropdown.right {
    left: auto;
    right: 0;
}



.boloc-wat-filters .boloc-wat-dropdown.right.active:after {
    left: auto;
    right: 30px;
}

.boloc-wat-filters .boloc-wat-dropdown.active {
    display: block;
    opacity: 1;
    z-index: 9999;
}

/* Wrapper chứa dropdown đang mở phải có z-index cao để ghi đè lên tất cả */
.boloc-wat-wrapper.outside {
    position: relative;
}

.boloc-wat-wrapper.outside.boloc-wat-dropdown-open {
    z-index: 9999;
}

.boloc-wat-filters .boloc-wat-dropdown.active:after {
    border-bottom: 10px solid #fff;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    content: "";
    left: 30px;
    position: absolute;
    top: -10px;
}

.boloc-wat-filters .boloc-wat-dropdown.all {
    width: 800px;
}

.boloc-wat-filters .boloc-wat-dropdown.all .header-filter-all {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.boloc-wat-filters .boloc-wat-btn-close {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px 10px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.1rem;
    margin: 0;
    position: absolute;
    right: 10px;
}

.boloc-wat-filters .boloc-wat-active-tags{
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
	padding-top: 30px;
}

.boloc-wat-filters .boloc-wat-active-tags span:first-child{
    margin-right: 10px;
}

.boloc-wat-filters .boloc-wat-active-tags .boloc-wat-active-tag{
    display: flex;
    border: 1px solid #fb743e;
    padding-left: 5px;
    height: 24px;
    align-items: center;
    border-radius: 4px;
    font-size: 14px;
    line-height: 24px;
}

.boloc-wat-filters .boloc-wat-active-tags .boloc-wat-active-tag img{
    height: 22px;
    width: auto;
}

.boloc-wat-filters .boloc-wat-active-tags .boloc-wat-active-tag .boloc-wat-remove-tag{
    width: 22px;
    height: 22px;
    display: block;
    cursor: pointer;
    background: red;
    margin-left: 5px;
}

.boloc-wat-filters .boloc-wat-dropdown.all .boloc-wat-list {
    display: flex;
    flex-wrap: wrap;
   height: 300px;
    min-height: 250px;
    overflow-y: auto;
    width: 100%;
}

.boloc-wat-filters .boloc-wat-dropdown.all .boloc-wat-list .boloc-wat-wrapper {
    width: 100%;
}

.boloc-wat-filters .boloc-wat-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
}

.boloc-wat-filters .boloc-wat-dropdown ul {
    display: flex;
    flex-wrap: wrap;
}

.boloc-wat-filters .boloc-wat-dropdown .boloc-wat-btn-group {
    display: none;
    justify-content: space-between;
    margin-bottom: 10px;
}

.boloc-wat-filters .boloc-wat-dropdown .boloc-wat-btn-group.show {
    display: flex;
}

.boloc-wat-filters .boloc-wat-dropdown .boloc-wat-btn-group .button {
    font-size: 14px;
    font-weight: 600;
    width: calc(50% - 5px);
}

.boloc-wat-filters .boloc-wat-dropdown .boloc-wat-btn-group .button.submit {
    background-color: #d70018;
}

.boloc-wat-filters .boloc-wat-dropdown .price-filter-range .range-header {
    display: flex;
    justify-content: space-between;
}

.boloc-wat-filters .boloc-wat-dropdown .price-filter-range .range-header p{
    margin-bottom: 0;
}

.boloc-wat-filters .boloc-wat-dropdown .price-filter-range .boloc-wat-price-slider-ltr {
    margin: 10px auto;
}

.boloc-wat-filters .boloc-wat-dropdown .price-filter-range .boloc-wat-price-slider-ltr .ui-slider {
    background-color: #9f9d9d;
    border-radius: 10px;
}

.boloc-wat-filters .boloc-wat-dropdown .price-filter-range .boloc-wat-price-slider-ltr .ui-slider-range {
    transition-duration: 0.25s;
    background-color: rgb(215, 16, 8);
}

.boloc-wat-filters .boloc-wat-dropdown .price-filter-range .boloc-wat-price-slider-ltr .ui-slider .ui-slider-handle {
    background-color: #fff;
    border: 2px solid rgba(215, 0, 24, 0.52);
    border-radius: 50%;
    box-shadow: 0.5px 0.5px 2px 1px rgba(0, 0, 0, 0.32);
    box-sizing: border-box;
    cursor: pointer;
}

.boloc-wat-filters .boloc-wat-sort-list .boloc-wat-overlay {
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
    background-color: rgba(0, 0, 0, .4);
}

@media screen and (max-width: 768px) {

    .boloc-wat-filters .boloc-wat-sort-list .boloc-wat-wrapper{
        padding-top: 8px;
    }

    .boloc-wat-filters .boloc-wat-dropdown.all {
        width: calc(100vw - 20px);
    }

    .boloc-wat-filters .boloc-wat-dropdown.all .boloc-wat-list {
        height: 350px;
        width: 100%;
    }

    .boloc-wat-filters .boloc-wat-dropdown.all .boloc-wat-list .boloc-wat-wrapper {
        width: 100%;
    }

    .boloc-wat-filters .boloc-wat-sort-list .boloc-wat-brands ul{
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-gap: 6px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 717px) {

    .boloc-wat-filters .boloc-wat-sort-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
    }

    .boloc-wat-filters .boloc-wat-sort-list .boloc-wat-wrapper{
        position: static;
    }

    .boloc-wat-filters .boloc-wat-dropdown {
        position: absolute;
    }

    .boloc-wat-filters .boloc-wat-dropdown.all {
        background-color: #fff;
        border-radius: 10px 0 0 10px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
            0 2px 4px -1px rgba(0, 0, 0, 0.06);
        height: 100%;
        margin-top: 0 !important;
        overflow: hidden;
        padding: 0;
        position: fixed;
        right: -80%;
        top: 0;
        transition: 0.5s;
    }

    .boloc-wat-filters .boloc-wat-dropdown.all.active {
        bottom: 0;
        opacity: 1;
        right: 0;
        top: 0;
        transform: translateX(0);
        width: 100%;
        z-index: 2147483647;
    }

    .boloc-wat-filters .boloc-wat-btn-close {
        background-color: transparent;
        border: 0;
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        right: 0;
        position: static;
    }

    .boloc-wat-filters .boloc-wat-dropdown.all .boloc-wat-list,
    #boloc-wat-active-filters {
        padding: 10px;
        width: 100%;
        height: fit-content;
        overflow-x: auto;
        max-height: calc(100% - 100px);
        margin-bottom: 0;
    }

    .boloc-wat-filters .boloc-wat-dropdown.active {
        opacity: 1;
        right: 50%;
        transform: translateX(50%);
        width: 350px;
        z-index: 10;
    }

    .boloc-wat-filters .boloc-wat-dropdown.active:after {
        display: none;
    }

    .boloc-wat-filters .boloc-wat-sort-list .boloc-wat-overlay.all {
        background: rgba(0, 0, 0, 0.53);
        z-index: 2147483646;
    }
}

@media screen and (max-width: 540px) {
    .boloc-wat-filters .boloc-wat-sort-list {
        overflow-x: auto;
    }
}

.boloc-wat-actions{
    align-items: center;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, .05);
    font-size: 0;
    margin: 8px -10px 0;
    padding: 10px;
    text-align: center;
    display: flex;
    gap: 5px;
}

.boloc-wat-view-results, .boloc-wat-btn-close, .boloc-wat-reset, .boloc-wat-reset-all {
    display: inline-block;
    font-size: 14px;
    line-height: 16px;
    margin: 0 5px;
    padding: 14px 10px;
    text-align: center;
    min-width: 120px;
    max-width: 100%;
    flex: 1;
    position: relative;
    white-space: nowrap;
    overflow: visible;
}

.boloc-wat-filters .boloc-wat-btn-close {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    float: right;
    font-size: 14px;
    line-height: 21px;
    padding: 5px 5px 5px 0;
    text-align: right;
    width: 65px;
}

.boloc-wat-view-results{
    background-color: #FB743E;
    border-radius: 8px;
    color: #fff;
}

.boloc-wat-view-results.loading .boloc-wat-count {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #FB743E;
    border-radius: 8px;
}

.boloc-wat-view-results.loading .boloc-wat-count .spinner {
    display: block;
    width: 20px;
    height: 20px;
    border: 5px solid #fff;
    border-top: 5px solid transparent;
    -webkit-animation: boloc-wat-load-animate infinite linear 1s;
    animation: boloc-wat-load-animate infinite linear 1s;
    border-radius: 100%;
}

#boloc-wat-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 9998;
    background: rgba(255, 255, 255, .6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.boloc-wat-roller {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #d70018;
    border-radius: 50%;
    animation: boloc-wat-roller 0.8s linear infinite;
}

.boloc-wat-roller div {
    display: none;
}

@keyframes boloc-wat-roller {
    0% {
        transform: translate(-50%, -50%) rotate(0deg)
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg)
    }
}


@keyframes boloc-wat-load-animate {
    0% {
        transform: rotate(0deg)
    }

    50% {
        transform: rotate(180deg);
        opacity: .35
    }

    100% {
        transform: rotate(360deg)
    }
}

#boloc-wat-load-more {
    display: block;
    overflow: hidden;
    position: relative;
    line-height: 40px;
    font-size: 14px;
    color: #FB743E;
    text-align: center;
    border-radius: 4px;
    margin: 20px auto 10px;
    width: 340px;
    background-color: #fff;
    border: 1px solid #FB743E;
    font-weight: bold;
}

#boloc-wat-load-more::after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #FB743E;
    content: '';
    position: relative;
    right: -5px;
    top: 11px
}

#boloc-wat-load-more:not(.prevent):hover {
    background-color: #FB743E;
    color: #fff;
    border: 1px solid #FB743E
}

#boloc-wat-load-more:not(.prevent):hover::after {
    border-top: 5px solid #fff
}

.boloc-wat-bubble {
    text-align: center;
    width: 99%;
    height: 40px;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255,255,255,.75);
    z-index: 1
}

.boloc-wat-bubble span {
    display: inline-block;
    vertical-align: middle;
    width: 7px;
    height: 7px;
    margin: 25px 3px;
    background: #fff;
    border-radius: 49px;
    -o-border-radius: 49px;
    -ms-border-radius: 49px;
    -webkit-border-radius: 49px;
    -moz-border-radius: 49px;
    animation: boloc-wat-bubble 1.5s infinite alternate;
    -o-animation: boloc-wat-bubble 1.5s infinite alternate;
    -ms-animation: boloc-wat-bubble 1.5s infinite alternate;
    -webkit-animation: boloc-wat-bubble 1.5s infinite alternate;
    -moz-animation: boloc-wat-bubble 1.5s infinite alternate
}

.boloc-wat-readmore-wrapper .boloc-wat-bubble span {
    animation: boloc-wat-bubble-black 1.5s infinite alternate;
    -o-animation: boloc-wat-bubble-black 1.5s infinite alternate;
    -ms-animation: boloc-wat-bubble-black 1.5s infinite alternate;
    -webkit-animation: boloc-wat-bubble-black 1.5s infinite alternate;
    -moz-animation: boloc-wat-bubble-black 1.5s infinite alternate
}

#boloc-wat-bubble-1 {
    animation-delay: 0s;
    -o-animation-delay: 0s;
    -ms-animation-delay: 0s;
    -webkit-animation-delay: 0s;
    -moz-animation-delay: 0s
}

#boloc-wat-bubble-2 {
    animation-delay: .45s;
    -o-animation-delay: .45s;
    -ms-animation-delay: .45s;
    -webkit-animation-delay: .45s;
    -moz-animation-delay: .45s
}

#boloc-wat-bubble-3 {
    animation-delay: .9s;
    -o-animation-delay: .9s;
    -ms-animation-delay: .9s;
    -webkit-animation-delay: .9s;
    -moz-animation-delay: .9s
}

@keyframes boloc-wat-bubble {
    0% {
        width: 7px;
        height: 7px;
        background-color: #fff;
        transform: translateY(0)
    }

    100% {
        width: 17px;
        height: 17px;
        background-color: #288ad6;
        transform: translateY(-20px)
    }
}

@-o-keyframes boloc-wat-bubble {
    0% {
        width: 7px;
        height: 7px;
        background-color: #fff;
        -o-transform: translateY(0);
    }

    100% {
        width: 17px;
        height: 17px;
        background-color: #288ad6;
        -o-transform: translateY(-20px);
    }
}

@-ms-keyframes boloc-wat-bubble {
    0% {
        width: 7px;
        height: 7px;
        background-color: #fff;
        -ms-transform: translateY(0)
    }

    100% {
        width: 17px;
        height: 17px;
        background-color: #288ad6;
        -ms-transform: translateY(-20px)
    }
}

@-webkit-keyframes boloc-wat-bubble {
    0% {
        width: 7px;
        height: 7px;
        background-color: #fff;
        -webkit-transform: translateY(0)
    }

    100% {
        width: 17px;
        height: 17px;
        background-color: #288ad6;
        -webkit-transform: translateY(-20px)
    }
}

@-moz-keyframes boloc-wat-bubble {
    0% {
        width: 7px;
        height: 7px;
        background-color: #fff;
        -moz-transform: translateY(0)
    }

    100% {
        width: 17px;
        height: 17px;
        background-color: #288ad6;
        -moz-transform: translateY(-20px)
    }
}

@keyframes boloc-wat-bubble-black {
    0% {
        width: 7px;
        height: 7px;
        background-color: #fff;
        transform: translateY(0)
    }

    100% {
        width: 17px;
        height: 17px;
        background-color: #FB743E;
        transform: translateY(-20px)
    }
}

@-o-keyframes boloc-wat-bubble-black {
    0% {
        width: 7px;
        height: 7px;
        background-color: #fff;
        -o-transform: translateY(0);
    }

    100% {
        width: 17px;
        height: 17px;
        background-color: #FB743E;
        -o-transform: translateY(-20px);
    }
}

@-ms-keyframes boloc-wat-bubble-black {
    0% {
        width: 7px;
        height: 7px;
        background-color: #FB743E;
        -ms-transform: translateY(0)
    }

    100% {
        width: 17px;
        height: 17px;
        background-color: #FB743E;
        -ms-transform: translateY(-20px)
    }
}

@-webkit-keyframes boloc-wat-bubble-black {
    0% {
        width: 7px;
        height: 7px;
        background-color: #fff;
        -webkit-transform: translateY(0)
    }

    100% {
        width: 17px;
        height: 17px;
        background-color: #FB743E;
        -webkit-transform: translateY(-20px)
    }
}

@-moz-keyframes boloc-wat-bubble-black {
    0% {
        width: 7px;
        height: 7px;
        background-color: #fff;
        -moz-transform: translateY(0)
    }

    100% {
        width: 17px;
        height: 17px;
        background-color: #FB743E;
        -moz-transform: translateY(-20px)
    }
}

/* Layout dọc */
.boloc-wat-layout-vertical {
    flex-direction: column !important;
    align-items: flex-start !important;
}

.boloc-wat-layout-vertical .boloc-wat-wrapper {
    width: 100%;
    margin-bottom: 10px;
}

/* Sticky filter */
.boloc-wat-filters.boloc-wat-enable-sticky {
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.boloc-wat-filters.boloc-wat-enable-sticky.boloc-wat-is-stuck {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    /* Full width tràn ra ngoài container */
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding-left: calc(50vw - 50%) !important;
    padding-right: calc(50vw - 50%) !important;
    padding-top: 10px;
    padding-bottom: 5px;
}

/* Fallback fixed cho mobile khi sticky không hoạt động */
.boloc-wat-filters.boloc-wat-enable-sticky.boloc-wat-fixed-mobile {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    padding-top: 10px;
    padding-bottom: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}


/* Price range filter */
.boloc-wat-price-filter .boloc-wat-price-inputs,
.boloc-wat-price-inputs-inside {
    padding: 10px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.boloc-wat-price-filter .boloc-wat-price-group,
.boloc-wat-price-inputs-inside .boloc-wat-price-group {
    flex: 1;
    min-width: 120px;
}

/* Price range slider */
.boloc-wat-price-slider {
    margin: 15px 10px;
    height: 8px;
}

.boloc-wat-price-slider .ui-slider-range {
    background: #d70018;
}

.boloc-wat-price-slider .ui-slider-handle {
    background: #fff;
    border: 2px solid #d70018;
    border-radius: 50%;
    cursor: pointer;
    width: 18px;
    height: 18px;
    top: -5px;
    /* Hỗ trợ touch trên mobile */
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Tăng vùng touch cho mobile */
@media screen and (max-width: 768px) {
    .boloc-wat-price-slider .ui-slider-handle {
        width: 24px;
        height: 24px;
        top: -8px;
        margin-left: -12px;
    }
    
    .boloc-wat-price-slider {
        height: 10px;
        margin: 20px 15px;
    }
}

.boloc-wat-price-inside,
.boloc-wat-rating-inside {
    width: 100%;
    margin-bottom: 15px;
}

.boloc-wat-price-filter .boloc-wat-price-group label,
.boloc-wat-price-inputs-inside .boloc-wat-price-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 500;
}

.boloc-wat-price-filter .boloc-wat-price-group input,
.boloc-wat-price-inputs-inside .boloc-wat-price-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    display: block !important;
}

.apply-price-range, .reset-price-range {
    display: inline-block;
    font-size: 14px;
    line-height: 16px;
    margin: 0 5px;
    padding: 14px 0;
    text-align: center;
    width: 170px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
}

.apply-price-range {
    background-color: #FB743E;
    color: #fff;
}

.reset-price-range {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #333;
}

/* Rating filter */
.boloc-wat-rating ul,
.boloc-wat-rating-list {
    display: block !important;
    list-style: none;
    padding: 0;
    margin: 0;
}

.boloc-wat-rating ul li,
.boloc-wat-rating-list li {
    width: 100%;
    margin-bottom: 8px;
}

.boloc-wat-rating-item,
.boloc-wat-rating-label {
    width: 100% !important;
    justify-content: flex-start !important;
    font-size: 16px !important;
    color: #ffa41c;
    display: flex;
    cursor: pointer;
}

.boloc-wat-rating-item.active,
.boloc-wat-rating-list input:checked + .boloc-wat-rating-label {
    background: #fef2f2;
    border-color: #ffa41c;
    color: #ffa41c;
}

.boloc-wat-rating-list input[type="radio"] {
    display: none;
}

/* Filter position styles */
.filter-position-left .boloc-wat-block-container {
    max-width: 300px;
    float: left;
    margin-right: 20px;
}

.filter-position-right .boloc-wat-block-container {
    max-width: 300px;
    float: right;
    margin-left: 20px;
}

@media screen and (max-width: 768px) {
    .boloc-wat-filters .boloc-wat-dropdown.all{
        border-radius: 0;
        padding: 65px 0 15vh;
    }


    .boloc-wat-close-btn{
        background-color: #fff;
        border-bottom: 1px solid #e0e0e0;
        left: 0;
        right: 0;
        margin: 0 auto;
        position: fixed;
        padding: 6px 10px;
        top: 0;
        width: 100%;
        max-width: 640px;
        z-index: 13;
    }

    .boloc-wat-dropdown.all .boloc-wat-actions{
        position: fixed;
        bottom: 0;
        margin: 8px 0 0;
        width: 100%;
    }
}

