/* drop:tpl:realman_listings@1 */
.gallery__item{
  position: relative;
}
.gallery__grid{
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.gallery__item{
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery__item img{
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: scale 600ms var(--ease-out-expo);
}
.gallery__item:hover img{
  scale: 1.04;
}
.ech-detail-hero{
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 62rem);
  display: flex;
  align-items: flex-end;
  padding-block: 7rem var(--space-10);
  background: var(--color-surface-inverse);
  overflow: hidden;
}
.ech-detail-hero__img{
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ech-detail-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(15 16 19 / 0.5) 0%, rgb(15 16 19 / 0) 22%, rgb(15 16 19 / 0) 60%, rgb(15 16 19 / 0.45) 100%);
}
.ech-factcard{
  width: min(100%, 30rem);
  padding: var(--space-6) var(--space-6) var(--space-5);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
}
.ech-factcard__top{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
}
.ech-factcard h1{
  margin: var(--space-2) 0 var(--space-1);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-tight);
}
.ech-factcard__place{ margin: 0; color: var(--color-text-muted); font-size: var(--text-sm); }
.ech-factcard__price{
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  white-space: nowrap;
}
.ech-factcard__figures{
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  margin: var(--space-5) 0 0;
  padding-block-start: var(--space-4);
  border-block-start: var(--border-width) solid var(--color-border);
}
.ech-factcard__figures div{ display: grid; }
.ech-factcard__figures dt{ font-size: var(--text-xs); color: var(--color-text-muted); }
.ech-factcard__figures dd{ margin: 0; font-family: var(--font-heading); font-weight: 600; }
.ech-detail-hero__all{
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 0;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--motion-duration) var(--motion-easing);
}
.ech-detail-hero__all:hover{ background: var(--color-primary-100); }
.ech-back{
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--motion-duration) var(--motion-easing);
}
.ech-back:hover{ color: var(--color-text); }
.ech-gallery .gallery__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (min-width: 48rem){.ech-gallery .gallery__grid{ grid-template-columns: repeat(4, 1fr); }}
.ech-gallery .gallery__item{
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--color-surface-alt);
  cursor: zoom-in;
}
.ech-gallery .gallery__item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1s var(--ease-out-quart);
}
.ech-gallery .gallery__item:hover img{ scale: 1.04; }
.ech-gallery .gallery__item[data-more]::after{
  content: attr(data-more);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: #ffffff;
  background: color-mix(in srgb, var(--color-secondary) 55%, transparent);
  transition: background-color var(--motion-duration) var(--motion-easing);
}
.ech-gallery .gallery__item[data-more]:hover::after{ background: color-mix(in srgb, var(--color-secondary) 70%, transparent); }
.ech-gallery .gallery__item.is-extra{ display: none; }
.ech-detail__grid{
  display: grid;
  gap: var(--space-12);
}
@media (min-width: 64rem){.ech-detail__grid{ grid-template-columns: 7fr 5fr; gap: clamp(3rem, 2rem + 4vw, 6rem); }}
@media (min-width: 64rem){.ech-detail__aside{ position: sticky; top: 6.5rem; align-self: start; }}
.ech-detail__title{
  margin: 0 0 var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: var(--tracking-tight);
}
.ech-params__more[hidden]{ display: none; }
.ech-params__toggle{
  margin-block-start: var(--space-4);
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
  cursor: pointer;
  transition: color var(--motion-duration) var(--motion-easing);
}
.ech-params__toggle:hover{ color: var(--color-primary-700); }
.ech-energy{
  display: inline-grid;
  place-items: center;
  min-width: 1.9rem;
  height: 1.6rem;
  padding-inline: 0.4rem;
  margin-inline-end: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
  clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%);
  padding-inline-end: 0.7rem;
}
.ech-energy[data-class="A"]{ background: #1c7a3c; }
.ech-energy[data-class="B"]{ background: #3a7d1f; }
.ech-energy[data-class="C"]{ background: #6b6f0e; }
.ech-energy[data-class="D"]{ background: #8a6a00; }
.ech-energy[data-class="E"]{ background: #a24e00; }
.ech-energy[data-class="F"]{ background: #b5390f; }
.ech-energy[data-class="G"]{ background: #b0261b; }
.ech-interest__price{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
}
.ech-interest__price span{ font-size: var(--text-sm); color: var(--color-text-muted); }
.ech-interest__price strong{ font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 600; }
.ech-stickybar{
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  background: var(--color-surface);
  border-block-start: var(--border-width) solid var(--color-border);
  box-shadow: 0 -8px 24px color-mix(in srgb, var(--color-secondary) 8%, transparent);
  translate: 0 110%;
  transition: translate var(--motion-duration-slow) var(--motion-easing);
}
.ech-stickybar__name{ min-width: 0; }
.ech-stickybar__name strong{
  display: block;
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ech-stickybar__name span{ font-size: var(--text-xs); color: var(--color-text-muted); }
.ech-stickybar__end{ display: flex; align-items: center; gap: var(--space-5); flex: none; }
.ech-stickybar__price{ font-family: var(--font-heading); font-weight: 600; white-space: nowrap; }
.ech-stickybar__mprice{ display: none; }
@media (max-width: 40rem){.ech-stickybar__place,.ech-stickybar__price{ display: none; }}
@media (max-width: 40rem){.ech-stickybar__name .ech-stickybar__mprice{
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-700);
  }}
@media (prefers-reduced-motion: reduce){.ech-stickybar{ transition: none; }}
.ech-inquiry__grid{
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 60rem){.ech-inquiry__grid{ grid-template-columns: 4fr 7fr; gap: clamp(3rem, 2rem + 4vw, 7rem); }}
@media (max-width: 47.99rem){.ech-detail-hero{
    display: block;
    min-height: 0;
    padding: 5rem 0 0;
    background: var(--color-surface);
  }}
@media (max-width: 47.99rem){.ech-detail-hero::after{ content: none; }}
@media (max-width: 47.99rem){.ech-detail-hero__img{
    position: relative;
    z-index: auto;
    height: auto;
    aspect-ratio: 4 / 3;
  }}
@media (max-width: 47.99rem){.ech-factcard{ width: 100%; padding: 0; box-shadow: none; }}
@media (max-width: 47.99rem){.ech-detail-hero__all{ background: var(--color-surface-alt); }}
@media (max-width: 47.99rem){.ech-factcard__price{ font-size: var(--text-2xl); }}
.ech-map{
  position: relative;
  isolation: isolate;
  background: var(--color-surface-alt);
}
.ech-map__canvas{
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 22rem;
  background:
    linear-gradient(var(--color-border) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--color-surface-alt);
}
.ech-map__card{
  display: grid;
  gap: var(--space-2);
  padding: var(--space-6);
  background: var(--color-surface);
}
.ech-map__card strong{ font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 600; line-height: 1.25; }
.ech-map__card p{ margin: 0; color: var(--color-text-muted); }
.ech-map__links{ display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin-block-start: var(--space-3) !important; }
@media (min-width: 48rem){.ech-map__card{
    position: absolute;
    z-index: 500;
    inset-block-end: var(--space-6);
    inset-inline-start: var(--space-6);
    width: min(24rem, calc(100% - 2 * var(--space-6)));
    box-shadow: var(--shadow-lg);
  }}
@media (max-width: 47.99rem){.ech-map__canvas{ aspect-ratio: 4 / 3; min-height: 0; }}
@media (min-width: 64rem){.ech-detail__aside{
    position: static;
    align-self: stretch;
  }}
@media (min-width: 64rem){.ech-stickybar{ display: none; }}
.ech-stickybar__call{ gap: var(--space-2); padding-inline: 1.1rem; }
@media (max-width: 40rem){.ech-stickybar__call{ width: 3rem; height: 3rem; padding: 0; justify-content: center; }}
@media (max-width: 40rem){.ech-stickybar__calltext{ display: none; }}
.ech-viewer__bar{
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-6);
  border-block-end: 1px solid rgb(255 255 255 / 0.08);
  background: var(--ech-graphite-deep);
}
.ech-viewer__brand{ display: flex; align-items: center; gap: var(--space-5); min-width: 0; }
.ech-viewer__mark{ display: block; flex: none; line-height: 0; color: var(--color-text-on-inverse); }
.ech-viewer__mark svg{ display: block; width: 116px; height: auto; fill: currentColor; }
.ech-viewer__title{
  display: grid;
  min-width: 0;
  padding-inline-start: var(--space-5);
  border-inline-start: 1px solid rgb(255 255 255 / 0.16);
}
.ech-viewer__title strong{
  overflow: hidden;
  font-family: var(--font-heading);
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ech-viewer__title span{ font-size: var(--text-sm); color: color-mix(in srgb, var(--color-text-on-inverse) 62%, transparent); }
.ech-viewer__meta{ display: flex; flex: none; align-items: center; gap: var(--space-5); }
.ech-viewer__count{
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--color-text-on-inverse) 62%, transparent);
}
.ech-viewer__price{ font-family: var(--font-heading); font-weight: 600; white-space: nowrap; }
.ech-viewer__call{ gap: var(--space-2); }
@media (max-width: 47.99rem){.ech-viewer__bar{ padding-inline-start: var(--space-4); }}
@media (max-width: 47.99rem){.ech-viewer__mark,.ech-viewer__title span,.ech-viewer__price,.ech-viewer__call span,.ech-viewer__meta > .ech-viewer__count{ display: none; }}
@media (max-width: 47.99rem){.ech-viewer__title{ padding-inline-start: 0; border-inline-start: 0; }}
@media (max-width: 47.99rem){.ech-viewer__title strong{ font-size: var(--text-sm); }}
@media (max-width: 47.99rem){.ech-viewer__call{ width: 3rem; height: 3rem; padding: 0; justify-content: center; }}
.ech-detail-hero::after{ pointer-events: none; }
.ech-detail-hero__track{
  position: absolute;
  inset: 0;
  z-index: -2;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  outline: none;
}
.ech-detail-hero__track::-webkit-scrollbar{ display: none; }
.ech-detail-hero__track .ech-detail-hero__img{
  position: relative;
  inset: auto;
  z-index: auto;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  cursor: zoom-in;
}
@media (max-width: 47.99rem){.ech-detail-hero__track{
    position: relative;
    inset: auto;
    z-index: auto;
    aspect-ratio: 4 / 3;
  }}
@media (max-width: 47.99rem){.ech-detail-hero__track .ech-detail-hero__img{ height: 100%; aspect-ratio: auto; }}
@media (hover: hover) and (pointer: fine){.ech-detail-hero__track{ cursor: grab; }}
@media (hover: hover) and (pointer: fine){.ech-detail-hero__track .ech-detail-hero__img{ cursor: inherit; -webkit-user-drag: none; user-select: none; }}
.ech-gallery .gallery__item::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") center / 2.25rem no-repeat,
    color-mix(in srgb, var(--color-secondary) 42%, transparent);
  opacity: 0;
  scale: 1.04;
  transition: opacity var(--motion-duration-slow) var(--motion-easing), scale var(--motion-duration-slow) var(--motion-easing);
  pointer-events: none;
}
.ech-gallery .gallery__item:hover::before,.ech-gallery .gallery__item:focus-visible::before{ opacity: 1; scale: 1; }
.ech-gallery .gallery__item[data-more]::before{ background: color-mix(in srgb, var(--color-secondary) 25%, transparent); }
.ech-gallery .gallery__item[data-more]::after{ z-index: 2; }
@media (prefers-reduced-motion: reduce){.ech-gallery .gallery__item::before{ transition: none; scale: 1; }}
.ech-factcard{
  width: min(100%, 34rem);
  padding: var(--space-5) var(--space-6) var(--space-5);
}
.ech-factcard__top{ align-items: baseline; }
.ech-factcard__price{ font-size: var(--text-xl); text-align: end; }
.ech-factcard h1{
  margin: var(--space-2) 0 0;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  line-height: 1.2;
}
.ech-factcard__place{ margin-block-start: var(--space-1); }
.ech-factcard__foot{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
  margin-block-start: var(--space-5);
  padding-block-start: var(--space-4);
  border-block-start: var(--border-width) solid var(--color-border);
}
.ech-factcard .ech-factcard__figures{
  gap: var(--space-2) var(--space-6);
  margin: 0;
  padding: 0;
  border: 0;
}
.ech-factcard__figures dd{ font-size: var(--text-base); }
.ech-factcard__cta{ flex: none; }
@media (max-width: 47.99rem){.ech-factcard{ padding: 0; }}
@media (max-width: 47.99rem){.ech-factcard__price{ font-size: var(--text-xl); }}
@media (max-width: 47.99rem){.ech-factcard__cta{ width: 100%; justify-content: center; }}
.ech-factcard h1{ font-size: 1.375rem; }
.ech-factcard{ position: relative; overflow: hidden; }
.ech-factcard__toggle{ display: none; }
@media (min-width: 48rem){.ech-factcard.is-folded{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: auto auto;
    column-gap: var(--space-6);
    align-items: center;
    width: min(100%, 32rem);
    padding: var(--space-4) 0 var(--space-4) var(--space-5);
  }}
@media (min-width: 48rem){.ech-factcard.is-folded .ech-factcard__top{ display: contents; }}
@media (min-width: 48rem){.ech-factcard.is-folded h1{
    grid-column: 1; grid-row: 1;
    margin: 0;
    font-size: var(--text-lg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }}
@media (min-width: 48rem){.ech-factcard.is-folded .ech-factcard__place{
    grid-column: 1; grid-row: 2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }}
@media (min-width: 48rem){.ech-factcard.is-folded .ech-factcard__price{ grid-column: 2; grid-row: 1 / 3; font-size: var(--text-lg); white-space: nowrap; }}
@media (min-width: 48rem){.ech-factcard.is-folded .ech-factcard__toggle{
    grid-column: 3; grid-row: 1 / 3;
    align-self: stretch;
    display: grid;
    place-items: center;
    width: 3.25rem;
    margin-block: calc(-1 * var(--space-4));
    padding: 0;
    border: 0;
    border-inline-start: var(--border-width) solid var(--color-border);
    background: var(--color-surface-alt);
    color: var(--color-text);
    cursor: pointer;
    transition: background-color var(--motion-duration) var(--motion-easing);
  }}
@media (min-width: 48rem){.ech-factcard.is-folded .ech-factcard__toggle:hover{ background: var(--color-primary-100); }}
@media (min-width: 48rem){.ech-factcard.is-folded{ width: max-content; max-width: min(100%, 44rem); }}
.ech-detail-hero__track{
  overflow: hidden;
  scroll-snap-type: none;
  touch-action: pan-y;
  user-select: none;
}
.ech-detail-hero__list{
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
}
.ech-detail-hero__list .ech-detail-hero__img{
  position: relative;
  inset: auto;
  z-index: auto;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  pointer-events: none;
}
.ech-detail-hero__track{ cursor: zoom-in; }
@media (hover: hover) and (pointer: fine){.ech-detail-hero__track{ cursor: grab; }}
.ech-detail-hero:has(.ech-detail-hero__img:only-child) [data-ech-open-gallery]{ display: none; }
.ech-gallery:has(.gallery__item:only-child){ display: none; }
.ech-detail-hero:not(:has(.ech-detail-hero__img)){ min-height: 0; padding-block-start: 8rem; }
.ech-detail-hero:not(:has(.ech-detail-hero__img))::after{ display: none; }
.ech-detail-hero:not(:has(.ech-detail-hero__img)) .ech-detail-hero__track,.ech-detail-hero:not(:has(.ech-detail-hero__img)) [data-ech-open-gallery]{ display: none; }
.ech-gallery:not(:has(.gallery__item)){ display: none; }
.ech-map__canvas:has(.ech-map__pin){ position: relative; }
.ech-play,.ech-detail-hero__play{
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  translate: -50% -50%;
  color: var(--color-text);
  background: rgb(255 255 255 / 0.92);
  box-shadow: 0 0.5rem 2rem rgb(0 0 0 / 0.25);
  pointer-events: none;
  transition: scale var(--motion-duration) var(--motion-easing), opacity var(--motion-duration) var(--motion-easing);
}
.ech-play{ width: 3.5rem; height: 3.5rem; }
.ech-detail-hero__play{ opacity: 0; scale: 0.9; }
.ech-detail-hero__track.is-video:not(.is-dragging) .ech-detail-hero__play{ opacity: 1; scale: 1; }
.ech-detail-hero__track.is-video{ cursor: pointer; }
.ech-gallery .ech-gallery__video::before{ background: color-mix(in srgb, var(--color-secondary) 18%, transparent); }
.ech-gallery .ech-gallery__video:hover .ech-play{ scale: 1.08; }
@media (prefers-reduced-motion: reduce){.ech-play,.ech-detail-hero__play{ transition: none; }}
.ech-plans{ margin-block-end: var(--space-10); }
.ech-plans .gallery__grid{ display: block; margin-block-start: var(--space-3); }
.ech-plans .gallery__item.is-extra{ display: none; }
.ech-plans__main{
  position: relative;
  display: block;
  width: 100%;
  padding: var(--space-3);
  border: var(--border-width) solid var(--color-border);
  background: var(--color-surface);
  cursor: zoom-in;
  transition: border-color var(--motion-duration) var(--motion-easing);
}
.ech-plans__main:hover{ border-color: var(--color-primary); }
.ech-plans__main:focus-visible{ outline: 2px solid var(--color-primary); outline-offset: 2px; }
.ech-plans__main img{ display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.ech-plans__count{
  position: absolute;
  inset-inline-end: var(--space-3);
  inset-block-start: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 0.75rem;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #ffffff;
  background: color-mix(in srgb, var(--color-secondary) 82%, transparent);
}
.ech-disclaimer{
  max-width: 60rem;
  margin: var(--space-12) auto 0;
  text-align: center;
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--color-text-muted);
}
@media (max-width: 47.99rem){.ech-detail-hero .ech-detail-hero__all{ flex: 1 1 auto; justify-content: center; padding-inline: 0.625rem; white-space: nowrap; }}

/* Realman: the price note under the price in the interest box (price_note). */
.ech-interest__price small{display:block;margin-block-start:var(--space-1, .25rem);font-size:.85em;font-weight:400;color:var(--color-text-muted)}

