/* =========================================================
   JH OFERTA – James House (kadence-child)
   Bloki tematyczne – zmieniaj w odpowiedniej sekcji
   ========================================================= */


/* =========================================================
   1. ZMIENNE + BAZA
   ========================================================= */
.jh {
	--navy: #1A1A1A;
	--accent: #C4A574;
	--accent-dark: #A68B5B;
	--line: #E5E5E5;
	--bg: #FFFFFF;
	--bg-subtle: #F7F7F7;
	--muted: #5C5854;
	--muted-light: #8A8580;
	--text: #1A1A1A;
	--white: #fff;
	color: var(--text);
	background: var(--white);
	font-family: "Manrope", system-ui, -apple-system, sans-serif;
	font-weight: 300;
	font-size: 18px;
	letter-spacing: 0.02em;
	line-height: 1.75;
	width: 100%;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
}
.jh a { color: var(--navy); text-decoration: none; }
.jh a:hover { color: var(--accent); }

/* =========================================================
   TYPOGRAFIA – twarde nadpisanie Kadence / Elementor
   ========================================================= */
body.single-oferta .jh h1,
body.single-oferta .jh h2,
body.single-oferta .jh h3,
body.single-oferta .jh .jh-tile--title h1,
body.single-oferta .jh .jh-tile--title .jh-tile__val,
body.single-oferta .jh-sec h2,
body.single-oferta .jh-contact__agent-name,
body.post-type-archive-oferta .jh h1,
body.post-type-archive-oferta .jh h2,
body.post-type-archive-oferta .jh-archive__title,
body.post-type-archive-oferta .jh-card__title {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;
	font-weight: 400 !important;
	letter-spacing: 0.01em !important;
	text-transform: none !important;
}

body.single-oferta .jh,
body.single-oferta .jh p,
body.single-oferta .jh .jh-txt,
body.single-oferta .jh .jh-tile__val,
body.single-oferta .jh .jh-tile__lab,
body.single-oferta .jh .jh-btn,
body.post-type-archive-oferta .jh,
body.post-type-archive-oferta .jh p {
	font-family: "Manrope", system-ui, -apple-system, sans-serif !important;
}




/* =========================================================
   2. RESET KADENCE (single oferta)
   ========================================================= */
body.single-oferta .entry-content-wrap,
body.single-oferta .content-container,
body.single-oferta .site-container,
body.single-oferta .content-area,
body.single-oferta .entry-content,
body.single-oferta #inner-wrap,
body.single-oferta .site-main,
body.single-oferta main {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
}


/* =========================================================
   3. HERO – sticky, full viewport
   ========================================================= */

/* Pasek na hero – jak stara JH */
.jh-hero-bar {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	top: 80px !important;
	bottom: auto !important;
	z-index: 8 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 24px !important;
	padding: 14px 5vw !important;
	background: rgba(0, 0, 0, 0.58) !important;
	box-sizing: border-box !important;
	width: 100% !important;
}
body.admin-bar.single-oferta .jh-hero-bar {
	top: 112px !important; /* 80 header + 32 admin bar */
}
@media (max-width: 782px) {
	body.admin-bar.single-oferta .jh-hero-bar {
		top: 126px !important; /* 80 + 46 admin bar */
	}
}
body.single-oferta .jh-hero-bar__title,
.jh-hero-bar__title {
	margin: 0 !important;
	font-family: "Playfair Display", Georgia, serif !important;
	font-weight: 400 !important;
	font-size: clamp(1.35rem, 3vw, 2.35rem) !important;
	letter-spacing: 0.08em !important;
	text-transform: none !important;
	color: #fff !important;
	line-height: 1.15 !important;
	min-width: 0 !important;
}
.jh-hero-bar__right {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}
.jh-hero-bar__nr {
	text-align: right;
	color: #fff;
}
.jh-hero-bar__nr span {
	display: block;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #C4A574;
	margin-bottom: 2px;
}
.jh-hero-bar__nr strong {
	font-family: "Manrope", system-ui, sans-serif;
	font-weight: 500;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	color: #fff;
}
.jh-hero-bar__actions {
	display: flex;
	gap: 8px;
}
.jh-btn--hero,
button.jh-btn--hero {
	background: transparent !important;
	border: 1px solid #fff !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	padding: 10px 16px !important;
	font-size: 0.68rem !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
}
.jh-btn--hero:hover,
button.jh-btn--hero:hover {
	background: #C4A574 !important;
	border-color: #C4A574 !important;
	color: #1A1A1A !important;
	-webkit-text-fill-color: #1A1A1A !important;
}

/* Tytuł w wrap tylko na wydruk */
.jh-tiles--printhead,
body.single-oferta .jh-tiles--printhead,
body.single-oferta .jh-wrap .jh-tiles--2 {
	display: none !important;
}

@media (max-width: 768px) {
	.jh-hero-bar {
		bottom: auto !important;
		flex-direction: column;
		align-items: flex-start;
		padding: 12px 20px !important;
	}
	.jh-hero-bar__right {
		width: 100%;
		justify-content: space-between;
	}
	.jh-hero-bar__title { letter-spacing: 0.06em; }
}

body.single-oferta .jh-hero {
	position: sticky !important;
	top: 0 !important;
	z-index: 5 !important;
	width: 100vw !important;
	max-width: 100vw !important;
	height: 100vh !important;
	min-height: 100vh !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: #111;
	box-sizing: border-box !important;
}
body.single-oferta .jh-hero img {
	width: 100% !important;
	height: 100% !important;
	min-height: 100vh !important;
	object-fit: cover !important;
	object-position: center center !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
}
.jh-hero--empty {
	min-height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 0.95rem;
	background: #1a1a1a;
}
body.admin-bar.single-oferta .jh-hero {
	top: 32px !important;
	height: calc(100vh - 32px) !important;
	min-height: calc(100vh - 32px) !important;
}
body.admin-bar.single-oferta .jh-hero img {
	min-height: calc(100vh - 32px) !important;
}


/* =========================================================
   4. KONTENER TREŚCI
   ========================================================= */

/* Belka nazwy – góra białej karty, jedzie z blokami */
.jh-offer-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: -32px -2cm 24px;
	padding: 12px 2cm;
	background: #1A1A1A;
	color: #fff;
	box-sizing: border-box;
	width: calc(100% + 4cm);
	max-width: none;
}
.jh-offer-bar__title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	text-align: left;
	font-family: "Playfair Display", Georgia, serif !important;
	font-weight: 400 !important;
	font-size: clamp(1.35rem, 2.3vw, 2.05rem) !important;
	letter-spacing: 0.03em !important;
	color: #fff !important;
	line-height: 1.2 !important;
	white-space: normal;
	overflow: visible;
	text-overflow: unset;
	word-break: normal;
	overflow-wrap: break-word;
}
.jh-offer-bar__right {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}
.jh-offer-bar__nr {
	text-align: right;
}
.jh-offer-bar__nr span {
	display: block;
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #C4A574;
}
.jh-offer-bar__nr strong {
	font-family: "Manrope", system-ui, sans-serif;
	font-weight: 500;
	font-size: 0.85rem;
	color: #fff;
}
.jh-offer-bar__actions { display: flex; gap: 8px; }

body.single-oferta #masthead,
body.single-oferta #masthead .site-header-wrap,
body.single-oferta #masthead .main-header-wrap {
	background: #1A1A1A !important;
}
body.single-oferta #masthead .header-navigation,
body.single-oferta #site-navigation {
	display: flex !important;
}
body.single-oferta #masthead .header-menu-container a {
	color: #fff !important;
}

body.single-oferta .jh-wrap {
	position: relative;
	z-index: 10;
	background: #fff;
	width: 100% !important;
	max-width: 1120px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 32px 2cm 80px !important;
	box-sizing: border-box !important;
}

/* Katalog – ta sama szerokość co single oferty */
body.post-type-archive-oferta .jh-wrap,
.jh-archive .jh-wrap {
	width: 100% !important;
	max-width: 1120px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 32px 24px 80px !important;
	box-sizing: border-box !important;
}

/* Reset Kadence na archiwum ofert – jak na single */
body.post-type-archive-oferta .entry-content-wrap,
body.post-type-archive-oferta .content-container,
body.post-type-archive-oferta .site-container,
body.post-type-archive-oferta .content-area,
body.post-type-archive-oferta .entry-content,
body.post-type-archive-oferta #inner-wrap,
body.post-type-archive-oferta .site-main,
body.post-type-archive-oferta main {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}


/* =========================================================
   5. KAFELKI
   ========================================================= */
.jh-tiles { display: grid; gap: 0; margin: 0; width: 100%; }
body.single-oferta .jh-wrap > .jh-tiles--printhead,
body.single-oferta .jh-wrap > .jh-tiles--2.jh-tiles--printhead {
	display: none !important;
}
.jh-tile { padding: 0; border: 0; background: transparent; }
.jh-tile__lab {
	display: block;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 6px;
}
.jh-tile__val {
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--navy);
	line-height: 1.35;
}
.jh-tile__val--price { font-size: 1.2rem; font-weight: 600; }
.jh-tile__val a { color: inherit; text-decoration: none; }
.jh-tile__val a:hover { color: var(--accent); }

.jh-tiles--2 {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 28px;
}
.jh-head-right {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 0 0 auto;
}
.jh-head-right .jh-tile--nr {
	text-align: right;
	min-width: 0;
}
.jh-head-right .jh-tile--action {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	align-items: center;
}
.jh-tile--title .jh-tile__lab { display: none; }
.jh-tile--title .jh-tile__val,
.jh-tile--title h1 {
	font-family: "Playfair Display", Georgia, serif !important;
	font-size: clamp(1.75rem, 3.5vw, 2.35rem) !important;
	font-weight: 400 !important;
	letter-spacing: 0.02em !important;
	line-height: 1.2 !important;
	margin: 0 !important;
	color: var(--navy) !important;
}
.jh-tile--nr { text-align: right; min-width: 120px; }
.jh-tile--nr .jh-tile__lab { color: var(--accent); }
.jh-tile--nr .jh-tile__val { font-size: 1rem; font-weight: 600; }


/* Jedna linia faktów + przyciski */
.jh-tiles--facts {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	align-items: stretch;
	gap: 0;
	padding: 14px 0;
	margin: 0 0 28px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.jh-tiles--facts .jh-tile {
	text-align: center;
	padding: 0 10px;
	border-right: 1px solid var(--line);
	min-width: 0;
}
.jh-tiles--facts .jh-tile:last-child {
	border-right: 0;
}
.jh-tiles--facts .jh-tile__lab {
	margin-bottom: 4px;
	font-size: 0.68rem !important;
}
.jh-tiles--facts .jh-tile__val,
.jh-tiles--facts .jh-tile__val--price {
	font-size: 0.7rem !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	white-space: normal !important;
	overflow: visible !important;
}
.jh-tiles--facts .jh-tile--action {
	justify-self: end;
	align-self: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
}
.jh-price-line { display: none; }
.jh-price-line span {
	display: inline-block;
	margin-right: 8px;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
}

.jh-legal {
	margin: 48px 0 16px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 0.68rem;
	line-height: 1.55;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--muted-light);
}

#jh-form .ff-message-success,
#jh-form .ff-message-success p {
	color: var(--navy) !important;
	font-size: 1.05rem !important;
	font-weight: 400 !important;
	background: transparent !important;
	border: 0 !important;
}
.jh-tiles--meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	align-items: center;
	gap: 16px 20px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
}
.jh-tiles--meta .jh-tile--action {
	justify-self: end;
	align-self: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	justify-content: flex-end;
	margin: 0;
}
.jh-btn--agency {
	font-size: 0.68rem !important;
}

.jh-tiles--4 {
	grid-template-columns: repeat(4, 1fr);
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
	margin-bottom: 36px;
}
.jh-tiles--4 .jh-tile {
	padding: 0 16px;
	border-right: 1px solid var(--line);
}
.jh-tiles--4 .jh-tile:first-child { padding-left: 0; }
.jh-tiles--4 .jh-tile:last-child { border-right: 0; padding-right: 0; }


/* =========================================================
   6. PRZYCISKI + CTA
   ========================================================= */
.jh-cta { text-align: center; margin: 8px 0 48px; }
.jh-btn {
	display: inline-block;
	padding: 14px 28px;
	font-family: "Manrope", system-ui, sans-serif;
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: 1px solid var(--navy);
	background: var(--navy);
	color: var(--white);
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
	text-decoration: none;
	line-height: 1.2;
	box-sizing: border-box;
}
.jh-btn:hover { background: #000; border-color: #000; color: var(--white) !important; }
.jh-btn--ghost { background: transparent; color: var(--navy) !important; }
.jh-btn--ghost:hover { background: var(--navy); color: var(--white) !important; }

/* Przyciski Wydruk – białe tło, czarna ramka i tekst; hover złoty */
.jh-tile--action .jh-btn,
.jh-tiles--meta button.jh-btn,
button.jh-btn.jh-btn--ghost {
	background: #ffffff !important;
	background-image: none !important;
	border: 1px solid var(--navy) !important;
	color: #1A1A1A !important;
	-webkit-text-fill-color: #1A1A1A !important;
}
.jh-tile--action .jh-btn:hover,
.jh-tiles--meta button.jh-btn:hover,
button.jh-btn.jh-btn--ghost:hover {
	background: var(--accent) !important;
	border-color: var(--accent) !important;
	color: var(--navy) !important;
	-webkit-text-fill-color: var(--navy) !important;
}


/* CTA – dwa warianty kontaktu */
.jh-cta__label {
	margin: 0 0 14px;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted-light);
}
.jh-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	align-items: center;
}
/* CTA kontakt = ten sam wygląd co Wydruk */
.jh a.jh-btn--cta-contact,
.jh-btn--cta-contact,
a.jh-btn--cta-contact {
	background: var(--navy) !important;
	background-image: none !important;
	border: 1px solid var(--navy) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	min-width: 0;
	font-family: "Manrope", system-ui, sans-serif !important;
	font-size: 0.72rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
}
.jh a.jh-btn--cta-contact:hover,
.jh-btn--cta-contact:hover,
a.jh-btn--cta-contact:hover {
	background: var(--accent) !important;
	border-color: var(--accent) !important;
	color: var(--navy) !important;
	-webkit-text-fill-color: var(--navy) !important;
}
.jh a.jh-btn--primary,
.jh-btn--primary {
	/* primary zostaje ciemny z białym tekstem jak Wydruk */
}
@media (max-width: 768px) {
	.jh-cta__actions { flex-direction: column; }
	.jh-cta__actions .jh-btn { width: 100%; }
}

.jh-btn--primary {
	min-width: 280px;
	background: var(--navy) !important;
	border-color: var(--navy) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}
.jh a.jh-btn,
.jh a.jh-btn--primary,
.jh a.jh-btn--primary:visited {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}
.jh a.jh-btn--ghost,
.jh a.jh-btn--ghost:visited {
	color: var(--navy) !important;
	-webkit-text-fill-color: var(--navy) !important;
}
.jh a.jh-btn--ghost:hover {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}


/* =========================================================
   7. SEKCJE + TEKST
   ========================================================= */
.jh-sec {
	margin: 0 0 64px;
	padding: 8px 0 0;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}
body.single-oferta .jh-sec h2 {
	font-family: "Playfair Display", Georgia, serif !important;
	font-size: 1.45rem !important;
	font-weight: 400 !important;
	letter-spacing: 0.01em !important;
	text-transform: none !important;
	color: #1a1a1a !important;
	margin: 12px 0 22px !important;
	line-height: 1.25 !important;
	padding: 0 !important;
}
.jh-txt {
	font-size: 1.05rem;
	font-weight: 300;
	line-height: 1.75;
	letter-spacing: 0.02em;
	color: var(--muted);
	width: 100% !important;
	max-width: 100% !important;
	text-align: justify !important;
	hyphens: auto;
	padding: 0 !important;
	box-sizing: border-box !important;
}
.jh-txt p {
	margin: 0 0 1.35em;
	width: 100% !important;
	text-align: justify !important;
	padding: 0 !important;
}
.jh-txt p:last-child { margin-bottom: 0; }

/* Listy: bez wielkich dziur między pozycjami (ACF często wrzuca <p> w <li>) */
.jh-txt ul,
.jh-txt ol {
	margin: 0.2em 0 1.2em !important;
	padding-left: 1.15em !important;
}
.jh-txt li {
	margin: 0 0 0.2em !important;
	padding: 0 !important;
	line-height: 1.45 !important;
}
.jh-txt li p {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.45 !important;
	text-align: left !important;
}
.jh-txt li + li { margin-top: 0.15em !important; }
.jh-dash-list {
	list-style: none !important;
	margin: 0.15em 0 1.1em !important;
	padding: 0 !important;
}
.jh-dash-list li {
	position: relative;
	margin: 0 !important;
	padding: 0 0 0 1.1em !important;
	line-height: 1.55 !important;
	color: var(--muted);
	font-weight: 300;
}
.jh-dash-list li::before {
	content: "–";
	position: absolute;
	left: 0;
	color: var(--muted);
}
.jh-dash-list li + li { margin-top: 0.15em !important; }
.jh-txt .jh-dash-list + p { margin-top: 1.1em !important; }
.jh-txt p + .jh-dash-list { margin-top: 0.25em !important; }

.jh-sec--lead { margin: 0 0 56px !important; padding: 0 !important; }
.jh-txt--lead {
	font-size: 1.15rem !important;
	line-height: 1.7 !important;
	color: #1a1a1a !important;
	text-align: justify !important;
}
.jh-txt--lead p { margin: 0 0 1.2em !important; }
.jh-txt--lead p:last-child { margin-bottom: 0 !important; }
.jh-txt--lead ul li,
.jh-txt--lead li p {
	margin: 0 0 0.15em !important;
	line-height: 1.45 !important;
}

.jh-hint { margin: 0; color: var(--muted); font-size: 0.95rem; }
.jh-addr { margin: 0; font-size: 1.05rem; color: var(--navy); }


/* =========================================================
   8. GALERIA
   ========================================================= */
.jh-gallery {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 12px !important;
	width: 100% !important;
}
.jh-gallery a,
.jh-gallery__item {
	display: block;
	overflow: hidden;
	background: var(--bg);
	aspect-ratio: 4 / 3;
}
.jh-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}
.jh-gallery a:hover img,
.jh-gallery__item:hover img { transform: scale(1.04); }


/* =========================================================
   9. LIGHTBOX
   ========================================================= */
.jh-lb {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(10, 10, 10, 0.92);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}
.jh-lb.is-open { opacity: 1; visibility: visible; }
.jh-lb[hidden] { display: block !important; pointer-events: none; }
.jh-lb:not([hidden]) { pointer-events: auto; }

.jh-lb__close {
	position: fixed;
	top: 16px;
	right: 20px;
	z-index: 100000;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s;
}
.jh-lb__close:hover { background: rgba(255, 255, 255, 0.3); }
body.admin-bar .jh-lb__close { top: 48px; }

.jh-lb__scroll {
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: y mandatory;
	padding: 48px 16px 64px;
	box-sizing: border-box;
}
.jh-lb__slide {
	margin: 0 auto 28px;
	max-width: min(1100px, 100%);
	scroll-snap-align: center;
	opacity: 0;
	transform: translateY(12px) scale(0.98);
	transition: opacity 0.35s ease, transform 0.35s ease;
}
.jh-lb.is-open .jh-lb__slide { opacity: 1; transform: translateY(0) scale(1); }
.jh-lb__slide img {
	width: 100%;
	height: auto;
	max-height: 88vh;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	border-radius: 2px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}


/* =========================================================
   10. INFORMACJE + SPACER
   ========================================================= */
.jh-split-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: start;
	margin: 0 0 48px;
	width: 100%;
}
.jh-split-row .jh-sec { margin: 0; }

.jh-info {
	display: flex;
	flex-direction: column;
	gap: 0;
	border-top: 1px solid var(--line);
	width: 100%;
	padding: 0 !important;
}
.jh-info__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.95rem;
}
.jh-info__row span { color: var(--muted); flex-shrink: 0; }
.jh-info__row strong { font-weight: 600; color: var(--navy); text-align: right; }

.jh-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #111;
	overflow: hidden;
}
.jh-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}


/* =========================================================
   11. MAPA
   ========================================================= */
.jh-map {
	width: 100% !important;
	height: 360px !important;
	border: 0;
	display: block !important;
	margin-top: 12px;
	background: var(--bg);
	filter: grayscale(100%);
}


/* =========================================================
   12. WYKOŃCZENIE
   ========================================================= */
.jh-finish-photos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 20px;
	width: 100%;
}
.jh-finish-photos__item {
	margin: 0;
	overflow: hidden;
	background: var(--bg);
}
.jh-finish-photos__item img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	display: block;
}


/* =========================================================
   13. DORADCA
   ========================================================= */
.jh-sec--advisor {
	padding: 28px 32px;
	background: #FFFFFF !important;
	border: 1px solid var(--line) !important;
	color: var(--navy);
}
body.single-oferta .jh-sec--advisor h2 {
	color: var(--navy) !important;
}
.jh-sec--advisor .jh-txt {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--muted) !important;
}
.jh-sec--advisor .jh-txt p {
	color: var(--muted) !important;
}


/* =========================================================
   14. OFERTY PODOBNE
   ========================================================= */
.jh-similar {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	width: 100%;
}
.jh-similar__item {
	display: block;
	text-decoration: none;
	color: var(--navy);
	background: var(--bg);
}
.jh-similar__item:hover { opacity: 0.88; }
.jh-similar__item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}
.jh-similar__item span {
	display: block;
	padding: 14px 4px 4px;
	font-size: 0.95rem;
	font-weight: 500;
}


/* =========================================================
   15. KONTAKT + FLUENT FORM
   ========================================================= */
#jh-form.jh-sec {
	width: 100% !important;
	max-width: 100% !important;
	margin: 48px 0 0 !important;
	padding: 0 !important;
}

#jh-form .jh-contact-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
}
#jh-form .jh-contact {
	display: grid;
	grid-template-columns: 0.85fr 1.35fr;
	align-items: start;
	gap: 24px;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 32px 36px;
	background: #F7F7F7 !important;
	border: 1px solid var(--line) !important;
	box-sizing: border-box;
	color: var(--navy);
}
#jh-form .jh-contact__agent {
	text-align: center;
	padding: 8px 12px;
}
#jh-form .jh-contact__agent-label {
	margin: 0 0 16px;
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #7a756f !important;
	line-height: 1.5;
}
#jh-form .jh-contact__agent-name {
	margin: 0 0 8px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.65rem;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.15;
	color: #1a1a1a !important;
}
#jh-form .jh-contact__agent-role {
	margin: 0 0 20px;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #c4a574 !important;
}
#jh-form .jh-contact__agent-data {
	font-size: 0.9rem;
	line-height: 1.7;
	color: #333 !important;
}
#jh-form .jh-contact__agent-data a {
	color: #1a1a1a !important;
	text-decoration: none;
}
#jh-form .jh-contact__agent-data a:hover {
	color: #C4A574 !important;
}
#jh-form .jh-contact__agent-line { margin: 0 0 2px; }
#jh-form .jh-contact__form { min-width: 0; }

.jh-rodo-link {
	margin: 0 0 12px;
	font-size: 0.85rem;
	color: #7a756f !important;
}
.jh-rodo-link a {
	color: #1a1a1a !important;
	text-decoration: underline;
}

/* Etykiety Fluent */
#jh-form .ff-el-input--label label,
#jh-form .ff-el-form-group > label {
	font-size: 0.68rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: #1a1a1a !important;
}

/* Inputy */
#jh-form input[type="text"],
#jh-form input[type="email"],
#jh-form input[type="tel"],
#jh-form input[type="number"],
#jh-form textarea {
	border-radius: 0 !important;
	border: 1px solid #b0b0b0 !important;
	background: #fff !important;
	font-size: 0.95rem !important;
	color: #1a1a1a !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	max-width: 100% !important;
}

/* Checkboxy */
#jh-form input[type="checkbox"],
#jh-form .ff-el-form-check input[type="checkbox"],
#jh-form input.ff-el-form-check-input {
	-webkit-appearance: checkbox !important;
	appearance: checkbox !important;
	display: inline-block !important;
	opacity: 1 !important;
	visibility: visible !important;
	position: static !important;
	width: 16px !important;
	height: 16px !important;
	min-width: 16px !important;
	margin: 0 8px 0 0 !important;
	padding: 0 !important;
	vertical-align: middle !important;
	pointer-events: auto !important;
	accent-color: #1a1a1a !important;
	background: #fff !important;
	border: 1px solid #333 !important;
	clip: auto !important;
	clip-path: none !important;
}
#jh-form .ff-el-form-check {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	gap: 8px !important;
	margin: 0 0 10px !important;
}
#jh-form .ff-el-form-check label {
	display: inline !important;
	position: static !important;
	opacity: 1 !important;
	visibility: visible !important;
	font-size: 0.75rem !important;
	line-height: 1.4 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-weight: 500 !important;
	color: #1a1a1a !important;
	cursor: pointer !important;
}
#jh-form .ff-el-form-check label::before,
#jh-form .ff-el-form-check label::after {
	content: none !important;
	display: none !important;
}

/* Submit */
#jh-form .ff-btn-submit,
#jh-form button[type="submit"],
#jh-form .ff-btn-submit span,
#jh-form button[type="submit"] span {
	background: #1A1A1A !important;
	background-image: none !important;
	border: 1px solid #1A1A1A !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	border-radius: 0 !important;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	padding: 12px 28px !important;
	min-width: 120px !important;
	line-height: 1.3 !important;
	cursor: pointer !important;
}
#jh-form .ff-btn-submit:hover,
#jh-form button[type="submit"]:hover,
#jh-form .ff-btn-submit:hover span,
#jh-form button[type="submit"]:hover span {
	background: #C4A574 !important;
	border-color: #C4A574 !important;
	color: #1A1A1A !important;
	-webkit-text-fill-color: #1A1A1A !important;
}


/* =========================================================
   16. NOTATKI ADMINA
   ========================================================= */
.jh-admin-notes__box {
	background: #fff8e6;
	border: 1px dashed #c4a574;
	padding: 16px 18px;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #333;
}


/* =========================================================
   17. KATALOG / ARCHIWUM + FILTRY
   ========================================================= */
.jh-archive__head { margin: 32px 0 40px; text-align: center; }
.jh-archive__title {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 400;
	letter-spacing: 0.01em;
	margin: 0 0 10px;
	color: var(--navy);
}
.jh-archive__count {
	margin: 0 0 24px;
	font-size: 0.95rem;
	color: var(--muted);
	text-align: center;
}
.jh-archive__lead { margin: 0; color: var(--muted); font-size: 1.05rem; }

.jh-catalog {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-bottom: 48px;
	align-items: stretch;
}
.jh-card {
	border: 1px solid var(--line);
	background: var(--white);
	overflow: hidden;
	min-width: 0;
	transition: box-shadow 0.2s, transform 0.2s;
}
.jh-card:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transform: translateY(-3px);
}
.jh-card__link {
	display: flex !important;
	flex-direction: column !important;
	height: 100%;
	text-decoration: none !important;
	color: var(--navy) !important;
}
.jh-card__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #e8e8e8;
	overflow: hidden;
	flex-shrink: 0;
}
.jh-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.jh-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 160px;
	color: var(--muted);
	font-size: 0.85rem;
}
.jh-card__body {
	padding: 16px 18px 20px !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 6px;
	flex: 1;
	min-height: 120px;
	background: #fff !important;
}
.jh-card__nr {
	font-size: 0.7rem !important;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #c4a574 !important;
}
.jh-card__title {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.12rem !important;
	font-weight: 400;
	line-height: 1.3 !important;
	margin: 0 !important;
	color: #1a1a1a !important;
}
.jh-card__meta {
	display: block !important;
	font-size: 0.9rem !important;
	color: #333 !important;
}
.jh-card__meta a { color: inherit !important; text-decoration: none !important; }
.jh-card__stats {
	list-style: none !important;
	margin: 12px 0 0 !important;
	padding: 12px 0 0 !important;
	border-top: 1px solid var(--line) !important;
	display: flex !important;
	flex-wrap: wrap;
	gap: 6px 14px;
	font-size: 0.88rem;
}
.jh-card__stats strong { font-weight: 600; }

.jh-oferty { margin: 0; }
.jh-oferty .jh-catalog { margin-bottom: 0; }
.jh-oferty__empty {
	margin: 0;
	padding: 16px 18px;
	border: 1px dashed #c4a574;
	color: #5c5854;
	font-size: 0.95rem;
}

.jh-filters {
	margin: 0 0 36px;
	padding: 20px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.jh-filters__row {
	display: grid;
	grid-template-columns: repeat(4, 1fr) auto;
	gap: 16px;
	align-items: end;
}
.jh-filters__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}
.jh-filters__field select,
.jh-filters__field input {
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--navy);
	padding: 10px 12px;
	border: 1px solid var(--line);
	background: var(--white);
	width: 100%;
	box-sizing: border-box;
}
.jh-filters__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.jh-filters__actions .jh-btn {
	padding: 11px 18px;
	font-size: 0.72rem;
	min-width: 0;
}


/* =========================================================
   18. RESPONSYWNOŚĆ
   ========================================================= */
@media (max-width: 1024px) {
	.jh-gallery { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 900px) {
	.jh-catalog { grid-template-columns: repeat(2, 1fr); gap: 18px; }
	.jh-filters__row { grid-template-columns: 1fr 1fr; }
	.jh-filters__actions { grid-column: 1 / -1; }
	body.single-oferta .jh-gallery { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 782px) {
	body.admin-bar.single-oferta .jh-hero {
		top: 46px !important;
		height: calc(100vh - 46px) !important;
		min-height: calc(100vh - 46px) !important;
	}
}

@media (max-width: 768px) {
	body.single-oferta .jh-hero {
		height: 70vh !important;
		min-height: 70vh !important;
	}
	body.single-oferta .jh-hero img { min-height: 70vh !important; }

	body.single-oferta .jh-wrap,
	body.post-type-archive-oferta .jh-wrap,
	.jh-archive .jh-wrap {
		max-width: 100% !important;
		padding: 24px 14px 56px !important;
	}
	body.single-oferta .jh-sec h2 { font-size: 1.25rem !important; }

	.jh-tiles--2 { grid-template-columns: 1fr; gap: 10px; }
	.jh-tile--nr { text-align: left; }

	.jh-tiles--2 {
		grid-template-columns: 1fr;
	}
	.jh-tiles--2 .jh-tile--action {
		justify-content: flex-start;
	}
	.jh-tiles--2 { grid-template-columns: 1fr; }
	.jh-head-right { justify-content: flex-start; flex-wrap: wrap; }
	.jh-tiles--facts {
		grid-template-columns: 1fr 1fr;
	}
	.jh-tiles--meta {
		grid-template-columns: 1fr 1fr;
	}
	.jh-tiles--meta .jh-tile--action {
		grid-column: 1 / -1;
		justify-self: stretch;
		flex-wrap: wrap;
	}
	.jh-tiles--meta .jh-btn { width: auto; text-align: center; }
	body.single-oferta .jh-wrap {
		padding-left: 1.2cm !important;
		padding-right: 1.2cm !important;
	}

	.jh-tiles--4 { grid-template-columns: 1fr 1fr; }
	.jh-tiles--4 .jh-tile {
		padding: 12px 12px 12px 0;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}
	.jh-tiles--4 .jh-tile:nth-child(odd) {
		padding-right: 12px;
		border-right: 1px solid var(--line);
	}
	.jh-tiles--4 .jh-tile:nth-last-child(-n + 2) { border-bottom: 0; }

	.jh-btn--primary { min-width: 0; width: 100%; text-align: center; }

	.jh-txt,
	.jh-txt p,
	.jh-txt--lead { text-align: left !important; }

	.jh-gallery {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 8px !important;
	}

	.jh-split-row {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.jh-similar { grid-template-columns: 1fr 1fr; }
	.jh-map { height: 280px !important; }

	.jh-finish-photos { grid-template-columns: 1fr; }
	.jh-finish-photos__item img { height: 220px; }

	/* Kontakt – 1 kolumna */
	#jh-form .jh-contact {
		grid-template-columns: 1fr;
		padding: 24px 16px;
		gap: 20px;
		max-width: 100%;
	}
	#jh-form .jh-contact__agent {
		padding: 4px 0 16px;
		border-bottom: 1px solid #333;
	}
	#jh-form .jh-contact__agent-name { font-size: 1.35rem; }
	#jh-form .jh-contact__form { width: 100%; }
	#jh-form input[type="text"],
	#jh-form input[type="email"],
	#jh-form input[type="tel"],
	#jh-form textarea {
		width: 100% !important;
		max-width: 100% !important;
	}
	#jh-form .ff-btn-submit { width: 100% !important; }
}

@media (max-width: 520px) {
	.jh-catalog { grid-template-columns: 1fr; }
	.jh-filters__row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
	.jh-tiles--meta { grid-template-columns: 1fr; }
	.jh-tiles--4 { grid-template-columns: 1fr; }
	.jh-tiles--4 .jh-tile {
		border-right: 0 !important;
		padding: 12px 0;
	}
	.jh-tiles--4 .jh-tile:last-child { border-bottom: 0; }
	.jh-gallery {
		grid-template-columns: 1fr 1fr !important;
		gap: 6px !important;
	}
	.jh-similar { grid-template-columns: 1fr; }
	.jh-map { height: 220px !important; }
}


/* =========================================================
   19. PRINT – kompakt ~2 strony + pełne zdjęcie + tabela Informacje
   ========================================================= */
@media print {
	/* 2 strony: ciaśniej */
	body.single-oferta .jh-sec { margin: 0 0 8px !important; padding: 0 !important; }
	body.single-oferta .jh-sec h2 { margin: 4px 0 6px !important; font-size: 12pt !important; }
	body.single-oferta .jh-txt,
	body.single-oferta .jh-txt p { font-size: 9pt !important; line-height: 1.32 !important; margin-bottom: 0.4em !important; }
	.jh-legal { font-size: 6pt !important; margin-top: 6px !important; }

	.jh-hero-bar,
	.jh-offer-bar { display: none !important; }
	body.single-oferta .jh-wrap > .jh-tiles--printhead,
	body.single-oferta .jh-wrap > .jh-tiles--2.jh-tiles--printhead,
	body.single-oferta .jh-wrap .jh-tiles--2,
	.jh-tiles--printhead {
		display: grid !important;
		visibility: visible !important;
		height: auto !important;
		overflow: visible !important;
	}

	@page {
		size: A4;
		margin: 10mm 12mm;
	}

	.no-print,
	.site-header,
	.site-footer,
	#wpadminbar,
	.jh-hero,
	.jh-hero--empty,
	.jh-lb,
	.jh-cta,
	.jh-gallery,
	.jh-sec--video,
	.jh-map,
	#jh-form,
	.jh-similar,
	.jh-admin-notes,
	.jh-finish-photos,
	.jh-sec--advisor,
	.jh-print-agency-gallery {
		display: none !important;
		height: 0 !important;
		min-height: 0 !important;
		overflow: hidden !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html, body {
		background: #fff !important;
		color: #111 !important;
		font-size: 9.5pt !important;
		line-height: 1.32 !important;
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
	}

	body.single-oferta .jh-wrap {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
		position: static !important;
		z-index: auto !important;
	}

	/* --- logo przy nagłówku oferty --- */
	.jh-print-logo {
		display: none !important;
	}
	.jh-tiles--2 {
		display: grid !important;
		grid-template-columns: 140px minmax(0, 1fr) auto !important;
		align-items: center !important;
		column-gap: 18px !important;
		row-gap: 4px !important;
		padding-bottom: 8px !important;
		margin-bottom: 8px !important;
		border-bottom: 0.5pt solid #ccc !important;
		width: 100% !important;
	}
	.jh-print-logo-inline {
		display: flex !important;
		grid-column: 1 !important;
		align-items: center !important;
		justify-content: flex-start !important;
		width: 140px !important;
		max-width: 140px !important;
		flex-shrink: 0 !important;
	}
	.jh-print-logo-inline img {
		display: block !important;
		max-height: 52px !important;
		height: auto !important;
		width: auto !important;
		max-width: 130px !important;
		object-fit: contain !important;
	}
	.jh-tiles--2 .jh-tile--title {
		grid-column: 2 !important;
		min-width: 0 !important;
		max-width: 100% !important;
		overflow: hidden !important;
	}
	.jh-tiles--2 .jh-tile--title .jh-tile__lab {
		display: none !important;
	}
	/* tytuł: skaluje się do wolnego miejsca, max 2 linie */
	.jh-tiles--2 .jh-tile--title h1,
	.jh-tiles--2 .jh-tile--title .jh-tile__val {
		font-size: clamp(11pt, 2.4vw, 16pt) !important;
		line-height: 1.2 !important;
		margin: 0 !important;
		max-width: 100% !important;
		overflow-wrap: anywhere !important;
		word-break: break-word !important;
		hyphens: auto !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 2 !important;
		-webkit-box-orient: vertical !important;
		overflow: hidden !important;
	}
	.jh-head-main { display: flex !important; align-items: baseline !important; gap: 16px !important; }
	.jh-tiles--2 .jh-tile--nr {
		grid-column: 3 !important;
		text-align: right !important;
		white-space: nowrap !important;
		flex-shrink: 0 !important;
	}
	.jh-tiles--2 .jh-tile--nr .jh-tile__val {
		font-size: 10pt !important;
	}

	/* etykiety jak nr oferty – złote na wydruku */
	.jh-tile__lab,
	.jh-tiles--meta .jh-tile__lab,
	.jh-tiles--4 .jh-tile__lab,
	.jh-tiles--2 .jh-tile__lab,
	.jh-tile--nr .jh-tile__lab {
		color: #C4A574 !important;
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
	}


	/* --- zdjęcie: CAŁE, bez wycinka --- */
	.jh-print-hero {
		display: block !important;
		margin: 6px 0 10px 0 !important;
		page-break-after: avoid;
		break-after: avoid;
		text-align: center !important;
	}
	.jh-print-hero img {
		width: auto !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: 190px !important;
		object-fit: contain !important;
		object-position: center center !important;
		display: block !important;
		margin: 0 auto !important;
	}

	/* --- kafelki / meta --- */
	.jh-tiles {
		gap: 0 !important;
		margin: 0 0 8px 0 !important;
		border: 0 !important;
	}
	.jh-tiles--2 {
		padding-bottom: 4px !important;
		margin-bottom: 6px !important;
		border-bottom: 0.5pt solid #ccc !important;
	}
	.jh-tile--title h1,
	.jh-tile--title .jh-tile__val {
		font-size: 16pt !important;
		line-height: 1.2 !important;
		margin: 0 !important;
	}
	.jh-tile__lab {
		font-size: 7.5pt !important;
		margin-bottom: 2px !important;
		color: #666 !important;
	}
	.jh-tile__val {
		font-size: 10pt !important;
		line-height: 1.25 !important;
	}
	.jh-tile__val--price {
		font-size: 11pt !important;
		font-weight: 700 !important;
	}
	/* Meta + 4 dane: jedna zwarta linia */
	.jh-tiles--meta {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: baseline !important;
		gap: 0 18px !important;
		padding: 4px 0 !important;
		margin-bottom: 4px !important;
		border-bottom: 0.5pt solid #ccc !important;
	}
	.jh-tiles--meta .jh-tile {
		display: flex !important;
		flex-direction: row !important;
		align-items: baseline !important;
		gap: 6px !important;
		padding: 0 !important;
		border: 0 !important;
	}
	.jh-tiles--meta .jh-tile__lab {
		font-size: 7pt !important;
		margin: 0 !important;
		white-space: nowrap !important;
		color: #C4A574 !important;
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
	}
	.jh-tiles--meta .jh-tile__val {
		font-size: 9.5pt !important;
		white-space: nowrap !important;
	}
	.jh-tiles--meta .jh-tile--action {
		display: none !important;
	}

	.jh-tiles--facts {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		align-items: start !important;
		column-gap: 10px !important;
		row-gap: 6px !important;
		padding: 4px 0 8px !important;
		margin-bottom: 8px !important;
		border-bottom: 0.5pt solid #ccc !important;
		flex-wrap: unset !important;
	}
	.jh-tiles--facts .jh-tile {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 1px !important;
		padding: 0 !important;
		min-width: 0 !important;
	}
	.jh-tiles--facts .jh-tile__lab {
		font-size: 7pt !important;
		color: #C4A574 !important;
		white-space: nowrap !important;
	}
	.jh-tiles--facts .jh-tile__val {
		font-size: 9pt !important;
		white-space: normal !important;
		overflow-wrap: anywhere !important;
		line-height: 1.25 !important;
	}
	.jh-price-line { font-size: 9pt !important; margin: 0 0 8px !important; }
	.jh-legal {
		display: block !important;
		font-size: 6.5pt !important;
		text-transform: uppercase !important;
		margin-top: 12px !important;
		color: #666 !important;
	}


	.jh-tiles--4 {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: baseline !important;
		gap: 0 16px !important;
		padding: 4px 0 !important;
		margin-bottom: 8px !important;
		border-bottom: 0.5pt solid #ccc !important;
	}
	.jh-tiles--4 .jh-tile {
		display: flex !important;
		flex-direction: row !important;
		align-items: baseline !important;
		gap: 5px !important;
		padding: 0 !important;
		border: 0 !important;
		flex: 0 1 auto !important;
	}
	.jh-tiles--4 .jh-tile__lab {
		font-size: 7pt !important;
		margin: 0 !important;
		white-space: nowrap !important;
		color: #C4A574 !important;
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
	}
	.jh-tiles--4 .jh-tile__val {
		font-size: 9.5pt !important;
		white-space: nowrap !important;
	}
	.jh-tiles--4 .jh-tile:first-child { padding-left: 0 !important; }
	.jh-tiles--4 .jh-tile:last-child {
		border-right: 0 !important;
		padding-right: 0 !important;
	}

	/* --- sekcje tekstowe --- */
	.jh-sec {
		margin: 0 0 10px 0 !important;
		padding: 0 !important;
		break-inside: avoid;
		page-break-inside: avoid;
	}
	body.single-oferta .jh-sec h2 {
		font-size: 11pt !important;
		font-weight: 600 !important;
		margin: 0 0 4px 0 !important;
		padding: 0 0 2px 0 !important;
		color: #111 !important;
		border-bottom: 0.5pt solid #ddd !important;
	}
	.jh-txt,
	.jh-txt p,
	.jh-txt--lead {
		font-size: 9.5pt !important;
		line-height: 1.35 !important;
		text-align: left !important;
		margin: 0 0 4px 0 !important;
		padding: 0 !important;
	}
	.jh-sec--lead {
		margin-bottom: 8px !important;
	}
	.jh-sec--advisor {
		padding: 6px 8px !important;
		background: #f5f5f5 !important;
		border: 0.5pt solid #ddd !important;
		margin-top: 6px !important;
	}

	/* --- tabela INFORMACJE --- */
	.jh-split-row {
		display: block !important;
		margin: 0 0 10px 0 !important;
	}
	.jh-sec--info {
		margin: 0 0 10px 0 !important;
		width: 100% !important;
	}
	.jh-info {
		display: table !important;
		width: 100% !important;
		border-collapse: collapse !important;
		border-top: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	.jh-info__row {
		display: table-row !important;
		padding: 0 !important;
		border: 0 !important;
		font-size: 9pt !important;
	}
	.jh-info__row span,
	.jh-info__row strong {
		display: table-cell !important;
		padding: 3px 8px !important;
		border-bottom: 0.4pt solid #ddd !important;
		vertical-align: top !important;
		line-height: 1.3 !important;
	}
	.jh-info__row span {
		width: 38% !important;
		color: #555 !important;
		font-weight: 400 !important;
		padding-left: 0 !important;
	}
	.jh-info__row strong {
		width: 62% !important;
		color: #111 !important;
		font-weight: 600 !important;
		text-align: left !important;
		padding-right: 0 !important;
	}
	.jh-info__row:nth-child(odd) span,
	.jh-info__row:nth-child(odd) strong {
		background: #f7f7f7 !important;
	}

	/* --- stopka wydruku --- */
	.jh-print-footer {
		display: block !important;
		margin-top: 16px !important;
		padding-top: 0 !important;
		page-break-inside: avoid;
	}
	.jh-print-footer__line {
		border: 0 !important;
		border-top: 0.6pt solid #999 !important;
		margin: 0 0 8px 0 !important;
		padding: 0 !important;
		height: 0 !important;
	}
	.jh-print-footer__data {
		margin: 0 !important;
		padding: 0 !important;
		font-size: 8pt !important;
		line-height: 1.4 !important;
		color: #444 !important;
		text-align: center !important;
	}

	/* --- wydruk dla partnera (body.jh-print-agency) --- */
	body.jh-print-agency .jh-print-logo {
		display: none !important;
	}
	body.jh-print-agency .jh-print-footer {
		display: none !important;
	}
	body.jh-print-agency .jh-print-agency-gallery {
		display: block !important;
		margin-top: 12px !important;
		page-break-before: auto;
	}
	body.jh-print-agency .jh-print-agency-gallery__title {
		font-family: "Playfair Display", Georgia, serif !important;
		font-size: 12pt !important;
		font-weight: 400 !important;
		margin: 0 0 8px 0 !important;
		padding: 0 0 4px 0 !important;
		border-bottom: 0.5pt solid #ccc !important;
		color: #111 !important;
	}
	body.jh-print-agency .jh-print-agency-gallery__grid {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 8px !important;
	}
	body.jh-print-agency .jh-print-agency-gallery__item {
		margin: 0 !important;
		page-break-inside: avoid;
	}
	body.jh-print-agency .jh-print-agency-gallery__item img {
		width: 100% !important;
		height: auto !important;
		max-height: 180px !important;
		object-fit: cover !important;
		display: block !important;
	}

}


/* Na ekranie – wariant pod druk ukryty */
.jh-print-logo {
	display: none;
}
.jh-print-logo-inline {
	display: none;
}
.jh-print-footer {
	display: none;
}
.jh-print-agency-gallery {
	display: none;
}
.jh-print-hero {
	display: none;
}
/* =========================================================
   FILTRY KATALOGU – układ + custom multi-select
   ========================================================= */

.jh-filters {
	margin: 0 0 36px;
	padding: 28px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.jh-filters__hint {
	margin: 0 0 16px;
	font-size: 0.82rem;
	color: var(--muted);
	text-align: center;
}

.jh-filters__row {
	display: grid;
	gap: 16px;
	margin-bottom: 16px;
	align-items: end;
}

/* Rząd 1 – taksonomie (3 kolumny) */
.jh-filters__row--tax {
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* Rząd 2 – zakresy (6 kolumn) */
.jh-filters__row--range {
	grid-template-columns: repeat(6, 1fr);
}

.jh-filters__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.jh-filters__field input[type="number"] {
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--navy);
	padding: 10px 12px;
	border: 1px solid var(--line);
	background: var(--white);
	width: 100%;
	box-sizing: border-box;
	border-radius: 0;
}

/* Przyciski */
.jh-filters__actions {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-top: 8px;
}

.jh-filters__actions .jh-btn {
	padding: 12px 24px;
	font-size: 0.72rem;
	min-width: 120px;
}

/* Custom multi-select */
.jh-ms {
	position: relative;
	width: 100%;
}

.jh-ms__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 42px;
	padding: 10px 12px;
	font-family: "Manrope", system-ui, sans-serif;
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--navy);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	text-align: left;
	line-height: 1.4;
}

/* Kadence lubi nadpisywać button – tylko layout, nie kolor motywu */
.jh-filters button.jh-ms__btn {
	background: #fff !important;
	background-image: none !important;
	border: 1px solid var(--line) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--navy) !important;
	font-weight: 500 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

/* hover / focus – beżowy akcent (jak wcześniej) */
.jh-ms__btn:hover,
.jh-filters button.jh-ms__btn:hover,
.jh-ms.is-open .jh-ms__btn,
.jh-filters button.jh-ms.is-open .jh-ms__btn,
.jh-filters .jh-ms.is-open button.jh-ms__btn {
	background: #C4A574 !important;
	background-image: none !important;
	border-color: #C4A574 !important;
	color: #fff !important;
}

.jh-ms__btn::after {
	content: "▾";
	font-size: 0.75rem;
	opacity: 0.55;
	margin-left: 8px;
	flex-shrink: 0;
}

.jh-ms__btn:hover::after,
.jh-ms.is-open .jh-ms__btn::after {
	content: "▴";
	opacity: 0.9;
	color: #fff;
}

.jh-ms__panel {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 80;
	max-height: 220px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: #fff;
	border: 1px solid var(--line);
	border-top: none;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	padding: 4px 0;
	margin: 0;
}

/* ukryty atrybut HTML + klasa */
.jh-ms__panel[hidden] {
	display: none !important;
}

.jh-ms.is-open .jh-ms__panel:not([hidden]) {
	display: block;
}

.jh-ms__item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--navy);
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
	margin: 0;
}

.jh-ms__item:hover {
	background: var(--bg-subtle);
}

.jh-ms__item input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--navy);
	flex-shrink: 0;
	margin: 0;
}

/* Responsive – filtry */
@media (max-width: 900px) {
	.jh-filters__row--tax {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.jh-filters__row--range {
		grid-template-columns: 1fr 1fr;
	}
	.jh-ms__panel {
		position: absolute;
		max-height: 200px;
	}
}

@media (max-width: 520px) {
	.jh-filters__row--range {
		grid-template-columns: 1fr;
	}
	.jh-filters__actions {
		flex-direction: column;
	}
	.jh-filters__actions .jh-btn {
		width: 100%;
	}
}


/* =========================================================
   HEADER OFERTY W BELCE LOGO + MENU W STOPCE
   ========================================================= */
body.single-oferta #masthead .header-navigation,
body.single-oferta #site-navigation,
body.single-oferta .header-menu-container {
	display: flex !important;
}
.jh-footer-nav { display: none !important; }

body.single-oferta.jh-offer-head-in #masthead .site-main-header-inner-wrap,
body.single-oferta.jh-offer-head-in #masthead .site-header-inner-wrap {
	display: flex !important;
	align-items: center !important;
	gap: 16px 24px !important;
	width: 100% !important;
}

body.single-oferta.jh-offer-head-in .jh-hero-bar {
	position: static !important;
	top: auto !important;
	bottom: auto !important;
	left: auto !important;
	right: auto !important;
	flex: 1 1 auto !important;
	width: auto !important;
	min-width: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 16px !important;
}

body.single-oferta.jh-offer-head-in .jh-hero-bar {
	position: static !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	align-items: center !important;
	justify-content: stretch !important;
	gap: 16px !important;
	min-width: 0 !important;
	flex: 1 1 auto !important;
}
body.single-oferta.jh-offer-head-in .jh-hero-bar__title {
	position: static !important;
	transform: none !important;
	left: auto !important;
	top: auto !important;
	width: auto !important;
	max-width: 100% !important;
	margin: 0 !important;
	text-align: center !important;
	font-size: clamp(1.35rem, 2.4vw, 2.4rem) !important;
	color: #fff !important;
	letter-spacing: 0.04em !important;
	line-height: 1.1 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}
body.single-oferta.jh-offer-head-in .jh-hero-bar__right {
	margin-left: 0 !important;
	flex: 0 0 auto !important;
	white-space: nowrap !important;
}

body.single-oferta.jh-offer-head-in .jh-btn--hero {
	padding: 8px 12px !important;
	font-size: 0.62rem !important;
}

.jh-footer-nav {
	display: flex;
	justify-content: center;
	margin: 0 0 8px;
}
.jh-footer-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.jh-footer-nav__list a {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: #666;
}
.jh-footer-nav__list a:hover {
	color: #1A1A1A;
}


/* Belki: 2 cm bokiem */
body.single-oferta #masthead .site-main-header-inner-wrap,
body.single-oferta #masthead .site-header-inner-wrap,
body.single-oferta #masthead .site-header-row-container-inner {
	padding-left: 2cm !important;
	padding-right: 2cm !important;
	box-sizing: border-box !important;
}


/* Wjazd sekcji L/P */
.jh-reveal {
	opacity: 0;
}
.jh-reveal.is-in.jh-reveal--left {
	animation: jhInLeft 3.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.jh-reveal.is-in.jh-reveal--right {
	animation: jhInRight 3.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes jhInLeft {
	from { opacity: 0; transform: translateX(-90px); }
	to   { opacity: 1; transform: translateX(0); }
}
@keyframes jhInRight {
	from { opacity: 0; transform: translateX(90px); }
	to   { opacity: 1; transform: translateX(0); }
}
.jh-split-row { overflow: visible !important; }
@media print {
	.jh-reveal { opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.jh-reveal { opacity: 1; transform: none; transition: none; }
}
