@charset "UTF-8";
/**
 * Plugin Citidoorz Plum Search — giao diện + modal + stepper + custom multiselect.
 * Biên dịch (từ thư mục này): npx sass citidoorz-plum-search.scss citidoorz-plum-search.css
 */
/**
 * Advanced search results — layout inspired by clean vacation-rental search UIs.
 */
.cdz-plum-search {
  position: relative;
}
.cdz-plum-search:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #fff1d4;
  z-index: -1;
}

.cdz-plum-search__inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 80px;
}

/* Sticky toolbar */
.cdz-plum-search__sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.75rem 0;
  margin: 0;
  padding-left: 1rem;
  padding-right: 1rem;
  background: #fff;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.cdz-plum-tabs {
  display: inline-flex;
  align-items: stretch;
  gap: 0.25rem;
  margin: 0 0 0.55rem;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

.cdz-plum-tabs__item {
  min-width: 110px;
  min-height: 48px;
  padding: 0.65rem 1.35rem;
  border: 0;
  background: #fff;
  color: #171717;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.cdz-plum-tabs__item.is-active {
  background: #d2bf8a;
  color: #fff;
}

.cdz-plum-tabs__item:focus-visible {
  outline: 2px solid #bc870e;
  outline-offset: -2px;
}

.cdz-plum-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.cdz-plum-search .cdz-plum-bar > * {
  box-sizing: border-box;
  min-width: 0;
}

@media (min-width: 992px) {
  .cdz-plum-search .cdz-plum-bar {
    display: flex;
  }
  .cdz-plum-search .cdz-plum-bar > .cdz-plum-bar__field {
    flex: 1 1 0;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cdz-plum-bar .cdz-plum-hide-main-tablet,
  .cdz-plum-filter-dialog .cdz-plum-hide-popup-tablet,
  .cdz-plum-hide-tablet {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .cdz-plum-bar .cdz-plum-hide-main-mobile,
  .cdz-plum-filter-dialog .cdz-plum-hide-popup-mobile,
  .cdz-plum-hide-mobile {
    display: none !important;
  }
}
.cdz-plum-bar__field input[type=search],
.cdz-plum-bar__field select:not(.cdz-plum-filter-ms),
.cdz-plum-bar__field select.cdz-plum-filter-ms {
  width: 100%;
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid #d4cfc4;
  border-radius: 6px;
  font-size: 0.9375rem;
  background: #fff;
}

.cdz-plum-bar__field select.cdz-plum-filter-ms {
  max-height: 40px;
  overflow: hidden;
  line-height: 40px;
}

.cdz-plum-bar__field select.cdz-plum-filter-ms option[hidden] {
  display: none;
}

.cdz-bar-ms {
  position: relative;
  width: 100%;
}

.cdz-bar-ms--bar {
  width: 100%;
  min-width: 0;
}

.cdz-bar-ms--filter {
  width: 100%;
}

.cdz-bar-ms.is-open {
  z-index: 140;
}

.cdz-bar-ms__button {
  width: 100%;
  height: 40px;
  padding: 0 0.7rem 0 0.85rem;
  border: 1px solid #d4cfc4;
  border-radius: 6px;
  background: #fff;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
@media (max-width: 992px) {
  .cdz-bar-ms__button {
    border-radius: 0;
  }
}

.cdz-bar-ms__button:focus-visible {
  outline: 2px solid #bc870e;
  outline-offset: 2px;
}

.cdz-bar-ms__text {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #5f5a50;
}

.cdz-bar-ms.has-value .cdz-bar-ms__text {
  color: #111;
}

.cdz-bar-ms__count {
  flex: 0 0 auto;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35rem;
  text-align: center;
}

.cdz-bar-ms__icon {
  position: relative;
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid #7a746a;
  border-bottom: 1.5px solid #7a746a;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.cdz-bar-ms.is-open .cdz-bar-ms__icon {
  border-color: #bc870e;
  transform: rotate(225deg) translate(-2px, -1px);
}

.cdz-bar-ms__panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  z-index: 145;
  width: min(280px, 100vw - 2rem);
  max-height: min(360px, 100vh - 8rem);
  overflow: auto;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.16);
  padding: 0.45rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(188, 135, 14, 0.5) transparent;
}

.cdz-bar-ms--filter .cdz-bar-ms__panel {
  width: min(320px, 100vw - 2rem);
}

.cdz-bar-ms__panel::-webkit-scrollbar {
  width: 8px;
}

.cdz-bar-ms__panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(188, 135, 14, 0.45);
}

.cdz-bar-ms__clear {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  min-height: 34px;
  padding: 0.35rem 0.55rem 0.45rem;
  border: 0;
  border-bottom: 1px solid #f0ede7;
  background: #fff;
  color: #6e4f00;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}

.cdz-bar-ms__clear:disabled {
  cursor: default;
  opacity: 0.4;
}

.cdz-bar-ms__list {
  padding-top: 0.25rem;
}

.cdz-bar-ms__option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.6rem;
  border-radius: 9px;
  color: #111;
  font-size: 0.875rem;
  line-height: 1.25;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}

.cdz-bar-ms__option:hover,
.cdz-bar-ms__option:focus-within {
  background: #f7f4ef;
}

.cdz-bar-ms__option.is-selected {
  background: #fff7e7;
  color: #111;
}

.cdz-bar-ms__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cdz-bar-ms__check {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 1.5px solid #d4cfc4;
  border-radius: 5px;
  background: #fff;
  position: relative;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.cdz-bar-ms__option.is-selected .cdz-bar-ms__check {
  border-color: #bc870e;
  background: #bc870e;
}

.cdz-bar-ms__option.is-selected .cdz-bar-ms__check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cdz-bar-ms__option-text {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 500;
}

/* Tránh field multi bị kéo cao khi theme dùng align-items: stretch */
.home-search .cdz-plum-bar .cdz-plum-bar__field--multiselect {
  align-self: center;
}

.cdz-plum-bar__submit {
  height: 44px;
  padding: 0 1.25rem;
  border-radius: 6px;
  border: 1px solid #1a1a1a;
  background: #1a1a1a;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .cdz-plum-bar__submit {
    flex: 0 0 max-content;
    width: max-content;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
.cdz-plum-bar__submit:hover {
  background: #333;
  border-color: #333;
}

.cdz-plum-rooms-picker {
  position: relative;
  width: 100%;
  min-width: 0;
}

.cdz-plum-rooms-picker.is-open {
  z-index: 130;
}

.cdz-plum-rooms-picker__trigger {
  width: 100%;
  min-height: 44px;
  padding: 0.35rem 0.9rem;
  border: 1px solid #d4cfc4;
  border-radius: 0px;
  background: #fff;
  color: #111;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
}

.cdz-plum-rooms-picker__trigger:hover,
.cdz-plum-rooms-picker.is-open .cdz-plum-rooms-picker__trigger {
  border-color: #bc870e;
}

.cdz-plum-rooms-picker__label {
  font-size: 0.75rem;
  line-height: 1;
  color: #6f6f6f;
}

.cdz-plum-rooms-picker__value {
  font-size: 0.9375rem;
  line-height: 1.2;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cdz-plum-rooms-picker__panel {
  position: absolute;
  z-index: 120;
  top: calc(100% + 0.65rem);
  left: 0;
  width: min(400px, 100vw - 2rem);
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
}

.cdz-plum-rooms-picker__panel .cdz-filter-stepper-block {
  margin: 0;
}

@media (max-width: 991px) {
  .cdz-plum-bar__submit {
    display: none;
  }
  .home .cdz-plum-bar__submit {
    display: block;
  }
  .cdz-plum-rooms-picker {
    min-width: 0;
  }
  .cdz-plum-rooms-picker__panel {
    width: min(520px, 100vw - 2rem);
  }
}
/* Intro */
.cdz-plum-search__intro {
  padding: 1.5rem 0 1rem;
}

.cdz-plum-search__count {
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.cdz-plum-search__tagline {
  font-size: 0.9375rem;
  color: #5c5c5c;
  margin: 0;
  line-height: 1.5;
}

/* Toolbar: filter + sort */
.cdz-plum-search__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.5rem 0 1.25rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 1.5rem;
}

.cdz-plum-filters details {
  border: 1px solid #d4cfc4;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  background: #fff;
}

.cdz-plum-filters summary {
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  list-style: none;
}

.cdz-plum-filters summary::-webkit-details-marker {
  display: none;
}

.cdz-plum-sort label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
  margin-right: 0.5rem;
}

.cdz-plum-sort select {
  height: 40px;
  padding: 0 2rem 0 0.75rem;
  border: 1px solid #d4cfc4;
  border-radius: 6px;
  font-size: 0.875rem;
  background: #fff;
}

/* Expanded filters */
.cdz-plum-filters__inner {
  padding: 1rem 0 0;
  margin-top: 0.75rem;
  border-top: 1px solid #eee;
}

.cdz-plum-filters__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.cdz-plum-filters__field label {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
  color: #444;
}

.cdz-plum-filters__field select,
.cdz-plum-filters__field input {
  width: 100%;
  height: 40px;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  box-sizing: border-box;
}

.cdz-plum-filters__apply {
  margin-top: 1rem;
}

.cdz-plum-filters__apply button {
  height: 40px;
  padding: 0 1.25rem;
  border-radius: 6px;
  border: 1px solid #1a1a1a;
  background: #fff;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
}

.cdz-plum-filters__apply button:hover {
  background: #1a1a1a;
  color: #fff;
}

/* Results — thẻ ngang PC: ảnh trái (Swiper freeMode + mũi tên), nội dung phải */
.cdz-plum-results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0.5rem 0 0;
}

.cdz-plum-card {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: 1.25rem 1.35rem;
  background: #fff;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.06);
  border: 1px solid #eceae5;
  box-sizing: border-box;
}

/* Tablet (≤1023px): 2 cột (ảnh | nội dung). Mobile ≤767 vẫn 1 cột — xem block dưới. */
@media (max-width: 1023px) {
  .cdz-plum-results {
    gap: 1.25rem;
  }
  .cdz-plum-card {
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
    gap: 1.15rem;
    align-items: stretch;
    padding: 1rem 1.15rem;
    overflow: visible;
  }
  .cdz-plum-card__swiper {
    --cdz-plum-card-aspect: 16 / 10;
  }
  .cdz-plum-card__body {
    padding: 1rem 1.15rem 1.2rem;
    gap: 0.4rem;
  }
  .cdz-plum-card__title {
    font-size: 1.2rem;
    margin-right: 2.75rem;
    line-height: 1.3;
  }
  .cdz-plum-card__loc {
    font-size: 0.9rem;
  }
  .cdz-plum-card__specs {
    font-size: 0.9rem;
    margin-top: 0.2rem;
  }
  .cdz-plum-card__price {
    margin-top: 0.25rem;
  }
  .cdz-plum-card__badge {
    margin-top: 0.45rem;
  }
}
/* Tablet (768–1023): không mũi tên, chỉ vuốt */
@media (min-width: 768px) and (max-width: 1023px) {
  .cdz-plum-card__nav {
    display: none !important;
  }
}
/* Mobile (≤767): 1 cột, ảnh full-bleed trên; dots + nút next tròn */
@media (max-width: 767px) {
  .cdz-plum-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }
  .cdz-plum-card__swiper {
    overflow: hidden;
  }
  .cdz-plum-card__nav {
    display: flex !important;
  }
  .cdz-plum-card__nav--prev {
    display: none !important;
  }
  .cdz-plum-card__nav--next {
    right: 0.65rem;
    width: 2.5rem;
    height: 2.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  }
  .cdz-plum-card__pagination {
    display: block;
    bottom: 0.55rem !important;
  }
  .cdz-plum-card__pagination.swiper-pagination-disabled,
  .cdz-plum-card__pagination:empty {
    display: none !important;
  }
  .cdz-plum-card__title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  .cdz-plum-card__loc,
  .cdz-plum-card__specs {
    font-size: 0.875rem;
  }
}
.cdz-plum-card__media {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: #f3f1ec;
}

.cdz-plum-card__swiper {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  position: relative;
  --cdz-plum-card-aspect: 4 / 3;
}

.cdz-plum-card__swiper .swiper-wrapper {
  align-items: stretch;
}

.cdz-plum-card__swiper .swiper-slide {
  height: auto;
  display: flex;
  min-width: 0;
  box-sizing: border-box;
}

.cdz-plum-card__slide-link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.cdz-plum-card__slide-frame {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: var(--cdz-plum-card-aspect);
  min-height: 0;
  overflow: hidden;
  background: #e8e6e1;
}

.cdz-plum-card__slide-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cdz-plum-card__slide-frame--placeholder {
  min-height: 12rem;
}

.cdz-plum-card__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1a;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.cdz-plum-card__nav:hover:not(:disabled) {
  background: #fff;
  color: #000;
}

.cdz-plum-card__nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.cdz-plum-card__nav--prev {
  left: 0.5rem;
}

.cdz-plum-card__nav--next {
  right: 0.5rem;
}

.cdz-plum-card__nav-icon {
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 400;
  margin-top: -0.08em;
}

.cdz-plum-card__swiper--single .cdz-plum-card__nav {
  display: none;
}

.cdz-plum-card__pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.65rem;
  z-index: 4;
  line-height: 1;
  pointer-events: none;
}

.cdz-plum-card__pagination.swiper-pagination-horizontal {
  width: 100%;
}

.cdz-plum-card__pagination .swiper-pagination-bullet {
  pointer-events: auto;
  width: 6px;
  height: 6px;
  margin: 0 3px !important;
  background: #fff;
  opacity: 0.55;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.cdz-plum-card__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.12);
}

.cdz-plum-card__pagination.swiper-pagination-disabled {
  display: none !important;
}

.cdz-plum-card__body {
  position: relative;
  padding: 1rem 2rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.cdz-plum-card__body a {
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.cdz-plum-card__body a:hover {
  text-decoration: none;
}

.cdz-plum-card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 1px solid #d8d4cc;
  border-radius: 50%;
  background: #fff;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.cdz-plum-card__fav:hover {
  border-color: #b0aba3;
}

.cdz-plum-card__fav:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

.cdz-plum-card__fav-icon {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.9;
}

.cdz-plum-card__fav-icon--filled {
  display: none;
}

.cdz-plum-card__fav.is-in-wishlist {
  border-color: #b83030;
  color: #b83030;
  background: #fff;
}
.cdz-plum-card__fav.is-in-wishlist .cdz-plum-card__fav-icon--outline {
  display: none;
}
.cdz-plum-card__fav.is-in-wishlist .cdz-plum-card__fav-icon--filled {
  display: block;
}

/* Nút wishlist ngoài thẻ (single property): không absolute */
.cdz-plum-wishlist--inline {
  position: static;
}

.cdz-plum-card__title {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 2.5rem 0 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.cdz-plum-card__title a {
  color: inherit;
  text-decoration: none;
}

.cdz-plum-card__title a:hover {
  text-decoration: underline;
}

.cdz-plum-card__loc {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9375rem;
  color: #6b6b6b;
  margin: 0;
  line-height: 1.45;
}

.cdz-plum-card__specs {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9375rem;
  color: #3d3d3d;
  margin: 0.15rem 0 0;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  row-gap: 0.15rem;
}

.cdz-plum-card__spec-sep {
  margin: 0 0.4em;
  color: #9a9a9a;
  font-weight: 300;
}

.cdz-plum-card__spec-part {
  flex: 0 1 auto;
}

.cdz-plum-card__price {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0.35rem 0 0;
  line-height: 1.3;
}

.cdz-plum-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  margin: 0.5rem 0 0;
  padding: 0.35rem 0.65rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8125rem;
  color: #3d3d3d;
  background: #f0eeea;
  border-radius: 6px;
  line-height: 1.3;
}

.cdz-plum-card__badge-icon {
  font-size: 0.75rem;
  color: #2e7d32;
  font-weight: 700;
}

.cdz-plum-empty {
  padding: 3rem 1rem;
  text-align: center;
  color: #666;
}

/* -------------------------------------------------------------------------
   Kết quả + bản đồ (Plum Guide): danh sách trái, map cố định phải (desktop).
   Biên dịch: npx sass citidoorz-plum-search.scss citidoorz-plum-search.css
   ------------------------------------------------------------------------- */
.cdz-plum-search:has(.cdz-plum-results-layout.has-map) > .cdz-plum-search__inner {
  max-width: none;
  width: 100%;
  margin: 0;
  padding-bottom: 0;
}
.cdz-plum-search:has(.cdz-plum-results-layout.has-map) .tools-search-container,
.cdz-plum-search:has(.cdz-plum-results-layout.has-map) .group-filters {
  box-sizing: border-box;
  max-width: 75rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.cdz-plum-results-layout {
  width: 100%;
  box-sizing: border-box;
}
.cdz-plum-results-layout__list {
  min-width: 0;
  box-sizing: border-box;
}
.cdz-plum-results-layout__map {
  display: none;
  min-width: 0;
  box-sizing: border-box;
  background: #e8e6e1;
}
@media (min-width: 1024px) {
  .cdz-plum-results-layout.has-map {
    --cdz-plum-split-offset: 11.5rem;
    display: grid;
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    align-items: stretch;
    height: calc(100dvh - var(--cdz-plum-split-offset));
    min-height: 24rem;
    overflow: hidden;
    border-top: 1px solid #e8e6e1;
  }
}
@media (min-width: 1024px) {
  .cdz-plum-results-layout.has-map .cdz-plum-results-layout__list {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.75rem 1.35rem 2rem;
    -webkit-overflow-scrolling: touch;
  }
}
@media (min-width: 1024px) {
  .cdz-plum-results-layout.has-map .cdz-plum-results-layout__map {
    display: block;
    position: relative;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    border-left: 1px solid #e8e6e1;
  }
}
@media (min-width: 1024px) {
  .cdz-plum-results-layout.has-map .cdz-plum-results {
    padding-top: 0.25rem;
  }
}
@media (min-width: 1024px) {
  .cdz-plum-results-layout.has-map .cdz-plum-pagination--range {
    margin-top: 1.25rem;
    padding-left: 0;
    padding-right: 0;
  }
}

.cdz-plum-map-panel {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #e8e6e1;
}
.cdz-plum-map-panel > iframe, .cdz-plum-map-panel__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  object-fit: cover;
}

.cdz-plum-map-media-swiper {
  width: 100%;
  height: 100%;
  min-height: 100%;
  position: relative;
}
.cdz-plum-map-media-swiper .swiper-wrapper,
.cdz-plum-map-media-swiper .swiper-slide {
  height: 100%;
}
.cdz-plum-map-media-swiper--single .cdz-plum-map-media-swiper__nav {
  display: none;
}
.cdz-plum-map-media-swiper__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1a;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
}
.cdz-plum-map-media-swiper__nav--prev {
  left: 0.75rem;
}
.cdz-plum-map-media-swiper__nav--next {
  right: 0.75rem;
}

.cdz-plum-map-media-slide {
  height: 100%;
  min-height: 0;
}
.cdz-plum-map-media-slide__map, .cdz-plum-map-media-slide__figure {
  height: 100%;
  min-height: 0;
  margin: 0;
}
.cdz-plum-map-media-slide__map iframe, .cdz-plum-map-media-slide__map img, .cdz-plum-map-media-slide__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  object-fit: cover;
}
.cdz-plum-map-media-slide__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

@media (min-width: 1024px) {
  .cdz-plum-map-view-open {
    display: none !important;
  }
}

.cdz-plum-map-dialog {
  padding: 0;
  border: none;
  border-radius: 0;
  max-width: none;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  box-shadow: none;
}
.cdz-plum-map-dialog::backdrop {
  background: rgba(26, 26, 26, 0.45);
}
.cdz-plum-map-dialog__shell {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 100dvh;
}
.cdz-plum-map-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #ebe7df;
  background: #fff;
}
.cdz-plum-map-dialog__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}
.cdz-plum-map-dialog__close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 0.25rem;
}
.cdz-plum-map-dialog__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #e8e6e1;
}
.cdz-plum-map-dialog__body .cdz-plum-map-panel {
  min-height: 100%;
  height: 100%;
}
@media (max-width: 1023px) {
  .cdz-plum-map-dialog[open] {
    position: fixed;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
  }
}

body.cdz-plum-map-dialog-open {
  overflow: hidden;
}

/* Hàng project browse (chế độ citidoorz_browse=projects) */
.cdz-plum-project-row {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 10px;
  border-bottom: 1px solid #eceae5;
}
.cdz-plum-project-row:last-of-type {
  border-bottom: none;
}
@media (max-width: 767px) {
  .cdz-plum-project-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.cdz-plum-project-row__thumb {
  display: block;
  text-decoration: none;
  color: inherit;
}
.cdz-plum-project-row__thumb-inner {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
}
.cdz-plum-project-row__img, .cdz-plum-project-row__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cdz-plum-project-row__img {
  object-fit: cover;
  object-position: center;
}
.cdz-plum-project-row__content {
  min-width: 0;
}
.cdz-plum-project-row__header {
  margin-bottom: 8px;
}
.cdz-plum-project-row__meta {
  padding-left: 0;
  margin: 0 0 8px;
}
.cdz-plum-project-row__meta-item {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.45;
}
.cdz-plum-project-row__meta-text {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}
.cdz-plum-project-row__meta-label {
  font-size: 12px;
  font-weight: 600;
  color: #2f2f2f;
}
.cdz-plum-project-row__meta-value {
  font-size: 12px;
  color: #636366;
}
.cdz-plum-project-row__title {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: #1d1d1d;
  line-height: 1.2;
  margin: 0;
}
.cdz-plum-project-row__title br {
  line-height: inherit;
}
.cdz-plum-project-row__title a {
  color: inherit;
  text-decoration: none;
}
.cdz-plum-project-row__title a:hover {
  text-decoration: underline;
}
.cdz-plum-project-row__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0;
}
.cdz-plum-project-row__map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: #1d1d1d;
  background: #f4f2ed;
  border: 1px solid #dcd8cf;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.cdz-plum-project-row__map-btn:hover {
  background: #ebe7df;
  border-color: #cfc9bd;
}
.cdz-plum-project-row__readmore {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1d1d1d;
  text-decoration: none;
}
.cdz-plum-project-row__readmore:hover {
  text-decoration: underline;
}
@media (min-width: 1024px) {
  .cdz-plum-project-row--browse.is-map-active {
    box-shadow: inset 3px 0 0 0 #b8954a;
  }
}

.cdz-plum-card__map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: #1d1d1d;
  background: #f4f2ed;
  border: 1px solid #dcd8cf;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  margin-top: 0.5rem;
}
.cdz-plum-card__map-btn:hover {
  background: #ebe7df;
  border-color: #cfc9bd;
}

@media (min-width: 1024px) {
  article.cdz-plum-card.is-map-active {
    box-shadow: inset 3px 0 0 0 #b8954a;
  }
}

/* Phân trang dạng: "1 – 40 of 336 homes" + mũi tên (prev mờ / next trong vòng tròn). */
.cdz-plum-pagination--range {
  margin-top: 2rem;
  border-top: 1px solid #e8e6e1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 1.5rem 2rem;
}

.cdz-plum-pagination__summary {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #1a1a1a;
}

.cdz-plum-pagination__range strong {
  font-weight: 600;
}

.cdz-plum-pagination__rest {
  font-weight: 400;
}

.cdz-plum-pagination__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cdz-plum-pagination__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1.35rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}

.cdz-plum-pagination__arrow--circle {
  background: #ebebeb;
}

.cdz-plum-pagination__arrow--circle:hover:not(.is-disabled) {
  background: #e0e0e0;
  color: #000;
}

.cdz-plum-pagination__arrow--prev:not(.is-disabled):hover {
  color: #000;
}

.cdz-plum-pagination__arrow--prev.is-disabled {
  color: #c8c8c8;
  cursor: default;
  pointer-events: none;
  background: transparent;
}

.cdz-plum-pagination__arrow--next.cdz-plum-pagination__arrow--circle.is-disabled {
  background: #f3f3f3;
  color: #c8c8c8;
  cursor: default;
  pointer-events: none;
}

.cdz-plum-pagination__chev {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.tools-search-container .cdz-plum-search__sticky {
  flex: 1;
  min-width: 0;
}
.tools-search-container .tools-search-button,
.tools-search-container .cdz-plum-filter-open {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  z-index: 99;
  align-self: center;
  height: 44px;
  padding: 0 1rem;
  border: 1px solid #d4cfc4;
  border-radius: 6px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  white-space: nowrap;
}
@media (max-width: 991px) {
  .tools-search-container .tools-search-button,
  .tools-search-container .cdz-plum-filter-open {
    width: 100%;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .tools-search-container .cdz-plum-filter-open--fixed-tablet.is-fixed-active {
    position: fixed;
    top: var(--cdz-plum-filter-top-tablet, 72px);
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 8px 22px rgba(17, 17, 17, 0.12);
  }
}
@media (max-width: 767px) {
  .tools-search-container .cdz-plum-filter-open--fixed-mobile.is-fixed-active {
    position: fixed;
    top: var(--cdz-plum-filter-top-mobile, 64px);
    left: 0;
    right: 0;
    z-index: 1000;
    border: none;
    border-radius: 0;
    box-shadow: 0 8px 22px rgba(17, 17, 17, 0.12);
  }
}
.tools-search-container .tools-search-button:hover,
.tools-search-container .cdz-plum-filter-open:hover {
  border-color: #1a1a1a;
  background: #faf9f6;
}

.group-filters {
  padding: 0 2rem;
}

.tools-search-container__top {
  border-bottom: 1px solid #e8e4dc;
  position: relative;
  padding: 1rem;
}
@media (max-width: 991px) {
  .tools-search-container__top {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #fff;
  }
}
@media (min-width: 991px) {
  .tools-search-container__top {
    flex-wrap: nowrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
}

/* Modal filters (<dialog>) */
.cdz-plum-filter-dialog {
  padding: 0;
  border: none;
  border-radius: 12px;
  max-width: min(720px, 100vw - 1.5rem);
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.cdz-plum-filter-dialog::backdrop {
  background: rgba(26, 26, 26, 0.45);
}

.cdz-plum-filter-dialog__shell {
  padding: 0;
}

.cdz-plum-filter-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #ebe7df;
}

.cdz-plum-filter-dialog__head .cdz-plum-filter-dialog__title,
.cdz-plum-filter-dialog__head h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.cdz-plum-filter-dialog__close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 0.25rem;
}

.cdz-plum-filter-dialog__close:hover {
  color: #111;
}

.cdz-plum-filter-dialog__body {
  padding: 1rem 1.25rem 0.25rem;
  max-height: min(75vh, 560px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.cdz-plum-filter-dialog__hint {
  font-size: 0.875rem;
  color: #5c5c5c;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.cdz-plum-filter-dialog__foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid #ebe7df;
}

.cdz-plum-filter-dialog__clear {
  margin-right: auto;
}

.cdz-btn {
  height: 40px;
  padding: 0 1.1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.cdz-btn--ghost {
  background: #fff;
  border-color: #d4cfc4;
  color: #1a1a1a;
}

.cdz-btn--ghost:hover {
  background: #f6f4ef;
}

.cdz-btn--primary {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.cdz-btn--primary:hover {
  background: #333;
  border-color: #333;
}

body.cdz-plum-filter-dialog-fallback .cdz-plum-filter-dialog[open] {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100000;
  margin: 0;
}
@media (max-width: 991px) {
  body.cdz-plum-filter-dialog-fallback .cdz-plum-filter-dialog[open] {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    transform: none;
    border-radius: 0;
  }
}

body.cdz-plum-filter-dialog-open {
  overflow: hidden;
}

/* Mobile: full-screen sheet trượt phải → trái */
@media (max-width: 991px) {
  .cdz-plum-filter-dialog {
    position: fixed;
    inset: 0;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    border-radius: 0;
    box-shadow: none;
    transform: translateX(100%);
    opacity: 0;
    will-change: transform, opacity;
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  }
  .cdz-plum-filter-dialog[open] {
    transform: translateX(0);
    opacity: 1;
  }
  .cdz-plum-filter-dialog[open].is-closing {
    transform: translateX(100%);
    opacity: 0;
  }
  .cdz-plum-filter-dialog::backdrop {
    opacity: 0;
    transition: opacity 0.28s ease;
  }
  .cdz-plum-filter-dialog[open]::backdrop {
    opacity: 1;
  }
  .cdz-plum-filter-dialog[open].is-closing::backdrop {
    opacity: 0;
  }
  @starting-style {
    .cdz-plum-filter-dialog[open] {
      transform: translateX(100%);
      opacity: 0;
    }
    .cdz-plum-filter-dialog[open]::backdrop {
      opacity: 0;
    }
  }
  .cdz-plum-filter-dialog__shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .cdz-plum-filter-dialog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
  }
  .cdz-plum-filter-dialog__title {
    flex: 1;
    text-align: center;
    font-size: 1rem;
  }
  .cdz-plum-filter-dialog__back {
    display: none !important;
  }
  .cdz-plum-filter-dialog__body {
    flex: 1;
    min-width: 0;
    max-height: none;
    overflow: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 1.25rem 5rem;
    box-sizing: border-box;
  }
  .cdz-plum-mfilter {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .cdz-plum-filter-dialog .cdz-filter-section {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
  }
  .cdz-plum-mfilter__bar-host .cdz-plum-mfilter-bar-item {
    min-width: 0;
    max-width: 100%;
  }
  .cdz-plum-filter-dialog__foot {
    position: sticky;
    bottom: 0;
    background: #fff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  }
  .cdz-plum-filter-dialog__clear {
    flex: 1 1 auto;
    margin-right: 0;
  }
  .cdz-plum-mfilter__hint-desktop {
    display: none;
  }
  .cdz-plum-mfilter__bar-host {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
    width: 100%;
  }
  .cdz-plum-mfilter__bar-host .cdz-plum-mfilter-bar-item {
    width: 100%;
    max-width: 100%;
  }
  .cdz-plum-mfilter__bar-host .cdz-plum-rooms-picker {
    width: 100%;
    max-width: 100%;
  }
  .cdz-plum-mfilter__bar-host .cdz-plum-rooms-picker__panel {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 0.75rem;
    transform: none !important;
  }
  .cdz-plum-mfilter__bar-host .cdz-plum-filters__field--multiselect--bar {
    max-width: 100%;
  }
  .cdz-plum-mfilter__bar-host .cdz-plum-mfilter-bar-item__trigger {
    display: none !important;
  }
}
@media (min-width: 992px) {
  .cdz-plum-filter-dialog__back {
    display: none !important;
  }
}
/* Hàng “giả” trên bar — cùng style nút Filter (mobile); Sort chỉ toolbar */
@media (max-width: 991px) {
  .cdz-plum-mfilter-row {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    min-height: 44px;
    padding: 0 1rem;
    border: 1px solid #d4cfc4;
    border-radius: 6px;
    background: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    text-align: left;
  }
  .cdz-plum-mfilter-row:hover {
    border-color: #1a1a1a;
    background: #faf9f6;
  }
  .cdz-plum-mfilter-bar-item__trigger-value {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 500;
    color: #5c5c5c;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cdz-plum-bar .cdz-plum-mfilter-bar-item__source {
    position: absolute !important;
    left: -9999px !important;
    top: 0 !important;
    width: min(100vw, 320px) !important;
    min-height: 40px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
  }
  .cdz-plum-mfilter__bar-host .cdz-plum-mfilter-bar-item__source {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
  }
  .cdz-plum-mfilter-bar-item__trigger {
    width: 100%;
  }
  .group-filters .cdz-plum-search__toolbar {
    width: 100%;
  }
  .cdz-plum-mfilter-sort-bundle {
    width: 100%;
  }
  .cdz-plum-mfilter-sort-bundle .cdz-plum-sort {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
  }
  .cdz-plum-mfilter-sort-bundle .cdz-plum-sort select {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
}
@media (min-width: 992px) {
  .cdz-plum-mfilter-bar-item__trigger {
    display: none !important;
  }
}
/* Modal filter sections (Property Details + taxonomies) */
.cdz-filter-sections {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 0.5rem;
}

.cdz-filter-section {
  padding: 1rem 1rem 1.1rem;
  background: #faf9f6;
  border: 1px solid #ebe7df;
  border-radius: 10px;
}

.cdz-filter-section__title {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  padding-bottom: 20px;
}

.cdz-filter-section__desc {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #5c5c5c;
}

.cdz-plum-filters__grid--modal {
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 520px) {
  .cdz-plum-filters__grid--modal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.cdz-plum-filters__grid--dense {
  gap: 0.75rem 1rem;
}

.cdz-plum-filters__field--pair {
  grid-column: 1/-1;
}

.cdz-plum-filters__field--pair .cdz-plum-filters__pair-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.4rem;
}

.cdz-plum-filters__pair-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.cdz-plum-filters__pair-inputs input {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.cdz-plum-filters__dash {
  flex: 0 0 auto;
  color: #888;
  font-size: 0.875rem;
  user-select: none;
}

.cdz-plum-filters__field--checkboxes {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.cdz-plum-filters__check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #333;
  cursor: pointer;
  margin: 0;
}

.cdz-plum-filters__check input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #1a1a1a;
}

/* Single-property floor plans (Swiper) */
.cdz-property-floor-block {
  margin: 2rem 0;
}

.cdz-property-floor-block__title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.cdz-property-floor-swiper {
  width: 100%;
  padding-bottom: 2.25rem;
}

.cdz-property-floor-swiper .swiper-slide {
  height: auto;
}

.cdz-property-floor-swiper .swiper-slide img {
  display: block;
  width: 100%;
  max-height: min(70vh, 520px);
  object-fit: contain;
  border-radius: 8px;
  background: #f5f3ee;
}

.cdz-property-floor-swiper[data-freemode="1"] .swiper-slide {
  width: min(300px, 82vw);
}

.cdz-property-floor-swiper .swiper-pagination-bullet-active {
  background: #1a1a1a;
}

/* -------------------------------------------------------------------------
   Trang advanced search: ẩn form tìm kiếm theme cũ trong nội dung (trùng khung)
   ------------------------------------------------------------------------- */
body.cdz-plum-search-page .entry-content #search_wrapper,
body.cdz-plum-search-page .entry-content .search_wr_2,
body.cdz-plum-search-page .entry-content .adv-search-1,
body.cdz-plum-search-page .entry-content .adv-search-2,
body.cdz-plum-search-page .entry-content .advanced_search_shortcode,
body.cdz-plum-search-page .post-content #search_wrapper {
  display: none !important;
}

/* Stepper +/- (bedrooms / rooms / bathrooms) */
.cdz-filter-stepper-block {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.cdz-filter-stepper-block--floating {
  width: 100%;
}

.cdz-filter-stepper-block__title {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
}

.cdz-filter-stepper-block__hint {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #5c5c5c;
}

.cdz-filter-stepper-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem;
}

.cdz-filter-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 60px;
  padding: 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.cdz-filter-stepper:last-child {
  border-bottom: 0;
}

.cdz-filter-stepper__text {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 0.3rem;
}

.cdz-filter-stepper__label {
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 600;
  color: #070707;
}

.cdz-filter-stepper__hint {
  font-size: 14px;
  line-height: 1.25;
  color: #6f6f6f;
}

.cdz-filter-stepper__control {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  flex: 0 0 auto;
}

.cdz-filter-stepper__btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #bc870e;
  background: #fff;
  color: #111;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  padding: 0;
}

.cdz-filter-stepper__btn:hover {
  background: rgba(188, 135, 14, 0.08);
  border-color: #bc870e;
  color: #1a1a1a;
}

.cdz-filter-stepper__btn:disabled {
  cursor: not-allowed;
  border-color: #eadfce;
  color: #b7b7b7;
  background: #fff;
}

.cdz-filter-stepper__btn:focus-visible {
  outline: 2px solid #bc870e;
  outline-offset: 2px;
}

.cdz-filter-stepper__value {
  min-width: 2.2rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  color: #070707;
}

.cdz-filter-stepper.is-active .cdz-filter-stepper__value {
  color: #070707;
}

@media (max-width: 640px) {
  .cdz-filter-stepper-list {
    padding: 1.4rem 1.35rem;
  }
  .cdz-filter-stepper {
    gap: 1rem;
  }
  .cdz-filter-stepper__control {
    gap: 0.7rem;
  }
  .cdz-filter-stepper__btn {
    width: 30px;
    height: 30px;
    font-size: 1.45rem;
  }
}
/* Dual-handle price range (min / max) — màu theo theme Citidoorz */
.cdz-plum-price-range {
  --cdz-price-start: 0%;
  --cdz-price-end: 100%;
  --cdz-price-track: #ebe7df;
  --cdz-price-fill: var(--border-focus, #bc870e);
  --cdz-price-thumb: var(--border-focus, #bc870e);
  --cdz-price-thumb-border: #fff;
  --cdz-price-thumb-shadow: rgba(26, 26, 26, 0.18);
  margin-top: 0.85rem;
  padding: 0 0.15rem 0.35rem;
}

.cdz-plum-price-range__track {
  position: relative;
  height: 2.75rem;
  display: flex;
  align-items: center;
}
.cdz-plum-price-range__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  border-radius: 999px;
  background: var(--cdz-price-track);
  pointer-events: none;
}
.cdz-plum-price-range__track::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--cdz-price-start);
  width: calc(var(--cdz-price-end) - var(--cdz-price-start));
  height: 4px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: var(--cdz-price-fill);
  pointer-events: none;
}
.cdz-plum-price-range__track input[type=range] {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
}
.cdz-plum-price-range__track input[type=range]::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  border: none;
}
.cdz-plum-price-range__track input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 2px solid var(--cdz-price-thumb-border);
  border-radius: 50%;
  background: var(--cdz-price-thumb);
  box-shadow: 0 1px 5px var(--cdz-price-thumb-shadow);
  cursor: grab;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.cdz-plum-price-range__track input[type=range]:active::-webkit-slider-thumb,
.cdz-plum-price-range__track input[type=range]:focus-visible::-webkit-slider-thumb {
  cursor: grabbing;
  box-shadow: 0 0 0 3px rgba(188, 135, 14, 0.22), 0 1px 5px var(--cdz-price-thumb-shadow);
}
.cdz-plum-price-range__track input[type=range]::-moz-range-track {
  height: 4px;
  background: transparent;
  border: none;
}
.cdz-plum-price-range__track input[type=range]::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border: 2px solid var(--cdz-price-thumb-border);
  border-radius: 50%;
  background: var(--cdz-price-thumb);
  box-shadow: 0 1px 5px var(--cdz-price-thumb-shadow);
  cursor: grab;
}
.cdz-plum-price-range__track [data-cdz-price-min-range] {
  z-index: 3;
}
.cdz-plum-price-range__track [data-cdz-price-max-range] {
  z-index: 4;
}

.cdz-plum-price-range.is-min-on-top [data-cdz-price-min-range],
.cdz-plum-price-range.is-dragging-min [data-cdz-price-min-range] {
  z-index: 5;
}

.cdz-plum-price-range.is-max-on-top [data-cdz-price-max-range],
.cdz-plum-price-range.is-dragging-max [data-cdz-price-max-range] {
  z-index: 5;
}

.cdz-plum-price-range__summary {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #5c5c5c;
  line-height: 1.45;
}
.cdz-plum-price-range__summary strong {
  font-weight: 600;
  color: #1a1a1a;
}

.cdz-plum-filters__field--multiselect {
  grid-column: 1/-1;
}

/* Trên thanh bar: không ép full-width grid */
.cdz-plum-filters__field--multiselect--bar {
  grid-column: auto;
}

@media (min-width: 520px) {
  .cdz-plum-filters__grid--modal .cdz-plum-filters__field--multiselect {
    grid-column: span 1;
  }
}
.cdz-plum-filters__multiselect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.cdz-plum-filters__multiselect-head > label {
  margin-bottom: 0;
  flex: 1 1 auto;
}

.cdz-filter-ms-clear {
  flex: 0 0 auto;
  border: none;
  background: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2f7d4b;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cdz-filter-ms-clear:hover {
  color: #25633c;
}

.cdz-plum-filters__field--multiselect > label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #444;
}

.cdz-plum-active-filters {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

.cdz-plum-active-filters__total {
  margin: 0;
  padding: 0.75rem 1rem 0.35rem;
  align-self: stretch;
  text-align: left;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  color: #5c5c5c;
}

.cdz-plum-active-filters:has(.cdz-plum-active-filters__total) .cdz-plum-active-filters__list {
  padding-top: 0.25rem;
}

.cdz-plum-active-filters__list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}
.cdz-plum-active-filters__list li {
  font-size: 0.875rem;
  width: auto;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  color: #3d3428;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
.cdz-plum-active-filters__list li:hover {
  background: #f4f1eb;
}
.cdz-plum-active-filters__list li:last-of-type {
  margin-right: 0;
}
.cdz-plum-active-filters__list li a {
  color: var(--color-primary);
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.cdz-plum-chip__text {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cdz-plum-chip__remove {
  white-space: nowrap;
}

@media (min-width: 992px) {
  .home .cdz-bar-ms__button {
    border: none;
    background: transparent;
  }
  .home .cdz-plum-rooms-picker__trigger {
    border: none;
    background: transparent;
  }
  .home .cdz-bar-ms {
    width: 100%;
  }
}