/**
 * EstateKit — style frontu. Nowoczesny, neutralny motyw premium (real estate),
 * sterowany zmiennymi CSS (łatwo nadpisać w motywie klienta). Prefiks --ek-,
 * klasy .estatekit-* — brak kolizji z motywem. Wsparcie trybu ciemnego.
 *
 * Kolor akcentu i odsunięcie od nagłówka wstrzykuje wtyczka (Frontend\Assets),
 * więc tutaj są tylko wartości domyślne.
 */

:root {
	--ek-accent: #b0894f;
	--ek-accent-ink: #8a6a38;
	--ek-accent-contrast: #ffffff;
	--ek-ink: #17130e;
	--ek-ink-2: #4b443a;
	--ek-muted: #7a7266;
	--ek-line: #e7e1d6;
	--ek-line-soft: #f0ece3;
	--ek-surface: #ffffff;
	--ek-surface-2: #faf8f3;
	--ek-bg: #f5f1e9;
	--ek-ok: #17914f;
	--ek-warn: #c4532b;
	--ek-radius: 16px;
	--ek-radius-sm: 10px;
	--ek-radius-lg: 22px;
	--ek-shadow: 0 1px 2px rgba(24, 20, 15, .05), 0 10px 28px rgba(24, 20, 15, .07);
	--ek-shadow-hover: 0 6px 16px rgba(24, 20, 15, .10), 0 24px 52px rgba(24, 20, 15, .14);
	--ek-shadow-pop: 0 18px 48px rgba(24, 20, 15, .22);
	--ek-font: inherit;
	--ek-ease: cubic-bezier(.22, .61, .36, 1);
	/* Wysokość przyklejonego nagłówka motywu — mierzona przez JS, patrz estatekit.js. */
	--ek-header-h: 0px;
	--ek-gap: clamp(14px, 2vw, 24px);
}

/*
 * Tryb ciemny jest OPT-IN (klasa .ek-dark na kontenerze), NIE automatyczny z
 * prefers-color-scheme — wtyczka renderuje się WEWNĄTRZ motywu klienta (zwykle
 * jasnego), więc automatyczne ciemnienie kart tworzyłoby rozjazd z tłem strony.
 */
.ek-dark {
	--ek-accent-contrast: #1a1611;
	--ek-ink: #f2ede3;
	--ek-ink-2: #cec6b8;
	--ek-muted: #a49b8c;
	--ek-line: #332f28;
	--ek-line-soft: #272420;
	--ek-surface: #201c17;
	--ek-surface-2: #191611;
	--ek-bg: #13100c;
	--ek-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .45);
	--ek-shadow-hover: 0 8px 18px rgba(0, 0, 0, .5), 0 24px 50px rgba(0, 0, 0, .55);
}

/* ---------- Fundamenty ---------- */
.ek-scope,
.estatekit-card,
.estatekit-search {
	font-family: var(--ek-font);
	color: var(--ek-ink);
	box-sizing: border-box;
}

.ek-scope *,
.estatekit-card *,
.estatekit-search * { box-sizing: border-box; }

.ek-ico { flex: 0 0 auto; }

/* Żaden element wtyczki nie ma prawa rozepchnąć strony w poziomie. */
.ek-scope { max-width: 100%; overflow-x: clip; }
.ek-scope img,
.ek-scope video,
.ek-scope iframe { max-width: 100%; }

/*
 * Tarcza na motywy, które przypinają `position: fixed` do KAŻDEGO <header>
 * (robi tak m.in. Divi z Theme Builderem). Bez tego nagłówek oferty odklejał
 * się i lądował na wierzchu strony, zasłaniając logo i menu.
 */
.ek-scope header:not([class*="estatekit-"]),
.ek-scope footer:not([class*="estatekit-"]) {
	position: static;
	inset: auto;
	width: auto;
	max-width: none;
	z-index: auto;
}

.ek-scope :focus-visible {
	outline: 2px solid var(--ek-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

/*
 * Pasek pod przezroczystym nagłówkiem motywu (dokładany przez JS tylko na
 * stronach ofert). Sam nie łapie kliknięć — menu nad nim działa normalnie.
 */
.ek-header-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	pointer-events: none;
}
.ek-header-backdrop[data-mode="dark"] {
	background: #17130e;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08);
}
.ek-header-backdrop[data-mode="light"] {
	background: var(--ek-surface);
	box-shadow: inset 0 -1px 0 var(--ek-line), 0 2px 14px rgba(24, 20, 15, .07);
}

.estatekit-note {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--ek-muted);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/*
 * Archiwum ofert bierze ten sam odstęp od przyklejonego nagłówka co strona
 * oferty. `--ek-archive-top` pozwala motywowi to nadpisać, gdy sam już
 * zostawia miejsce (np. własny nagłówek strony nad listą).
 */
.estatekit-archive {
	max-width: var(--ek-width, 1220px);
	margin: 0 auto;
	padding: var(--ek-archive-top, calc(var(--ek-header-h) + 24px)) clamp(14px, 3vw, 24px) 0;
}
.estatekit-archive.ek-embedded { padding: 0; max-width: none; }

/* ---------- Wyszukiwarka ---------- */
.estatekit-search {
	background: var(--ek-surface);
	border: 1px solid var(--ek-line);
	border-radius: var(--ek-radius);
	box-shadow: var(--ek-shadow);
	border-radius: var(--ek-radius-lg);
	padding: 16px 18px;
	margin: 0 0 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.estatekit-search__row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.estatekit-search__field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 168px; min-width: 0; }

.estatekit-search__field > span {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--ek-muted);
}

.estatekit-search__field select,
.estatekit-search__field input {
	appearance: none;
	width: 100%;
	height: 48px;
	padding: 0 16px;
	font-size: 15px;
	font-family: inherit;
	color: var(--ek-ink);
	background: var(--ek-surface-2);
	border: 1px solid var(--ek-line);
	border-radius: 999px;
	transition: border-color .15s, box-shadow .15s, background .15s;
}

.estatekit-search__field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a7266' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 38px;
	cursor: pointer;
}

.estatekit-search__field select:focus,
.estatekit-search__field input:focus {
	outline: none;
	background: var(--ek-surface);
	border-color: var(--ek-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ek-accent) 20%, transparent);
}

.estatekit-search__field--submit { justify-content: flex-end; flex: 1 1 168px; }

.estatekit-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	width: 100%;
	height: 48px;
	padding: 0 22px;
	font-size: 14px;
	font-family: inherit;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ek-accent-contrast);
	background: var(--ek-accent);
	border: 0;
	border-radius: 999px;
	transition: background .15s, transform .08s, box-shadow .2s;
}
.estatekit-search__submit:hover { background: var(--ek-accent-ink); box-shadow: 0 8px 20px color-mix(in srgb, var(--ek-accent) 35%, transparent); }
.estatekit-search__submit:active { transform: translateY(1px); }

.estatekit-search__more { margin-top: 2px; }
.estatekit-search__more > summary {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	list-style: none;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: var(--ek-accent-ink);
	padding: 6px 0;
}
.estatekit-search__more > summary::-webkit-details-marker { display: none; }
.estatekit-search__more[open] > summary { margin-bottom: 8px; }

/* ---------- Nagłówek archiwum ---------- */
.estatekit-pagehead { margin: 0 0 22px; }
.estatekit-pagehead__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ek-accent-ink);
}
.estatekit-pagehead__eyebrow a { color: inherit; text-decoration: none; }
.estatekit-pagehead__eyebrow a:hover { text-decoration: underline; }
.estatekit-pagehead__title {
	margin: 0 0 8px;
	font-size: clamp(28px, 4.4vw, 44px);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -.015em;
	text-wrap: balance;
}
.estatekit-pagehead__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0; font-size: 15px; color: var(--ek-muted); }
.estatekit-pagehead__meta strong { color: var(--ek-ink); }
.estatekit-pagehead__intro { max-width: 62ch; line-height: 1.6; }

/* ---------- Wyszukiwanie opisowe ---------- */
.estatekit-smart { margin: 0 0 14px; }
.estatekit-smart__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 7px 7px 18px;
	background: var(--ek-surface);
	border: 1px solid var(--ek-line);
	border-radius: 999px;
	box-shadow: var(--ek-shadow);
	transition: border-color .2s, box-shadow .2s;
}
.estatekit-smart__bar:focus-within {
	border-color: var(--ek-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--ek-accent) 16%, transparent), var(--ek-shadow);
}
.estatekit-smart__spark { display: grid; place-items: center; color: var(--ek-accent); flex: 0 0 auto; }
.estatekit-smart__spark svg { fill: color-mix(in srgb, var(--ek-accent) 22%, transparent); }
.estatekit-smart__bar input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	padding: 0;
	font: inherit;
	font-size: 16px;
	color: var(--ek-ink);
	background: none;
	border: 0;
	appearance: none;
}
.estatekit-smart__bar input::-webkit-search-cancel-button { display: none; }
.estatekit-smart__bar input:focus { outline: none; }
.estatekit-smart__bar input::placeholder { color: var(--ek-muted); }
.estatekit-smart__clear {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	flex: 0 0 auto;
	color: var(--ek-muted);
	border-radius: 50%;
	text-decoration: none;
	transition: background .15s, color .15s;
}
.estatekit-smart__clear:hover { background: var(--ek-surface-2); color: var(--ek-ink); }
.estatekit-smart__go {
	flex: 0 0 auto;
	height: 44px;
	padding: 0 26px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ek-accent-contrast);
	background: var(--ek-accent);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background .15s, box-shadow .2s;
}
.estatekit-smart__go:hover { background: var(--ek-accent-ink); box-shadow: 0 8px 20px color-mix(in srgb, var(--ek-accent) 35%, transparent); }

.estatekit-smart__examples { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 10px 4px 0; font-size: 13px; color: var(--ek-muted); }
.estatekit-smart__example {
	padding: 5px 12px;
	font: inherit;
	font-size: 13px;
	color: var(--ek-ink-2);
	background: var(--ek-surface-2);
	border: 1px dashed var(--ek-line);
	border-radius: 999px;
	cursor: pointer;
	transition: border-color .15s, color .15s, background .15s;
}
.estatekit-smart__example:hover { border-style: solid; border-color: var(--ek-accent); color: var(--ek-accent-ink); background: var(--ek-surface); }

/* Wyszukiwarka opisowa wewnątrz hero leży na zdjęciu — inne kontrasty. */
.estatekit-hero .estatekit-smart__examples { color: rgba(255, 255, 255, .88); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.estatekit-hero .estatekit-smart__example {
	color: #fff;
	background: rgba(20, 16, 12, .34);
	border-color: rgba(255, 255, 255, .45);
	backdrop-filter: blur(6px);
	text-shadow: none;
}
.estatekit-hero .estatekit-smart__example:hover { color: var(--ek-ink); background: #fff; border-color: #fff; }

.estatekit-understood { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.estatekit-understood__lead { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ek-accent-ink); }
.estatekit-understood__lead--miss { font-weight: 500; color: var(--ek-muted); }
.estatekit-understood__chip {
	padding: 6px 12px;
	font-size: 13px;
	color: var(--ek-ink-2);
	background: color-mix(in srgb, var(--ek-accent) 10%, var(--ek-surface));
	border: 1px solid color-mix(in srgb, var(--ek-accent) 30%, transparent);
	border-radius: 999px;
}
.estatekit-understood__chip b { color: var(--ek-ink); }

/* Filtrowanie na żywo — wyniki gasną na czas dociągania, układ nie skacze. */
.estatekit-archive.is-loading .estatekit-results,
.estatekit-archive.is-loading .estatekit-toolbar__count {
	opacity: .45;
	transition: opacity .18s;
	pointer-events: none;
}
.estatekit-archive.is-loading .estatekit-search { cursor: progress; }

/* Opcje bez wyników zostają widoczne, ale wyraźnie nieaktywne. */
.estatekit-search__field option:disabled { color: color-mix(in srgb, var(--ek-muted) 55%, transparent); }

/* ---------- Plakietki aktywnych filtrów ---------- */
.estatekit-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.estatekit-filterchip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 12px;
	font-size: 13px;
	text-decoration: none;
	color: var(--ek-ink-2);
	background: var(--ek-surface);
	border: 1px solid var(--ek-line);
	border-radius: 999px;
	transition: border-color .15s, color .15s, background .15s;
}
.estatekit-filterchip b { font-weight: 600; color: var(--ek-ink); }
.estatekit-filterchip:hover { border-color: var(--ek-accent); color: var(--ek-accent-ink); }
.estatekit-filterchip--clear { color: var(--ek-muted); border-style: dashed; }

/* ---------- Hero ---------- */
.estatekit-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(40px, 7vw, 96px) 20px;
	margin: 0 0 34px;
	border-radius: var(--ek-radius-lg);
	overflow: hidden;
	text-align: center;
	color: #fff;
	background: linear-gradient(135deg, #2a2520, #4a4038);
}
.estatekit-hero.has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--ek-hero-image);
	background-size: cover;
	background-position: center;
	z-index: 0;
	animation: ek-kenburns 24s ease-in-out infinite alternate;
}
@keyframes ek-kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.estatekit-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(20, 16, 12, .35) 0%, rgba(20, 16, 12, .5) 55%, rgba(20, 16, 12, .74) 100%);
}
.estatekit-hero.has-image::before { z-index: 2; }
.estatekit-hero__inner { position: relative; z-index: 3; width: 100%; max-width: 940px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.estatekit-hero__eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: color-mix(in srgb, var(--ek-accent) 80%, #fff); }
.estatekit-hero__title { margin: 0; color: #fff; font-size: clamp(30px, 5.2vw, 56px); line-height: 1.06; font-weight: 700; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .4); }
.estatekit-hero__subtitle { margin: 0; font-size: clamp(15px, 2.2vw, 19px); color: rgba(255, 255, 255, .92); max-width: 640px; }
.estatekit-hero__search { width: 100%; margin-top: 12px; }
.estatekit-hero__search .estatekit-search {
	margin: 0;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(8px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
}

/* ---------- Pasek narzędzi listy ---------- */
.estatekit-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 0 0 18px;
	flex-wrap: wrap;
}
.estatekit-toolbar__count { margin: 0; font-size: 15px; color: var(--ek-muted); }
.estatekit-toolbar__count strong { color: var(--ek-ink); font-size: 17px; }
.estatekit-toolbar__tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.estatekit-seg {
	display: inline-flex;
	padding: 3px;
	background: var(--ek-surface-2);
	border: 1px solid var(--ek-line);
	border-radius: 999px;
}
.estatekit-seg button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 13px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--ek-muted);
	background: none;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background .18s var(--ek-ease), color .18s;
}
.estatekit-seg button:hover { color: var(--ek-ink); }
.estatekit-seg button.is-active { color: var(--ek-ink); background: var(--ek-surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

/* Przełącznik języka */
.estatekit-langswitch { display: inline-flex; align-items: center; gap: 6px; color: var(--ek-muted); }
.estatekit-langswitch .ek-ico { color: var(--ek-accent); }
.estatekit-langswitch select {
	appearance: none;
	padding: 9px 30px 9px 10px;
	font: inherit;
	font-size: 14px;
	color: var(--ek-ink);
	background: var(--ek-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a7266' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 9px center;
	border: 1px solid var(--ek-line);
	border-radius: 999px;
	cursor: pointer;
}

.estatekit-sort { display: flex; align-items: center; gap: 8px; margin: 0; }
.estatekit-sort__label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ek-muted); }
.estatekit-sort select {
	appearance: none;
	padding: 9px 32px 9px 12px;
	font: inherit;
	font-size: 14px;
	color: var(--ek-ink);
	background: var(--ek-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a7266' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
	border: 1px solid var(--ek-line);
	border-radius: 999px;
	cursor: pointer;
}

/* ---------- Siatka + karta ---------- */
.estatekit-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: var(--ek-gap);
}

.estatekit-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--ek-surface);
	border: 1px solid var(--ek-line);
	border-radius: var(--ek-radius);
	overflow: hidden;
	box-shadow: var(--ek-shadow);
	transition: transform .25s var(--ek-ease), box-shadow .25s var(--ek-ease), border-color .2s;
}
.estatekit-card:hover { transform: translateY(-5px); box-shadow: var(--ek-shadow-hover); border-color: color-mix(in srgb, var(--ek-accent) 35%, var(--ek-line)); }
.estatekit-card.is-featured { border-color: color-mix(in srgb, var(--ek-accent) 55%, var(--ek-line)); }

.estatekit-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ek-surface-2); }
.estatekit-card__link { display: block; width: 100%; height: 100%; position: relative; }

/*
 * Klikalna jest CAŁA karta: link z tytułu rozciąga się na całą jej powierzchnię.
 * Serce i porównywarka siedzą wyżej w osi Z, więc zostają osobnymi przyciskami.
 */
.estatekit-card__stretch::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	border-radius: var(--ek-radius);
}
.estatekit-card:focus-within { box-shadow: var(--ek-shadow-hover); }
.estatekit-card__stretch:focus-visible::after { outline: 2px solid var(--ek-accent); outline-offset: -3px; }
.estatekit-card[hidden] { display: none; }
.estatekit-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity .35s var(--ek-ease), transform .6s var(--ek-ease);
}
.estatekit-card__img.is-active { opacity: 1; }
.estatekit-card:hover .estatekit-card__img.is-active { transform: scale(1.045); }
.estatekit-card__img--empty { opacity: 1; background: linear-gradient(135deg, var(--ek-surface-2), var(--ek-line)); }

.estatekit-card__dots {
	position: absolute;
	left: 50%;
	bottom: 8px;
	transform: translateX(-50%);
	display: flex;
	gap: 5px;
	padding: 4px 7px;
	border-radius: 999px;
	background: rgba(20, 16, 12, .38);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity .2s;
	z-index: 2;
}
.estatekit-card:hover .estatekit-card__dots,
.estatekit-card:focus-within .estatekit-card__dots { opacity: 1; }
.estatekit-card__dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: background .2s, transform .2s; }
.estatekit-card__dot.is-active { background: #fff; transform: scale(1.35); }

.estatekit-card__tags { position: absolute; left: 10px; top: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
/* Ponad rozciągniętym linkiem karty (z-index 3) — serce i porównywarka
   muszą pozostać osobnymi, klikalnymi przyciskami. */
.estatekit-card__actions { position: absolute; right: 10px; top: 10px; z-index: 5; display: flex; gap: 6px; }
.estatekit-card__media-icons {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 2;
	display: flex;
	gap: 5px;
}
.estatekit-card__media-icons span {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	color: #fff;
	background: rgba(20, 16, 12, .55);
	border-radius: 8px;
	backdrop-filter: blur(4px);
}

.estatekit-card__pricebox {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 7px 13px;
	color: #fff;
	background: rgba(20, 16, 12, .66);
	backdrop-filter: blur(6px);
	border-radius: 12px;
}
.estatekit-card__price { font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.estatekit-card__ppsqm { font-size: 11px; opacity: .82; }

.estatekit-tag {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(20, 16, 12, .62);
	border-radius: 7px;
	backdrop-filter: blur(4px);
}
.estatekit-tag--drop { background: var(--ek-warn); }
.estatekit-tag--reserved { background: #b8860b; }
.estatekit-tag--sold { background: #5b5b5b; }
.estatekit-tag--star { background: var(--ek-accent); color: var(--ek-accent-contrast); }

.estatekit-card__body { display: flex; flex-direction: column; gap: 8px; padding: 15px 16px 14px; flex: 1; }
.estatekit-card__loc { display: flex; align-items: center; gap: 5px; margin: 0; font-size: 13px; color: var(--ek-muted); }
.estatekit-card__loc .ek-ico { color: var(--ek-accent); }
.estatekit-card__title { margin: 0; font-size: 18px; line-height: 1.32; font-weight: 600; }
.estatekit-card .estatekit-card__title a { color: var(--ek-ink); text-decoration: none; box-shadow: none; }
.estatekit-card .estatekit-card__title a:hover { color: var(--ek-accent-ink); }

.estatekit-card__specs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 2px 0 0; padding: 0; list-style: none; }
.estatekit-card__specs li { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ek-ink-2); }
.estatekit-card__specs .ek-ico { color: var(--ek-accent); }

.estatekit-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--ek-line-soft);
}
.estatekit-card__cta {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--ek-accent-ink);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.estatekit-card__cta::after { content: "→"; transition: transform .2s var(--ek-ease); }
.estatekit-card:hover .estatekit-card__cta::after { transform: translateX(5px); }
.estatekit-card__ref { font-size: 11px; letter-spacing: .04em; color: var(--ek-muted); }

/* Widok listy */
.estatekit-grid.is-list { grid-template-columns: 1fr; }
.estatekit-grid.is-list .estatekit-card { flex-direction: row; }
.estatekit-grid.is-list .estatekit-card__media { flex: 0 0 clamp(220px, 34%, 380px); aspect-ratio: auto; }
.estatekit-grid.is-list .estatekit-card__body { padding: 18px 20px; }
.estatekit-grid.is-list .estatekit-card__title { font-size: 20px; }

/* Widok mapy */
.estatekit-mapview__canvas { width: 100%; height: min(70vh, 640px); border-radius: var(--ek-radius); overflow: hidden; border: 1px solid var(--ek-line); }
.estatekit-mapview__note { margin-top: 10px; }
.estatekit-mappop { min-width: 190px; }
.estatekit-mappop img { width: 100%; height: 108px; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 7px; }
.estatekit-mappop strong { display: block; font-size: 14px; line-height: 1.3; margin-bottom: 3px; }
.estatekit-mappop span { font-size: 13px; color: var(--ek-accent-ink); font-weight: 700; }

/* ---------- Paginacja ---------- */
.estatekit-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 34px 0 6px; }
.estatekit-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	font-size: 14px;
	text-decoration: none;
	color: var(--ek-ink);
	background: var(--ek-surface);
	border: 1px solid var(--ek-line);
	border-radius: var(--ek-radius-sm);
	transition: border-color .15s, color .15s, transform .1s;
}
.estatekit-pagination .page-numbers:hover { border-color: var(--ek-accent); color: var(--ek-accent-ink); transform: translateY(-1px); }
.estatekit-pagination .page-numbers svg { display: block; }
.estatekit-pagination .prev,
.estatekit-pagination .next { padding: 0; }
.estatekit-pagination .page-numbers.current { background: var(--ek-accent); color: var(--ek-accent-contrast); border-color: var(--ek-accent); }
.estatekit-pagination .page-numbers.dots { border: 0; background: transparent; }

.estatekit-archive__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 56px 30px;
	text-align: center;
	color: var(--ek-muted);
	background: var(--ek-surface-2);
	border: 1px dashed var(--ek-line);
	border-radius: var(--ek-radius);
}
.estatekit-archive__empty p { margin: 0; font-size: 16px; }
.estatekit-archive__empty .ek-ico { color: var(--ek-accent); }

/* ---------- Strona oferty ---------- */
.estatekit-single {
	max-width: var(--ek-width, 1220px);
	margin: 0 auto;
	padding: calc(var(--ek-header-h) + 22px) clamp(14px, 3vw, 24px) 0;
	overflow-x: clip;
}
.estatekit-single__title { color: var(--ek-ink); overflow-wrap: break-word; }

.estatekit-single__topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 14px;
	flex-wrap: wrap;
}
.estatekit-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ek-muted); flex-wrap: wrap; }
.estatekit-breadcrumb a { color: var(--ek-muted); text-decoration: none; }
.estatekit-breadcrumb a:hover { color: var(--ek-accent-ink); text-decoration: underline; }
.estatekit-breadcrumb span { opacity: .45; }

/* ---------- Galeria ---------- */
.estatekit-gal { position: relative; margin-bottom: 26px; }

.estatekit-gal__stage {
	position: relative;
	aspect-ratio: 16 / 9;
	max-height: 620px;
	border-radius: var(--ek-radius);
	overflow: hidden;
	background: #14100c;
}
.estatekit-gal__cell { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; transition: opacity .45s var(--ek-ease); }
.estatekit-gal__cell.is-active { opacity: 1; pointer-events: auto; }
.estatekit-gal__cell img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; display: block; }

/* Mozaika: duże zdjęcie + siatka czterech miniatur (desktop). */
@media (min-width: 921px) {
	.estatekit-gal--mosaic .estatekit-gal__stage {
		display: grid;
		grid-template-columns: 2fr 1fr 1fr;
		grid-template-rows: 1fr 1fr;
		gap: 8px;
		background: transparent;
		aspect-ratio: 21 / 9;
	}
	.estatekit-gal--mosaic .estatekit-gal__cell {
		position: relative;
		inset: auto;
		opacity: 1;
		pointer-events: auto;
		overflow: hidden;
		border-radius: 10px;
		background: var(--ek-surface-2);
	}
	.estatekit-gal--mosaic .estatekit-gal__cell:nth-child(1) { grid-row: span 2; border-radius: var(--ek-radius) 10px 10px var(--ek-radius); }
	.estatekit-gal--mosaic .estatekit-gal__cell:nth-child(3) { border-radius: 10px var(--ek-radius) 10px 10px; }
	.estatekit-gal--mosaic .estatekit-gal__cell:nth-child(5) { border-radius: 10px 10px var(--ek-radius) 10px; }
	.estatekit-gal--mosaic .estatekit-gal__cell:nth-child(n+6) { display: none; }
	.estatekit-gal--mosaic .estatekit-gal__cell img { transition: transform .6s var(--ek-ease); }
	.estatekit-gal--mosaic .estatekit-gal__cell:hover img { transform: scale(1.05); }
	.estatekit-gal--mosaic .estatekit-gal__nav,
	.estatekit-gal--mosaic .estatekit-gal__counter { display: none; }
	.estatekit-gal--mosaic .estatekit-gal__thumbs { display: none; }
}

.estatekit-gal__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	color: var(--ek-ink);
	background: rgba(255, 255, 255, .92);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
	transition: background .18s, transform .18s var(--ek-ease), opacity .2s;
	z-index: 3;
	backdrop-filter: blur(6px);
	opacity: 0;
}
.estatekit-gal__nav .ek-ico { stroke-width: 2.2; }
.estatekit-gal__stage:hover .estatekit-gal__nav,
.estatekit-gal__stage:focus-within .estatekit-gal__nav { opacity: 1; }
.estatekit-gal__nav:hover { background: #fff; color: var(--ek-accent-ink); }
.estatekit-gal__nav--prev { left: 14px; }
.estatekit-gal__nav--next { right: 14px; }
.estatekit-gal__stage:hover .estatekit-gal__nav--prev { transform: translateY(-50%) translateX(3px); }
.estatekit-gal__stage:hover .estatekit-gal__nav--next { transform: translateY(-50%) translateX(-3px); }

.estatekit-gal__counter {
	position: absolute;
	left: 16px;
	bottom: 16px;
	z-index: 3;
	padding: 5px 12px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: rgba(20, 16, 12, .58);
	border-radius: 999px;
	backdrop-filter: blur(4px);
}

.estatekit-gal__badges { position: absolute; left: 14px; top: 14px; z-index: 4; display: flex; flex-wrap: wrap; gap: 7px; }
.estatekit-gal__tools { position: absolute; right: 14px; top: 14px; z-index: 4; display: flex; gap: 8px; }
.estatekit-gal__chips { position: absolute; right: 14px; bottom: 14px; z-index: 4; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.estatekit-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 15px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	background: rgba(20, 16, 12, .58);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	backdrop-filter: blur(8px);
	transition: background .18s, transform .12s, color .18s;
}
.estatekit-chip:hover { background: rgba(20, 16, 12, .84); color: #fff; }
.estatekit-chip:active { transform: scale(.96); }
.estatekit-chip--solid { background: #fff; color: var(--ek-ink); }
.estatekit-chip--solid:hover { background: #fff; color: var(--ek-accent-ink); }
.estatekit-chip--light { background: var(--ek-surface); color: var(--ek-ink); border: 1px solid var(--ek-line); }
.estatekit-chip--light:hover { background: var(--ek-surface); color: var(--ek-accent-ink); border-color: var(--ek-accent); }

.estatekit-round {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: #fff;
	background: rgba(20, 16, 12, .45);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background .18s, transform .14s, color .18s;
	backdrop-filter: blur(6px);
}
.estatekit-round--sm { width: 36px; height: 36px; }
.estatekit-round:hover { background: rgba(20, 16, 12, .78); transform: translateY(-1px); }
/* Zapisane = pełne, czerwone serce na białym krążku — czytelne na każdym zdjęciu. */
.estatekit-round[aria-pressed="true"] { color: #e0454a; background: #fff; box-shadow: 0 4px 14px rgba(224, 69, 74, .35); }
.estatekit-round[aria-pressed="true"] svg { fill: currentColor; }
.estatekit-round[data-ek-compare][aria-pressed="true"] { color: var(--ek-accent-ink); }
.estatekit-round[data-ek-compare][aria-pressed="true"] svg { fill: none; }
.estatekit-round.is-pop { animation: ek-pop .34s var(--ek-ease); }
@keyframes ek-pop { 0% { transform: scale(1); } 45% { transform: scale(1.3); } 100% { transform: scale(1); } }

.estatekit-gal__thumbs { display: flex; gap: 9px; overflow-x: auto; padding: 12px 2px 4px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.estatekit-gal__thumb {
	flex: 0 0 auto;
	width: 112px;
	height: 76px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: var(--ek-radius-sm);
	overflow: hidden;
	cursor: pointer;
	background: var(--ek-surface-2);
	transition: border-color .18s, opacity .18s, transform .18s;
	opacity: .65;
	scroll-snap-align: center;
}
.estatekit-gal__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.estatekit-gal__thumb:hover { opacity: 1; transform: translateY(-2px); }
.estatekit-gal__thumb.is-active { border-color: var(--ek-accent); opacity: 1; }

/* ---------- Układ oferty ---------- */
.estatekit-single__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 3vw, 42px); align-items: start; }
.estatekit-single__main { min-width: 0; }

.estatekit-single__header { margin-bottom: 20px; }
.estatekit-single__loc { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 15px; color: var(--ek-muted); }
.estatekit-single__loc .ek-ico { color: var(--ek-accent); }
.estatekit-single__title { margin: 0 0 10px; font-size: clamp(26px, 4vw, 40px); line-height: 1.12; font-weight: 700; text-wrap: balance; }
.estatekit-single__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.estatekit-single__ref { font-size: 13px; color: var(--ek-muted); letter-spacing: .03em; }
.estatekit-single__price-inline { font-size: 19px; font-weight: 700; color: var(--ek-accent-ink); }
.estatekit-single__price-old { font-size: 15px; color: var(--ek-muted); text-decoration: line-through; }
.estatekit-single__ppsqm, .estatekit-cta-card__sub { font-size: 13px; color: var(--ek-muted); }

.estatekit-pill {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	border-radius: 999px;
	color: var(--ek-accent-ink);
	background: color-mix(in srgb, var(--ek-accent) 15%, transparent);
}
.estatekit-pill--reserved { color: #8a6100; background: rgba(184, 134, 11, .16); }
.estatekit-pill--sold { color: #555; background: rgba(90, 90, 90, .14); }

.estatekit-single__specbar {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
	gap: 10px;
	margin: 0 0 24px;
	padding: 18px 16px;
	background: var(--ek-surface);
	border: 1px solid var(--ek-line);
	border-radius: var(--ek-radius);
	box-shadow: var(--ek-shadow);
}
.estatekit-single__spec { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; text-align: center; color: var(--ek-ink); }
.estatekit-single__spec .ek-ico { color: var(--ek-accent); margin-bottom: 3px; }
.estatekit-single__spec-val { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.estatekit-single__spec-lbl { font-size: 12px; color: var(--ek-muted); }

/* Nawigacja sekcji (przykleja się pod nagłówkiem motywu). */
.estatekit-secnav {
	position: sticky;
	top: calc(var(--ek-header-h) + 0px);
	z-index: 20;
	display: flex;
	gap: 4px;
	overflow-x: auto;
	margin: 0 0 26px;
	padding: 6px;
	/* Pełne krycie: pasek przesuwa się nad treścią, więc nie może przez nią prześwitywać. */
	background: var(--ek-surface);
	border: 1px solid var(--ek-line);
	border-radius: 999px;
	box-shadow: 0 6px 20px rgba(24, 20, 15, .09);
	scrollbar-width: none;
}
.estatekit-secnav::-webkit-scrollbar { display: none; }
.estatekit-secnav a {
	flex: 0 0 auto;
	padding: 9px 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ek-muted);
	text-decoration: none;
	border-radius: 999px;
	transition: background .2s, color .2s;
}
.estatekit-secnav a:hover { color: var(--ek-ink); background: var(--ek-surface-2); }
.estatekit-secnav a.is-active { color: var(--ek-accent-contrast); background: var(--ek-accent); }

.estatekit-single__section { margin: 0 0 34px; scroll-margin-top: calc(var(--ek-header-h) + 72px); }
.estatekit-single__section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.estatekit-single__section h2 { margin: 0 0 14px; font-size: clamp(19px, 2.2vw, 23px); font-weight: 700; letter-spacing: -.01em; }
.estatekit-single__section-head h2 { margin: 0; }
.estatekit-single__section-head .estatekit-more { margin-left: auto; }

.estatekit-prose { font-size: 16px; line-height: 1.78; color: var(--ek-ink-2); }
.estatekit-prose p { margin: 0 0 1em; }
.estatekit-prose p:first-child { font-size: 17px; color: var(--ek-ink); }
.estatekit-prose.is-clamped { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); max-height: 320px; overflow: hidden; }

.estatekit-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	padding: 0;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--ek-accent-ink);
	background: none;
	border: 0;
	cursor: pointer;
	text-decoration: none;
}
.estatekit-more:hover { text-decoration: underline; }

.estatekit-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 11px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	border-radius: 999px;
}
.estatekit-badge--auto { color: var(--ek-accent-ink); background: color-mix(in srgb, var(--ek-accent) 15%, transparent); }
.estatekit-badge--auto::before { content: "⤷"; }
.estatekit-badge--soft { color: var(--ek-muted); background: var(--ek-surface-2); border: 1px solid var(--ek-line); }

/*
 * Cechy: zamiast trzech kolumn wypunktowań (dziury w układzie, gdy grupy mają
 * różną długość) — karty grup z „pigułkami". Gęściej, równiej i czytelniej.
 */
.estatekit-features {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 14px;
}
.estatekit-features__group {
	padding: 16px 18px;
	background: var(--ek-surface);
	border: 1px solid var(--ek-line);
	border-radius: var(--ek-radius);
	transition: border-color .2s, box-shadow .2s;
}
.estatekit-features__group:hover { border-color: color-mix(in srgb, var(--ek-accent) 40%, var(--ek-line)); box-shadow: var(--ek-shadow); }
.estatekit-features__cat {
	margin: 0 0 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ek-accent-ink);
}
.estatekit-features__list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.estatekit-features__list li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px 7px 9px;
	font-size: 13.5px;
	line-height: 1.2;
	color: var(--ek-ink-2);
	background: var(--ek-surface-2);
	border: 1px solid var(--ek-line-soft);
	border-radius: 999px;
}
.estatekit-features__list .ek-ico { color: var(--ek-accent); stroke-width: 2.4; }

/* Świadectwo energetyczne */
.estatekit-energy { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.estatekit-energy__step {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 38px;
	padding: 0 12px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	border-radius: 8px;
	opacity: .3;
	transition: opacity .3s, transform .3s var(--ek-ease);
}
.estatekit-energy__step.is-active { opacity: 1; transform: scale(1.14); box-shadow: var(--ek-shadow); }
.estatekit-energy__step--a { background: #14853f; }
.estatekit-energy__step--b { background: #4aa32d; }
.estatekit-energy__step--c { background: #93be1e; }
.estatekit-energy__step--d { background: #f2d20c; color: #3a3200; }
.estatekit-energy__step--e { background: #f0a005; }
.estatekit-energy__step--f { background: #e2680f; }
.estatekit-energy__step--g { background: #d1281f; }

/* Lista klucz-wartość (koszty, energia) */
.estatekit-kv { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0; border: 1px solid var(--ek-line); border-radius: var(--ek-radius); overflow: hidden; background: var(--ek-surface); }
.estatekit-kv li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 16px; border-bottom: 1px solid var(--ek-line-soft); }
.estatekit-kv li:last-child { border-bottom: 0; }
.estatekit-kv span { font-size: 14.5px; color: var(--ek-muted); }
.estatekit-kv strong { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.estatekit-kv strong small { font-size: 12px; font-weight: 500; color: var(--ek-muted); }
.estatekit-kv__total { background: var(--ek-surface-2); }
.estatekit-kv__total span { color: var(--ek-ink); font-weight: 600; }

/* ---------- Mapa ---------- */
.estatekit-mapwrap { position: relative; }
.estatekit-map { width: 100%; height: clamp(300px, 46vh, 440px); border-radius: var(--ek-radius); overflow: hidden; border: 1px solid var(--ek-line); z-index: 0; background: var(--ek-surface-2); }
.estatekit-map__ui { position: absolute; right: 12px; top: 12px; z-index: 400; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.estatekit-map__note { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ek-muted); }
.estatekit-map__note .ek-ico { color: var(--ek-accent); flex: 0 0 auto; margin-top: 1px; }

.estatekit-mappin { position: relative; }
.estatekit-mappin span {
	display: block;
	width: 18px;
	height: 18px;
	margin: 4px;
	border-radius: 50%;
	background: var(--ek-accent);
	border: 3px solid #fff;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ek-accent) 40%, transparent), 0 3px 8px rgba(0, 0, 0, .35);
	animation: ek-pulse 2.4s infinite;
}
@keyframes ek-pulse {
	0% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ek-accent) 45%, transparent), 0 3px 8px rgba(0, 0, 0, .35); }
	70% { box-shadow: 0 0 0 16px color-mix(in srgb, var(--ek-accent) 0%, transparent), 0 3px 8px rgba(0, 0, 0, .35); }
	100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ek-accent) 0%, transparent), 0 3px 8px rgba(0, 0, 0, .35); }
}
.estatekit-mapdot span {
	display: block;
	padding: 5px 10px;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	color: var(--ek-accent-contrast);
	background: var(--ek-accent);
	border: 2px solid #fff;
	border-radius: 999px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
}

/* Co w okolicy */
.estatekit-nearby { margin-top: 20px; }
.estatekit-nearby[hidden] { display: none; }
.estatekit-nearby__title { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ek-muted); }
.estatekit-nearby__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.estatekit-nearby__list li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1px 11px;
	padding: 10px 13px;
	font-size: 14px;
	background: var(--ek-surface);
	border: 1px solid var(--ek-line);
	border-radius: var(--ek-radius-sm);
	animation: ek-fade-up .4s var(--ek-ease) both;
}
.estatekit-nearby__list .ek-ico { grid-column: 1; grid-row: 1 / -1; color: var(--ek-accent); }
.estatekit-nearby__label { grid-column: 2; font-size: 12px; color: var(--ek-muted); }
.estatekit-nearby__name {
	grid-column: 2;
	font-weight: 600;
	line-height: 1.3;
	/* Nazwy bywają długie („Escuela Municipal de Adultos") — wolimy dwie
	   linijki niż wielokropek, ale nie więcej niż dwie. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.estatekit-nearby__dist {
	grid-column: 3;
	grid-row: 1 / -1;
	font-size: 13px;
	font-weight: 700;
	color: var(--ek-accent-ink);
	font-variant-numeric: tabular-nums;
}
@keyframes ek-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Kalkulator kredytu ---------- */
.estatekit-calc {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 22px;
	padding: 22px;
	background: var(--ek-surface);
	border: 1px solid var(--ek-line);
	border-radius: var(--ek-radius);
	box-shadow: var(--ek-shadow);
}
.estatekit-calc__controls { display: flex; flex-direction: column; gap: 16px; }
.estatekit-calc__field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ek-muted); }
.estatekit-calc__field b { color: var(--ek-ink); font-variant-numeric: tabular-nums; }
.estatekit-calc__field input[type="range"] {
	appearance: none;
	width: 100%;
	height: 5px;
	border-radius: 999px;
	background: var(--ek-line);
	cursor: pointer;
}
.estatekit-calc__field input[type="range"]::-webkit-slider-thumb {
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--ek-accent);
	border: 3px solid var(--ek-surface);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
	transition: transform .12s;
}
.estatekit-calc__field input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.18); }
.estatekit-calc__field input[type="range"]::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--ek-accent);
	border: 3px solid var(--ek-surface);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.estatekit-calc__result {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 20px;
	text-align: center;
	background: linear-gradient(160deg, color-mix(in srgb, var(--ek-accent) 12%, var(--ek-surface-2)), var(--ek-surface-2));
	border-radius: var(--ek-radius-sm);
}
.estatekit-calc__label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ek-muted); }
.estatekit-calc__value { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; color: var(--ek-ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.estatekit-calc__sub { font-size: 13px; color: var(--ek-muted); }
.estatekit-calc__sub b { color: var(--ek-ink-2); }

/* ---------- Karta kontaktu ---------- */
.estatekit-single__aside { position: sticky; top: calc(var(--ek-header-h) + 20px); }
.estatekit-cta-card {
	background: var(--ek-surface);
	border: 1px solid var(--ek-line);
	border-radius: var(--ek-radius);
	box-shadow: var(--ek-shadow);
	padding: 24px;
}
.estatekit-cta-card__price { margin: 0 0 4px; font-size: clamp(26px, 3vw, 32px); font-weight: 800; color: var(--ek-ink); line-height: 1.1; }
.estatekit-cta-card__sub { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; }
.estatekit-cta-card__drop { color: var(--ek-warn); font-weight: 600; }
.estatekit-cta-card__agent { display: flex; flex-direction: column; gap: 2px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--ek-line-soft); }
.estatekit-cta-card__agent-label { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--ek-muted); }
.estatekit-cta-card__agent-name { font-size: 15px; font-weight: 600; }
.estatekit-cta-card__actions { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 0; }
.estatekit-cta-card__ref { margin: 16px 0 0; font-size: 12px; color: var(--ek-muted); text-align: center; }
.estatekit-cta-card__form { margin-bottom: 4px; }

.estatekit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 18px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--ek-radius-sm);
	transition: background .18s, border-color .18s, transform .08s, box-shadow .2s, color .18s;
	cursor: pointer;
	border: 1px solid transparent;
}
.estatekit-btn:active { transform: translateY(1px); }
.estatekit-btn--primary { color: var(--ek-accent-contrast); background: var(--ek-accent); }
.estatekit-btn--primary:hover { color: var(--ek-accent-contrast); background: var(--ek-accent-ink); box-shadow: 0 10px 24px color-mix(in srgb, var(--ek-accent) 35%, transparent); }
.estatekit-btn--wa { color: #fff; background: #1fa855; }
.estatekit-btn--wa:hover { color: #fff; background: #178c46; box-shadow: 0 10px 24px rgba(31, 168, 85, .3); }
.estatekit-btn--mail { color: var(--ek-ink); background: var(--ek-surface); border-color: var(--ek-accent); }
.estatekit-btn--mail:hover { color: var(--ek-ink); background: color-mix(in srgb, var(--ek-accent) 10%, var(--ek-surface)); border-color: var(--ek-accent); box-shadow: var(--ek-shadow); }
.estatekit-btn--call { color: var(--ek-ink); background: var(--ek-surface); border-color: var(--ek-line); }
.estatekit-btn--call:hover { border-color: var(--ek-accent); color: var(--ek-ink); box-shadow: var(--ek-shadow); }
.estatekit-btn--ghost { color: var(--ek-ink); background: transparent; border-color: var(--ek-line); }
.estatekit-btn--ghost:hover { border-color: var(--ek-accent); color: var(--ek-accent-ink); }
.estatekit-btn--block { width: 100%; }

/* Przycisk dwupoziomowy: numer/nazwa u góry, podpis-zachęta pod spodem. */
.estatekit-btn__stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.estatekit-btn__stack b { font-size: 15px; font-weight: 700; }
.estatekit-btn__stack small { font-size: 11.5px; font-weight: 500; opacity: .72; }

/* ---------- Formularz zapytania ---------- */
.estatekit-form { display: flex; flex-direction: column; gap: 10px; }
.estatekit-form__title { margin: 0; font-size: 15px; font-weight: 700; }
.estatekit-form__form { display: flex; flex-direction: column; gap: 10px; }
.estatekit-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.estatekit-form__field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.estatekit-form__field > span { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ek-muted); }
.estatekit-form__field input,
.estatekit-form__field textarea {
	width: 100%;
	padding: 11px 13px;
	font: inherit;
	font-size: 15px;
	color: var(--ek-ink);
	background: var(--ek-surface-2);
	border: 1px solid var(--ek-line);
	border-radius: var(--ek-radius-sm);
	transition: border-color .15s, box-shadow .15s, background .15s;
	resize: vertical;
}
.estatekit-form__field input:focus,
.estatekit-form__field textarea:focus {
	outline: none;
	background: var(--ek-surface);
	border-color: var(--ek-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ek-accent) 20%, transparent);
}
.estatekit-form__consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.45; color: var(--ek-muted); }
.estatekit-form__consent input { margin-top: 2px; flex: 0 0 auto; accent-color: var(--ek-accent); }
.estatekit-form__consent a { color: var(--ek-accent-ink); }
.estatekit-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.estatekit-form__error { margin: 0; padding: 10px 12px; font-size: 13px; color: var(--ek-warn); background: color-mix(in srgb, var(--ek-warn) 10%, transparent); border-radius: var(--ek-radius-sm); }
.estatekit-form__done {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	background: color-mix(in srgb, var(--ek-ok) 10%, var(--ek-surface-2));
	border: 1px solid color-mix(in srgb, var(--ek-ok) 35%, transparent);
	border-radius: var(--ek-radius-sm);
}
.estatekit-form__done .ek-ico { color: var(--ek-ok); flex: 0 0 auto; stroke-width: 2.4; }
.estatekit-form__done div { display: flex; flex-direction: column; gap: 2px; }
.estatekit-form__done strong { font-size: 14.5px; }
.estatekit-form__done span { font-size: 13px; color: var(--ek-muted); }

/* ---------- Filtr ulubionych na liście ---------- */
.estatekit-favfilter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--ek-ink);
	background: var(--ek-surface);
	border: 1px solid var(--ek-line);
	border-radius: 999px;
	cursor: pointer;
	transition: border-color .18s, color .18s, background .18s;
}
.estatekit-favfilter[hidden] { display: none; }
.estatekit-favfilter .ek-ico { color: #e0454a; }
.estatekit-favfilter b {
	display: grid;
	place-items: center;
	min-width: 21px;
	height: 21px;
	padding: 0 5px;
	font-size: 12px;
	border-radius: 999px;
	background: var(--ek-surface-2);
}
.estatekit-favfilter:hover { border-color: #e0454a; }
.estatekit-favfilter[aria-pressed="true"] { color: #fff; background: #e0454a; border-color: #e0454a; }
.estatekit-favfilter[aria-pressed="true"] .ek-ico { color: #fff; fill: #fff; }
.estatekit-favfilter[aria-pressed="true"] b { background: rgba(255, 255, 255, .24); }

.estatekit-results__empty {
	padding: 40px 24px;
	text-align: center;
	color: var(--ek-muted);
	background: var(--ek-surface-2);
	border: 1px dashed var(--ek-line);
	border-radius: var(--ek-radius);
}
.estatekit-results__empty[hidden] { display: none; }

.estatekit-cta-card__sharelink {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--ek-accent-ink);
	background: none;
	border: 0;
	cursor: pointer;
}
.estatekit-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.estatekit-share[hidden] { display: none; }
.estatekit-share__btn {
	flex: 1 1 auto;
	text-align: center;
	padding: 10px 12px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--ek-ink);
	text-decoration: none;
	background: var(--ek-surface-2);
	border: 1px solid var(--ek-line);
	border-radius: var(--ek-radius-sm);
	cursor: pointer;
	transition: border-color .15s, color .15s;
}
.estatekit-share__btn:hover { border-color: var(--ek-accent); color: var(--ek-accent-ink); }

.estatekit-similar { margin-top: 10px; }

/* ---------- Pasek przyklejony ---------- */
.estatekit-stickybar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9998;
	padding: 10px clamp(12px, 3vw, 24px);
	background: var(--ek-surface);
	border-top: 1px solid var(--ek-line);
	box-shadow: 0 -8px 30px rgba(0, 0, 0, .1);
	transform: translateY(110%);
	visibility: hidden;
	transition: transform .32s var(--ek-ease), visibility 0s .32s;
}
.estatekit-stickybar.is-visible { transform: none; visibility: visible; transition: transform .32s var(--ek-ease); }
.estatekit-stickybar__inner { max-width: 1220px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.estatekit-stickybar__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.estatekit-stickybar__title { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.estatekit-stickybar__meta { display: flex; gap: 10px; font-size: 13px; color: var(--ek-muted); }
.estatekit-stickybar__meta b { color: var(--ek-accent-ink); font-size: 15px; }
.estatekit-stickybar__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.estatekit-stickybar .estatekit-btn { padding: 11px 16px; font-size: 14px; }

/* ---------- Pasek porównania ---------- */
.estatekit-comparebar {
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translate(-50%, 140%);
	z-index: 9997;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 16px;
	background: var(--ek-ink);
	color: #fff;
	border-radius: 999px;
	box-shadow: var(--ek-shadow-pop);
	transition: transform .32s var(--ek-ease);
}
.estatekit-comparebar.is-visible { transform: translate(-50%, 0); }
.estatekit-comparebar__count { display: grid; place-items: center; width: 26px; height: 26px; font-size: 13px; font-weight: 700; background: var(--ek-accent); color: var(--ek-accent-contrast); border-radius: 50%; }
.estatekit-comparebar__label { font-size: 14px; }
.estatekit-comparebar button {
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: rgba(255, 255, 255, .14);
	border: 0;
	border-radius: 999px;
	padding: 7px 14px;
	cursor: pointer;
	transition: background .18s;
}
.estatekit-comparebar button:hover { background: rgba(255, 255, 255, .26); }

/* Zestawienie ofert */
.estatekit-comparemodal {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4vmin;
	background: rgba(12, 10, 8, .82);
	backdrop-filter: blur(6px);
}
.estatekit-comparemodal[hidden] { display: none; }
.estatekit-comparemodal__box {
	width: min(1040px, 96vw);
	max-height: 88vh;
	display: flex;
	flex-direction: column;
	background: var(--ek-surface);
	border-radius: var(--ek-radius);
	box-shadow: var(--ek-shadow-pop);
	overflow: hidden;
}
.estatekit-comparemodal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--ek-line); }
.estatekit-comparemodal__head strong { font-size: 17px; }
.estatekit-comparemodal__head .estatekit-lightbox__btn { color: var(--ek-ink); background: var(--ek-surface-2); }
.estatekit-comparemodal__scroll { overflow: auto; }
.estatekit-cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.estatekit-cmp th, .estatekit-cmp td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--ek-line-soft); vertical-align: middle; }
.estatekit-cmp thead th { vertical-align: top; }
.estatekit-cmp thead a { display: block; color: var(--ek-ink); text-decoration: none; font-weight: 600; line-height: 1.35; }
.estatekit-cmp thead img { width: 100%; max-width: 190px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-bottom: 8px; display: block; }
.estatekit-cmp tbody th { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ek-muted); white-space: nowrap; }
.estatekit-cmp tbody td { font-weight: 600; }

.estatekit-mappop__link { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--ek-accent-ink); }

/* Widoczność widoków listy — `hidden` musi wygrać z `display: grid`. */
.estatekit-grid[hidden],
.estatekit-mapview[hidden] { display: none; }

/* ---------- Toast ---------- */
.estatekit-toast {
	position: fixed;
	left: 50%;
	bottom: 80px;
	transform: translate(-50%, 20px);
	z-index: 10000;
	padding: 11px 20px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: var(--ek-ink);
	border-radius: 999px;
	box-shadow: var(--ek-shadow-pop);
	opacity: 0;
	pointer-events: none;
	transition: opacity .24s, transform .24s var(--ek-ease);
}
.estatekit-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Animacje wejścia ---------- */
.ek-reveal-ready [data-ek-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .65s var(--ek-ease), transform .65s var(--ek-ease); }
.ek-reveal-ready [data-ek-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.estatekit-lightbox {
	position: fixed;
	inset: 0;
	/* Ponad widżetami innych wtyczek (czat, cookie bar) — pełny ekran ma być pełnym ekranem. */
	z-index: 2147483000;
	display: grid;
	grid-template-rows: auto 1fr auto;
	background: #0a0806;
	animation: ek-lb-in .22s ease;
}
@keyframes ek-lb-in { from { opacity: 0; } to { opacity: 1; } }
.estatekit-lightbox[hidden] { display: none; }
.estatekit-lightbox__bar {
	grid-row: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	color: #fff;
}
.estatekit-lightbox__counter { font-size: 14px; font-variant-numeric: tabular-nums; }
.estatekit-lightbox__hint { font-size: 12px; opacity: .55; margin-right: auto; }
.estatekit-lightbox__btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	font: inherit;
	line-height: 1;
	color: #fff;
	background: rgba(255, 255, 255, .14);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background .18s, transform .12s;
}
.estatekit-lightbox__btn:active { transform: scale(.94); }
.estatekit-lightbox__btn:hover { background: rgba(255, 255, 255, .26); }
.estatekit-lightbox__stage {
	grid-row: 2;
	position: relative;
	overflow: hidden;
	display: grid;
	place-items: center;
	touch-action: none;
	cursor: grab;
}
.estatekit-lightbox__stage.is-grabbing { cursor: grabbing; }
.estatekit-lightbox__img {
	max-width: 94vw;
	max-height: 100%;
	border-radius: 6px;
	box-shadow: 0 22px 70px rgba(0, 0, 0, .6);
	transform-origin: center center;
	transition: transform .18s var(--ek-ease);
	will-change: transform;
	user-select: none;
	-webkit-user-drag: none;
}
.estatekit-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	line-height: 1;
	color: #fff;
	background: rgba(255, 255, 255, .12);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	z-index: 2;
	transition: background .18s, transform .12s;
	backdrop-filter: blur(4px);
}
.estatekit-lightbox__nav .ek-ico { stroke-width: 2; }
.estatekit-lightbox__nav:active { transform: translateY(-50%) scale(.94); }
.estatekit-lightbox__nav:hover { background: rgba(255, 255, 255, .24); }
.estatekit-lightbox__nav--prev { left: 18px; }
.estatekit-lightbox__nav--next { right: 18px; }
.estatekit-lightbox__filmstrip {
	grid-row: 3;
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 12px 18px 16px;
	scrollbar-width: thin;
}
.estatekit-lightbox__filmstrip img {
	flex: 0 0 auto;
	width: 96px;
	height: 64px;
	object-fit: cover;
	border-radius: 7px;
	opacity: .5;
	cursor: pointer;
	border: 2px solid transparent;
	transition: opacity .18s, border-color .18s;
}
.estatekit-lightbox__filmstrip img:hover { opacity: .85; }
.estatekit-lightbox__filmstrip img.is-active { opacity: 1; border-color: var(--ek-accent); }

/* ---------- Modal filmu / 3D / rzutu ---------- */
.estatekit-mediamodal {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4vmin;
	background: #080706;
}
.estatekit-mediamodal[hidden] { display: none; }
.estatekit-mediamodal__close { position: absolute; top: 18px; right: 20px; z-index: 2; }
.estatekit-mediamodal__frame { width: min(1180px, 94vw); aspect-ratio: 16 / 9; max-height: 86vh; }
.estatekit-mediamodal__frame iframe,
.estatekit-mediamodal__frame video { width: 100%; height: 100%; border: 0; border-radius: 12px; background: #000; }
.estatekit-mediamodal__frame img { width: 100%; height: 100%; object-fit: contain; background: #fff; border-radius: 12px; }

/* ---------- Responsywność ---------- */
@media (max-width: 1080px) {
	.estatekit-single__layout { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 920px) {
	.estatekit-single__layout { grid-template-columns: 1fr; }
	.estatekit-single__aside { position: static; }
	.estatekit-calc { grid-template-columns: 1fr; }
	.estatekit-grid.is-list .estatekit-card { flex-direction: column; }
	.estatekit-grid.is-list .estatekit-card__media { flex: none; aspect-ratio: 4 / 3; }
}
@media (max-width: 680px) {
	.estatekit-single { padding-top: calc(var(--ek-header-h) + 14px); }
	.estatekit-gal__stage { aspect-ratio: 4 / 3; }
	.estatekit-gal__nav { width: 44px; height: 44px; opacity: 1; }
	.estatekit-gal__nav--prev { left: 8px; }
	.estatekit-gal__nav--next { right: 8px; }
	.estatekit-lightbox__nav { width: 46px; height: 46px; }
	.estatekit-lightbox__nav--prev { left: 8px; }
	.estatekit-lightbox__nav--next { right: 8px; }
	.estatekit-gal__chips { gap: 6px; right: 10px; bottom: 10px; }
	.estatekit-chip { padding: 8px 12px; font-size: 12px; gap: 6px; }
	.estatekit-gal__tools { right: 10px; top: 10px; }
	.estatekit-gal__badges { left: 10px; top: 10px; }
	.estatekit-gal__thumb { width: 88px; height: 62px; }
	.estatekit-single__title { font-size: clamp(23px, 6.4vw, 30px); }
	.estatekit-features { grid-template-columns: 1fr 1fr; }
	.estatekit-map { height: 300px; }
	.estatekit-breadcrumb { font-size: 12px; }
	.estatekit-single__specbar { padding: 14px 10px; }
	.estatekit-single__spec-val { font-size: 17px; }
	.estatekit-stickybar__title { display: none; }
	.estatekit-hide-sm { display: none; }
	.estatekit-toast { bottom: 96px; }

	/*
	 * Palec potrzebuje ~44 px. Na desktopie kompaktowe kontrolki są w porządku,
	 * na dotyku muszą urosnąć — inaczej serce na karcie albo przełącznik widoku
	 * trafia się za drugim razem.
	 */
	.estatekit-round--sm { width: 40px; height: 40px; }
	.estatekit-seg button { min-height: 40px; }
	.estatekit-smart__example { min-height: 40px; display: inline-flex; align-items: center; }
	.estatekit-filterchip { min-height: 40px; }
	.estatekit-langswitch select,
	.estatekit-sort select { min-height: 40px; }
	.estatekit-more,
	.estatekit-cta-card__sharelink { min-height: 40px; }
	.estatekit-secnav a { min-height: 40px; display: inline-flex; align-items: center; }
}
@media (max-width: 460px) {
	.estatekit-features { grid-template-columns: 1fr; }
	.estatekit-nearby__list { grid-template-columns: 1fr; }
	.estatekit-search__field { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.ek-scope *,
	.estatekit-card,
	.estatekit-lightbox,
	.estatekit-stickybar,
	.estatekit-comparebar,
	.estatekit-toast {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	.estatekit-hero.has-image::after { animation: none; }
	.estatekit-mappin span { animation: none; }
}

/* ---------- Druk ---------- */
@media print {
	.estatekit-gal__tools,
	.estatekit-gal__chips,
	.estatekit-gal__nav,
	.estatekit-secnav,
	.estatekit-stickybar,
	.estatekit-comparebar,
	.estatekit-toast,
	.estatekit-map__ui,
	.estatekit-single__topbar,
	.estatekit-cta-card__sharelink,
	.estatekit-share,
	.estatekit-similar { display: none !important; }

	.estatekit-single { padding-top: 0; max-width: none; }
	.estatekit-single__layout { display: block; }
	.estatekit-prose.is-clamped { max-height: none; mask-image: none; -webkit-mask-image: none; }
	.estatekit-gal__thumbs { display: none; }
	.estatekit-card, .estatekit-cta-card, .estatekit-single__specbar { box-shadow: none; }
}
