/* ==========================================================================
   Million Homes — Ingatlan részletező (single-ingatlan)
   Forrás: Newsablon „Ingatlan.html" + assets/ingatlan.css, NAV/HÍRLEVÉL/FOOTER

   Felépítés:
   1) Alap (reset, konténer-felülírás, globális elemek, reveal)
   2) Galéria
   3) Cím + árblokk + gyorstények
   4) Törzs (leírás, videó, adattábla, jellemzők, térkép)
   5) Sticky sidebar (contact-card, agent-card, űrlap)
   6) Hasonló ingatlanok
   7) Lightbox
   8) Viewportok: 1180 / 1024 / 767
   9) Élő érdeklődő űrlap
   ========================================================================== */


/* ==========================================================================
   1) ALAP
   ========================================================================== */

/* Reset a szekción belül. */
.ingatlan-single * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.ingatlan-single {
	background: #f6f3ee;
	color: #141210;
	font-family: "Instrument Sans", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   Téma konténer felülírása — teljes szélesség (full-bleed)
   -------------------------------------------------------------------------- */

body.single-ingatlan .site.grid-container.container,
body.single-ingatlan .site.grid-container {
	max-width: 100%;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

/* A .site-content alapból display:flex (GP right-sidebar layout) — blokkra
   állítjuk, hogy az .ingatlan-single kitöltse a teljes szélességet, és ne
   maradjon üres jobb oldali sidebar-oszlop. */
body.single-ingatlan .site-content {
	display: block;
	max-width: 100%;
	width: 100%;
	padding: 0;
}

body.single-ingatlan .ingatlan-single {
	width: 100%;
	max-width: 100%;
}

/* --------------------------------------------------------------------------
   Globális elemek
   -------------------------------------------------------------------------- */

.ingatlan-single ::selection {
	background: #c9a558;
	color: #141210;
}

.ingatlan-single a {
	color: #141210;
	text-decoration: none;
	transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ingatlan-single a:hover {
	color: #af7366;
}

.ingatlan-single img {
	display: block;
}

.ingatlan-single ul {
	list-style: none;
}

.ingatlan-single button {
	font-family: inherit;
}

.ingatlan-single h1,
.ingatlan-single h2,
.ingatlan-single h3 {
	font-weight: inherit;
}

/* --------------------------------------------------------------------------
   Reveal-on-scroll (a JS csak a hajtás alatti elemeket rejti)
   -------------------------------------------------------------------------- */

.reveal--hidden {
	opacity: 0;
	transform: translateY(26px);
}

.reveal--hidden.is-in {
	opacity: 1;
	transform: none;
	transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
	.reveal--hidden {
		opacity: 1 !important;
		transform: none !important;
	}
}


/* ==========================================================================
   2) GALÉRIA
   ========================================================================== */

.ingatlan-single .gallery {
	padding: 55px 0 0;
	background: #f6f3ee;
}

.ingatlan-single .gallery__inner {
	max-width: 1140px;
	margin: 0 auto;
}

.ingatlan-single .gallery-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 20px 0 18px;
}

.ingatlan-single .breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.5px;
	color: rgba(20, 18, 16, 0.5);
}

.ingatlan-single .breadcrumb a {
	color: rgba(20, 18, 16, 0.5);
}

.ingatlan-single .breadcrumb a:hover {
	color: #af7366;
}

.ingatlan-single .breadcrumb span.cur {
	color: #af7366;
}

.ingatlan-single .gallery-actions {
	display: flex;
	gap: 10px;
}

.ingatlan-single .gl-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	background: #ffffff;
	border: 1px solid rgba(20, 18, 16, 0.14);
	border-radius: 100px;
	cursor: pointer;
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: #141210;
	transition: border-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ingatlan-single .gl-btn:hover {
	border-color: #141210;
}

.ingatlan-single .gl-btn svg {
	width: 15px;
	height: 15px;
}

/* --- Képrács (1 nagy + 4 kis bélyegkép) --- */

.ingatlan-single .gallery-grid {
	position: relative;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 10px;
	height: 440px;
	border-radius: 16px;
	overflow: hidden;
}

.ingatlan-single .gthumb {
	position: relative;
	border: none;
	padding: 0;
	cursor: pointer;
	overflow: hidden;
	background: none;
}

.ingatlan-single .gthumb--big {
	grid-column: 1;
	grid-row: 1 / 3;
}

.ingatlan-single .gthumb__zoom {
	position: absolute;
	inset: 0;
}

.ingatlan-single .gthumb__zoom img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.ingatlan-single .gthumb:hover .gthumb__zoom img {
	transform: scale(1.05);
}

.ingatlan-single .gallery-allbtn {
	position: absolute;
	right: 16px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	background: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border: none;
	border-radius: 100px;
	cursor: pointer;
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #141210;
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.4);
	transition: background 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ingatlan-single .gallery-allbtn svg {
	width: 16px;
	height: 16px;
}


/* ==========================================================================
   3) CÍM + ÁRBLOKK + GYORSTÉNYEK
   ========================================================================== */

.ingatlan-single .title-section {
	padding: 52px 0 0;
	background: #f6f3ee;
}

.ingatlan-single .title-section__inner {
	max-width: 1140px;
	margin: 0 auto;
}

.ingatlan-single .title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}

/* --- Badge-ek (státusz / kiemelés) --- */

.ingatlan-single .badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.ingatlan-single .badge {
	padding: 6px 14px;
	border-radius: 100px;
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.1px;
	text-transform: uppercase;
}

.ingatlan-single .badge--dark {
	background: #141210;
	color: #ffffff;
}

.ingatlan-single .badge--gold {
	background: rgba(201, 165, 88, 0.16);
	color: #af7366;
}

/* --- Cím, helyszín, ár --- */

.ingatlan-single .title-section h1 {
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-weight: 700;
	font-size: 39px;
	line-height: 1.02;
	letter-spacing: -1.14px;
	max-width: 20ch;
}

.ingatlan-single .loc-line {
	margin-top: 14px;
	font-size: 15px;
	color: rgba(20, 18, 16, 0.6);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ingatlan-single .loc-line svg {
	width: 16px;
	height: 16px;
	flex: none;
	color: #af7366;
}

.ingatlan-single .price-block {
	text-align: right;
}

.ingatlan-single .price-label {
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: rgba(20, 18, 16, 0.45);
}

.ingatlan-single .price-val {
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 34px;
	font-weight: 700;
	letter-spacing: -1.06px;
	color: #141210;
	line-height: 1;
	margin-top: 6px;
}

.ingatlan-single .price-val small {
	font-size: 14px;
	color: rgba(20, 18, 16, 0.5);
	font-weight: 600;
}

.ingatlan-single .prop-id {
	margin-top: 8px;
	font-size: 13px;
	color: rgba(20, 18, 16, 0.5);
}

/* --- Gyorstények sáv (alapterület / szoba / fürdő / parkolás) --- */

.ingatlan-single .qfacts {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 36px;
	padding: 24px 0;
	border-top: 1px solid rgba(20, 18, 16, 0.12);
	border-bottom: 1px solid rgba(20, 18, 16, 0.12);
}

.ingatlan-single .qfact {
	flex: 1;
	min-width: 130px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.ingatlan-single .qfact + .qfact {
	border-left: 1px solid rgba(20, 18, 16, 0.1);
	padding-left: 14px;
}

.ingatlan-single .qfact__ic {
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 11px;
	background: rgba(201, 165, 88, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ingatlan-single .qfact__ic svg {
	width: 21px;
	height: 21px;
	color: #af7366;
}

.ingatlan-single .qfact__num {
	display: block;
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #141210;
}

.ingatlan-single .qfact__lbl {
	display: block;
	font-size: 12px;
	color: rgba(20, 18, 16, 0.5);
}


/* ==========================================================================
   4) TÖRZS (2 oszlop: tartalom + sticky sidebar)
   ========================================================================== */

.ingatlan-single .body-section {
	padding: 56px 0 90px;
	background: #f6f3ee;
}

.ingatlan-single .body-grid {
	max-width: 1140px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 64px;
	align-items: start;
}

.ingatlan-single .body-main {
	min-width: 0;
}

.ingatlan-single .sec-h2 {
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-weight: 700;
	font-size: 24px;
	letter-spacing: -0.46px;
}

.ingatlan-single .sec-block {
	margin-top: 64px;
}

.ingatlan-single .sec-block:first-child {
	margin-top: 0;
}

/* --- Leírás --- */

.ingatlan-single .descr {
	margin-top: 18px;
	font-size: 16px;
	line-height: 1.75;
	color: rgba(20, 18, 16, 0.72);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ingatlan-single .descr p {
	margin: 0;
}

/* --- Videó-poszterek --- */

.ingatlan-single .video-grid {
	margin-top: 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.ingatlan-single .vcard {
	position: relative;
	aspect-ratio: 16/10;
	border-radius: 14px;
	overflow: hidden;
	cursor: pointer;
	border: none;
	padding: 0;
	display: block;
}

.ingatlan-single .vcard__img {
	position: absolute;
	inset: 0;
}

.ingatlan-single .vcard__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.ingatlan-single .vcard:hover .vcard__img img {
	transform: scale(1.05);
}

.ingatlan-single .vcard__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(8, 7, 6, 0.6), rgba(8, 7, 6, 0.15));
}

.ingatlan-single .vcard__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
	color: #141210;
	transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ingatlan-single .vcard:hover .vcard__play {
	transform: translate(-50%, -50%) scale(1.06);
}

.ingatlan-single .vcard__play svg {
	width: 24px;
	height: 24px;
}

.ingatlan-single .vcard__cap {
	position: absolute;
	left: 16px;
	bottom: 14px;
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #ffffff;
}

/* --- Adattábla (részletes adatok / elhelyezkedés) --- */

.ingatlan-single .specgrid {
	margin-top: 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 48px;
}

.ingatlan-single .specrow {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 4px;
	border-bottom: 1px solid rgba(20, 18, 16, 0.1);
}

.ingatlan-single .specrow__k {
	font-size: 14px;
	color: rgba(20, 18, 16, 0.55);
}

.ingatlan-single .specrow__v {
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #141210;
	text-align: right;
}

.ingatlan-single .specgrid--tight .specrow {
	padding: 13px 4px;
}

/* --- Jellemzők (pipás lista) --- */

.ingatlan-single .feat-grid {
	margin-top: 20px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px 24px;
}

.ingatlan-single .feat {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	color: rgba(20, 18, 16, 0.75);
}

.ingatlan-single .feat svg {
	width: 18px;
	height: 18px;
	flex: none;
	color: #af7366;
}

/* --- Alaprajz / térkép keret --- */

.ingatlan-single .media-frame {
	margin-top: 20px;
	position: relative;
	background: #ffffff;
	border: 1px solid rgba(20, 18, 16, 0.1);
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 16/9;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ingatlan-single .media-frame img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ingatlan-single .media-frame--map {
	aspect-ratio: 16/8;
	background: #e7e0d4;
}

.ingatlan-single .media-frame--map iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/* Leaflet térkép (frontend) — a .media-frame--map adja az aspect-ratiót,
   a Leaflet konténer kitölti. */
.ingatlan-single .im-terkep {
	height: 100%;
}

.ingatlan-single .im-terkep .leaflet-container {
	height: 100%;
	width: 100%;
	border-radius: 14px;
	font: inherit;
	background: #e7e0d4;
}

.ingatlan-single .im-terkep .leaflet-popup-content-wrapper {
	border-radius: 10px;
}

.ingatlan-single .media-ph {
	font-size: 13px;
	color: rgba(20, 18, 16, 0.45);
	padding: 24px;
	text-align: center;
}

.ingatlan-single .map-pin {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -100%);
	width: 38px;
	height: 38px;
	border-radius: 50% 50% 50% 0;
	rotate: 45deg;
	background: #c9a558;
	border: 3px solid #ffffff;
	box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.5);
}

/* --- Elhelyezkedés fejléc + térkép-gomb --- */

.ingatlan-single .loc-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.ingatlan-single .map-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: #141210;
	color: #ffffff;
	border-radius: 100px;
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	transition: background 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ingatlan-single .map-btn:hover {
	background: #c9a558;
	color: #141210;
}

.ingatlan-single .map-btn svg {
	width: 15px;
	height: 15px;
}


/* ==========================================================================
   5) STICKY SIDEBAR (contact-card, agent-card, űrlap)
   ========================================================================== */

.ingatlan-single .body-aside {
	position: sticky;
	top: 96px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* --- Kapcsolat-kártya (sötét) --- */

.ingatlan-single .contact-card {
	background: #141210;
	color: #ffffff;
	border-radius: 16px;
	padding: 26px;
}

.ingatlan-single .contact-card__k {
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: #ffffff;
}

.ingatlan-single .contact-card__h {
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.16px;
	margin-top: 8px;
	line-height: 1.2;
}

.ingatlan-single .contact-card__p {
	margin-top: 10px;
	font-size: 13.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.62);
}

.ingatlan-single .contact-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 18px;
	padding: 14px;
	background: #AF7366;
	color: #ffffff;
	border-radius: 100px;
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 13px;
	font-weight: 600;
	transition: filter 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ingatlan-single .contact-card__btn:hover {
	filter: brightness(1.07);
}

.ingatlan-single .contact-card__btn svg {
	width: 16px;
	height: 16px;
}

/* --- Ügynök-kártya + érdeklődő űrlap --- */

.ingatlan-single .agent-card {
	background: #ffffff;
	border: 1px solid rgba(20, 18, 16, 0.1);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 30px 70px -50px rgba(0, 0, 0, 0.4);
}

.ingatlan-single .agent-head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ingatlan-single .agent-photo {
	width: 60px;
	height: 60px;
	flex: none;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(20, 18, 16, 0.06);
}

.ingatlan-single .agent-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ingatlan-single .agent-name {
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #141210;
}

.ingatlan-single .agent-role {
	font-size: 12.5px;
	color: rgba(20, 18, 16, 0.55);
}

.ingatlan-single .agent-link {
	display: inline-block;
	margin-top: 4px;
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: #af7366;
}

.ingatlan-single .agent-divider {
	height: 1px;
	background: rgba(20, 18, 16, 0.1);
	margin: 20px 0;
}

.ingatlan-single .agent-card__title {
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #141210;
}

.ingatlan-single .agent-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 14px;
}

.ingatlan-single .f-input,
.ingatlan-single .f-select,
.ingatlan-single .f-textarea {
	padding: 13px 15px;
	border: 1px solid rgba(20, 18, 16, 0.18);
	border-radius: 10px;
	background: #faf7f1;
	font-family: "Instrument Sans", system-ui, sans-serif;
	font-size: 14px;
	color: #141210;
	width: 100%;
}

.ingatlan-single .f-select {
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.ingatlan-single .f-textarea {
	resize: vertical;
}

.ingatlan-single .consent {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	font-size: 12px;
	line-height: 1.5;
	color: rgba(20, 18, 16, 0.6);
}

.ingatlan-single .consent input {
	margin-top: 2px;
	width: 15px;
	height: 15px;
	accent-color: #c9a558;
	flex: none;
}

.ingatlan-single .form-btn {
	margin-top: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px;
	background: #141210;
	color: #ffffff;
	border: none;
	border-radius: 100px;
	cursor: pointer;
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 13px;
	font-weight: 600;
	transition: background 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ingatlan-single .form-btn:hover {
	background: #c9a558;
	color: #141210;
}


/* ==========================================================================
   6) HASONLÓ INGATLANOK
   ========================================================================== */

.ingatlan-single .similar {
	padding: 100px 0;
	background: #f6f3ee;
}

.ingatlan-single .similar__inner {
	max-width: 1140px;
	margin: 0 auto;
}

.ingatlan-single .similar-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 48px;
}

.ingatlan-single .eyebrow-line {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.ingatlan-single .eyebrow-line::before {
	content: "";
	width: 24px;
	height: 1px;
	background: #c9a558;
}

.ingatlan-single .eyebrow-line span {
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2.6px;
	text-transform: uppercase;
	color: #af7366;
}

.ingatlan-single .similar h2 {
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-weight: 700;
	font-size: 34px;
	letter-spacing: -1px;
}

.ingatlan-single .sim-alllink {
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 13px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid rgba(20, 18, 16, 0.25);
	padding-bottom: 5px;
}

/* --- Kártyák --- */

.ingatlan-single .sim-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 34px;
}

.ingatlan-single .sim-card {
	display: block;
}

.ingatlan-single .sim-card__media {
	position: relative;
	aspect-ratio: 4/3;
	overflow: hidden;
	border-radius: 10px;
}

.ingatlan-single .sim-card__zoom {
	position: absolute;
	inset: 0;
}

.ingatlan-single .sim-card__zoom img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.ingatlan-single .sim-card:hover .sim-card__zoom img {
	transform: scale(1.06);
}

.ingatlan-single .sim-card__deal {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 14px;
	background: rgba(246, 243, 238, 0.94);
	border-radius: 100px;
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	color: #141210;
}

.ingatlan-single .sim-card__body {
	padding-top: 16px;
}

.ingatlan-single .sim-card__title {
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.32px;
}

.ingatlan-single .sim-card__loc {
	margin-top: 5px;
	font-size: 13px;
	color: rgba(20, 18, 16, 0.5);
}

.ingatlan-single .sim-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(20, 18, 16, 0.12);
}

.ingatlan-single .sim-card__price {
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #141210;
}

.ingatlan-single .sim-card__meta {
	font-size: 13px;
	color: rgba(20, 18, 16, 0.6);
}


/* ==========================================================================
   7) LIGHTBOX
   ========================================================================== */

.ingatlan-single .lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(8, 7, 6, 0.94);
	padding: 64px;
}

.ingatlan-single .lightbox.is-open {
	display: flex;
}

.ingatlan-single .lightbox__img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 12px;
	object-fit: contain;
}

.ingatlan-single .lb-btn {
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ingatlan-single .lb-btn svg {
	width: 22px;
	height: 22px;
}

.ingatlan-single .lb-close {
	top: 24px;
	right: 28px;
	width: 48px;
	height: 48px;
}

.ingatlan-single .lb-prev {
	left: 44px;
	top: 50%;
	transform: translateY(-50%);
	width: 54px;
	height: 54px;
}

.ingatlan-single .lb-next {
	right: 44px;
	top: 50%;
	transform: translateY(-50%);
	width: 54px;
	height: 54px;
}

.ingatlan-single .lb-counter {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.1px;
	color: rgba(255, 255, 255, 0.8);
}


/* ==========================================================================
   8) SZŰKEBB VIEWPORTOK
   ========================================================================== */

/* 1180px alatt a fő tárolók kapnak oldaltérközt (a szekciók sosem). */
@media (max-width: 1180px) {
	.ingatlan-single .gallery__inner,
	.ingatlan-single .title-section__inner,
	.ingatlan-single .body-grid,
	.ingatlan-single .similar__inner {
		padding-left: 32px;
		padding-right: 32px;
	}
}

/* --------------------------------------------------------------------------
   TABLET (max-width: 1024px) — a sablon tablet logikája, 1140-re skálázva
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

	/* Galéria: 2 oszlop, fix sormagasság, fő fotó teljes sorban. */
	.ingatlan-single .gallery-grid {
		height: auto;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: none;
		grid-auto-rows: 180px;
	}

	.ingatlan-single .gthumb--big {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.ingatlan-single .title-section h1 {
		font-size: 30px;
		letter-spacing: -0.9px;
	}

	.ingatlan-single .price-val {
		font-size: 29px;
		letter-spacing: -0.9px;
	}

	/* Törzs: egy oszlop, sidebar a tartalom alá (nem sticky). */
	.ingatlan-single .body-section {
		padding: 48px 0 64px;
	}

	.ingatlan-single .body-grid {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.ingatlan-single .body-aside {
		position: static;
	}

	.ingatlan-single .similar {
		padding: 64px 0;
	}

	.ingatlan-single .similar h2 {
		font-size: 27px;
		letter-spacing: -0.8px;
	}

	.ingatlan-single .sim-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 24px;
	}
}

/* --------------------------------------------------------------------------
   MOBIL (max-width: 767px) — a sablon mobil logikája, 1140-re skálázva
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {

	.ingatlan-single .gallery__inner,
	.ingatlan-single .title-section__inner,
	.ingatlan-single .body-grid,
	.ingatlan-single .similar__inner {
		padding-left: 20px;
		padding-right: 20px;
	}

	/* Galéria */
	.ingatlan-single .gallery {
		padding: 50px 0 0;
	}

	.ingatlan-single .gallery-bar {
		padding: 16px 0 14px;
	}

	.ingatlan-single .gallery-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 160px;
	}

	.ingatlan-single .gthumb--big {
		grid-column: auto;
	}

	.ingatlan-single .gallery-allbtn {
		right: 12px;
		bottom: 12px;
		padding: 9px 14px;
		font-size: 12px;
	}

	/* Cím + ár */
	.ingatlan-single .title-section {
		padding: 40px 0 0;
	}

	.ingatlan-single .title-row {
		gap: 20px;
	}

	.ingatlan-single .title-section h1 {
		font-size: 24px;
		letter-spacing: -0.72px;
	}

	.ingatlan-single .price-block {
		text-align: left;
	}

	.ingatlan-single .price-val {
		font-size: 24px;
	}

	.ingatlan-single .price-val small {
		font-size: 12px;
	}

	/* Gyorstények: 2 oszlopból rács, bal elválasztók nélkül. */
	.ingatlan-single .qfacts {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 14px;
		margin-top: 28px;
		padding: 20px 0;
	}

	.ingatlan-single .qfact {
		min-width: 0;
	}

	.ingatlan-single .qfact + .qfact {
		border-left: none;
		padding-left: 0;
	}

	/* Törzs */
	.ingatlan-single .body-section {
		padding: 40px 0 48px;
	}

	.ingatlan-single .sec-block {
		margin-top: 34px;
	}

	.ingatlan-single .sec-h2 {
		font-size: 20px;
		letter-spacing: -0.4px;
	}

	.ingatlan-single .video-grid {
		grid-template-columns: 1fr;
	}

	.ingatlan-single .specgrid {
		grid-template-columns: 1fr;
	}

	.ingatlan-single .feat-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ingatlan-single .loc-head {
		align-items: flex-start;
	}

	/* Sidebar */
	.ingatlan-single .contact-card__btn {
		width: 100%;
	}

	.ingatlan-single .form-btn {
		width: 100%;
	}

	/* Hasonlók */
	.ingatlan-single .similar {
		padding: 48px 0;
	}

	.ingatlan-single .similar-head {
		margin-bottom: 28px;
		align-items: flex-start;
	}

	.ingatlan-single .similar h2 {
		font-size: 23px;
		letter-spacing: -0.7px;
	}

	.ingatlan-single .sim-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	/* Lightbox: szűkebb padding, kisebb gombok. */
	.ingatlan-single .lightbox {
		padding: 16px;
	}

	.ingatlan-single .lb-close {
		top: 12px;
		right: 12px;
		width: 42px;
		height: 42px;
	}

	.ingatlan-single .lb-prev {
		left: 8px;
		width: 46px;
		height: 46px;
	}

	.ingatlan-single .lb-next {
		right: 8px;
		width: 46px;
		height: 46px;
	}

	.ingatlan-single .lb-counter {
		bottom: 14px;
	}
}


/* ==========================================================================
   9) ÉLŐ ÉRDEKLŐDŐ ŰRLAP (includes/kapcsolat/erdeklodes.php)
   ========================================================================== */

/* Honeypot (képernyőn kívül, botoknak). */
.ingatlan-single .agent-honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Beküldés-utáni visszajelzés a kártyában (?erdeklodes=…). */
.ingatlan-single .agent-form__uzenet {
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.5;
	background: rgba(178, 42, 42, 0.08);
	border: 1px solid rgba(178, 42, 42, 0.22);
	color: #8f2a2a;
}

.ingatlan-single .agent-form__uzenet--ok {
	background: rgba(201, 165, 88, 0.1);
	border: 1px solid rgba(201, 165, 88, 0.35);
	color: #7a6120;
}
