.bef-listing-showcase-v2 {
  background: linear-gradient(145deg, #fff, #f5f2eb);
  border: 1px solid color-mix(in srgb, var(--bef-color-sage, #3f664d) 16%, transparent);
  border-radius: clamp(18px, 3vw, 30px);
  box-shadow: 0 22px 65px rgb(30 46 35 / 10%);
  margin-block: clamp(1.25rem, 4vw, 2.5rem);
  overflow: hidden;
  padding: clamp(0.65rem, 2vw, 1rem);
}

.bef-listing-showcase-v2__topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0.35rem 0.85rem;
}

.bef-listing-showcase-v2__topline h2 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin: 0;
}

.bef-listing-showcase-v2__topline span {
  background: #fff;
  border: 1px solid rgb(31 49 38 / 10%);
  border-radius: 999px;
  color: #526057;
  font-size: 0.82rem;
  padding: 0.35rem 0.7rem;
}

.bef-listing-showcase-v2__stage {
  background: #dfe5df;
  border-radius: clamp(14px, 2vw, 22px);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.bef-listing-showcase-v2__stage > a {
  display: block;
  position: relative;
}

.bef-listing-showcase-v2__stage img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  transition:
    filter 180ms ease,
    opacity 180ms ease,
    transform 500ms ease;
  width: 100%;
}

.bef-listing-showcase-v2__stage:hover img {
  transform: scale(1.012);
}

.bef-listing-showcase-v2__expand {
  align-items: center;
  background: rgb(10 29 43 / 82%);
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 999px;
  bottom: 0.85rem;
  color: #fff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  position: absolute;
  right: 0.85rem;
}

.bef-listing-showcase-v2__expand .bef-icon {
  height: 1rem;
  width: 1rem;
}

.bef-listing-showcase-v2.is-changing .bef-listing-showcase-v2__stage img {
  animation: bef-listing-gallery-reveal 280ms ease both;
}

@keyframes bef-listing-gallery-reveal {
  from {
    filter: saturate(0.85);
    opacity: 0.72;
  }
}

.bef-listing-showcase-v2__controls {
  display: flex;
  inset: 50% 0 auto;
  justify-content: space-between;
  pointer-events: none;
  position: absolute;
  transform: translateY(-50%);
}

.bef-listing-showcase-v2__controls button {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgb(24 36 29 / 72%);
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 3rem;
  justify-content: center;
  line-height: 0;
  margin: 0 clamp(0.45rem, 2vw, 1rem);
  padding: 0;
  pointer-events: auto;
  transition:
    background 160ms ease,
    transform 160ms ease;
  width: 3rem;
}

.bef-listing-showcase-v2__controls .bef-listing-gallery-arrow {
  display: inline-flex;
  fill: none;
  flex: 0 0 auto;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
  width: 1.5rem;
}

.bef-listing-showcase-v2__controls button:hover,
.bef-listing-showcase-v2__controls button:focus-visible {
  background: var(--bef-color-sage, #3f664d);
  transform: scale(1.06);
}

.bef-listing-showcase-v2__thumbs {
  display: grid;
  gap: 0.65rem;
  grid-auto-columns: minmax(88px, 132px);
  grid-auto-flow: column;
  overflow-x: auto;
  padding: 0.8rem 0.1rem 0.15rem;
  scroll-snap-type: x proximity;
}

.bef-listing-showcase-v2__thumbs a {
  border: 3px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  transition:
    border-color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.bef-listing-showcase-v2__thumbs a:not([aria-current="true"]) {
  opacity: 0.68;
}

.bef-listing-showcase-v2__thumbs a:hover,
.bef-listing-showcase-v2__thumbs a:focus-visible,
.bef-listing-showcase-v2__thumbs a[aria-current="true"] {
  border-color: var(--bef-color-accent, #b86942);
  opacity: 1;
  transform: translateY(-2px);
}

.bef-listing-showcase-v2__thumbs img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.has-bef-listing-lightbox {
  overflow: hidden;
}

.bef-listing-lightbox {
  background: transparent;
  border: 0;
  color: #fff;
  height: min(94vh, 1000px);
  max-height: none;
  max-width: none;
  overflow: visible;
  padding: 0;
  width: min(96vw, 1600px);
}

.bef-listing-lightbox::backdrop {
  backdrop-filter: blur(12px);
  background: rgb(4 15 24 / 88%);
}

.bef-listing-lightbox__shell {
  background: #071b2b;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: clamp(16px, 2vw, 26px);
  box-shadow: 0 28px 90px rgb(0 0 0 / 48%);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  overflow: hidden;
}

.bef-listing-lightbox__header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.8rem clamp(0.9rem, 2vw, 1.4rem);
}

.bef-listing-lightbox__header h2 {
  color: #fff;
  font-family: var(--bef-font-sans, sans-serif);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 0;
}

.bef-listing-lightbox__header button,
.bef-listing-lightbox__navigation button {
  align-items: center;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 2.8rem;
  justify-content: center;
  padding: 0;
  transition:
    background 160ms ease,
    transform 160ms ease;
  width: 2.8rem;
}

.bef-listing-lightbox__header button:hover,
.bef-listing-lightbox__header button:focus-visible,
.bef-listing-lightbox__navigation button:hover,
.bef-listing-lightbox__navigation button:focus-visible {
  background: var(--bef-color-accent, #b86942);
  transform: scale(1.05);
}

.bef-listing-lightbox__header .bef-icon,
.bef-listing-lightbox__navigation .bef-listing-gallery-arrow {
  display: inline-flex;
  fill: none;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 1.35rem;
}

.bef-listing-lightbox__figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  min-height: 0;
  padding-inline: clamp(0.6rem, 2vw, 1.4rem);
}

.bef-listing-lightbox__figure img {
  display: block;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  place-self: center;
  width: 100%;
}

.bef-listing-lightbox__figure figcaption {
  color: rgb(255 255 255 / 78%);
  font-size: 0.82rem;
  min-height: 2rem;
  padding: 0.55rem 0.25rem 0;
  text-align: center;
}

.bef-listing-lightbox__navigation {
  align-items: center;
  display: grid;
  grid-template-columns: 2.8rem 1fr 2.8rem;
  padding: 0.75rem clamp(0.9rem, 2vw, 1.4rem) 1rem;
}

.bef-listing-lightbox__navigation button[hidden] {
  display: none;
}

.bef-listing-lightbox__navigation p {
  font-variant-numeric: tabular-nums;
  margin: 0;
  text-align: center;
}

.bef-listing-lightbox__navigation button:last-child {
  justify-self: end;
}

/* Premium listing-detail information architecture. */
.listing-detail__header {
  align-items: flex-start;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.listing-detail__header h1 {
  max-width: 34ch;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
}

.listing-detail__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 430px);
  align-items: start;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.listing-detail__gallery-column,
.listing-detail__summary {
  min-width: 0;
}

.listing-detail__gallery-column {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.listing-detail__gallery-column .bef-listing-showcase-v2 {
  margin: 0;
}

.listing-detail__gallery-empty {
  display: grid;
  min-height: 430px;
  place-items: center;
  border: 1px solid rgb(31 49 38 / 12%);
  border-radius: clamp(18px, 3vw, 30px);
  background: linear-gradient(145deg, #dfe8e1, #f6f2eb);
  color: var(--bef-color-sage, #3f664d);
}

.listing-detail__gallery-empty .bef-icon {
  width: 4rem;
  height: 4rem;
}

.listing-detail__gallery-features {
  background: linear-gradient(145deg, #fff, #f7f6f1);
  border: 1px solid rgb(31 49 38 / 11%);
  border-radius: clamp(18px, 3vw, 26px);
  box-shadow: 0 16px 48px rgb(31 49 38 / 7%);
  padding: clamp(1.1rem, 2.5vw, 1.65rem);
}

.listing-detail__gallery-features > h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-bottom: 0.45rem;
}

.listing-detail__summary {
  overflow: hidden;
  border: 1px solid rgb(20 50 72 / 11%);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 52px rgb(7 27 49 / 10%);
}

.listing-detail__commercial,
.listing-detail__specifications {
  padding: 1.25rem 1.35rem;
}

.listing-detail__commercial {
  position: relative;
  border-bottom: 1px solid rgb(20 50 72 / 9%);
  background:
    radial-gradient(circle at 100% 0, rgb(184 105 66 / 10%), transparent 42%),
    linear-gradient(145deg, #fff, #f9faf8);
}

.listing-detail__commercial .listing-detail__price {
  padding-right: 10.5rem;
  margin: 0 0 0.65rem;
  color: #a53f28;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.listing-detail__commercial .listing-detail__price span {
  text-align: left;
}

.listing-detail__commercial .listing-detail__location {
  align-items: flex-start;
  margin: 0;
  color: #395064;
  font-size: 0.9rem;
}

.listing-detail__quick-actions {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.listing-detail__favorite {
  position: static;
}

.listing-detail__favorite .bef-favorite-action {
  margin: 0;
}

.listing-detail__compare.bef-compare-toggle {
  margin: 0;
}

.listing-detail__commerce:not(:empty) {
  margin-top: 1rem;
}

.listing-detail__commerce:empty {
  display: none;
}

.bef-listing-commerce {
  border-top: 1px solid rgb(20 50 72 / 10%);
  display: grid;
  gap: 0.65rem;
  padding-top: 0.9rem;
}

.bef-listing-commerce p {
  color: #52626e;
  font-size: 0.8rem;
  margin: 0;
}

.bef-listing-commerce__button {
  align-items: center;
  background: var(--bef-color-accent, #b86942);
  border: 1px solid var(--bef-color-accent, #b86942);
  border-radius: 13px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition:
    box-shadow 160ms ease,
    filter 160ms ease,
    transform 160ms ease;
  width: 100%;
}

.bef-listing-commerce__button:hover,
.bef-listing-commerce__button:focus-visible {
  box-shadow: 0 12px 30px rgb(184 105 66 / 24%);
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.listing-detail__summary .listing-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-bottom: 1px solid rgb(20 50 72 / 9%);
}

.listing-detail__summary .listing-facts li {
  min-width: 0;
  padding: 0.85rem 0.55rem;
  border: 0;
  border-right: 1px solid rgb(20 50 72 / 9%);
  border-radius: 0;
  text-align: left;
}

.listing-detail__summary .listing-facts li:last-child {
  border-right: 0;
}

.listing-detail__summary .listing-facts .bef-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.listing-detail__summary .listing-facts strong {
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.listing-detail__specifications h2,
.listing-detail__summary .listing-contact h2 {
  margin-bottom: 0.8rem;
  font-family: var(--bef-font-sans, sans-serif);
  font-size: 1.1rem;
}

.listing-detail__summary .feature-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-block: 1px solid rgb(20 50 72 / 10%);
}

.listing-detail__summary .feature-table > div {
  display: grid;
  grid-template-columns: minmax(118px, 0.85fr) minmax(0, 1.15fr);
  gap: 0.8rem;
  padding: 0.48rem 0.6rem;
  border-bottom: 1px solid rgb(20 50 72 / 8%);
  font-size: 0.83rem;
  line-height: 1.35;
}

.listing-detail__summary .feature-table > div:nth-child(even) {
  background: #f6f8f6;
}

.listing-detail__summary .feature-table > div:last-child {
  border-bottom: 0;
}

.listing-detail__summary .feature-table dt {
  color: #52626e;
}

.listing-detail__summary .feature-table dd {
  overflow-wrap: anywhere;
  color: #12283a;
  font-weight: 750;
  text-align: left;
}

.listing-detail__summary .listing-contact {
  position: static;
  padding: 1.35rem;
  border: 0;
  border-top: 1px solid rgb(20 50 72 / 9%);
  border-radius: 0;
  box-shadow: none;
}

.listing-contact__profiles {
  display: grid;
  gap: 0.65rem;
  margin-block: 0.9rem 1rem;
}

.listing-profile-card {
  align-items: center;
  background: linear-gradient(145deg, #f8faf8, #fff);
  border: 1px solid rgb(31 49 38 / 13%);
  border-radius: 15px;
  color: #173246;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  padding: 0.7rem;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.listing-profile-card:hover,
.listing-profile-card:focus-visible {
  border-color: var(--bef-color-sage, #3f664d);
  box-shadow: 0 10px 28px rgb(31 49 38 / 12%);
  transform: translateY(-2px);
}

.listing-profile-card__media {
  align-items: center;
  background: #eaf1eb;
  border-radius: 13px;
  color: var(--bef-color-sage, #3f664d);
  display: flex;
  height: 3.5rem;
  justify-content: center;
  overflow: hidden;
  width: 3.5rem;
}

.listing-profile-card__media .bef-icon {
  height: 1.45rem;
  width: 1.45rem;
}

.listing-profile-card__image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.listing-profile-card__body,
.listing-profile-card__body small,
.listing-profile-card__body strong,
.listing-profile-card__body span,
.listing-profile-card__body em {
  display: block;
}

.listing-profile-card__body small {
  color: #64746b;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.listing-profile-card__body strong {
  font-size: 0.94rem;
  margin-top: 0.08rem;
}

.listing-profile-card__body span {
  color: #60706a;
  font-size: 0.76rem;
  margin-top: 0.12rem;
}

.listing-profile-card__body em {
  color: var(--bef-color-sage, #3f664d);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
  margin-top: 0.3rem;
}

.listing-contact__form {
  margin-top: 0.85rem;
  border: 1px solid rgb(63 102 77 / 18%);
  border-radius: 12px;
  background: #f8faf8;
}

.listing-contact__form summary {
  padding: 0.8rem 0.9rem;
  color: var(--bef-color-sage, #3f664d);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
}

.listing-contact__form summary:focus-visible {
  outline: 3px solid rgb(63 102 77 / 28%);
  outline-offset: 2px;
}

.listing-contact__form-body {
  padding: 0 0.9rem 0.9rem;
}

.listing-contact__form-body .bef-emlak-contact {
  margin: 0;
}

.listing-detail__content {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 5vw, 4.5rem);
}

.listing-detail__content .listing-section {
  background: #fff;
  border: 1px solid rgb(31 49 38 / 11%);
  border-radius: clamp(18px, 3vw, 26px);
  box-shadow: 0 16px 48px rgb(31 49 38 / 7%);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  width: 100%;
}

.listing-detail__content .listing-section > h2 {
  max-width: 24ch;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.listing-detail__content .listing-section__intro {
  max-width: 64ch;
  color: #61706a;
}

.listing-feature-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.listing-feature-group {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(31 49 38 / 11%);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 34px rgb(31 49 38 / 6%);
}

.listing-feature-group h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  margin: 0;
  border-bottom: 1px solid rgb(31 49 38 / 9%);
  background: linear-gradient(140deg, #edf4ee, #f9f7f2);
  font-family: var(--bef-font-sans, sans-serif);
  font-size: 1rem;
}

.listing-feature-group h3 > span {
  display: inline-grid;
  min-width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--bef-color-sage, #3f664d);
  font-size: 0.75rem;
}

.listing-feature-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  padding: 1rem;
  margin: 0;
  list-style: none;
}

.listing-feature-group li {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 0.45rem;
  color: #344b3d;
  font-size: 0.88rem;
}

.listing-feature-group li .bef-icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.12rem;
  color: var(--bef-color-sage, #3f664d);
}

.listing-feature-group li span {
  overflow-wrap: anywhere;
}

.listing-section--location .privacy-note {
  max-width: 720px;
}

.listing-section--location .bef-map,
.listing-section--location .map-fallback {
  margin-top: 1.25rem;
  width: 100%;
}

.bef-listing-contact-actions-v2 {
  display: grid;
  gap: 0.7rem;
  margin-block: 1rem;
}

.bef-listing-contact-actions-v2__button {
  align-items: center;
  border: 1px solid rgb(31 49 38 / 12%);
  border-radius: 14px;
  display: flex;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  text-decoration: none;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.bef-listing-contact-actions-v2__button:hover,
.bef-listing-contact-actions-v2__button:focus-visible {
  box-shadow: 0 10px 30px rgb(31 49 38 / 14%);
  transform: translateY(-2px);
}

.bef-listing-contact-actions-v2__button svg {
  flex: 0 0 1.35rem;
  height: 1.35rem;
  width: 1.35rem;
}

.bef-listing-contact-actions-v2__button span,
.bef-listing-contact-actions-v2__button small,
.bef-listing-contact-actions-v2__button strong {
  display: block;
}

.bef-listing-contact-actions-v2__button small {
  font-size: 0.75rem;
  opacity: 0.75;
}

.bef-listing-contact-actions-v2__button--phone {
  background: #fff;
  color: var(--bef-color-sage, #3f664d);
}

.bef-listing-contact-actions-v2__button--whatsapp {
  background: #1f9d58;
  color: #fff;
}

.listing-contact .bef-favorite-action {
  display: block;
  margin-block: 0.75rem;
  width: 100%;
}

.listing-contact .bef-favorite-action.button,
.listing-contact .bef-favorite-action .button,
.listing-contact .bef-favorite-action button,
.listing-contact a.bef-favorite-action {
  align-items: center;
  appearance: none;
  background: linear-gradient(145deg, #fff, #f7f4ee);
  border: 1px solid color-mix(in srgb, var(--bef-color-sage, #3f664d) 42%, transparent);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgb(31 49 38 / 8%);
  color: var(--bef-color-sage, #3f664d);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  text-align: center;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
  width: 100%;
}

.listing-contact .bef-favorite-action.button:hover,
.listing-contact .bef-favorite-action.button:focus-visible,
.listing-contact .bef-favorite-action .button:hover,
.listing-contact .bef-favorite-action .button:focus-visible,
.listing-contact .bef-favorite-action button:hover,
.listing-contact .bef-favorite-action button:focus-visible,
.listing-contact a.bef-favorite-action:hover,
.listing-contact a.bef-favorite-action:focus-visible {
  background: var(--bef-color-sage, #3f664d);
  border-color: var(--bef-color-sage, #3f664d);
  box-shadow: 0 12px 30px rgb(31 49 38 / 18%);
  color: #fff;
  transform: translateY(-1px);
}

/* The comparison action lives in the card footer, away from the favorite heart. */
.listing-card__utility-footer {
  align-items: center;
  border-top: 1px solid color-mix(in srgb, var(--bef-color-sage, #3f664d) 13%, transparent);
  display: flex;
  justify-content: flex-end;
  margin-top: 0.8rem;
  min-height: 3.25rem;
  padding-top: 0.72rem;
}

.listing-card__utility-footer .bef-compare-toggle--card {
  align-items: center;
  background: linear-gradient(145deg, #f8fbf8, #edf4ef);
  border: 1px solid color-mix(in srgb, var(--bef-color-sage, #3f664d) 28%, transparent);
  border-radius: 0.8rem;
  box-shadow: 0 6px 18px rgb(22 57 37 / 10%);
  color: var(--bef-color-sage-dark, #294b36);
  display: inline-grid;
  height: 2.75rem;
  isolation: isolate;
  justify-content: center;
  margin: 0;
  min-height: 2.75rem;
  min-width: 2.75rem;
  overflow: visible;
  padding: 0;
  position: relative;
  width: 2.75rem;
}

.listing-card__utility-footer .bef-compare-toggle--card::after {
  background: var(--bef-color-night, #0b2038);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 0.55rem;
  bottom: calc(100% + 0.55rem);
  box-shadow: 0 10px 28px rgb(4 23 39 / 24%);
  color: #fff;
  content: attr(aria-label);
  font-size: 0.72rem;
  font-weight: 750;
  inset-inline-end: 0;
  line-height: 1.35;
  max-width: min(13rem, calc(100vw - 2rem));
  opacity: 0;
  padding: 0.45rem 0.58rem;
  pointer-events: none;
  position: absolute;
  text-align: start;
  transform: translateY(0.25rem);
  transition:
    opacity 150ms ease,
    transform 150ms ease,
    visibility 150ms ease;
  visibility: hidden;
  white-space: normal;
  width: max-content;
  z-index: 6;
}

.listing-card__utility-footer .bef-compare-toggle--card:hover,
.listing-card__utility-footer .bef-compare-toggle--card:focus-visible {
  background: #f4faf5;
  border-color: color-mix(in srgb, var(--bef-color-sage, #3f664d) 58%, transparent);
  box-shadow: 0 9px 24px rgb(22 57 37 / 16%);
  color: var(--bef-color-sage-dark, #294b36);
  transform: translateY(-1px);
}

.listing-card__utility-footer .bef-compare-toggle--card:hover::after,
.listing-card__utility-footer .bef-compare-toggle--card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.listing-card__utility-footer .bef-compare-toggle--card.is-selected,
.listing-card__utility-footer .bef-compare-toggle--card[aria-pressed="true"] {
  background: linear-gradient(
    145deg,
    var(--bef-color-sage, #3f664d),
    var(--bef-color-sage-dark, #294b36)
  );
  border-color: var(--bef-color-sage-dark, #294b36);
  box-shadow: 0 9px 24px rgb(22 57 37 / 22%);
  color: #fff;
}

.listing-card__utility-footer .bef-compare-toggle__icon,
.listing-card__utility-footer .bef-compare-toggle__icon .bef-icon,
.listing-card__utility-footer .bef-compare-toggle__icon i {
  color: currentcolor;
  fill: currentcolor;
  height: 1.08rem;
  width: 1.08rem;
}

/* Premium, wide comparison shell. The table alone owns horizontal overflow. */
.bef-compare-page {
  max-width: none;
  min-width: 0;
  padding-block: clamp(1.2rem, 3vw, 2.5rem) clamp(3.5rem, 7vw, 6.5rem);
  width: min(100% - 2rem, 96rem);
}

.bef-compare-page__article,
.bef-compare-page__content,
.bef-compare-page__content > * {
  max-width: none;
  min-width: 0;
  width: 100%;
}

.bef-compare-page__header {
  align-items: end;
  background:
    radial-gradient(circle at 88% 4%, rgb(184 105 66 / 30%), transparent 29%),
    radial-gradient(circle at 12% 120%, rgb(75 127 91 / 42%), transparent 34%),
    linear-gradient(132deg, #071c32, #113b58 62%, #28523a);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 24px 70px rgb(7 27 49 / 20%);
  color: #fff;
  display: grid;
  gap: clamp(1.25rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) auto;
  isolation: isolate;
  margin-block: clamp(1.15rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.4rem);
  overflow: hidden;
  padding: clamp(1.25rem, 3.5vw, 3.1rem);
  position: relative;
  width: 100%;
}

.bef-compare-page__header::after {
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
  content: "";
  height: clamp(9rem, 22vw, 18rem);
  inset-block-start: -55%;
  inset-inline-end: -3%;
  pointer-events: none;
  position: absolute;
  width: clamp(9rem, 22vw, 18rem);
  z-index: -1;
}

.bef-compare-page__heading {
  align-items: start;
  display: grid;
  gap: clamp(0.8rem, 2.5vw, 1.25rem);
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
}

.bef-compare-page__mark {
  align-items: center;
  background: rgb(255 255 255 / 11%);
  border: 1px solid rgb(255 255 255 / 21%);
  border-radius: 1rem;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%);
  color: #e4b07c;
  display: inline-grid;
  height: clamp(2.8rem, 5vw, 3.7rem);
  justify-content: center;
  width: clamp(2.8rem, 5vw, 3.7rem);
}

.bef-compare-page__mark .bef-icon,
.bef-compare-page__mark i {
  color: inherit;
  fill: currentcolor;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  height: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1;
  width: clamp(1.15rem, 2.2vw, 1.45rem);
}

.bef-compare-page__header-copy {
  min-width: 0;
}

.bef-compare-page__header .eyebrow,
.bef-compare-page__title,
.bef-compare-page__intro {
  margin: 0;
}

.bef-compare-page__header .eyebrow {
  color: #e7bf94;
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.bef-compare-page__title {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 17ch;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.bef-compare-page__intro {
  color: rgb(255 255 255 / 76%);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.55;
  margin-top: 0.85rem;
  max-width: 62ch;
}

.bef-compare-page__back {
  align-items: center;
  align-self: end;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.5rem;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
  white-space: nowrap;
}

.bef-compare-page__back:hover,
.bef-compare-page__back:focus-visible {
  background: rgb(255 255 255 / 17%);
  border-color: rgb(255 255 255 / 42%);
  color: #fff;
  transform: translateY(-1px);
}

.bef-compare-page__back-icon,
.bef-compare-page__back-icon .bef-icon,
.bef-compare-page__back-icon i {
  align-items: center;
  display: inline-flex;
  height: 0.95rem;
  justify-content: center;
  width: 0.95rem;
}

.bef-compare-page__back-icon .bef-icon,
.bef-compare-page__back-icon i {
  color: inherit;
  fill: currentcolor;
  font-size: 0.95rem;
  line-height: 1;
  transform: rotate(180deg);
}

.bef-compare-page__content {
  min-width: 0;
}

.bef-compare-page__content > .bef-notice {
  background: linear-gradient(145deg, #fff, #f4f7f3);
  border: 1px solid color-mix(in srgb, var(--bef-color-sage, #3f664d) 19%, transparent);
  border-radius: 1.15rem;
  box-shadow: 0 14px 42px rgb(17 46 29 / 9%);
  color: var(--bef-color-night, #0b2038);
  padding: clamp(1rem, 3vw, 1.5rem);
}

.bef-compare-page .bef-compare-scroll {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--bef-color-sage, #3f664d) 20%, transparent);
  border-radius: clamp(1.05rem, 2.5vw, 1.65rem);
  box-shadow: 0 22px 64px rgb(13 40 24 / 12%);
  margin-block: 0;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--bef-color-sage, #3f664d) #e8eee9;
  scrollbar-width: thin;
  scroll-padding-inline: 1rem;
  width: 100%;
}

.bef-compare-page .bef-compare-scroll:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--bef-color-sage, #3f664d) 52%, transparent);
  outline-offset: 4px;
}

.bef-compare-page .bef-compare-scroll::-webkit-scrollbar {
  height: 0.65rem;
}

.bef-compare-page .bef-compare-scroll::-webkit-scrollbar-track {
  background: #e8eee9;
}

.bef-compare-page .bef-compare-scroll::-webkit-scrollbar-thumb {
  background: var(--bef-color-sage, #3f664d);
  border: 2px solid #e8eee9;
  border-radius: 999px;
}

.bef-compare-page .bef-compare-scroll:has(.bef-compare-table--2) {
  margin-inline: auto;
  width: min(100%, 78rem);
}

.bef-compare-page .bef-compare-scroll:has(.bef-compare-table--3) {
  margin-inline: auto;
  width: min(100%, 90rem);
}

.bef-compare-page .bef-compare-table {
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  margin-inline: auto;
  table-layout: fixed;
  width: 100%;
}

.bef-compare-page .bef-compare-table--2 {
  min-width: 54rem;
  width: min(100%, 78rem);
}

.bef-compare-page .bef-compare-table--3 {
  min-width: 72rem;
  width: min(100%, 90rem);
}

.bef-compare-page .bef-compare-table--4 {
  min-width: 88rem;
  width: 100%;
}

.bef-compare-page .bef-compare-table__label-column {
  width: 12.5rem;
}

.bef-compare-page .bef-compare-table th,
.bef-compare-page .bef-compare-table td {
  border-bottom: 1px solid rgb(35 73 49 / 10%);
  border-left: 1px solid rgb(35 73 49 / 9%);
  padding: clamp(0.82rem, 1.6vw, 1.15rem);
}

.bef-compare-page .bef-compare-table thead th {
  background: linear-gradient(180deg, #f6f8f5, #edf3ee);
  padding: clamp(0.72rem, 1.4vw, 1rem);
}

.bef-compare-page .bef-compare-table thead th:first-child,
.bef-compare-page .bef-compare-table tbody th {
  background: linear-gradient(90deg, #f7faf7, #f1f5f1);
  box-shadow:
    1px 0 0 rgb(35 73 49 / 10%),
    8px 0 20px rgb(19 49 31 / 4%);
}

.bef-compare-page .bef-compare-table thead th:first-child {
  background: linear-gradient(145deg, #e6eee8, #f1f5f1);
}

.bef-compare-page .bef-compare-table tbody tr:nth-child(even) > td {
  background: #fcfbf8;
}

.bef-compare-page .bef-compare-table tbody tr:hover > * {
  background: #f3f8f4;
}

.bef-compare-page .bef-compare-table tbody td {
  color: #33433a;
  font-size: 0.92rem;
  line-height: 1.55;
}

.bef-compare-page .bef-compare-row-label {
  color: #253e2e;
  font-size: 0.83rem;
  gap: 0.55rem;
}

.bef-compare-page .bef-compare-icon {
  color: var(--bef-color-sage, #3f664d);
  flex: 0 0 1.08rem;
  height: 1.08rem;
  width: 1.08rem;
}

.bef-compare-page .bef-compare-property {
  gap: 0.72rem;
  min-width: 0;
}

.bef-compare-page .bef-compare-property__media {
  aspect-ratio: 16 / 10;
  border: 1px solid rgb(24 58 38 / 11%);
  border-radius: 0.9rem;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 44%);
  max-height: 12.5rem;
  min-height: 7.5rem;
}

.bef-compare-page .bef-compare-table--2 .bef-compare-property__media {
  aspect-ratio: 16 / 9;
}

.bef-compare-page .bef-compare-property__image {
  transition:
    filter 220ms ease,
    transform 320ms ease;
}

.bef-compare-page .bef-compare-property:hover .bef-compare-property__image,
.bef-compare-page .bef-compare-property:focus-visible .bef-compare-property__image {
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.025);
}

.bef-compare-page .bef-compare-property__title {
  color: var(--bef-color-night, #0b2038);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.4;
  -webkit-line-clamp: 2;
}

@media (max-width: 1050px) {
  .listing-detail__hero-grid {
    grid-template-columns: 1fr;
  }

  .listing-detail__summary {
    width: 100%;
  }

  .listing-detail__specifications .feature-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .bef-compare-page__header {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  .bef-compare-page__back {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .bef-listing-showcase-v2 {
    border-radius: 18px;
    margin-inline: -0.35rem;
  }

  .bef-listing-showcase-v2__stage img {
    aspect-ratio: 4 / 3;
  }

  .bef-listing-showcase-v2__controls button {
    height: 2.75rem;
    min-height: 2.75rem;
    min-width: 2.75rem;
    width: 2.75rem;
  }

  .listing-detail__header h1 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .listing-detail__summary {
    border-radius: 17px;
  }

  .listing-detail__commercial .listing-detail__price {
    padding-right: 0;
  }

  .listing-detail__quick-actions {
    justify-content: flex-start;
    margin-top: 0.9rem;
    position: static;
  }

  .listing-detail__commercial,
  .listing-detail__specifications,
  .listing-detail__summary .listing-contact {
    padding: 1rem;
  }

  .listing-detail__specifications .feature-table,
  .listing-feature-groups,
  .listing-feature-group ul {
    grid-template-columns: 1fr;
  }

  .listing-detail__summary .feature-table > div {
    grid-template-columns: minmax(105px, 0.8fr) minmax(0, 1.2fr);
    padding-inline: 0.45rem;
  }

  .listing-detail__summary .listing-facts li {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .listing-detail__summary .listing-facts .bef-icon {
    grid-row: auto;
    margin-bottom: 0.25rem;
  }

  .bef-compare-page {
    padding-block: 0.85rem 4rem;
    width: min(100% - 1rem, 96rem);
  }

  .bef-compare-page__header {
    border-radius: 1.2rem;
    gap: 1rem;
    margin-block: 0.9rem 1.1rem;
    padding: 1.1rem;
  }

  .bef-compare-page__heading {
    gap: 0.72rem;
  }

  .bef-compare-page__mark {
    border-radius: 0.78rem;
    height: 2.65rem;
    width: 2.65rem;
  }

  .bef-compare-page__title {
    font-size: clamp(1.75rem, 9vw, 2.55rem);
  }

  .bef-compare-page__intro {
    font-size: 0.86rem;
    margin-top: 0.62rem;
  }

  .bef-compare-page__back {
    justify-self: stretch;
  }

  .bef-compare-page .bef-compare-scroll {
    border-radius: 1rem;
  }

  .bef-compare-page .bef-compare-table--2 {
    min-width: 38rem;
  }

  .bef-compare-page .bef-compare-table--3 {
    min-width: 52rem;
  }

  .bef-compare-page .bef-compare-table--4 {
    min-width: 66rem;
  }

  .bef-compare-page .bef-compare-table__label-column {
    width: 8.5rem;
  }

  .bef-compare-page .bef-compare-table__listing-column {
    width: 14.5rem;
  }

  .bef-compare-page .bef-compare-table th,
  .bef-compare-page .bef-compare-table td,
  .bef-compare-page .bef-compare-table thead th {
    padding: 0.7rem;
  }

  .bef-compare-page .bef-compare-row-label {
    font-size: 0.74rem;
    gap: 0.35rem;
  }

  .bef-compare-page .bef-compare-property__media,
  .bef-compare-page .bef-compare-table--2 .bef-compare-property__media {
    aspect-ratio: 4 / 3;
    min-height: 6rem;
  }

  .bef-compare-page .bef-compare-property__title {
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bef-listing-showcase-v2 *,
  .bef-listing-contact-actions-v2__button,
  .listing-card__utility-footer .bef-compare-toggle--card,
  .listing-card__utility-footer .bef-compare-toggle--card::after,
  .bef-compare-page__back,
  .bef-compare-page .bef-compare-property__image {
    animation: none !important;
    transition: none !important;
  }
}
