/**
 * Wohno listings — self-contained, brand-aligned card design.
 *
 * Mirrors the wohno.de listing card: a rounded surface, 5:4 image with a
 * frosted price pill, a tidy title/place block and icon stats. Scoped entirely
 * under `.wohno-listings` / `.wohno-single` / `.wohno-map` so it neither leaks
 * into the host theme nor inherits surprises from it. The single accent is
 * WOHNO amber; makler can retheme via the custom properties:
 *
 *   .wohno-listings { --wohno-accent: #2563eb; --wohno-radius: 12px; }
 *
 * Layouts (set with the `layout` attribute): grid · cards · list (+ map).
 */

.wohno-listings,
.wohno-single,
.wohno-map,
.wohno-listings-wrap,
.wohno-search {
	/* Brand + surface tokens (override-friendly). */
	--wohno-accent: #df6900;
	--wohno-accent-strong: #b85400;
	--wohno-card-bg: #ffffff;
	--wohno-field-bg: #f3f4f6;
	--wohno-fg: #18181b;
	--wohno-muted: #6b7280;
	--wohno-border: rgba(24, 24, 27, 0.10);
	--wohno-border-strong: rgba(24, 24, 27, 0.16);
	--wohno-placeholder: #f1f1f3;
	--wohno-badge-bg: rgba(255, 255, 255, 0.92);
	--wohno-badge-fg: #18181b;
	--wohno-radius: 18px;
	--wohno-gap: 1.5rem;
	--wohno-shadow: 0 1px 2px rgba(24, 24, 27, 0.05), 0 1px 3px rgba(24, 24, 27, 0.06);
	--wohno-shadow-lift: 0 22px 48px -16px rgba(24, 24, 27, 0.26), 0 6px 16px rgba(24, 24, 27, 0.08);

	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;

	--wohno-pin-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 2a7 7 0 0 0-7 7c0 4.6 6.1 12.3 6.4 12.6a.8.8 0 0 0 1.2 0C12.9 21.3 19 13.6 19 9a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z"/></svg>');
	--wohno-bed-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M2 17v-4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4M2 17v3M22 17v3M6 11V8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v3"/></svg>');
	--wohno-area-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16v16H4z"/><path d="M4 9h3M4 14h3M17 4v3M14 4v3"/></svg>');
	--wohno-house-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 3 2 11h3v9h5v-6h4v6h5v-9h3L12 3Z"/></svg>');
}

/* Defensive reset for our own subtree only. */
.wohno-listings *,
.wohno-single *,
.wohno-map-popup *,
.wohno-search,
.wohno-search * {
	box-sizing: border-box;
}

/* ============================ Layout shells ============================ */
.wohno-listings {
	display: grid;
	gap: var(--wohno-gap);
	grid-template-columns: repeat(1, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

/* --- Grid: `columns` is the MAX column count; cards keep a comfortable min
   width, so a lone result stays card-sized instead of shrinking to 1/N. --- */
.wohno-layout-grid { --wohno-min-card: 300px; }
.wohno-layout-grid.wohno-cols-1 {
	grid-template-columns: repeat(auto-fill, minmax(max(var(--wohno-min-card), 100%), 1fr));
}
.wohno-layout-grid.wohno-cols-2 {
	grid-template-columns: repeat(auto-fill, minmax(max(var(--wohno-min-card), calc((100% - 1 * var(--wohno-gap)) / 2)), 1fr));
}
.wohno-layout-grid.wohno-cols-3 {
	grid-template-columns: repeat(auto-fill, minmax(max(var(--wohno-min-card), calc((100% - 2 * var(--wohno-gap)) / 3)), 1fr));
}
.wohno-layout-grid.wohno-cols-4 {
	grid-template-columns: repeat(auto-fill, minmax(max(var(--wohno-min-card), calc((100% - 3 * var(--wohno-gap)) / 4)), 1fr));
}

/* --- Cards: spacious, auto-fitting, image-forward --- */
.wohno-listings.wohno-layout-cards {
	gap: 1.75rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}
.wohno-layout-cards .wohno-card__media { aspect-ratio: 16 / 10; }
.wohno-layout-cards .wohno-card__title { font-size: 1.2rem; }
.wohno-layout-cards .wohno-card__body { padding: 1.25rem 1.35rem 1.4rem; }

/* --- List: horizontal rows, image left --- */
.wohno-listings.wohno-layout-list {
	grid-template-columns: 1fr;
	gap: 1.15rem;
}
@media (min-width: 620px) {
	.wohno-layout-list .wohno-card { flex-direction: row; }
	.wohno-layout-list .wohno-card__media {
		flex: 0 0 38%;
		max-width: 320px;
		aspect-ratio: 4 / 3;
	}
	.wohno-layout-list .wohno-card__body { justify-content: center; }
	.wohno-layout-list .wohno-card__title {
		font-size: 1.2rem;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
}

/* ============================ Card ============================ */
.wohno-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--wohno-border);
	border-radius: var(--wohno-radius);
	background: var(--wohno-card-bg);
	color: var(--wohno-fg);
	text-decoration: none;
	box-shadow: var(--wohno-shadow);
	transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
	will-change: transform;
}
.wohno-card:hover,
.wohno-card:focus-within {
	border-color: var(--wohno-border-strong);
	box-shadow: var(--wohno-shadow-lift);
	transform: translateY(-4px);
}

/* ---------- Media ---------- */
.wohno-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--wohno-placeholder);
	cursor: pointer;
}
.wohno-card__gallery {
	position: absolute;
	inset: 0;
}
.wohno-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0;
	transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.wohno-card__img.is-active,
.wohno-card__img--empty { opacity: 1; }
.wohno-card:hover .wohno-card__img.is-active { transform: scale(1.05); }
.wohno-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(24, 24, 27, 0.34), transparent 42%);
	pointer-events: none;
	z-index: 1;
}
.wohno-card__img--empty {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(120% 120% at 50% 0%, rgba(223, 105, 0, 0.10), transparent 60%),
		var(--wohno-placeholder);
}

/* ---------- Gallery nav + dots (JS-only) ---------- */
.wohno-card__nav,
.wohno-card__dots { display: none; }
.wohno-card[data-wohno-ready] .wohno-card__dots { display: flex; }
.wohno-card[data-wohno-ready] .wohno-card__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #18181b;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	opacity: 0;
	box-shadow: 0 2px 8px rgba(24, 24, 27, 0.22);
	transition: opacity 0.2s ease, background 0.2s ease;
}
.wohno-card__nav--prev { left: 0.55rem; }
.wohno-card__nav--next { right: 0.55rem; }
.wohno-card:hover .wohno-card__nav,
.wohno-card:focus-within .wohno-card__nav { opacity: 1; }
.wohno-card__nav:hover { background: #fff; }
.wohno-card__dots {
	position: absolute;
	left: 50%;
	bottom: 0.6rem;
	transform: translateX(-50%);
	z-index: 3;
	gap: 0.3rem;
}
.wohno-card__dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
	cursor: pointer;
	transition: width 0.2s ease, background 0.2s ease;
}
.wohno-card__dot.is-active { width: 18px; border-radius: 4px; background: #fff; }
.wohno-card__img--empty::before {
	content: "";
	width: 40px;
	height: 40px;
	background-color: var(--wohno-muted);
	opacity: 0.45;
	-webkit-mask: var(--wohno-house-icon) center / contain no-repeat;
	mask: var(--wohno-house-icon) center / contain no-repeat;
}

/* ---------- Price pill (overlay, bottom-right) ---------- */
.wohno-card__price {
	position: absolute;
	right: 0.7rem;
	bottom: 0.7rem;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.05rem;
	padding: 0.4rem 0.7rem;
	border-radius: 999px;
	background: var(--wohno-badge-bg);
	color: var(--wohno-badge-fg);
	box-shadow: 0 2px 8px rgba(24, 24, 27, 0.18);
	-webkit-backdrop-filter: saturate(1.4) blur(6px);
	backdrop-filter: saturate(1.4) blur(6px);
}
.wohno-card__price-value {
	font-size: 1.02rem;
	font-weight: 750;
	line-height: 1.1;
	letter-spacing: -0.01em;
}
.wohno-card__price-note {
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.62;
	line-height: 1;
}

/* ---------- Body ---------- */
.wohno-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 1rem 1.15rem 1.2rem;
	flex: 1 1 auto;
}
.wohno-card__title {
	margin: 0;
	font-size: 1.14rem;
	font-weight: 650;
	line-height: 1.36;
	letter-spacing: -0.01em;
	color: var(--wohno-fg);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* Stretched link: the whole card is clickable; gallery controls (z-index 3)
   stay above this overlay so they keep working. */
.wohno-card__link {
	color: inherit;
	text-decoration: none;
	outline: none;
}
.wohno-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}
.wohno-card__link:focus-visible::after {
	outline: 2px solid var(--wohno-accent);
	outline-offset: -3px;
	border-radius: var(--wohno-radius);
}
.wohno-card__place {
	display: flex;
	align-items: center;
	gap: 0.32rem;
	margin: 0;
	font-size: 0.85rem;
	color: var(--wohno-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.wohno-card__place::before {
	content: "";
	flex: 0 0 auto;
	width: 0.85em;
	height: 0.85em;
	background-color: currentColor;
	-webkit-mask: var(--wohno-pin-icon) center / contain no-repeat;
	mask: var(--wohno-pin-icon) center / contain no-repeat;
}
.wohno-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 1.1rem;
	margin: 0.1rem 0 0;
	font-size: 0.875rem;
	color: var(--wohno-muted);
}
.wohno-card__stat {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}
.wohno-card__stat::before {
	content: "";
	flex: 0 0 auto;
	width: 1.05em;
	height: 1.05em;
	background-color: currentColor;
}
.wohno-card__stat--rooms::before {
	-webkit-mask: var(--wohno-bed-icon) center / contain no-repeat;
	mask: var(--wohno-bed-icon) center / contain no-repeat;
}
.wohno-card__stat--area::before {
	-webkit-mask: var(--wohno-area-icon) center / contain no-repeat;
	mask: var(--wohno-area-icon) center / contain no-repeat;
}

/* ============================ Single ============================ */
.wohno-single {
	grid-template-columns: minmax(0, 400px);
}

/* ============================ Map ============================ */
.wohno-map {
	width: 100%;
	height: 480px;
	border-radius: var(--wohno-radius);
	overflow: hidden;
	border: 1px solid var(--wohno-border);
}
.wohno-map-popup a {
	font-weight: 600;
	color: var(--wohno-accent);
}

/* ============================ Load more ============================ */
.wohno-listings-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.wohno-listings-wrap .wohno-listings { width: 100%; }
.wohno-load-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 1.75rem auto 0;
	padding: 0.72rem 1.7rem;
	border: 1.5px solid var(--wohno-accent);
	border-radius: 999px;
	background: transparent;
	color: var(--wohno-accent);
	font: inherit;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}
.wohno-load-more:hover { background: var(--wohno-accent); color: #fff; }
.wohno-load-more:active { transform: scale(0.97); }
.wohno-load-more[disabled] { opacity: 0.5; cursor: default; background: transparent; color: var(--wohno-accent); }

/* ============================ Attribution / states ============================ */
.wohno-attribution {
	width: 100%;
	margin: 1.25rem 0 0;
	text-align: center;
	font-size: 0.78rem;
	color: var(--wohno-muted);
}
.wohno-attribution a { color: var(--wohno-accent); font-weight: 600; text-decoration: none; }
.wohno-attribution a:hover { text-decoration: underline; }
.wohno-empty { margin: 0; padding: 2rem 1rem; text-align: center; color: var(--wohno-muted); }
.wohno-error { color: #b32d2e; }

/* ============================ Search / filter bar ============================ */
.wohno-search {
	margin: 0 0 1.75rem;
	padding: 1.1rem 1.2rem 1.2rem;
	border: 1px solid var(--wohno-border-strong);
	border-radius: var(--wohno-radius);
	background: var(--wohno-card-bg);
	box-shadow: var(--wohno-shadow-lift);
	--wohno-search-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="gray" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>');
}
.wohno-search__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 0.7rem;
}
.wohno-search__field { position: relative; min-width: 0; }
.wohno-search__field--wide { grid-column: span 2; }
.wohno-search__field::before {
	content: "";
	position: absolute;
	left: 0.8rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1.05em;
	height: 1.05em;
	pointer-events: none;
	opacity: 0.7;
}
.wohno-search__field--search::before {
	background: var(--wohno-search-icon) center / contain no-repeat;
}
.wohno-search__field--pin::before {
	background-color: var(--wohno-muted);
	-webkit-mask: var(--wohno-pin-icon) center / contain no-repeat;
	mask: var(--wohno-pin-icon) center / contain no-repeat;
}
.wohno-search__field--euro::after {
	content: "€";
	position: absolute;
	right: 0.85rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--wohno-muted);
	pointer-events: none;
}
.wohno-search__control {
	width: 100%;
	height: 46px;
	padding: 0 0.85rem;
	border: 1px solid var(--wohno-border-strong);
	border-radius: 11px;
	background: var(--wohno-field-bg);
	color: var(--wohno-fg);
	font: inherit;
	font-size: 0.95rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.wohno-search__field--search .wohno-search__control,
.wohno-search__field--pin .wohno-search__control { padding-left: 2.4rem; }
.wohno-search__field--euro .wohno-search__control { padding-right: 1.8rem; appearance: textfield; -moz-appearance: textfield; }
.wohno-search__field--euro .wohno-search__control::-webkit-outer-spin-button,
.wohno-search__field--euro .wohno-search__control::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wohno-search__control::placeholder { color: var(--wohno-muted); opacity: 0.85; }
.wohno-search__control:focus {
	outline: none;
	background: var(--wohno-card-bg);
	border-color: var(--wohno-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wohno-accent) 20%, transparent);
}
select.wohno-search__control {
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	padding-right: 2rem;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="gray" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
	background-repeat: no-repeat;
	background-position: right 0.65rem center;
	background-size: 1.05rem;
}
.wohno-search__wbs {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	height: 46px;
	padding: 0 0.95rem;
	border: 1px solid var(--wohno-border-strong);
	border-radius: 11px;
	background: var(--wohno-field-bg);
	font-size: 0.92rem;
	color: var(--wohno-fg);
	white-space: nowrap;
	cursor: pointer;
}
.wohno-search__wbs input { accent-color: var(--wohno-accent); width: 1.05em; height: 1.05em; cursor: pointer; }
.wohno-search__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 0.85rem;
}
.wohno-search__submit {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	height: 46px;
	padding: 0 1.6rem;
	border: 0;
	border-radius: 11px;
	background: var(--wohno-accent);
	color: #fff;
	font: inherit;
	font-weight: 650;
	font-size: 0.95rem;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
}
.wohno-search__submit::before {
	content: "";
	width: 1.05em;
	height: 1.05em;
	background: var(--wohno-search-icon) center / contain no-repeat;
	filter: brightness(0) invert(1);
}
.wohno-search__submit:hover { background: var(--wohno-accent-strong); }
.wohno-search__submit:active { transform: scale(0.98); }
.wohno-search__reset {
	color: var(--wohno-muted);
	font-size: 0.9rem;
	text-decoration: none;
	white-space: nowrap;
}
.wohno-search__reset:hover { color: var(--wohno-accent); text-decoration: underline; }
@media (max-width: 720px) {
	.wohno-search__grid { grid-template-columns: 1fr 1fr; }
	.wohno-search__field--wide,
	.wohno-search__wbs { grid-column: span 2; }
}
@media (max-width: 460px) {
	.wohno-search__grid { grid-template-columns: 1fr; }
	.wohno-search__field--wide,
	.wohno-search__wbs { grid-column: auto; }
	.wohno-search__actions { flex-wrap: wrap; }
	.wohno-search__submit { flex: 1 1 100%; justify-content: center; }
}

/* ============================ Reduced motion ============================ */
@media (prefers-reduced-motion: reduce) {
	.wohno-card,
	.wohno-card__img,
	.wohno-load-more { transition: none; }
	.wohno-card:hover { transform: none; }
	.wohno-card:hover .wohno-card__img { transform: none; }
}

/* ============================ Detail modal ============================ */
body.wohno-modal-open { overflow: hidden; }
.wohno-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;

	/* The modal lives at <body> level, so re-declare the brand tokens here. */
	--wohno-accent: #df6900;
	--wohno-accent-strong: #b85400;
	--wohno-fg: #18181b;
	--wohno-muted: #6b7280;
	--wohno-border: rgba(24, 24, 27, 0.10);
	-webkit-font-smoothing: antialiased;
}
.wohno-modal[hidden] { display: none; }
.wohno-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 15, 17, 0.6);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}
.wohno-modal__dialog {
	position: relative;
	z-index: 1;
	display: block; /* block, not flex: lets the media's aspect-ratio compute */
	width: min(820px, 100%);
	max-height: min(88vh, 880px);
	overflow: auto;
	background: #fff;
	color: var(--wohno-fg);
	border-radius: 18px;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
	animation: wohno-modal-in 0.22s ease;

	/* Own type scale, independent of the host theme's font size. */
	font-size: 15px;
	line-height: 1.55;
}
@keyframes wohno-modal-in {
	from { opacity: 0; transform: translateY(12px) scale(0.98); }
	to { opacity: 1; transform: none; }
}
.wohno-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 4;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #18181b;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.wohno-modal__close:hover { background: #fff; }
.wohno-modal__media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: #f1f1f3;
	overflow: hidden;
}
.wohno-modal__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wohno-modal__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #18181b;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.wohno-modal__nav--prev { left: 0.7rem; }
.wohno-modal__nav--next { right: 0.7rem; }
.wohno-modal__dots {
	position: absolute;
	left: 50%;
	bottom: 0.7rem;
	transform: translateX(-50%);
	display: flex;
	gap: 0.3rem;
}
.wohno-modal__dot {
	width: 8px;
	height: 8px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	cursor: pointer;
}
.wohno-modal__dot.is-active { width: 20px; border-radius: 4px; background: #fff; }
.wohno-modal__body { padding: 1.4rem 1.6rem 1.6rem; }
.wohno-modal__price {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	margin-bottom: 0.15rem;
}
.wohno-modal__price-value {
	font-size: 20px;
	font-weight: 750;
	letter-spacing: -0.01em;
	color: var(--wohno-accent-strong);
}
.wohno-modal__price-note { font-size: 12px; font-weight: 600; color: var(--wohno-muted); }
.wohno-modal__title { margin: 0 0 0.15rem; font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--wohno-fg); }
.wohno-modal__address { margin: 0 0 1.2rem; color: var(--wohno-muted); font-size: 14px; }
.wohno-modal__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0.6rem;
	margin-bottom: 1.4rem;
}
.wohno-modal__fact {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.65rem 0.8rem;
	border: 1px solid var(--wohno-border);
	border-radius: 12px;
}
.wohno-modal__fact-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--wohno-muted); }
.wohno-modal__fact-value { font-size: 15px; font-weight: 650; }
.wohno-modal__subtitle {
	margin: 0 0 0.5rem;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wohno-muted);
}
.wohno-modal__costs {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0;
	margin: 0 0 1.4rem;
	border: 1px solid var(--wohno-border);
	border-radius: 12px;
	overflow: hidden;
}
.wohno-modal__cost-label,
.wohno-modal__cost-value {
	margin: 0;
	padding: 0.6rem 0.85rem;
	border-top: 1px solid var(--wohno-border);
	font-size: 14px;
}
.wohno-modal__costs > :nth-child(1),
.wohno-modal__costs > :nth-child(2) { border-top: 0; }
.wohno-modal__cost-label { color: var(--wohno-muted); }
.wohno-modal__cost-value { text-align: right; font-weight: 650; color: var(--wohno-fg); }
.wohno-modal__description { margin: 0 0 1.5rem; font-size: 14.5px; line-height: 1.65; color: #3f3f46; white-space: pre-line; }
.wohno-modal__description--loading { opacity: 0.55; }
.wohno-modal__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.wohno-modal__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.5rem;
	border-radius: 12px;
	font-weight: 650;
	font-size: 15px;
	text-decoration: none;
	cursor: pointer;
}
.wohno-modal__btn--primary { background: var(--wohno-accent); color: #fff; }
.wohno-modal__btn--primary:hover { background: var(--wohno-accent-strong); color: #fff; }
.wohno-modal__btn--ghost { border: 1.5px solid var(--wohno-border); color: var(--wohno-fg); }
.wohno-modal__btn--ghost:hover { border-color: var(--wohno-accent); color: var(--wohno-accent); }
@media (max-width: 560px) {
	.wohno-modal { padding: 0; }
	.wohno-modal__dialog { max-height: 100vh; border-radius: 0; width: 100%; }
	.wohno-modal__btn { flex: 1 1 100%; }
}
