.ox-market-search { border-radius: 16px; box-shadow: 0 13px 35px -29px #0b344a; }
.ox-quick-search .ox-market-intent { gap: .4rem; background: #edf4f8; border-radius: 11px; padding: .3rem; }
.ox-quick-search .ox-market-intent label { flex: 1 0 auto; border-color: transparent; border-radius: 8px; justify-content: center; min-height: 43px; }
.ox-quick-search .ox-market-intent label:has(:checked) { background: white; border-color: #c1d6e1; box-shadow: 0 2px 6px #102b3912; }
.ox-quick-search .ox-market-intent legend { margin-bottom: .35rem; }
.ox-quick-search .ox-quick-fields :is(input:not([type="submit"]):not([type="checkbox"]), select),
.ox-catalog-filter :is(input:not([type="submit"]):not([type="checkbox"]), select) {
  border: 1px solid #c1d4df;
  border-radius: 9px;
  background: #fff;
  min-height: 46px;
  padding-inline: .65rem;
}
.ox-quick-search .ox-quick-fields :is(input, select):focus, .ox-catalog-filter :is(input, select):focus { border-color: #0e6387; }
.ox-quick-search .ox-button-primary, .ox-catalog-filter .ox-button-primary { border-radius: 9px; }
.ox-catalog-filter {
  grid-template-columns: minmax(0, 1fr);
  background: #f5f9fb;
  border-color: #d7e5ed;
  border-radius: 16px;
  box-shadow: 0 14px 32px -29px #0b344a;
}
.ox-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) repeat(4, minmax(0, 1fr));
  align-items: end;
  width: 100%;
  gap: .75rem;
}
.ox-catalog-filter .ox-filter-footer {
  width: 100%;
  border-top: 1px solid #d9e5ec;
  padding-top: .75rem;
  margin-top: .2rem;
}
.ox-catalog-filter .ox-filter-footer label { width: min(100%, 11rem); }
.ox-catalog-filter .ox-actions { gap: .55rem; }
.ox-catalog-results { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .3rem 1rem; }
.ox-catalog-results p + p { margin: 0; font-size: .87rem; }
.ox-listing {
  border-radius: 14px;
  box-shadow: 0 13px 22px -24px #193a4d78;
}
.ox-listing-photo .ox-listing-label { padding-inline: .55rem; border-radius: 6px; font-size: .76rem; }
.ox-property-type { font-size: .78rem; color: #486573; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.ox-property-view { padding-block: clamp(1.8rem, 4vw, 4rem); background: #fff; }
.ox-property-view > .ox-wrap > .ox-listing-location { margin-top: .5rem; }
.ox-property-view > .ox-wrap > .ox-listing-label { margin-top: .8rem; }
.ox-property-grid { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(14rem, 1fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: start; margin-top: 1.6rem; }
.ox-property-gallery h2, .ox-property-description h2, .ox-property-video h2, .ox-property-summary h2 { font: 800 clamp(1.3rem, 3vw, 1.85rem)/1.2 var(--onix-body); letter-spacing: -.04em; }
.ox-property-gallery figure { position: relative; overflow: hidden; border-radius: 14px; margin-top: .7rem; background: #e6eef3; }
.ox-property-gallery figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ox-property-gallery figcaption {
  position: absolute;
  color: white;
  background: #0b344ae8;
  inset: auto auto .65rem .65rem;
  max-width: calc(100% - 1.3rem);
  padding: .35rem .65rem;
  border-radius: 6px;
  font-size: .82rem;
}
.ox-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.6rem), 1fr));
  gap: .55rem;
  margin: .65rem 0 0;
  padding: 0;
  list-style: none;
}
.ox-gallery-thumbs a { display: block; border: 1px solid #d7e5ed; border-radius: 8px; overflow: hidden; text-decoration: none; font-size: .83rem; font-weight: 800; }
.ox-gallery-thumbs a:hover, .ox-gallery-thumbs [aria-current="true"] { border-color: #0b435e; background: #eef6fa; }
.ox-gallery-thumbs img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ox-gallery-thumbs span { display: block; padding: .3rem .4rem; }
.ox-property-view .ox-property-description, .ox-property-video { margin-top: 2rem; }
.ox-property-description p, .ox-property-video p { margin-top: .65rem; color: #3c5869; max-width: 65ch; }
.ox-property-video :is(video, iframe) { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #142e40; margin-top: .75rem; }
.ox-property-summary { background: #f2f7fa; border: 1px solid #d7e5ed; border-radius: 14px; padding: clamp(1rem, 2vw, 1.6rem); }
.ox-property-summary h2 { margin-top: .4rem; }
.ox-property-summary .ox-actions { gap: .35rem; align-items: flex-start; flex-direction: column; }
.ox-property-summary .ox-listing-facts { flex-direction: column; }
.ox-property-summary .ox-listing-facts li { margin: 0; padding: 0; border: 0; }
@media (max-width: 1030px) { .ox-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 690px) {
  .ox-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ox-catalog-filter .ox-filter-grid > label:first-of-type { grid-column: auto; }
  .ox-property-grid { grid-template-columns: 1fr; }
  .ox-property-summary { grid-row: 1; }
  .ox-property-summary .ox-listing-facts { flex-direction: row; }
}
