/* Mobile nav (Figma 3590:4590) */
.search-results-mobile__header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
}

.search-results-mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: #fff;
}

.search-results-mobile-nav__left {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.search-results-mobile-nav__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.search-results-mobile-nav__back-icon {
    width: 24px;
    height: 24px;
    transform: rotate(90deg);
}

.search-results-mobile-nav__title {
    font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #272728;
    white-space: nowrap;
}

.search-results-mobile-nav__filters-wrap {
    display: none;
    align-items: center;
    flex-shrink: 0;
}

.search-results-mobile-nav__filters {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.search-results-mobile-nav__filters-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(36%) sepia(98%) saturate(1752%) hue-rotate(186deg) brightness(99%) contrast(101%);
}

.search-results-mobile-nav__filters span {
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #007cf0;
    white-space: nowrap;
}

.search-results-mobile-nav__filters-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 50%;
    background-color: #007cf0;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    font-family: Ubuntu, sans-serif;
    flex-shrink: 0;
}

.search-results-mobile-nav__filters-counter[hidden] {
    display: none !important;
}

.search-results-filter {
    background: #fff;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
}

.search-results-filter__inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
}

.search-results-filter__chips-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.search-results-filter__chips-scroll::-webkit-scrollbar {
    display: none;
}

.search-results-filter__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    font-family: 'Inter', Ubuntu, sans-serif;
    font-size: 13.453px;
    font-weight: 500;
    line-height: 20px;
    border-radius: 12px;
}

.search-results-filter__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    font-family: 'Inter', Ubuntu, sans-serif;
    font-size: 13.453px;
    font-weight: 500;
    line-height: 20px;
    border-radius: 8px;
}

.search-results-filter__btn--sort {
    width: 32px;
    padding: 4px;
    background: #f5f5f5;
}

.search-results-filter__chip {
    padding: 6px 4px 6px 12px;
    background: #f5f5f5;
    color: #211f2e;
    gap: 0;
}

.search-results-filter__chip--active {
    background: #f0f7ff;
    color: #005ac2;
}

.search-results-filter__chip--active .search-results-filter__chip-chevron {
    filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(1523%) hue-rotate(196deg) brightness(93%) contrast(101%);
}

.search-results-filter__chip-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-results-filter__chip-label {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
}

.search-results-filter__chip-more {
    color: #005ac2;
    flex-shrink: 0;
    white-space: nowrap;
}

.search-results-filter__chip-chevron {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.search-results-mobile .search-results-filter-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.4);
    align-items: flex-end;
    justify-content: center;
}

.search-results-mobile #category-filter-modal.search-results-filter-modal .category-filter-sheet,
.search-results-mobile #selection-modal.search-results-filter-modal .modal-content {
    width: 100%;
    max-height: 90vh;
    border-radius: 16px 16px 0 0;
    background: #f5f6f8;
    overflow: hidden;
}

.search-results-mobile #region-filter-modal.search-results-filter-modal {
    align-items: stretch;
}

.search-results-mobile #region-filter-modal.search-results-filter-modal .region-filter-sheet {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
    border-radius: 0;
    background: #f5f6f8;
    overflow: hidden;
}

.search-results-mobile #sort-modal.search-results-filter-modal .search-results-sort-modal__sheet {
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    gap: 16px;
}

.search-results-mobile .search-results-filter-modal .modal-header {
    background: #fff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-results-mobile .search-results-filter-modal .modal-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.search-results-mobile .search-results-filter-modal .modal-header h3 {
    margin: 0;
    flex: 1;
    text-align: center;
    color: #272728;
    font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.search-results-mobile .search-results-filter-modal .close-modal {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.search-results-mobile .search-results-filter-modal .tabs {
    display: flex;
    gap: 8px;
    border-radius: 16px;
    background: #ebebec;
    padding: 4px;
    width: 100%;
    height: 50px;
}

.search-results-mobile .search-results-filter-modal .tab-btn {
    padding: 11px 16px;
    flex: 1;
    text-align: center;
    cursor: pointer;
    border-radius: 12px;
}

.search-results-mobile .search-results-filter-modal .tab-btn.active {
    background: #fff;
    box-shadow: 0 17px 74px 0 rgba(92, 54, 8, 0.15);
}

.search-results-mobile .search-results-filter-modal .tab-btn h3 {
    margin: 0;
    color: #272728;
    font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.search-results-mobile .search-results-filter-modal .modal-body {
    background: #fff;
    border-radius: 24px;
    padding: 16px 16px 32px;
    margin: 8px 16px 16px;
}

.search-results-mobile .search-results-filter-modal .category-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-results-mobile .search-results-filter-modal .category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.search-results-mobile .search-results-filter-modal .category-item h3 {
    margin: 0;
    color: #333839;
    font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.search-results-mobile .search-results-filter-modal .category-item span {
    color: #007cf0;
    font-size: 14px;
    line-height: 20px;
    flex: 1;
    text-align: right;
    margin-right: 8px;
}

html.selection-modal-open,
body.selection-modal-open {
    overflow: hidden !important;
    overscroll-behavior: none;
    height: 100%;
}

body.selection-modal-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

/* Sort bottom sheet (Figma 3590:5134) */
.search-results-sort-modal__sheet {
    background: #f5f6f8;
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-sizing: border-box;
}

.search-results-sort-modal__header {
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 16px 16px;
    flex-shrink: 0;
}

.search-results-sort-modal__handle {
    width: 40px;
    height: 4px;
    border-radius: 100px;
    background: #d2d4d4;
    margin: 0 auto;
}

.search-results-sort-modal__navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.search-results-sort-modal__title {
    color: #272728;
    font-family: Ubuntu, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

.search-results-sort-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.search-results-sort-modal__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 16px 16px;
    overflow-y: auto;
    flex: 1;
    border-radius: 24px;
    background: #fff;
}

.search-results-sort-modal__empty {
    margin: 0;
    padding: 12px 8px;
    color: #838386;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.search-results-sort-modal__footer {
    display: flex;
    padding: 8px 16px 24px;
    background: #fff;
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
}

.search-results-sort-modal__btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: #0e7d7d;
    color: white;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
}

.search-results-sort-modal__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 8px;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.search-results-sort-modal__label {
    color: #272728;
    font-family: Ubuntu, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
}

.search-results-sort-modal__radio {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid #d1d4d7;
    background: #fff;
    box-sizing: border-box;
}

.search-results-sort-modal__option.is-active .search-results-sort-modal__radio {
    border: 7px solid #008f91;
}

/* Category filter sheet (Figma 3590:5060) */
.search-results-mobile #category-filter-modal.search-results-filter-modal,
.search-results-category-modal.search-results-filter-modal {
    align-items: flex-end;
    background: rgba(0, 0, 0, 0.4);
}

.search-results-category-modal .category-filter-sheet {
    width: 100%;
    max-height: 90vh;
    background: #f5f6f8;
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    box-sizing: border-box;
}

.category-filter-sheet__header {
    background: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.category-filter-sheet__handle {
    width: 36px;
    height: 5px;
    background: #eeeeef;
    border-radius: 999px;
    margin: 4px auto 3px;
}

.category-filter-sheet__navbar {
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    padding: 4px 16px;
    position: relative;
    flex-shrink: 0;
}

.category-filter-sheet__title {
    flex: 1;
    margin: 0;
    text-align: center;
    font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: #000;
}

.category-filter-sheet__close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-filter-sheet__close img {
    width: 24px;
    height: 24px;
}

.category-filter-sheet__body {
    background: #fff;
    margin: 0;
    border-radius: 0;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}

.category-filter-sheet__panel--rent {
    display: none;
    flex-direction: column;
    gap: 16px;
}

#category-filter-modal.is-rent-mode .category-filter-sheet__panel--rent.is-active {
    display: flex;
}

.category-filter-sheet__segmented {
    display: flex;
    padding: 2px;
    background: #f5f5f5;
    border-radius: 8px;
    width: 100%;
}

.category-filter-sheet__segment {
    flex: 1;
    border: none;
    border-radius: 12px;
    padding: 6px 20px;
    font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
    background: transparent;
    color: #272728;
}

.category-filter-sheet__segment.is-active {
    background: #0e7d7d;
    color: #fff;
}

.category-filter-sheet__panel {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.category-filter-sheet__panel.is-active {
    display: flex;
}

.category-filter-sheet__group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-filter-sheet__label {
    margin: 0;
    color: #272728;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.category-filter-sheet__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-filter-sheet__chips--rooms .category-filter-chip {
    min-width: 40px;
    padding-left: 16px;
    padding-right: 16px;
}

.category-filter-chip {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #d7d8d9;
    background: #fff;
    color: #272728;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    text-align: center;
}

.category-filter-chip.is-active {
    background: #0e7d7d;
    border-color: #0e7d7d;
    color: #fff;
}

.category-filter-sheet__picker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 24px;
}

.category-filter-sheet__picker[hidden] {
    display: none !important;
}

.category-filter-sheet__picker-value {
    color: #333839;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.category-filter-sheet__picker-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
    background: none;
    padding: 0;
    color: #007cf0;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
}

.category-filter-sheet__picker-action img {
    width: 24px;
    height: 24px;
}

.category-filter-sheet__row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.category-filter-sheet__group--code {
    flex: 0 0 103px;
    min-width: 103px;
}

.category-filter-sheet__row--plot-area {
    align-items: center;
}

.category-filter-sheet__row--plot-area .category-filter-sheet__input {
    flex: 1 1 0;
    min-width: 0;
}

.category-filter-sheet__plot-sep {
    flex: 0 0 auto;
    color: #8a8a8d;
}

.category-filter-sheet__input {
    width: 100%;
    padding: 10px 12px;
    padding-left: 12px;
    border: 1px solid #e1e2e2;
    border-radius: 8px;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #272728;
    height: 40px;
}

.category-filter-sheet__input::placeholder {
    color: #838386;
    font-size: 14px;
    line-height: 20px;
}

.category-filter-sheet__footer {
    display: flex;
    gap: 10px;
    padding: 8px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
}

.category-filter-sheet__btn {
    height: 48px;
    border-radius: 12px;
    border: none;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
}

.category-filter-sheet__btn--reset {
    flex: 0 0 auto;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #df2920;
    white-space: nowrap;
}

.category-filter-sheet__btn--apply {
    flex: 1;
    padding: 8px 16px;
    background: #0e7d7d;
    color: white;
    text-align: center;
}

.search-results-jk-modal.search-results-filter-modal {
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1060;
    padding: 0;
}

.jk-filter-sheet {
    width: 100%;
    max-width: 100%;
    min-height: min(92dvh, 760px);
    max-height: 92dvh;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 24px 24px 0 0;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

.jk-filter-sheet__header {
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.jk-filter-sheet__back,
.jk-filter-sheet__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.jk-filter-sheet__back-icon {
    width: 24px;
    height: 24px;
    transform: rotate(90deg);
}

.jk-filter-sheet__close img {
    width: 24px;
    height: 24px;
}

.jk-filter-sheet__title {
    margin: 0;
    text-align: center;
    color: #272728;
    font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
}

.mobile-jk-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.mobile-jk-filter .jk-filter__search {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 4px 4px 4px 12px;
    border: 1px solid #0e7d7d;
    border-radius: 12px;
    background: #fff;
    flex-shrink: 0;
}

.mobile-jk-filter .jk-filter__search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    color: #272728;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.mobile-jk-filter .jk-filter__search-input::placeholder {
    color: #838386;
}

.mobile-jk-filter .jk-filter__search-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: #157c74 url("/Images-baspana/Filter/searchIcon.svg") no-repeat center/18px 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-jk-filter .jk-filter__select-all[hidden] {
    display: none !important;
}

.mobile-jk-filter .jk-filter__select-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    border: none;
    background: none;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-jk-filter .jk-filter__select-all-text {
    color: #272728;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.mobile-jk-filter .jk-filter__select-all img {
    width: 24px;
    height: 24px;
}

.mobile-jk-filter .jk-filter__list {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-jk-filter .jk-filter__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    cursor: pointer;
}

.mobile-jk-filter .jk-filter__item.is-hidden {
    display: none;
}

.mobile-jk-filter .jk-filter__item-text {
    flex: 1;
    min-width: 0;
    color: #272728;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.mobile-jk-filter .jk-filter__item-control {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-jk-filter .jk-filter__item input {
    position: fixed;
    left: -9999px;
    top: auto;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.mobile-jk-filter .jk-filter__checkbox {
    width: 24px;
    height: 24px;
    border: 1px solid #d7d8d9;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
    position: relative;
}

.mobile-jk-filter .jk-filter__item input:checked + .jk-filter__checkbox {
    background: #0e7d7d;
    border-color: #0e7d7d;
}

.mobile-jk-filter .jk-filter__item input:checked + .jk-filter__checkbox::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.mobile-jk-filter .jk-filter__empty {
    margin: 0;
    padding: 12px 0;
    color: #838386;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.region-filter-mobile__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.region-filter-mobile__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 8px 4px;
    border: 0;
    background: none;
    cursor: pointer;
    text-align: left;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.region-filter-mobile__item-text {
    flex: 1;
    min-width: 0;
    color: #272728;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.region-filter-mobile__icon,
.region-filter-mobile__chevron {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: block;
}

.region-filter-mobile__checkbox {
    width: 24px;
    height: 24px;
    border: 1px solid #d7d8d9;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
}

.region-filter-mobile__item.is-selected .region-filter-mobile__checkbox {
    border-color: #0e7d7d;
    background: #0e7d7d;
}

.region-filter-mobile__item.is-selected .region-filter-mobile__checkbox::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.region-filter-mobile__empty {
    margin: 0;
    padding: 12px 0;
    color: #838386;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.search-results-region-modal.search-results-filter-modal {
    align-items: stretch;
    background: rgba(0, 0, 0, 0.4);
}

.search-results-region-modal .region-filter-sheet {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
    border-radius: 0;
    background: #f5f6f8;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    box-sizing: border-box;
}

.region-filter-sheet__header {
    background: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.region-filter-sheet__handle {
    width: 36px;
    height: 5px;
    background: #eeeeef;
    border-radius: 999px;
    margin: 4px auto 3px;
}

.region-filter-sheet__navbar {
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    padding: 4px 16px;
    position: relative;
    flex-shrink: 0;
}

.region-filter-sheet__title {
    flex: 1;
    margin: 0;
    text-align: center;
    font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: #000;
}

.region-filter-sheet__back {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1;
}

.region-filter-sheet__back[hidden] {
    display: none;
}

.region-filter-sheet__back-icon {
    width: 24px;
    height: 24px;
    transform: rotate(90deg);
}

.region-filter-sheet__close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.region-filter-sheet__close img {
    width: 24px;
    height: 24px;
}

.region-filter-sheet__search {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 4px 4px 4px 12px;
    margin: 8px 16px 16px;
    border: 1px solid #0e7d7d;
    border-radius: 12px;
    background: #fff;
    flex-shrink: 0;
}

.region-filter-sheet__search .jk-filter__search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    color: #272728;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.region-filter-sheet__search .jk-filter__search-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: #157c74 url("/Images-baspana/Filter/searchIcon.svg") no-repeat center/18px 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.region-filter-sheet__body {
    background: #fff;
    margin: 0;
    border-radius: 0;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.region-filter-sheet__footer {
    display: flex;
    gap: 10px;
    padding: 8px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
}

.region-filter-sheet__btn {
    height: 48px;
    border-radius: 12px;
    border: none;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
}

.region-filter-sheet__btn--reset {
    flex: 0 0 auto;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #df2920;
    white-space: nowrap;
}

.region-filter-sheet__btn--apply {
    flex: 1;
    padding: 8px 16px;
    background: #0e7d7d;
    color: white;
    text-align: center;
}

.jk-filter-sheet__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding-top: 8px;
}

.jk-filter-sheet__btn {
    height: 48px;
    border-radius: 12px;
    font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
}

.jk-filter-sheet__btn--reset {
    flex: 0 0 112px;
    background: #f5f5f5;
    color: #e03737;
}

.jk-filter-sheet__btn--primary {
    flex: 1;
    background: #0e7d7d;
    color: white;
}

@media (min-width: 768px) {
    .search-results-jk-modal.search-results-filter-modal {
        align-items: center;
        padding: 24px;
    }

    .jk-filter-sheet {
        max-width: 480px;
        min-height: min(80vh, 720px);
        max-height: 80vh;
        border-radius: 24px;
        padding: 20px 20px 24px;
    }
}

/* Price filter bottom sheet (Figma 3590:5098) */
.search-results-price-modal.search-results-filter-modal {
    align-items: flex-end;
    background: rgba(0, 0, 0, 0.4);
}

.search-results-price-modal .price-filter-sheet {
    width: 100%;
    max-height: 90vh;
    background: #f5f6f8;
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.price-filter-sheet__header {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 0 0;
    flex-shrink: 0;
}

.price-filter-sheet__handle {
    width: 36px;
    height: 5px;
    background: #eeeeef;
    border-radius: 999px;
    margin-bottom: 3px;
}

.price-filter-sheet__navbar {
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    padding: 4px 16px;
    position: relative;
}

.price-filter-sheet__title {
    flex: 1;
    text-align: center;
    font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: #000;
}

.price-filter-sheet__close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-filter-sheet__close img {
    width: 24px;
    height: 24px;
}

.price-filter-sheet__body {
    background: #fff;
    margin: 0 16px;
    padding: 29px 16px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-filter-sheet__body .price-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-filter-sheet__body .price-field__error {
    display: block;
    min-height: 16px;
    font-size: 12px;
    letter-spacing: 0;
    line-height: 16px;
    color: #F24941;
    font-family: Ubuntu, sans-serif;
}

.price-filter-sheet__body .price-field.is-price-invalid .price-filter-sheet__field {
    border-color: #F24941;
}

.price-filter-sheet__field {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 14px 12px;
    border: 1px solid #e1e2e2;
    border-radius: 12px;
    background: #fff;
    margin: 0;
}

.price-filter-sheet__field-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.price-filter-sheet__prefix {
    font-family: Inter, Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #838386;
    flex-shrink: 0;
}

.price-filter-sheet__input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0;
    font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #29313a;
    background: transparent;
}

.price-filter-sheet__currency {
    font-family: Inter, Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #272728;
    flex-shrink: 0;
}

.price-filter-sheet__body .price-filter-sheet__segmented {
    width: 100%;
    min-height: 42px;
}

.price-filter-sheet__body .price-filter-sheet__segmented .category-filter-sheet__segment {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-filter-sheet__footer {
    display: flex;
    gap: 10px;
    padding: 8px 16px 24px;
    background: #fff;
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
}

.price-filter-sheet__btn {
    height: 48px;
    border-radius: 12px;
    border: none;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
}

.price-filter-sheet__btn--reset {
    flex: 0 0 auto;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #df2920;
    white-space: nowrap;
}

.price-filter-sheet__btn--apply {
    flex: 1;
    padding: 8px 16px;
    background: #0e7d7d;
    color: white;
    text-align: center;
}

/* Mobile bottom sheet for desktop additional filters modal (#additionalFiltersModal) */
@media (max-width: 992px) {
    body.search-results-mobile-af-open #additionalFiltersModal.modal {
        padding: 0 !important;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-dialog.modal-figma-filters {
        margin: 0;
        max-width: 100% !important;
        width: 100%;
        min-height: 0;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        transform: none !important;
        display: flex;
        align-items: flex-end;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-content.modal-figma-filters__content {
        width: 100%;
        max-height: 92vh;
        border-radius: 24px 24px 0 0;
        display: flex;
        flex-direction: column;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__header {
        padding: 20px 16px 12px;
        gap: 16px;
        flex-shrink: 0;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__title {
        text-align: center;
        font-size: 18px;
        line-height: 25px;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__body {
        padding: 8px 16px 16px;
        max-height: none;
        flex: 1 1 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__row-1 {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__segmented {
        width: 100%;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__segment {
        flex: 1 1 0;
        text-align: center;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__checkboxes {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        padding: 0;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__checkbox {
        justify-content: space-between;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        flex-direction: row-reverse;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__checkbox:last-child {
        border-bottom: none;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__row-2,
    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__row-3 {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__input-group,
    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__input-group--narrow,
    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__input-group--single,
    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__input-group:first-of-type,
    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__input-group:nth-of-type(2) {
        width: 100%;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__range {
        width: 100%;
        gap: 12px;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__suffix-input {
        min-width: 0;
        flex: 1 1 0;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__footer {
        flex-shrink: 0;
        padding: 16px;
        gap: 12px;
        border-top: 1px solid #e1e2e2;
        background: #fff;
    }

    body.search-results-mobile-af-open #additionalFiltersModal .modal-figma-filters__btn {
        flex: 1 1 0;
        min-height: 48px;
        border-radius: 12px;
        font-size: 14px;
    }

    body.search-results-mobile-af-open.modal-open {
        overflow: hidden;
    }
}

.search-results-sort-modal__btn:hover,
.search-results-sort-modal__btn:active,
.search-results-sort-modal__btn:focus,
.search-results-sort-modal__btn:focus-visible,
.category-filter-sheet__btn--apply:hover,
.category-filter-sheet__btn--apply:active,
.category-filter-sheet__btn--apply:focus,
.category-filter-sheet__btn--apply:focus-visible,
.region-filter-sheet__btn--apply:hover,
.region-filter-sheet__btn--apply:active,
.region-filter-sheet__btn--apply:focus,
.region-filter-sheet__btn--apply:focus-visible,
.jk-filter-sheet__btn--primary:hover,
.jk-filter-sheet__btn--primary:active,
.jk-filter-sheet__btn--primary:focus,
.jk-filter-sheet__btn--primary:focus-visible,
.price-filter-sheet__btn--apply:hover,
.price-filter-sheet__btn--apply:active,
.price-filter-sheet__btn--apply:focus,
.price-filter-sheet__btn--apply:focus-visible {
    color: white;
}

.search-results-sort-modal__btn:hover,
.category-filter-sheet__btn--apply:hover,
.region-filter-sheet__btn--apply:hover,
.jk-filter-sheet__btn--primary:hover,
.price-filter-sheet__btn--apply:hover {
    background: var(--button-teal-primary-bg-hover, #006060);
}

.search-results-sort-modal__btn:active,
.category-filter-sheet__btn--apply:active,
.region-filter-sheet__btn--apply:active,
.jk-filter-sheet__btn--primary:active,
.price-filter-sheet__btn--apply:active {
    background: var(--button-teal-primary-bg-active, #004545);
}
