/* =========================================================
   Lokale – Wyszukiwarka Mieszkań – style frontowe

   IZOLACJA OD MOTYWU: .lokale-wrapper używa "all: initial", żeby
   odciąć dziedziczenie jakichkolwiek stylów motywu (czcionka, kolory,
   odstępy, itp.). Przyciski, linki, pola formularzy i nagłówki mają
   dodatkowo swój własny, konkretny selektor (.lokale-wrapper +
   własna klasa, np. ".lokale-wrapper .lokale-btn--czarny") na wypadek,
   gdyby motyw stylował je bezpośrednio przez ogólny tag (np. "button"
   albo "a:hover") - taki selektor ma wyższą specyficzność niż
   pojedynczy tag czy nawet typowe ".entry-content button" z motywu,
   więc wygrywa bez potrzeby użycia !important. Nigdzie w tym pliku
   nie ma !important, żeby Twój „Własny CSS” zawsze mógł normalnie
   nadpisać domyślny wygląd zwykłą regułą CSS.

   Chcesz zmienić wygląd? Zostaw ten plik bez zmian i w Lokale →
   Ustawienia → „Własny CSS” napisz regułę z takim samym selektorem
   (np. ".lokale-wrapper .lokale-btn--czarny { background: #003366; }")
   - Twoje style ładują się na końcu, więc przy tej samej specyficzności
   automatycznie wygrywają.
   ========================================================= */

.lokale-wrapper {
	all: initial;
	display: block;
	box-sizing: border-box;

	--lokale-text: #16181a;
	--lokale-text-muted: #9a9fa6;
	--lokale-text-faint: #c2c5ca;
	--lokale-border: #e5e6e8;
	--lokale-bg: #ffffff;
	--lokale-bg-hover: #f6f6f7;
	--lokale-accent: #16181a;
	--lokale-divider: #c7c7c7;
	--lokale-naglowek-bg: #8a8a8a;
	--lokale-naglowek-text: #ffffff;

	--lokale-wolne-bg: #dcf2e1;
	--lokale-wolne-text: #1e7a3b;
	--lokale-zarezerwowane-bg: #fdecc8;
	--lokale-zarezerwowane-text: #92650b;
	--lokale-sprzedane-bg: #f1d4d4;
	--lokale-sprzedane-text: #a13333;

	--lokale-radius: 6px;
	--lokale-radius-sm: 4px;
	--lokale-gap: 32px;
	--lokale-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	font-family: var(--lokale-font);
	font-size: 15px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.5;
	color: var(--lokale-text);
	text-align: left;
	direction: ltr;
	max-width: 1400px;
	margin: 0 auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Kompatybilność z Elementorem: kontenery Elementora ("e-con") układają
   swoje widgety we flexboksie i celowo zerują min-width na widgecie
   (".e-con .elementor-widget { min-width: 0; }"), żeby mogły się kurczyć.
   To razem z flex-shrink potrafi zostawić widget węższy niż realnie
   dostępne miejsce w wierszu. Naprawiamy to wyłącznie na widgecie, który
   faktycznie zawiera [lokale] - nie dotyka to żadnych innych widgetów na
   stronie. Podwojona klasa zamiast !important, żeby pewnie wygrać z
   regułą Elementora bez podbijania priorytetu ponad to, co konieczne. */
.elementor-widget.elementor-widget:has(.lokale-wrapper) {
	min-width: 100%;
}

.lokale-wrapper *,
.lokale-wrapper *::before,
.lokale-wrapper *::after {
	box-sizing: inherit;
	margin: 0;
	padding: 0;
}

/* Ogólny reset elementów formularza/przycisków (niska specyficzność:
   .lokale-wrapper + sam tag) - łapie motywy stylujące te tagi wprost.
   Każdy konkretny przycisk/pole w dalszej części pliku ma WYŻSZĄ
   specyficzność (.lokale-wrapper + własna klasa), więc normalnie,
   bez !important, nadpisuje ten ogólny reset tam, gdzie ma inny kolor
   czy tło - o kolejności decyduje sama specyficzność CSS. */
.lokale-wrapper button,
.lokale-wrapper input,
.lokale-wrapper select,
.lokale-wrapper textarea {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.lokale-wrapper button {
	line-height: 1.25;
}

.lokale-wrapper button,
.lokale-wrapper select {
	cursor: pointer;
}

.lokale-wrapper a {
	color: inherit;
	text-decoration: none;
	background: transparent;
	padding: 0;
	margin: 0;
	cursor: pointer;
}

.lokale-wrapper h1,
.lokale-wrapper h2,
.lokale-wrapper h3,
.lokale-wrapper h4,
.lokale-wrapper h5,
.lokale-wrapper h6,
.lokale-wrapper p,
.lokale-wrapper span,
.lokale-wrapper strong,
.lokale-wrapper label {
	font-family: inherit;
	font-weight: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
	text-align: inherit;
}

.lokale-wrapper ul,
.lokale-wrapper ol {
	list-style: none;
}

.lokale-wrapper img {
	max-width: 100%;
	border: 0;
	vertical-align: middle;
}

.lokale-wrapper table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}

.lokale-wrapper th,
.lokale-wrapper td {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	text-align: left;
	vertical-align: middle;
	border: 0;
	padding: 0;
	margin: 0;
	background: transparent;
}

.lokale-wrapper :focus-visible {
	outline: 2px solid var(--lokale-accent);
	outline-offset: 2px;
}

.lokale-wrapper .lokale-tytul {
	font-size: 32px;
	font-weight: 600;
	margin: 0 0 28px;
	letter-spacing: -0.01em;
}

/* ---------- Pasek filtrów ---------- */

.lokale-wrapper .lokale-filtry {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px;
	padding-top: 8px;
}

.lokale-wrapper .lokale-filtr-grupa {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lokale-wrapper .lokale-filtr-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--lokale-text-muted);
}

.lokale-wrapper .lokale-pokoje-przyciski {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.lokale-wrapper .lokale-pokoj-btn {
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 1px solid var(--lokale-border);
	border-radius: var(--lokale-radius-sm);
	background: var(--lokale-bg);
	color: var(--lokale-text);
	font-size: 15px;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lokale-wrapper .lokale-pokoj-btn:hover,
.lokale-wrapper .lokale-pokoj-btn:focus {
	border: 1px solid var(--lokale-text-faint);
	background: var(--lokale-bg);
	color: var(--lokale-text);
}

.lokale-wrapper .lokale-pokoj-btn:focus-visible {
	outline: 2px solid var(--lokale-accent);
	outline-offset: 2px;
}

.lokale-wrapper .lokale-pokoj-btn.is-active {
	background: var(--lokale-accent);
	border: 1px solid var(--lokale-accent);
	color: #fff;
}

.lokale-wrapper .lokale-pokoj-btn.is-active:hover,
.lokale-wrapper .lokale-pokoj-btn.is-active:focus {
	opacity: 0.85;
	background: var(--lokale-accent);
	border: 1px solid var(--lokale-accent);
	color: #fff;
}

.lokale-wrapper .lokale-pokoj-btn.is-active:focus-visible {
	outline: 2px solid var(--lokale-accent);
	outline-offset: 2px;
}

.lokale-wrapper .lokale-brak-opcji {
	color: var(--lokale-text-faint);
	font-size: 14px;
	padding-top: 10px;
}

.lokale-wrapper .lokale-zakres {
	display: flex;
	gap: 8px;
}

.lokale-wrapper .lokale-select-wrap {
	position: relative;
}

.lokale-wrapper .lokale-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 92px;
	height: 44px;
	padding: 0 30px 0 14px;
	margin: 0;
	border: 1px solid var(--lokale-border);
	border-radius: var(--lokale-radius-sm);
	background: var(--lokale-bg);
	font-size: 14px;
	color: var(--lokale-text);
}

.lokale-wrapper .lokale-select-chevron {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	font-size: 11px;
	color: var(--lokale-text-faint);
	pointer-events: none;
}

.lokale-wrapper .lokale-select:hover,
.lokale-wrapper .lokale-select:focus {
	border: 1px solid var(--lokale-text-faint);
	background: var(--lokale-bg);
	color: var(--lokale-text);
}

.lokale-wrapper .lokale-select:focus-visible {
	outline: 2px solid var(--lokale-accent);
	outline-offset: 2px;
}

/* ---------- Zapamiętane oferty ---------- */

.lokale-wrapper .lokale-ulubione-info {
	margin: 0 0 0 auto;
	align-self: center;
	display: flex;
	align-items: center;
	gap: 14px;
	border: none;
	background: transparent;
	padding: 8px 10px;
	border-radius: var(--lokale-radius-sm);
	font-size: 14px;
	color: var(--lokale-text);
	transition: background 0.15s ease;
}

.lokale-wrapper .lokale-ulubione-info:hover,
.lokale-wrapper .lokale-ulubione-info:focus,
.lokale-wrapper .lokale-ulubione-info.is-active {
	background: var(--lokale-bg-hover);
	color: var(--lokale-text);
	border: none;
}

.lokale-wrapper .lokale-ulubione-info:focus-visible {
	outline: 2px solid var(--lokale-accent);
	outline-offset: 2px;
}

.lokale-wrapper .lokale-ulubione-info.is-active:hover,
.lokale-wrapper .lokale-ulubione-info.is-active:focus {
	background: var(--lokale-border);
	color: var(--lokale-text);
	border: none;
}

.lokale-wrapper .lokale-serce-licznik {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--lokale-accent);
	margin: 0;
	padding: 0;
}

.lokale-wrapper .lokale-serce-licznik .lokale-serce-ikona {
	font-size: 15px;
	color: #fff;
}

.lokale-wrapper .lokale-ulubione-count {
	position: absolute;
	bottom: -6px;
	right: -6px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	margin: 0;
	border-radius: 9px;
	background: #fff;
	border: 1px solid var(--lokale-border);
	color: var(--lokale-text);
	font-size: 11px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lokale-wrapper .lokale-divider {
	border: none;
	border-top: 1px solid var(--lokale-divider);
	margin: 28px 0 20px;
}

/* ---------- Pasek kontrolek: Pokaż / Sortuj / widok ---------- */

.lokale-wrapper .lokale-kontrolki {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 28px;
}

.lokale-wrapper .lokale-kontrolki__prawa {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-left: auto;
}

.lokale-wrapper .lokale-dropdown {
	position: relative;
}

.lokale-wrapper .lokale-dropdown__toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: none;
	border-radius: var(--lokale-radius-sm);
	padding: 6px 4px;
	margin: 0;
	font-size: 14px;
	color: var(--lokale-text);
	transition: background 0.15s ease;
}

.lokale-wrapper .lokale-dropdown__toggle:hover,
.lokale-wrapper .lokale-dropdown__toggle:focus {
	background: var(--lokale-bg-hover);
	color: var(--lokale-text);
	border: none;
}

.lokale-wrapper .lokale-dropdown__toggle:focus-visible {
	outline: 2px solid var(--lokale-accent);
	outline-offset: 2px;
}

.lokale-wrapper .lokale-dropdown.is-open .lokale-dropdown__toggle {
	background: var(--lokale-bg-hover);
	color: var(--lokale-text);
	border: none;
}

.lokale-wrapper .lokale-dropdown__label {
	color: var(--lokale-text-muted);
}

.lokale-wrapper .lokale-dropdown__value {
	font-weight: 500;
	color: var(--lokale-text);
}

.lokale-wrapper .lokale-dropdown__chevron {
	font-size: 11px;
	color: var(--lokale-text-muted);
	transition: transform 0.15s ease;
}

.lokale-wrapper .lokale-dropdown.is-open .lokale-dropdown__chevron {
	transform: rotate(180deg);
}

.lokale-wrapper .lokale-dropdown__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 230px;
	background: #fff;
	border: 1px solid var(--lokale-border);
	border-radius: var(--lokale-radius);
	box-shadow: 0 10px 30px rgba(16, 18, 20, 0.1);
	list-style: none;
	margin: 0;
	padding: 8px 0;
	z-index: 30;
	display: none;
}

.lokale-wrapper .lokale-dropdown.is-open .lokale-dropdown__menu {
	display: block;
}

.lokale-wrapper .lokale-dropdown__menu li {
	padding: 10px 16px;
	margin: 0;
	font-size: 14px;
	color: var(--lokale-text);
	white-space: nowrap;
	cursor: pointer;
	background: transparent;
}

.lokale-wrapper .lokale-dropdown__menu li:hover {
	background: var(--lokale-bg-hover);
	color: var(--lokale-text);
}

.lokale-wrapper .lokale-dropdown__menu li.is-active {
	font-weight: 600;
}

.lokale-wrapper .lokale-widok-toggle {
	display: flex;
	gap: 6px;
}

.lokale-wrapper .lokale-widok-btn {
	width: 34px;
	height: 34px;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: var(--lokale-radius-sm);
	background: transparent;
	color: var(--lokale-text-faint);
}

.lokale-wrapper .lokale-widok-btn i {
	font-size: 15px;
}

.lokale-wrapper .lokale-widok-btn:hover,
.lokale-wrapper .lokale-widok-btn:focus {
	color: var(--lokale-text-muted);
	background: transparent;
	border: 1px solid transparent;
}

.lokale-wrapper .lokale-widok-btn:focus-visible {
	outline: 2px solid var(--lokale-accent);
	outline-offset: 2px;
}

.lokale-wrapper .lokale-widok-btn.is-active {
	color: var(--lokale-accent);
	border: 1px solid var(--lokale-border);
	background: var(--lokale-bg-hover);
}

.lokale-wrapper .lokale-widok-btn.is-active:hover,
.lokale-wrapper .lokale-widok-btn.is-active:focus {
	background: var(--lokale-border);
	color: var(--lokale-accent);
	border: 1px solid var(--lokale-border);
}

/* ---------- Widok tabeli ---------- */

.lokale-wrapper .lokale-tabela-scroll {
	overflow-x: auto;
	border: 1px solid var(--lokale-border);
	border-radius: var(--lokale-radius);
}

.lokale-wrapper .lokale-tabela {
	width: 100%;
	min-width: 1040px;
	table-layout: fixed;
	font-size: 13px;
}

.lokale-wrapper .lokale-tabela thead {
	background: var(--lokale-naglowek-bg);
}

/* Selektor motywu, który to nadpisuje, bywa zbudowany z wielu tagów
   naraz (np. reset.css: "table thead:first-child tr:first-child th"
   ma aż 4 tagi), więc mimo że my mamy 2 klasy a on 0, w specyficzności
   CSS liczba klas i tak wygrywa z liczbą tagów DOPIERO gdy klas mamy
   więcej - w tym konkretnym przypadku obie strony miały po 2 "jednostki
   klasowe" (u nas 2 klasy, u motywu 2x :first-child), więc o wygranej
   decydowała dalsza liczba tagów - a tam motyw miał więcej. Zamiast
   !important, celowo powtarzamy .lokale-wrapper (poprawny, choć rzadko
   spotykany sposób na podniesienie liczby klas w selektorze o 1, bez
   zmiany dopasowywanych elementów) - dzięki temu mamy 3 klasy i wygrywamy
   zwykłą specyficznością, niezależnie od tego ile tagów ma reguła motywu. */
.lokale-wrapper.lokale-wrapper .lokale-tabela th {
	padding: 12px 10px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--lokale-naglowek-text);
	border-top: 0;
	border-block-start: 0;
	border-bottom: 1px solid var(--lokale-border);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
}

.lokale-wrapper .lokale-tabela td {
	padding: 10px 10px;
	border-bottom: 1px solid var(--lokale-border);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--lokale-text);
}

.lokale-wrapper .lokale-tabela__wiersz:last-child td {
	border-bottom: 0;
}

.lokale-wrapper .lokale-tabela__wiersz:hover {
	background: var(--lokale-bg-hover);
}

.lokale-wrapper .lokale-tabela__kol-lokal {
	width: 97px;
}

.lokale-wrapper .lokale-tabela__kol-lokal strong {
	font-weight: 600;
}

.lokale-wrapper .lokale-tabela__kol-male {
	width: 70px;
}

.lokale-wrapper .lokale-tabela__kol-srednie {
	width: 100px;
}

.lokale-wrapper .lokale-tabela__kol-status {
	width: 119px;
}

.lokale-wrapper .lokale-tabela .lokale-status {
	font-size: 11px;
	padding: 3px 8px;
}

.lokale-wrapper .lokale-tabela__kol-cena {
	width: 106px;
	text-align: left;
	font-weight: 600;
}

.lokale-wrapper .lokale-tabela__kol-cena.lokale-tabela__kol-cena-m2 {
	width: 96px;
	font-weight: 400;
	font-size: 11px;
	color: var(--lokale-text-muted);
}

.lokale-wrapper .lokale-tabela__kol-historia {
	width: 92px;
}

.lokale-wrapper .lokale-tabela__kol-ikona {
	width: 58px;
	text-align: center;
}

.lokale-wrapper .lokale-tabela__kol-wyslij {
	width: 130px;
	text-align: center;
}

.lokale-wrapper .lokale-tabela__kol-szczegoly {
	width: 94px;
	text-align: center;
}

.lokale-wrapper .lokale-tabela td.lokale-tabela__kol-ikona,
.lokale-wrapper .lokale-tabela td.lokale-tabela__kol-wyslij,
.lokale-wrapper .lokale-tabela td.lokale-tabela__kol-szczegoly {
	overflow: visible;
}

.lokale-wrapper .lokale-tabela .lokale-historia-link {
	margin: 0;
}

.lokale-wrapper .lokale-tabela .lokale-status {
	white-space: nowrap;
}

.lokale-wrapper .lokale-a11y-ukryte {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Mała odmiana przycisków „Wyślij zapytanie” / „Szczegóły” (te same klasy
   bazowe co w siatce/liście: .lokale-btn.lokale-btn--czarny/--bialy) - tylko
   w widoku tabeli, żeby zmieściły się obok siebie na szerokość wiersza. */
.lokale-wrapper .lokale-btn.lokale-btn--mini {
	height: auto;
	padding: 4px 7px;
	font-size: 10px;
	font-weight: 600;
}

/* ---------- Stan ładowania / błędy / brak wyników ---------- */

.lokale-wrapper .lokale-wyniki[hidden] {
	display: none;
}

.lokale-wrapper .lokale-wyniki--ladowanie {
	opacity: 0.5;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

.lokale-wrapper .lokale-brak-wynikow,
.lokale-wrapper .lokale-blad {
	text-align: center;
	color: var(--lokale-text-muted);
	padding: 60px 20px;
	font-size: 15px;
}

/* ---------- Wspólne: etykiety, status, cena, przyciski ---------- */

.lokale-wrapper .lokale-etykieta {
	display: block;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--lokale-text-muted);
	margin-bottom: 4px;
}

.lokale-wrapper .lokale-status {
	display: inline-block;
	padding: 4px 10px;
	margin: 0;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.lokale-wrapper .lokale-status--wolne {
	background: var(--lokale-wolne-bg);
	color: var(--lokale-wolne-text);
}

.lokale-wrapper .lokale-status--zarezerwowane {
	background: var(--lokale-zarezerwowane-bg);
	color: var(--lokale-zarezerwowane-text);
}

.lokale-wrapper .lokale-status--sprzedane {
	background: var(--lokale-sprzedane-bg);
	color: var(--lokale-sprzedane-text);
}

.lokale-wrapper .lokale-cena {
	font-size: 17px;
	font-weight: 600;
	white-space: nowrap;
}

.lokale-wrapper .lokale-cena-m2 {
	font-size: 12px;
	color: var(--lokale-text-muted);
	white-space: nowrap;
}

.lokale-wrapper .lokale-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 18px;
	margin: 0;
	border-radius: var(--lokale-radius-sm);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	border: 1px solid transparent;
	transition: opacity 0.15s ease, background 0.15s ease;
	text-align: center;
}

.lokale-wrapper .lokale-btn--czarny {
	background: var(--lokale-accent);
	color: #fff;
	border: 1px solid transparent;
}

.lokale-wrapper .lokale-btn--czarny:hover,
.lokale-wrapper .lokale-btn--czarny:focus {
	opacity: 0.85;
	color: #fff;
	background: var(--lokale-accent);
	border: 1px solid transparent;
	text-decoration: none;
}

.lokale-wrapper .lokale-btn--czarny:focus-visible {
	outline: 2px solid var(--lokale-accent);
	outline-offset: 2px;
}

.lokale-wrapper .lokale-btn--bialy {
	background: #fff;
	color: var(--lokale-text);
	border: 1px solid var(--lokale-accent);
}

.lokale-wrapper .lokale-btn--bialy:hover,
.lokale-wrapper .lokale-btn--bialy:focus {
	background: var(--lokale-bg-hover);
	color: var(--lokale-text);
	border: 1px solid var(--lokale-accent);
	text-decoration: none;
}

.lokale-wrapper .lokale-btn--bialy:focus-visible {
	outline: 2px solid var(--lokale-accent);
	outline-offset: 2px;
}

.lokale-wrapper .lokale-btn--wylaczony {
	opacity: 0.4;
	cursor: not-allowed;
}

.lokale-wrapper .lokale-btn--czarny.lokale-btn--wylaczony:hover {
	opacity: 0.4;
	background: var(--lokale-accent);
	color: #fff;
	border: 1px solid transparent;
}

.lokale-wrapper .lokale-btn--bialy.lokale-btn--wylaczony:hover {
	opacity: 0.4;
	background: #fff;
	color: var(--lokale-text);
	border: 1px solid var(--lokale-accent);
}

.lokale-wrapper .lokale-serce {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--lokale-border);
	border-radius: 50%;
	background: #fff;
	color: var(--lokale-text-muted);
}

.lokale-wrapper .lokale-serce .lokale-serce-ikona {
	font-size: 15px;
}

.lokale-wrapper .lokale-serce:hover,
.lokale-wrapper .lokale-serce:focus {
	color: var(--lokale-text);
	background: #fff;
	border: 1px solid var(--lokale-border);
}

.lokale-wrapper .lokale-serce:focus-visible {
	outline: 2px solid var(--lokale-accent);
	outline-offset: 2px;
}

.lokale-wrapper .lokale-serce.is-active {
	color: var(--lokale-accent);
	border: 1px solid var(--lokale-accent);
}

.lokale-wrapper .lokale-serce.is-active:hover,
.lokale-wrapper .lokale-serce.is-active:focus {
	opacity: 0.8;
	color: var(--lokale-accent);
	border: 1px solid var(--lokale-accent);
	background: #fff;
}

.lokale-wrapper .lokale-brak-zdjecia {
	width: 100%;
	height: 100%;
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--lokale-text-faint);
	font-size: 13px;
	background: var(--lokale-bg-hover);
	border-radius: var(--lokale-radius-sm);
	margin: 0;
	padding: 0;
}

.lokale-wrapper .lokale-brak-zdjecia--male {
	min-height: 0;
	height: 100%;
}

/* ---------- Widok siatki (kafelki) ---------- */

.lokale-wrapper .lokale-wyniki--siatka {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--lokale-gap);
}

.lokale-wrapper .lokale-karta {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--lokale-border);
	border-radius: var(--lokale-radius);
	padding: 24px;
	margin: 0;
	background: var(--lokale-bg);
}

.lokale-wrapper .lokale-karta__naglowek {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 20px;
}

.lokale-wrapper .lokale-karta__pole strong {
	display: inline-block;
	max-width: 100%;
	font-size: 15px;
	font-weight: 600;
}

.lokale-wrapper .lokale-karta__rzut {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 210px;
	margin-bottom: 20px;
}

.lokale-wrapper .lokale-karta__rzut img {
	max-width: 100%;
	max-height: 220px;
	object-fit: contain;
}

.lokale-wrapper .lokale-rzut-powieksz {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	border-radius: var(--lokale-radius-sm);
}

.lokale-wrapper .lokale-rzut-powieksz::after {
	content: "\f00e";
	font-family: "Font Awesome 7 Free";
	font-weight: 900;
	position: absolute;
	top: 8px;
	right: 8px;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(16, 18, 20, 0.55);
	color: #fff;
	font-size: 12px;
	opacity: 0;
	transition: opacity 0.15s ease;
}

.lokale-wrapper .lokale-rzut-powieksz:hover::after,
.lokale-wrapper .lokale-rzut-powieksz:focus-visible::after {
	opacity: 1;
	background: rgba(16, 18, 20, 0.55);
	color: #fff;
}

.lokale-wrapper .lokale-rzut-powieksz:focus-visible {
	outline: 2px solid var(--lokale-accent);
	outline-offset: 2px;
}

.lokale-wrapper .lokale-rzut-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	padding: 0;
	margin: 0;
	border-radius: 50%;
	border: 1px solid var(--lokale-border);
	background: #fff;
	color: var(--lokale-text);
	font-size: 18px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lokale-wrapper .lokale-rzut-nav:hover,
.lokale-wrapper .lokale-rzut-nav:focus {
	background: var(--lokale-bg-hover);
	color: var(--lokale-text);
	border: 1px solid var(--lokale-border);
}

.lokale-wrapper .lokale-rzut-nav:focus-visible {
	outline: 2px solid var(--lokale-accent);
	outline-offset: 2px;
}

.lokale-wrapper .lokale-rzut-prev {
	left: 0;
}

.lokale-wrapper .lokale-rzut-next {
	right: 0;
}

.lokale-wrapper .lokale-karta__stopka {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 20px;
}

.lokale-wrapper .lokale-karta__status-serce {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lokale-wrapper .lokale-status-blok {
	text-align: left;
}

.lokale-wrapper .lokale-karta__przyciski {
	display: flex;
	gap: 10px;
	margin-top: auto;
}

.lokale-wrapper .lokale-karta__przyciski .lokale-btn {
	flex: 1;
}

/* ---------- Widok listy ---------- */

.lokale-wrapper .lokale-wyniki--lista {
	display: flex;
	flex-direction: column;
}

.lokale-wrapper .lokale-wiersz {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 22px 0;
	border-bottom: 1px solid var(--lokale-border);
	flex-wrap: wrap;
}

.lokale-wrapper .lokale-wiersz__zdjecie {
	width: 96px;
	height: 96px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lokale-wrapper .lokale-wiersz__zdjecie img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.lokale-wrapper .lokale-wiersz__zdjecie .lokale-rzut-powieksz::after {
	top: 4px;
	right: 4px;
	width: 20px;
	height: 20px;
	font-size: 9px;
}

.lokale-wrapper .lokale-wiersz__pole {
	width: 70px;
	flex-shrink: 0;
}

.lokale-wrapper .lokale-wiersz__pole--lokal {
	width: 150px;
}

.lokale-wrapper .lokale-wiersz__pole--status {
	width: 130px;
}

.lokale-wrapper .lokale-wiersz__pole strong {
	font-size: 14px;
	font-weight: 600;
}

.lokale-wrapper .lokale-wiersz__cena {
	margin-left: auto;
	text-align: right;
}

.lokale-wrapper .lokale-wiersz__przyciski {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 170px;
	flex-shrink: 0;
}

.lokale-wrapper .lokale-wiersz__przyciski .lokale-btn {
	width: 100%;
}

/* ---------- Pokaż więcej ---------- */

.lokale-wrapper .lokale-pokaz-wiecej-wrap {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.lokale-wrapper .lokale-btn-wiecej {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 46px;
	padding: 0 24px;
	margin: 0;
	border: 1px solid var(--lokale-accent);
	border-radius: var(--lokale-radius-sm);
	background: #fff;
	color: var(--lokale-text);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.lokale-wrapper .lokale-btn-wiecej:hover,
.lokale-wrapper .lokale-btn-wiecej:focus {
	background: var(--lokale-bg-hover);
	color: var(--lokale-text);
	border: 1px solid var(--lokale-accent);
}

.lokale-wrapper .lokale-btn-wiecej:focus-visible {
	outline: 2px solid var(--lokale-accent);
	outline-offset: 2px;
}

.lokale-wrapper .lokale-btn-wiecej:disabled {
	opacity: 0.5;
	cursor: default;
	background: #fff;
	color: var(--lokale-text);
	border: 1px solid var(--lokale-accent);
}

.lokale-wrapper .lokale-plus {
	font-size: 16px;
}

/* ---------- Historia cen: link + popup ---------- */

.lokale-wrapper .lokale-historia-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 6px 0 0 0;
	padding: 0;
	background: transparent;
	font-size: 12px;
	font-weight: 600;
	color: var(--lokale-text-muted);
}

.lokale-wrapper .lokale-historia-link:hover,
.lokale-wrapper .lokale-historia-link:focus {
	color: var(--lokale-text);
	text-decoration: underline;
	background: transparent;
}

.lokale-wrapper .lokale-historia-link:focus-visible {
	outline: 2px solid var(--lokale-accent);
	outline-offset: 2px;
}

.lokale-wrapper .lokale-historia-link i {
	font-size: 11px;
}

.lokale-wrapper .lokale-historia-nakladka {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	margin: 0;
}

.lokale-wrapper .lokale-historia-nakladka[hidden] {
	display: none;
}

.lokale-wrapper .lokale-historia-tlo {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(16, 18, 20, 0.55);
	margin: 0;
	padding: 0;
}

.lokale-wrapper .lokale-historia-okno {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 640px;
	max-height: 85vh;
	overflow-y: auto;
	background: var(--lokale-bg);
	border-radius: var(--lokale-radius);
	box-shadow: 0 20px 60px rgba(16, 18, 20, 0.3);
	padding: 44px 40px 40px;
	margin: 0;
	text-align: center;
}

.lokale-wrapper .lokale-historia-zamknij {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--lokale-border);
	border-radius: 50%;
	background: transparent;
	color: var(--lokale-text);
	font-size: 14px;
}

.lokale-wrapper .lokale-historia-zamknij:hover,
.lokale-wrapper .lokale-historia-zamknij:focus {
	background: var(--lokale-bg-hover);
	color: var(--lokale-text);
	border: 1px solid var(--lokale-border);
}

.lokale-wrapper .lokale-historia-zamknij:focus-visible {
	outline: 2px solid var(--lokale-accent);
	outline-offset: 2px;
}

.lokale-wrapper .lokale-historia-tytul {
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 16px;
	padding-right: 30px;
}

.lokale-wrapper .lokale-historia-opis {
	font-size: 14px;
	color: var(--lokale-text-muted);
	max-width: 440px;
	margin: 0 auto 28px;
	line-height: 1.6;
}

.lokale-wrapper .lokale-historia-tabela-wrap {
	overflow-x: auto;
	border: 1px solid var(--lokale-border);
	border-radius: var(--lokale-radius-sm);
}

.lokale-wrapper .lokale-historia-tabela {
	font-size: 14px;
}

.lokale-wrapper .lokale-historia-tabela thead {
	background: var(--lokale-naglowek-bg);
}

.lokale-wrapper.lokale-wrapper .lokale-historia-tabela th {
	padding: 14px 20px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--lokale-naglowek-text);
	border-top: 0;
	border-block-start: 0;
	border-bottom: 1px solid var(--lokale-border);
	white-space: nowrap;
}

.lokale-wrapper .lokale-historia-tabela td {
	padding: 16px 20px;
	border-bottom: 1px solid var(--lokale-border);
	white-space: nowrap;
}

.lokale-wrapper .lokale-historia-tabela tbody tr:last-child td {
	border-bottom: 0;
}

.lokale-wrapper .lokale-historia-tabela th:nth-child(2),
.lokale-wrapper .lokale-historia-tabela th:nth-child(3),
.lokale-wrapper .lokale-historia-tabela td:nth-child(2),
.lokale-wrapper .lokale-historia-tabela td:nth-child(3) {
	text-align: right;
}

.lokale-wrapper .lokale-historia-tabela td:nth-child(2),
.lokale-wrapper .lokale-historia-tabela td:nth-child(3) {
	font-weight: 600;
	color: var(--lokale-text);
}

.lokale-wrapper .lokale-historia-tabela tr.is-aktualny {
	background: #eaf3fc;
}

.lokale-wrapper .lokale-historia-tabela tr.is-aktualny td {
	color: #1a5aa8;
	background: #eaf3fc;
}

.lokale-wrapper .lokale-historia-obecnie {
	color: #1e7a3b;
	font-weight: 600;
}

/* ---------- Lightbox powiększonego zdjęcia (widok siatki) ---------- */

.lokale-wrapper .lokale-lightbox-nakladka {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	margin: 0;
}

.lokale-wrapper .lokale-lightbox-nakladka[hidden] {
	display: none;
}

.lokale-wrapper .lokale-lightbox-tlo {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(16, 18, 20, 0.85);
	margin: 0;
	padding: 0;
}

.lokale-wrapper .lokale-lightbox-okno {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 90vw;
	max-height: 85vh;
	margin: 0;
}

.lokale-wrapper .lokale-lightbox-img {
	display: block;
	max-width: 90vw;
	max-height: 85vh;
	object-fit: contain;
	border-radius: var(--lokale-radius-sm);
	background: #fff;
}

.lokale-wrapper .lokale-lightbox-zamknij {
	position: absolute;
	top: 24px;
	right: 24px;
	z-index: 2;
	width: 40px;
	height: 40px;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	background: rgba(16, 18, 20, 0.55);
	color: #fff;
	font-size: 16px;
}

.lokale-wrapper .lokale-lightbox-zamknij:hover,
.lokale-wrapper .lokale-lightbox-zamknij:focus {
	background: rgba(16, 18, 20, 0.8);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.4);
}

.lokale-wrapper .lokale-lightbox-zamknij:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.lokale-wrapper .lokale-lightbox-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 48px;
	height: 48px;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	background: rgba(16, 18, 20, 0.55);
	color: #fff;
	font-size: 18px;
}

.lokale-wrapper .lokale-lightbox-nav:hover,
.lokale-wrapper .lokale-lightbox-nav:focus {
	background: rgba(16, 18, 20, 0.8);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.4);
}

.lokale-wrapper .lokale-lightbox-nav:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.lokale-wrapper .lokale-lightbox-prev {
	left: 24px;
}

.lokale-wrapper .lokale-lightbox-next {
	right: 24px;
}

.lokale-wrapper .lokale-lightbox-licznik {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	padding: 6px 16px;
	border-radius: 20px;
	background: rgba(16, 18, 20, 0.55);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

html.lokale-blokada-przewijania {
	overflow: hidden;
}

/* ---------- Responsywność ---------- */

@media (max-width: 1024px) {
.lokale-wrapper .lokale-wyniki--siatka {
		grid-template-columns: repeat(2, 1fr);
	}

.lokale-wrapper .lokale-ulubione-info {
		margin-left: 0;
	}

}

@media (max-width: 720px) {
.lokale-wrapper .lokale-wyniki--siatka {
		grid-template-columns: 1fr;
	}

.lokale-wrapper .lokale-filtry {
		gap: 24px;
	}

.lokale-wrapper .lokale-kontrolki {
		justify-content: flex-start;
	}

.lokale-wrapper .lokale-kontrolki__prawa {
		margin-left: 0;
		width: 100%;
		justify-content: space-between;
	}

.lokale-wrapper .lokale-wiersz {
		position: relative;
		padding-right: 44px;
	}

.lokale-wrapper .lokale-wiersz__cena {
		margin-left: 0;
		text-align: left;
	}

.lokale-wrapper .lokale-wiersz__przyciski {
		width: 100%;
		flex-direction: row;
	}

.lokale-wrapper .lokale-wiersz .lokale-serce {
		position: absolute;
		top: 22px;
		right: 0;
	}

}

@media (max-width: 480px) {
.lokale-wrapper .lokale-karta__naglowek {
		flex-wrap: wrap;
		row-gap: 12px;
	}

.lokale-wrapper .lokale-karta__naglowek .lokale-karta__pole {
		min-width: 45%;
	}

}

