/* Header rows */
.box-title-listing {
    margin-bottom: 10px;
}

.listing-toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.toolbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.select-filter select {
    min-width: 210px;
}

.nav-tab-filter .nav-link-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e8edf2;
    border-radius: 10px;
}

.nav-tab-filter .nav-link-item.active {
    background: #f3f6ff;
    border-color: #c7d2fe;
}

.lazy-cover {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 14px;
}

.homelengo-box {
    border: 1px solid #eef0f4;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 24px;
}

.archive-top {
    position: relative;
}

.flag-tag {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
}

.flag-tag.primary {
    background: #1e3a8a;
    color: #fff;
}

.flag-tag.style-1 {
    background: #e5f4ff;
    color: #0c67b5;
}

.top {
    position: absolute;
    top: 12px;
    left: 12px;
}

.bottom {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.price {
    font-weight: 700;
    font-size: 1.1rem;
}

.widget-sidebar .widget-box {
    border: 1px solid #eef0f4;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    background: #fff;
}

.noUi-target {
    background: #eef2ff;
    border-radius: 10px;
    border: none;
    box-shadow: none;
}

.noUi-connect {
    background: #3b82f6;
}

.noUi-handle {
    box-shadow: none;
    border: 4px solid #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.wd-navigation .nav-item {
    border: 1px solid #e6e8ee;
    border-radius: 10px;
    padding: 8px 12px;
}

.latest-property-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px dashed #e8edf2;
}

.latest-property-item:first-child {
    border-top: none;
}

.images-style img {
    width: 200px;
    height: 50% !important;
    object-fit: cover;
    border-radius: 10px;
}

/* Small helper */
.text-variant-1 {
    color: #6b7280;
}

/* ---- Toolbar: keep all 3 selects on one row ---- */
@media (min-width: 768px) {
    .filter-toolbar {
        display: flex;
        gap: 12px;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: nowrap;
        /* prevent wrapping */
    }

    /* theme makes these 100% wide; override for inline layout */
    .filter-toolbar .nice-select.select-filter {
        width: auto !important;
        min-width: 220px;
        /* adjust to taste */
    }
}