/* Lakáskereső – a színek, a betűtípus és a sarkok Elementorból (widget → Stílus) vagy CSS-változókkal felülírhatók */
.lk-app {
  --lk-font: "LK Manrope", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lk-accent: #8dc63f;
  --lk-dark: #00653a;
  --lk-text: #1f2a22;
  --lk-muted: #66706a;
  --lk-line: #e2e7df;
  --lk-bg: #ffffff;
  --lk-soft: #f4f7f1;
  --lk-free: #8dc63f;
  --lk-reserved: #f0a500;
  --lk-sold: #D9534F;
  --lk-radius: 0px;
  --lk-ease: cubic-bezier(.22, .61, .36, 1);
  --lk-sticky-top: 24px;
  font-family: var(--lk-font);
  color: var(--lk-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.lk-app *, .lk-app *::before, .lk-app *::after { box-sizing: border-box; }
.lk-app [hidden] { display: none; }
.lk-app :is(h1, h2, h3, button, input, select, table) { font-family: inherit; }
.lk-ico { flex: none; width: 20px; height: 20px; }
.lk-note { padding: 12px 16px; background: #fff8e5; border-left: 4px solid #f0a500; }

/* ---------- Animációk ---------- */
@keyframes lk-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lk-pop { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes lk-rise { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lk-sweep { 0%, 100% { fill: transparent; } 40% { fill: color-mix(in srgb, var(--lk-accent) 45%, transparent); } }
@keyframes lk-slide-l { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes lk-slide-r { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }

.lk-view:not([hidden]) { animation: lk-fade-up .5s var(--lk-ease) both; }
.lk-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--lk-ease), transform .6s var(--lk-ease); }
.lk-reveal.is-in, .lk-noanim .lk-reveal { opacity: 1; transform: none; }

/* ---------- Gombok, linkek ---------- */
.lk-app .lk-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 12px 20px; border: 1.5px solid var(--lk-dark); border-radius: var(--lk-radius);
  background: var(--lk-dark); color: #fff; font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color .3s var(--lk-ease), border-color .3s var(--lk-ease);
}
.lk-app .lk-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lk-accent);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--lk-ease);
}
.lk-app .lk-btn:hover, .lk-app .lk-btn:focus-visible { color: #14210c; border-color: var(--lk-accent); }
.lk-app .lk-btn:hover::before, .lk-app .lk-btn:focus-visible::before { transform: scaleX(1); }
.lk-app .lk-btn .lk-ico { transition: transform .3s var(--lk-ease); }
.lk-app .lk-btn:hover .lk-ico { transform: translateX(2px); }
.lk-app .lk-btn--ghost { background: transparent; color: var(--lk-dark); }
.lk-app .lk-btn--small { min-height: 40px; padding: 8px 14px; font-size: 15px; }
.lk-app .lk-link { display: inline-flex; align-items: center; gap: 8px; color: var(--lk-dark); font-weight: 600; text-decoration: none; }
.lk-app .lk-link .lk-ico { transition: transform .3s var(--lk-ease); }
.lk-app .lk-link:hover .lk-ico { transform: translateX(-4px); }
.lk-app .lk-link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--lk-ease); }
.lk-app .lk-link:hover span { background-size: 100% 1.5px; }

.lk-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lk-actions > .lk-btn { flex: 1 1 auto; padding-inline: 14px; font-size: 15px; }
@media (min-width: 1000px) { .lk-actions { flex-wrap: nowrap; } }

/* ---------- Színpad: kép + SVG réteg ---------- */
.admin-bar .lk-app { --lk-sticky-top: 56px; }
.lk-stage { position: relative; display: block; width: 100%; overflow: hidden; border-radius: var(--lk-radius); background: var(--lk-soft); }
.lk-stage__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lk-stage__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lk-area { cursor: pointer; outline: none; }
.lk-area polygon { fill: transparent; stroke: transparent; stroke-width: 2; transition: fill .25s var(--lk-ease), stroke .25s var(--lk-ease); }
.lk-area--floor:hover polygon, .lk-area--floor.is-active polygon, .lk-area--floor:focus-visible polygon {
  fill: color-mix(in srgb, var(--lk-accent) 55%, transparent); stroke: #fff; stroke-width: 2;
}
.lk-stage.is-intro .lk-area--floor polygon { animation: lk-sweep 1.2s var(--lk-ease) both; animation-delay: calc(var(--i, 0) * 110ms + 300ms); }

.lk-area--unit polygon { stroke: transparent; }
.lk-area polygon.lk-area__kint { opacity: .5; } /* terasz, erkély, kert: a lakás színe halványabban */
.lk-area--szabad polygon { fill: color-mix(in srgb, var(--lk-free) 14%, transparent); }
.lk-area--foglalt polygon { fill: color-mix(in srgb, var(--lk-reserved) 32%, transparent); }
.lk-area--elkelt polygon { fill: color-mix(in srgb, var(--lk-sold) 50%, transparent); }
.lk-area--unit:hover polygon, .lk-area--unit.is-active polygon, .lk-area--unit:focus-visible polygon { stroke-width: 3; }
.lk-area--szabad:hover polygon, .lk-area--szabad.is-active polygon, .lk-area--szabad:focus-visible polygon { fill: color-mix(in srgb, var(--lk-free) 55%, transparent); stroke: var(--lk-dark); }
.lk-area--foglalt:hover polygon, .lk-area--foglalt.is-active polygon, .lk-area--foglalt:focus-visible polygon { fill: color-mix(in srgb, var(--lk-reserved) 55%, transparent); stroke: var(--lk-reserved); }
.lk-area--elkelt:hover polygon, .lk-area--elkelt.is-active polygon, .lk-area--elkelt:focus-visible polygon { fill: color-mix(in srgb, var(--lk-sold) 70%, transparent); stroke: var(--lk-sold); }

.lk-label {
  position: absolute; transform: translate(-50%, -50%); pointer-events: none;
  padding: 3px 8px; background: #fff; color: var(--lk-dark);
  font-weight: 700; font-size: 14px; line-height: 1.3; letter-spacing: .02em; box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  animation: lk-pop .45s var(--lk-ease) both; animation-delay: calc(var(--i, 0) * 45ms + 150ms);
}
.lk-label--elkelt { color: var(--lk-sold); text-decoration: line-through; }
.lk-label--foglalt { color: #8a5d00; }

/* ---------- Tooltip ---------- */
.lk-tip {
  position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 16px)); pointer-events: none;
  min-width: 170px; max-width: 280px; padding: 11px 16px;
  background: var(--lk-dark); color: #fff; text-align: left; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  border-left: 4px solid var(--lk-accent); animation: lk-fade .18s ease both;
}
.lk-tip::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -8px; border: 8px solid transparent; border-bottom: 0; border-top-color: var(--lk-dark); }
.lk-tip--below { transform: translate(-50%, 16px); }
.lk-tip--below::after { top: -8px; bottom: auto; border: 8px solid transparent; border-top: 0; border-bottom-color: var(--lk-dark); }
.lk-tip strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; }
.lk-tip span { display: block; margin-top: 2px; font-size: 14px; opacity: .85; }
.lk-tip em { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-style: normal; color: var(--lk-accent); }
.lk-app.is-touch .lk-tip { pointer-events: auto; cursor: pointer; }

.lk-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; color: var(--lk-muted); font-size: 15px; text-align: center; }
.lk-hint .lk-ico { color: var(--lk-dark); }

/* Áttekintő alatti szintválasztó */
.lk-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.lk-picker__group { border-top: 3px solid var(--lk-dark); padding-top: 12px; }
.lk-picker__label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--lk-dark); font-size: 18px; font-weight: 700; }
.lk-picker__floors { display: grid; }
.lk-app .lk-chip {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px;
  padding: 12px 4px; border-bottom: 1px solid var(--lk-line); color: var(--lk-text); text-decoration: none; font-weight: 600;
  transition: padding .3s var(--lk-ease), background .3s var(--lk-ease), color .3s;
}
.lk-chip__count { color: var(--lk-muted); font-size: 14px; font-weight: 500; }
.lk-chip__arrow { color: var(--lk-dark); transition: transform .3s var(--lk-ease); }
.lk-app .lk-chip:hover, .lk-app .lk-chip:focus-visible { padding-inline: 12px; background: var(--lk-soft); color: var(--lk-dark); }
.lk-chip:hover .lk-chip__arrow { transform: translateX(4px); }

/* ---------- Nézetek (lapozható áttekintő) ---------- */
.lk-views { position: relative; }
.lk-views__track { position: relative; }
.lk-slide--from-r { animation: lk-slide-l .55s var(--lk-ease) both; }
.lk-slide--from-l { animation: lk-slide-r .55s var(--lk-ease) both; }
.lk-app .lk-views__nav {
  position: absolute; top: 50%; z-index: 4; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-top: -28px; padding: 0; border: 0; border-radius: 0;
  background: rgba(255, 255, 255, .92); color: var(--lk-dark); cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  transition: background .25s, color .25s, transform .3s var(--lk-ease);
}
.lk-app .lk-views__nav:hover, .lk-app .lk-views__nav:focus-visible { background: var(--lk-dark); color: #fff; }
.lk-views__nav .lk-ico { width: 28px; height: 28px; }
.lk-views__nav--prev { left: 14px; }
.lk-views__nav--next { right: 14px; }
.lk-app .lk-views__nav--prev:hover { transform: translateX(-3px); }
.lk-app .lk-views__nav--next:hover { transform: translateX(3px); }
.lk-views__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 14px; }
.lk-views__foot .lk-hint { margin: 0; }
.lk-views__dots { display: flex; flex-wrap: wrap; gap: 6px; }
.lk-app .lk-views__dot {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--lk-line); border-radius: 0;
  background: var(--lk-bg); color: var(--lk-text); font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .25s, background .25s, color .25s;
}
.lk-views__num { color: var(--lk-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.lk-app .lk-views__dot:hover { border-color: var(--lk-dark); }
.lk-app .lk-views__dot.is-current { border-color: var(--lk-dark); background: var(--lk-dark); color: #fff; }
.lk-views__dot.is-current .lk-views__num { color: var(--lk-accent); }

/* Épület-jelölő (pin) */
@keyframes lk-pin-drop { from { opacity: 0; transform: translate(-50%, calc(-100% - 40px)); } 70% { transform: translate(-50%, calc(-100% + 4px)); } to { opacity: 1; transform: translate(-50%, -100%); } }
@keyframes lk-pin-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.lk-app .lk-pin {
  position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  transform: translate(-50%, -100%); text-decoration: none; cursor: pointer;
  animation: lk-pin-drop .7s var(--lk-ease) both; animation-delay: calc(var(--i, 0) * 140ms + 250ms);
}
.lk-pin__label {
  padding: 6px 12px; background: rgba(20, 30, 22, .82); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; white-space: nowrap; backdrop-filter: blur(2px); transition: background .25s;
}
.lk-pin__marker { position: relative; display: block; width: 40px; height: 52px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); animation: lk-pin-float 3s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .4s + 1s); transform-origin: 50% 100%; }
.lk-pin__marker svg { display: block; width: 100%; height: 100%; }
.lk-pin__marker path { fill: var(--lk-accent); stroke: #fff; stroke-width: 2; transition: fill .25s; }
.lk-pin__marker circle { fill: #fff; }
.lk-pin__marker b { position: absolute; left: 0; right: 0; top: 9px; color: var(--lk-dark); font-size: 17px; font-weight: 800; line-height: 20px; text-align: center; }
.lk-app .lk-pin:hover .lk-pin__label, .lk-app .lk-pin:focus-visible .lk-pin__label { background: var(--lk-dark); }
.lk-pin:hover .lk-pin__marker path, .lk-pin:focus-visible .lk-pin__marker path { fill: var(--lk-dark); }
.lk-area--floor.is-building polygon { fill: color-mix(in srgb, var(--lk-accent) 35%, transparent); stroke: #fff; stroke-width: 1.5; }

/* ---------- Szint nézet ---------- */
.lk-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px 20px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--lk-line); }
.lk-bar__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lk-bar__end { justify-self: end; }
.lk-tabs { display: inline-flex; flex-wrap: wrap; border: 1.5px solid var(--lk-dark); }
.lk-app .lk-tab {
  position: relative; padding: 10px 16px; color: var(--lk-dark); text-decoration: none; font-weight: 600; font-size: 15px;
  border-right: 1.5px solid var(--lk-dark); background: var(--lk-bg); transition: background .25s var(--lk-ease), color .25s;
}
.lk-app .lk-tab:last-child { border-right: 0; }
.lk-app .lk-tab:hover, .lk-app .lk-tab:focus-visible { background: var(--lk-soft); }
.lk-app .lk-tab.is-current { background: var(--lk-dark); color: #fff; }

.lk-floor__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 32px; align-items: start; }
.lk-floor__plan { display: flex; justify-content: center; }
.lk-stage--plan { width: min(100%, calc((100vh - var(--lk-sticky-top) - 40px) * var(--lk-ar, .5))); background: #fff; border: 1px solid var(--lk-line); }
.lk-stage--park .lk-label { font-size: 11px; padding: 1px 5px; }
@media (min-width: 901px) {
  .lk-floor__plan { position: sticky; top: var(--lk-sticky-top); align-self: start; }
}
.lk-floor__side { min-width: 0; }
.lk-floor__title { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; color: var(--lk-dark); font-size: 26px; font-weight: 700; line-height: 1.2; }
.lk-floor__sum { margin: 0 0 14px; color: var(--lk-muted); }
.lk-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 14px; }
.lk-legend__i::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 7px; vertical-align: -2px; }
.lk-legend__i--szabad::before { background: color-mix(in srgb, var(--lk-free) 55%, #fff); border: 1.5px solid var(--lk-dark); }
.lk-legend__i--foglalt::before { background: color-mix(in srgb, var(--lk-reserved) 55%, #fff); }
.lk-legend__i--elkelt::before { background: color-mix(in srgb, var(--lk-sold) 70%, #fff); }
.lk-units { margin: 0; padding: 0; list-style: none; display: grid; border-top: 1px solid var(--lk-line); }
.lk-units__group { display: flex; align-items: center; gap: 8px; padding: 20px 6px 8px; border-bottom: 2px solid var(--lk-dark); color: var(--lk-dark); font-size: 17px; font-weight: 700; animation: lk-fade-up .45s var(--lk-ease) both; }
.lk-units__group:first-child { padding-top: 6px; }
.lk-units li { animation: lk-fade-up .45s var(--lk-ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.lk-app .lk-unit {
  display: grid; grid-template-columns: 52px 1fr auto 20px; align-items: center; gap: 10px;
  padding: 12px 6px; border-bottom: 1px solid var(--lk-line); color: inherit; text-decoration: none;
  transition: padding .3s var(--lk-ease), background .25s;
}
.lk-app .lk-unit:hover, .lk-app .lk-unit:focus-visible, .lk-app .lk-unit.is-active { padding-inline: 12px; background: var(--lk-soft); }
.lk-unit strong { color: var(--lk-dark); font-size: 18px; }
.lk-unit__meta { color: var(--lk-muted); font-size: 14px; }
.lk-unit .lk-ico { color: var(--lk-dark); transition: transform .3s var(--lk-ease); }
.lk-unit:hover .lk-ico { transform: translateX(3px); }
.lk-unit--elkelt { opacity: .65; }

/* ---------- Állapot címke ---------- */
.lk-badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; white-space: nowrap; vertical-align: middle; }
.lk-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lk-badge--szabad { background: color-mix(in srgb, var(--lk-free) 22%, #fff); color: var(--lk-dark); }
.lk-badge--foglalt { background: color-mix(in srgb, var(--lk-reserved) 22%, #fff); color: #7a5200; }
.lk-badge--elkelt { background: color-mix(in srgb, var(--lk-sold) 16%, #fff); color: #b3332f; }

/* ---------- Felugró adatlap ---------- */
.lk-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lk-modal[hidden] { display: none; }
.lk-modal__backdrop { position: absolute; inset: 0; background: rgba(12, 22, 14, .7); backdrop-filter: blur(3px); animation: lk-fade .3s ease both; }
.lk-modal__box { position: relative; width: min(1140px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 36px; background: var(--lk-bg); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); outline: none; animation: lk-rise .45s var(--lk-ease) both; }
.lk-app .lk-modal__close, .lk-app .lk-lb__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 0; background: transparent; color: var(--lk-text); cursor: pointer; transition: background .25s, color .25s, transform .3s var(--lk-ease);
}
.lk-modal__close { position: absolute; top: 10px; right: 10px; }
.lk-app .lk-modal__close:hover, .lk-app .lk-modal__close:focus-visible { background: var(--lk-dark); color: #fff; }
.lk-modal__close .lk-ico { width: 24px; height: 24px; }
.lk-modal__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.lk-modal__grid > :only-child { grid-column: 1 / -1; }
.lk-modal__title { margin: 4px 0 18px; color: var(--lk-dark); font-size: 36px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.lk-modal__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--lk-muted); font-size: 15px; font-weight: 600; }
.lk-modal__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.lk-modal__meta .lk-ico { color: var(--lk-dark); width: 18px; height: 18px; }
.lk-modal__primary { width: 100%; margin-bottom: 8px; }
.lk-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
html.lk-noscroll { overflow: hidden; }

/* Nagyítható kép és galéria */
.lk-app .lk-zoomable, .lk-app .lk-gallery__item {
  position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--lk-line); border-radius: 0;
  background: #fff; cursor: zoom-in; overflow: hidden;
}
.lk-zoomable img, .lk-gallery__item img { display: block; width: 100%; height: auto; transition: transform .6s var(--lk-ease); }
.lk-gallery__item img { aspect-ratio: 4 / 3; height: 100%; object-fit: cover; }
.lk-zoomable:hover img, .lk-gallery__item:hover img { transform: scale(1.04); }
.lk-zoomable__hint {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; background: var(--lk-dark); color: #fff; font-size: 14px; font-weight: 600;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--lk-ease);
}
.lk-zoomable:hover .lk-zoomable__hint, .lk-zoomable:focus-visible .lk-zoomable__hint { opacity: 1; transform: none; }
.lk-gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0, 0, 0, .35)); opacity: 0; transition: opacity .3s; }
.lk-gallery__item:hover::after { opacity: 1; }
.lk-thumbs .lk-gallery__item img { aspect-ratio: 1; }
.lk-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 101, 58, .75); color: #fff; font-size: 18px; font-weight: 700; z-index: 1; }

/* Lightbox */
.lk-lb { position: fixed; inset: 0; z-index: 100000; display: grid; grid-template-rows: auto 1fr auto; background: rgba(10, 16, 12, .94); color: #fff; animation: lk-fade .25s ease both; touch-action: pan-y; }
.lk-lb__top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; }
.lk-lb__count { font-size: 15px; font-weight: 600; letter-spacing: .05em; opacity: .85; }
.lk-app .lk-lb__btn { color: #fff; }
.lk-app .lk-lb__btn:hover, .lk-app .lk-lb__btn:focus-visible { background: rgba(255, 255, 255, .12); }
.lk-lb__btn .lk-ico { width: 26px; height: 26px; }
.lk-lb__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 70px; }
.lk-lb__img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); user-select: none; -webkit-user-drag: none; }
.lk-lb__img.is-next { animation: lk-slide-l .4s var(--lk-ease) both; }
.lk-lb__img.is-prev { animation: lk-slide-r .4s var(--lk-ease) both; }
.lk-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lk-lb__nav--prev { left: 12px; }
.lk-lb__nav--next { right: 12px; }
.lk-lb__cap { padding: 12px 16px 18px; text-align: center; font-size: 15px; opacity: .85; }
.lk-lb__strip { display: flex; justify-content: center; gap: 6px; padding: 0 16px 16px; overflow-x: auto; }
.lk-lb__strip button { flex: none; width: 64px; height: 48px; padding: 0; border: 2px solid transparent; background: none; opacity: .55; cursor: pointer; transition: opacity .25s, border-color .25s; }
.lk-lb__strip button.is-current, .lk-lb__strip button:hover { opacity: 1; border-color: var(--lk-accent); }
.lk-lb__strip img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Adatok ---------- */
.lk-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 20px; background: var(--lk-line); border: 1px solid var(--lk-line); }
.lk-fact { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; background: var(--lk-bg); }
.lk-fact .lk-ico { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--lk-dark); }
.lk-fact dt { margin: 0; color: var(--lk-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lk-fact dd { margin: 0; color: var(--lk-text); font-size: 21px; font-weight: 700; line-height: 1.25; }
.lk-facts > .lk-fact:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- Lakás oldal ---------- */
.lk-sheet { margin: 8px 0 48px; }
.lk-sheet__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px 24px; margin: 0 0 28px; padding-bottom: 18px; border-bottom: 1px solid var(--lk-line); }
.lk-sheet__title { margin: 0; color: var(--lk-dark); font-size: clamp(32px, 4vw, 46px); font-weight: 700; line-height: 1.05; letter-spacing: -.015em; }
.lk-sheet__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; font-size: 16px; font-weight: 600; }
.lk-sheet__meta > span:not(.lk-badge) { display: inline-flex; align-items: center; gap: 7px; }
.lk-sheet__meta .lk-ico { color: var(--lk-dark); }
.lk-sheet__back { justify-self: end; }
.lk-sheet__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 1001px) {
  .lk-sheet__plan { position: sticky; top: var(--lk-sticky-top); }
}
.lk-h { display: flex; align-items: center; gap: 10px; margin: 28px 0 12px; color: var(--lk-dark); font-size: 20px; font-weight: 700; line-height: 1.3; }
.lk-rooms { width: 100%; margin: 0; border-collapse: collapse; font-size: 16px; }
.lk-app .lk-rooms :is(th, td) { padding: 9px 0; border: 0; border-bottom: 1px solid var(--lk-line); background: transparent; text-align: left; font-weight: 500; }
.lk-app .lk-rooms td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lk-rooms__n { display: inline-block; width: 34px; color: var(--lk-muted); font-size: 13px; font-weight: 600; }
.lk-app .lk-rooms tfoot :is(th, td) { border-bottom: 0; border-top: 2px solid var(--lk-dark); font-weight: 700; color: var(--lk-dark); }
.lk-stage--mini { width: min(100%, calc(440px * var(--lk-ar, .5))); background: #fff; }
.lk-stage--park { background: #fff; }
.lk-app .lk-zoomable--plan { border: 1px solid var(--lk-line); }
.lk-zoomable--plan:hover img { transform: none; }
.lk-zoomable--plan .lk-stage { transition: transform .6s var(--lk-ease); }
.lk-zoomable--plan:hover .lk-stage { transform: scale(1.02); }
.lk-lb__stage--plan { padding: 0 16px; }
.lk-stage--zoomed { width: min(96vw, calc((100vh - 120px) * var(--lk-ar, 1))); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lk-here { fill: color-mix(in srgb, var(--lk-accent) 60%, transparent); stroke: var(--lk-dark); stroke-width: 3; }
.lk-here--kint { opacity: .45; }
.lk-gallery { margin-top: 20px; }
.lk-gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }

/* ---------- Lakáslista ---------- */
.lk-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; margin: 0 0 18px; }
.lk-filters label { display: grid; gap: 5px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lk-muted); }
.lk-app .lk-filters select { min-width: 160px; height: 48px; padding: 0 12px; border: 1.5px solid var(--lk-line); border-radius: 0; background-color: var(--lk-bg); color: var(--lk-text); font-size: 16px; text-transform: none; letter-spacing: 0; transition: border-color .25s; }
.lk-app .lk-filters select:hover, .lk-app .lk-filters select:focus { border-color: var(--lk-dark); outline: none; }
.lk-filters__count { margin-left: auto; color: var(--lk-dark); font-weight: 700; }
.lk-table-wrap { overflow-x: auto; }
.lk-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.lk-app .lk-table :is(th, td) { padding: 13px 14px; border: 0; border-bottom: 1px solid var(--lk-line); background: transparent; text-align: left; white-space: nowrap; vertical-align: middle; font-variant-numeric: tabular-nums; }
.lk-app .lk-table thead th { background: var(--lk-dark); color: #fff; }
.lk-table thead button { display: inline-flex; gap: 4px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.lk-table thead th[aria-sort="ascending"] button::after { content: "↑"; }
.lk-table thead th[aria-sort="descending"] button::after { content: "↓"; }
.lk-app .lk-table tbody th a { color: var(--lk-dark); font-weight: 700; text-decoration: none; font-size: 17px; }
.lk-table tbody tr { transition: background .2s; }
.lk-table tbody tr:hover { background: var(--lk-soft); }
.lk-table__go { text-align: right; }

/* ---------- Mobil ---------- */
@media (max-width: 1000px) {
  .lk-sheet__grid, .lk-modal__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .lk-floor__grid { grid-template-columns: minmax(0, 1fr); }
  .lk-floor__side { position: static; }
  .lk-stage--plan { width: 100%; }
  .lk-units { max-height: none; }
  .lk-bar { grid-template-columns: 1fr auto; }
  .lk-bar__tabs { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .lk-modal { padding: 0; align-items: stretch; }
  .lk-modal__box { max-height: 100vh; padding: 56px 18px 24px; }
  .lk-sheet__head { grid-template-columns: 1fr auto; }
  .lk-sheet__meta { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .lk-sheet__back { grid-row: 1; grid-column: 2; }
  .lk-sheet__back span { display: none; }
}
@media (max-width: 700px) {
  .lk-app { font-size: 16px; }
  .lk-table thead { display: none; }
  .lk-table, .lk-table tbody, .lk-table tr, .lk-table th, .lk-table td { display: block; }
  .lk-table tr { margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--lk-line); }
  .lk-table tr[hidden] { display: none; }
  .lk-app .lk-table :is(th, td) { padding: 3px 0; border: 0; white-space: normal; }
  .lk-table td[data-label]::before { content: attr(data-label) ": "; color: var(--lk-muted); }
  .lk-table__go { text-align: left; margin-top: 8px; }
  .lk-tip { min-width: 140px; padding: 8px 12px; }
  .lk-app .lk-views__nav { width: 40px; height: 40px; margin-top: -20px; }
  .lk-views__nav--prev { left: 6px; }
  .lk-views__nav--next { right: 6px; }
  .lk-pin__label { display: none; }
  .lk-pin__marker { width: 26px; height: 34px; }
  .lk-pin__marker b { top: 5px; font-size: 12px; line-height: 14px; }
  .lk-label { font-size: 11px; padding: 1px 5px; }
  .lk-actions > .lk-btn { flex-basis: 100%; }
  .lk-lb__stage { padding: 0 8px; }
  .lk-lb__nav { display: none; }
  .lk-modal__title { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .lk-app *, .lk-app *::before, .lk-app *::after, .lk-lb, .lk-lb * { animation: none !important; transition: none !important; } /* !important: minden animáció kikapcsolása a felhasználó kérésére */
  .lk-reveal { opacity: 1; transform: none; }
}

/* Lakásoldal: alcím és érdeklődési felugró ablak (1.5.0) */
.lk-sheet__titles { min-width: 0; }
.lk-sheet__lead { margin: 8px 0 0; max-width: 46ch; color: var(--lk-muted); font-size: 16px; line-height: 1.5; }
.lk-app button.lk-btn { cursor: pointer; font-family: inherit; }
.lk-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: var(--lk-radius); background: var(--lk-bg); color: var(--lk-text); box-shadow: 0 40px 90px rgba(10, 40, 25, .35); overflow: auto; }
.lk-dialog::backdrop { background: rgba(12, 40, 26, .62); backdrop-filter: blur(3px); }
.lk-dialog[open] { animation: lk-fade-up .45s var(--lk-ease) both; }
.lk-dialog__box { position: relative; padding: 34px 34px 28px; border-top: 4px solid var(--lk-accent); }
.lk-dialog__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 0; background: var(--lk-soft); color: var(--lk-dark); cursor: pointer; transition: background .25s; }
.lk-dialog__close:hover, .lk-dialog__close:focus-visible { background: var(--lk-accent); }
.lk-dialog__eyebrow { margin: 0 48px 8px 0; color: var(--lk-dark); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lk-dialog__title { margin: 0 48px 10px 0; color: var(--lk-text); font-size: clamp(24px, 3vw, 30px); line-height: 1.15; }
.lk-dialog__text { margin: 0 0 20px; color: var(--lk-muted); font-size: 16px; line-height: 1.55; }
@media (max-width: 600px) { .lk-dialog__box { padding: 26px 20px 20px; } }

/* „Csak a kép” mód (1.5.2) */
.lk-app--kep .lk-views { margin-bottom: 0; }
/* <button> gombokon a Hello sablon piros (#c36) hover/focus hátterét kapcsoljuk ki (1.5.4) */
.lk-app button.lk-btn, .lk-app button.lk-btn:hover, .lk-app button.lk-btn:focus, .lk-app button.lk-btn:active { background-color: var(--lk-dark); }
.lk-app button.lk-btn--ghost, .lk-app button.lk-btn--ghost:hover, .lk-app button.lk-btn--ghost:focus, .lk-app button.lk-btn--ghost:active { background-color: transparent; }
.lk-app button.lk-btn:focus:not(:focus-visible) { outline: none; }

/* Pinceszint és „Alaprajz nézet” (1.6.0) */
.lk-views__dot--plan { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.lk-views__dot--plan .lk-ico { width: 18px; height: 18px; }
.lk-tlabel {
  position: absolute; transform: translate(-50%, -50%); pointer-events: auto; cursor: default;
  padding: 2px 6px; font-size: 12px; font-weight: 800; line-height: 1.3; letter-spacing: .02em; color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
  animation: lk-pop .45s var(--lk-ease) both; animation-delay: calc(var(--i, 0) * 25ms + 150ms);
}
.lk-tlabel--szabad { background: var(--lk-dark); }
.lk-tlabel--foglalt { background: var(--lk-reserved); color: #2b1d00; }
.lk-tlabel--elkelt { background: var(--lk-sold); }
.lk-stage--park .lk-tlabel { font-size: 10px; padding: 1px 4px; }
.lk-floor__note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; background: var(--lk-soft); border-left: 3px solid var(--lk-accent); font-size: 14px; line-height: 1.5; color: var(--lk-text); }
.lk-app .lk-floor__pdf { margin: 0 0 16px; }
.lk-floor__note .lk-ico { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--lk-dark); }
.lk-app .lk-unit--static { cursor: default; }
.lk-app .lk-unit--static:hover { background: transparent; }
@media (max-width: 600px) { .lk-tlabel { font-size: 9px; padding: 1px 3px; } }
