
.projects-search.top_property_search .rf-drawer-body #rf-filter-price-container {
    position: static;
    display: block;
    width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.projects-search.top_property_search .js-price-filter-pill {
    position: relative;
    overflow: visible;
}

.projects-search.top_property_search .rf-action-group {
    overflow: visible;
}

.projects-search.top_property_search .js-price-filter-pill .price-range-slider-container {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 360px;
    max-width: 92vw;
    background: #fff;
    border: 1px solid #d0d8e5;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .24);
    padding: 14px;
    z-index: 1400;
    display: none;
}

.projects-search.top_property_search .js-price-filter-pill:hover .price-range-slider-container {
    display: none;
}

.projects-search.top_property_search .js-price-filter-pill.open .price-range-slider-container {
    display: block;
}

.projects-search.top_property_search .js-price-filter-pill.open:hover .price-range-slider-container {
    display: block;
}

.projects-search.top_property_search #price-slider-graph-dropdown,
.projects-search.top_property_search #histogramSlider {
    width: 100%;
    max-width: 100%;
    min-height: 220px;
}

.projects-search.top_property_search .rf-price-widget {
    width: 100%;
}

.projects-search.top_property_search .rf-price-bars {
    height: 96px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    padding: 8px 0 2px;
}

.projects-search.top_property_search .rf-price-bar {
    flex: 1 1 0;
    border-radius: 3px 3px 0 0;
    background: #1f6fb8;
    opacity: .28;
}

.projects-search.top_property_search .rf-price-bar.in-range {
    opacity: .95;
}

.projects-search.top_property_search .rf-price-amounts {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: #013667;
    margin: 6px 0 10px;
}

.projects-search.top_property_search .rf-price-ranges {
    position: relative;
    height: 36px;
}

.projects-search.top_property_search .rf-price-ranges input[type=range] {
    position: absolute;
    left: 0;
    top: 8px;
    width: 100%;
}

.projects-search.top_property_search .rf-price-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.projects-search.top_property_search .rf-price-input-grid label {
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 5px;
    display: block;
}

.projects-search.top_property_search .rf-price-input-grid .form-control {
    height: 38px;
    border-radius: 9px;
    border: 1px solid #d0d8e5;
}

.projects-search.top_property_search .rf-hidden-select {
    display: none !important;
}

.projects-search.top_property_search .rf-type-tile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

@media (max-width: 575.98px) {
    .projects-search.top_property_search .rf-type-tile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.projects-search.top_property_search .rf-type-tile {
    position: relative;
    width: 100%;
    border: 1px solid #d7e2ee;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-radius: 14px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 92px;
    color: #0f172a;
    font-weight: 800;
    font-size: 12px;
    line-height: 1.15;
    transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease, background .18s ease;
    text-align: center;
    cursor: pointer;
}

.projects-search.top_property_search .rf-type-tile:hover {
    border-color: #a9bfd6;
    box-shadow: 0 16px 32px rgba(15, 23, 42, .14);
    transform: translateY(-2px);
}

.projects-search.top_property_search .rf-type-tile:focus {
    outline: none;
}

.projects-search.top_property_search .rf-type-tile:focus-visible {
    border-color: #0e4078;
    box-shadow: 0 0 0 3px rgba(14, 64, 120, .14), 0 16px 32px rgba(15, 23, 42, .14);
}

.projects-search.top_property_search .rf-type-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 64, 120, .08);
    color: #0e4078;
    font-size: 20px;
}

.projects-search.top_property_search .rf-type-label {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 2.3em;
    padding: 0 2px;
    color: #0f172a;
}

.projects-search.top_property_search .rf-type-tile.active {
    border-color: #dc143c;
    background: linear-gradient(180deg, rgba(220, 20, 60, .06) 0%, rgba(255, 255, 255, 1) 100%);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, .14);
    transform: translateY(-1px);
}

.projects-search.top_property_search .rf-type-tile.active .rf-type-icon {
    background: rgba(220, 20, 60, .10);
    color: #dc143c;
}

.projects-search.top_property_search .rf-type-tile.active::after {
    content: "\f00c";
    font-family: "FontAwesome";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #dc143c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
