:root {
  --eda-bg: #f7f4ee;
  --eda-surface: #ffffff;
  --eda-sand: #eee7dd;
  --eda-primary: #345c5a;
  --eda-primary-hover: #294a48;
  --eda-text: #26312f;
  --eda-muted: #6b7471;
  --eda-border: #ddd7ce;
  --eda-heading-font: "Cormorant Garamond", Georgia, serif;
  --eda-body-font: "Didact Gothic", Arial, sans-serif;
  --eda-radius: 3px;
  --eda-shadow: 0 14px 36px rgba(38, 49, 47, 0.07);
}

.eda-featured-grid,
.eda-listing,
.eda-detail {
  color: var(--eda-text);
  font-family: var(--eda-body-font);
  font-size: 16px;
  line-height: 1.7;
  box-sizing: border-box;
}

.eda-featured-grid *,
.eda-listing *,
.eda-detail * {
  box-sizing: border-box;
}

.eda-featured-grid {
  display: grid;
  grid-template-columns: repeat(var(--eda-columns, 3), minmax(0, 1fr));
  gap: clamp(28px, 3.2vw, 40px);
  width: 100%;
}

.eda-apartment-card {
  min-width: 0;
  color: var(--eda-text);
  background: transparent;
}

.eda-card-listing {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: var(--eda-surface);
  border: 1px solid var(--eda-border);
  border-radius: var(--eda-radius);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.eda-card-listing:hover {
  transform: translateY(-3px);
  border-color: #c9c0b4;
  box-shadow: var(--eda-shadow);
}

.eda-card-image-link {
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.eda-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--eda-sand);
}

.eda-card-image-element,
.eda-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}

.eda-apartment-card:hover .eda-card-image-element,
.eda-apartment-card:hover .eda-card-image img {
  transform: scale(1.025);
}

.eda-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(52, 92, 90, .07), rgba(197, 142, 101, .1)),
    var(--eda-sand);
}

.eda-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 24px;
}

.eda-card-listing .eda-card-body {
  padding: 20px 22px 22px;
}

.eda-card-location {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--eda-muted);
  font-size: 14px;
  line-height: 1.4;
}

.eda-card-location svg,
.eda-card-facts svg,
.eda-detail-fact svg,
.eda-amenities svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eda-card-title {
  margin: 0 0 14px;
  color: var(--eda-text);
  font-family: var(--eda-heading-font);
  font-size: clamp(27px, 2.1vw, 31px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.eda-card-title a {
  color: inherit;
  text-decoration: none;
}

.eda-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0 0 15px;
  color: var(--eda-muted);
  font-size: 15px;
}

.eda-card-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.eda-card-description {
  margin: 0 0 23px;
  color: var(--eda-muted);
  font-size: 16px;
  line-height: 1.75;
}

.eda-card-listing .eda-card-description {
  flex: 1;
}

.eda-card-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 0 0 4px;
  color: var(--eda-text);
  border-bottom: 1px solid currentColor;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease;
}

.eda-card-link svg,
.eda-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.eda-card-link:hover,
.eda-card-link:focus-visible {
  color: var(--eda-primary);
}

.eda-card-link:hover svg,
.eda-card-link:focus-visible svg,
.eda-button:hover svg,
.eda-button:focus-visible svg {
  transform: translateX(3px);
}

.eda-card-link:focus-visible,
.eda-button:focus-visible,
.eda-filter-toggle:focus-visible,
.eda-clear-filters:focus-visible,
.eda-gallery-item:focus-visible,
.eda-gallery-all:focus-visible {
  outline: 2px solid var(--eda-primary);
  outline-offset: 4px;
}

/* Listing */
.eda-listing {
  width: 100%;
}

.eda-filter-toggle {
  display: none;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  color: var(--eda-text);
  background: var(--eda-surface);
  border: 1px solid var(--eda-border);
  font: inherit;
  cursor: pointer;
}

.eda-filter-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eda-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
  padding: 22px 24px 20px;
  background: var(--eda-surface);
  border: 1px solid var(--eda-border);
}

.eda-filter-field {
  min-width: 0;
}

.eda-filter-field label {
  display: block;
  margin: 0 0 9px;
  color: var(--eda-muted);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eda-filter-field select {
  width: 100%;
  height: 42px;
  padding: 0 34px 0 0;
  color: var(--eda-text);
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--eda-border);
  border-radius: 0;
  font-family: var(--eda-body-font);
  font-size: 15px;
  outline: none;
  cursor: pointer;
}

.eda-filter-field select:focus {
  border-bottom-color: var(--eda-primary);
}

.eda-clear-filters {
  min-height: 42px;
  padding: 0 0 3px;
  color: var(--eda-primary);
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  font-family: var(--eda-body-font);
  font-size: 14px;
  cursor: pointer;
}

.eda-clear-filters:hover:not(:disabled) {
  border-bottom-color: currentColor;
}

.eda-clear-filters:disabled {
  color: #b8b8b3;
  cursor: default;
}

.eda-listing-status {
  min-height: 38px;
  margin: 0 0 18px;
}

.eda-result-count {
  margin: 0;
  color: var(--eda-muted);
  font-size: 14px;
}

.eda-apartments-grid {
  display: grid;
  grid-template-columns: repeat(var(--eda-columns, 3), minmax(0, 1fr));
  gap: 30px;
}

.eda-apartment-card[hidden] {
  display: none !important;
}

.eda-no-results {
  padding: 72px 24px;
  text-align: center;
  background: var(--eda-surface);
  border: 1px solid var(--eda-border);
}

.eda-no-results h3 {
  margin: 0 0 10px;
  font-family: var(--eda-heading-font);
  font-size: 32px;
  font-weight: 500;
}

.eda-no-results p {
  margin: 0 0 24px;
  color: var(--eda-muted);
}

.eda-admin-empty-note {
  margin: 0;
  padding: 16px;
  color: var(--eda-muted);
  background: var(--eda-sand);
  border: 1px solid var(--eda-border);
  font-family: var(--eda-body-font);
}

/* Buttons */
.eda-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  color: #fff;
  background: var(--eda-primary);
  border: 1px solid var(--eda-primary);
  border-radius: 2px;
  font-family: var(--eda-body-font);
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.eda-button:hover,
.eda-button:focus-visible {
  color: #fff;
  background: var(--eda-primary-hover);
  border-color: var(--eda-primary-hover);
}

.eda-button-secondary {
  color: var(--eda-text);
  background: transparent;
  border-color: var(--eda-text);
}

.eda-button-secondary:hover,
.eda-button-secondary:focus-visible {
  color: #fff;
  background: var(--eda-text);
  border-color: var(--eda-text);
}

/* Detail */
.eda-detail {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 100px;
}

.eda-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
  color: var(--eda-muted);
  font-size: 13px;
}

.eda-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.eda-breadcrumb a:hover {
  color: var(--eda-primary);
}

.eda-detail-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.eda-detail-header h1 {
  margin: 0;
  color: var(--eda-text);
  font-family: var(--eda-heading-font);
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
}

.eda-detail-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--eda-muted);
  font-size: 18px;
  line-height: 1.7;
}

.eda-reference {
  margin: 0;
  color: var(--eda-muted);
  font-size: 13px;
  white-space: nowrap;
}

.eda-detail-gallery {
  position: relative;
  margin-bottom: 28px;
}

.eda-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(190px, 1fr));
  gap: 8px;
  min-height: 500px;
  overflow: hidden;
}

.eda-gallery-item {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: var(--eda-sand);
  border: 0;
  cursor: pointer;
}

.eda-gallery-item-1 {
  grid-row: 1 / span 2;
}

.eda-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.eda-gallery-item:hover img {
  transform: scale(1.02);
}

.eda-gallery-all {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-height: 42px;
  padding: 10px 15px;
  color: var(--eda-text);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(38,49,47,.16);
  border-radius: 2px;
  font-family: var(--eda-body-font);
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  cursor: pointer;
}

.eda-gallery-empty {
  min-height: 480px;
}

.eda-detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 42px;
  padding: 23px 0;
  border-top: 1px solid var(--eda-border);
  border-bottom: 1px solid var(--eda-border);
}

.eda-detail-fact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--eda-muted);
}

.eda-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(52px, 7vw, 100px);
  align-items: start;
  padding-top: 58px;
}

.eda-detail-main {
  min-width: 0;
}

.eda-detail-section {
  padding-bottom: 54px;
  margin-bottom: 54px;
  border-bottom: 1px solid var(--eda-border);
}

.eda-detail-section:last-child {
  margin-bottom: 0;
}

.eda-detail-section h2,
.eda-enquiry-card h2,
.eda-similar h2 {
  margin: 0 0 22px;
  color: var(--eda-text);
  font-family: var(--eda-heading-font);
  font-size: clamp(35px, 3.2vw, 47px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.025em;
}

.eda-prose {
  color: var(--eda-muted);
  font-size: 17px;
  line-height: 1.85;
}

.eda-prose p:first-child {
  margin-top: 0;
}

.eda-prose p:last-child {
  margin-bottom: 0;
}

.eda-amenities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eda-amenities li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--eda-muted);
}

.eda-amenities svg {
  width: 17px;
  color: var(--eda-primary);
}

.eda-calendar-section > p {
  margin-top: -10px;
  color: var(--eda-muted);
}

.eda-calendar-embed {
  margin-top: 26px;
  overflow: hidden;
}


.eda-location-section__inner {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.eda-location-card {
  height: 100%;
  padding: 28px;
  background: linear-gradient(180deg, #fff, #fcfbf8);
  border: 1px solid var(--eda-border);
  box-shadow: var(--eda-shadow);
}

.eda-location-card__eyebrow {
  margin: 0 0 10px;
  color: var(--eda-primary);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eda-location-card h3 {
  margin: 0 0 14px;
  font-family: var(--eda-heading-font);
  font-size: clamp(28px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.eda-location-card p {
  margin: 0;
  color: var(--eda-muted);
  font-size: 16px;
  line-height: 1.8;
}

.eda-location-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.eda-location-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  color: var(--eda-text);
  background: var(--eda-sand);
  border: 1px solid var(--eda-border);
  font-size: 14px;
  line-height: 1.4;
}

.eda-location-meta svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eda-location-actions {
  margin: 24px 0 0;
}

.eda-location-map-wrap {
  min-width: 0;
}

.eda-location-map {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--eda-border);
  box-shadow: var(--eda-shadow);
  background: var(--eda-sand);
}

.eda-location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.eda-location-map--placeholder {
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
}

.eda-location-map--placeholder strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--eda-heading-font);
  font-size: 30px;
  font-weight: 500;
}

.eda-location-map--placeholder p {
  max-width: 380px;
  margin: 0;
  color: var(--eda-muted);
}


.eda-detail-aside {
  position: sticky;
  top: 110px;
}

.eda-enquiry-card {
  padding: 30px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--eda-border);
  box-shadow: var(--eda-shadow);
}

.eda-eyebrow {
  margin: 0 0 13px;
  color: var(--eda-primary);
  font-size: 11px;
  letter-spacing: .2em;
}

.eda-enquiry-card h2 {
  margin-bottom: 22px;
  color: var(--eda-primary);
  font-size: clamp(31px, 3vw, 40px);
  line-height: 1.05;
}

.eda-enquiry-card > p:not(.eda-eyebrow) {
  margin: 0 0 24px;
  color: var(--eda-muted);
}

.eda-enquiry-card .eda-button {
  width: 100%;
}

.eda-enquiry-card small {
  display: block;
  margin-top: 15px;
  color: var(--eda-muted);
  text-align: center;
}

.eda-enquiry-form {
  position: relative;
  font-family: var(--eda-body-font);
}

.eda-enquiry-grid {
  display: grid;
  gap: 10px;
}

.eda-enquiry-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 10px;
}

.eda-enquiry-grid-dates {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 84px;
  margin-bottom: 14px;
}

.eda-form-field {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
}

.eda-form-field input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 10px 12px;
  color: var(--eda-text);
  background: #fff;
  border: 1px solid #8c9794;
  border-radius: 1px;
  box-shadow: none;
  font-family: var(--eda-body-font);
  font-size: 14px;
  line-height: 1.2;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.eda-form-field input::placeholder {
  color: #8c9693;
  opacity: 1;
}

.eda-form-field input:hover {
  border-color: #6e7b78;
}

.eda-form-field input:focus {
  border-color: var(--eda-primary);
  box-shadow: 0 0 0 2px rgba(52, 92, 90, .14);
}

.eda-form-field input:invalid:not(:placeholder-shown) {
  border-color: #b54d4d;
}

.eda-form-label {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 12px;
  color: #7c8784;
  font-size: 10px;
  line-height: 1;
  pointer-events: none;
}

.eda-form-field input[type="date"],
.eda-form-field input[type="number"] {
  padding-top: 17px;
  padding-bottom: 5px;
}

.eda-form-field input[type="number"] {
  appearance: textfield;
}

.eda-form-field input[type="number"]::-webkit-inner-spin-button,
.eda-form-field input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.eda-privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--eda-muted);
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}

.eda-privacy-consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--eda-primary);
}

.eda-privacy-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.eda-enquiry-submit {
  position: relative;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 1px;
}

.eda-enquiry-submit:disabled {
  cursor: wait;
  opacity: .78;
}

.eda-form-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: eda-spin .7s linear infinite;
}

.eda-enquiry-form.is-submitting .eda-form-spinner {
  display: inline-block;
}

.eda-form-message {
  display: none;
  margin-top: 13px;
  padding: 10px 12px;
  border: 1px solid transparent;
  font-size: 13px;
  line-height: 1.45;
}

.eda-form-message.is-success,
.eda-form-message.is-error {
  display: block;
}

.eda-form-message.is-success {
  color: #264f3e;
  background: #edf7f1;
  border-color: #b8d8c7;
}

.eda-form-message.is-error {
  color: #7a2929;
  background: #fff1f1;
  border-color: #e1b8b8;
}

.eda-form-apartment {
  margin: 13px 0 0;
  color: var(--eda-muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.eda-form-apartment span {
  white-space: nowrap;
}

.eda-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

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

@keyframes eda-spin {
  to { transform: rotate(360deg); }
}

.eda-similar {
  margin-top: 100px;
  padding-top: 72px;
  border-top: 1px solid var(--eda-border);
}

.eda-section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

/* Lightbox */
body.eda-lightbox-open {
  overflow: hidden;
}

.eda-lightbox[hidden] {
  display: none;
}

.eda-lightbox {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
  padding: 34px;
  color: #fff;
  background: rgba(18, 22, 22, .96);
}

.eda-lightbox figure {
  display: flex;
  min-width: 0;
  height: calc(100vh - 68px);
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}

.eda-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 118px);
  object-fit: contain;
}

.eda-lightbox figcaption {
  margin-top: 14px;
  font-size: 14px;
}

.eda-lightbox-close,
.eda-lightbox-nav {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  cursor: pointer;
}

.eda-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
}

.eda-lightbox-next {
  justify-self: end;
}

.eda-lightbox svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1024px) {
  .eda-featured-grid,
  .eda-apartments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eda-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .eda-clear-filters {
    justify-self: start;
  }

  .eda-detail-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 48px;
  }

  .eda-location-section__inner {
    grid-template-columns: 1fr;
  }

  .eda-gallery-grid {
    min-height: 410px;
    grid-template-rows: repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 767px) {
  .eda-featured-grid,
  .eda-apartments-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .eda-card-featured .eda-card-body {
    padding-top: 18px;
  }

  .eda-card-listing .eda-card-body {
    padding: 19px 18px 21px;
  }

  .eda-card-title {
    font-size: 29px;
  }

  .eda-filter-toggle {
    display: flex;
    margin-bottom: 14px;
  }

  .eda-filters {
    display: none;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 18px;
    padding: 20px;
  }

  .eda-filters.is-open {
    display: grid;
  }

  .eda-filter-field select {
    height: 46px;
  }

  .eda-detail {
    width: min(100% - 28px, 1280px);
    padding-top: 24px;
  }

  .eda-breadcrumb {
    margin-bottom: 22px;
  }

  .eda-detail-header {
    display: block;
  }

  .eda-detail-header h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .eda-detail-lead {
    font-size: 17px;
  }

  .eda-reference {
    margin-top: 16px;
  }

  .eda-gallery-grid {
    display: flex;
    min-height: 0;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .eda-gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .eda-gallery-item {
    flex: 0 0 100%;
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
  }

  .eda-gallery-item-1 {
    grid-row: auto;
  }

  .eda-gallery-all {
    right: 12px;
    bottom: 12px;
  }

  .eda-detail-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
  }

  .eda-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 46px;
  }

  .eda-location-card {
    padding: 24px 22px;
  }

  .eda-location-map,
  .eda-location-map iframe {
    min-height: 300px;
  }

  .eda-detail-main {
    width: 100%;
  }

  .eda-detail-aside {
    position: static;
    width: 100%;
    order: 2;
  }

  .eda-enquiry-card {
    padding: 27px 22px;
  }

  .eda-enquiry-grid-two {
    grid-template-columns: 1fr 1fr;
  }

  .eda-enquiry-grid-dates {
    grid-template-columns: 1fr 1fr 82px;
  }

  .eda-detail-section {
    padding-bottom: 42px;
    margin-bottom: 42px;
  }

  .eda-amenities {
    grid-template-columns: 1fr;
  }

  .eda-similar {
    margin-top: 70px;
    padding-top: 52px;
  }

  .eda-lightbox {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    padding: 18px 8px;
  }

  .eda-lightbox figure {
    height: calc(100svh - 36px);
  }

  .eda-lightbox img {
    max-height: calc(100svh - 100px);
  }

  .eda-lightbox-close {
    top: 12px;
    right: 12px;
  }

  .eda-lightbox-close,
  .eda-lightbox-nav {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 390px) {
  .eda-card-facts {
    gap: 10px 16px;
  }

  .eda-detail-facts {
    grid-template-columns: 1fr;
  }

  .eda-gallery-all {
    font-size: 12px;
  }

  .eda-enquiry-grid-two,
  .eda-enquiry-grid-dates {
    grid-template-columns: 1fr;
  }

  .eda-enquiry-grid-two,
  .eda-enquiry-grid-dates {
    gap: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eda-apartment-card,
  .eda-card-image-element,
  .eda-card-image img,
  .eda-card-link svg,
  .eda-button svg {
    transition: none !important;
  }

  .eda-form-spinner {
    animation: none !important;
  }
}

/* =========================================================
   Apartment detail redesign - v1.3.0
   Inspired by the approved Encantos do Algarve art direction.
   ========================================================= */
.eda-detail {
  position: relative;
  isolation: isolate;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 92px;
  color: var(--eda-text);
  font-family: var(--eda-body-font);
}

.eda-detail::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: var(--eda-bg);
}

.eda-breadcrumb {
  gap: 8px;
  margin: 0 0 34px;
  color: #7b817f;
  font-size: 12px;
  line-height: 1.4;
}

.eda-breadcrumb > span[aria-hidden="true"] {
  color: #a8aaa6;
}

.eda-detail-header {
  display: block;
  margin: 0 0 38px;
}

.eda-detail-intro {
  max-width: 680px;
}

.eda-detail-location {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--eda-primary);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.eda-detail-location svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eda-detail-header h1 {
  margin: 0;
  color: var(--eda-text);
  font-family: var(--eda-heading-font);
  font-size: clamp(48px, 5vw, 66px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}

.eda-detail-lead {
  max-width: 620px;
  margin: 17px 0 0;
  color: var(--eda-muted);
  font-size: 17px;
  line-height: 1.65;
}

.eda-reference {
  margin: 13px 0 0;
  color: #949996;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eda-detail-gallery {
  margin-bottom: 38px;
}

.eda-gallery-grid {
  grid-template-columns: 2.65fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 480px;
  border-radius: 10px;
}

.eda-gallery-item {
  border-radius: 8px;
}

.eda-gallery-item img {
  transition: transform 500ms cubic-bezier(.2, .7, .2, 1), filter 220ms ease;
}

.eda-gallery-item:hover img {
  transform: scale(1.025);
  filter: saturate(1.03);
}

.eda-gallery-all {
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  color: var(--eda-text);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(38, 49, 47, .12);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(38, 49, 47, .10);
  backdrop-filter: blur(8px);
}

.eda-gallery-all svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eda-gallery-all strong {
  font-weight: 400;
}

.eda-detail-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--eda-border);
  border-bottom: 1px solid var(--eda-border);
}

.eda-detail-fact {
  min-width: 0;
  min-height: 68px;
  padding: 20px 24px;
  color: #555f5c;
  font-size: 14px;
  line-height: 1.4;
}

.eda-detail-fact + .eda-detail-fact {
  border-left: 1px solid var(--eda-border);
}

.eda-detail-fact svg {
  width: 18px;
  height: 18px;
  color: var(--eda-primary);
}

.eda-detail-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 330px);
  gap: clamp(48px, 6vw, 74px);
  padding-top: 64px;
}

.eda-detail-section {
  margin: 0 0 68px;
  padding: 0;
  border: 0;
}

.eda-detail-section:last-child {
  margin-bottom: 0;
}

.eda-detail-section h2,
.eda-enquiry-card h2,
.eda-similar h2 {
  margin: 0 0 24px;
  font-family: var(--eda-heading-font);
  font-size: clamp(35px, 3vw, 43px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.eda-prose {
  max-width: 720px;
  color: #5e6764;
  font-size: 17px;
  line-height: 1.9;
}

.eda-prose p {
  margin-top: 0;
  margin-bottom: 22px;
}

.eda-prose p:first-child {
  color: #46504d;
  font-size: 18px;
}

.eda-amenities {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
}

.eda-amenities li {
  align-items: flex-start;
  gap: 11px;
  color: #404a47;
  font-size: 14px;
  line-height: 1.45;
}

.eda-amenities svg {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--eda-primary);
  stroke-width: 1.6;
}

.eda-detail-aside {
  top: 108px;
}

.eda-enquiry-card {
  padding: 29px 28px 24px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid #d8d4cc;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(38, 49, 47, .08);
}

.eda-enquiry-card h2 {
  margin-bottom: 8px;
  color: var(--eda-text);
  font-size: 31px;
}

.eda-enquiry-intro {
  margin: 0 0 13px !important;
  color: var(--eda-muted);
  font-size: 13px;
  line-height: 1.55;
}

.eda-enquiry-apartment {
  margin: 0 0 22px !important;
  color: #6d7471;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eda-enquiry-apartment span {
  white-space: nowrap;
}

.eda-enquiry-grid {
  gap: 13px 12px;
}

.eda-enquiry-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 13px;
}

.eda-enquiry-grid-dates {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 13px;
}

.eda-form-field-full {
  display: block;
  margin-bottom: 16px;
}

.eda-form-label {
  position: static;
  display: block;
  margin: 0 0 7px;
  color: #66706d;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: auto;
}

.eda-form-field input,
.eda-form-field input[type="date"],
.eda-form-field input[type="number"] {
  height: 47px;
  padding: 11px 12px;
  color: var(--eda-text);
  background: #fff;
  border: 1px solid #d2d4cf;
  border-radius: 7px;
  font-size: 13px;
  box-shadow: none;
}

.eda-form-field input::placeholder {
  color: #9ba09e;
}

.eda-form-field input:hover {
  border-color: #aeb4b1;
}

.eda-form-field input:focus {
  border-color: var(--eda-primary);
  box-shadow: 0 0 0 3px rgba(52, 92, 90, .10);
}

.eda-privacy-consent {
  gap: 10px;
  margin: 0 0 17px;
  color: #69716f;
  font-size: 11px;
  line-height: 1.55;
}

.eda-privacy-consent input {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}

.eda-enquiry-submit {
  min-height: 48px;
  border-radius: 6px;
  font-size: 14px;
}

.eda-form-note {
  margin: 12px 0 0;
  color: #8a908e;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

.eda-location-section > h2 {
  margin-bottom: 28px;
}

.eda-location-section__inner {
  grid-template-columns: minmax(220px, .82fr) minmax(300px, 1.18fr);
  gap: 34px;
  align-items: start;
}

.eda-location-copy {
  padding-top: 2px;
}

.eda-location-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 13px;
  color: var(--eda-primary);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eda-location-card__eyebrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eda-location-copy h3 {
  margin: 0 0 14px;
  font-family: var(--eda-heading-font);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.eda-location-copy > p:not(.eda-location-actions):not(.eda-location-card__eyebrow) {
  margin: 0;
  color: var(--eda-muted);
  font-size: 15px;
  line-height: 1.75;
}

.eda-location-actions {
  margin: 23px 0 0;
}

.eda-location-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  color: var(--eda-text);
  background: #fff;
  border: 1px solid var(--eda-border);
  border-radius: 6px;
  font-family: var(--eda-body-font);
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.eda-location-button:hover,
.eda-location-button:focus-visible {
  color: #fff;
  background: var(--eda-primary);
  border-color: var(--eda-primary);
}

.eda-location-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eda-location-map {
  min-height: 330px;
  overflow: hidden;
  background: var(--eda-sand);
  border: 1px solid var(--eda-border);
  border-radius: 9px;
  box-shadow: none;
}

.eda-location-map iframe {
  min-height: 330px;
}

.eda-similar {
  margin-top: 82px;
  padding-top: 0;
  border: 0;
}

.eda-similar .eda-section-heading {
  max-width: none;
  margin-bottom: 30px;
}

.eda-similar .eda-eyebrow {
  display: none;
}

.eda-similar h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 3.5vw, 46px);
}

.eda-similar .eda-featured-grid {
  gap: 22px;
}

.eda-similar-card {
  min-width: 0;
}

.eda-similar-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: var(--eda-sand);
}

.eda-similar-card__image-element,
.eda-similar-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(.2, .7, .2, 1);
}

.eda-similar-card:hover .eda-similar-card__image-element,
.eda-similar-card:hover .eda-similar-card__image img {
  transform: scale(1.025);
}

.eda-similar-card__location {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 13px 0 6px;
  color: var(--eda-primary);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eda-similar-card__location svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eda-similar-card h3 {
  margin: 0;
  font-family: var(--eda-heading-font);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.eda-similar-card h3 a {
  color: inherit;
  text-decoration: none;
}

.eda-similar-card h3 a:hover,
.eda-similar-card h3 a:focus-visible {
  color: var(--eda-primary);
}

@media (max-width: 1024px) {
  .eda-detail {
    width: min(100% - 48px, 1120px);
  }

  .eda-gallery-grid {
    min-height: 420px;
  }

  .eda-detail-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 40px;
  }

  .eda-amenities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eda-location-section__inner {
    grid-template-columns: 1fr;
  }

  .eda-location-map,
  .eda-location-map iframe {
    min-height: 340px;
  }
}

@media (max-width: 820px) {
  .eda-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .eda-detail-aside {
    position: static;
    width: 100%;
    margin-top: 54px;
  }

  .eda-enquiry-card {
    max-width: 620px;
  }
}

@media (max-width: 767px) {
  .eda-detail {
    width: min(100% - 28px, 1120px);
    padding: 24px 0 70px;
  }

  .eda-breadcrumb {
    margin-bottom: 26px;
  }

  .eda-detail-header {
    margin-bottom: 29px;
  }

  .eda-detail-header h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .eda-detail-lead {
    font-size: 16px;
  }

  .eda-gallery-grid {
    border-radius: 8px;
  }

  .eda-gallery-item {
    border-radius: 8px;
  }

  .eda-gallery-all {
    right: 11px;
    bottom: 11px;
    min-height: 39px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .eda-detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eda-detail-fact {
    min-height: 62px;
    padding: 17px 15px;
  }

  .eda-detail-fact + .eda-detail-fact {
    border-left: 0;
  }

  .eda-detail-fact:nth-child(even) {
    border-left: 1px solid var(--eda-border);
  }

  .eda-detail-fact:nth-child(n+3) {
    border-top: 1px solid var(--eda-border);
  }

  .eda-detail-layout {
    padding-top: 48px;
  }

  .eda-detail-section {
    margin-bottom: 54px;
  }

  .eda-detail-section h2,
  .eda-enquiry-card h2,
  .eda-similar h2 {
    font-size: 36px;
  }

  .eda-prose,
  .eda-prose p:first-child {
    font-size: 16px;
  }

  .eda-location-map,
  .eda-location-map iframe {
    min-height: 300px;
  }

  .eda-similar {
    margin-top: 68px;
  }

  .eda-similar .eda-featured-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .eda-similar-card h3 {
    font-size: 28px;
  }
}

@media (max-width: 520px) {
  .eda-amenities {
    grid-template-columns: 1fr;
  }

  .eda-enquiry-card {
    padding: 25px 20px 21px;
  }

  .eda-enquiry-grid-two,
  .eda-enquiry-grid-dates {
    grid-template-columns: 1fr;
  }

  .eda-detail-facts {
    grid-template-columns: 1fr;
  }

  .eda-detail-fact:nth-child(even) {
    border-left: 0;
  }

  .eda-detail-fact:nth-child(n+2) {
    border-top: 1px solid var(--eda-border);
  }

  .eda-location-map,
  .eda-location-map iframe {
    min-height: 270px;
  }
}
