/* ==========================================================================
   Steenhuisen Makelaars – woningaanbod (archief + woningpagina)
   Alles is gescoped onder .smh / body.smh-aanbod, zodat de rest van de site
   (en Bootstrap 4 uit rw-thema) ongemoeid blijft.
   ========================================================================== */

body.smh-aanbod {
	--smh-ink: #151515;
	--smh-ink-2: #3a3936;
	--smh-muted: #6f6b64;
	--smh-paper: #ffffff;
	--smh-sand: #f6f3ee;
	--smh-sand-2: #ece7de;
	--smh-line: #e4dfd6;
	--smh-focus: #151515;

	--smh-green: #2f6f4a;
	--smh-green-bg: #e5f0e8;
	--smh-amber: #8a5a12;
	--smh-amber-bg: #f8ecd6;
	--smh-red: #8c2f2f;
	--smh-red-bg: #f6e3e1;
	--smh-whatsapp: #1f9d55;

	--smh-radius: 4px;
	--smh-radius-lg: 8px;
	--smh-shadow: 0 1px 2px rgba(21, 21, 21, .04), 0 8px 24px rgba(21, 21, 21, .06);
	--smh-header: 80px;
	--smh-font: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--smh-display: 'Marcellus', 'Times New Roman', Georgia, serif;
	--smh-hero: 'Bodoni Moda', Didot, 'Times New Roman', Georgia, serif;

	background: var(--smh-paper);
}

/* Parent-thema wrapper mag geen horizontale scroll veroorzaken */
body.smh-aanbod #wrapper { overflow-x: clip; }

.smh {
	font-family: var(--smh-font);
	color: var(--smh-ink);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.smh *, .smh *::before, .smh *::after { box-sizing: border-box; }

.smh h1, .smh h2, .smh h3, .smh h4 {
	font-family: var(--smh-display);
	color: var(--smh-ink);
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.15;
	margin: 0;
}

.smh p { margin: 0; }
.smh a { color: inherit; }
.smh a:hover { color: inherit; }
.smh img { max-width: 100%; height: auto; }
.smh button { font-family: inherit; }

.smh :focus-visible {
	outline: 2px solid var(--smh-focus);
	outline-offset: 3px;
}

.smh-container {
	width: 100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}
@media (min-width: 768px) { .smh-container { padding-left: 32px; padding-right: 32px; } }

.smh-icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* --------------------------------------------------------------------------
   Typografie-elementen
   -------------------------------------------------------------------------- */
.smh .smh-eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--smh-muted);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.smh .smh-eyebrow::before {
	content: "";
	width: 24px;
	height: 1px;
	background: currentColor;
}
.smh .smh-eyebrow--light { color: rgba(255, 255, 255, .7); }

.smh .smh-section__title { font-size: clamp(24px, 2.6vw, 32px); }

/* --------------------------------------------------------------------------
   Knoppen
   -------------------------------------------------------------------------- */
.smh .smh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: var(--smh-radius);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
	white-space: nowrap;
}
.smh .smh-btn:hover { text-decoration: none; transform: translateY(-1px); }
.smh .smh-btn:active { transform: none; }
.smh .smh-btn--block { width: 100%; }
.smh .smh-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.smh .smh-btn--icon { padding: 12px; min-width: 48px; }

.smh .smh-btn--primary { background: var(--smh-ink); color: #fff; }
.smh .smh-btn--primary:hover { background: #000; color: #fff; }

.smh .smh-btn--ghost { background: var(--smh-paper); color: var(--smh-ink); border-color: var(--smh-line); }
.smh .smh-btn--ghost:hover { border-color: var(--smh-ink); color: var(--smh-ink); }

.smh .smh-btn--whatsapp { background: var(--smh-whatsapp); color: #fff; }
.smh .smh-btn--whatsapp:hover { background: #188547; color: #fff; }

.smh .smh-btn--light { background: #fff; color: var(--smh-ink); }
.smh .smh-btn--light:hover { background: var(--smh-sand); color: var(--smh-ink); }

.smh .smh-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.smh .smh-btn--outline-light:hover { border-color: #fff; color: #fff; }

.smh .smh-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}
.smh .smh-link-arrow:hover { text-decoration: none; gap: 12px; }

/* --------------------------------------------------------------------------
   Statuslabels en energielabels
   -------------------------------------------------------------------------- */
.smh .smh-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: var(--smh-radius);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1;
	background: #fff;
	color: var(--smh-ink);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}
.smh .smh-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}
.smh .smh-badge--inline { position: static; box-shadow: none; }
.smh .smh-badge--new { background: var(--smh-ink); color: #fff; }
.smh .smh-badge--available { background: var(--smh-green-bg); color: var(--smh-green); }
.smh .smh-badge--pending { background: var(--smh-amber-bg); color: var(--smh-amber); }
.smh .smh-badge--reserved,
.smh .smh-badge--sold { background: var(--smh-red-bg); color: var(--smh-red); }
.smh .smh-badge--soon,
.smh .smh-badge--neutral { background: var(--smh-sand); color: var(--smh-ink-2); }
.smh .smh-card__media .smh-badge--available { background: #fff; }

.smh .smh-energy {
	--e: #8a8a8a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 22px;
	padding: 0 8px 0 6px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background: var(--e);
	clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%);
}
.smh .smh-energy--lg { height: 32px; min-width: 44px; font-size: 15px; padding: 0 12px 0 8px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
.smh .smh-energy--a { --e: #1b8a3c; }
.smh .smh-energy--b { --e: #52a536; }
.smh .smh-energy--c { --e: #a8c62b; color: #1d1d1d; }
.smh .smh-energy--d { --e: #f2d21b; color: #1d1d1d; }
.smh .smh-energy--e { --e: #f0a22a; }
.smh .smh-energy--f { --e: #e2621f; }
.smh .smh-energy--g { --e: #cf2a27; }

/* ==========================================================================
   ARCHIEF
   ========================================================================== */
.smh-archive .smh-hero {
	background: var(--smh-sand);
	padding: clamp(40px, 6vw, 80px) 0 clamp(88px, 9vw, 120px);
}
.smh-archive .smh-hero__title { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.03em; }
.smh-archive .smh-hero__intro {
	margin-top: 16px;
	max-width: 620px;
	font-size: 18px;
	color: var(--smh-ink-2);
}

/* Zoekformulier van de plugin in de huisstijl: witte kaart, 48px velden, inkt-knoppen */
.smh-archive .smh-search {
	position: relative;
	z-index: 30;
	margin-top: calc(-1 * clamp(56px, 6vw, 72px));
	--smh-ico-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6b64' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
	--smh-ico-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151515' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	--smh-ico-sliders: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151515' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h4M12 17h8'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='10' cy='17' r='2'/%3E%3C/svg%3E");
	--smh-ico-sliders-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h4M12 17h8'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='10' cy='17' r='2'/%3E%3C/svg%3E");
	--smh-ico-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151515' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
	--smh-ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
}
.smh-archive .smh-search .rw-search-form,
.smh-archive .smh-search .rw-search-form-collapse-trigger {
	--rw-primary-color: var(--smh-ink);
	--rw-secondary-color: var(--smh-ink);
	--rw-border-color: var(--smh-line);
	--rw-background-box: #fff;
	--rw-border-radius: var(--smh-radius);
	--rw-font-size: 15px;
	--rw-body-color: var(--smh-ink);
	--rw-form-control-height: 48px;
	--rw-input-border-color: var(--smh-line);
	--rw-input-padding: 0 14px;
	--rw-button-background: var(--smh-ink);
	--rw-button-hover-background: #000;
	--rw-button-hover-color: #fff;
	font-family: var(--smh-font);
}

/* De kaart */
.smh-archive .smh-search .rw-search-form {
	margin: 0;
	padding: 20px;
	border: 1px solid var(--smh-line) !important;
	border-radius: var(--smh-radius-lg) !important;
	box-shadow: var(--smh-shadow) !important;
	background: #fff !important;
	font-size: 15px;
	color: var(--smh-ink);
}
.smh-archive .smh-search .rw-search-form__title { display: none; }

.smh-archive .smh-search .rw-search-form-grid {
	grid-template-columns: minmax(200px, 1.4fr) minmax(150px, 1fr) auto auto auto;
	gap: 12px;
	align-items: stretch;
}
.smh-archive .smh-search .rw-search-field { margin: 0; min-width: 0; }
.smh-archive .smh-search .rw-search-field-cols { gap: 12px; }
.smh-archive .smh-search .rw-search-field--small { width: 160px; }

/* Velden */
.smh-archive .smh-search .rw-search-field__input,
.smh-archive .smh-search .rw-search-field input[type="text"],
.smh-archive .smh-search .rw-search-field input[type="search"],
.smh-archive .smh-search .rw-search-field__select {
	display: block;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--smh-line) !important;
	border-radius: var(--smh-radius) !important;
	background-color: #fff !important;
	box-shadow: none !important;
	font-family: inherit;
	font-size: 15px;
	line-height: 46px;
	color: var(--smh-ink) !important;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.smh-archive .smh-search .rw-search-field__input,
.smh-archive .smh-search .rw-search-field input[type="text"],
.smh-archive .smh-search .rw-search-field input[type="search"] {
	padding-left: 42px;
	background: #fff var(--smh-ico-search) no-repeat 14px center / 18px !important;
}
.smh-archive .smh-search .rw-search-field__input::placeholder,
.smh-archive .smh-search .rw-search-field input::placeholder { color: var(--smh-muted); opacity: 1; }
.smh-archive .smh-search .rw-search-field__select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 40px;
	background-image: var(--smh-ico-chevron) !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	background-size: 18px !important;
	text-overflow: ellipsis;
	cursor: pointer;
}
.smh-archive .smh-search .rw-search-field__input:hover,
.smh-archive .smh-search .rw-search-field__select:hover { border-color: #c9c2b6 !important; }
.smh-archive .smh-search .rw-search-field__input:focus,
.smh-archive .smh-search .rw-search-field input:focus,
.smh-archive .smh-search .rw-search-field__select:focus {
	border-color: var(--smh-ink) !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(21, 21, 21, .08) !important;
}

/* Knoppen: "Alle filters" (omlijnd) en "Zoeken" (inkt) */
.smh-archive .smh-search .rw-btn-more-filter.btn,
.smh-archive .smh-search .rw-search-field__submit.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	margin: 0;
	padding: 0 20px;
	border-radius: var(--smh-radius) !important;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: none !important;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.smh-archive .smh-search .rw-btn-more-filter.btn {
	padding-left: 44px;
	border: 1px solid var(--smh-line) !important;
	background: #fff var(--smh-ico-sliders) no-repeat 16px center / 18px !important;
	color: var(--smh-ink) !important;
}
.smh-archive .smh-search .rw-btn-more-filter.btn:hover,
.smh-archive .smh-search .rw-btn-more-filter.btn:focus-visible { border-color: var(--smh-ink) !important; }
.smh-archive .smh-search .rw-btn-more-filter.btn.rw-btn-more-filter--open,
.smh-archive .smh-search .rw-search-form--more-filter-open .rw-btn-more-filter.btn {
	border-color: var(--smh-ink) !important;
	background: var(--smh-ink) var(--smh-ico-sliders-w) no-repeat 16px center / 18px !important;
	color: #fff !important;
}
.smh-archive .smh-search .rw-search-field__submit.btn {
	min-width: 132px;
	border: 1px solid var(--smh-ink) !important;
	background: var(--smh-ink) !important;
	color: #fff !important;
}
.smh-archive .smh-search .rw-search-field__submit.btn:hover,
.smh-archive .smh-search .rw-search-field__submit.btn:focus-visible { background: #000 !important; border-color: #000 !important; }
.smh-archive .smh-search .rw-search-field__submit.btn::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--smh-ico-search) no-repeat center / contain;
	mask: var(--smh-ico-search) no-repeat center / contain;
}
.smh-archive .smh-search .rw-btn-more-filter.btn:focus-visible,
.smh-archive .smh-search .rw-search-field__submit.btn:focus-visible { outline: 2px solid var(--smh-ink); outline-offset: 2px; }

/* Actieve filters als chips */
.smh-archive .smh-search .rw-search-filters-active {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--smh-line);
}
.smh-archive .smh-search .rw-search-filters-active__btn.btn,
.smh-archive .smh-search .rw-search-filters-active__reset-btn.btn {
	display: inline-flex;
	text-decoration: none !important;
	align-items: center;
	gap: 6px;
	height: 32px;
	margin: 0;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	color: var(--smh-ink);
	box-shadow: none;
}
.smh-archive .smh-search .rw-search-filters-active__btn.btn {
	padding: 0 30px 0 14px;
	border: 1px solid var(--smh-sand-2);
	background: var(--smh-sand) var(--smh-ico-x) no-repeat right 11px center / 11px;
}
.smh-archive .smh-search .rw-search-filters-active__btn.btn:hover { border-color: var(--smh-ink); background-color: #fff; }
.smh-archive .smh-search .rw-search-filters-active__reset-btn.btn {
	padding: 0 14px;
	border: 0;
	background: transparent;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}
.smh-archive .smh-search .rw-search-filters-active__reset-btn.btn svg { width: 10px; }
.smh-archive .smh-search .rw-search-filters-active__reset-btn.btn:hover { color: #000; }

/* Paneel "Alle filters": schuift onder de zoekbalk open in plaats van eroverheen */
.smh-archive .smh-search .rw-search-more-filters {
	position: static;
	display: none;
	opacity: 1;
	visibility: visible;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: auto;
	gap: 24px 32px;
	margin: 20px 0 0;
	padding: 20px 0 0;
	border: 0;
	border-top: 1px solid var(--smh-line);
	border-radius: 0;
	background: transparent !important;
	box-shadow: none;
}
.smh-archive .smh-search .rw-search-form--more-filter-open .rw-search-more-filters { display: grid; }
.smh-archive .smh-search .rw-search-more-filters .rw-search-field::after { display: none; }
.smh-archive .smh-search .rw-search-more-filters .rw-search-field__checkbox-wrapper,
.smh-archive .smh-search .rw-search-more-filters .rw-search-field__radio-wrapper {
	max-height: 232px;
	padding: 0 4px 0 0;
	overflow-y: auto;
	scrollbar-width: thin;
}
.smh-archive .smh-search .rw-search-field__label {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--smh-muted);
}

/* Eigen vinkjes en rondjes */
.smh-archive .smh-search .rw-search-field__checkbox,
.smh-archive .smh-search .rw-search-field__radio { padding: 0; }
.smh-archive .smh-search .rw-search-field__checkbox label,
.smh-archive .smh-search .rw-search-field__radio label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 6px 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--smh-ink);
	cursor: pointer;
}
.smh-archive .smh-search .rw-search-field__checkbox label:hover,
.smh-archive .smh-search .rw-search-field__radio label:hover { color: var(--smh-ink); }
.smh-archive .smh-search .rw-search-field__checkbox input,
.smh-archive .smh-search .rw-search-field__radio input {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 0;
	border: 1.5px solid #bdb5a8;
	border-radius: 3px;
	background: #fff no-repeat center / 12px;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
.smh-archive .smh-search .rw-search-field__radio input { border-radius: 50%; }
.smh-archive .smh-search .rw-search-field__checkbox label:hover input,
.smh-archive .smh-search .rw-search-field__radio label:hover input { border-color: var(--smh-ink); }
.smh-archive .smh-search .rw-search-field__checkbox input:checked {
	border-color: var(--smh-ink);
	background-color: var(--smh-ink);
	background-image: var(--smh-ico-check);
}
.smh-archive .smh-search .rw-search-field__radio input:checked {
	border-color: var(--smh-ink);
	box-shadow: inset 0 0 0 4px #fff;
	background: var(--smh-ink);
}
.smh-archive .smh-search .rw-search-field__checkbox input:focus-visible,
.smh-archive .smh-search .rw-search-field__radio input:focus-visible { outline: 2px solid var(--smh-ink); outline-offset: 2px; }
.smh-archive .smh-search .rw-search-field__checkbox-wrapper-children {
	margin: 2px 0 4px 8px;
	padding: 0 0 0 12px;
	border-left: 1px solid var(--smh-line);
}

/* Mobiel: de plugin klapt het formulier in achter een knop */
.smh-archive .smh-search .rw-search-form-collapse-trigger {
	margin: 0 0 12px;
	border: 1px solid var(--smh-line);
	border-radius: var(--smh-radius-lg);
	background: #fff;
	box-shadow: var(--smh-shadow);
	overflow: hidden;
}
.smh-archive .smh-search .rw-search-form-collapse-trigger .btn {
	display: flex;
	align-items: center;
	width: 100%;
	height: 56px;
	padding: 0 20px;
	border: 0;
	border-radius: 0;
	background: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	color: var(--smh-ink);
	box-shadow: none;
}
.smh-archive .smh-search .rw-search-form-collapse-trigger .btn::after {
	width: 20px;
	height: 20px;
	background: var(--smh-ico-sliders) no-repeat center / contain;
}
.smh-archive .smh-search .rw-search-form-collapse-trigger .btn:hover { background: var(--smh-sand); color: var(--smh-ink); }

@media (max-width: 1199.98px) {
	.smh-archive .smh-search .rw-search-form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
	.smh-archive .smh-search .rw-search-field__street,
	.smh-archive .smh-search .rw-search-form-grid > .rw-search-field:first-child { grid-column: 1 / -1; }
	.smh-archive .smh-search .rw-search-more-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023.98px) {
	.smh-archive .smh-search .rw-search-form { padding: 16px; }
	.smh-archive .smh-search .rw-search-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.smh-archive .smh-search .rw-search-form-grid > * { grid-column: 1 / -1; }
	.smh-archive .smh-search .rw-search-field-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.smh-archive .smh-search .rw-search-field--small { width: auto; }
	.smh-archive .smh-search .rw-search-form-grid > .rw-search-field--more-filter,
	.smh-archive .smh-search .rw-search-form-grid > .rw-search-field--submit { grid-column: auto; }
	.smh-archive .smh-search .rw-btn-more-filter.btn,
	.smh-archive .smh-search .rw-search-field__submit.btn { width: 100%; min-width: 0; }
	.smh-archive .smh-search .rw-search-more-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.smh-archive .smh-search .rw-search-more-filters .rw-search-field--submit { grid-column: 1 / -1; display: block; }
}
@media (max-width: 575.98px) {
	.smh-archive .smh-search .rw-search-more-filters { grid-template-columns: 1fr; }
	.smh-archive .smh-search .rw-search-more-filters .rw-search-field__checkbox-wrapper,
	.smh-archive .smh-search .rw-search-more-filters .rw-search-field__radio-wrapper { max-height: none; }
}

/* Toolbar: aantal, sorteren, weergave */
.smh-archive .smh-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 32px 0 20px;
}
.smh-archive .smh-toolbar__count { font-size: 15px; color: var(--smh-ink-2); }
.smh-archive .smh-toolbar__count strong { font-size: 22px; font-weight: 600; color: var(--smh-ink); margin-right: 4px; letter-spacing: -0.02em; }
.smh-archive .smh-toolbar__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.smh-archive .smh-toolbar__sort .rw-sort { display: flex; align-items: center; gap: 10px; margin: 0; }
.smh-archive .smh-toolbar__sort-label { margin: 0; font-size: 14px; color: var(--smh-muted); }
.smh-archive .smh-toolbar__sort select {
	width: auto;
	min-width: 190px;
	height: 42px;
	padding: 8px 36px 8px 14px;
	border: 1px solid var(--smh-line);
	border-radius: var(--smh-radius);
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23151515' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6' d='m3 6 5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 14px;
	appearance: none;
	-webkit-appearance: none;
	font-family: var(--smh-font);
	font-size: 14px;
	color: var(--smh-ink);
	cursor: pointer;
}
.smh-archive .smh-toolbar__sort select:hover { border-color: var(--smh-ink); }

.smh .smh-switch {
	display: inline-flex;
	padding: 3px;
	border: 1px solid var(--smh-line);
	border-radius: var(--smh-radius);
	background: #fff;
}
.smh .smh-switch__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 2px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	color: var(--smh-muted);
}
.smh .smh-switch__btn:hover { color: var(--smh-ink); text-decoration: none; }
.smh .smh-switch__btn.is-active { background: var(--smh-ink); color: #fff; }

/* Grid met woningkaarten */
.smh .smh-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px 24px;
}
@media (min-width: 700px)  { .smh .smh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .smh .smh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.smh .smh-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.smh .smh-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--smh-radius-lg);
	background: var(--smh-sand);
}
.smh .smh-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.smh .smh-card:hover .smh-card__img { transform: scale(1.04); }
.smh .smh-card--sold .smh-card__img { filter: saturate(.75); }
.smh .smh-card__placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--smh-muted);
}
.smh .smh-card__count {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 8px;
	border-radius: var(--smh-radius);
	background: rgba(21, 21, 21, .7);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	backdrop-filter: blur(4px);
}
.smh .smh-card__body { padding: 16px 2px 0; display: grid; gap: 4px; }
.smh .smh-card__title { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.smh .smh-card__link { text-decoration: none; color: var(--smh-ink); }
.smh .smh-card__link:hover { text-decoration: none; color: var(--smh-ink); }
/* Hele kaart klikbaar */
.smh .smh-card__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.smh .smh-card__link:focus-visible { outline: none; }
.smh .smh-card:has(.smh-card__link:focus-visible) .smh-card__media { outline: 2px solid var(--smh-focus); outline-offset: 3px; }
.smh .smh-card__place { font-size: 14px; color: var(--smh-muted); }
.smh .smh-card__price { margin-top: 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.smh .smh-card__price sup { font-size: .6em; }
.smh .smh-card__specs {
	list-style: none;
	margin: 12px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--smh-line);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	font-size: 14px;
	color: var(--smh-ink-2);
}
.smh .smh-spec { display: inline-flex; align-items: center; gap: 6px; }
.smh .smh-spec .smh-icon { color: var(--smh-muted); }

/* Paginering van de plugin */
.smh .smh-pagination { margin: 48px 0 0; }
.smh .smh-pagination .rw-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.smh .smh-pagination .rw-pagination__page,
.smh .smh-pagination .rw-pagination__page-prev,
.smh .smh-pagination .rw-pagination__page-next,
.smh .smh-pagination .extend {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--smh-line);
	border-radius: var(--smh-radius);
	background: #fff;
	color: var(--smh-ink);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: border-color .2s ease, background-color .2s ease;
}
.smh .smh-pagination a:hover { border-color: var(--smh-ink); text-decoration: none; color: var(--smh-ink); }
.smh .smh-pagination .rw-pagination__page-current {
	background: var(--smh-ink);
	border-color: var(--smh-ink);
	color: #fff;
}
.smh .smh-pagination .extend { border: 0; background: transparent; min-width: 0; padding: 0 4px; }

/* Kaartweergave */
.smh .smh-map { border-radius: var(--smh-radius-lg); overflow: hidden; border: 1px solid var(--smh-line); }

/* Geen resultaten */
.smh .smh-empty {
	padding: 56px 24px;
	text-align: center;
	background: var(--smh-sand);
	border-radius: var(--smh-radius-lg);
}
.smh .smh-empty h2 { font-size: 26px; }
.smh .smh-empty p { margin: 12px auto 0; max-width: 520px; color: var(--smh-ink-2); }
.smh .smh-empty__actions { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* CTA-band */
.smh .smh-cta {
	margin-top: clamp(64px, 8vw, 112px);
	background: var(--smh-ink);
	color: #fff;
	padding: clamp(48px, 6vw, 80px) 0;
}
.smh .smh-cta__inner {
	display: grid;
	gap: 28px;
	align-items: center;
}
@media (min-width: 900px) { .smh .smh-cta__inner { grid-template-columns: 1.4fr 1fr; } }
.smh .smh-cta__title { color: #fff; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.025em; }
.smh .smh-cta__text { margin-top: 14px; color: rgba(255, 255, 255, .75); max-width: 560px; }
.smh .smh-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .smh .smh-cta__actions { justify-content: flex-end; } }

/* ==========================================================================
   WONINGPAGINA
   ========================================================================== */
.smh-single .smh-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 20px;
	padding-bottom: 16px;
}
.smh-single .smh-back,
.smh-single .smh-share {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--smh-ink-2);
	text-decoration: none;
	background: none;
	border: 0;
	padding: 6px 0;
	cursor: pointer;
}
.smh-single .smh-back:hover,
.smh-single .smh-share:hover { color: var(--smh-ink); text-decoration: none; }
.smh-single .smh-back:hover .smh-icon { transform: translateX(-3px); }
.smh-single .smh-back .smh-icon { transition: transform .2s ease; }

/* Galerij: grote foto met pijlen, daaronder een strook thumbnails */
.smh-single .smh-slider { position: relative; }
.smh-single .smh-slider__stage {
	position: relative;
	height: clamp(280px, 52vw, 640px);
	border-radius: var(--smh-radius-lg);
	overflow: hidden;
	background: var(--smh-sand);
	touch-action: pan-y;
	user-select: none;
}
.smh-single .smh-slider__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .45s ease, visibility 0s linear .45s;
}
.smh-single .smh-slider__slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity .45s ease;
}
.smh-single .smh-slider__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.smh-single .smh-slider__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	padding: 0;
	border: 0;
	border-radius: var(--smh-radius);
	background: rgba(255, 255, 255, .94);
	color: var(--smh-ink);
	box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}
.smh-single .smh-slider__nav--prev { left: 16px; }
.smh-single .smh-slider__nav--next { right: 16px; }
.smh-single .smh-slider__nav:hover { background: #fff; transform: scale(1.04); }
.smh-single .smh-slider__nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.smh-single .smh-slider__count {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: var(--smh-radius);
	background: rgba(21, 21, 21, .72);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	pointer-events: none;
}
.smh-single .smh-slider__thumbs {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	padding: 2px 2px 6px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	scrollbar-width: thin;
	scrollbar-color: var(--smh-line) transparent;
}
.smh-single .smh-slider__thumb {
	position: relative;
	flex: 0 0 auto;
	width: 120px;
	aspect-ratio: 3 / 2;
	padding: 0;
	border: 0;
	border-radius: var(--smh-radius);
	background: var(--smh-sand-2);
	overflow: hidden;
	opacity: .55;
	cursor: pointer;
	scroll-snap-align: start;
	transition: opacity .2s ease;
}
.smh-single .smh-slider__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.smh-single .smh-slider__thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid transparent;
	border-radius: inherit;
	transition: border-color .2s ease;
}
.smh-single .smh-slider__thumb:hover { opacity: .9; }
.smh-single .smh-slider__thumb.is-active { opacity: 1; }
.smh-single .smh-slider__thumb.is-active::after { border-color: var(--smh-ink); }
.smh-single .smh-slider__thumb:focus-visible { outline: 2px solid var(--smh-ink); outline-offset: 2px; }
.smh-single .smh-slider__empty {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 8px;
	height: clamp(220px, 40vw, 420px);
	border-radius: var(--smh-radius-lg);
	background: var(--smh-sand);
	color: var(--smh-muted);
}
@media (max-width: 699px) {
	.smh-single .smh-slider__stage { height: auto; aspect-ratio: 4 / 3; border-radius: var(--smh-radius); }
	.smh-single .smh-slider__nav { width: 40px; height: 40px; margin-top: -20px; }
	.smh-single .smh-slider__nav--prev { left: 10px; }
	.smh-single .smh-slider__nav--next { right: 10px; }
	.smh-single .smh-slider__count { right: 10px; bottom: 10px; }
	.smh-single .smh-slider__thumb { width: 84px; }
}

/* Kop */
.smh-single .smh-head {
	display: grid;
	gap: 20px 40px;
	padding-top: 32px;
	padding-bottom: 32px;
}
@media (min-width: 900px) {
	.smh-single .smh-head { grid-template-columns: 1fr auto; align-items: end; }
	.smh-single .smh-facts { grid-column: 1 / -1; }
}
.smh-single .smh-head__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.smh-single .smh-head__type { font-size: 14px; color: var(--smh-muted); }
.smh-single .smh-head__title { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.03em; }
.smh-single .smh-head__place { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 17px; color: var(--smh-ink-2); }
.smh-single .smh-head__place .smh-icon { color: var(--smh-muted); }
.smh-single .smh-head__price { display: grid; gap: 2px; }
@media (min-width: 900px) { .smh-single .smh-head__price { text-align: right; } }
.smh-single .smh-head__price-label,
.smh-single .smh-aside__label { font-size: 13px; color: var(--smh-muted); letter-spacing: .02em; }
.smh-single .smh-head__price-value { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.smh-single .smh-head__price-value sup,
.smh-single .smh-aside__value sup { font-size: .55em; }

.smh-single .smh-facts {
	list-style: none;
	margin: 8px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--smh-line);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
@media (min-width: 600px) { .smh-single .smh-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .smh-single .smh-facts { display: flex; flex-wrap: wrap; gap: 16px 44px; } }
.smh-single .smh-fact { display: flex; align-items: center; gap: 12px; }
.smh-single .smh-fact__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--smh-sand);
	color: var(--smh-ink);
	flex-shrink: 0;
}
.smh-single .smh-fact__text { display: grid; line-height: 1.25; }
.smh-single .smh-fact__text strong { font-size: 17px; font-weight: 600; }
.smh-single .smh-fact__text span { font-size: 13px; color: var(--smh-muted); }

/* Subnavigatie, plakt onder de header van rw-thema */
.smh-single .smh-subnav {
	position: sticky;
	top: var(--smh-header);
	z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(8px);
	border-top: 1px solid var(--smh-line);
	border-bottom: 1px solid var(--smh-line);
}
body.admin-bar .smh-single .smh-subnav { top: calc(var(--smh-header) + 32px); }
.smh-single .smh-subnav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 28px;
	overflow-x: auto;
	scrollbar-width: none;
}
.smh-single .smh-subnav__list::-webkit-scrollbar { display: none; }
.smh-single .smh-subnav a {
	display: block;
	padding: 16px 0 14px;
	border-bottom: 2px solid transparent;
	font-size: 15px;
	font-weight: 500;
	color: var(--smh-muted);
	text-decoration: none;
	white-space: nowrap;
}
.smh-single .smh-subnav a:hover { color: var(--smh-ink); text-decoration: none; }
.smh-single .smh-subnav a.is-active { color: var(--smh-ink); border-bottom-color: var(--smh-ink); }

/* Twee kolommen: inhoud + zijbalk */
.smh-single .smh-layout {
	display: grid;
	gap: 48px;
	padding-top: 48px;
}
@media (min-width: 1024px) {
	.smh-single .smh-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; }
}
.smh-single .smh-layout__main { min-width: 0; }

.smh-single .smh-section {
	scroll-margin-top: calc(var(--smh-header) + 72px);
	padding-bottom: 56px;
	margin-bottom: 56px;
	border-bottom: 1px solid var(--smh-line);
}
.smh-single .smh-section:last-child { border-bottom: 0; margin-bottom: 0; }
.smh-single .smh-section__title { margin-bottom: 24px; }
.smh .smh-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}
.smh .smh-section__head .smh-section__title { margin-bottom: 0; }

/* Omschrijving */
.smh-single .smh-prose { font-size: 17px; line-height: 1.75; color: var(--smh-ink-2); }
.smh-single .smh-prose > * + * { margin-top: 1em; }
.smh-single .smh-prose p { margin: 0; }
.smh-single .smh-prose p + p { margin-top: 1em; }
.smh-single .smh-prose strong, .smh-single .smh-prose b { color: var(--smh-ink); font-weight: 600; }
.smh-single .smh-prose ul { padding-left: 1.2em; }
.smh-single .smh-prose h2, .smh-single .smh-prose h3, .smh-single .smh-prose h4 { font-size: 20px; margin-top: 1.6em; }

.smh-single .smh-readmore { scroll-margin-top: calc(var(--smh-header) + 120px); }
.smh-single .smh-readmore.is-collapsed .smh-readmore__inner {
	max-height: 460px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
	mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.smh-single .smh-readmore__btn {
	margin-top: 20px;
	padding: 0 0 2px;
	border: 0;
	border-bottom: 1px solid currentColor;
	background: none;
	font-size: 15px;
	font-weight: 600;
	color: var(--smh-ink);
	cursor: pointer;
}

/* Kenmerken (HTML uit rw_object_get_properties_list) */
.smh-single .smh-features {
	display: grid;
	gap: 36px 48px;
}
@media (min-width: 760px) { .smh-single .smh-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.smh-single .smh-features__group { min-width: 0; }
.smh-single .smh-features__title {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--smh-ink);
	padding-bottom: 10px;
	margin-bottom: 2px;
	border-bottom: 1px solid var(--smh-ink);
}
.smh-single .rw-object-features-wrapper { margin: 0; }
.smh-single .rw-object-features-header { display: none; }
.smh-single .rw-object-features-list { list-style: none; margin: 0; padding: 0; }
.smh-single .rw-object-features-list li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 11px 0;
	border-bottom: 1px solid var(--smh-line);
	font-size: 15px;
}
.smh-single .rw-object-list-label { color: var(--smh-muted); flex-shrink: 0; max-width: 50%; }
.smh-single .rw-object-list-value { color: var(--smh-ink); font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.smh-single .rw-object-list-value sup { font-size: .65em; }

/* Plattegronden */
.smh-single .smh-plans {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}
.smh-single .smh-plans__item {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--smh-line);
	border-radius: var(--smh-radius-lg);
	background: #fff;
	overflow: hidden;
	cursor: zoom-in;
}
.smh-single .smh-plans__item img { width: 100%; height: 100%; object-fit: contain; padding: 16px 16px 44px; transition: transform .4s ease; }
.smh-single .smh-plans__item:hover img { transform: scale(1.03); }
.smh-single .smh-plans__label {
	position: absolute;
	left: 12px;
	bottom: 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	color: var(--smh-ink-2);
}

/* Video en kaarten */
.smh-single .smh-video video,
.smh-single .smh-video iframe { width: 100% !important; height: auto; aspect-ratio: 16 / 9; border-radius: var(--smh-radius-lg); }
.smh-single .smh-maps { display: grid; gap: 16px; }
@media (min-width: 700px) { .smh-single .smh-maps { grid-template-columns: 1fr 1fr; } }
.smh-single .smh-maps__item {
	min-height: 320px;
	border-radius: var(--smh-radius-lg);
	overflow: hidden;
	background: var(--smh-sand);
}
.smh-single .smh-maps__item > div,
.smh-single .smh-maps__item .rw-object-map-inner,
.smh-single .smh-maps__item .rw-object-streetview-inner { height: 100%; min-height: 320px; }

/* Bezichtiging */
.smh-single .smh-viewing {
	display: grid;
	gap: 32px;
	padding: clamp(24px, 4vw, 48px);
	background: var(--smh-sand);
	border-radius: var(--smh-radius-lg);
	border-bottom: 0;
}
@media (min-width: 1200px) { .smh-single .smh-viewing { grid-template-columns: 1fr 1.15fr; gap: 48px; } }
.smh-single .smh-viewing__intro > p:not(.smh-eyebrow) { color: var(--smh-ink-2); }
.smh-single .smh-viewing .smh-section__title { margin-bottom: 14px; }
.smh-single .smh-viewing__usp { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.smh-single .smh-viewing__usp li { display: flex; align-items: center; gap: 10px; }
.smh-single .smh-viewing__usp .smh-icon { color: var(--smh-green); }

.smh .smh-form { display: grid; gap: 16px; }
.smh .smh-form__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .smh .smh-form__row { grid-template-columns: 1fr 1fr; } }
.smh .smh-form__field { display: grid; gap: 6px; }
.smh .smh-form__field label { margin: 0; font-size: 14px; font-weight: 600; color: var(--smh-ink); }
.smh .smh-form input[type="text"],
.smh .smh-form input[type="email"],
.smh .smh-form input[type="tel"],
.smh .smh-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--smh-line);
	border-radius: var(--smh-radius);
	background: #fff;
	font-family: var(--smh-font);
	font-size: 16px;
	color: var(--smh-ink);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.smh .smh-form input:focus,
.smh .smh-form textarea:focus { outline: none; border-color: var(--smh-ink); box-shadow: 0 0 0 3px rgba(21, 21, 21, .08); }
.smh .smh-form textarea { resize: vertical; min-height: 110px; }
.smh .smh-form__consent { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 13px; line-height: 1.5; color: var(--smh-ink-2); font-weight: 400; }
.smh .smh-form__consent input { margin-top: 3px; accent-color: var(--smh-ink); width: 16px; height: 16px; flex-shrink: 0; }
.smh .smh-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.smh .smh-form__notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--smh-radius); font-size: 15px; margin-bottom: 16px; }
.smh .smh-form__notice p { margin: 4px 0 0; }
.smh .smh-form__notice--success { background: var(--smh-green-bg); color: var(--smh-green); }
.smh .smh-form__notice--success strong { color: var(--smh-ink); }
.smh .smh-form__notice--success p { color: var(--smh-ink-2); }
.smh .smh-form__notice--error { background: var(--smh-red-bg); color: var(--smh-red); }
.smh .smh-form__notice--error p { margin: 0; }

/* Formidable, als dat is ingesteld: dezelfde uitstraling */
.smh-single .smh-viewing__form .frm_forms { --form-width: 100%; }
.smh-single .smh-viewing__form .frm_forms input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.smh-single .smh-viewing__form .frm_forms textarea,
.smh-single .smh-viewing__form .frm_forms select { border-radius: var(--smh-radius) !important; border-color: var(--smh-line) !important; }
.smh-single .smh-viewing__form .frm_forms .frm_button_submit { background: var(--smh-ink) !important; border-color: var(--smh-ink) !important; border-radius: var(--smh-radius) !important; color: #fff !important; font-weight: 600 !important; }

/* Zijbalk */
.smh-single .smh-layout__aside { min-width: 0; }
.smh-single .smh-aside {
	display: grid;
	gap: 20px;
	padding: 24px;
	border: 1px solid var(--smh-line);
	border-radius: var(--smh-radius-lg);
	background: #fff;
	box-shadow: var(--smh-shadow);
}
@media (min-width: 1024px) {
	.smh-single .smh-aside { position: sticky; top: calc(var(--smh-header) + 76px); }
	body.admin-bar .smh-single .smh-aside { top: calc(var(--smh-header) + 108px); }
}
.smh-single .smh-aside__price { display: grid; gap: 2px; padding-bottom: 20px; border-bottom: 1px solid var(--smh-line); }
.smh-single .smh-aside__value { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.smh-single .smh-aside__actions { display: grid; gap: 10px; }
.smh-single .smh-aside__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 4px;
	font-size: 14px;
	font-weight: 500;
	color: var(--smh-ink-2);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.smh-single .smh-agent { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--smh-line); }
.smh-single .smh-agent__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.smh-single .smh-agent__photo--initial { display: grid; place-items: center; background: var(--smh-sand); font-size: 20px; font-weight: 600; }
.smh-single .smh-agent__name { font-weight: 600; }
.smh-single .smh-agent__role { font-size: 14px; color: var(--smh-muted); line-height: 1.4; }

/* Op tablet/mobiel staat de zijbalk tussen de kop en de inhoud niet in de weg: we tonen hem onderaan */
@media (max-width: 1023px) {
	.smh-single .smh-layout__aside { order: 2; }
}

/* Vergelijkbare woningen */
.smh-single .smh-similar { margin-top: clamp(64px, 8vw, 96px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--smh-line); }

/* Mobiele actiebalk */
.smh-single .smh-mobilebar { display: none; }
@media (max-width: 1023px) {
	.smh-single .smh-mobilebar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 900;
		display: flex;
		gap: 8px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .97);
		backdrop-filter: blur(8px);
		border-top: 1px solid var(--smh-line);
		box-shadow: 0 -6px 20px rgba(0, 0, 0, .06);
		transition: transform .25s ease;
	}
	.smh-single .smh-mobilebar .smh-btn { flex: 1; min-height: 46px; padding: 10px 12px; }
	.smh-single .smh-mobilebar .smh-btn--icon { flex: 0 0 46px; }
	.smh-single .smh-mobilebar.is-hidden { transform: translateY(110%); }
	body.smh-aanbod .smh-single ~ * { padding-bottom: 0; }
	body.smh-aanbod #footer { padding-bottom: 88px; }
}

/* Minder beweging als de bezoeker dat wil */
@media (prefers-reduced-motion: reduce) {
	.smh *, .smh *::before, .smh *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   Typografie: Hanken Grotesk (tekst), Marcellus (koppen), Bodoni Moda (hero)
   Marcellus heeft alleen gewicht 400, dus koppen nooit vet maken.
   ========================================================= */
.smh .smh-section__title,
.smh .smh-card__title,
.smh .smh-cta__title,
.smh-single .smh-head__title,
.smh-single .smh-features__title {
	font-family: var(--smh-display);
	font-weight: 400;
	letter-spacing: -0.01em;
}
.smh-archive .smh-hero__title {
	font-family: var(--smh-hero);
	font-weight: 500;
	letter-spacing: -0.015em;
}
