/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* fix safari ios */

.isures-filter--wrap * {
    -webkit-overflow-scrolling: unset !important
}

.isures-item--attribute br {
    display: none !important;
    visibility: hidden !important;
}

.inline-bl {
    display: inline-block;
}

.isures-labe--color {
    width: 35px;
    height: 35px;
}

/*  */

.isures-before--loop {
    max-width: 100% !important;
    position: relative;
}

.isures-filter--wrap {
    text-align: left
}

.isures-filter--wrap li {
    list-style-type: none
}

/* Skeleton loading — active when body.p68-skeleton exists and .p68-ready not yet added */
@keyframes p68-skeleton-pulse {
    0%, 100% { opacity: .35 }
    50% { opacity: .65 }
}

body.p68-skeleton:not(.p68-ready) .isures-term--filter > *:not(.widget-title):not(h3):not(h4),
body.p68-skeleton:not(.p68-ready) .isures-allfilters--widget > * {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

body.p68-skeleton:not(.p68-ready) .isures-term--filter::after,
body.p68-skeleton:not(.p68-ready) .isures-allfilters--widget::after {
    content: '';
    display: block;
    height: 36px;
    margin: 6px 0 10px;
    border-radius: 6px;
    background: #e5e7eb;
    animation: p68-skeleton-pulse 1.2s ease-in-out infinite;
}

.isures-term--filter {
    margin-bottom: 10px !important
}

.isures-filter--wrap .isures-widget--hidden.isures-term--filter {
    margin: 0 !important;
    display: none !important
}

.isures-filter--wrap a,
.isures-term--filter a {
    text-decoration: none !important;
    font-size: 14px
}

.isures-filter--wrap a,
.isures-filter--wrap a:focus {
    outline: 0;
    color: #333
}

.isures-labe--color {
    display: block;
    border: 1px solid #f1f1f1
}

.isures-labe--color:hover {
    border: 1px solid var(--isures-filter-primary)
}

.isures_type_image .isures-item--attribute,
.isures_type_image.isures-cate--filter .isures-item--attribute,
.isures_type_image_label .isures-item--attribute,
.isures_type_image_label.isures-cate--filter .isures-item--attribute {
    max-width: 99px;
    width: 99px;
    vertical-align: middle
}

.isures_type_image_label span.count {
    display: none
}

.isures_type_image .isures-item--attribute a,
.isures_type_image.isures-cate--filter .isures-item--attribute a,
.isures_type_image_label .isures-item--attribute a,
.isures_type_image_label.isures-cate--filter .isures-item--attribute a {
    padding: 6px 13px;
    vertical-align: top
}

.isures_type_image .isures-item--attribute a img,
.isures_type_image.isures-cate--filter .isures-item--attribute a img,
.isures_type_image_label .isures-item--attribute a img,
.isures_type_image_label.isures-cate--filter .isures-item--attribute a img {
    display: flex;
    width: auto;
    max-width: 98%;
    object-fit: contain;
    justify-content: center
}

.isures-term--filter.isures_type_color .isures-item--attribute a {
    padding: 0;
    border: 1px solid transparent !important;
    position: relative;
    overflow: visible !important
}

.isures-term--filter.isures_type_color .isures-item--attribute a .count {
    display: none
}

.isures-allfilters--section.isures-term--filter.isures_type_image_label .isures-item--attribute {
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
}

.isures-allfilters--section.isures_type_image_label .isures-item--attribute a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.isures-term--filter.isures_type_image_label .isures-item--attribute a img{
    margin: 5px auto;
}
.isures-label--hover {
    position: absolute;
    background: rgba(0, 0, 0, .79);
    color: #fff;
    display: block;
    min-width: 60px;
    width: 100%;
    height: 20px;
    line-height: 20px;
    padding: 0 2px;
    text-align: center;
    top: -40px;
    left: calc(50% - 30px);
    visibility: hidden;
    opacity: 0;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-radius: 2px;
    z-index: 10
}

.isures-term--filter.isures_type_color .isures-item--attribute a:hover .isures-label--hover {
    opacity: 1;
    visibility: visible;
    top: -25px;
    transition: all .1s ease-in-out
}

.isures-label--hover:after {
    content: "";
    position: absolute;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(0, 0, 0, .79);
    left: calc(50% - 8px);
    bottom: -8px
}

.isures-term--filter.isures_type_color .isures-item--attribute.active a::after {
    content: 'x';
    position: absolute;
    width: 15px;
    height: 15px;
    background: rgba(0, 0, 0, .79);
    border-radius: 100%;
    text-align: center;
    line-height: 15px;
    color: #fff;
    font-size: 10px;
    top: -5px;
    right: -5px;
    z-index: 2
}

.isures-term--filter:not(.isures-cate--filter) .isures-item--attribute,
.isures_type_image.isures-cate--filter .isures-item--attribute,
.isures-item--price {
    display: inline-block;
    margin-right: 5px;
    margin-top: 5px;
    line-height: 1
}

.isures-term--filter.isures-cate--filter.isures_type_image .isures-item--attribute a,
.isures-term--filter:not(.isures-cate--filter) .isures-item--attribute a,
.isures-item--price a {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 5px;
    font-size: 14px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    padding: 5px 8px;
    text-transform: capitalize;
    font-weight: 400 !important;
    outline: 0 !important;
    transition: all .2s ease-in-out;
    min-height: 36px;
    min-width: 36px;
    position: relative
}

.isures-term--filter.isures_type_image_label .isures-image--with_label {
    font-size: 12px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    white-space: normal;
    margin-bottom: 8px
}

.isures-item--attribute .count {
    margin-left: 5px;
    font-weight: 700
}

.isures-term--filter.isures-cate--filter.isures_type_image .isures-item--attribute a:hover,
.isures-term--filter:not(.isures-cate--filter) .isures-item--attribute a:hover,
.isures-item--price a:hover {
    border-color: var(--isures-filter-primary);
    color: var(--isures-filter-primary)
}

.isures-term--filter.isures-cate--filter.isures_type_image .isures-item--attribute.active>a,
.isures-term--filter:not(.isures-cate--filter) .isures-item--attribute.active>a,
.isures-item--price.active a {
    border: 1px solid var(--isures-filter-primary)
}

.isures_type_color .isures-item--attribute a {
    width: 35px;
    height: 35px;
    display: block !important;
    padding: 0 !important
}

.isures-filter--wrap .isures-widget--hidden,
.isures-global--hidden {
    display: none !important;
    visibility: hidden !important
}

.isures-widget--hidden,
.isures_type_image.isures-cate--filter .isures-item--attribute .count {
    display: none !important;
    visibility: hidden !important
}

.isures-term--filter {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    padding: 8px 10px;
    margin-bottom: 15px
}

.isures-term--filter>span {
    font-size: 14px !important;
    text-transform: uppercase;
    font-weight: 700 !important;
    color: #333;
    display: inline-block;
    padding: 0 !important;
    margin-bottom: 0 !important;
    border: none !important
}

.isures-wd--title {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    color: #333;
    display: inline-block
}

.isures-wd--title.active:before {
    transform: rotate(180deg);
}

.inline.isures-term--filter {
    display: inline-block;
    margin-right: 10px
}

.isures-term--filter.block {
    display: block;
    width: 100%
}

.isures-filter--nav_wrap {
    white-space: normal;
}

.isures-term--filter.block.isures-filter--dropdown>:not(.isures-filter--nav_wrap):not(.is-divider) {
    width: 100%
}

.isures-term--filter.block.isures-filter--dropdown .isures-filter--nav_wrap {
    max-width: 100%;
    min-width: 100%;
    width: 100%;
}

.isures-term--filter.inline {
    display: inline-block
}

.isures-active-filters a:not(.reset) {
    display: inline-block;
    color: #6c757d !important;
    margin-right: 5px;
    margin-top: 5px;
    line-height: 1;
    border: 1px solid #6c757d;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400 !important;
    text-transform: capitalize
}

.isures-active-filters a:not(.reset):hover {
    border: 1px solid var(--isures-filter-primary);
    color: var(--isures-filter-primary) !important
}

.isures-active-filters a:not(.reset):hover * {
    color: var(--isures-filter-primary) !important
}

.isures-active-filters svg {
    margin-left: 5px;
    display: inline-block
}

.isures-filter--rating_inner {
    margin: 0 !important;
    padding: 0 !important;
}

a[data-key="rating_filter"]>* {
    display: inline-block;
    vertical-align: middle;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.isures-filter--wrap .isures-active-filters a:hover svg line {
    stroke: var(--isures-filter-primary)
}

.isures-active-filters a * {
    font-weight: 400;
    color: #6c757d !important
}

.isures-active-filters a.reset {
    display: inline-block;
    color: var(--isures-filter-primary)
}

.isures-cate--children {
    margin-left: 25px
}

.isures-cate--filter .isures-item--attribute a,
.isures-filter--rating_inner a[data-key="rating_filter"] {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    padding: 0
}

.isures-cate--filter:not(.isures_type_image) .isures-item--attribute a:before,
.isures-filter--rating_inner a[data-key="rating_filter"]::before {
    background-color: #fff;
    text-align: center;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border: 1px solid rgba(0, 0, 0, .26);
    border-radius: 2px;
    margin-right: 8px;
    box-shadow: inset 0 1px 0 0 rgb(0 0 0 / 5%);
    display: inline-block;
    vertical-align: middle;
    content: "";
    font-size: 10px;
    font-weight: 700;
    color: var(--isures-filter-secondary)
}

.isures-cate--filter:not(.isures_type_image) .isures-item--attribute.active>a:after,
.isures-filter--rating_inner .chosen a[data-key="rating_filter"]::after {
    content: "";
    position: absolute;
    left: 9px;
    top: calc(50% - 10px / 2);
    width: 5px;
    height: 10px;
    border: solid var(--isures-filter-secondary);
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    display: block
}

.isures-item--price a * {
    font-weight: 400;
    vertical-align: middle
}

.isures-filter--dropdown {
    position: relative;
    padding: 0 !important;
    border: none
}

.isures-filter--dropdown>:not(.isures-filter--nav_wrap):not(.is-divider).active,
.isures-filter--dropdown>:not(.isures-filter--nav_wrap):not(.is-divider):hover {
    border: 1px solid var(--isures-filter-primary) !important
}

#isures-filter--loading_wrap {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1024;
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .98);
    transition: all .2s ease-in-out
}

.isures-wrap--progress {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    height: 1px;
    background-color: rgba(255, 255, 255, .51)
}

#isures-filter--loading_wrap.active {
    visibility: visible;
    opacity: 1
}

#isures-filter--loading_wrap.scope-container {
    position: absolute;
    z-index: 10;
    border-radius: 4px
}

.isures-wrap--progress .progress {
    position: absolute;
    left: 0;
    top: 0;
    transition: all linear .1s;
    height: 5px;
    width: 0%;
    background-color: var(--isures-filter-secondary);
    border-radius: 0 99px 99px 0
}

.isures-filter--loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2
}

#isures-filter--loading_wrap.active .progress {
    animation: isures-prg 5s infinite linear;
    opacity: 1
}

@keyframes isures-prg {
    0% {
        width: 0%
    }

    25% {
        width: 50%
    }

    50% {
        width: 75%
    }

    75% {
        width: 85%
    }

    100% {
        width: 100%
    }
}

.isures-filter--dropdown:before,
.isures-filter--dropdown:after {
    content: "";
    opacity: 0;
    transition: all .2s ease-in-out
}

.isures-filter--dropdown.active:before,
.isures-filter--dropdown.active:after {
    content: '';
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    bottom: -10px;
    opacity: 1
}

.isures-filter--dropdown.active:after {
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #fff;
    z-index: 30
}

.isures-filter--dropdown.active:before {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ddd;
    z-index: 29
}

.isures-filter--dropdown .isures-filter--nav_wrap {
    position: absolute;
    max-width: 550px;
    min-width: 382px;
    height: auto !important;
    max-height: 300px;
    overflow-y: auto;
    z-index: 35;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-animation: popover-hide-animation .1s cubic-bezier(.4, 0, .6, 1);
    animation: popover-hide-animation .1s cubic-bezier(.4, 0, .6, 1);
    background: #fff;
    box-shadow: 0 2px 20px rgb(0 0 0 / 50%);
    padding: 15px;
    border-radius: 5px
}

.isures-filter--dropdown .isures-filter--nav_wrap.active {
    opacity: 1;
    -webkit-animation: popover-enter-animation .2s cubic-bezier(.4, 0, .6, 1);
    animation: popover-enter-animation .2s cubic-bezier(.4, 0, .6, 1);
    will-change: transform;
    visibility: visible
}

@-webkit-keyframes popover-enter-animation {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0
    }

    to {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1
    }
}

@keyframes popover-enter-animation {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0
    }

    to {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1
    }
}

@-webkit-keyframes popover-hide-animation {
    0% {
        -webkit-transform: scale(.5);
        transform: scale(.5);
        opacity: 1
    }

    to {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0
    }
}

@keyframes popover-hide-animation {
    0% {
        -webkit-transform: scale(.5);
        transform: scale(.5);
        opacity: 1
    }

    to {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0
    }
}

.isures-filter--dropdown>:not(.isures-filter--nav_wrap):not(.is-divider) {
    position: relative;
    padding: 8px 28px 8px 20px !important;
    transition: all .2s ease-in-out;
    border: 1px solid #e0e0e0 !important;
    border-radius: 5px;
    font-weight: 400 !important;
    text-transform: capitalize;
    line-height: 1.3;
}

.isures-filter--dropdown>:not(.isures-filter--nav_wrap):not(.is-divider)::before {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #333;
    content: '';
    height: 0;
    position: absolute;
    top: calc(50% - 2px);
    right: 13px;
    width: 0
}

.isures-filter--dropdown>:not(.isures-filter--nav_wrap):not(.is-divider).count:after {
    content: attr(data-count);
    font-size: 12px;
    position: absolute;
    top: 3px;
    left: 2px;
    width: 15px;
    height: 15px;
    background: var(--isures-filter-primary);
    text-align: center;
    line-height: 15px;
    color: #fff;
    border-radius: 99px;
    z-index: 2
}

.isures-filter--close,
.isures-filter--overplay,
.isures-show--filter_mb {
    display: none
}


/* price range */

.isures-price--range_slider input[type='range'] {
    width: 100%;
    height: 30px;
    overflow: hidden;
    cursor: pointer;
    outline: none;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none;
}

.isures-price--range_slider input[type='range'],
.isures-price--range_slider input[type='range']::-webkit-slider-runnable-track,
.isures-price--range_slider input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: none;
}

.isures-price--range_slider input[type='range']::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    background: var(--isures-filter-secondary);
}

.isures-price--range_slider input[type='range']:nth-child(2)::-webkit-slider-runnable-track {
    background: none;
}

.isures-price--range_slider input[type='range']::-webkit-slider-thumb {
    position: relative;
    height: 20px;
    width: 20px;
    margin-top: -7px;
    background: #fff;
    border: 1px solid var(--isures-filter-secondary);
    border-radius: 25px;
    z-index: 1;
    pointer-events: auto;
    cursor: grab;
}

.isures-price--range_slider input[type='range']::-moz-range-thumb {
    height: 20px;
    width: 20px;
    background: #fff;
    border: 1px solid var(--isures-filter-secondary);
    border-radius: 25px;
    pointer-events: auto;
    cursor: grab;
}

.isures-price--range_slider input[type='range']:active::-webkit-slider-thumb {
    cursor: grabbing;
}

.isures-price--range_slider input[type='range']:active::-moz-range-thumb {
    cursor: grabbing;
}

.isures-price--range_slider input:active[type='range']::-webkit-slider-thumb {
    box-shadow: 0 0 0 5px rgba(53, 93, 187, .38);
}

.isures-price--range_slider input.min::-webkit-slider-thumb {
    z-index: 2;
}

.isures-price--range_slider {
    position: relative;
    height: 30px;
    width: 100%;
    display: block;
}

.isures-price--range_slider input {
    position: absolute;
}

.isures-label--price_range {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.isures-title--range_price {
    margin: 6px 0 10px;
    font-size: 14px;
    color: var(--isures-filter-secondary)
}

.isures-custom--value_price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.isures-custom--value_price input {
    padding: 7px !important;
    border: 1px solid #bdbdbd !important;
    border-radius: 4px !important;
    z-index: 1;
    position: relative;
    background: #fff;
    box-shadow: none !important;
}

.isures-custom--value_price input::-webkit-outer-spin-button,
.isures-custom--value_price input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.isures-custom--value_price .isures-divider {
    width: 60%;
    text-align: center;
    height: .5px;
    background: #ddd;
    display: inline-block;
    vertical-align: bottom;
    margin-left: 5px;
    margin-right: 5px;
}

.isures-price--filter_widget input {
    margin-bottom: 0;
}

.isures-wrapbtn--filter_range {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 10px;
}

.isures-filter--wrap .isures-wrapbtn--filter_range a {
    border-radius: 4px;
    display: inline-block;
    font-size: 14px;
    line-height: 16px;
    margin: 0 5px;
    padding: 8px 0;
    text-align: center;
    background-color: var(--isures-filter-secondary);
    color: #fff;
    min-width: 68px;
    text-transform: uppercase;
}

.isures-input--filter_keyup {
    margin-right: 5px;
}

.isures-loadmore--filter {
    display: block;
    overflow: hidden;
    position: relative;
    line-height: 40px;
    font-size: 14px;
    color: #333;
    text-align: center;
    border-radius: 4px;
    margin: 10px auto;
    max-width: 340px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 200ms ease-in-out;
    text-transform: capitalize;
    text-decoration: none;
}

.isures-loadmore--filter:hover {
    background-color: var(--isures-filter-primary);
    color: #fff;
    border: 1px solid var(--isures-filter-primary);
}

.isures-loadmore--filter:hover:after {
    border-top: 5px solid #fff;
}

.isures-loadmore--filter::after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    content: '';
    position: relative;
    right: -5px;
    top: 11px;
    transition: all 200ms ease-in-out;
}

.isures-filter--nav_loadmore {
    text-align: center;
}

.isures-scroll--wrap_dropdown {
    position: relative;
    z-index: 29;
    padding-top: 8px;
    background: #fff;
    margin-bottom: 15px;
    margin-top: 15px;
    transition: top .2s ease-in-out;
}

.isures-scroll--wrap_dropdown.isures-show {
    padding: 8px 0 0 8px;
    z-index: 999;
}



.isures-scroll--inner_dropdown .isures-filter--dropdown .isures-filter--nav_wrap .isures-item--price_wrap {
    white-space: pre-wrap
}

.isures-scroll--inner_dropdown .isures-filter--dropdown.active:before,
.isures-scroll--inner_dropdown .isures-filter--dropdown.active:after {
    display: none
}


.isures-scroll--inner_dropdown .isures-filter--dropdown.active .isures-dropdown--icon:before,
.isures-scroll--inner_dropdown .isures-filter--dropdown.active .isures-dropdown--icon:after {
    content: '';
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    bottom: -11px;
    transition: all .3s;
}

.isures-scroll--inner_dropdown .isures-filter--dropdown.active .isures-dropdown--icon:before {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ddd;
    z-index: 1
}

.isures-scroll--inner_dropdown .isures-filter--dropdown.active .isures-dropdown--icon:after {
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #fff;
    z-index: 2
}

.isures-scroll--wrap_dropdown {
    top: auto
}

.isures-scroll--wrap_dropdown.isures-filter--fixed.active {
    background-color: #fff;
    box-shadow: 0 4px 8px rgb(0 0 0 / 5%);
    max-width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    position: fixed;
    padding: 10px 0 0 10px;
    width: 100%;
    z-index: 999;
    left: 0;
    -webkit-animation: MoveDown .6s;
    animation: MoveDown .6s;
}

.isures-scroll--wrap_dropdown.isures-filter--fixed.active .isures-scroll--inner_dropdown {
    max-width: 1168px;
    width: 100%;
}

.isures-scroll--wrap_dropdown:after {
    background: linear-gradient(to right, rgba(255 255 255/.3), rgba(255 255 255/.8), #fff);
    content: '';
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px
}

.isures-term--filter.isures-cate--filter.isures_type_image .isures-item--attribute a,
.isures-term--filter:not(.isures-cate--filter) .isures-item--attribute a {
    min-height: 30px
}

.isures-term--filter.isures-cate--filter.isures_type_image .isures-item--attribute a,
.isures-term--filter.isures_type_image .isures-item--attribute a {
    height: var(--p68-img-height, 38px);
    background: rgba(242, 244, 247, 1);
}

.isures-term--filter.isures_type_image_label .isures-item--attribute a {
    min-height: var(--p68-img-height, 38px);
    background: rgba(242, 244, 247, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.isures-term--filter.isures-cate--filter.isures_type_image .isures-item--attribute a img,
.isures-term--filter.isures_type_image .isures-item--attribute a img,
.isures-term--filter.isures_type_image_label .isures-item--attribute a img {
    width: auto;
    height: calc(var(--p68-img-height, 38px) - 18px);
    object-fit: cover;
    flex-shrink: 0;
    mix-blend-mode: multiply;
}

.isures-filter--dropdown>:not(.isures-filter--nav_wrap):not(.is-divider) {
    line-height: 1;
    outline: none;
    z-index: 34;
}

@keyframes MoveDown {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%)
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@media screen and (min-width: 1023px) {

    /* .isures-scroll--wrap_dropdown.isures-filter--fixed.active .isures-filter--nav_wrap.active {
        display: none !important;
    } */
}

@media screen and (max-width: 1023px) {
    .isures-scroll--inner_dropdown .isures-filter--dropdown .isures-filter--nav_wrap {
        min-width: 100%;
        max-width: 100%;
        display: block;
    }

    .isures-scroll--inner_dropdown .isures-filter--dropdown .isures-filter--nav_wrap {
        box-shadow: none;
        border: 1px solid #ddd;
        border-radius: 0
    }

    .isures-scroll--inner_dropdown {
        display: block;
        white-space: nowrap;
        overflow-x: auto;
    }

    .isures-scroll--inner_dropdown .isures-filter--dropdown {
        position: unset
    }

}

/* =========================================================================
   ALL FILTERS MODAL
   ========================================================================= */

/* Trigger button */
.isures-allfilters--widget {
    padding: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important
}

.isures-allfilters--trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.isures-allfilters--btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--isures-filter-primary);
    border-radius: 8px;
    background: #fff;
    color: var(--isures-filter-primary);
    cursor: pointer;
    font-weight: 300;
    font-size: 14px;
    min-width: 80px;
    height: 38px;
    white-space: nowrap;
    transition: all .2s ease-in-out;
    position: relative;
    margin: 0 !important;
    text-transform: capitalize;
}

.isures-allfilters--open .isures-allfilters--btn {
    z-index: 99999
}

.isures-allfilters--btn:hover {
    background: var(--isures-filter-primary);
    color: #fff
}

.isures-allfilters--btn:hover svg {
    stroke: #fff
}

.isures-allfilters--btn svg {
    flex-shrink: 0;
    stroke: var(--isures-filter-primary);
    transition: stroke .2s ease-in-out
}

/* Inline tags next to button */
.isures-allfilters--tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap
}

.isures-allfilters--inline-clear {
    color: var(--isures-filter-primary);
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap
}

.isures-allfilters--inline-clear:hover {
    text-decoration: underline
}

/* Widget container needs relative for absolute panel */
.isures-allfilters--widget {
    position: relative !important;
    margin-bottom: 20px;
}

/* Lock scroll when panel open */
html.isures-allfilters--open,
body.isures-allfilters--open {
    overflow: hidden !important;
    height: 100% !important
}

/* Panel wrapper — absolute overlay */
.isures-allfilters--overlay {
    display: none;
    position: absolute;
    left: 0;
    z-index: 99999;
    width: min(900px, 90vw)
}

/* Arrow pointing to button */
.isures-allfilters--overlay::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 24px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-left: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    transform: rotate(45deg);
    z-index: 1
}

/* Backdrop */
.isures-allfilters--backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 99998
}

/* Panel */
.isures-allfilters--modal {
    background: #fff;
    background-color: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .5);
    border-radius: 4px;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Header */
.isures-allfilters--header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e8e8e8
}

.isures-allfilters--header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #222;
    text-align: center;
}

.isures-allfilters--close {
    position: absolute;
    top: 12px;
    background-color: #fff !important;
    box-shadow: none !important;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    padding: 8px 10px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    right: 10px;
    font-size: 14px;
    line-height: 19px;
    font-weight: 300;
    margin: 0 !important;
}

.isures-allfilters--footer button {
    border-radius: 4px;
    display: inline-block;
    font-size: 14px;
    line-height: 16px;
    padding: 10px 20px;
    margin: 0 !important;
    font-weight: 300;
    box-shadow: none !important;
}

.isures-allfilters--close:hover {
    background: #f0f0f0;
    color: #333
}

/* Selected tags bar */
.isures-allfilters--selected {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.isures-allfilters--selected-label {
    font-size: 13px;
    color: #666;
    white-space: nowrap
}

.isures-allfilters--chosen-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1
}

a.isures-allfilters--tag,
.isures-allfilters--inline-tag {
    padding: 18px 13px;
    margin-right: 7px;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    border: 1px solid #f2f4f7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-height: 30px;
    background: rgba(242, 244, 247, 1);
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0
}

.isures-allfilters--inline-tag {
    margin: 0 !important;
}

a.isures-allfilters--tag:hover {
    border-color: #ccc;
    color: #333
}

.isures-allfilters--clear-tags {
    color: var(--isures-filter-primary);
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    margin-left: auto
}

.isures-allfilters--clear-tags:hover {
    text-decoration: underline
}

/* Body */
.isures-allfilters--body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    overscroll-behavior: contain
}

.isures-allfilters--section {
    margin-bottom: 20px !important;
}

.isures-allfilters--modal .isures-term--filter {
    border: none;
    padding: 0;
}

.isures-allfilters--modal .isures-wrapbtn--filter_range {
    display: none;
}

.isures-allfilters--section:last-child {
    margin-bottom: 0
}

.isures-allfilters--section h4 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333
}

.isures-allfilters--items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

/* Override dropdown styles inside modal */
.isures-allfilters--items .isures-filter--nav_wrap {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: none !important;
    max-width: none !important;
    min-width: auto !important;
    border-radius: 0 !important
}

.isures-allfilters--items .isures-item--attribute,
.isures-allfilters--items .isures-item--price {
    transition: all .15s ease
}

.isures-allfilters--items .isures-item--attribute a,
.isures-allfilters--items .isures-item--price a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: all .15s ease;
    white-space: nowrap
}

.isures-allfilters--items .isures-item--attribute.active a,
.isures-allfilters--items .isures-item--price.active a {
    border-color: var(--isures-filter-primary);
    color: var(--isures-filter-primary);
    background: rgba(var(--isures-filter-primary-rgb, 25, 118, 210), .06)
}

.isures-allfilters--items .isures-item--attribute a:hover,
.isures-allfilters--items .isures-item--price a:hover {
    border-color: var(--isures-filter-primary)
}

/* Price section */
.isures-allfilters--items .isures-item--price_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.isures-allfilters--items .isures-title--range_price {
    width: 100%;
    font-size: 13px;
    color: var(--isures-filter-primary);
    margin: 10px 0 5px
}

.isures-allfilters--items .isures-price--range_slider {
    width: 100%;
    margin-top: 5px
}

.isures-allfilters--items .isures-custom--value_price {
    width: 100%;
    margin: 0 !important;
}

.isures-allfilters--items .isures-label--price_range {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 5px
}

.isures-allfilters--items .isures-wrapbtn--filter_range {
    width: 100%;
    margin-top: 8px
}

.isures-allfilters--items .isures-filter--custom_range {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--isures-filter-primary);
    border-radius: 5px;
    color: var(--isures-filter-primary);
    text-decoration: none;
    font-size: 13px
}

/* Footer */
.isures-allfilters--footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, .05);
    padding: 8px 10px;
    gap: 10px;
}

.isures-allfilters--reset {
    padding: 10px 24px;
    border: 1px solid #d32f2f;
    border-radius: 8px;
    background: transparent;
    color: #d32f2f;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all .15s
}

.isures-allfilters--reset:hover {
    background: #d32f2f;
    color: #fff
}

.isures-allfilters--apply {
    padding: 10px 28px;
    border: none;
    border-radius: 8px;
    background: var(--isures-filter-primary);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all .15s;
    flex: 1;
    max-width: 260px;
    text-align: center
}

.isures-allfilters--apply:hover {
    opacity: .9
}

.isures-allfilters--count {
    display: inline-block;
    min-width: 16px;
    text-align: center
}

.isures-allfilters--count.loading {
    color: transparent;
    position: relative
}

.isures-allfilters--count.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: isures-spin .5s linear infinite
}

@keyframes isures-spin {
    to {
        transform: rotate(360deg)
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .isures-allfilters--overlay {
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
        height: 100vh;
        height: 100dvh;
        top: 0 !important;
        position: fixed;
    }

    .isures-allfilters--modal {
        max-height: 100vh;
        max-height: 100dvh
    }

    .isures-allfilters--apply {
        max-width: none;
        flex: 1
    }

    .isures-allfilters--tags {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-bottom: 0;
    }

    .isures-allfilters--tags::-webkit-scrollbar {
        display: none
    }

    .isures-allfilters--chosen-tags {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none
    }

    .isures-allfilters--chosen-tags::-webkit-scrollbar {
        display: none
    }
}

/* Landscape phone: height nhỏ + orientation landscape → fullscreen modal */
@media (max-height: 500px) and (orientation: landscape) {
    .isures-allfilters--overlay {
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
        height: 100vh;
        height: 100dvh;
        top: 0 !important;
        position: fixed;
    }

    .isures-allfilters--modal {
        max-height: 100vh;
        max-height: 100dvh
    }

    .isures-allfilters--apply {
        max-width: none;
        flex: 1
    }
}

/* =========================================================================
   Quick Link Chips
   ========================================================================= */
.isures-allfilters--quicklinks {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.isures-allfilters--quicklinks::-webkit-scrollbar {
    display: none
}

.isures-allfilters--quicklinks:empty {
    display: none
}

.isures-quicklinks--newrow .isures-allfilters--quicklinks {
    flex-basis: 100%;
    order: 10;
    margin-top: 6px
}

.isures-quicklink--icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 1;
    stroke: var(--isures-filter-primary);
}

.isures-quicklink--chip {
    padding: 18px 13px;
    margin-right: 7px;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    border: 1px solid #f2f4f7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    background: rgba(242, 244, 247, 1);
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.isures-quicklink--chip:hover {
    border-color: var(--isures-filter-primary);
    color: var(--isures-filter-primary)
}

.isures-quicklink--active {
    border-color: var(--isures-filter-primary);
    color: var(--isures-filter-primary);
    background: color-mix(in srgb, var(--isures-filter-primary) 8%, transparent)
}

.isures-quicklink--has-thumb span {
    display: none
}

.isures-quicklink--has-thumb {
    padding: 4px
}

.isures-quicklink--thumb {
    width: auto;
    height: 20px;
    object-fit: cover;
    flex-shrink: 0;
    mix-blend-mode: multiply;
}

@media (max-width: 768px) {
    .isures-allfilters--quicklinks {
        gap: 6px
    }

    .isures-quicklink--chip {
        padding: 5px 10px;
        font-size: 12px
    }
}

/* =========================================================================
   Sort Bar
   ========================================================================= */
.isures-sort-bar {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    margin-bottom: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 1.5
}

.isures-sort-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 0;
    color: #555;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    cursor: pointer;
    transition: color .15s ease;
    white-space: nowrap;
    border: none;
    background: none
}

.isures-sort-bar__label {
    margin-right: 10px;
}

.isures-sort-bar__item+.isures-sort-bar__item::before,
.isures-sort-bar__item+.isures-sort-bar__price::before,
.isures-sort-bar__price+.isures-sort-bar__item::before {
    content: '·';
    margin-right: 8px;
    color: rgba(234, 236, 240, 1);
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
}

.isures-sort-bar__item+.isures-sort-bar__item,
.isures-sort-bar__item+.isures-sort-bar__price,
.isures-sort-bar__price+.isures-sort-bar__item {
    margin-left: 8px;
}

.isures-sort-bar__item:hover {
    color: var(--isures-filter-primary, #0088cc)
}

.isures-sort-bar__item.active {
    color: var(--isures-filter-primary, #0088cc);
}

.isures-sort-bar__item svg {
    flex-shrink: 0
}

/* Price dropdown group */
.isures-sort-bar__price {
    position: relative;
    display: inline-flex;
    align-items: center
}

.isures-sort-bar__price-toggle {
    border-left: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important
}

.isures-sort-bar__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    z-index: 100;
    min-width: 140px;
    padding: 4px 0
}

.isures-sort-bar__price.open .isures-sort-bar__dropdown {
    display: block
}

.isures-sort-bar__dropdown-item {
    display: block;
    padding: 6px 14px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer
}

.isures-sort-bar__dropdown-item:hover {
    background: #f5f5f5;
    color: var(--isures-filter-primary, #0088cc)
}

.isures-sort-bar__dropdown-item.active {
    color: var(--isures-filter-primary, #0088cc);
    font-weight: 600
}

@media (max-width: 768px) {
    .isures-sort-bar {
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        font-size: 13px
    }

    .isures-sort-bar::-webkit-scrollbar,
    .isures-sort-bar__label {
        display: none
    }

    .isures-allfilters--quicklinks {
        gap: 6px;
        width: calc(100% - 96px);
    }

    .isures-sort-bar__dropdown {
        left: auto;
        right: 0;
    }
}

/* =========================================================================
   Grid Columns Layout
   ========================================================================= */
/* PC grid — only applied when columns_pc is set */
.isures-grid-pc .isures-filter--nav_wrap,
.isures-grid-pc .isures-item--price_wrap,
.isures-grid-pc .isures-filter--rating_inner,
.isures-grid-pc .isures-allfilters--items,
.isures-grid-pc .isures-active-filters {
    display: grid;
    grid-template-columns: repeat(var(--cols-pc), 1fr);
    gap: 5px
}

.isures-grid-pc .isures-filter--nav_wrap .isures-item--attribute,
.isures-grid-pc .isures-filter--nav_wrap .isures-item--price,
.isures-grid-pc .isures-allfilters--items .isures-item--attribute,
.isures-grid-pc .isures-allfilters--items .isures-item--price {
    display: block;
    width: auto;
    max-width: none;
    margin: 0
}

/* Mobile grid — only applied when columns_mobile is set */
@media (max-width: 768px) {

    .isures-grid-mb .isures-filter--nav_wrap,
    .isures-grid-mb .isures-item--price_wrap,
    .isures-grid-mb .isures-filter--rating_inner,
    .isures-grid-mb .isures-allfilters--items,
    .isures-grid-mb .isures-active-filters {
        display: grid;
        grid-template-columns: repeat(var(--cols-mobile), 1fr);
        gap: 5px
    }

    .isures-grid-mb .isures-filter--nav_wrap .isures-item--attribute,
    .isures-grid-mb .isures-filter--nav_wrap .isures-item--price,
    .isures-grid-mb .isures-allfilters--items .isures-item--attribute,
    .isures-grid-mb .isures-allfilters--items .isures-item--price {
        display: block;
        width: auto;
        max-width: none;
        margin: 0
    }
}