/* TP ASARI: style widgetów Elementora. Tokeny strony EBW Estate (stan 21.11.2026).
   Kroje: Montserrat w widgetach, Playfair Display tylko w nagłówkach i dużych liczbach,
   Helvetica w okruszkach. Jeden krój bezszeryfowy, bez kwadratowych punktorów. */
:root {
	--tpa-cta: #F47622;
	--tpa-cta-hover: #FF8A42;
	--tpa-text: #111111;
	--tpa-text2: #535353;
	--tpa-text3: #495057;
	--tpa-line: #DDDDDD;
	--tpa-light: #F4F4F4;
	--tpa-dark: #151515;
	--tpa-serif: "Playfair Display", Georgia, serif;
	--tpa-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--tpa-crumbs: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Nagłówek bloku w widgetach (jak „O nieruchomości”: Playfair 45 / 36 / 28). */
.tpa-title {
	margin: 0 0 26px;
	font-family: var(--tpa-serif);
	font-weight: 400;
	font-size: 45px;
	line-height: 1.15;
	letter-spacing: -0.5px;
	color: var(--tpa-text);
	text-wrap: balance;
}
.tpa-eyebrow {
	font: 500 13px/1.3 var(--tpa-sans);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--tpa-cta);
}
/* Przycisk tekstowy (przycisk-2): Montserrat 16 / 500 / uppercase, strzałka ukośna. */
.tpa-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	font: 500 14px/1 var(--tpa-sans);
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--tpa-cta);
	text-decoration: none;
	transition: color 0.2s ease;
}
.tpa-link svg { flex: 0 0 auto; width: 10px; height: 10px; }
.tpa-link:hover,
.tpa-link:focus-visible { color: #D9641A; }
/* Pigułka (przycisk główny): tło #F47622, napis #F4F4F4, 15 / 500 / uppercase. */
.tpa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 48px;
	padding: 16px 22px 14px;
	border: 1px solid var(--tpa-text);
	border-radius: 100px;
	background: transparent;
	font: 500 15px/1 var(--tpa-sans);
	text-transform: uppercase;
	color: var(--tpa-text);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tpa-btn svg { flex: 0 0 auto; width: 11px; height: 11px; }
.tpa-btn:hover,
.tpa-btn:focus-visible { background: var(--tpa-text); color: var(--tpa-light); }
.tpa-btn--cta { background: var(--tpa-cta); border-color: var(--tpa-cta); color: var(--tpa-light); }
.tpa-btn--cta:hover,
.tpa-btn--cta:focus-visible { background: var(--tpa-cta-hover); border-color: var(--tpa-cta-hover); color: #090909; }
/* Pigułki na zdjęciach: biała z konturem i ciemna. */
.tpa-pill {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	padding: 11px 16px 10px;
	border-radius: 100px;
	font: 500 12px/1 var(--tpa-sans);
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.tpa-pill--line { background: #FFFFFF; color: var(--tpa-text); box-shadow: inset 0 0 0 1px var(--tpa-text); }
.tpa-pill--line:hover,
.tpa-pill--line:focus-visible { background: var(--tpa-text); color: var(--tpa-light); }
.tpa-pill--dark { background: var(--tpa-dark); color: var(--tpa-light); }
.tpa-pill--dark:hover,
.tpa-pill--dark:focus-visible { background: var(--tpa-cta); color: var(--tpa-light); }

/* 1. Galeria ------------------------------------------------------------ */
.tpa-gallery { --tpa-gap: 8px; position: relative; }
.tpa-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tpa-gallery a { display: block; overflow: hidden; background: var(--tpa-line); }
.tpa-gallery a:hover img { transform: scale(1.03); }
/* pigułki wygrywają z regułą .tpa-gallery a (tło szare) */
.tpa-gallery a.tpa-pill--line { background: #FFFFFF; }
.tpa-gallery a.tpa-pill--line:hover,
.tpa-gallery a.tpa-pill--line:focus-visible { background: var(--tpa-text); }
.tpa-gallery a.tpa-pill--dark { background: var(--tpa-dark); }
.tpa-gallery a.tpa-pill--dark:hover,
.tpa-gallery a.tpa-pill--dark:focus-visible { background: var(--tpa-cta); }
.tpa-gallery__hidden { display: none !important; }
.tpa-gallery--plans a { background: var(--tpa-light); }
.tpa-gallery--plans img { object-fit: contain; padding: 12px; box-sizing: border-box; }
.tpa-gallery--plans a:hover img { transform: none; }
.tpa-gallery__lead,
.tpa-gallery__cell { position: relative; min-width: 0; min-height: 0; }
.tpa-gallery__lead > a,
.tpa-gallery__cell > a { height: 100%; }
.tpa-gallery__actions {
	position: absolute;
	left: 16px;
	bottom: 16px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: calc(100% - 32px);
}
.tpa-gallery__actions--end { left: auto; right: 16px; }
/* Mozaika: proporcja całości ok. 1385 : 600, duże zdjęcie 2 : 1 do kolumny miniatur. */
.tpa-gallery--mosaic {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--tpa-gap);
	aspect-ratio: 1385 / 600;
}
.tpa-gallery--mosaic.tpa-gallery--h { aspect-ratio: auto; height: var(--tpa-h, 560px); }
.tpa-gallery--mosaic .tpa-gallery__lead { grid-column: 1; grid-row: 1 / span 2; }
.tpa-gallery--mosaic .tpa-gallery__thumb { min-height: 0; }
.tpa-gallery--mosaic.tpa-count-1 { grid-template-columns: minmax(0, 1fr); }
.tpa-gallery--mosaic.tpa-count-2 .tpa-gallery__thumb { grid-row: 1 / span 2; }
/* Pasek trzech zdjęć 3 : 2 (karta inwestycji). */
.tpa-gallery--strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tpa-gap); }
.tpa-gallery--strip .tpa-gallery__item { aspect-ratio: 3 / 2; }
.tpa-gallery--strip.tpa-count-1 { grid-template-columns: minmax(0, 1fr); }
.tpa-gallery--strip.tpa-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tpa-gallery--grid {
	--tpa-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--tpa-cols), minmax(0, 1fr));
	gap: var(--tpa-gap);
}
.tpa-gallery--grid .tpa-gallery__item { aspect-ratio: 4 / 3; background: var(--tpa-light); }

/* 2. Kluczowe parametry: rząd komórek z liniami, bez ikon -------------- */
.tpa-keys {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0;
	border-top: 1px solid var(--tpa-line);
	border-bottom: 1px solid var(--tpa-line);
}
.tpa-keys--n1 { grid-template-columns: minmax(0, 1fr); }
.tpa-keys--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tpa-keys--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tpa-keys--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tpa-keys__item { min-width: 0; padding: 22px 20px 20px 24px; border-left: 1px solid var(--tpa-line); }
.tpa-keys__item:nth-child(5n+1) { padding-left: 0; border-left: 0; }
.tpa-keys__item:nth-child(n+6) { border-top: 1px solid var(--tpa-line); }
.tpa-keys__icon { display: block; margin-bottom: 8px; color: var(--tpa-cta); }
.tpa-keys__label { margin: 0; font: 500 13px/1.3 var(--tpa-sans); letter-spacing: 1px; text-transform: uppercase; color: var(--tpa-cta); }
.tpa-keys__value { margin: 8px 0 0; font: 500 22px/1.2 var(--tpa-sans); color: var(--tpa-text); }

/* 3. Tabela parametrów: „etykieta … wartość”, linia pod każdym wierszem -- */
.tpa-params {
	--tpa-cols: 2;
	display: grid;
	grid-template-columns: repeat(var(--tpa-cols), minmax(0, 1fr));
	column-gap: 56px;
	margin: 0;
}
.tpa-params__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	min-width: 0;
	padding: 13px 0;
	border-bottom: 1px solid var(--tpa-line);
}
.tpa-params__label { flex: 0 0 auto; max-width: 45%; min-width: 0; margin: 0; font: 400 16px/1.4 var(--tpa-sans); color: var(--tpa-text2); }
.tpa-params__value { flex: 1 1 0; min-width: 0; margin: 0; font: 500 16px/1.4 var(--tpa-sans); color: var(--tpa-text); text-align: right; overflow-wrap: break-word; }
.tpa-params--nearby { border-top: 1px solid var(--tpa-line); }

/* Udogodnienia: ptaszki (snippet Kod-ptaszki dodaje ebw-anim i ebw-draw) */
.tpa-amenities {
	--tpa-cols: 2;
	display: grid;
	grid-template-columns: repeat(var(--tpa-cols), minmax(0, 1fr));
	gap: 14px 56px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tpa-amenities__item { display: flex; align-items: center; gap: 14px; margin: 0; padding: 0; min-width: 0; }
.tpa-amenities__item::before,
.tpa-amenities__item::marker { content: none; }
.tpa-amenities .ebw-chk { display: inline-flex; flex: 0 0 auto; width: 22px; height: 22px; color: var(--tpa-cta); }
.tpa-amenities .ebw-chk svg { display: block; width: 22px; height: 22px; }
.tpa-amenities__label { font: 500 17px/1.35 var(--tpa-sans); color: var(--tpa-text); }
@keyframes tpaChkIn { from { clip-path: inset(-2% 102% -2% -2%); } to { clip-path: inset(-2% -2% -2% -2%); } }
.tpa-amenities.ebw-anim:not(.ebw-draw) .ebw-chk svg { clip-path: inset(-2% 102% -2% -2%); }
.tpa-amenities.ebw-draw .ebw-chk svg { animation: tpaChkIn 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.tpa-amenities.ebw-draw .ebw-it:nth-child(2) .ebw-chk svg { animation-delay: 0.08s; }
.tpa-amenities.ebw-draw .ebw-it:nth-child(3) .ebw-chk svg { animation-delay: 0.16s; }
.tpa-amenities.ebw-draw .ebw-it:nth-child(4) .ebw-chk svg { animation-delay: 0.24s; }
.tpa-amenities.ebw-draw .ebw-it:nth-child(5) .ebw-chk svg { animation-delay: 0.32s; }
.tpa-amenities.ebw-draw .ebw-it:nth-child(6) .ebw-chk svg { animation-delay: 0.4s; }
.tpa-amenities.ebw-draw .ebw-it:nth-child(7) .ebw-chk svg { animation-delay: 0.48s; }
.tpa-amenities.ebw-draw .ebw-it:nth-child(8) .ebw-chk svg { animation-delay: 0.56s; }
.tpa-amenities.ebw-draw .ebw-it:nth-child(n+9) .ebw-chk svg { animation-delay: 0.64s; }
@media (prefers-reduced-motion: reduce) {
	.tpa-amenities.ebw-anim:not(.ebw-draw) .ebw-chk svg { clip-path: none; }
	.tpa-amenities.ebw-draw .ebw-chk svg { animation: none; }
}

/* Opis zwijany: bez JS cały opis widoczny */
.tpa-desc__body { font: 400 17px/1.7 var(--tpa-sans); color: var(--tpa-text); }
.tpa-desc__body p { margin: 0; text-wrap: pretty; }
.tpa-desc__body p + p { margin-top: 16px; }
.tpa-desc__body b,
.tpa-desc__body strong { font-weight: 500; }
.tpa-desc--bold .tpa-desc__first { font-weight: 500; }
.tpa-desc--lead .tpa-desc__first { font-size: 21px; line-height: 1.6; }
.tpa-desc--lead .tpa-desc__first + p { margin-top: 20px; }
.tpa-desc.is-collapsed .tpa-desc__body { max-height: var(--tpa-desc-max, 300px); overflow: hidden; }
.tpa-desc__more { margin: 24px 0 0; }
.tpa-desc__more[hidden] { display: none; }
.tpa-desc .tpa-more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font: 500 14px/1 var(--tpa-sans);
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--tpa-cta);
	cursor: pointer;
	transition: color 0.2s ease;
}
.tpa-desc .tpa-more svg { flex: 0 0 auto; width: 10px; height: 10px; }
.tpa-desc .tpa-more:hover,
.tpa-desc .tpa-more:focus { background: none; color: #D9641A; }
.tpa-desc .tpa-more:focus-visible { outline: 2px solid var(--tpa-cta); outline-offset: 3px; }

/* 4. Mapa ---------------------------------------------------------------- */
.tpa-map__canvas { width: 100%; height: 360px; background: var(--tpa-light); z-index: 0; }
/* proporcja na ramce: Leaflet daje płótnu overflow: hidden, a takie pudełko w siatce nie wnosi wysokości */
.tpa-map__frame { position: relative; }
.tpa-map__frame--16-9 { aspect-ratio: 16 / 9; }
.tpa-map__frame--4-3 { aspect-ratio: 4 / 3; }
.tpa-map__frame--16-9 .tpa-map__canvas,
.tpa-map__frame--4-3 .tpa-map__canvas { height: 100% !important; }
/* do 1024 px stała wysokość: proporcja w zagnieżdżonych kontenerach Elementora nie wnosi wysokości do wiersza */
@media (max-width: 1024px) { .tpa-map__frame--16-9, .tpa-map__frame--4-3 { aspect-ratio: auto; height: 420px; } }
@media (max-width: 767px) { .tpa-map__frame--16-9 { height: 230px; } .tpa-map__frame--4-3 { height: 280px; } }
.tpa-map__canvas.leaflet-container { font-family: var(--tpa-sans); }
.tpa-map__canvas .leaflet-tile-pane { filter: grayscale(1) contrast(0.92) brightness(1.04); }
.tpa-map__canvas .leaflet-control-attribution { font: 400 11px/1.4 var(--tpa-sans); color: var(--tpa-text2); }
.tpa-map__canvas .leaflet-control-zoom a { border-radius: 0 !important; font: 500 18px/30px var(--tpa-sans); color: var(--tpa-text); }
.tpa-map__hint {
	position: absolute;
	left: 50%;
	bottom: 12px;
	z-index: 500;
	transform: translateX(-50%);
	padding: 8px 14px 7px;
	border-radius: 100px;
	background: rgba(17, 17, 17, 0.8);
	font: 500 12px/1.3 var(--tpa-sans);
	color: #FFFFFF;
	pointer-events: none;
	white-space: nowrap;
}

/* 5. Opiekun ------------------------------------------------------------- */
.tpa-agent { display: flex; align-items: center; gap: 15px; }
.tpa-agent__photo { flex: 0 0 76px; width: 76px; height: 85px; overflow: hidden; background: var(--tpa-line); }
.tpa-agent__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tpa-agent__body { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.tpa-agent__eyebrow { margin-bottom: 7px; }
.tpa-agent__name { font: 500 22px/1.3 var(--tpa-sans); color: var(--tpa-text); }
.tpa-agent__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; }
.tpa-agent__contact a { font: 500 16px/1.4 var(--tpa-sans); color: var(--tpa-text); text-decoration: none; overflow-wrap: break-word; transition: color 0.2s ease; }
.tpa-agent__contact a:hover,
.tpa-agent__contact a:focus-visible { color: var(--tpa-cta); }
.tpa-agent .tpa-btn { margin-top: 14px; align-self: flex-start; }

/* 6. Status -------------------------------------------------------------- */
.tpa-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px 7px;
	border-radius: 100px;
	background: #FFFFFF;
	font: 500 12px/1 var(--tpa-sans);
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--tpa-text);
}
.tpa-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tpa-cta); }
.tpa-status--sprzedana { background: var(--tpa-dark); color: var(--tpa-light); }
.tpa-status--sprzedana::before { background: var(--tpa-light); }

/* 7. Zespół -------------------------------------------------------------- */
.tpa-team {
	--tpa-cols: 4;
	display: grid;
	grid-template-columns: repeat(var(--tpa-cols), minmax(0, 1fr));
	column-gap: 16px;
	row-gap: 36px;
}
.tpa-team__photo {
	position: relative;
	aspect-ratio: 1 / 0.95;
	margin-bottom: 12px;
	overflow: hidden;
	background: var(--tpa-light);
}
.tpa-team__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tpa-team--gray .tpa-team__photo img { filter: grayscale(1); }
.tpa-team__initials {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--tpa-serif);
	font-weight: 400;
	font-size: 64px;
	letter-spacing: -2px;
	color: var(--tpa-cta);
	border-bottom: 3px solid var(--tpa-cta);
}
.tpa-team__name { font: 500 20px/1.3 var(--tpa-sans); color: var(--tpa-text); }
.tpa-team__position { margin-top: 4px; font: 400 14px/1.5 var(--tpa-sans); color: var(--tpa-text2); }
.tpa-team__contact { display: flex; flex-direction: column; margin-top: 6px; }
.tpa-team__contact a { font: 500 14px/1.7 var(--tpa-sans); color: var(--tpa-text); text-decoration: none; overflow-wrap: break-word; }
.tpa-team__contact a:hover { color: var(--tpa-cta); }

/* Okruszki: Helvetica 14 px, #495057, ostatni element #F47622 ----------- */
/* 0.6.0: zawsze jeden wiersz; ostatni element (tytuł) ucina się wielokropkiem. */
.tpa-crumbs ol { display: flex; flex-wrap: nowrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font: 400 14px/1.4 var(--tpa-crumbs); color: var(--tpa-text3); }
.tpa-crumbs li { display: inline-flex; flex: 0 0 auto; align-items: center; min-width: 0; margin: 0; white-space: nowrap; }
.tpa-crumbs li::marker { content: none; }
.tpa-crumbs li + li::before { content: "/"; margin: 0 6px; color: #BDBDBD; }
.tpa-crumbs li:last-child { flex: 1 1 0; min-width: 0; }
.tpa-crumbs a,
.tpa-crumbs span { font: inherit; letter-spacing: 0; color: var(--tpa-text3); text-decoration: none; }
.tpa-crumbs a:hover,
.tpa-crumbs a:focus-visible { color: var(--tpa-cta); }
.tpa-crumbs li:last-child span { color: var(--tpa-cta); }
.tpa-crumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
.tpa-crumbs li:last-child [aria-current] { display: block; flex: 0 1 auto; min-width: 0; max-width: 100%; }
.tpa-crumbs--light a,
.tpa-crumbs--light span { color: #E2E2E2; }
.tpa-crumbs--light li + li::before { color: rgba(255, 255, 255, 0.45); }
.tpa-crumbs--light li:last-child span { color: var(--tpa-cta); }

/* Plakietka nad tytułem karty oferty (klasa ebw-badge w szablonie), 0.6.0 */
body.single-oferta .ebw-badge .elementor-heading-title { background: #23201F !important; color: #F4F4F4 !important; }

/* Oferta sprzedana, media, brak ofert ------------------------------------ */
.tpa-sold { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.tpa-sold__title { font-family: var(--tpa-serif); font-weight: 400; font-size: 30px; line-height: 1.15; letter-spacing: -0.5px; color: var(--tpa-text); }
.tpa-sold__text { margin: 0; font: 400 16px/1.6 var(--tpa-sans); color: var(--tpa-text2); }
.tpa-sold .tpa-btn { margin-top: 6px; }

.tpa-media__video { position: relative; aspect-ratio: 16 / 9; }
.tpa-media__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.tpa-media__links { display: flex; flex-wrap: wrap; gap: 24px; }

.tpa-empty { display: flex; flex-direction: column; align-items: flex-start; padding: 40px 0 20px; }
.tpa-empty__text { margin: 0; font-family: var(--tpa-serif); font-weight: 400; font-size: 40px; line-height: 1.1; letter-spacing: -0.5px; color: var(--tpa-text); }

/* Liczby inwestycji ------------------------------------------------------ */
.tpa-facts { margin: 0; }
.tpa-facts--rows { border-top: 1px solid var(--tpa-line); }
.tpa-facts--rows .tpa-facts__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--tpa-line); }
.tpa-facts--rows .tpa-facts__label { margin: 0; font: 400 16px/1.4 var(--tpa-sans); color: var(--tpa-text2); }
.tpa-facts--rows .tpa-facts__value { margin: 0; font: 500 16px/1.4 var(--tpa-sans); color: var(--tpa-text); text-align: right; }
.tpa-facts--hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.32); }
.tpa-facts--hero .tpa-facts__label { margin: 0; font: 500 13px/1.3 var(--tpa-sans); letter-spacing: 1.5px; text-transform: uppercase; color: #E2E2E2; }
.tpa-facts--hero .tpa-facts__value { margin: 6px 0 0; font-family: var(--tpa-serif); font-weight: 400; font-size: 40px; line-height: 1.1; color: var(--tpa-cta); font-variant-numeric: lining-nums; }

/* Lokale inwestycji: tabela, do 1024 px karty ------------------------------ */
.tpa-units-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.tpa-units-filter[hidden] { display: none; }
.tpa-units-filter button {
	margin: 0;
	padding: 11px 18px 10px;
	border: 0;
	border-radius: 100px;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px var(--tpa-line);
	font: 500 14px/1 var(--tpa-sans);
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--tpa-text);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.tpa-units-filter button:hover,
.tpa-units-filter button:focus { background: #FFFFFF; color: var(--tpa-cta); }
.tpa-units-filter button[aria-pressed="true"],
.tpa-units-filter button[aria-pressed="true"]:hover { background: var(--tpa-dark); box-shadow: none; color: var(--tpa-light); }
.tpa-units-filter button:focus-visible { outline: 2px solid var(--tpa-cta); outline-offset: 3px; }
.tpa-units { background: #FFFFFF; }
.tpa-units__row {
	display: grid;
	grid-template-columns: 0.8fr 0.7fr 1fr 0.9fr 1.1fr 1fr 1.1fr 150px;
	align-items: center;
	gap: 14px;
	padding: 18px 22px;
	border-bottom: 1px solid var(--tpa-line);
	font: 400 16px/1.3 var(--tpa-sans);
	color: var(--tpa-text);
	text-decoration: none;
}
.tpa-units__row[hidden] { display: none; }
.tpa-units__head { font: 600 12px/1.3 var(--tpa-sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--tpa-text2); border-bottom-color: var(--tpa-text); }
.tpa-units__row b { font-weight: 500; }
.tpa-units__no { font-family: var(--tpa-serif); font-size: 24px; line-height: 1; color: var(--tpa-text); font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
/* numer oferty zamiast numeru lokalu (brak pola extListingId): mniejszy, w jednej linii */
.tpa-units__no--long { font-family: var(--tpa-sans); font-size: 14px; font-weight: 500; line-height: 1.3; white-space: nowrap; overflow-wrap: normal; }
.tpa-units__lbl { display: none; font-style: normal; }
.tpa-units__st { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1.3 var(--tpa-sans); letter-spacing: 0.5px; text-transform: uppercase; }
.tpa-units__st::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #2E9E5B; }
.tpa-units__row[data-st="rezerwacja"] .tpa-units__st::before { background: var(--tpa-cta); }
.tpa-units__row[data-st="sprzedana"] .tpa-units__st::before { background: #BDBDBD; }
.tpa-units__row[data-st="sprzedana"],
.tpa-units__row[data-st="sprzedana"] .tpa-units__no { color: #8A8A8A; }
.tpa-units__go { display: inline-flex; justify-content: flex-end; align-items: center; gap: 8px; font: 500 14px/1 var(--tpa-sans); letter-spacing: 0.5px; text-transform: uppercase; color: var(--tpa-cta); }
.tpa-units__go svg { flex: 0 0 auto; width: 11px; height: 11px; }
a.tpa-units__row { transition: background-color 0.2s ease; }
a.tpa-units__row:hover { background: #FAFAFA; color: var(--tpa-text); }
a.tpa-units__row:focus-visible { outline: 2px solid var(--tpa-cta); outline-offset: -2px; }

/* Stany kart: sprzedana ukrywa formularz, brak danych ukrywa bloki. */
body.tp-asari-sold:not(.elementor-editor-active) .tp-asari-hide-sold,
body.tp-asari-no-similar:not(.elementor-editor-active) .tp-asari-hide-no-similar,
body.tp-asari-no-amenities:not(.elementor-editor-active) .tp-asari-hide-no-amenities,
body.tp-asari-no-params:not(.elementor-editor-active) .tp-asari-hide-no-params,
body.tp-asari-no-map:not(.elementor-editor-active) .tp-asari-hide-no-map,
body.tp-asari-no-nearby:not(.elementor-editor-active) .tp-asari-hide-no-nearby,
body.tp-asari-no-units:not(.elementor-editor-active) .tp-asari-hide-no-units,
body.tp-asari-no-photos:not(.elementor-editor-active) .tp-asari-hide-no-photos,
body.tp-asari-no-investments:not(.elementor-editor-active) .tp-asari-hide-no-inv,
body:not(.tp-asari-no-investments):not(.elementor-editor-active) .tp-asari-show-no-inv,
body:not(.tp-asari-has-parent):not(.elementor-editor-active) .tp-asari-show-parent { display: none !important; }

/* Kafel w pętli: tytuł max 2 linie, zdjęcie o stałych proporcjach. */
.tp-asari-tile-title .elementor-heading-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tp-asari-tile-img img { width: 100%; aspect-ratio: 290 / 205; object-fit: cover; display: block; }
.tp-asari-tile-status { position: absolute; top: 14px; left: 14px; z-index: 2; width: auto !important; }
.tp-asari-tile-status:empty,
.tp-asari-tile-status .elementor-widget-container:empty { display: none; }

/* Tablet i telefon -------------------------------------------------------- */
@media (max-width: 1024px) {
	.tpa-title { font-size: 36px; }
	.tpa-keys,
	.tpa-keys--n4,
	.tpa-keys:not(.tpa-keys--n1):not(.tpa-keys--n2) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tpa-keys__item:nth-child(5n+1) { padding-left: 24px; border-left: 1px solid var(--tpa-line); }
	.tpa-keys__item:nth-child(n+6) { border-top: 0; }
	.tpa-keys__item:nth-child(3n+1) { padding-left: 0; border-left: 0; }
	.tpa-keys__item:nth-child(n+4) { border-top: 1px solid var(--tpa-line); }
	.tpa-keys__value { font-size: 20px; }
	.tpa-units-filter { margin-bottom: 4px; }
	.tpa-units { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; background: transparent; }
	.tpa-units__head { display: none; }
	.tpa-units__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; padding: 20px; border: 0; background: #FFFFFF; }
	.tpa-units__lbl { display: block; margin-bottom: 3px; font: 600 11px/1.3 var(--tpa-sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--tpa-text2); }
	.tpa-units__row > :first-child,
	.tpa-units__row > :last-child { grid-column: 1 / -1; }
	.tpa-units__go { justify-content: flex-start; }
	.tpa-units__row > .tpa-units__go:empty,
	.tpa-units__cell--empty { display: none; }
	.tpa-facts--hero .tpa-facts__value { font-size: 34px; }
}
@media (max-width: 767px) {
	.tpa-title { font-size: 28px; margin-bottom: 20px; }
	.tpa-gallery--mosaic,
	.tpa-gallery--mosaic.tpa-gallery--h {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto;
		aspect-ratio: auto;
		height: auto;
	}
	.tpa-gallery--mosaic .tpa-gallery__lead { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
	.tpa-gallery--mosaic .tpa-gallery__thumb { aspect-ratio: 3 / 2; }
	.tpa-gallery--mosaic.tpa-count-1 { grid-template-columns: minmax(0, 1fr); }
	.tpa-gallery--mosaic.tpa-count-2 .tpa-gallery__thumb { grid-column: 1 / -1; grid-row: auto; }
	.tpa-gallery__actions { left: 10px; bottom: 10px; gap: 6px; max-width: calc(100% - 20px); }
	.tpa-gallery__actions--end { left: auto; right: 8px; bottom: 8px; }
	.tpa-gallery .tpa-pill { padding: 9px 12px 8px; font-size: 10px; letter-spacing: 0.5px; }
	.tpa-gallery--strip,
	.tpa-gallery--strip.tpa-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tpa-gallery--strip .tpa-gallery__cell:first-child { grid-column: 1 / -1; }
	.tpa-keys,
	.tpa-keys--n3,
	.tpa-keys--n4,
	.tpa-keys:not(.tpa-keys--n1),
	.tpa-keys:not(.tpa-keys--n1):not(.tpa-keys--n2) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tpa-keys__item,
	.tpa-keys__item:nth-child(5n+1),
	.tpa-keys__item:nth-child(3n+1) { padding: 16px 12px 14px 16px; border-left: 1px solid var(--tpa-line); border-top: 0; }
	.tpa-keys__item:nth-child(odd) { padding-left: 0; border-left: 0; }
	.tpa-keys__item:nth-child(n+3) { border-top: 1px solid var(--tpa-line); }
	.tpa-keys__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.tpa-keys__value { font-size: 18px; }
	.tpa-params { column-gap: 0; }
	.tpa-amenities { gap: 14px 24px; }
	/* karta oferty: udogodnienia w 2 kolumnach niezależnie od kontrolki kolumn widgetu (0.6.0) */
	body.single-oferta .tpa-amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
	body.single-oferta .tpa-amenities__item { gap: 10px; }
	.tpa-team { column-gap: 12px; row-gap: 28px; }
	.tpa-team__name { font-size: 18px; }
	.tpa-team__initials { font-size: 44px; }
	.tpa-sold__title,
	.tpa-empty__text { font-size: 26px; }
	.tpa-units { grid-template-columns: minmax(0, 1fr); }
	.tpa-facts--hero { gap: 20px 24px; }
	.tpa-facts--hero .tpa-facts__value { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.tpa-gallery img { transition: none; }
}

/* ------------------------------------------------------------------ */
/* Wyszukiwarka (widget „ASARI: filtry”), runda 3.                      */
/* Wygląd „makieta”: pasek z listy ofert i strony głównej (Montserrat). */
/* Wygląd „ebw”: pasek z roboczej strony głównej (od 0.4.0 Montserrat). */
/* ------------------------------------------------------------------ */
.tpa-search {
	--tpa-s-font: var(--tpa-sans);
	--tpa-s-gap: 15px;
	position: relative;
	z-index: 20;
	font-family: var(--tpa-s-font);
	color: var(--tpa-text);
	text-align: left;
}
.tpa-search *,
.tpa-search *::before,
.tpa-search *::after { box-sizing: border-box; }
.tpa-search [hidden] { display: none !important; }
.tpa-search__form { margin: 0; }

/* Reset przycisków z Hello Theme i kitu Elementora. */
.tpa-search .tpa-search__tab,
.tpa-search .tpa-search__trigger,
.tpa-search .tpa-search__opt,
.tpa-search .tpa-search__reset,
.tpa-search .tpa-search__btn,
.tpa-search .tpa-link {
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: none;
	color: inherit;
	font-family: var(--tpa-s-font);
	text-transform: none;
	letter-spacing: normal;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

/* Zakładki */
.tpa-search__tabs { display: flex; }
.tpa-search .tpa-search__tab {
	position: relative;
	padding: 12px 22px;
	background: var(--tpa-light);
	color: var(--tpa-text2);
	font: 700 11px/1.3 var(--tpa-s-font);
	letter-spacing: 1px;
	text-transform: uppercase;
}
.tpa-search .tpa-search__tab:hover,
.tpa-search .tpa-search__tab:focus-visible { background: #EAEAEA; color: var(--tpa-text); }
.tpa-search .tpa-search__tab.is-active,
.tpa-search .tpa-search__tab.is-active:hover { background: #FFFFFF; color: var(--tpa-text); box-shadow: inset 0 2px 0 var(--tpa-cta); }
.tpa-search.tpa-search--dark-tabs .tpa-search__tab { background: rgba(9, 9, 9, 0.72); color: #FFFFFF; }
.tpa-search.tpa-search--dark-tabs .tpa-search__tab:hover,
.tpa-search.tpa-search--dark-tabs .tpa-search__tab:focus-visible { background: rgba(9, 9, 9, 0.88); color: #FFFFFF; }
.tpa-search.tpa-search--dark-tabs .tpa-search__tab.is-active,
.tpa-search.tpa-search--dark-tabs .tpa-search__tab.is-active:hover { background: #FFFFFF; color: var(--tpa-text); }
.tpa-search--makieta.tpa-search--tabs:not(.tpa-search--dark-tabs) .tpa-search__tab { border: 1px solid transparent; border-bottom: 0; margin-bottom: -1px; }
.tpa-search--makieta.tpa-search--tabs:not(.tpa-search--dark-tabs) .tpa-search__tab.is-active { border-color: var(--tpa-line); z-index: 1; }

/* Pasek */
.tpa-search__bar {
	position: relative;
	display: flex;
	align-items: center;
	padding: 14px;
	background: #FFFFFF;
	border: 1px solid var(--tpa-line);
}
.tpa-search__field { flex: 1 1 0; min-width: 0; padding: 0 18px; border-right: 1px solid var(--tpa-line); }
.tpa-search__field:nth-child(4) { border-right: 0; }
.tpa-search .tpa-search__trigger {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
	padding: 0;
	text-align: left;
	color: var(--tpa-text);
}
.tpa-search .tpa-search__trigger:hover,
.tpa-search .tpa-search__trigger:focus { background: none; color: var(--tpa-text); }
.tpa-search .tpa-search__trigger:focus-visible { outline: 1px solid var(--tpa-cta); outline-offset: 6px; }
.tpa-search__label { font: 700 10px/14px var(--tpa-s-font); letter-spacing: 1px; text-transform: uppercase; color: var(--tpa-text2); }
.tpa-search__value { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; min-width: 0; font: 700 13px/19.5px var(--tpa-s-font); color: var(--tpa-text); }
.tpa-search__value-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpa-search__chev { flex: 0 0 auto; width: 10px; height: 12px; color: var(--tpa-text2); transition: transform 0.2s ease; }
.tpa-search__field.is-open .tpa-search__chev { transform: rotate(180deg); }

.tpa-search .tpa-search__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 22px 20px;
	background: var(--tpa-cta);
	color: #090909;
	font: 700 12px/1.2 var(--tpa-s-font);
	text-decoration: none;
}
.tpa-search .tpa-search__btn:hover,
.tpa-search .tpa-search__btn:focus-visible { background: #FF8A42; color: #090909; }
.tpa-search__arrow { flex: 0 0 auto; width: 12px; height: 14px; }
.tpa-search.is-loading .tpa-search__btn { cursor: progress; }

/* 0.6.0: siedem pól (pokoje, rynek, piętro): od 768 px siatka 4 kolumn w dwóch rzędach,
   w drugim rzędzie pokoje, rynek, piętro i przycisk. Szerokości pól z innych arkuszy
   (flex, min-width) nie rozpychają paska, bo w siatce decyduje kolumna. */
@media (min-width: 768px) {
	.tpa-search--extra .tpa-search__bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; align-items: center; }
	.tpa-search--extra .tpa-search__field { min-width: 0; }
	.tpa-search--extra .tpa-search__field:nth-child(n+5) { padding-top: 14px; border-top: 1px solid var(--tpa-line); }
	.tpa-search--extra .tpa-search__field:nth-child(7) { border-right: 0; }
	.tpa-search--extra .tpa-search__bar > .tpa-search__btn { grid-column: 4; justify-self: end; align-self: end; margin-top: 0; }
}

/* Panele */
.tpa-search__panel {
	position: absolute;
	z-index: 30;
	margin-top: var(--tpa-s-gap);
	background: #FFFFFF;
	border: 1px solid var(--tpa-line);
}
.tpa-search__panel.is-up { margin-top: calc(var(--tpa-s-gap) * -1); }
.tpa-search__panel--list { max-height: 340px; overflow-y: auto; padding: 8px 0; overscroll-behavior: contain; }
.tpa-search .tpa-search__opt {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 10px 18px;
	text-align: left;
	font: 700 13px/1.4 var(--tpa-s-font);
	color: var(--tpa-text);
	white-space: normal;
}
.tpa-search .tpa-search__opt--child { padding-left: 34px; font-weight: 500; }
.tpa-search .tpa-search__opt:hover,
.tpa-search .tpa-search__opt:focus { background: var(--tpa-light); color: var(--tpa-text); outline: 0; }
.tpa-search .tpa-search__opt:focus-visible { box-shadow: inset 2px 0 0 var(--tpa-text); }
.tpa-search .tpa-search__opt[aria-selected="true"] { color: var(--tpa-cta); }
.tpa-search__opt-count { flex: 0 0 auto; font-weight: 500; font-size: 11px; color: var(--tpa-text2); }
/* pokoje: wielokrotny wybór, zaznaczone z ptaszkiem przed nazwą */
.tpa-search .tpa-search__opt--multi .tpa-search__opt-name { display: inline-flex; align-items: center; gap: 10px; }
.tpa-search .tpa-search__opt--multi .tpa-search__opt-name::before { content: ""; flex: 0 0 auto; width: 14px; height: 14px; border: 1px solid var(--tpa-line); background: #FFFFFF; }
.tpa-search .tpa-search__opt--multi[aria-selected="true"] .tpa-search__opt-name::before { border-color: var(--tpa-cta); background: var(--tpa-cta) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 12 12%22%3E%3Cpath d=%22M2.5 6.2 5 8.6 9.6 3.4%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%221.6%22/%3E%3C/svg%3E") no-repeat center / 12px 12px; }

.tpa-search__panel--range { padding: 16px 18px; }
.tpa-search__range { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tpa-search__num { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.tpa-search__num-l { font: 700 10px/14px var(--tpa-s-font); letter-spacing: 1px; text-transform: uppercase; color: var(--tpa-text2); }
.tpa-search__num-box { display: flex; align-items: center; height: 44px; border: 1px solid var(--tpa-line); background: #FFFFFF; transition: border-color 0.2s ease; }
.tpa-search__num-box:focus-within { border-color: var(--tpa-cta); }
.tpa-search .tpa-search__num-box input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0 0 0 12px;
	border: 0;
	border-radius: 0;
	outline: 0;
	box-shadow: none;
	background: transparent;
	font: 700 13px/1.2 var(--tpa-s-font);
	color: var(--tpa-text);
	font-variant-numeric: tabular-nums;
}
.tpa-search__unit { flex: 0 0 auto; padding: 0 12px 0 6px; font: 500 12px/1 var(--tpa-s-font); color: var(--tpa-text2); }
.tpa-search .tpa-search__reset { margin-top: 14px; padding: 0 0 4px; border-bottom: 1px solid var(--tpa-line); font: 700 10px/14px var(--tpa-s-font); letter-spacing: 1px; text-transform: uppercase; color: var(--tpa-text2); }
.tpa-search .tpa-search__reset:hover,
.tpa-search .tpa-search__reset:focus-visible { background: none; color: var(--tpa-cta); border-color: var(--tpa-cta); }

/* Licznik i sortowanie (tryb lista) */
.tpa-search__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin: 26px 0 14px; }
.tpa-search__count { margin: 0; font: 400 12px/1.5 var(--tpa-s-font); color: var(--tpa-text2); }
/* Fraza z adresu (?szukaj=): pigułka obok licznika, krzyżyk usuwa frazę */
.tpa-search__phrase { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto 0 0; padding: 3px 4px 3px 12px; border: 1px solid var(--tpa-line); border-radius: 100px; font: 400 12px/1.5 var(--tpa-s-font); color: var(--tpa-text2); }
.tpa-search__phrase strong { font-weight: 600; color: var(--tpa-text); }
.tpa-search .tpa-search__phrase-del { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; font: 400 16px/1 var(--tpa-s-font); color: var(--tpa-text2); cursor: pointer; }
.tpa-search .tpa-search__phrase-del:hover,
.tpa-search .tpa-search__phrase-del:focus-visible { background: var(--tpa-light); color: var(--tpa-cta); }
.tpa-search__sort { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 400 12px/1.5 var(--tpa-s-font); color: var(--tpa-text2); }
.tpa-search .tpa-search__sort select {
	-webkit-appearance: none;
	appearance: none;
	width: auto;
	height: auto;
	margin: 0;
	padding: 4px 22px 4px 0;
	border: 0;
	border-bottom: 1px solid var(--tpa-line);
	border-radius: 0;
	box-shadow: none;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 448 512%22%3E%3Cpath fill=%22%23535353%22 d=%22M207 381.5L12.7 187.1c-9.4-9.4-9.4-24.6 0-33.9l22.7-22.7c9.4-9.4 24.5-9.4 33.9 0L224 284.5l154.7-154c9.4-9.3 24.5-9.3 33.9 0l22.7 22.7c9.4 9.4 9.4 24.6 0 33.9L241 381.5c-9.4 9.4-24.6 9.4-34 0z%22/%3E%3C/svg%3E") no-repeat right 2px center / 10px 12px;
	font: 700 12px/1.5 var(--tpa-s-font);
	color: var(--tpa-text);
	cursor: pointer;
}
.tpa-search .tpa-search__sort select:focus { border-bottom-color: var(--tpa-cta); outline: 0; }

/* Brak wyników i błąd sieci */
.tpa-search__empty { padding: 26px 0 40px; }
.tpa-search__empty-text { margin: 14px 0 24px; font: 400 14px/1.6 var(--tpa-s-font); color: var(--tpa-text2); }
.tpa-search .tpa-search__clear { padding: 20px 24px; }
.tpa-search__empty .tpa-search__rent-text { max-width: 900px; font-size: 30px; line-height: 1.25; }
.tpa-search__rent-tpl { margin-top: 32px; }
.tpa-search__error { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 0 0 14px; padding: 12px 16px; background: var(--tpa-light); border-left: 2px solid var(--tpa-cta); }
.tpa-search__error p { margin: 0; font: 500 13px/1.5 var(--tpa-s-font); color: var(--tpa-text); }
.tpa-search .tpa-search__error .tpa-link { margin-top: 0; padding: 0 0 4px; border-bottom: 1px solid var(--tpa-cta); font: 700 12px/1.2 var(--tpa-s-font); }

/* Siatka w trakcie ładowania */
.tpa-grid-loading .elementor-loop-container,
.tpa-grid-loading .elementor-pagination { opacity: 0.4; pointer-events: none; transition: opacity 0.2s ease; }

/* Wygląd EBW (pasek na zdjęciu hero), krój jak w całej wtyczce */
.tpa-search--ebw { --tpa-s-font: var(--tpa-sans); --tpa-s-gap: 0px; }
.tpa-search.tpa-search--ebw .tpa-search__tab { padding: 15px 28px; font: 500 15px/18px var(--tpa-s-font); letter-spacing: 0.4px; }
.tpa-search--ebw .tpa-search__tab.is-active,
.tpa-search--ebw .tpa-search__tab.is-active:hover { color: #090909; box-shadow: inset 0 3px 0 var(--tpa-cta); }
.tpa-search--ebw .tpa-search__bar { align-items: stretch; padding: 0; border: 0; min-height: 92px; }
.tpa-search--ebw .tpa-search__field { display: flex; flex-direction: column; justify-content: center; padding: 14px 23px 6px; }
.tpa-search--ebw .tpa-search__field:nth-child(4) { border-right: 1px solid var(--tpa-line); }
.tpa-search--ebw .tpa-search__trigger { gap: 5px; }
.tpa-search--ebw .tpa-search__label { font: 600 13px/1.3 var(--tpa-s-font); letter-spacing: 1.5px; }
.tpa-search--ebw .tpa-search__value { font: 400 17px/1.4 var(--tpa-s-font); color: #111111; }
.tpa-search--ebw .tpa-search__chev { display: none; }
.tpa-search--ebw .tpa-search__value::after {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin: -5px 3px 0 0;
	border-right: 1.5px solid #111111;
	border-bottom: 1.5px solid #111111;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}
.tpa-search--ebw .tpa-search__field.is-open .tpa-search__value::after { transform: rotate(225deg); margin-top: 5px; }
.tpa-search.tpa-search--ebw .tpa-search__btn { flex: 0 0 205px; gap: 14px; padding: 14px 37px; font: 500 15px/18px var(--tpa-s-font); text-transform: uppercase; }
.tpa-search--ebw .tpa-search__arrow { width: 11px; height: 11px; }
.tpa-search.tpa-search--ebw .tpa-search__opt { font: 400 16px/1.4 var(--tpa-s-font); }
.tpa-search.tpa-search--ebw .tpa-search__opt--child { color: #535353; }
.tpa-search.tpa-search--ebw .tpa-search__opt--child[aria-selected="true"] { color: var(--tpa-cta); }
.tpa-search--ebw .tpa-search__opt-count { font-size: 13px; font-weight: 400; }
.tpa-search--ebw .tpa-search__num-l { font: 600 12px/1.3 var(--tpa-s-font); letter-spacing: 1.5px; }
.tpa-search.tpa-search--ebw .tpa-search__reset { font: 600 12px/1.3 var(--tpa-s-font); letter-spacing: 1.5px; }
.tpa-search.tpa-search--ebw .tpa-search__num-box input { font: 400 16px/1.2 var(--tpa-s-font); }
.tpa-search--ebw .tpa-search__unit { font: 400 14px/1 var(--tpa-s-font); }

@media (max-width: 1024px) {
	.tpa-search__bar { flex-wrap: wrap; }
	.tpa-search .tpa-search__btn { flex: 0 0 100%; margin-top: 14px; }
	.tpa-search--ebw .tpa-search__field { flex: 0 0 50%; min-height: 84px; border-bottom: 1px solid var(--tpa-line); }
	.tpa-search--ebw .tpa-search__field:nth-child(2n) { border-right: 0; }
	.tpa-search.tpa-search--ebw .tpa-search__btn { flex: 0 0 100%; margin-top: 0; min-height: 58px; }
}
@media (max-width: 767px) {
	.tpa-search { --tpa-s-gap: 1px; }
	.tpa-search .tpa-search__tab { flex: 1 1 0; padding: 12px 10px; text-align: center; }
	.tpa-search.tpa-search--ebw .tpa-search__tab { padding: 15px 10px; }
	.tpa-search__value { gap: 4px; }
	.tpa-search__bar { padding: 6px 10px 10px; }
	.tpa-search__field { flex: 0 0 50%; padding: 10px 6px; border-right: 0; border-bottom: 1px solid var(--tpa-line); }
	.tpa-search .tpa-search__btn { justify-content: space-between; margin-top: 12px; }
	.tpa-search--ebw .tpa-search__bar { flex-direction: column; padding: 0; }
	.tpa-search--ebw .tpa-search__field,
	.tpa-search--ebw .tpa-search__field:nth-child(2n) { flex: none; min-height: 84px; padding: 14px 14px 6px; border-right: 0; }
	.tpa-search.tpa-search--ebw .tpa-search__btn { flex: none; justify-content: center; margin-top: 0; padding: 14px 22px; }
	.tpa-search__meta { margin: 20px 0 12px; }
	.tpa-search__range { grid-template-columns: 1fr; }
	.tpa-search .tpa-search__clear { width: 100%; justify-content: space-between; }
	.tpa-search__empty .tpa-search__rent-text { font-size: 22px; }
	.tpa-search__rent-tpl { margin-top: 24px; }
	/* siedem pól po dwa w rzędzie: ostatnie (piętro) na całą szerokość */
	.tpa-search--extra .tpa-search__field:nth-child(7) { flex-basis: 100%; }
}
