.eadv-property-page__inner {
  width: min(1440px, calc(100% - 40px));
}

.eadv-property-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #0f172a;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
  font-family: Inter, system-ui, sans-serif;
}

.eadv-property-filters__search,
.eadv-property-filters__panel,
.eadv-property-filters__panel[open],
.eadv-property-filters__field {
  min-width: 0;
}

.eadv-property-filters__search,
.eadv-property-filters__panel {
  grid-column: 1 / -1;
  width: 100%;
}


.eadv-filter-label--sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.eadv-property-filters__search-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(140px, 1fr);
  gap: 12px;
}

.eadv-property-filters__panel,
.eadv-property-filters__panel[open] {
  display: block;
}

.eadv-property-filters__panel > summary {
  display: none;
}

.eadv-property-filters__fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  width: 100%;
  min-width: 0;
}

.eadv-property-filters label,
.eadv-property-sort label {
  display: block;
  margin: 0 0 7px;
  color: #0f172a;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.eadv-property-filters input[type="search"],
.eadv-property-filters select,
.eadv-property-sort select,
.eadv-filter-popover > summary {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 9px 38px 9px 14px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 28px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eadv-property-filters input[type="search"] {
  padding-right: 14px;
}

.eadv-property-filters input:focus-visible,
.eadv-property-filters select:focus-visible,
.eadv-property-sort select:focus-visible,
.eadv-property-filters summary:focus-visible,
.eadv-property-filters a:focus-visible,
.eadv-active-filters a:focus-visible {
  outline: 3px solid rgba(200, 164, 107, .55);
  outline-offset: 2px;
  border-color: #0f172a;
}

.eadv-property-filters .eadv-button,
.eadv-property-toolbar .eadv-button {
  box-sizing: border-box;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 12px;
  white-space: nowrap;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.eadv-property-filters__search-row .eadv-button--primary {
  border: 1px solid #c8a46b;
  background: #c8a46b;
  color: #0f172a;
  box-shadow: none;
}

.eadv-property-filters__search-row .eadv-button--primary:hover {
  border-color: #b59058;
  background: #d4b57f;
  color: #0f172a;
}

.eadv-filter-popover {
  position: relative;
  min-width: 0;
}

.eadv-filter-popover > summary {
  position: relative;
  cursor: pointer;
  list-style: none;
}

.eadv-filter-popover > summary::-webkit-details-marker {
  display: none;
}

.eadv-filter-popover > summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: translateY(-65%) rotate(45deg);
}

.eadv-filter-popover[open] > summary {
  border-color: #0f172a;
}

.eadv-filter-popover__panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  width: min(320px, calc(100vw - 32px));
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 35px rgba(15, 23, 42, .16);
}

.eadv-filter-popover__panel label {
  min-height: 0;
  margin: 0;
}

.eadv-money-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
}

.eadv-money-input > span {
  padding-left: 12px;
  color: #475569;
  font-weight: 600;
}

.eadv-money-input input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px 8px 6px;
  border: 0;
  background: transparent;
  color: #0f172a;
  font: inherit;
}

.eadv-money-input input:focus-visible {
  outline: 0;
}

.eadv-money-input:focus-within {
  border-color: #0f172a;
  outline: 3px solid rgba(200, 164, 107, .55);
  outline-offset: 2px;
}

.eadv-property-filters__mobile-actions {
  display: none;
}

.eadv-property-toolbar {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
  gap: 14px;
  align-items: center;
  margin: 10px 0 12px;
}

.eadv-active-filters {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
}

.eadv-active-filters ul {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eadv-filter-chip {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.eadv-filter-chip:hover {
  border-color: #94a3b8;
  background: #e2e8f0;
  color: #0f172a;
}

.eadv-button--clear {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
}

.eadv-button--clear:hover {
  border-color: #0f172a;
  background: #f8fafc;
}

.eadv-property-toolbar > .eadv-results-action {
  margin-left: auto;
}

.eadv-active-filters + .eadv-results-action {
  margin-left: 0;
}

.eadv-property-sort {
  display: grid;
  grid-template-columns: auto minmax(180px, 220px);
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.eadv-property-sort label {
  margin: 0;
  white-space: nowrap;
}

.eadv-property-toolbar .eadv-properties__summary {
  flex: 0 0 auto;
  margin: 0;
  color: #334155;
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 1279px) {
  .eadv-property-filters__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eadv-property-toolbar {
    flex-wrap: wrap;
  }

  .eadv-active-filters {
    flex-basis: 100%;
  }

  .eadv-property-toolbar > .eadv-results-action {
    margin-left: 0;
  }

  .eadv-property-toolbar .eadv-properties__summary {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .eadv-property-page__inner {
    width: min(100% - 24px, 1440px);
  }

  .eadv-property-filters {
    gap: 12px;
    padding: 14px;
  }

  .eadv-property-filters__search-row {
    grid-template-columns: 1fr;
  }

  .eadv-property-filters__search-row .eadv-button {
    width: 100%;
  }

  .eadv-property-filters__panel > summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    color: #0f172a;
    cursor: pointer;
    font-family: Poppins, system-ui, sans-serif;
    font-weight: 600;
    list-style: none;
  }

  .eadv-property-filters__panel > summary::after {
    content: "+";
    font-size: 22px;
  }

  .eadv-property-filters__panel[open] > summary::after {
    content: "\2212";
  }

  .eadv-property-filters__fields {
    grid-template-columns: 1fr;
    padding-top: 12px;
  }

  .eadv-filter-popover > summary {
    display: none;
  }

  .eadv-filter-popover__panel {
    position: static;
    display: grid;
    width: 100%;
    padding: 12px;
    border-color: #e2e8f0;
    box-shadow: none;
  }

  .eadv-property-filters__mobile-actions {
    display: grid;
    grid-column: 1 / -1;
  }

  .eadv-property-filters__mobile-actions .eadv-button {
    width: 100%;
  }

  .eadv-property-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
  }

  .eadv-active-filters,
  .eadv-property-toolbar > .eadv-results-action,
  .eadv-property-sort,
  .eadv-property-toolbar .eadv-properties__summary {
    grid-column: 1;
    width: 100%;
    margin-left: 0;
  }

  .eadv-active-filters ul {
    width: 100%;
  }

  .eadv-results-action {
    display: none !important;
  }

  .eadv-property-sort {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .eadv-property-toolbar .eadv-properties__summary {
    text-align: left;
  }
}

/* Split Available Homes shortcodes inherit their Elementor containers. */
.eadv-property-filters-shortcode,
.eadv-property-listings {
  width: 100%;
  max-width: none;
  padding: 0 !important;
  border: 0;
  background: transparent !important;
  box-shadow: none;
}

.eadv-property-filters-shortcode .eadv-property-filters {
  padding: 0 !important;
  border: 0 !important;
  border-top: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.eadv-property-filters-shortcode .eadv-property-filters__search-row {
  grid-template-columns: minmax(0, 1fr) minmax(132px, 176px);
  gap: 12px;
}

.eadv-property-filters-shortcode .eadv-property-filters__fields {
  gap: 12px !important;
}

.eadv-property-filters-shortcode .eadv-property-filters input[type="search"],
.eadv-property-filters-shortcode .eadv-property-filters select,
.eadv-property-filters-shortcode .eadv-property-sort select,
.eadv-property-filters-shortcode .eadv-filter-popover > summary {
  height: 44px;
  min-height: 44px;
  border: 1px solid #d8d0c4;
  border-radius: 10px;
  background: #fffdf7;
  color: #26342f;
  font-size: 14px;
  line-height: 22px;
}

.eadv-property-filters-shortcode .eadv-property-filters .eadv-button,
.eadv-property-filters-shortcode .eadv-property-toolbar .eadv-button {
  min-height: 44px;
  border-radius: 10px;
  font-size: 14px;
}

.eadv-property-filters-shortcode .eadv-property-filters__search-row .eadv-button--primary {
  border-color: #c98258 !important;
  background: #c98258 !important;
  color: #fffdf7 !important;
}

.eadv-property-filters-shortcode .eadv-property-filters__search-row .eadv-button--primary:hover,
.eadv-property-filters-shortcode .eadv-property-filters__search-row .eadv-button--primary:focus-visible {
  border-color: #af6841 !important;
  background: #af6841 !important;
}

.eadv-property-filters-shortcode .eadv-property-toolbar {
  margin: 12px 0 0;
  column-gap: 22px !important;
  row-gap: 10px;
  justify-content: flex-end;
}

.eadv-property-filters-shortcode .eadv-property-sort {
  width: auto !important;
  grid-template-columns: max-content minmax(190px, 220px);
  flex: 0 0 auto;
}

.eadv-property-filters-shortcode .eadv-property-toolbar .eadv-properties__summary {
  flex: 0 0 auto;
  min-width: max-content;
  margin-left: 4px;
  white-space: nowrap;
}

.eadv-property-filters-shortcode .eadv-filter-chip {
  border-color: #e3d8ca;
  background: #f8eadc;
  color: #3f514a;
}

.eadv-property-listings .eadv-property-listings__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px;
  align-items: stretch;
  background: transparent !important;
}

.eadv-property-listings .eadv-pagination {
  margin-top: 28px;
}

.eadv-property-listings__empty {
  padding: 32px;
  border: 1px solid #e6ded1;
  border-radius: 20px;
  background: #fffdf7;
  text-align: center;
}

@media (max-width: 1024px) {
  .eadv-property-listings .eadv-property-listings__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .eadv-property-filters-shortcode .eadv-property-toolbar .eadv-properties__summary {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .eadv-property-filters-shortcode .eadv-property-filters__search-row,
  .eadv-property-listings .eadv-property-listings__grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .eadv-property-filters-shortcode .eadv-property-toolbar {
    margin-top: 10px;
  }
}
/* Scoped Available Homes select treatment and compact natural layout. */
.eadv-property-filters-shortcode {
  align-self: start;
  height: auto !important;
  min-height: 0 !important;
}

.eadv-property-filters-shortcode .eadv-property-filters,
.eadv-property-filters-shortcode .eadv-property-filters__panel,
.eadv-property-filters-shortcode .eadv-property-filters__fields {
  height: auto !important;
  min-height: 0 !important;
}

.eadv-property-filters-shortcode .eadv-property-filters select,
.eadv-property-filters-shortcode .eadv-property-sort select,
.eadv-property-filters-shortcode .eadv-filter-popover > summary {
  padding-right: 48px !important;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fffdf7 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2368736D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 12px 8px !important;
}

.eadv-property-filters-shortcode .eadv-filter-popover > summary::after {
  display: none !important;
}

.eadv-property-filters-shortcode .eadv-property-toolbar {
  box-sizing: border-box;
  min-height: 0 !important;
  padding-right: 8px;
  flex-wrap: wrap;
  column-gap: 24px !important;
}

.eadv-property-filters-shortcode .eadv-property-toolbar > .eadv-results-action {
  flex: 0 0 auto;
  margin-left: auto;
}

.eadv-property-filters-shortcode .eadv-property-sort {
  grid-template-columns: max-content minmax(190px, 220px);
  flex: 0 0 auto;
}

.eadv-property-filters-shortcode .eadv-property-sort select {
  width: 220px;
  min-width: 190px;
}

.eadv-property-filters-shortcode .eadv-property-toolbar .eadv-properties__summary {
  min-width: max-content;
  margin: 0 !important;
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 1279px) {
  .eadv-property-filters-shortcode .eadv-property-toolbar > .eadv-results-action {
    margin-left: 0;
  }

  .eadv-property-filters-shortcode .eadv-property-toolbar .eadv-properties__summary {
    margin-left: auto !important;
  }
}

@media (max-width: 767px) {
  .eadv-property-filters-shortcode .eadv-property-toolbar {
    padding-right: 0;
  }

  .eadv-property-filters-shortcode .eadv-property-sort select {
    width: 100%;
    min-width: 0;
  }

  .eadv-property-filters-shortcode .eadv-property-toolbar .eadv-properties__summary {
    min-width: 0;
    margin-left: 0 !important;
    white-space: normal;
  }
}
