.k-immo-browser,
.k-immo-detail-shell {
	--ki-accent: #a88958;
	--ki-dark: #171717;
	--ki-muted: #6f6f6f;
	--ki-border: #e7e4df;
	--ki-surface: #f7f6f3;
	font-family: inherit;
}

.k-immo-filter {
	margin: 0 0 32px;
	padding: 24px;
	border: 1px solid var(--ki-border);
	background: var(--ki-surface);
}

.k-immo-filter-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.k-immo-filter label,
.k-immo-filter fieldset {
	display: block;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.k-immo-filter label > span,
.k-immo-filter legend {
	display: block;
	margin: 0 0 7px;
	padding: 0;
	color: var(--ki-dark);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
}

.k-immo-filter input,
.k-immo-filter select {
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #d8d3cb;
	border-radius: 0;
	background: #fff;
	color: var(--ki-dark);
	font: inherit;
}

.k-immo-filter select {
	cursor: pointer;
}

.k-immo-range {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 8px;
}

.k-immo-filter-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 20px;
}

.k-immo-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 24px;
	border: 1px solid var(--ki-dark);
	border-radius: 0;
	background: var(--ki-dark);
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .05em;
	text-decoration: none !important;
	cursor: pointer;
}

.k-immo-button:hover,
.k-immo-button:focus {
	border-color: var(--ki-accent);
	background: var(--ki-accent);
}

/*
 * Some themes apply high-specificity or !important styles to submit buttons.
 * Keep the two plugin actions readable regardless of the active theme.
 */
.k-immo-browser .k-immo-filter-actions button.k-immo-button,
.k-immo-detail-shell .k-immo-contact-form button.k-immo-button {
	-webkit-appearance: none !important;
	appearance: none !important;
	border: 1px solid #171717 !important;
	border-radius: 0 !important;
	background: #171717 !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	opacity: 1 !important;
}

.k-immo-browser .k-immo-filter-actions button.k-immo-button:hover,
.k-immo-browser .k-immo-filter-actions button.k-immo-button:focus,
.k-immo-detail-shell .k-immo-contact-form button.k-immo-button:hover,
.k-immo-detail-shell .k-immo-contact-form button.k-immo-button:focus {
	border-color: #a88958 !important;
	background: #a88958 !important;
	background-image: none !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

.k-immo-browser .k-immo-filter-actions button.k-immo-button:focus-visible,
.k-immo-detail-shell .k-immo-contact-form button.k-immo-button:focus-visible {
	outline: 2px solid #171717 !important;
	outline-offset: 3px;
}

.k-immo-button-secondary {
	background: transparent;
	color: var(--ki-dark) !important;
}

.k-immo-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.k-immo-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--ki-border);
	background: #fff;
	box-shadow: 0 9px 30px rgba(20, 20, 20, .06);
	transition: transform .22s ease, box-shadow .22s ease;
}

.k-immo-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(20, 20, 20, .11);
}

.k-immo-card-link {
	display: flex;
	height: 100%;
	flex-direction: column;
	color: inherit !important;
	text-decoration: none !important;
}

.k-immo-card-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: #eceae6;
}

.k-immo-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.k-immo-card:hover .k-immo-card-image img {
	transform: scale(1.035);
}

.k-immo-no-image {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #efede8, #dedad2);
}

.k-immo-card-body {
	flex: 1;
	padding: 20px;
}

.k-immo-card-body h3 {
	margin: 0 0 13px;
	color: var(--ki-dark);
	font-size: clamp(17px, 1.4vw, 21px);
	line-height: 1.3;
}

.k-immo-address {
	margin: 0;
	color: var(--ki-muted);
	font-size: 14px;
}

.k-immo-address span {
	margin-right: 5px;
	color: var(--ki-accent);
	font-size: 9px;
}

.k-immo-card-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--ki-border);
}

.k-immo-card-facts > span {
	display: flex;
	min-width: 0;
	padding: 14px 10px;
	flex-direction: column;
	justify-content: center;
	border-right: 1px solid var(--ki-border);
}

.k-immo-card-facts > span:last-child {
	border-right: 0;
}

.k-immo-card-facts small {
	margin-bottom: 3px;
	color: var(--ki-muted);
	font-size: 10px;
	line-height: 1.2;
}

.k-immo-card-facts strong {
	overflow: hidden;
	color: var(--ki-dark);
	font-size: 13px;
	line-height: 1.3;
	text-overflow: ellipsis;
}

.k-immo-message {
	padding: 25px;
	border: 1px solid var(--ki-border);
	background: var(--ki-surface);
	text-align: center;
}

.k-immo-error {
	border-color: #e6c8c8;
	background: #fff7f7;
}

.k-immo-detail-main {
	margin: 0 !important;
	padding: 54px 20px 90px;
	background: #fff;
}

/* Empty Elementor spacer at the bottom of the site header. */
body.k-immo-detail-page > .elementor.elementor-7 > .elementor-element-4d35162 {
	display: none !important;
}

/* Keep the transparent Elementor top bar from showing Astra's pink body color. */
body.k-immo-detail-page,
body.k-immo-detail-page > .elementor.elementor-7,
body.k-immo-detail-page > .elementor.elementor-7 > .elementor-element-0fe4bc9 {
	border-top: 0 !important;
	outline: 0 !important;
	background-color: #fff !important;
	box-shadow: none !important;
}

.k-immo-detail-shell {
	width: min(1280px, 100%);
	margin: 0 auto;
}

.k-immo-detail-header {
	margin: 22px 0 30px;
}

.k-immo-detail-shell h1 {
	max-width: 1050px;
	margin: 0 0 12px;
	color: var(--ki-dark);
	font-size: clamp(30px, 4vw, 52px);
	line-height: 1.12;
}

.k-immo-detail-address {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	color: var(--ki-muted);
	font-size: 16px;
}

.k-immo-detail-address span {
	color: var(--ki-accent);
	font-size: 10px;
}

.k-immo-back {
	color: var(--ki-dark) !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
}

.k-immo-back:hover {
	color: var(--ki-accent) !important;
}

.k-immo-gallery {
	margin-bottom: 36px;
	padding: 0;
	background: #fff;
}

.k-immo-gallery-stage {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #eeece8;
}

.k-immo-gallery-main-link,
.k-immo-gallery-main {
	display: block;
	width: 100%;
	height: 100%;
}

.k-immo-gallery-main {
	object-fit: contain;
}

.k-immo-gallery-arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	transform: translateY(-50%);
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: 50%;
	background: rgba(16, 16, 16, .72);
	box-shadow: none;
	color: #fff;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
}

.k-immo-gallery-arrow:hover,
.k-immo-gallery-arrow:focus {
	background: var(--ki-accent);
	color: #fff;
}

.k-immo-gallery-prev {
	left: 18px;
}

.k-immo-gallery-next {
	right: 18px;
}

.k-immo-gallery-count {
	position: absolute;
	right: 16px;
	bottom: 16px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(16, 16, 16, .75);
	color: #fff;
	font-size: 12px;
}

.k-immo-gallery-thumbs {
	display: flex;
	overflow-x: auto;
	gap: 10px;
	padding: 12px 2px 3px;
	scrollbar-width: thin;
}

.k-immo-gallery-thumb {
	overflow: hidden;
	min-width: 104px;
	width: 104px;
	height: 72px;
	margin: 0;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 0;
	background: #eee;
	box-shadow: none;
	cursor: pointer;
	opacity: .68;
}

.k-immo-gallery-thumb.is-active,
.k-immo-gallery-thumb:hover,
.k-immo-gallery-thumb:focus {
	border-color: var(--ki-accent);
	opacity: 1;
}

.k-immo-gallery-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.k-immo-detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
	align-items: start;
	gap: 32px;
}

.k-immo-detail-content,
.k-immo-detail-sidebar {
	display: grid;
	min-width: 0;
	gap: 24px;
}

.k-immo-remote-block,
.k-immo-panel {
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--ki-border);
	background: #fff;
	box-shadow: 0 9px 30px rgba(20, 20, 20, .045);
}

.k-immo-remote-block .panel,
.k-immo-remote-block .panel-default {
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.k-immo-remote-block .panel-heading,
.k-immo-panel > h2 {
	margin: 0;
	padding: 18px 22px;
	border: 0;
	border-bottom: 1px solid var(--ki-border);
	background: var(--ki-surface);
}

.k-immo-remote-block .panel-title,
.k-immo-panel > h2 {
	color: var(--ki-dark);
	font-size: 19px;
	font-weight: 650;
	line-height: 1.3;
}

.k-immo-remote-block .panel-body {
	padding: 24px;
	color: #343434;
	font-size: 15px;
	line-height: 1.72;
}

.k-immo-remote-block .panel-body > :first-child {
	margin-top: 0;
}

.k-immo-remote-block .panel-body > :last-child {
	margin-bottom: 0;
}

.k-immo-remote-block ul {
	padding-left: 20px;
}

.k-immo-remote-block .features-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.k-immo-remote-block .features-list li {
	position: relative;
	padding-left: 17px;
}

.k-immo-remote-block .features-list li::before {
	position: absolute;
	top: .72em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ki-accent);
	content: "";
}

.k-immo-remote-block table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
}

.k-immo-remote-block td,
.k-immo-remote-block th {
	padding: 8px 0;
	border: 0;
	border-bottom: 1px solid var(--ki-border);
	vertical-align: top;
}

.k-immo-detail-sidebar .panel-body > ul,
.k-immo-detail-sidebar .panel-body > ul > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.k-immo-detail-sidebar .panel-body > ul > li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
	border-bottom: 1px solid var(--ki-border);
}

.k-immo-detail-sidebar .panel-body > ul > li:last-child {
	border-bottom: 0;
}

.k-immo-detail-sidebar .list-item-desc {
	color: var(--ki-muted);
}

.k-immo-detail-sidebar .list-item-value {
	color: var(--ki-dark);
	font-weight: 650;
	text-align: right;
}

.k-immo-remote-block a {
	color: var(--ki-dark);
	font-weight: 600;
}

.k-immo-remote-block a:hover {
	color: var(--ki-accent);
}

.k-immo-map-panel-body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 22px;
}

.k-immo-map-panel-body p {
	margin: 0;
	color: var(--ki-muted);
	font-size: 14px;
}

.k-immo-map-panel-body .k-immo-button {
	flex: 0 0 auto;
}

.k-immo-agent-card {
	padding-bottom: 24px;
	text-align: center;
}

.k-immo-agent-card > img {
	display: block;
	width: 108px;
	height: 108px;
	margin: 24px auto 14px;
	border-radius: 50%;
	object-fit: cover;
}

.k-immo-agent-card > strong,
.k-immo-agent-card > span {
	display: block;
	padding: 0 20px;
}

.k-immo-agent-card > strong {
	color: var(--ki-dark);
	font-size: 17px;
}

.k-immo-agent-card > span {
	margin-top: 3px;
	color: var(--ki-muted);
	font-size: 14px;
}

.k-immo-agent-card ul {
	margin: 16px 0 0;
	padding: 0 20px;
	list-style: none;
}

.k-immo-agent-card li + li {
	margin-top: 6px;
}

.k-immo-agent-card a {
	color: var(--ki-dark);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.k-immo-agent-card a:hover {
	color: var(--ki-accent);
}

.k-immo-contact-form {
	display: grid;
	gap: 15px;
	padding: 22px;
}

.k-immo-contact-form label,
.k-immo-contact-form label > span {
	display: block;
}

.k-immo-contact-form label > span {
	margin-bottom: 6px;
	color: var(--ki-dark);
	font-size: 13px;
	font-weight: 650;
}

.k-immo-contact-form label > span strong {
	color: var(--ki-accent);
}

.k-immo-contact-form input,
.k-immo-contact-form select,
.k-immo-contact-form textarea {
	width: 100%;
	margin: 0;
	padding: 11px 12px;
	border: 1px solid #d8d3cb;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: var(--ki-dark);
	font: inherit;
}

.k-immo-contact-form input,
.k-immo-contact-form select {
	height: 46px;
}

.k-immo-contact-form textarea {
	min-height: 110px;
	resize: vertical;
}

.k-immo-contact-form input:focus,
.k-immo-contact-form select:focus,
.k-immo-contact-form textarea:focus {
	border-color: var(--ki-accent);
	outline: 2px solid rgba(168, 137, 88, .16);
}

.k-immo-privacy,
.k-immo-form-object {
	margin: 0;
	color: var(--ki-muted);
	font-size: 12px;
	line-height: 1.55;
}

.k-immo-privacy a {
	color: var(--ki-dark);
}

.k-immo-form-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.k-immo-form-footer span {
	color: var(--ki-muted);
	font-size: 12px;
}

.k-immo-form-notice {
	margin: 20px 22px 0;
	padding: 12px 14px;
	border: 1px solid;
	font-size: 14px;
	line-height: 1.5;
}

.k-immo-form-success {
	border-color: #93cba4;
	background: #f1fbf4;
	color: #1d6332;
}

.k-immo-form-error {
	border-color: #e0aaaa;
	background: #fff5f5;
	color: #8a2525;
}

.k-immo-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 1024px) {
	.k-immo-filter-grid,
	.k-immo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.k-immo-detail-layout {
		grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
		gap: 22px;
	}
}

@media (max-width: 820px) {
	.k-immo-detail-layout {
		grid-template-columns: 1fr;
	}

	.k-immo-detail-sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.k-immo-contact-panel {
		grid-column: 1 / -1;
	}
}

@media (max-width: 680px) {
	.k-immo-filter {
		padding: 18px;
	}

	.k-immo-filter-grid,
	.k-immo-grid {
		grid-template-columns: 1fr;
	}

	.k-immo-filter-actions {
		flex-direction: column-reverse;
	}

	.k-immo-button {
		width: 100%;
	}

	.k-immo-card-facts strong {
		font-size: 12px;
	}

	.k-immo-detail-main {
		padding: 32px 12px 60px;
	}

	.k-immo-detail-header {
		margin-top: 18px;
	}

	.k-immo-gallery {
		margin-bottom: 24px;
	}

	.k-immo-gallery-stage {
		aspect-ratio: 4 / 3;
	}

	.k-immo-gallery-arrow {
		width: 40px;
		height: 40px;
		font-size: 28px;
	}

	.k-immo-gallery-prev {
		left: 10px;
	}

	.k-immo-gallery-next {
		right: 10px;
	}

	.k-immo-detail-sidebar {
		grid-template-columns: 1fr;
	}

	.k-immo-remote-block .features-list {
		grid-template-columns: 1fr;
	}

	.k-immo-remote-block .panel-body,
	.k-immo-contact-form {
		padding: 19px;
	}

	.k-immo-form-footer {
		align-items: stretch;
		flex-direction: column;
	}

	.k-immo-map-panel-body {
		align-items: stretch;
		flex-direction: column;
	}
}
