
.nice-select {
    -webkit-tap-highlight-color: transparent;
    background-color: #fff;
    border-radius: 5px;
    border: solid 1px #e8e8e8;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block;
    float: left;
    font-family: inherit;
    font-size: 15px;
    font-weight: normal;
    height: 42px;
    line-height: 27px;
    outline: none;
    padding-left: 18px;
    padding-right: 30px;
    position: relative;
    text-align: left !important;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    width: auto;
    margin-bottom: 16px;
}

.nice-select:hover {
    border-color: #e2553f;
}

.nice-select:active,
.nice-select.open,
.nice-select:focus {
    border-color: #999;
}

.nice-select:after {
    border-bottom: 2px solid #999;
    border-right: 2px solid #999;
    content: '';
    display: block;
    height: 8px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
    -ms-transform-origin: 66% 66%;
    transform-origin: 66% 66%;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    width: 8px;
}

.nice-select.open:after {
    -webkit-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.nice-select.open .list {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: scale(1) translateY(0);
    -ms-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
}

.nice-select.disabled {
    border-color: #ededed;
    color: #999;
    pointer-events: none;
}

.nice-select.disabled:after {
    border-color: #cccccc;
}

.nice-select.wide {
    width: 100%;
}

.nice-select.wide .list {
    left: 0 !important;
    right: 0 !important;
}

.nice-select.right {
    float: right;
}

.nice-select.right .list {
    left: auto;
    right: 0;
}

.nice-select.small {
    font-size: 12px;
    height: 36px;
    line-height: 34px;
}

.nice-select.small:after {
    height: 4px;
    width: 4px;
}

.nice-select.small .option {
    line-height: 34px;
    min-height: 34px;
}

.nice-select .list {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
    box-sizing: border-box;
    margin-top: 4px;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    -webkit-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform: scale(0.75) translateY(-21px);
    -ms-transform: scale(0.75) translateY(-21px);
    transform: scale(0.75) translateY(-21px);
    -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    z-index: 9;
}

.nice-select .list:hover .option:not(:hover) {
    background-color: transparent !important;
}

.nice-select .option {
    cursor: pointer;
    font-weight: 400;
    line-height: 40px;
    list-style: none;
    min-height: 40px;
    outline: none;
    padding-left: 18px;
    padding-right: 29px;
    text-align: left;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.nice-select .option:hover {
    background-color: #e2553f;
    color: #fff;
}

.nice-select .option.selected {
    font-weight: bold;
}

.nice-select .option.disabled {
    background-color: transparent;
    color: #999;
    cursor: default;
}

.no-csspointerevents .nice-select .list {
    display: none;
}

.no-csspointerevents .nice-select.open .list {
    display: block;
}

.contact-form-wrapper .list {
    background: #2f3341 none repeat scroll 0 0;
    border-radius: 0;
}
/* Modern search panel */
.search-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(13, 20, 33, 0.08);
    border: 1px solid rgba(13, 20, 33, 0.06);
}

.search-panel .widget-boxed-header {
    border-bottom: 1px solid rgba(13, 20, 33, 0.08);
}

.search-panel .widget-boxed-header h4 {
    font-size: 18px;
    letter-spacing: 0.02em;
}

.search-panel__form {
    display: block;
}

.search-panel__group label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5a667a;
}

.search-panel__group .select2-dropdown,
.search-panel__group select {
    width: 100%;
}

.search-panel__grid {
    display: block;
}

.search-panel__group {
    margin-bottom: 12px;
}

.search-panel__form .select2-container {
    width: 100% !important;
}

/* Material-like Select2 styling for search panel */
.search-panel .select2-container {
    box-sizing: border-box;
}

.search-panel .select2-container .select2-selection--single {
    height: 55px !important;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
}

.search-panel .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal;
    padding-left: 16px;
    padding-right: 36px;
    padding-top: 0;
    padding-bottom: 0;
    color: #1f2937;
    display: block;
}

.search-panel .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 55px;
    right: 12px;
    display: flex;
    align-items: center;
}

.search-panel .select2-container--default.select2-container--focus .select2-selection--single,
.search-panel .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--brand-accent);
    box-shadow: 0 6px 16px rgba(239, 59, 45, 0.18);
}

.search-panel .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #8b95a5;
    line-height: 55px;
    display: block;
}

.search-panel__actions .btn {
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: 700;
}

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

.search-panel__check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    font-weight: 600;
    color: #1f2937;
}

.search-panel__check input {
    width: 16px;
    height: 16px;
}

body.theme-dark .search-panel__check {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.35);
}

.search-panel__toggle-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.search-panel__toggle-group input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.search-panel__toggle-group label {
    height: 55px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #1f2937;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.search-panel__toggle-group input:checked + label {
    border-color: var(--brand-accent);
    box-shadow: 0 6px 16px rgba(239, 59, 45, 0.18);
    color: #1f2937;
}

body.theme-dark .search-panel__toggle-group label {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.35);
}

body.theme-dark .search-panel__toggle-group input:checked + label {
    border-color: rgba(239, 59, 45, 0.72);
    box-shadow: 0 6px 16px rgba(239, 59, 45, 0.26);
}

.search-panel__group .select2-container--default .select2-selection--single {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.search-panel__group .select2-container--default .select2-selection--single:focus,
.search-panel__group .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--brand-accent);
    box-shadow: 0 6px 16px rgba(239, 59, 45, 0.18);
}

.search-panel__group .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1f2937;
    font-weight: 600;
    line-height: 55px;
}

.search-panel__group .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 12px;
}

body.theme-dark .search-panel .select2-container .select2-selection--single,
body.theme-dark .search-panel__group .select2-container--default .select2-selection--single {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.35);
}

body.theme-dark .search-panel__group .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #e2e8f0;
}

body.theme-dark .search-panel__group .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: rgba(226, 232, 240, 0.6);
}

.price-dropdown {
    position: relative;
}

.price-dropdown__toggle {
    width: 100%;
    height: 55px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    font-weight: 600;
    color: #1f2937;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    cursor: pointer;
}

.search-panel__submit {
    height: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 27px;
    padding-top: 0;
    padding-bottom: 0;
    transform: none;
}

.select2-dropdown-container > label,
.search-panel__group > label {
    display: none;
}

.search-panel__input {
    width: 100%;
    height: 55px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    padding: 0 16px;
    font-weight: 600;
    color: #1f2937;
}

.search-panel__input::placeholder {
    color: #8b95a5;
}

body.theme-dark .search-panel__input {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.35);
}

body.theme-dark .search-panel__input::placeholder {
    color: rgba(226, 232, 240, 0.6);
}

.search-panel__location {
    position: relative;
    overflow: visible;
}

.search-panel__form,
.rld-main-search,
.banner-search-wrap {
    overflow: visible;
}

.banner-search-wrap,
.rld-main-search,
.search-panel__form,
.search-panel__location {
    position: relative;
    overflow: visible !important;
}

.search-panel__suggestions {
    position: absolute;
    overflow: visible;
}

.search-panel__suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    padding: 6px;
    display: none;
    z-index: 9999;
    max-height: 320px;
    overflow: auto;
}

.search-panel__suggestions.is-open {
    display: block;
}

.listing-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-left: -15px;
    margin-right: -15px;
}

.listing-layout > .listing-main,
.listing-layout > .listing-sidebar {
    padding-left: 15px;
    padding-right: 15px;
}

.listing-layout > .listing-main {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
}

.listing-layout > .listing-sidebar {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}

.listing-sidebar {
    position: relative;
}

.listing-sidebar__panel {
    position: relative;
    overflow: visible;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.search-panel--listing {
    display: block;
}

.search-panel--listing .search-panel__row {
    display: grid;
    gap: 12px;
    margin: 0 0 12px;
}

.search-panel--listing .search-panel__row--primary {
    grid-template-columns: minmax(148px, 0.9fr) minmax(0, 2.7fr);
}

.search-panel--listing .search-panel__row--toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.search-panel--listing .search-panel__row:last-of-type {
    margin-bottom: 0;
}

.search-panel--listing .search-panel__row > [class*="col"],
.search-panel--listing .search-panel__cell {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

.search-panel--listing .search-panel__cell {
    min-width: 0;
}

.search-panel--listing .search-panel__cell--toggle {
    min-width: 0;
}

.search-panel--listing .search-panel__cell--location {
    min-width: 0;
}

.search-panel--listing .search-panel__cell--type {
    min-width: 0;
}

.search-panel--listing .search-panel__cell--bedrooms,
.search-panel--listing .search-panel__cell--bathrooms {
    min-width: 0;
}

.search-panel--listing .search-panel__cell--price {
    min-width: 0;
}

.search-panel--listing .select2-container--default .select2-selection--single,
.search-panel--listing .price-dropdown__toggle,
.search-panel--listing .search-panel__input {
    height: 52px;
}

.search-panel--listing .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 52px;
}

.search-panel--listing .price-dropdown__panel {
    padding: 12px;
}

.search-panel--listing .price-dropdown__field + .price-dropdown__field {
    margin-top: 0;
}

.search-panel--listing .search-panel__cell--reset {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}

.search-panel__clear-icon {
    width: 52px;
    min-width: 52px;
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(239, 59, 45, 0.28);
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.search-panel__clear-icon:hover,
.search-panel__clear-icon:focus {
    background: rgba(239, 59, 45, 0.08);
    border-color: rgba(239, 59, 45, 0.48);
    color: var(--brand-accent-dark);
    transform: translateY(-1px);
}

@media (max-width: 1199.98px) {
    .listing-layout > .listing-main,
    .listing-layout > .listing-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .listing-layout > .listing-sidebar {
        order: 1;
    }

    .listing-layout > .listing-main {
        order: 2;
    }

}

@media (max-width: 991.98px) {
    .listing-layout > .listing-main,
    .listing-layout > .listing-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .listing-sidebar__panel {
        position: static;
    }

    .search-panel--listing .search-panel__cell--listing-combined,
    .search-panel--listing .search-panel__cell--submit {
        grid-column: 1 / -1;
    }
}

.search-panel__suggestion-item {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
}

.search-panel__suggestion-item:hover {
    background: rgba(239, 59, 45, 0.12);
}

.search-panel__suggestion-item.is-disabled {
    cursor: default;
    opacity: 0.6;
}

.search-panel--hero {
    background: #0b1220;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
}

.search-panel--hero .search-panel__form {
    display: block;
}

.search-panel--hero .search-panel__row {
    display: grid;
    gap: 14px;
    margin: 0 0 14px;
}

.search-panel--hero .search-panel__row--primary {
    grid-template-columns: minmax(148px, 0.95fr) minmax(0, 2.55fr) minmax(180px, 1.25fr);
}

.search-panel--hero .search-panel__row--secondary {
    grid-template-columns: minmax(132px, 0.9fr) minmax(132px, 0.9fr) minmax(220px, 1.55fr) minmax(280px, 1.9fr);
}

.search-panel--hero .search-panel__row:last-child {
    margin-bottom: 0;
}

.search-panel--hero .search-panel__row > [class*="col"],
.search-panel--hero .search-panel__cell {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

.search-panel--hero .search-panel__cell {
    min-width: 0;
}

.search-panel--hero .search-panel__cell--toggle {
    min-width: 0;
}

.search-panel--hero .search-panel__cell--location {
    min-width: 0;
}

.search-panel--hero .search-panel__cell--type {
    min-width: 0;
}

.search-panel--hero .search-panel__cell--price {
    min-width: 0;
}

.search-panel--hero .search-panel__cell--submit {
    display: flex;
    align-items: stretch;
    min-width: 0;
}

.search-panel--hero .search-panel__submit {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: var(--brand-accent);
    border-color: var(--brand-accent);
}

.search-panel--hero .search-panel__submit:hover,
.search-panel--hero .search-panel__submit:focus {
    background: var(--brand-accent-dark);
    border-color: var(--brand-accent-dark);
    color: #fff;
}

.search-panel--hero .search-panel__input {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.3);
}

.search-panel--hero .search-panel__input::placeholder {
    color: rgba(226, 232, 240, 0.6);
}

.search-panel--hero .select2-container--default .select2-selection--single {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.3);
}

.search-panel--hero .select2-container--default .select2-selection--single .select2-selection__rendered,
.search-panel--hero .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: rgba(226, 232, 240, 0.85);
}

.search-panel--hero .select2-container--default .select2-selection--single .select2-selection__arrow {
    color: rgba(226, 232, 240, 0.7);
}

.search-panel--hero .price-dropdown__toggle {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.35);
    color: rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.3);
}

.search-panel--hero .price-dropdown__toggle i {
    color: rgba(226, 232, 240, 0.7);
}

.search-panel--hero .search-panel__toggle-group label {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.35);
    color: rgba(226, 232, 240, 0.85);
}

.search-panel--hero .search-panel__toggle-group input:checked + label {
    background: rgba(239, 59, 45, 0.18);
    border-color: rgba(239, 59, 45, 0.72);
    color: #fff;
}

@media (max-width: 991.98px) {
    .search-panel--hero .search-panel__cell--toggle,
    .search-panel--hero .search-panel__cell--type,
    .search-panel--hero .search-panel__cell--submit {
        grid-column: 1 / -1;
    }
}

body.theme-dark .search-panel__suggestions {
    background: rgba(15, 23, 42, 0.96);
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.6);
}

body.theme-dark .search-panel__suggestion-item {
    color: #e2e8f0;
}

body.theme-dark .search-panel__suggestion-item:hover {
    background: rgba(239, 59, 45, 0.18);
}

.search-panel__submit-group {
    display: grid;
    gap: 10px;
    width: 100%;
}

.search-panel--hero .search-panel__submit-group {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.search-panel__reset {
    min-height: 55px;
}

.btn.btn-yellow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
}

body.theme-dark .btn.btn-yellow {
    color: #0b1220;
}

body.theme-dark #auth-modal .modal-content {
    background: rgba(15, 23, 42, 0.95);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.6);
}

body.theme-dark #auth-modal .modal-header,
body.theme-dark #auth-modal .modal-footer {
    border-color: rgba(148, 163, 184, 0.2);
}

body.theme-dark #auth-modal .close {
    color: #e2e8f0;
    opacity: 0.8;
}

body.theme-dark .compare i,
body.theme-dark .compare a {
    color: #e2e8f0;
}

body.theme-dark .inner-pages .compare i,
body.theme-dark .inner-pages .compare a,
body.theme-dark .properties-right .compare i,
body.theme-dark .properties-right .compare a {
    color: #e2e8f0;
}

.price-dropdown__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    padding: 14px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    z-index: 3000;
}

.price-dropdown.is-open .price-dropdown__panel,
.price-dropdown:focus-within .price-dropdown__panel {
    display: grid;
}

.price-dropdown__field + .price-dropdown__field {
    margin-top: 12px;
}
.price-dropdown__field + .price-dropdown__field {
    margin-top: 0;
}

.price-dropdown__field label {
    font-weight: 600;
    color: #1f2937;
    font-size: 12px;
    margin-bottom: 6px;
    display: block;
}

body.theme-dark .price-dropdown__toggle {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
}

body.theme-dark .price-dropdown__panel {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(148, 163, 184, 0.25);
    color: #e2e8f0;
}

body.theme-dark .price-dropdown__field label {
    color: #e2e8f0;
}

body.theme-dark .search-panel__clear-icon {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(255, 91, 71, 0.36);
    color: #ff8d7f;
    box-shadow: none;
}

body.theme-dark .search-panel__clear-icon:hover,
body.theme-dark .search-panel__clear-icon:focus {
    background: rgba(239, 59, 45, 0.14);
    border-color: rgba(255, 91, 71, 0.56);
    color: #fff;
}

.rld-main-search,
.search-panel__form,
.select2-dropdown-container,
.rld-single-select,
.search-panel__group {
    overflow: visible;
}

.search-panel__cell > .select2-dropdown-container,
.search-panel__cell > .search-panel__location,
.search-panel__cell > .price-dropdown,
.search-panel__cell > .select2-container,
.search-panel__cell .select2-container {
    width: 100%;
}

.search-panel--hero {
    padding: 12px;
    border-radius: 18px;
    backdrop-filter: blur(6px);
}

.search-panel--hero .select2-dropdown,
.search-panel--hero select,
.search-panel--hero input {
    border-radius: 12px;
}

@media (max-width: 767px) {
    .search-panel__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1199.98px) {
    .search-panel--hero .search-panel__row--secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-panel--hero .search-panel__cell--price,
    .search-panel--hero .search-panel__cell--submit {
        grid-column: span 2;
    }
}

@media (max-width: 991.98px) {
    .search-panel--hero .search-panel__row--primary,
    .search-panel--hero .search-panel__row--secondary,
    .search-panel--hero .search-panel__submit-group,
    .search-panel--listing .search-panel__submit-group {
        grid-template-columns: 1fr;
    }

    .search-panel--hero .search-panel__cell--toggle,
    .search-panel--hero .search-panel__cell--location,
    .search-panel--hero .search-panel__cell--type,
    .search-panel--hero .search-panel__cell--bedrooms,
    .search-panel--hero .search-panel__cell--bathrooms,
    .search-panel--hero .search-panel__cell--price,
    .search-panel--hero .search-panel__cell--submit {
        grid-column: auto;
    }

    .search-panel--listing .search-panel__cell--reset {
        justify-content: stretch;
    }

    .search-panel--listing .search-panel__cell--reset .search-panel__clear-icon {
        width: 100%;
        min-width: 0;
    }
}

/* Single-column property cards */
.property_list .property-results {
    display: block;
}

.property_list .property-results .agents-grid {
    width: 100%;
}

/* Compact header */
#header {
    padding: 8px 0 14px 0;
}

#logo img {
    width: 120px;
}

.header-widget {
    height: 40px;
}

.header-widget .button,
.header-widget .button.border {
    margin-top: 6px;
}

.header-widget .sign-in {
    top: 6px;
}

@media (max-width: 767px) {
    #header {
        padding: 6px 0 12px 0;
    }

    #logo img {
        width: 100px;
    }

    .header-widget {
        height: 36px;
    }
}
