/* Buttons */
.ept-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  font-weight: 750;
  gap: 0.45rem;
  justify-content: center;
  line-height: 1.2;
  min-height: 46px;
  padding: 0.72rem 1.1rem;
  text-align: center;
  text-decoration: none;
  transition: background var(--ept-transition), border-color var(--ept-transition), color var(--ept-transition), transform var(--ept-transition);
}
.ept-button:hover { transform: translateY(-1px); }
.ept-button--primary { background: var(--ept-primary); color: #fff; }
.ept-button--primary:hover { background: color-mix(in srgb, var(--ept-primary) 84%, black); color: #fff; }
.ept-button--accent { background: var(--ept-accent); color: #18212a; }
.ept-button--accent:hover { background: color-mix(in srgb, var(--ept-accent) 84%, white); color: #111; }
.ept-button--outline { background: var(--ept-surface); border-color: var(--ept-border); color: var(--ept-primary); }
.ept-button--outline:hover { border-color: var(--ept-secondary); color: var(--ept-secondary); }
.ept-button--hero { align-self: flex-start; background: transparent; border-color: rgba(255,255,255,.4); color: #fff; margin-block-start: 0.5rem; }
.ept-button--hero:hover { background: #fff; color: var(--ept-primary); }
.ept-button--wide { width: 100%; }
.ept-button--whatsapp { background: #137b47; color: #fff; }
.ept-button--whatsapp:hover { background: #0c6338; color: #fff; }

/* Property search */
.ept-property-search {
  background: color-mix(in srgb, var(--ept-surface) 97%, transparent);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: calc(var(--ept-radius) + 2px);
  box-shadow: var(--ept-shadow);
  color: var(--ept-text);
  display: grid;
  gap: 0.7rem;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1180px;
  padding: 0.8rem;
  width: 100%;
}
.ept-property-search .ept-field, .ept-search-tabs { min-width: 0; }
.ept-property-search label { color: var(--ept-muted); display: block; font-size: 0.7rem; font-weight: 750; margin-block-end: 0.25rem; }
.ept-property-search :where(input, select) {
  background: #fff;
  border: 1px solid var(--ept-border);
  border-radius: 10px;
  color: var(--ept-text);
  min-height: 46px;
  min-width: 0;
  padding: 0.62rem 0.7rem;
  width: 100%;
}
.ept-property-search :where(input, select):focus { border-color: var(--ept-secondary); }
.ept-button--search { align-self: end; background: var(--ept-secondary); color: #fff; width: 100%; }
.ept-button--search:hover { background: color-mix(in srgb, var(--ept-secondary) 85%, black); color: #fff; }

/* Property grids and cards */
.ept-property-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: minmax(0, 1fr); min-width: 0; width: 100%; }
.ept-property-card {
  background: var(--ept-surface);
  border: 1px solid var(--ept-border);
  border-radius: var(--ept-radius);
  box-shadow: 0 8px 28px rgba(11, 31, 51, 0.07);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: box-shadow var(--ept-transition), transform var(--ept-transition);
}
.ept-property-card:hover { box-shadow: var(--ept-shadow); transform: translateY(-3px); }
.ept-property-card__media { aspect-ratio: 3 / 2; background: #e7ecec; overflow: hidden; position: relative; }
.ept-property-card__media > a { display: block; height: 100%; }
.ept-property-card__media img { height: 100%; object-fit: cover; transition: transform 450ms ease; width: 100%; }
.ept-property-card:hover .ept-property-card__media img { transform: scale(1.035); }
.ept-property-card__badges { display: flex; flex-wrap: wrap; gap: 0.35rem; inset-block-start: 0.75rem; inset-inline-start: 0.75rem; max-width: calc(100% - 4rem); position: absolute; }
.ept-badge { background: var(--ept-primary); border-radius: 999px; color: #fff; display: inline-flex; font-size: 0.68rem; font-weight: 800; letter-spacing: .02em; line-height: 1; padding: 0.48rem 0.65rem; text-decoration: none; }
.ept-badge--featured { background: var(--ept-accent); color: #17202a; }
.ept-badge--availability { background: rgba(255,255,255,.92); color: var(--ept-success); }
.ept-property-card__favorite { inset-block-start: 0.65rem; inset-inline-end: 0.65rem; position: absolute; z-index: 3; }
.ept-icon-button--surface, .ept-property-card__favorite :where(button, a) { background: rgba(255,255,255,.94); border: 0; border-radius: 50%; box-shadow: 0 7px 20px rgba(11,31,51,.12); color: var(--ept-primary); min-height: 42px; min-width: 42px; }
.ept-property-card__favorite :where(button, a):hover { color: #be123c; }
.ept-property-card__favorite form { margin: 0; }
.ept-property-card__favorite .is-favorite { color: #be123c; }
.ept-property-card__favorite .is-favorite .ept-icon--heart,
.ept-property-header__actions .is-favorite .ept-icon--heart { fill: currentColor; }
.ept-core-favorite-form { margin: 0; }
.ept-property-card__body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 1rem; }
.ept-property-card__price { color: var(--ept-secondary); font-size: clamp(1.12rem, 3vw, 1.4rem); font-weight: 800; line-height: 1.2; margin-block-end: 0.55rem; overflow-wrap: anywhere; }
.ept-property-card__title { display: -webkit-box; font-size: 1.1rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-block-end: 0.5rem; overflow: hidden; }
.ept-property-card__title a { color: var(--ept-primary); text-decoration: none; }
.ept-property-card__location { align-items: flex-start; color: var(--ept-muted); display: flex; font-size: 0.84rem; gap: 0.35rem; min-width: 0; }
.ept-property-card__location .ept-icon { flex: 0 0 17px; height: 17px; margin-block-start: 0.12rem; width: 17px; }
.ept-property-card__location span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.ept-property-card__facts { border-block: 1px solid var(--ept-border); display: flex; flex-wrap: wrap; gap: 0.8rem; list-style: none; margin: auto 0 0; padding: 0.75rem 0; }
.ept-property-card__facts li { align-items: center; color: var(--ept-muted); display: flex; font-size: 0.76rem; gap: 0.3rem; }
.ept-property-card__facts .ept-icon { height: 17px; width: 17px; }
.ept-property-card__footer { align-items: center; display: flex; font-size: 0.72rem; gap: 0.5rem; justify-content: space-between; min-height: 42px; padding-block-start: 0.75rem; }
.ept-property-card__footer > span { color: var(--ept-muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Home taxonomy and trust cards */
.ept-type-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ept-type-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--ept-radius-sm); color: #fff; display: flex; flex-direction: column; min-width: 0; padding: 1rem; text-decoration: none; transition: background var(--ept-transition), transform var(--ept-transition); }
.ept-type-card:hover { background: rgba(255,255,255,.13); color: #fff; transform: translateY(-2px); }
.ept-type-card__icon { align-items: center; background: rgba(201,166,107,.16); border-radius: 10px; color: var(--ept-accent); display: inline-flex; height: 42px; justify-content: center; margin-block-end: 0.8rem; width: 42px; }
.ept-type-card strong { overflow-wrap: anywhere; }
.ept-type-card > span:last-child { color: rgba(255,255,255,.58); font-size: 0.75rem; }
.ept-location-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.ept-location-tile { aspect-ratio: 4 / 3; border-radius: var(--ept-radius); color: #fff; overflow: hidden; position: relative; text-decoration: none; }
.ept-location-tile::after { background: linear-gradient(0deg, rgba(7,24,39,.9), rgba(7,24,39,.05) 70%); content: ""; inset: 0; position: absolute; }
.ept-location-tile img { height: 100%; object-fit: cover; transition: transform 450ms ease; width: 100%; }
.ept-location-tile:hover img { transform: scale(1.04); }
.ept-location-tile > span { inset-block-end: 1rem; inset-inline: 1rem; position: absolute; z-index: 1; }
.ept-location-tile strong, .ept-location-tile small { display: block; }
.ept-location-tile strong { color: #fff; font-size: 1.2rem; }
.ept-location-tile small { color: rgba(255,255,255,.7); }
.ept-reason-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.ept-reason-card { border: 1px solid var(--ept-border); border-radius: var(--ept-radius); padding: clamp(1.25rem, 4vw, 2rem); }
.ept-reason-card > span { align-items: center; background: color-mix(in srgb, var(--ept-secondary) 12%, white); border-radius: 12px; color: var(--ept-secondary); display: inline-flex; height: 48px; justify-content: center; margin-block-end: 1rem; width: 48px; }
.ept-reason-card p { color: var(--ept-muted); margin: 0; }
.ept-home-cta { background: var(--ept-primary); color: rgba(255,255,255,.72); overflow: hidden; position: relative; }
.ept-home-cta::after { border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; height: 360px; inset-block-start: -170px; inset-inline-end: -120px; position: absolute; width: 360px; }
.ept-home-cta__inner { align-items: flex-start; display: flex; flex-direction: column; gap: 1.25rem; justify-content: space-between; position: relative; z-index: 1; }
.ept-home-cta h2 { color: #fff; margin-block-end: .4rem; }
.ept-home-cta p:not(.ept-eyebrow) { margin: 0; max-width: 720px; }

/* Archive filters */
.ept-archive-content { padding-block: clamp(2rem, 6vw, 5rem); }
.ept-active-filters { align-items: center; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block-end: 1rem; }
.ept-active-filters strong { font-size: 0.82rem; }
.ept-active-filters span { background: color-mix(in srgb, var(--ept-secondary) 12%, white); border-radius: 999px; color: var(--ept-secondary); font-size: 0.76rem; padding: 0.35rem 0.65rem; }
.ept-active-filters a { font-size: 0.76rem; margin-inline-start: auto; }
.ept-archive-tools { align-items: center; display: flex; gap: 0.75rem; justify-content: space-between; margin-block-end: 1rem; }
.ept-view-toggle { background: var(--ept-surface); border: 1px solid var(--ept-border); border-radius: 11px; display: none; padding: 0.2rem; }
.ept-filters-js .ept-view-toggle { display: flex; }
.ept-view-toggle button { background: transparent; border: 0; border-radius: 8px; color: var(--ept-muted); min-height: 40px; padding-inline: 0.65rem; }
.ept-view-toggle button[aria-pressed="true"] { background: var(--ept-primary); color: #fff; }
.ept-filter-toggle, .ept-filter-close { display: none; }
.ept-filter-panel {
  background: var(--ept-surface);
  border: 1px solid var(--ept-border);
  border-radius: var(--ept-radius);
  margin-block-end: 1rem;
  padding: 1rem;
}
.ept-filters-js .ept-filter-toggle, .ept-filters-js .ept-filter-close { display: inline-flex; }
.ept-filters-js .ept-filter-panel {
  background: var(--ept-surface);
  border: 0;
  border-radius: 0;
  box-shadow: -20px 0 60px rgba(11,31,51,.18);
  height: 100dvh;
  inset-block: 0;
  inset-inline-start: 0;
  overflow-y: auto;
  padding: 1rem;
  position: fixed;
  transform: translateX(-105%);
  transition: transform 240ms ease;
  width: min(92vw, 430px);
  z-index: 1102;
}
[dir="rtl"] .ept-filters-js .ept-filter-panel { transform: translateX(105%); }
.ept-filter-open .ept-filter-panel { transform: translateX(0); }
.ept-filter-overlay { z-index: 1101; }
.ept-filter-panel__header { align-items: center; display: flex; justify-content: space-between; margin-block-end: 1rem; }
.ept-filter-panel__header h2 { font-size: 1.25rem; margin: 0; }
.ept-filter-panel .ept-property-search { border-color: var(--ept-border); box-shadow: none; }
.ept-results-header { align-items: center; border-block: 1px solid var(--ept-border); display: flex; gap: 1rem; justify-content: space-between; margin-block-end: 1.25rem; padding-block: 0.75rem; }
.ept-results-header p { color: var(--ept-muted); font-size: 0.82rem; margin: 0; }
.ept-sort-form, .ept-results-header label { align-items: center; display: flex; font-size: 0.78rem; gap: 0.45rem; }
.ept-results-header select { background: var(--ept-surface); border: 1px solid var(--ept-border); border-radius: 9px; max-width: 145px; min-height: 40px; padding-inline: .55rem; }
.ept-sort-submit { background: var(--ept-primary); border: 0; border-radius: 9px; color: #fff; min-height: 40px; padding-inline: .7rem; }
.ept-filters-js .ept-sort-submit { display: none; }

/* Single property */
.ept-property-single { background: var(--ept-surface); padding-block-start: 1.2rem; }
.ept-property-header { align-items: flex-end; display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; padding-block: 1rem 1.5rem; }
.ept-property-header__main, .ept-property-header__side { min-width: 0; width: 100%; }
.ept-property-header__badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-block-end: 0.65rem; }
.ept-property-header h1 { font-size: clamp(2rem, 6vw, 3.7rem); margin-block-end: .45rem; }
.ept-property-header__location { align-items: flex-start; color: var(--ept-muted); display: flex; gap: .4rem; overflow-wrap: anywhere; }
.ept-property-header__location .ept-icon { flex: 0 0 20px; margin-block-start: .15rem; }
.ept-property-header__price { color: var(--ept-secondary); font-size: clamp(1.45rem, 4vw, 2rem); font-weight: 850; line-height: 1.15; margin-block-end: .25rem; overflow-wrap: anywhere; }
.ept-property-header__reference { color: var(--ept-muted); font-size: .78rem; }
.ept-property-header__actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.ept-property-gallery { margin-inline: calc((100vw - min(calc(100vw - 2rem), var(--ept-site-max))) / -2); position: relative; }
.ept-property-gallery__grid { display: grid; gap: 0.35rem; grid-template-columns: 1fr; }
.ept-property-gallery__item, .ept-property-gallery__placeholder { aspect-ratio: 4 / 3; background: #e7ecec; display: block; overflow: hidden; }
.ept-property-gallery__item img, .ept-property-gallery__placeholder img { height: 100%; object-fit: cover; transition: transform var(--ept-transition); width: 100%; }
.ept-property-gallery__item:hover img { transform: scale(1.02); }
.ept-property-gallery__item:not(.is-primary) { display: block; }
.ept-gallery-js .ept-property-gallery__item:not(.is-primary) { display: none; }
.ept-gallery-count { background: rgba(255,255,255,.94); border: 1px solid var(--ept-border); border-radius: 10px; bottom: .75rem; color: var(--ept-primary); display: none; font-size: .8rem; font-weight: 750; min-height: 42px; padding: .55rem .8rem; position: absolute; right: .75rem; }
.ept-gallery-js .ept-gallery-count { display: block; }
[dir="rtl"] .ept-gallery-count { left: .75rem; right: auto; }
.ept-lightbox { align-items: center; background: rgba(3,10,17,.96); display: grid; inset: 0; padding: 4rem .75rem 2rem; place-items: center; position: fixed; z-index: 10000; }
.ept-lightbox[hidden] { display: none; }
.ept-lightbox figure { align-items: center; display: flex; flex-direction: column; height: 100%; justify-content: center; width: 100%; }
.ept-lightbox figure img { max-height: calc(100dvh - 8rem); max-width: calc(100vw - 2rem); object-fit: contain; }
.ept-lightbox figcaption { color: rgba(255,255,255,.72); font-size: .8rem; padding-block-start: .6rem; }
.ept-lightbox__close, .ept-lightbox__prev, .ept-lightbox__next { align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff; display: inline-flex; height: 46px; justify-content: center; position: absolute; width: 46px; z-index: 2; }
.ept-lightbox__close { inset-block-start: .85rem; inset-inline-end: .85rem; }
.ept-lightbox__prev { inset-block-start: 50%; inset-inline-start: .5rem; transform: translateY(-50%); }
.ept-lightbox__next { inset-block-start: 50%; inset-inline-end: .5rem; transform: translateY(-50%); }
.ept-single-layout { display: grid; gap: 2rem; padding-block: clamp(2rem, 6vw, 5rem); }
.ept-single-layout__content, .ept-single-layout__aside { min-width: 0; }
.ept-property-section { border-block-end: 1px solid var(--ept-border); padding-block: 0 2.2rem; }
.ept-property-section + .ept-property-section { padding-block-start: 2.2rem; }
.ept-property-section h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
.ept-property-facts { display: grid; gap: .65rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.ept-property-facts > div { background: var(--ept-background); border-radius: 12px; min-width: 0; padding: .85rem; }
.ept-property-facts dt { align-items: center; color: var(--ept-muted); display: flex; font-size: .72rem; gap: .35rem; }
.ept-property-facts dt .ept-icon { height: 17px; width: 17px; }
.ept-property-facts dd { color: var(--ept-primary); font-size: 1rem; font-weight: 800; margin: .25rem 0 0; overflow-wrap: anywhere; }
.ept-feature-list { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.ept-feature-list li { align-items: flex-start; display: flex; gap: .4rem; }
.ept-feature-list .ept-icon { color: var(--ept-success); flex: 0 0 19px; margin-block-start: .2rem; }
.ept-location-card { align-items: flex-start; background: var(--ept-background); border-radius: var(--ept-radius-sm); display: flex; gap: .8rem; padding: 1rem; }
.ept-location-card__icon { align-items: center; background: var(--ept-surface); border-radius: 10px; color: var(--ept-secondary); display: inline-flex; flex: 0 0 44px; height: 44px; justify-content: center; }
.ept-location-card p { color: var(--ept-muted); margin: .25rem 0 .5rem; overflow-wrap: anywhere; }
.ept-property-updated { color: var(--ept-muted); font-size: .76rem; margin-block-start: 1rem; }
.ept-contact-card { background: var(--ept-background); border: 1px solid var(--ept-border); border-radius: var(--ept-radius); box-shadow: var(--ept-shadow-sm); padding: 1.15rem; }
.ept-contact-card h2 { font-size: 1.15rem; }
.ept-owner-card { align-items: center; display: flex; gap: .75rem; margin-block-end: 1rem; }
.ept-owner-card img { border: 3px solid #fff; border-radius: 50%; height: 64px; object-fit: cover; width: 64px; }
.ept-owner-card strong, .ept-owner-card span { display: block; }
.ept-owner-card span { color: var(--ept-muted); font-size: .75rem; }
.ept-contact-actions { display: grid; gap: .55rem; margin-block-end: .55rem; }
.ept-contact-note { color: var(--ept-muted); font-size: .7rem; margin: .8rem 0 0; }
.ept-related-properties { border-block-start: 1px solid var(--ept-border); }

/* Verified legacy public listing and inquiry markup. */
.eoyip.eoyip-public { display: grid; font-family: inherit; gap: 1rem; grid-template-columns: minmax(0, 1fr); margin: 2rem auto; max-width: var(--ept-site-max); }
.eoyip-public .eoyip-card { background: var(--ept-surface); border: 1px solid var(--ept-border); border-radius: var(--ept-radius); box-shadow: var(--ept-shadow-sm); overflow: hidden; padding: 1rem; }
.eoyip-public .eoyip-card img { aspect-ratio: 3 / 2; border-radius: 12px; height: auto; object-fit: cover; width: 100%; }
.eoyip-public .eoyip-card h3 { margin-block: .8rem .4rem; }
.eoyip-public .eoyip-card h3 a { color: var(--ept-primary); text-decoration: none; }
.eoyip-public .eoyip-card > b { color: var(--ept-secondary); font-size: 1.2rem; }
.eoyip-public .eoyip-card button { background: var(--ept-secondary); border: 0; border-radius: 10px; color: #fff; font-weight: 750; min-height: 44px; padding: .68rem 1rem; }
.eoyip-modal { align-items: center; background: rgba(3,10,17,.72); display: grid; inset: 0; padding: 1rem; place-items: center; position: fixed; z-index: 10000; }
.eoyip-modal[hidden] { display: none; }
.eoyip-modal .eoyip-modal-box { background: var(--ept-surface); border-radius: var(--ept-radius); box-shadow: var(--ept-shadow); max-height: calc(100dvh - 2rem); overflow-y: auto; padding: 1.25rem; position: relative; width: min(100%, 540px); }
.eoyip-modal .eoyip-modal-box > .close { align-items: center; background: var(--ept-background); border: 0; border-radius: 50%; color: var(--ept-primary); display: inline-flex; font-size: 1.5rem; height: 42px; inset-block-start: .75rem; inset-inline-end: .75rem; justify-content: center; position: absolute; width: 42px; }
.eoyip-modal .eoyip-modal-box label { display: block; font-size: .82rem; font-weight: 700; margin-block-end: .8rem; }
.eoyip-modal .eoyip-modal-box :where(input, textarea) { border: 1px solid var(--ept-border); border-radius: 10px; margin-block-start: .3rem; min-height: 44px; padding: .65rem; width: 100%; }
.eoyip-modal .eoyip-modal-box form > button { background: var(--ept-secondary); border: 0; border-radius: 10px; color: #fff; font-weight: 750; min-height: 44px; padding: .68rem 1rem; }

@media (min-width: 520px) {
  .ept-property-search { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
  .ept-button--search { grid-column: 1 / -1; }
  .ept-property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ept-location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ept-reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eoyip.eoyip-public { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 479px) {
  .ept-results-header { align-items: flex-start; flex-direction: column; }
  .ept-sort-form { flex-wrap: wrap; width: 100%; }
}

@media (min-width: 768px) {
  .ept-property-search { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
  .ept-button--search { grid-column: auto; }
  .ept-type-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ept-location-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ept-reason-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ept-home-cta__inner { align-items: center; flex-direction: row; }
  .ept-property-header { align-items: flex-end; flex-direction: row; }
  .ept-property-header__main { flex: 1 1 auto; }
  .ept-property-header__side { flex: 0 0 min(36%, 430px); text-align: end; }
  .ept-property-header__actions { justify-content: flex-end; }
  .ept-property-gallery { margin-inline: 0; }
  .ept-property-gallery__grid { border-radius: var(--ept-radius); grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); overflow: hidden; }
  .ept-property-gallery__item { aspect-ratio: auto; display: block; min-height: 180px; }
  .ept-gallery-js .ept-property-gallery__item { display: block; }
  .ept-property-gallery__item.is-primary { grid-row: 1 / 3; min-height: 460px; }
  .ept-gallery-js .ept-property-gallery__item:nth-child(n+4) { display: none; }
  .ept-property-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ept-feature-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ept-view-list .ept-property-grid { grid-template-columns: 1fr; }
  .ept-view-list .ept-property-card { display: grid; grid-template-columns: minmax(230px, 36%) minmax(0, 1fr); }
  .ept-view-list .ept-property-card__media { aspect-ratio: auto; min-height: 250px; }
}

@media (min-width: 1024px) {
  .ept-property-search { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
  .ept-button--search { min-width: 132px; width: auto; }
  .ept-property-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
  .ept-property-grid--featured { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
  .ept-filter-toggle, .ept-filter-panel__header, .ept-filter-close, .ept-filter-overlay { display: none !important; }
  .ept-filter-panel { background: var(--ept-surface); border: 1px solid var(--ept-border); border-radius: var(--ept-radius); box-shadow: none; height: auto; inset: auto; margin-block-end: 1rem; overflow: visible; padding: .8rem; position: static; transform: none !important; width: 100%; }
  .ept-filter-panel .ept-property-search { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); padding: 0; }
  .ept-filter-panel .ept-widget { margin-block: 1rem 0; }
  .ept-single-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 365px); }
  .ept-contact-card--sticky { position: sticky; top: calc(var(--ept-header-height) + 1rem); }
  .eoyip.eoyip-public { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .ept-property-card:hover, .ept-blog-card:hover, .ept-type-card:hover, .ept-button:hover { transform: none; }
}
