.plots-catalog {
  padding: clamp(20px, 4vw, 56px) 0 40px;
  background: var(--paper);
}
.plots-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}
.plots-heading > a {
  justify-self: start;
}
.plots-heading h1 {
  margin: 0;
  font: 800 clamp(1.9rem, 4.5vw, 3.2rem)/1.12 var(--heading);
  letter-spacing: -.045em;
}
.plots-search {
  display: flex;
  gap: 8px;
  width: min(100%, 660px);
}
.plots-search-field {
  flex: 1;
  min-width: 0;
  position: relative;
}
.plots-search-field svg {
  position: absolute;
  inset: 50% auto auto 12px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.public-site .plots-search-field input {
  height: 46px;
  padding-inline-start: 37px;
  background: var(--white);
}
.plots-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px 16px;
  padding-block: 9px;
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.plots-primary,
.plots-secondary {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 8px;
}
.plots-primary {
  flex: 1 1 420px;
}
.plots-primary label {
  flex: 1;
  min-width: 0;
}
.plots-toolbar select,
.plots-filter-dialog select {
  min-height: 44px;
  min-width: 0;
}
.plots-primary select {
  text-overflow: ellipsis;
}
.plots-fallback {
  width: 100%;
}
.plots-fallback summary {
  cursor: pointer;
  width: fit-content;
  padding-block: 8px;
}
.plots-toolbar.is-enhanced :is(.plots-fallback, .plots-fallback-apply, .plots-mobile-location) {
  display: none;
}
.plots-extra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}
.plots-extra :is(.inline-check, .form-note) {
  grid-column: 1 / -1;
}
.plots-results:focus {
  outline: none;
}
.plots-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding-top: 9px;
}
.plots-chip {
  min-height: 44px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--pale);
  color: var(--ink);
  font-size: .875rem;
  overflow-wrap: anywhere;
}
.plots-chip svg {
  flex-shrink: 0;
}
.plots-reset {
  min-height: 44px;
}
.plots-chip:hover {
  border-color: var(--ink);
}
.plots-budget-applied {
  margin: 6px 0 0;
}
.plots-result-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 12px;
  margin-block: 7px 10px;
}
.plots-result-heading p {
  margin: 0;
  font-size: .9375rem;
}
.plots-result-heading a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  font-size: .875rem;
}
.plots-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.plots-card-image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: var(--pale);
}
.plots-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plots-card-image span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-size: .6875rem;
  line-height: 1.3;
}
.plots-card-image .plots-no-photo {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  inset: 0;
  background: none;
}
.plots-card-content {
  min-width: 0;
  padding: 13px 14px 10px;
}
.plots-card-content p {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-size: .875rem;
  line-height: 1.35;
}
.plots-card-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 4px;
}
.plots-card-title h3 {
  align-self: center;
}
.plots-card-save {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: var(--ink);
  border-color: var(--line);
}
.plots-card-save[aria-pressed=true] svg {
  fill: var(--ink);
}
.plots-card-location,
.plots-card-approval {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.plots-card :is(.plots-card-location, .plots-card-approval) svg {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}
.plots-card-price strong {
  color: var(--ink);
  font-size: 1rem;
}
.plots-card-price :is(span, small) {
  display: block;
  color: var(--muted);
  font-size: .75rem;
}
.plots-card-footer {
  border-top: 1px solid var(--line);
  padding: 8px 14px;
}
.plots-card-approval {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: .75rem;
  overflow-wrap: anywhere;
}
.plots-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.plots-card-actions .compare-check {
  min-height: 44px;
}
.plots-card-actions .button {
  padding: 7px 10px;
  gap: 5px;
  font-size: .875rem;
}
.plots-pagination {
  align-items: center;
  gap: 10px;
  margin-block: 22px 0;
}
.plots-pagination a {
  min-height: 44px;
}
.plots-related {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.plots-filter-dialog,
.callback-panel {
  width: min(520px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.plots-filter-dialog {
  padding: 0;
}
.plots-filter-dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
:is(.plots-filter-dialog, .callback-panel)::backdrop {
  background: rgba(16, 35, 63, .55);
}
.plots-filter-dialog :is(header, footer) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
}
.plots-filter-dialog header {
  border-bottom: 1px solid var(--line);
}
.plots-filter-dialog h2 {
  font-size: 1.25rem;
  margin: 0;
}
.plots-filter-dialog .icon-button {
  width: 44px;
  height: 44px;
}
.plots-filter-dialog footer {
  border-top: 1px solid var(--line);
}
.plots-filter-dialog footer .text-button {
  min-height: 44px;
}
.plots-filter-body {
  padding: 12px 16px;
  overflow: auto;
  overscroll-behavior: contain;
}
.plots-filter-body > label,
.plots-filter-body > .plots-extra {
  margin-bottom: 10px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.callback-panel {
  padding: 20px;
}
.callback-panel h2 {
  margin: 0 40px 8px 0;
  line-height: 1.2;
}
.callback-form {
  gap: 12px;
}
.callback-form .form-note {
  margin: 0;
}
.callback-error {
  color: #a52323;
}
.callback-page {
  padding-block: 30px 64px;
}
.callback-page .callback-panel {
  margin-inline: auto;
  max-height: none;
}
.callback-page .text-link {
  margin-top: 12px;
}
.callback-bubble {
  position: relative;
}
.public-site .callback-trigger {
  border-radius: 999px;
  white-space: nowrap;
}
.callback-nudge {
  display: flex;
  align-items: center;
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: calc(100% + 12px);
  width: max-content;
  max-width: calc(100vw - 24px);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding-inline-start: 12px;
  background: var(--white);
  box-shadow: 0 8px 24px #10233f26;
  font-size: .875rem;
}
.callback-nudge a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.callback-nudge .icon-button {
  border: 0;
  width: 44px;
  height: 44px;
}
.public-site:has(.compare-tray:not([hidden])) .callback-nudge {
  display: none;
}
@media (min-width: 701px) {
  .public-site .mobile-contact-actions.has-callback {
    display: block;
    position: fixed;
    z-index: 35;
    right: 20px;
    bottom: 20px;
  }
  .mobile-contact-actions.has-callback > a {
    display: none;
  }
  .public-site:has(.compare-tray:not([hidden])) .mobile-contact-actions.has-callback {
    bottom: 108px;
  }
  .mobile-contact-actions .callback-trigger {
    box-shadow: 0 8px 24px #10233f26;
  }
}
@media (max-width: 700px) {
  .plots-search-field input {
    font-size: 1rem;
  }
  .plots-toolbar.is-enhanced {
    position: sticky;
    top: 73px;
    z-index: 20;
  }
  .plots-toolbar.is-enhanced .plots-primary {
    display: none;
  }
  .plots-toolbar.is-enhanced .plots-mobile-location {
    display: inline-flex;
  }
  .plots-secondary {
    width: 100%;
    align-items: center;
    justify-content: space-between;
  }
  .plots-sort {
    order: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
  }
  .plots-sort select {
    max-width: 96px;
    margin: 0;
  }
  .plots-sort-desktop {
    display: none;
  }
  .public-site .plots-secondary .button-outline {
    padding-inline: 8px;
    font-size: .875rem;
    gap: 4px;
  }
  .plots-results {
    scroll-margin-top: 42px;
  }
  .plots-card {
    grid-template-columns: minmax(85px, 30%) minmax(0, 1fr);
    grid-template-rows: 1fr auto;
  }
  .plots-card-image {
    aspect-ratio: auto;
    min-height: 120px;
  }
  .plots-card-content {
    padding: 7px 8px;
  }
  .public-site .plots-card-title h3 {
    font-size: 1.0625rem;
  }
  .plots-card-save {
    margin-right: -4px;
  }
  .plots-card-footer {
    grid-column: 1 / -1;
    padding: 4px 10px;
  }
  .plots-filter-dialog {
    width: 100%;
    max-width: 100%;
    max-height: min(90dvh, 700px);
    margin: auto 0 0;
    border-radius: 16px 16px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .public-site .mobile-contact-actions.has-callback {
    left: auto;
    right: 12px;
    width: auto;
    max-width: calc(100% - 24px);
  }
  .public-site .mobile-contact-actions.has-callback .button {
    padding-inline: 10px;
  }
  .mobile-contact-actions.has-callback:not(:has(> a)) {
    padding: 0;
    border: 0;
    box-shadow: 0 8px 24px #10233f26;
  }
}
@media (max-width: 360px) {
  .callback-trigger svg {
    display: none;
  }
  .plots-secondary .plots-sort {
    font-size: 0;
  }
}
