.elementor-post-loop-widget {
    display: grid;
    flex-wrap: wrap;
    gap: 24px;
}

.tls-filter {
    opacity: 0;
    height: 0;
}

.elementor-post-loop-widget .post-item {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    background: #fff;
    flex: 1 1 calc(100% - 20px);
    box-sizing: border-box;
}

.elementor-post-loop-widget.elementor-post-loop-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.elementor-post-loop-widget .elementor-invisible {
    visibility: visible !important;
}

.elementor-post-loop-widget.elementor-post-loop-grid-3 {
    grid-template-columns: repeat(3, 1fr);

}

.elementor-post-loop-widget.elementor-post-loop-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}


.total-results {
    font-weight: bold;
    margin-bottom: 10px;
}

.elementor-post-loop-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
    gap: 3px;
}

.elementor-post-loop-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;

    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: var(--primary-900);
}

.elementor-post-loop-pagination .page-numbers.current {
    background: var(--primary-900);
    color: #fff;
    border-color: var(--primary-900);
}

.elementor-post-loop-pagination .page-numbers.current:hover {
    background: var(--primary-900);
}

.elementor-post-loop-pagination .page-numbers:hover {
    background: #f0f0f0;
}

/********* FILTER CSS ***********/


.container {
    background-color: #f7f7f7;
    width: 100%;
    min-height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px;

}

.container-topfilter {
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.col-2 {
    grid-column: span 2;
}

.col-3 {
    grid-column: span 3;
}

.range-slider-main {
    display: flex;

}

.div-group {
    flex-direction: column;
    display: flex;
    position: relative;
    height: fit-content;
}

.options {
    width: 100%;
    position: absolute;
    z-index: 50;
    top: calc(100% + 6px);
    left: 0px;
    background: white;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.filter_keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.range-filter {
    display: flex;
    height: 40px;
    padding: 10px;
    border-radius: 3px;
    background: #CB3A38;
    font-weight: 600;
    font-size: 12px;
    color: white;
    align-items: center;
    font-family: sans-serif;
}

.option {
    width: 100%;
    height: 38px;
    background: white;
    display: flex;
    gap: 20px;
    color: rgba(0, 0, 0, 0.7);
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    font-family: sans-serif;
    padding-inline: 20px;
    cursor: pointer;
}

.selected-icon {
    color: rgba(0, 0, 0, 0.7);
    width: 30px;
}

.option:hover {
    color: #000;
}

.input-div {

    position: relative;
    display: flex;
    border: 0px;
    outline: 0px;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    width: 100%;
    background-color: #fff;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 4px;
    text-transform: capitalize;
    color: #000;
}

.slider-field .label-track {
    text-transform: capitalize;
    font-weight: 400;
    font-size: 1rem;
}

.input-div:hover {
    background-color: #fff !important;
    color: #000;
}

.close {
    width: 36px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.input-div input {
    background: #fff;
    outline: 0px;
    border: 0px;
    font-size: 12px;
    background: transparent;
    align-items: start;
    text-align: start;
    font-weight: 600;
}

.input-div input::placeholder {
    font-size: 12px;
    font-weight: 600;
}

.filter_keywords .selected-value {
    color: #fff;
    background-color: #70B7D8;
    border: 1px solid #70B7D8;
    padding: .2rem .3rem;
}

svg {
    height: 1.25rem;
    width: 1.25rem;
}

.range-slider {
    position: relative;
    width: 70%;
}

.relative {
    position: relative;
}

.rs-selected {
    background: #CB3A38 !important;
    background-image: none;
    border-radius: 0px !important;
    border: 0px !important;
    top: 0px !important;
}

.slider-main {
    flex: 1;
    display: flex;
    align-items: center;
}

.ui-slider-handle,
.rslider-pointer {
    position: absolute !important;
    top: 50% !important;
    width: 20px !important;
    height: 20px !important;
    background: #CB3A38 !important;
    border: 2px solid white !important;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    touch-action: none;
    z-index: 2;
    color: transparent !important;
    margin: 0px !important;
}

.rslider-tooltip {
    background: #CB3A38 !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: bold !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
}

.label-track {
    font-size: 12px;
    font-weight: 600;
    font-family: sans-serif;
}

.rs-container .rs-pointer {
    background: white !important;
    height: 20px;
    top: -5px !important;
    width: 20px;
    border-radius: 50%;
    box-shadow: 0px;
    border: 0px;
}

.rs-container .rs-pointer::before {
    height: 0px;
    width: 0px;
    display: hidden;
}

.rs-container .rs-pointer::after {
    height: 0px;
    width: 0px;
    display: hidden;
}

.rs-scale {
    width: 100%;
    padding-inline: 20px;
    display: none;
}

.slider-field {
    background: white;
    display: flex;
    height: 42px;
    align-items: center;
    justify-content: space-between;
    padding-inline: 20px;
}

.rs-container {
    height: fit-content;
    width: 100%;
}

.rs-bg {
    position: static !important;
}

.tl-track,
.tl-thumb,
.tl-tooltip {
    background: #70B7D8 !important;
}

.input-div svg {
    color: #70B7D8 !important;
}

.slider-main .min_val,
.slider-main .max_val {
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 14px !important;
}

.spinner {
    margin: 20px auto;
    width: 80px;
    height: 80px;
    border: 10px solid #ccc;
    border-top: 10px solid #007bff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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

.loader-container {
    display: flex;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.5);
    justify-content: center;
    align-items: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
}






.search-box-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-radius: 12px;
    background-color: #fff;

}

.btn-group {
    display: flex;
    justify-content: flex-start;
}

.btn-group ul {
    display: flex;
    list-style: none;
    border-radius: 100px;
    background-color: var(--secondary-50);
    padding: 6px;
    margin: 0;
}

.btn-group ul a {
    display: flex;
    height: 36px;
    align-items: center;
    border-radius: 100px;
    padding-inline: 24px;
    font-size: 16px;
    line-height: 120%;
    color: var(--secondary-700);
}

.btn-group ul a.active {
    background-color: #fff;
    font-weight: bold;
}

.search-box-fields {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.search-box-fields .search-keywords {
    max-width: 100%;
    display: flex;
    align-items: center;
    flex: 1;
}

.search-box-fields .search-keywords.active-dd {
    flex-direction: column;
    align-items: start;
    position: relative;
}

.search-box-fields .search-dropdown {
    width: 235px;
}

.search-box-fields input {
    height: 48px;
    width: 100%;
    border-radius: 100px;
    background-color: var(--netural-100);
    padding: 10px;
    outline-style: none;
    border: 1px solid var(--netural-100);
}

.search-box-fields button {
    display: flex;
    height: 48px;
    width: 162px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 100px;
    background-color: var(--primary-900);
    stroke: #fff;
    color: #fff;
}

[x-cloak] {
    display: none !important;
}

.search-dd {
    display: none;
}

.active-dd .search-dd {
    display: block;
}

.search-box-fields .search-keywords.active-dd .search-dd {
    background-color: var(--netural-100);
    position: absolute;
    top: 100%;

    left: 0;
    z-index: 100;
    border-radius: 0 0 12px 12px;

}

.search-keywords {
    background-color: var(--netural-100);
    border-radius: 12px;
}

.search-keywords>div {
    width: 100%;
}

.search-keywords input {
    width: 100%;
}

.active-dd.search-keywords {
    background-color: var(--netural-100);
    border-radius: 12px 12px 0 0;
}

.active-dd.search-keywords.rounded-it {
    border-radius: 12px;
}


.search-keywords-list {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 6px;
    font-size: 14px;
    line-height: 150%;
    flex-wrap: wrap;
    padding: 6px;
    ;

}

.active-dd .search-keywords-list {
    padding: 0 16px;
}

.search-keywords ul {

    padding: 0;
    list-style: none;
    margin: 8px;

    max-height: 200px;
    overflow-y: auto;
    color: var(--primary-900);
}

.search-keywords-list .item {
    display: flex;
    gap: 8px;
    background-color: var(--secondary-200);
    color: var(--primary-900);
    border-radius: 8px;
    padding: 8px 12px;
}

.search-keywords-list .add {
    cursor: pointer;
}

.search-keywords-list .item svg {
    width: 10px;
    height: 10px;
}

.search-keywords-list span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.search-dropdown {
    height: 100%;
    max-height: 48px;
    display: flex;
    align-items: center;
    background-color: var(--netural-100);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
}

.search-dropdown .set-dropdown {
    height: 100%;
    width: 100%;
    padding: 0 10px;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-dropdown .set-dropdown svg {
    height: 14px;
    width: 14px;
}

.search-dropdown .search-dd.more {
    width: 513px;
}

.search-dropdown .search-dd {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #fff;
    width: 100%;
    box-shadow: 0 6px 16px rgba(40, 40, 40, 0.08);
    border-radius: 12px;
    max-height: 200px;
    overflow-y: auto;
    padding: 12px 16px;
    z-index: 100;
}

.search-keywords .search-dd li {
    padding: 0 8px;
}

.search-keywords .search-dd li:hover {
    cursor: pointer;
    background: var(--secondary-200);

}

.search-dropdown .search-dd ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.search-dropdown .search-dd ul li div>span {
    display: block;
    margin: 0 -4px;
    padding: 0 2px 0 4px;
    font-size: 13px;
}

.search-dropdown .search-dd ul li div>span:hover {
    cursor: pointer;
    background: var(--secondary-200);
}

.search-dropdown .search-dd .disabled {
    opacity: 0.4;
    cursor: default;
}

:root {
    --text7-1-plus: #121820;
    --secondary-200: #C1E2FC;
    --primary-200: #B1D6FF;
    --neutral-200: #D0DBE7;
}


.style-2 .search-box-fields,
.style-3 .search-box-fields {
    flex-direction: column;
}

.style-2 .row-1,
.style-2 .row-2,
.style-3 .row-1,
.style-3 .row-2 {
    display: flex;
    justify-content: space-between;
}

.style-2 .row-2{gap:10px}
.style-2 .row-2>div{
    flex: 1;
}
.style-2 .search-box-fields .search-dropdown{
    width: 100%!important;
}

.style-2 .row-1,
.style-3 .row-1 {
    gap: 16px
}

.style-2 .search-box-fields .search-dropdown,
.style-3 .search-box-fields .search-dropdown {
    width: 152px;
    height: 48px;
}

.style-3 .search-box-fields .search-dropdown {
    width: 224px;
    height: 48px;
}

.feature-row-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-row {
    display: flex;
    gap: 6px;
    position: relative;
}

.feature-row::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.no-post {
    display: flex;
    justify-content: CENTER;
    font-size: 24px;
    font-weight: 700;
}

.search-box-fields .more-features {
    display: flex;
    flex-direction: column;
    gap: 16px;

}

.h5-bold {
    font-size: 20px;
    font-weight: 700;
    line-height: 110%;
}

.search-box-fields .more-features button {
    width: 100%;
}

.search-box-fields .feature-row input {
    width: 16px;
    height: 16px;
}

.search-dropdown .search-dd.more {
    max-height: initial;
}

.search-dropdown .feature-row-wrapper {
    max-height: 275px;
    overflow-y: auto;
    margin-right: -12px;
    padding-right: 12px;
}

.search-box-fields button.saerch-show-more {
    display: none;
}

.style-2 .row-3,
.style-3 .row-3 {
    display: none;
}

.search-box-wrap.style-2,
.search-box-wrap.style-3 {

    border: 1px solid var(--neutral-200);
    border-left: 0;
    border-right: 0;
    padding: 40px 0;
    margin: 40px 0;
}

.search-box-wrap {
    position: relative;
}

.search-box-wrap .loader-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    background-color: rgba(0, 0, 0, 0.3);

    z-index: 9999;
    display: none;
    font-size: 24px;

}

.search-box-wrap .loader-container .loading {

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

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

    .elementor-post-loop-widget.elementor-post-loop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .style-2 .row-3,
    .style-3 .row-3 {
        display: block;
    }

    .search-box-fields button.saerch-show-more {
        display: block;
    }

    .search-box-fields {
        gap: 0;
        flex-wrap: wrap;
    }

    .search-box-wrap .search-box-fields .search-keywords {
        width: 100%;
        flex: auto;
    }

    .search-box-wrap .search-box-fields .row-1 .search-keywords {
        width: auto;
        flex: 1;
    }

    .style-4 .row-1 {
        flex-direction: column;
    }

    .style-4 .type-wrapper {
        display: flex;
        gap: 16px;
        justify-content: space-between;
    }

    .style-4 .type-wrapper>div {
        flex: 1
    }

    .style-4 .type-wrapper .search-dropdown {
        width: 100%;
    }


    .search-dropdown-wrap {
        width: 50%;
        margin: 16px 0;
    }

    .search-dropdown-wrap.min-price {
        padding-right: 8px;
    }

    .search-dropdown-wrap.max-price {
        padding-left: 8px;
    }

    .search-dropdown-wrap .search-dropdown {
        width: 100%;
    }

    .search-box-fields .search-button {
        width: 100%;
    }

    .row-1 .search-button {
        display: none;
    }

    .row-1 {
        padding-bottom: 8px;
    }

    .style-2 .more-filter-row,
    .style-3 .more-filter-row {
        display: none;
    }

    .style-2 .more-filter-row.show-more-filter,
    .style-3 .more-filter-row.show-more-filter {
        display: flex;
    }

    .row-3 {
        padding-top: 8px;
    }

    .row-1 .saerch-show-more {
        display: block;
        width: 48px;
        border: 1px solid var(--primary-200);
        background: #fff;
        color: var(--primary-900)
    }

    .style-2 .row-2,
    .style-3 .row-2 {
        flex-wrap: wrap;
        margin: 0 -8px;
    }

    .style-2 .row-2>div,
    .style-3 .row-2>div {
        width: 50%;
        padding: 8px;
    }

    .style-2 .row-2>div:last-child,
    .style-3 .row-2>div:last-child {
        width: 100%;

    }

    .style-2 .row-2 .search-dropdown,
    .style-3 .row-2 .search-dropdown {
        width: 100%;
    }

}

@media screen and (max-width: 768px) {
    .search-results-wrap.elementor-post-loop-widget.elementor-post-loop-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .btn-group ul {
        width: 100%;
        justify-content: space-around;

    }

    .btn-group ul a {
        width: 100%;
        padding: 0;
        justify-content: center;
    }

    .btn-group li {
        flex: 1;
    }

    .search-dropdown .search-dd.more {
        width: 100%;
    }

}