/**
 * Jorato WordPress Templates — case catalog, list, and case detail.
 *
 * Kereby visual identity: Mabry Pro (body) + F37 Bella Heavy (display headlines),
 * blue / green / yellow pastel palette. Tokens are scoped to plugin roots so the
 * active theme is not affected. BEM class names are preserved for the existing JS.
 */

/* —— Webfonts (Kereby) —— */

@font-face {
	font-family: "Mabry Pro";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src:
		url("../fonts/mabry/MabryPro-Regular-v1.005.woff2") format("woff2"),
		url("../fonts/mabry/MabryPro-Regular-v1.005.woff") format("woff");
}

@font-face {
	font-family: "Mabry Pro";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src:
		url("../fonts/mabry/MabryPro-Medium-v1.005.woff2") format("woff2"),
		url("../fonts/mabry/MabryPro-Medium-v1.005.woff") format("woff");
}

@font-face {
	font-family: "Mabry Pro";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src:
		url("../fonts/mabry/MabryPro-Bold-v1.005.woff2") format("woff2"),
		url("../fonts/mabry/MabryPro-Bold-v1.005.woff") format("woff");
}

@font-face {
	font-family: "F37 Bella Heavy";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src:
		url("../fonts/f37-bella/f37bellaheavy-webfont.woff2") format("woff2"),
		url("../fonts/f37-bella/f37bellaheavy-webfont.woff") format("woff");
}

:root {
	--jorato-font-stack: "Mabry Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--jorato-color-text: #242424;
}

/* —— Design tokens (scoped) —— */

.jorato-case-catalog,
.jorato-case-detail,
.jorato-case-showcase {
	/* Palette (Kereby) */
	/* Primary dark brand color (text, links, solid buttons). Kept dark for contrast. */
	--jorato-color-blue: #37485a;
	--jorato-color-blue-hover: #2b3947;
	/* Pastel hero / theme colors. */
	--jorato-color-hero-blue: #79a0c2;
	--jorato-color-hero-green: #81ae90;
	--jorato-color-light-blue: #dae6ea;
	--jorato-color-green: #81ae90;
	--jorato-color-light-green: #d6e8d9;
	--jorato-color-yellow: #ffce84;
	--jorato-color-peach: #ffc8ac;
	--jorato-color-gold: #feb868;
	--jorato-color-campaign: #feb868;
	--jorato-color-inactive: #cc133f;
	--jorato-color-grey: #484848;
	--jorato-color-border: #d9d9d9;
	--jorato-color-muted: #f7f7f7;
	--jorato-color-white: #ffffff;
	--jorato-color-white-90: rgba(255, 255, 255, 0.9);
	--jorato-color-overlay: rgba(0, 0, 0, 0.35);
	--jorato-color-text: #242424;

	/* Accent: hero / theme color, overridden per classification bucket. */
	--jorato-accent: var(--jorato-color-hero-blue);
	--jorato-accent-soft: var(--jorato-color-light-blue);
	/* Soft tinted button (Kereby light-blue with dark text). */
	--jorato-btn-soft-bg: var(--jorato-color-light-blue);
	--jorato-btn-soft-bg-hover: #c5d8de;
	--jorato-btn-soft-fg: var(--jorato-color-text);

	/* Layout */
	--jorato-radius: 4px;
	--jorato-page-width: 1200px;
	--jorato-list-rail-max: var(--jorato-page-width);
	--jorato-list-rail-x: 28px;
	--jorato-list-sidebar-width: 216px;
	--jorato-list-sidebar-gap: 64px;
	--jorato-list-cards-max: calc(
		var(--jorato-list-rail-max) - 2 * var(--jorato-list-rail-x) - var(--jorato-list-sidebar-width) - var(--jorato-list-sidebar-gap)
	);
	--jorato-shadow: 0 1px 3px rgba(159, 165, 176, 0.4);

	/* Typography: mobile-first; desktop overrides below. */
	--jorato-font-family: var(--jorato-font-stack);
	--jorato-font-display: "F37 Bella Heavy", Didot, "Times New Roman", serif;
	--jorato-heading-lh: 1.2;
	--jorato-heading-weight: 700;
	--jorato-heading-ls: 0;
	--jorato-h1: 30px;
	--jorato-h2: 26px;
	--jorato-h3: 22px;
	--jorato-h4: 20px;
	--jorato-h5: 18px;
	--jorato-h6: 16px;

	/* Body */
	--jorato-body-lh: 1.5;
	--jorato-body-ls: 0;
	--jorato-p-size: 15px;
	--jorato-p-weight: 400;
	--jorato-p-bold-weight: 700;
	--jorato-p-small-size-mobile: 13px;
	--jorato-p-small2-size-mobile: 11px;
	--jorato-p-small-size: var(--jorato-p-small-size-mobile);
	--jorato-p-small2-size: var(--jorato-p-small2-size-mobile);

	font-family: var(--jorato-font-family);
	color: var(--jorato-color-text);
	line-height: var(--jorato-body-lh);
	letter-spacing: var(--jorato-body-ls);
	-webkit-font-smoothing: antialiased;
}

/* Per-bucket accent color (hero, theme accents). */
.jorato-case-catalog--commercial,
.jorato-case-detail--commercial,
.jorato-case-showcase--commercial {
	--jorato-accent: var(--jorato-color-green);
	--jorato-accent-soft: var(--jorato-color-light-green);
}

@media (min-width: 1024px) {
	.jorato-case-catalog,
	.jorato-case-detail,
	.jorato-case-showcase {
		--jorato-h1: 45px;
		--jorato-h2: 35px;
		--jorato-h3: 28px;
		--jorato-h4: 24px;
		--jorato-h5: 20px;
	}
}

/* —— Case catalog (list + filters) —— */

.jorato-screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@keyframes jorato-catalog-spin {
	to {
		transform: rotate(360deg);
	}
}

.jorato-case-catalog {
	/* Mobile-first: docs/responsive-layout-guidelines.md — 884px rail, 1.5rem gutters. */
	--jorato-content-rail-max: 884px;
	--jorato-list-max: 100%;
	--jorato-list-pad-x: 1.5rem;
	--jorato-filters-panel-bg: #b9c8b966;
	--jorato-card-w: 444px;
	--jorato-card-h: 444px;
	--jorato-card-img-h: 230px;
	--jorato-grid-gap-x: 40px;
	--jorato-grid-gap-y: 60px;

	box-sizing: border-box;
	position: relative;
	width: 100%;
	max-width: var(--jorato-content-rail-max);
	margin: 0 auto 2.5rem;
	overflow-x: clip;
}

.jorato-case-catalog.jorato-case-catalog--loading::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 20;
	background: rgba(255, 255, 255, 0.72);
	pointer-events: none;
}

.jorato-case-catalog.jorato-case-catalog--loading::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 45%;
	width: 2.25rem;
	height: 2.25rem;
	margin: -1.125rem 0 0 -1.125rem;
	z-index: 21;
	border: 3px solid rgba(44, 58, 96, 0.22);
	border-top-color: var(--jorato-color-blue);
	border-radius: 50%;
	animation: jorato-catalog-spin 0.65s linear infinite;
	pointer-events: none;
}

.jorato-case-filters {
	box-sizing: border-box;
	position: relative;
	z-index: 10;
	width: 100%;
}

.jorato-case-filters__panel {
	box-sizing: border-box;
	position: relative;
	isolation: isolate;
	background: transparent;
	padding: 40px 1.5rem;
	margin-bottom: 60px;
}

.jorato-case-filters__panel::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	background: var(--jorato-filters-panel-bg);
}

.jorato-case-filters__toolbar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	min-height: 52px;
	max-width: var(--jorato-list-max, 1512px);
	margin: 0 auto;
}

.jorato-case-filters__select {
	appearance: none;
	box-sizing: border-box;
	height: 52px;
	background: var(--jorato-color-white);
	border: 1px solid rgba(76, 76, 76, 0.2);
	border-radius: var(--jorato-radius);
	padding: 0 2.25rem 0 0.85rem;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-text);
	min-width: 12rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234c4c4c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	cursor: pointer;
}

.jorato-case-filters__select--location {
	flex: 0 1 auto;
	width: min(350px, 100%);
	max-width: 100%;
	min-width: 0;
}

.jorato-case-filters__select--wide {
	flex: 1 1 14rem;
	max-width: 22rem;
}

.jorato-case-filters__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 52px;
	margin-left: 20px;
	padding: 0 30px;
	background: var(--jorato-color-blue);
	color: var(--jorato-color-white);
	border: none;
	border-radius: var(--jorato-radius);
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-bold-weight);
	line-height: var(--jorato-heading-lh);
	letter-spacing: var(--jorato-heading-ls);
	cursor: pointer;
	transition: background 0.15s ease;
}

.jorato-case-filters__toggle:hover,
.jorato-case-filters__toggle:focus-visible {
	background: var(--jorato-color-blue-hover);
}

.jorato-case-filters__count {
	/* Desktop Paragraph Bold + blue (design system). */
	margin: 0;
	margin-left: 30px;
	flex: 0 0 auto;
	align-self: center;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-bold-weight);
	line-height: var(--jorato-body-lh);
	letter-spacing: var(--jorato-body-ls);
	color: var(--jorato-color-blue);
}

.jorato-case-filters__advanced {
	display: grid;
	grid-template-rows: 0fr;
	margin-top: 0;
	padding-top: 0;
	border-top: none;
	overflow: visible;
	transition:
		grid-template-rows 300ms ease,
		margin-top 300ms ease;
}

.jorato-case-filters__advanced--open {
	grid-template-rows: 1fr;
	margin-top: 1.5rem;
}

.jorato-case-filters__advanced-inner {
	max-width: var(--jorato-list-max, 1512px);
	margin: 0 auto;
	width: 100%;
	min-height: 0;
	overflow: hidden;
}

.jorato-case-filters__advanced--open .jorato-case-filters__advanced-inner {
	overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
	.jorato-case-filters__advanced {
		transition: none;
	}
}

.jorato-case-filters__ranges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	gap: 40px;
	margin-bottom: 0;
}

.jorato-case-filters__ranges > .jorato-case-filters__field {
	flex: 1 1 0;
	min-width: 0;
	box-sizing: border-box;
}

.jorato-case-filters__ranges .jorato-case-filters__select--wide {
	flex: none;
	width: 100%;
	max-width: none;
}

.jorato-case-filters__field--rooms {
	flex: 1 1 0;
	min-width: 0;
}

/* Shadcn-style multi-select (rooms filter). */
.jorato-shadcn-select {
	position: relative;
	z-index: 1;
	width: 100%;
}

.jorato-shadcn-select.is-open {
	z-index: 20;
}

.jorato-shadcn-select__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 0 0.85rem;
	background: var(--jorato-color-white);
	border: 1px solid rgba(76, 76, 76, 0.2);
	border-radius: var(--jorato-radius);
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-text);
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jorato-shadcn-select__trigger:hover {
	border-color: rgba(44, 58, 96, 0.35);
}

.jorato-shadcn-select__trigger:focus-visible {
	outline: none;
	border-color: var(--jorato-color-blue);
	box-shadow: 0 0 0 2px rgba(44, 58, 96, 0.18);
}

.jorato-shadcn-select.is-open .jorato-shadcn-select__trigger {
	border-color: var(--jorato-color-blue);
	box-shadow: 0 0 0 2px rgba(44, 58, 96, 0.18);
}

.jorato-shadcn-select__value {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jorato-shadcn-select__chevron {
	flex: 0 0 auto;
	width: 12px;
	height: 8px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234c4c4c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 8px;
	transition: transform 0.15s ease;
}

.jorato-shadcn-select.is-open .jorato-shadcn-select__chevron {
	transform: rotate(180deg);
}

.jorato-shadcn-select__popover {
	position: absolute;
	z-index: 30;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	box-sizing: border-box;
	max-height: 18rem;
	overflow-y: auto;
	padding: 0.25rem;
	background: var(--jorato-color-white);
	border: 1px solid rgba(76, 76, 76, 0.2);
	border-radius: var(--jorato-radius);
	box-shadow: var(--jorato-shadow);
}

.jorato-shadcn-select__popover[hidden] {
	display: none;
}

.jorato-shadcn-select__option {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	box-sizing: border-box;
	width: 100%;
	padding: 0.55rem 0.65rem;
	border-radius: calc(var(--jorato-radius) - 2px);
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-text);
	cursor: pointer;
	user-select: none;
}

.jorato-shadcn-select__option:hover:not(.is-disabled) {
	background: rgba(44, 58, 96, 0.06);
}

.jorato-shadcn-select__option.is-selected:not(.is-disabled) {
	background: rgba(44, 58, 96, 0.08);
}

.jorato-shadcn-select__option.is-disabled {
	color: var(--jorato-color-grey);
	opacity: 0.55;
	cursor: not-allowed;
}

.jorato-shadcn-select__input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.jorato-shadcn-select__option-text {
	flex: 1 1 auto;
	min-width: 0;
}

.jorato-shadcn-select__check {
	flex: 0 0 auto;
	width: 1rem;
	height: 1rem;
	border: 1px solid rgba(76, 76, 76, 0.35);
	border-radius: 3px;
	background: var(--jorato-color-white);
	position: relative;
}

.jorato-shadcn-select__option.is-selected .jorato-shadcn-select__check {
	background: var(--jorato-color-blue);
	border-color: var(--jorato-color-blue);
}

.jorato-shadcn-select__option.is-selected .jorato-shadcn-select__check::after {
	content: "";
	position: absolute;
	left: 0.28rem;
	top: 0.12rem;
	width: 0.28rem;
	height: 0.48rem;
	border: solid var(--jorato-color-white);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.jorato-case-filters__label {
	/* Mobile Paragraph BOLD / Desktop Paragraph Bold (design system). */
	display: block;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-bold-weight);
	line-height: var(--jorato-body-lh);
	letter-spacing: var(--jorato-body-ls);
	margin-bottom: 0.5rem;
	color: var(--jorato-color-blue);
}

.jorato-dual-range {
	position: relative;
	height: 40px;
	margin-bottom: 0;
}

.jorato-dual-range__track {
	display: none;
}

.jorato-dual-range__input {
	/* Thumb art as data URI + on input for WebKit pseudo inheritance. */
	--jorato-dual-range-thumb-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='20' fill='%232C3A60'/%3E%3Cpath fill='%23ffffff' d='M18.5057 14.6868L17.9414 15.2511L22.3157 19.6254L17.9414 23.9997L18.5057 24.564L23.4443 19.6254L18.5057 14.6868Z'/%3E%3C/svg%3E");
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
	height: 40px;
	margin: 0;
	background: transparent;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
	z-index: 1;
}

.jorato-dual-range__input.is-active {
	z-index: 3;
}

.jorato-dual-range__input::-webkit-slider-runnable-track {
	height: 1px;
	background: rgba(44, 58, 96, 0.2);
	border: none;
	border-radius: 0;
}

.jorato-dual-range__input--max {
	z-index: 2;
}

.jorato-dual-range__input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	margin-top: -19.5px;
	border-radius: 50%;
	border: none;
	background-color: var(--jorato-color-blue);
	background-image: var(--jorato-dual-range-thumb-image);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 40px 40px;
	box-shadow: 0 2px 8px rgba(44, 58, 96, 0.18);
	cursor: pointer;
}

.jorato-dual-range__input--min::-webkit-slider-thumb {
	transform: scaleX(-1);
}

.jorato-dual-range__input::-moz-range-track {
	height: 1px;
	background: rgba(44, 58, 96, 0.2);
	border: none;
	border-radius: 0;
}

.jorato-dual-range__input::-moz-range-thumb {
	box-sizing: border-box;
	pointer-events: auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background-color: var(--jorato-color-blue);
	background-image: var(--jorato-dual-range-thumb-image);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 40px 40px;
	box-shadow: 0 2px 8px rgba(44, 58, 96, 0.18);
	cursor: pointer;
}

.jorato-dual-range__input--min::-moz-range-thumb {
	transform: scaleX(-1);
}

.jorato-dual-range__values {
	display: flex;
	justify-content: space-between;
	padding-top: 10px;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-small-size);
	font-weight: var(--jorato-p-bold-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-blue);
}

/* Desktop-first filter chrome: stack below 1280px (see responsive-layout-guidelines.md). */
@media (max-width: 1279px) {
	.jorato-case-filters__toolbar-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		min-height: 0;
	}

	.jorato-case-filters__select--location {
		width: 100%;
		max-width: none;
		flex: 1 1 auto;
	}

	.jorato-case-filters__toggle {
		margin-left: 0;
		width: 100%;
		max-width: none;
	}

	.jorato-case-filters__count {
		margin-left: 0;
		width: 100%;
		flex: none;
		text-align: left;
	}

	.jorato-case-filters__ranges {
		flex-direction: column;
		align-items: stretch;
		gap: 1.5rem;
	}

	.jorato-case-filters__ranges > .jorato-case-filters__field {
		flex: 1 1 auto;
		width: 100%;
		min-width: 0;
	}
}

.jorato-case-results {
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}

.jorato-case-catalog__layout .jorato-case-results {
	width: auto;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

.jorato-case-results__heading {
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-h4);
	font-weight: var(--jorato-heading-weight);
	line-height: var(--jorato-heading-lh);
	letter-spacing: var(--jorato-heading-ls);
	color: var(--jorato-color-blue);
	margin: 0 0 1.25rem;
}

.jorato-case-grid {
	display: grid;
	grid-template-columns: 1fr;
	column-gap: var(--jorato-grid-gap-x, 40px);
	row-gap: var(--jorato-grid-gap-y, 60px);
	justify-content: center;
	align-items: start;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

@media (min-width: 1280px) {
	.jorato-case-catalog,
	.jorato-case-detail,
	.jorato-case-showcase {
		--jorato-h1: 53px;
		--jorato-h2: 42px;
		--jorato-h3: 34px;
		--jorato-h4: 27px;
		--jorato-h5: 21px;
		--jorato-h6: 17px;
		--jorato-p-small-size: 11px;
		--jorato-p-small2-size: 8px;
	}

	.jorato-case-catalog {
		--jorato-list-max: 1512px;
		--jorato-list-pad-x: 50px;
		max-width: calc(var(--jorato-list-max) + 2 * var(--jorato-list-pad-x));
	}

	.jorato-case-filters__panel {
		padding: 40px 50px;
		margin-bottom: 100px;
	}

	.jorato-case-catalog--desktop-cols-2 .jorato-case-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: var(--jorato-list-max, 1512px);
		justify-content: stretch;
	}

	.jorato-case-catalog--desktop-cols-2 {
		--jorato-card-img-h: 355px;
	}

	.jorato-case-catalog--desktop-cols-3 .jorato-case-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: var(--jorato-list-max, 1512px);
		justify-content: stretch;
	}

	.jorato-case-catalog--desktop-cols-2 .jorato-case-card,
	.jorato-case-catalog--desktop-cols-3 .jorato-case-card,
	.jorato-case-showcase--desktop-cols-2 .jorato-case-card,
	.jorato-case-showcase--desktop-cols-3 .jorato-case-card,
	.jorato-case-showcase--desktop-cols-4 .jorato-case-card {
		max-width: none;
		justify-self: stretch;
	}
}

.jorato-case-grid__empty {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin: 2rem 0;
	padding: 0 1rem;
}

.jorato-case-grid__empty-title {
	margin: 0;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-h4);
	font-weight: var(--jorato-heading-weight);
	line-height: var(--jorato-heading-lh);
	letter-spacing: var(--jorato-heading-ls);
	color: var(--jorato-color-blue);
}

.jorato-case-grid__empty-text {
	margin: 0.75rem 0 0;
	max-width: 36rem;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-grey);
}

.jorato-case-grid__empty-button {
	box-sizing: border-box;
	display: inline-block;
	margin-top: 1.5rem;
	padding: 15px 30px 17px;
	border: none;
	border-radius: var(--jorato-radius);
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-bold-weight);
	line-height: var(--jorato-body-lh);
	color: #fff;
	background: var(--jorato-color-blue);
	text-decoration: none;
	transition: background 0.15s ease;
}

.jorato-case-grid__empty-button:hover,
.jorato-case-grid__empty-button:focus-visible {
	color: #fff;
	background: var(--jorato-color-blue-hover);
}

.jorato-case-grid__empty-button:focus-visible {
	outline: 2px solid var(--jorato-color-blue);
	outline-offset: 2px;
}

.jorato-case-card {
	background: var(--jorato-color-white);
	border-radius: var(--jorato-radius) var(--jorato-radius) 0 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--jorato-card-w, 444px);
	height: auto;
	min-height: var(--jorato-card-h, 444px);
	justify-self: center;
}

.jorato-case-card__media {
	position: relative;
	width: 100%;
	height: var(--jorato-card-img-h, 230px);
	flex-shrink: 0;
	overflow: hidden;
	background: var(--jorato-color-green);
	border-radius: var(--jorato-radius) var(--jorato-radius) 0 0;
}

.jorato-case-card__imglink {
	display: block;
	width: 100%;
	height: 100%;
	line-height: 0;
	text-decoration: none;
	overflow: hidden;
}

.jorato-case-card__slider {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 100%;
	overflow: hidden;
}

.jorato-case-card__slide {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 0;
	transform: scale(1);
	transition: opacity 0.25s ease, transform 300ms ease-out;
	z-index: 0;
}

.jorato-case-card__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.jorato-case-card__slide--placeholder {
	background: linear-gradient(135deg, #d4e0d4, #a8b8a8);
}

.jorato-case-card__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
	background-color: var(--jorato-color-white-90);
	background-image: url("../images/chevron-arrow.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
}

.jorato-case-card__nav--prev {
	left: 0.5rem;
	transform: translateY(-50%);
}

.jorato-case-card__nav--next {
	right: 0.5rem;
	transform: translateY(-50%);
}

.jorato-case-card__nav:focus-visible {
	outline: 2px solid var(--jorato-color-blue);
	outline-offset: 2px;
}

.jorato-case-card__badge {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	padding: 10px;
	max-width: calc(100% - 3rem);
	background: var(--jorato-color-blue);
	border-bottom-right-radius: 8px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-left-radius: 0;
	color: #fff;
	font-family: var(--jorato-font-family);
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	line-height: 18px;
	overflow: hidden;
	overflow-wrap: anywhere;
}

.jorato-case-card__overlay {
	position: absolute;
	left: 0;
	right: auto;
	bottom: 0;
	z-index: 2;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	width: max-content;
	max-width: calc(100% - 0.5rem);
	height: 34px;
	padding: 10px;
	background: #baa558;
	border-top-right-radius: 8px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.jorato-case-card__overlay-text {
	margin: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: var(--jorato-font-family);
	font-size: 10px;
	font-style: normal;
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
}

.jorato-case-card__body {
	box-sizing: border-box;
	flex: 1 1 auto;
	min-height: 0;
	height: auto;
	width: 100%;
	min-width: 100%;
	align-self: stretch;
	padding: 20px 0 40px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	min-height: 0;
	border-bottom: 1px solid #c8c8c8;
}

/* “Ledig fra” / “Anvendelse” row — 12px on all breakpoints, label not bold. */
.jorato-case-card__avail {
	margin: 0 0 0.35rem;
	max-width: 100%;
	min-width: 0;
	font-family: var(--jorato-font-family);
	font-size: 12px;
	font-weight: var(--jorato-p-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-grey);
}

.jorato-case-card__avail-label {
	white-space: normal;
}

.jorato-case-card__avail-date {
	white-space: normal;
}

.jorato-case-card__title {
	margin: 0;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-h5);
	font-weight: var(--jorato-heading-weight);
	line-height: var(--jorato-heading-lh);
	letter-spacing: var(--jorato-heading-ls);
}

.jorato-case-card__title-link {
	display: -webkit-box;
	width: 100%;
	min-width: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	word-break: break-word;
	overflow-wrap: anywhere;
	color: var(--jorato-color-blue);
	text-decoration: none;
	transition: color 0.15s ease;
}

.jorato-case-card:hover .jorato-case-card__title-link,
.jorato-case-card:focus-within .jorato-case-card__title-link {
	color: var(--jorato-color-gold);
}

.jorato-case-card__address {
	margin: 10px 0 30px;
	max-width: 100%;
	min-width: 0;
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-grey);
}

.jorato-case-card__address-icon {
	flex-shrink: 0;
	width: 14px;
	height: auto;
	margin-top: 0.1em;
	display: block;
}

.jorato-case-card__address-text {
	min-width: 0;
}

.jorato-case-card__stats {
	display: grid;
	/* Wider middle column so the price fits on one row; equal outer columns keep it centered. */
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr) minmax(0, 1.05fr);
	align-items: center;
	column-gap: 1.25rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin-top: auto;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-grey);
}

.jorato-case-card__stat {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-width: 0;
	color: inherit;
	justify-self: start;
}

.jorato-case-card__stat--third {
	min-height: 1.25rem;
}

.jorato-case-card__stat-icon {
	flex-shrink: 0;
	display: block;
}

.jorato-case-card__stat--rent .jorato-case-card__stat-text {
	color: var(--jorato-color-blue);
}

/* —— Case detail (mobile-first) —— */

.jorato-case-detail {
	--jorato-detail-split-gap: 40px;
	--jorato-detail-aside-width: 381px;
	--jorato-detail-mobile-bp: 500px;
	--jorato-detail-rail-x: 28px;
	--jorato-detail-rail-max: var(--jorato-page-width);
	--jorato-section-space: 60px;
	box-sizing: border-box;
	max-width: none;
	margin: 0 auto 2.5rem;
	padding: 0;
	width: 100%;
	overflow-x: clip;
}

.jorato-case-detail__body {
	box-sizing: border-box;
	width: 100%;
}

/* Two-column layout (≥1280px): fluid main + 40px gap + 381px contact (live intro right column). */
.jorato-case-detail__split {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--jorato-detail-rail-max);
	margin: 56px auto 0;
	padding: 0 var(--jorato-detail-rail-x);
}

.jorato-case-detail__split-lead,
.jorato-case-detail__split-lead-secondary {
	box-sizing: border-box;
	min-width: 0;
}

.jorato-case-detail__split-aside {
	box-sizing: border-box;
	padding-top: 2rem;
	padding-left: 0;
	padding-right: 0;
}

.jorato-case-detail__aside-card {
	box-sizing: border-box;
	width: 100%;
}

.jorato-case-detail__cta--aside-full {
	width: 100%;
	box-sizing: border-box;
}

@media (min-width: 1280px) {
	.jorato-case-detail {
		--jorato-section-space: 100px;
	}

	.jorato-case-detail__split {
		max-width: var(--jorato-detail-rail-max);
		margin-top: 56px;
		padding-left: var(--jorato-detail-rail-x);
		padding-right: var(--jorato-detail-rail-x);
	}

	.jorato-case-detail__split--has-aside {
		display: grid;
		grid-template-columns: minmax(0, 1fr) var(--jorato-detail-aside-width);
		column-gap: var(--jorato-detail-split-gap);
		align-items: start;
		justify-content: stretch;
	}

	.jorato-case-detail__split--has-aside .jorato-case-detail__split-lead {
		grid-column: 1;
		grid-row: 1;
	}

	.jorato-case-detail__split--has-aside .jorato-case-detail__split-aside {
		grid-column: 2;
		grid-row: 1;
		padding-top: 0;
		width: var(--jorato-detail-aside-width);
		max-width: var(--jorato-detail-aside-width);
	}

	.jorato-case-detail__split--has-aside .jorato-case-detail__split-lead-secondary {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.jorato-case-detail__split--has-aside .jorato-case-detail__split-lead-secondary:not(:has(.jorato-case-detail__section)) {
		display: none;
	}

	.jorato-case-detail__split:not(.jorato-case-detail__split--has-aside) {
		max-width: var(--jorato-detail-rail-max);
	}

	.jorato-case-detail__split-aside .jorato-case-detail__aside-photo {
		width: 100%;
		min-height: 238px;
		padding-bottom: 50%;
		position: relative;
		margin-bottom: 16px;
		box-sizing: border-box;
	}

	.jorato-case-detail__split-aside .jorato-case-detail__aside-photo--commercial {
		min-height: 0;
	}

	.jorato-case-detail__split-aside .jorato-case-detail__aside-photo .jorato-case-detail__agent-photo {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		margin: 0;
		border-radius: 4px;
		object-fit: cover;
		object-position: 0 0;
	}

	.jorato-case-detail__split-aside .jorato-case-detail__aside-photo--commercial .jorato-case-detail__agent-photo {
		object-position: top;
	}

	/* H3-styled headings: 20px bottom margin on desktop (not hero title). */
	.jorato-case-detail__description-title,
	.jorato-case-detail__map-heading,
	.jorato-case-detail__unit-selector-heading,
	.jorato-case-detail__facilities-heading {
		margin-bottom: 20px;
	}

	.jorato-case-detail__split .jorato-case-detail__title {
		margin-bottom: 20px;
	}
}

.jorato-case-detail__section {
	box-sizing: border-box;
	margin: 0;
}

.jorato-case-detail__section--gallery {
	width: 100%;
	position: relative;
	z-index: 2;
	margin-top: -88px;
	margin-bottom: 50px;
	padding: 0;
	box-sizing: border-box;
}

/* Sections inside the split rail inherit horizontal padding from .jorato-case-detail__split. */
.jorato-case-detail__split .jorato-case-detail__section--intro,
.jorato-case-detail__split .jorato-case-detail__section--descriptions,
.jorato-case-detail__split .jorato-case-detail__section--facts {
	padding-left: 0;
	padding-right: 0;
}

/* Standalone content sections share one centered rail (1200px). */
.jorato-case-detail__section--3d,
.jorato-case-detail__section--details-top,
.jorato-case-detail__section--unit-selector {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--jorato-detail-rail-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--jorato-detail-rail-x);
	padding-right: var(--jorato-detail-rail-x);
}

.jorato-case-detail__section--location-map {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding: var(--jorato-section-space) 0 0;
	overflow-x: clip;
}

/* City watermark above map — ported from SingleRentalMap.vue `.headline`. */
.jorato-case-detail__location-city {
	margin: 80px 0 -110px;
	padding: 0;
	font-family: var(--jorato-font-display);
	font-style: normal;
	font-weight: 400;
	font-size: 17vw;
	line-height: 1.3;
	text-align: center;
	letter-spacing: -0.03em;
	color: var(--jorato-color-light-blue);
}

.jorato-case-detail__location-city + .jorato-case-detail__map-shell {
	margin-top: -8em;
}

@media (max-width: 500px) {
	.jorato-case-detail__location-city {
		font-size: clamp(72px, 28vw, 105px);
		overflow: hidden;
		margin: -40px auto -110px;
	}

	.jorato-case-detail__location-city + .jorato-case-detail__map-shell {
		margin-top: 4em;
	}
}

.jorato-case-detail__section--intro,
.jorato-case-detail__section--descriptions,
.jorato-case-detail__section--facts,
.jorato-case-detail__section--agent {
	padding-left: var(--jorato-detail-rail-x);
	padding-right: var(--jorato-detail-rail-x);
}

.jorato-case-detail__section--3d {
	margin-top: var(--jorato-section-space);
}

.jorato-case-detail__map-heading {
	/* Desktop H3 (uses --jorato-h3: 34px from 1280px; 29px below). */
	margin: 0 0 0.75rem;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-h3);
	font-weight: var(--jorato-heading-weight);
	line-height: var(--jorato-heading-lh);
	letter-spacing: var(--jorato-heading-ls);
	color: var(--jorato-color-blue);
}

.jorato-case-detail__map-shell {
	position: relative;
	box-sizing: border-box;
	width: 100vw;
	max-width: 100%;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	height: 600px;
	border-radius: 0;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.06);
}

.jorato-case-detail__map-shell .mapboxgl-canvas,
.jorato-case-detail__map-shell canvas {
	max-width: 100%;
}

.jorato-case-detail__map {
	width: 100%;
	height: 100%;
	min-height: 280px;
	box-sizing: border-box;
}

@media (max-width: 767px) {
	.jorato-case-detail__map-shell {
		height: 620px;
	}
}

.jorato-case-detail__map-toolbar {
	position: absolute;
	top: 10px;
	left: 10px;
	right: auto;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-start;
	align-items: flex-start;
	max-width: calc(100% - 20px);
	pointer-events: none;
}

.jorato-case-detail__map-filter {
	appearance: none;
	margin: 0;
	padding: 0.5rem 1rem;
	border-radius: 12px;
	border: 1px solid var(--jorato-color-blue);
	background: var(--jorato-color-white);
	color: var(--jorato-color-blue);
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	pointer-events: auto;
	transition:
		background-color 0.15s ease,
		color 0.15s ease,
		border-color 0.15s ease;
}

.jorato-case-detail__map-filter:hover {
	background: rgba(44, 58, 96, 0.06);
}

.jorato-case-detail__map-filter.is-active {
	background: var(--jorato-color-blue);
	color: var(--jorato-color-white);
	border-color: var(--jorato-color-blue);
}

.jorato-case-detail__map-filter.is-active:hover {
	background: var(--jorato-color-blue-hover);
	border-color: var(--jorato-color-blue-hover);
	color: var(--jorato-color-white);
}

.jorato-case-detail__map .mapboxgl-canvas {
	outline: none;
}

/* Mapbox default close control: larger hit target and clearer placement (scoped to case detail map). */
.jorato-case-detail__map-shell .jorato-case-detail__mapbox-popup.mapboxgl-popup .mapboxgl-popup-content {
	padding: 12px 44px 12px 14px;
}

.jorato-case-detail__map-shell .jorato-case-detail__mapbox-popup.mapboxgl-popup .mapboxgl-popup-close-button {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	font-size: 22px;
	line-height: 1;
	font-weight: 500;
	color: rgba(0, 0, 0, 0.55);
	background: transparent;
	border: 0;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition:
		background-color 0.15s ease,
		color 0.15s ease;
}

.jorato-case-detail__map-shell .jorato-case-detail__mapbox-popup.mapboxgl-popup .mapboxgl-popup-close-button:hover {
	color: rgba(0, 0, 0, 0.85);
	background: rgba(0, 0, 0, 0.06);
}

.jorato-case-detail__map-marker {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	line-height: 0;
	position: relative;
	z-index: 1;
}

.jorato-case-detail__map-marker img {
	display: block;
	width: 36px;
	height: 36px;
	object-fit: contain;
	pointer-events: none;
}

.jorato-case-detail__map-marker--poi img {
	background-color: var(--jorato-color-white, #fff);
	border-radius: 50%;
	padding: 5px;
	box-sizing: border-box;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.jorato-case-detail__map-marker--case {
	z-index: 10;
	align-items: center;
}

.jorato-case-detail__map-marker--case img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	padding: 8px;
	box-sizing: border-box;
	border-radius: 50%;
	background-color: var(--jorato-color-blue, #2c3a60);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.jorato-case-detail__map-popup {
	padding: 2px 0;
	font-size: 0.875rem;
	line-height: 1.35;
}

.jorato-case-detail__map-popup-title {
	display: block;
	margin-bottom: 0.25rem;
}

.jorato-case-detail__map-popup-line,
.jorato-case-detail__map-popup-distance {
	margin: 0.15rem 0 0;
	color: rgba(0, 0, 0, 0.72);
}

.jorato-case-detail__poi-local {
	margin-top: 1.5rem;
	box-sizing: border-box;
}

.jorato-case-detail__poi-local-heading {
	margin: 0 0 1rem;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--jorato-color-blue);
}

.jorato-case-detail__poi-local-grid {
	display: grid;
	/* Four cards: Transport, Institutioner, Indkøb, Natur (Skoler is map filter only). */
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.5rem;
	align-items: stretch;
}

@media (min-width: 768px) {
	.jorato-case-detail__poi-local-grid {
		gap: 1rem;
	}
}

.jorato-case-detail__poi-local-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	box-sizing: border-box;
	height: 100%;
	min-height: 0;
	width: 100%;
	padding: 0.65rem 0.35rem;
	border-radius: 10px;
	background: var(--jorato-color-white);
	border: 1px solid rgba(44, 58, 96, 0.1);
	text-align: center;
}

@media (min-width: 768px) {
	.jorato-case-detail__poi-local-card {
		padding: 1.25rem 1rem;
		border-radius: 12px;
	}
}

.jorato-case-detail__poi-local-card-icon {
	align-self: center;
	flex-shrink: 0;
	line-height: 0;
	margin-bottom: 0.45rem;
}

@media (min-width: 768px) {
	.jorato-case-detail__poi-local-card-icon {
		margin-bottom: 0.75rem;
	}
}

.jorato-case-detail__poi-local-card-icon img {
	display: block;
	width: 28px;
	height: 28px;
	object-fit: contain;
	background-color: var(--jorato-color-white, #fff);
	border-radius: 50%;
	padding: 4px;
	box-sizing: border-box;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
}

@media (min-width: 768px) {
	.jorato-case-detail__poi-local-card-icon img {
		width: 40px;
		height: 40px;
		padding: 5px;
	}
}

.jorato-case-detail__poi-local-card-title {
	margin: 0 0 0.45rem;
	padding: 0 0.125rem;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--jorato-color-blue);
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (min-width: 768px) {
	.jorato-case-detail__poi-local-card-title {
		margin: 0 0 0.75rem;
		font-size: 1rem;
	}
}

.jorato-case-detail__poi-local-list {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	min-width: 0;
	min-height: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	text-align: left;
}

.jorato-case-detail__poi-local-item {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	margin: 0;
	padding: 0.3rem 0;
	font-size: 0.625rem;
	line-height: 1.35;
	color: var(--jorato-color-blue);
	border-top: 1px solid rgba(44, 58, 96, 0.12);
	width: 100%;
	min-width: 0;
	gap: 0;
}

.jorato-case-detail__poi-local-name {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jorato-case-detail__poi-local-sep {
	flex-shrink: 0;
	white-space: pre;
}

.jorato-case-detail__poi-local-dist {
	flex-shrink: 0;
	white-space: nowrap;
}

@media (min-width: 768px) {
	.jorato-case-detail__poi-local-item {
		padding: 0.4rem 0;
		font-size: 0.875rem;
		line-height: 1.45;
	}
}

.jorato-case-detail__poi-local-item:first-child {
	border-top: none;
	padding-top: 0;
}

.jorato-case-detail__gallery {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	background: transparent;
	--jorato-gallery-gap: 12px;
	--jorato-gallery-slide-max: var(--jorato-page-width);
	--jorato-gallery-offset-x: 0px;
	--jorato-gallery-slide-width: 100%;
}

.jorato-case-detail__gallery-viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 10 / 7;
	max-height: min(77vh, 680px);
	touch-action: manipulation;
}

.jorato-case-detail__gallery-track {
	display: flex;
	width: max-content;
	height: 100%;
	transition: transform 0.28s ease;
	will-change: transform;
}

.jorato-case-detail__section--gallery-initializing .jorato-case-detail__gallery-track,
.jorato-case-detail__section--gallery-initializing .jorato-case-detail__gallery-slide::before {
	transition: none;
}

.jorato-case-detail__section--gallery-initializing .jorato-case-detail__gallery-slide::before {
	opacity: 0;
}

.jorato-case-detail__gallery-slide {
	flex: 0 0 auto;
	width: 100%;
	min-width: 0;
	height: 100%;
	position: relative;
	box-sizing: border-box;
}

.jorato-case-detail__gallery:not(.jorato-case-detail__gallery--single) .jorato-case-detail__gallery-slide {
	width: auto;
}

.jorato-case-detail__gallery-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background-color: rgba(255, 255, 255, 0.85);
	opacity: 1;
	transition: opacity 200ms ease-out;
	pointer-events: none;
}

.jorato-case-detail__gallery-slide.is-active::before {
	opacity: 0;
}

.jorato-case-detail__gallery-slide--empty::before {
	display: none;
}

.jorato-case-detail__gallery-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	cursor: zoom-in;
	position: relative;
	z-index: 0;
}

.jorato-case-detail__gallery-slide:not(.is-active) .jorato-case-detail__gallery-img {
	cursor: default;
	pointer-events: none;
}

.jorato-case-detail__gallery-slide--empty {
	background: linear-gradient(135deg, #d4e0d4, #a8b8a8);
	cursor: default;
}

.jorato-case-detail__section--gallery-empty .jorato-case-detail__gallery-nav {
	visibility: hidden;
	pointer-events: none;
}

.jorato-case-detail__gallery-nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 29px;
	height: 23px;
	border: none;
	padding: 0;
	cursor: pointer;
	display: block;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	background-image: url("../images/kereby/arrow-right-big.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 29px 23px;
}

.jorato-case-detail__gallery-nav--prev {
	left: 50%;
	right: auto;
	transform: translate3d(-648px, -50%, 0) scaleX(-1);
}

.jorato-case-detail__gallery-nav--next {
	left: auto;
	right: 50%;
	transform: translate3d(648px, -50%, 0);
}

.jorato-case-detail__gallery-nav:disabled,
.jorato-case-detail__gallery-nav.is-disabled {
	opacity: 0;
	pointer-events: none;
}

@media (max-width: 1400px) {
	.jorato-case-detail__gallery-nav--prev {
		left: 0.5rem;
		transform: translateY(-50%) scaleX(-1);
	}

	.jorato-case-detail__gallery-nav--next {
		left: auto;
		right: 0.5rem;
		transform: translateY(-50%);
	}
}

.jorato-case-detail__gallery-nav:focus-visible {
	outline: 2px solid var(--jorato-color-blue);
	outline-offset: 2px;
}

.jorato-case-detail__gallery-footer {
	position: absolute;
	top: 0;
	right: auto;
	bottom: 0;
	left: var(--jorato-gallery-offset-x);
	width: var(--jorato-gallery-slide-width);
	z-index: 4;
	pointer-events: none;
	padding: 0;
	box-sizing: border-box;
}

.jorato-case-detail__gallery-tabs {
	position: absolute;
	bottom: 1em;
	left: 1em;
	display: flex;
	align-items: center;
	height: 40px;
	margin: 0;
	padding: 0;
	pointer-events: auto;
}

.jorato-case-detail__gallery-tab {
	appearance: none;
	display: block;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	margin: 0 0.25em 0 0;
	padding: 0;
	border: none;
	border-radius: 0;
	background-color: #fff;
	background-position: center;
	background-repeat: no-repeat;
	background-size: auto;
	cursor: pointer;
	transition: background-image 0.15s ease;
}

.jorato-case-detail__gallery-tab:last-child {
	margin-right: 0;
}

.jorato-case-detail__gallery-tab--pictures {
	background-image: url("../images/kereby/image.svg");
}

.jorato-case-detail__gallery-tab--floorplans {
	background-image: url("../images/kereby/floorplan.svg");
}

.jorato-case-detail__gallery-tab--vr {
	background-image: url("../images/kereby/vr.svg");
	text-decoration: none;
}

.jorato-case-detail__gallery-tab--pictures:hover,
.jorato-case-detail__gallery-tab--pictures.is-active {
	background-image:
		linear-gradient(to bottom, rgba(250, 250, 250, 0.6) 0%, rgba(250, 250, 250, 0.6) 100%),
		url("../images/kereby/image.svg");
}

.jorato-case-detail__gallery-tab--floorplans:hover,
.jorato-case-detail__gallery-tab--floorplans.is-active {
	background-image:
		linear-gradient(to bottom, rgba(250, 250, 250, 0.6) 0%, rgba(250, 250, 250, 0.6) 100%),
		url("../images/kereby/floorplan.svg");
}

.jorato-case-detail__gallery-tab--vr:hover,
.jorato-case-detail__gallery-tab--vr.is-active {
	background-image:
		linear-gradient(to bottom, rgba(250, 250, 250, 0.6) 0%, rgba(250, 250, 250, 0.6) 100%),
		url("../images/kereby/vr.svg");
}

.jorato-case-detail__gallery-tab:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.jorato-case-detail__gallery-pagination {
	position: absolute;
	right: 0;
	bottom: 24px;
	left: auto;
	display: flex;
	align-items: baseline;
	justify-content: flex-end;
	gap: 0;
	margin: 0;
	padding: 0 24px 0 0;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	pointer-events: none;
}

.jorato-case-detail__gallery-pagination-current {
	font-family: var(--jorato-font-family);
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
}

.jorato-case-detail__gallery-pagination-slash,
.jorato-case-detail__gallery-pagination-total {
	font-family: var(--jorato-font-family);
	font-size: inherit;
	font-weight: inherit;
	line-height: 1;
}

.jorato-case-detail__gallery-pagination-total {
	padding-bottom: 4px;
}

@media (max-width: 500px) {
	.jorato-case-detail__gallery-tabs {
		top: 0.75em;
		right: 1em;
		bottom: auto;
		left: auto;
		justify-content: flex-end;
	}

	.jorato-case-detail__gallery-tab {
		margin: 0 0 0 0.25em;
	}

	.jorato-case-detail__gallery-tab:first-child {
		margin-left: 0;
	}
}

.jorato-case-detail__section--intro {
	padding-top: 0;
	padding-bottom: 0.25rem;
}

/* 12px mobile, 14px desktop (does not follow Paragraph Small's 11px desktop size). */
.jorato-case-detail__avail {
	margin: 0 0 0.5rem;
	font-family: var(--jorato-font-family);
	font-size: 12px;
	font-weight: var(--jorato-p-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-grey);
}

@media (min-width: 1280px) {
	.jorato-case-detail__avail {
		font-size: 14px;
	}
}

.jorato-case-detail__title {
	margin: 0 0 0.75rem;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-h3);
	font-weight: var(--jorato-heading-weight);
	line-height: var(--jorato-heading-lh);
	letter-spacing: var(--jorato-heading-ls);
	color: var(--jorato-color-blue);
}

.jorato-case-detail__address {
	margin: 0 0 1rem;
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-grey);
}

.jorato-case-detail__address-icon {
	flex-shrink: 0;
	width: 14px;
	height: auto;
	margin-top: 0.1em;
	display: block;
}

.jorato-case-detail__desc-block {
	margin: 0 0 1.25rem;
}

.jorato-case-detail__intro-content {
	max-width: 516px;
	line-height: 24px;
	margin-bottom: 80px;
}

.jorato-case-detail__intro-headline {
	margin: 0;
	max-width: 418px;
	font-family: var(--jorato-font-family);
	font-size: 35px;
	font-weight: 400;
	line-height: 1.1;
	color: var(--jorato-color-text);
	white-space: pre-line;
}

.jorato-case-detail__intro-headline + .jorato-case-detail__desc--lead {
	margin-top: 40px;
}

.jorato-case-detail__desc--lead {
	margin: 0;
	font-family: var(--jorato-font-family);
	font-size: 18px;
	font-weight: 700;
	line-height: 24px;
	color: var(--jorato-color-text);
	white-space: pre-line;
	display: block;
	overflow: visible;
	-webkit-line-clamp: unset;
}

.jorato-case-detail__desc--body {
	margin: 16px 0 0;
	font-family: var(--jorato-font-family);
	font-size: 17px;
	font-weight: 400;
	line-height: 24px;
	color: var(--jorato-color-grey);
	white-space: pre-line;
	display: block;
	overflow: visible;
	-webkit-line-clamp: unset;
}

@media (max-width: 500px) {
	.jorato-case-detail__intro-headline {
		font-size: 32px;
	}

	.jorato-case-detail__intro-headline + .jorato-case-detail__desc--lead {
		margin-top: 30px;
	}

	.jorato-case-detail__desc--lead {
		font-size: 16px;
	}

	.jorato-case-detail__desc--body {
		font-size: 16px;
	}

	.jorato-case-detail__intro-content .jorato-case-detail__desc--lead {
		font-size: 16px;
	}

	.jorato-case-detail__intro-content .jorato-case-detail__desc--body {
		font-size: 16px;
	}

	.jorato-case-detail__intro-content {
		margin-bottom: 40px;
	}
}

.jorato-case-detail__desc:not(.jorato-case-detail__desc--lead):not(.jorato-case-detail__desc--body) {
	margin: 0;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-text);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}

/* Intro lead/body must show full text (live SingleRentalIntro has no clamp). */
.jorato-case-detail__intro-content .jorato-case-detail__desc--lead,
.jorato-case-detail__intro-content .jorato-case-detail__desc--body {
	display: block;
	overflow: visible;
	-webkit-box-orient: unset;
	-webkit-line-clamp: unset;
	line-height: 24px;
}

.jorato-case-detail__intro-content .jorato-case-detail__desc--lead {
	font-size: 18px;
	font-weight: 700;
	color: var(--jorato-color-text);
}

.jorato-case-detail__intro-content .jorato-case-detail__desc--body {
	font-size: 17px;
	font-weight: 400;
	color: var(--jorato-color-grey);
}

.jorato-case-detail__readmore {
	display: inline-block;
	margin-top: 0.35rem;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-small-size);
	font-weight: var(--jorato-p-bold-weight);
	color: var(--jorato-color-blue);
	cursor: pointer;
	text-decoration: none;
}

.jorato-case-detail__readmore:hover,
.jorato-case-detail__readmore:focus-visible {
	text-decoration: underline;
}

.jorato-case-detail__readmore--toggle {
	margin-top: 0.5rem;
	padding: 0;
	background: none;
	border: 0;
	-webkit-appearance: none;
	appearance: none;
}

.jorato-case-detail__readmore.is-hidden {
	display: none;
}

a.jorato-case-detail__cta--link:not(.jorato-case-detail__cta--aside-full):not(.jorato-case-detail__cta--mobile-bar) {
	display: block;
	text-align: center;
	text-decoration: none;
}

a.jorato-case-detail__cta--link:hover,
a.jorato-case-detail__cta--link:focus-visible {
	color: var(--jorato-btn-soft-fg);
}

.jorato-case-detail__section--unit-selector {
	padding-top: var(--jorato-section-space);
}

.jorato-case-detail__unit-selector-heading {
	margin: 0 0 1rem;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-h3);
	font-weight: var(--jorato-heading-weight);
	line-height: var(--jorato-heading-lh);
	letter-spacing: var(--jorato-heading-ls);
	color: var(--jorato-color-blue);
}

.jorato-case-detail__unit-selector-shell {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

/*
 * The embedded viewer app sizes itself with height:100% chains and expects a
 * container with a definite height (the plugin renderer only sets min-height,
 * which lets the unit list grow unbounded). Floor at 600px to match the
 * viewer's own internal min-height.
 */
.jorato-case-detail__unit-selector-shell .jorato-unit-selector {
	height: clamp(600px, 80svh, 700px);
}

/* —— Details top (Lejevilkår + Detaljer, Kereby SingleRentalDetails) —— */
.jorato-case-detail__section--details-top {
	width: 100%;
	max-width: none;
	margin-top: var(--jorato-section-space);
	padding: 64px 0 88px;
	background: var(--jorato-color-muted);
	border-radius: 0;
}

.jorato-case-detail__details-top {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--jorato-detail-rail-max);
	margin: 0 auto;
	padding: 0 var(--jorato-detail-rail-x);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.jorato-case-detail__details-top-grid {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 48px;
	width: 100%;
}

.jorato-case-detail__details-heading {
	margin: 0;
	font-family: var(--jorato-font-family);
	font-size: 32px;
	font-weight: var(--jorato-heading-weight);
	line-height: var(--jorato-heading-lh);
	letter-spacing: var(--jorato-heading-ls);
	color: var(--jorato-color-text);
}

.jorato-case-detail__details-terms {
	flex: 1 1 auto;
	max-width: 400px;
	min-width: 0;
}

.jorato-case-detail__details-appliances {
	flex: 0 0 auto;
	min-width: 300px;
}

.jorato-case-detail__section--details-top .jorato-case-detail__terms {
	margin: 32px 0 0;
	display: block;
}

.jorato-case-detail__section--details-top .jorato-case-detail__term-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0;
	padding: 0;
	border-bottom: 1px solid currentColor;
}

.jorato-case-detail__section--details-top .jorato-case-detail__term-label,
.jorato-case-detail__section--details-top .jorato-case-detail__term-value {
	margin: 0;
	padding: 16px 0 4px;
	color: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
}

.jorato-case-detail__section--details-top .jorato-case-detail__term-label {
	padding-right: 10px;
}

.jorato-case-detail__section--details-top .jorato-case-detail__term-value {
	padding-left: 10px;
	text-align: right;
}

.jorato-case-detail__details-list {
	display: flex;
	flex-wrap: wrap;
	margin: 24px 0 0 -32px;
	padding: 0;
	max-width: 350px;
	list-style: none;
}

.jorato-case-detail__details-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: calc(50% - 32px);
	margin: 32px 0 0 32px;
	min-height: 70px;
	font-size: 14px;
	line-height: 1.3;
	text-align: center;
}

.jorato-case-detail__details-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-bottom: 10px;
	flex: none;
}

.jorato-case-detail__details-icon img,
.jorato-case-detail__details-icon .jorato-case-detail__facility-icon {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
	filter: none;
}

.jorato-case-detail__details-name {
	display: block;
}

.jorato-case-detail__details-show-more {
	margin: 30px 0 0;
	padding: 0;
	border: none;
	background: transparent;
	font-family: var(--jorato-font-family);
	font-size: inherit;
	font-weight: 700;
	line-height: inherit;
	color: inherit;
	cursor: pointer;
}

.jorato-case-detail__details-show-more:hover,
.jorato-case-detail__details-show-more:focus-visible {
	text-decoration: underline;
}

.jorato-case-detail__section--details-top:not(.is-expanded) .jorato-case-detail__term-row:nth-child(n + 5),
.jorato-case-detail__section--details-top:not(.is-expanded) .jorato-case-detail__details-item:nth-child(n + 5) {
	display: none;
}

.jorato-case-detail__section--details-top--commercial .jorato-case-detail__details-top-grid {
	display: block;
}

.jorato-case-detail__section--details-top--commercial .jorato-case-detail__details-terms {
	max-width: none;
}

.jorato-case-detail__section--details-top--commercial .jorato-case-detail__terms {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 20%;
}

@media (max-width: 767px) {
	.jorato-case-detail__section--details-top {
		padding: 0 0 64px;
	}

	.jorato-case-detail__details-top-grid {
		flex-direction: column;
		gap: 0;
	}

	.jorato-case-detail__details-terms,
	.jorato-case-detail__details-appliances {
		max-width: none;
		min-width: 0;
		width: 100%;
	}

	.jorato-case-detail__details-terms {
		padding-top: 64px;
	}

	.jorato-case-detail__details-appliances {
		padding-top: 64px;
	}

	.jorato-case-detail__details-list {
		margin-left: 0;
		max-width: none;
	}

	.jorato-case-detail__details-item {
		width: calc(50% - 16px);
		margin-left: 16px;
	}

	.jorato-case-detail__section--details-top--commercial .jorato-case-detail__terms {
		grid-template-columns: 1fr;
	}
}

/* Legacy facilities accordion (unused on residential detail; kept for reference). */
.jorato-case-detail__section--facilities {
	padding-top: var(--jorato-section-space);
}

.jorato-case-detail__facilities-heading {
	margin: 0 0 1rem;
	font-family: var(--jorato-font-family);
	/* Mobile H3 (29px) / Desktop H3 (34px from 1280px) via --jorato-h3, matching "Beliggenhed". */
	font-size: var(--jorato-h3);
	font-weight: var(--jorato-heading-weight);
	line-height: var(--jorato-heading-lh);
	letter-spacing: var(--jorato-heading-ls);
	color: var(--jorato-color-blue);
}

.jorato-case-detail__facilities-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 1280px) {
	/*
	 * Fill the left column first so an odd count puts the extra row on the left
	 * (not balanced “short-left / long-right” from column-count).
	 */
	.jorato-case-detail__facilities-list {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: repeat(var(--jorato-fac-rows, 1), auto);
		grid-auto-flow: column;
		column-gap: 2.5rem;
	}
}

.jorato-case-detail__facilities-item {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #e0e0e0;
}

.jorato-case-detail__facilities-item:first-of-type {
	border-top: 1px solid #e0e0e0;
}

.jorato-case-detail__facility {
	margin: 0;
}

.jorato-case-detail__facility-summary {
	list-style: none;
	cursor: pointer;
	box-sizing: border-box;
	padding: 24px 0 20px;
	font-family: var(--jorato-font-family);
	display: flex;
	align-items: center;
	gap: 0;
}

.jorato-case-detail__facility-summary::-webkit-details-marker {
	display: none;
}

.jorato-case-detail__facility-summary:focus {
	outline: none;
}

.jorato-case-detail__facility-summary:focus-visible {
	outline: 2px solid var(--jorato-color-blue);
	outline-offset: 2px;
}

.jorato-case-detail__facility-summary-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	min-width: 0;
}

/* Figma: Smart animate — 300ms ease-out (toggle + panel). */
.jorato-case-detail__facility-toggle {
	position: relative;
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.25em;
	margin-left: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jorato-case-detail__facility-toggle-char {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-h6);
	font-weight: var(--jorato-heading-weight);
	line-height: 1;
	color: var(--jorato-color-blue);
	transition: opacity 300ms ease-out;
}

.jorato-case-detail__facility-toggle-char--minus {
	opacity: 0;
	pointer-events: none;
}

.jorato-case-detail__facility[open] .jorato-case-detail__facility-toggle-char--plus {
	opacity: 0;
	pointer-events: none;
}

.jorato-case-detail__facility[open] .jorato-case-detail__facility-toggle-char--minus {
	opacity: 1;
	pointer-events: auto;
}

/* Height animation is driven in JS (native closed <details> skips layout of body). */
.jorato-case-detail__facility-body-outer {
	overflow: hidden;
	transition: height 300ms ease-out;
}

.jorato-case-detail__facility:not([open]) > .jorato-case-detail__facility-body-outer {
	height: 0;
}

.jorato-case-detail__facility[open] > .jorato-case-detail__facility-body-outer {
	height: auto;
}

.jorato-case-detail__facility-icon-wrap {
	flex-shrink: 0;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	background-color: var(--jorato-color-blue);
	padding: 5px;
}

.jorato-case-detail__facility-icon,
.jorato-case-detail__facility-icon-wrap img {
	box-sizing: border-box;
	width: 22px;
	height: 22px;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
	/* White glyph on blue tile (works best with dark / full-color icons). */
	filter: brightness(0) invert(1);
}

.jorato-case-detail__facility-title {
	margin: 0;
	font-size: var(--jorato-h6);
	font-weight: var(--jorato-heading-weight);
	line-height: var(--jorato-heading-lh);
	letter-spacing: var(--jorato-heading-ls);
	color: var(--jorato-color-blue);
}

.jorato-case-detail__facility-body {
	box-sizing: border-box;
	overflow: hidden;
	min-height: 0;
	padding: 0 0 20px calc(32px + 10px);
}

@media (prefers-reduced-motion: reduce) {
	.jorato-case-detail__facility-toggle-char,
	.jorato-case-detail__facility-body-outer {
		transition-duration: 0.01ms;
	}
}

.jorato-case-detail__facility-desc {
	margin: 0 0 0.5rem;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-grey);
	white-space: pre-line;
}

.jorato-case-detail__facility-desc--empty {
	font-style: italic;
	color: var(--jorato-color-grey);
}

.jorato-case-detail__facility-sizes {
	margin: 0;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-small-size);
	color: var(--jorato-color-grey);
}

.jorato-case-detail__post-agent-actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.jorato-case-detail__section--facts {
	padding-top: 1.75rem;
}

.jorato-case-detail__section--descriptions {
	padding-top: 0;
}

.jorato-case-detail__split-lead-secondary .jorato-case-detail__section--descriptions {
	padding-top: 0;
}

.jorato-case-detail__description-item + .jorato-case-detail__description-item {
	margin-top: 2.25rem;
}

.jorato-case-detail__description-title {
	margin: 0 0 0.75rem;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-h3);
	font-weight: var(--jorato-heading-weight);
	line-height: var(--jorato-heading-lh);
	letter-spacing: var(--jorato-heading-ls);
	color: var(--jorato-color-blue);
}

.jorato-case-detail__description-body {
	margin: 0;
	font-family: var(--jorato-font-family);
	font-size: 17px;
	font-weight: var(--jorato-p-weight);
	line-height: 24px;
	color: var(--jorato-color-blue);
	white-space: pre-line;
}

.jorato-case-detail__description-body.is-clamped {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 6;
	overflow: hidden;
}

.jorato-case-detail__description-body.is-animating {
	overflow: hidden;
	transition: height 0.35s ease;
}

.jorato-case-detail__facts {
	margin: 0;
	padding: 0;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	line-height: var(--jorato-body-lh);
}

.jorato-case-detail__fact-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid #e0e0e0;
}

.jorato-case-detail__fact-row:first-child {
	border-top: 1px solid #e0e0e0;
}

.jorato-case-detail__fact-label {
	margin: 0;
	font-weight: 700;
	color: var(--jorato-color-text);
	flex-shrink: 0;
}

.jorato-case-detail__fact-value {
	margin: 0;
	font-weight: var(--jorato-p-weight);
	color: var(--jorato-color-grey);
	text-align: right;
}

.jorato-case-detail__section--agent {
	padding-top: 2rem;
}

.jorato-case-detail__agent-heading {
	margin: 0 0 1rem;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-h5);
	font-weight: var(--jorato-heading-weight);
	line-height: var(--jorato-heading-lh);
	color: var(--jorato-color-blue);
}

.jorato-case-detail__agent-photo {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: var(--jorato-radius);
	margin-bottom: 1rem;
	object-fit: cover;
}

.jorato-case-detail__agent-name {
	margin: 0 0 0.35rem;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-h6);
	font-weight: var(--jorato-heading-weight);
	line-height: var(--jorato-heading-lh);
	letter-spacing: var(--jorato-heading-ls);
	color: var(--jorato-color-blue);
}

.jorato-case-detail__agent-title {
	margin: 0 0 0.75rem;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-bold-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-blue);
}

.jorato-case-detail__agent-phone {
	margin: 0 0 0.35rem;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-text);
}

.jorato-case-detail__agent-phone-label {
	margin-right: 0.25rem;
	color: var(--jorato-color-blue);
}

.jorato-case-detail__agent-phone-link {
	color: var(--jorato-color-gold);
	text-decoration: none;
	font-weight: var(--jorato-p-bold-weight);
}

.jorato-case-detail__agent-phone-link:hover,
.jorato-case-detail__agent-phone-link:focus-visible {
	text-decoration: underline;
}

.jorato-case-detail__agent-email {
	margin: 0;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size);
	font-weight: var(--jorato-p-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-text);
}

.jorato-case-detail__agent-email-label {
	margin-right: 0.25rem;
	color: var(--jorato-color-blue);
}

.jorato-case-detail__agent-email-link {
	color: var(--jorato-color-gold);
	text-decoration: none;
	font-weight: var(--jorato-p-bold-weight);
	word-break: break-all;
}

.jorato-case-detail__agent-email-link:hover,
.jorato-case-detail__agent-email-link:focus-visible {
	text-decoration: underline;
}

.jorato-case-detail__agent-actions {
	margin-top: 1.25rem;
}

.jorato-case-detail__agent-demo-notice {
	margin: 0 0 1rem;
	padding: 0.65rem 0.75rem;
	font-family: var(--jorato-font-family);
	font-size: 0.8125rem;
	font-weight: var(--jorato-p-weight);
	line-height: var(--jorato-body-lh);
	color: var(--jorato-color-text);
	background: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: var(--jorato-radius);
}

.jorato-case-detail__agent-demo-notice a {
	color: var(--jorato-color-blue);
	font-weight: var(--jorato-p-bold-weight);
}

.jorato-case-detail__agent-photo--demo {
	display: block;
	width: 100%;
	aspect-ratio: 552 / 347;
	max-height: 347px;
	background: linear-gradient(135deg, #e8e8e8 0%, #d4d4d4 100%);
}

.jorato-case-detail__agent-demo .jorato-case-detail__agent-phone-value,
.jorato-case-detail__agent-demo .jorato-case-detail__agent-email-value {
	color: var(--jorato-color-gold);
	font-weight: var(--jorato-p-bold-weight);
}

.jorato-case-detail__agent-demo .jorato-case-detail__agent-name--demo,
.jorato-case-detail__agent-demo .jorato-case-detail__agent-title--demo {
	opacity: 0.72;
}

/* Lightbox */
.jorato-case-detail__lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 0.75rem 0.75rem;
	box-sizing: border-box;
}

.jorato-case-detail__lightbox[hidden] {
	display: none !important;
}

.jorato-case-detail__lightbox-backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(0, 0, 0, 0.88);
}

.jorato-case-detail__lightbox-stage {
	position: relative;
	z-index: 1;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	touch-action: pan-y;
}

.jorato-case-detail__lightbox-img {
	max-width: 100%;
	max-height: min(85vh, 100%);
	width: auto;
	height: auto;
	object-fit: contain;
	cursor: default;
}

.jorato-case-detail__lightbox-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 3;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	padding: 0;
	cursor: pointer;
	background: var(--jorato-color-white-90);
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
	font-size: 1.5rem;
	line-height: 1;
	color: var(--jorato-color-text);
}

.jorato-case-detail__lightbox-close::before {
	content: "×";
}

.jorato-case-detail__lightbox-close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.jorato-case-detail__lightbox-nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
	background-color: var(--jorato-color-white-90);
	background-image: url("../images/chevron-arrow.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
}

.jorato-case-detail__lightbox-nav--prev {
	left: 0.5rem;
	transform: translateY(-50%) scaleX(-1);
}

.jorato-case-detail__lightbox-nav--next {
	right: 0.5rem;
	transform: translateY(-50%);
}

.jorato-case-detail__lightbox-nav:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.jorato-case-detail__media-json {
	display: none !important;
}

/* Booking modal ("Book fremvisning"): Nuxt BookingModal parity. */
.jorato-case-detail__booking {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow-x: hidden;
	font-family: var(--jorato-font-family);
	color: #000;
}

.jorato-case-detail__booking[hidden] {
	display: none !important;
}

.jorato-case-detail__booking-backdrop {
	position: fixed;
	inset: 0;
	z-index: 0;
	background: rgba(0, 0, 0, 0.7);
	cursor: pointer;
}

.jorato-case-detail__booking-backdrop.is-no-click {
	cursor: default;
}

.jorato-case-detail__booking-panel {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 50vw;
	min-width: min(650px, 90vw);
	max-width: 800px;
	height: 90vh;
	min-height: 700px;
	max-height: 900px;
	overflow-y: auto;
	background: #fff;
}

.jorato-case-detail__booking-close {
	position: absolute;
	top: 5px;
	right: 5px;
	z-index: 3;
	border: none;
	padding: 0;
	background: transparent;
	cursor: pointer;
	line-height: 0;
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.jorato-case-detail__booking-header {
	width: 100%;
	height: 18%;
	min-height: 126px;
	background: #79a0c2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	overflow: hidden;
}

.jorato-case-detail__booking-header-art--desktop {
	width: 100%;
	font-size: 0;
}

.jorato-case-detail__booking-header-art--desktop img {
	width: 100%;
	height: auto;
	display: block;
}

.jorato-case-detail__booking-header-art--mobile,
.jorato-case-detail__booking-mobile-lead,
.jorato-case-detail__booking-mobile-summary {
	display: none;
}

.jorato-case-detail__booking-step[hidden] {
	display: none !important;
}

.jorato-case-detail__booking-form-wrap {
	height: 82%;
	padding: 24px 10% 8vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
}

.jorato-case-detail__booking-intro {
	margin: 0 0 1rem;
	text-align: center;
	font-size: 17px;
	line-height: 24px;
}

.jorato-case-detail__booking-wrap {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	column-gap: 10%;
	row-gap: 20px;
	flex: 1;
}

.jorato-case-detail__booking-wrap--calendar {
	height: auto;
	flex: 1;
	min-height: 0;
	grid-template-columns: minmax(260px, 1fr) minmax(200px, 1fr);
	grid-template-rows: auto 1fr;
	grid-template-areas:
		"date-label time-label"
		"calendar time-pills";
	column-gap: 10%;
	row-gap: 20px;
	align-items: start;
}

.jorato-case-detail__booking-wrap--calendar > .jorato-case-detail__booking-step-title:first-of-type {
	grid-area: date-label;
}

.jorato-case-detail__booking-wrap--calendar > .jorato-case-detail__booking-step-title--time {
	grid-area: time-label;
}

.jorato-case-detail__booking-wrap--calendar > .jorato-case-detail__booking-calendar-wrap {
	grid-area: calendar;
}

.jorato-case-detail__booking-wrap--calendar > .jorato-case-detail__booking-time-pills {
	grid-area: time-pills;
	align-self: start;
	padding-top: 32px;
}

.jorato-case-detail__booking-wrap--contact {
	height: 60%;
	grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr);
	grid-template-rows: auto 1fr;
	grid-template-areas:
		"search-label contact-label"
		"inputs contact-fields";
	column-gap: 10%;
	row-gap: 20px;
	align-items: start;
}

.jorato-case-detail__booking-wrap--contact > .jorato-case-detail__booking-step-title--search {
	grid-area: search-label;
}

.jorato-case-detail__booking-wrap--contact > .jorato-case-detail__booking-step-title--contact {
	grid-area: contact-label;
}

.jorato-case-detail__booking-wrap--contact > .jorato-case-detail__booking-inputs {
	grid-area: inputs;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.jorato-case-detail__booking-wrap--contact > .jorato-case-detail__booking-fields {
	grid-area: contact-fields;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
}

.jorato-case-detail__booking-step-title {
	margin: 0;
	font-weight: 800;
	font-size: 17px;
	line-height: 24px;
}

.jorato-case-detail__booking-calendar-wrap {
	width: auto;
	min-width: 260px;
}

.jorato-case-detail__booking-calendar .pika-single {
	border: none;
	box-shadow: none;
	font-family: inherit;
	color: #333;
	background: #fff;
}

.jorato-case-detail__booking-calendar .pika-label,
.jorato-case-detail__booking-calendar .pika-button,
.jorato-case-detail__booking-calendar abbr {
	color: #333;
	opacity: 1;
}

.jorato-case-detail__booking-calendar .pika-button {
	background: #fff;
}

.jorato-case-detail__booking-calendar .is-today .pika-button {
	color: #79a0c2;
	font-weight: 700;
}

.jorato-case-detail__booking-calendar .is-selected .pika-button {
	background: #79a0c2;
	color: #fff;
}

.jorato-case-detail__booking-time-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-content: flex-start;
}

.jorato-case-detail__booking-pill {
	appearance: none;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 999px;
	padding: 8px 16px;
	background: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 16px;
}

.jorato-case-detail__booking-pill.is-selected {
	background: #79a0c2;
	border-color: #79a0c2;
	color: #fff;
}

.jorato-case-detail__booking-summary {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.jorato-case-detail__booking-summary-date {
	text-transform: capitalize;
	color: rgba(0, 0, 0, 0.5);
	font-size: 18px;
	line-height: 167.1%;
	margin: 0;
}

.jorato-case-detail__booking-summary-time {
	color: rgba(0, 0, 0, 0.5);
	font-size: 18px;
	line-height: 167.1%;
	margin: 0;
}

.jorato-case-detail__booking-fields {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.jorato-case-detail__booking-inputs .jorato-case-detail__booking-field-label {
	margin-top: 1rem;
	font-weight: 800;
	font-size: 17px;
	line-height: 24px;
}

.jorato-case-detail__booking-textarea--comment {
	margin-top: 0;
	margin-bottom: 24px;
	padding: 8px;
	border: 1px solid #000;
	border-radius: 0;
	min-height: 0;
	resize: none;
	font-family: Arial, sans-serif;
	box-sizing: border-box;
	width: 100%;
	font: inherit;
	font-size: 16px;
}

.jorato-case-detail__booking-field {
	display: block;
	position: relative;
	border-bottom: 1px solid #000;
	margin-bottom: 24px;
}

.jorato-case-detail__booking-field.is-focused {
	border-color: #000;
}

.jorato-case-detail__booking-field--phone {
	width: calc(100% - 85px);
	flex: 1;
	margin-bottom: 24px;
}

.jorato-case-detail__booking-float-label {
	position: absolute;
	top: 50%;
	left: 0;
	font-size: 0.87em;
	font-weight: normal;
	line-height: 1.4;
	transform-origin: center left;
	transform: translate3d(0, -50%, 0);
	transition-property: transform, opacity;
	transition-duration: 100ms;
	transition-timing-function: ease-out;
	pointer-events: none;
}

.jorato-case-detail__booking-field.is-focused .jorato-case-detail__booking-float-label,
.jorato-case-detail__booking-field.has-value .jorato-case-detail__booking-float-label {
	transform: translate3d(0, -175%, 0) scale(0.8);
	opacity: 0.85;
}

.jorato-case-detail__booking-float-input {
	appearance: none;
	box-sizing: border-box;
	display: block;
	width: 100%;
	padding: 0.6em 0 0.4em;
	border: none;
	border-radius: 0;
	background: transparent;
	font: inherit;
	font-size: inherit;
	color: inherit;
}

.jorato-case-detail__booking-float-input:focus,
.jorato-case-detail__booking-float-input:focus-visible {
	outline: none;
	box-shadow: none;
}

.jorato-case-detail__booking-textarea--comment:focus,
.jorato-case-detail__booking-textarea--comment:focus-visible,
.jorato-case-detail__booking-select--extension:focus,
.jorato-case-detail__booking-select--extension:focus-visible,
.jorato-case-detail__booking-select--language:focus,
.jorato-case-detail__booking-select--language:focus-visible {
	outline: none;
	box-shadow: none;
}

.jorato-case-detail__booking-phone-fields {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 5px;
}

.jorato-case-detail__booking-phone-extension {
	width: 80px;
	flex-shrink: 0;
	margin-bottom: 24px;
	font-size: 13px;
}

.jorato-case-detail__booking-select--extension {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0.8em 0.6em;
	border: 1px solid #d9d9d9;
	border-radius: 0.3em;
	background: #fff;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: 1.2;
	min-height: 0;
	height: auto;
}

.jorato-case-detail__booking-language {
	display: block;
	margin: 0;
	font: inherit;
}

.jorato-case-detail__booking-lang-select {
	margin-top: 10px;
	margin-bottom: 24px;
	font-size: 13px;
}

.jorato-case-detail__booking-select--language {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0.8em 1em;
	border: 1px solid #d9d9d9;
	border-radius: 0.3em;
	background: #fff;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: 1.2;
	min-height: 0;
	height: auto;
}

.jorato-case-detail__booking-field-label {
	display: block;
	margin: 0 0 6px;
	font-weight: 800;
	font-size: 17px;
	line-height: 24px;
}

.jorato-case-detail__booking-textarea {
	min-height: 80px;
	resize: vertical;
	font-family: Arial, sans-serif;
}

.jorato-case-detail__booking-privacy {
	display: inline-flex;
	align-items: center;
	width: 100%;
	margin: 0 0 1rem;
	font-size: 12px;
	line-height: 1.4;
	color: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.jorato-case-detail__booking-privacy input[type="checkbox"] {
	appearance: none;
	flex-shrink: 0;
	display: inline-grid;
	place-content: center;
	width: 25px;
	height: 25px;
	margin: 0 12px 0 0;
	background-color: #d9d9d9;
	transition: background-color 100ms ease-out;
	cursor: pointer;
}

.jorato-case-detail__booking-privacy input[type="checkbox"]:checked {
	background-color: #000;
}

.jorato-case-detail__booking-privacy input[type="checkbox"]:checked::after {
	content: "";
	width: 12px;
	height: 7px;
	border: solid #fff;
	border-width: 0 0 2px 2px;
	transform: rotate(-45deg) translateY(-1px);
}

.jorato-case-detail__booking-privacy a {
	color: rgba(0, 0, 0, 0.8);
}

.jorato-case-detail__booking-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 0 10%;
	min-height: 60px;
	width: 100%;
	box-sizing: border-box;
}

.jorato-case-detail__booking-actions .jorato-case-detail__booking-btn--primary {
	margin-left: 0;
	margin-right: 0;
	width: auto;
}

.jorato-case-detail__booking-actions .jorato-case-detail__booking-btn--full {
	flex: 1;
	max-width: none;
}

.jorato-case-detail__booking-btn--back {
	background: #d9d9d9;
}

.jorato-case-detail__booking-btn {
	appearance: none;
	border: none;
	border-radius: 4px;
	padding: 16px 40px;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	color: #000 !important;
	-webkit-text-fill-color: #000;
	cursor: pointer;
	background: #dae6ea;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.jorato-case-detail__booking-btn--primary {
	margin-left: auto;
	margin-right: auto;
	width: 40%;
	background: #dae6ea;
}

.jorato-case-detail__booking-step[data-jorato-booking-step="1"] .jorato-case-detail__booking-form-wrap {
	justify-content: flex-start;
	padding-bottom: 24px;
}

.jorato-case-detail__booking-step[data-jorato-booking-step="1"] .jorato-case-detail__booking-btn--primary {
	margin-top: auto;
}

.jorato-case-detail__booking-btn--full {
	flex: 1;
}

.jorato-case-detail__booking-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.jorato-case-detail__booking-btn-icon {
	display: inline-flex;
	line-height: 0;
}

.jorato-case-detail__booking-btn-icon svg {
	width: 24px;
	height: 24px;
}

.jorato-case-detail__booking-btn.is-muted {
	background: #d9d9d9;
	pointer-events: none;
}

.jorato-case-detail__booking-error,
.jorato-case-detail__booking-field-error {
	margin: 0;
	color: #b3261e;
	font-size: 14px;
}

.jorato-case-detail__booking-error[hidden],
.jorato-case-detail__booking-field-error[hidden] {
	display: none !important;
}

.jorato-case-detail__booking-honeypot {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	margin: -1px;
	padding: 0;
	border: 0;
}

.jorato-case-detail__booking-questions-wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 40px 0;
	box-sizing: border-box;
}

.jorato-case-detail__booking-questions {
	display: flex;
	flex-direction: column;
	row-gap: 30px;
	margin-top: 50px;
}

.jorato-case-detail__booking-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.jorato-case-detail__booking-question p {
	margin: 0;
	font-weight: 500;
	flex: 1;
}

.jorato-case-detail__booking-toggle {
	position: relative;
	width: 48px;
	height: 26px;
	flex-shrink: 0;
}

.jorato-case-detail__booking-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.jorato-case-detail__booking-toggle-slider {
	position: absolute;
	inset: 0;
	background: #ccc;
	border-radius: 26px;
	cursor: pointer;
	transition: background 0.2s;
}

.jorato-case-detail__booking-toggle-slider::before {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	left: 3px;
	bottom: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.2s;
}

.jorato-case-detail__booking-toggle input:checked + .jorato-case-detail__booking-toggle-slider {
	background: #79a0c2;
}

.jorato-case-detail__booking-toggle input:checked + .jorato-case-detail__booking-toggle-slider::before {
	transform: translateX(22px);
}

.jorato-case-detail__booking-form-wrap--feedback {
	justify-content: flex-start;
	align-items: center;
}

.jorato-case-detail__booking-feedback-head {
	text-align: center;
	margin-bottom: 2rem;
	width: 100%;
}

.jorato-case-detail__booking-feedback-head-title {
	font-size: 2rem;
	font-weight: 800;
	margin: 0 0 1.5rem;
}

.jorato-case-detail__booking-feedback-head-when {
	font-size: 1.2rem;
	margin: 0;
}

.jorato-case-detail__booking-feedback-box {
	width: 100%;
	max-width: 600px;
	background: #eaf3fa;
	border-radius: 12px;
	padding: 2rem 1.5rem;
	box-sizing: border-box;
}

.jorato-case-detail__booking-feedback-box-title {
	font-size: 1.3rem;
	font-weight: 800;
	margin: 0 0 0.5rem;
}

.jorato-case-detail__booking-feedback-box-body {
	color: #555;
	margin: 0 0 1.5rem;
}

.jorato-case-detail__booking-feedback-choose {
	font-weight: 500;
	margin: 0 0 1rem;
}

.jorato-case-detail__booking-feedback-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.2rem;
}

.jorato-case-detail__booking-feedback-option {
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 1.2rem 0.5rem 0.7rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	min-height: 110px;
	font-weight: 500;
	font-size: 0.92rem;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
	transition: border 0.2s, box-shadow 0.2s;
	text-align: center;
}

.jorato-case-detail__booking-feedback-option.is-selected {
	border-color: #4bb543;
	box-shadow: 0 2px 8px rgba(75, 181, 67, 0.08);
}

.jorato-case-detail__booking-feedback-option img,
.jorato-case-detail__booking-feedback-option svg {
	width: 40px;
	height: 40px;
	margin-bottom: 0.7rem;
	object-fit: contain;
}

.jorato-case-detail__booking-loading {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.jorato-case-detail__booking-loading-icon {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-top-color: #222;
	animation: jorato-booking-spin 1s linear infinite;
}

@keyframes jorato-booking-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 650px) {
	.jorato-case-detail__booking-panel {
		width: 90vw;
		min-width: 90vw;
		min-height: auto;
		height: auto;
		max-height: 90vh;
		display: flex;
		flex-direction: column;
	}

	.jorato-case-detail__booking-close {
		position: sticky;
		top: 0;
		align-self: flex-end;
		flex: none;
		margin: 8px 8px 0 0;
		background: rgba(255, 255, 255, 0.9);
		border-radius: 50%;
	}

	.jorato-case-detail__booking-header {
		justify-content: space-around;
		flex-direction: column;
		align-items: flex-start;
		padding: 0 5% 5%;
		min-height: auto;
		flex: none;
	}

	.jorato-case-detail__booking-panel.is-step-4 .jorato-case-detail__booking-header {
		padding-bottom: 3%;
	}

	.jorato-case-detail__booking-panel.is-step-4 .jorato-case-detail__booking-mobile-lead {
		display: none;
	}

	.jorato-case-detail__booking-panel.is-step-4 .jorato-case-detail__booking-feedback-head-title {
		display: none;
	}

	.jorato-case-detail__booking-header-art--desktop {
		display: none;
	}

	.jorato-case-detail__booking-header-art--mobile {
		display: block;
		font-size: 30px;
		font-weight: 800;
		line-height: 1.1;
	}

	.jorato-case-detail__booking-mobile-lead {
		display: block;
		margin: 0.75rem 0 0;
		line-height: 24px;
		font-size: 17px;
	}

	.jorato-case-detail__booking-mobile-summary {
		display: block;
		margin-top: 0.75rem;
	}

	.jorato-case-detail__booking-mobile-summary[hidden] {
		display: none !important;
	}

	.jorato-case-detail__booking-form-wrap {
		padding: 0 11% 4vh;
		height: auto;
		flex: 1;
		min-height: 0;
		overflow-y: auto;
	}

	.jorato-case-detail__booking-step[data-jorato-booking-step="1"] .jorato-case-detail__booking-intro {
		display: none;
	}

	.jorato-case-detail__booking-wrap {
		display: block;
		height: auto;
	}

	.jorato-case-detail__booking-step-title {
		margin-top: 20px;
		margin-bottom: 20px;
	}

	.jorato-case-detail__booking-intro--desktop {
		display: none;
	}

	.jorato-case-detail__booking-step-title--search,
	.jorato-case-detail__booking-summary {
		display: none;
	}

	.jorato-case-detail__booking-wrap--calendar > .jorato-case-detail__booking-time-pills {
		padding-top: 0;
	}

	.jorato-case-detail__booking-wrap--contact {
		display: block;
		height: auto;
	}

	.jorato-case-detail__booking-wrap--contact > .jorato-case-detail__booking-fields {
		justify-content: flex-start;
	}

	.jorato-case-detail__booking-btn--primary {
		width: 100%;
	}

	.jorato-case-detail__booking-step[data-jorato-booking-step="1"] .jorato-case-detail__booking-btn--primary {
		margin-top: 20px;
	}

	.jorato-case-detail__booking-actions {
		padding: 0 5%;
		width: 100%;
		margin-left: 0;
		box-sizing: border-box;
	}

	.jorato-case-detail__booking-feedback-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.7rem;
	}

	.jorato-case-detail__booking-feedback-head-title {
		font-size: 1.3rem;
	}

	.jorato-case-detail__booking-feedback-head-when {
		font-size: 1rem;
	}

	.jorato-case-detail__booking-feedback-box {
		padding: 1.2rem;
	}

	.jorato-case-detail__booking-feedback-option {
		min-height: 70px;
		padding: 0.6rem 0.1rem 0.4rem;
	}

	.jorato-case-detail__booking-feedback-option img,
	.jorato-case-detail__booking-feedback-option svg {
		width: 28px;
		height: 28px;
	}
}

/* —— Contact modal (Nuxt ContactModal.vue parity) —— */
.jorato-case-detail__contact-modal[hidden] {
	display: none !important;
}

.jorato-case-detail__contact-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--jorato-font-family);
	color: #000;
}

.jorato-case-detail__contact-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 0;
	background: rgba(0, 0, 0, 0.7);
	cursor: pointer;
}

.jorato-case-detail__contact-modal-panel {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 90vw;
	max-width: 600px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
}

.jorato-case-detail__contact-modal-close {
	position: absolute;
	top: 5px;
	right: 5px;
	z-index: 3;
	border: none;
	padding: 0;
	background: transparent;
	cursor: pointer;
	line-height: 0;
}

.jorato-case-detail__contact-modal-header {
	padding: 10% 5% 5%;
	background: #79a0c2;
}

.jorato-case-detail__contact-modal-title {
	margin: 0;
	font-family: var(--jorato-font-display);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.1;
}

.jorato-case-detail__contact-modal-body {
	padding: 24px 11% 32px;
}

.jorato-case-detail__contact-modal-body .jorato-case-detail__contact-form {
	height: auto;
	min-height: 0;
}

.jorato-case-detail__contact-modal-step-title {
	margin: 0 0 20px;
	font-weight: 800;
	font-size: 17px;
	line-height: 24px;
}

.jorato-case-detail--commercial .jorato-case-detail__contact-modal-header {
	background: #81ae90;
}

/* ============================================================= */
/* ==  Kereby reskin layer (overrides + new components)        == */
/* ==  Appended last so these rules win the cascade.           == */
/* ==  Breakpoint contract (Nuxt parity):                      == */
/* ==    500px — phone (drawer, bottom nav, mobile CTAs)       == */
/* ==    650px — booking modal mobile layout                   == */
/* ==    1280px — desktop typography + split-aside grid        == */
/* ============================================================= */

/* —— Display headings use F37 Bella Heavy —— */
.jorato-case-hero__title,
.jorato-case-detail__district-title,
.jorato-case-detail__location-city {
	font-family: var(--jorato-font-display);
	font-weight: 400;
	letter-spacing: 0;
}

/* F37 Bella Heavy readability: brand guideline requires a minimum 0.5pt outline. */
.jorato-case-hero__title,
.jorato-case-detail__district-title,
.jorato-case-detail__location-city,
.jorato-case-detail__contact-modal-title,
.jorato-case-detail__booking-title,
.jorato-case-filters__drawer-headline {
	-webkit-text-stroke: 0.5pt currentColor;
	paint-order: stroke fill;
}

/* Intro channel headline (SingleRentalIntro .headline): Mabry Pro regular, not display face. */
.jorato-case-detail h2.jorato-case-detail__intro-headline {
	font-family: var(--jorato-font-family);
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0;
	text-transform: none;
}

/* —— Primary CTA buttons: Kereby soft tinted with dark text —— */
.jorato-case-detail__cta,
.jorato-case-grid__empty-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 14px 32px;
	background: var(--jorato-btn-soft-bg);
	color: var(--jorato-btn-soft-fg);
	border: none;
	border-radius: var(--jorato-radius);
	font-family: var(--jorato-font-family);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.15s ease, background-color 0.15s ease;
}

.jorato-case-detail__cta:hover,
.jorato-case-grid__empty-button:hover {
	background: var(--jorato-btn-soft-bg-hover);
	filter: none;
}

.jorato-case-detail--commercial .jorato-case-detail__cta {
	background: var(--jorato-color-light-green);
}

.jorato-case-detail--commercial .jorato-case-detail__cta:hover {
	background: #c2ddc7;
}

.jorato-case-detail__cta--full,
.jorato-case-detail__cta--aside-full,
.jorato-case-detail__cta--mobile-bar {
	width: 100%;
	box-sizing: border-box;
	font-weight: 500;
}

.jorato-case-detail__cta--aside-full .jorato-case-detail__cta-label,
.jorato-case-detail__cta--mobile-bar .jorato-case-detail__cta-label {
	font-weight: 500;
}

/* —— Catalog container: full-width so hero can span edge to edge —— */
.jorato-case-catalog {
	max-width: none;
	margin: 0 0 2.5rem;
	overflow-x: clip;
}

/* —— List hero (RentalsOverviewHeader.vue) —— */
.jorato-case-hero {
	position: relative;
	isolation: isolate;
	background: transparent;
	color: #000;
	text-align: center;
	padding: 84px 0 16px;
	margin-bottom: 0;
}

.jorato-case-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background: var(--jorato-accent);
}

.jorato-case-hero__container,
.jorato-case-catalog__layout {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--jorato-list-rail-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--jorato-list-rail-x);
	padding-right: var(--jorato-list-rail-x);
}

.jorato-case-hero__title {
	margin: 0 auto;
	max-width: 400px;
	color: #000;
	font-size: 45px;
	line-height: 55px;
}

.jorato-case-hero__info {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}

.jorato-case-hero__count {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	color: #000;
}

.jorato-case-hero__nav {
	display: flex;
	align-items: center;
	margin-top: 56px;
	font-size: 16px;
	color: #000;
}

.jorato-case-hero__sort {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.jorato-case-hero__sort-value {
	font-weight: 500;
}

.jorato-case-hero__view {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	margin-left: 32px;
}

@media (max-width: 500px) {
	.jorato-case-catalog {
		--jorato-list-rail-x: 16px;
		padding-bottom: 6rem;
	}

	.jorato-case-hero {
		padding-top: 84px;
		padding-bottom: 56px;
	}

	.jorato-case-hero__title {
		font-size: 30px;
		line-height: 40px;
	}

	.jorato-case-hero__info {
		display: none;
	}

	.jorato-case-results__heading {
		display: none;
	}

	.jorato-case-map {
		margin-bottom: 100px;
	}

	.jorato-case-map__frame {
		aspect-ratio: auto;
		min-height: min(120vh, 620px);
	}

	.jorato-case-grid {
		flex-direction: column;
	}

	.jorato-case-grid__col--2 {
		display: none;
	}
}

.jorato-case-catalog .jorato-case-hero__view-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
	font: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-align: inherit;
	color: #000;
	text-decoration: none;
	opacity: 0.5;
	cursor: pointer;
	transition: opacity 0.2s ease-out;
}

.jorato-case-catalog .jorato-case-hero__view-item.is-active {
	opacity: 1;
}

.jorato-case-hero__view-icon {
	display: inline-flex;
}

/* —— Case list results stage (list/map crossfade) —— */
.jorato-case-results__stage {
	position: relative;
}

.jorato-case-results__stage .jorato-case-grid,
.jorato-case-results__stage .jorato-case-map {
	transition: opacity 0.5s ease;
}

.jorato-case-results__stage.is-leaving .jorato-case-grid,
.jorato-case-results__stage.is-leaving .jorato-case-map {
	transition-duration: 0.2s;
}

.jorato-case-catalog:not(.jorato-case-catalog--mode-map) .jorato-case-results__stage .jorato-case-map {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 0;
	padding-bottom: 0;
	margin-bottom: 0;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.jorato-case-catalog:not(.jorato-case-catalog--mode-map) .jorato-case-results__stage .jorato-case-grid {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.jorato-case-catalog--mode-map .jorato-case-results__stage .jorato-case-grid {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 0;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.jorato-case-catalog--mode-map .jorato-case-results__stage .jorato-case-map {
	position: relative;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.jorato-case-catalog--mode-map .jorato-case-grid__empty--filtered {
	display: none;
}

/* Filtered empty state: hidden by default; theme flex rules must not override [hidden]. */
.jorato-case-grid__empty--filtered {
	display: none;
}

.jorato-case-grid__empty--filtered.is-visible {
	display: flex;
}

.jorato-case-grid__empty--filtered[hidden] {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.jorato-case-results__stage .jorato-case-grid,
	.jorato-case-results__stage .jorato-case-map {
		transition: none;
	}
}

/* —— Case list map view —— */
.jorato-case-map {
	position: relative;
	width: 100%;
	margin-bottom: 32px;
}

/* Sized frame: Mapbox GL sets position:relative on the viewport, which breaks padding-bottom hacks. */
.jorato-case-map__frame {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	min-height: 360px;
}

.jorato-case-map__viewport {
	width: 100%;
	height: 100%;
}

.jorato-case-map__viewport .mapboxgl-canvas {
	outline: 0;
}

.jorato-case-catalog--mode-map .jorato-case-results__heading {
	display: none;
}

.jorato-case-map-popup-shell .mapboxgl-popup-content {
	padding: 0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.jorato-case-map-popup-shell .mapboxgl-popup-close-button {
	font-size: 20px;
	padding: 4px 8px;
	color: #fff;
	z-index: 2;
}

.jorato-case-map-popup__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--jorato-color-muted, #f2f2f2);
}

.jorato-case-map-popup__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jorato-case-map-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(55, 72, 90, 0.55);
}

.jorato-case-map-popup__stamp {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	z-index: 1;
}

.jorato-case-map-popup__body {
	padding: 16px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--jorato-color-text, #37485a);
}

.jorato-case-map-popup__inactive {
	margin: 0 0 8px;
	font-size: 12px;
	color: var(--jorato-color-grey, #888);
}

.jorato-case-map-popup__address {
	margin: 0 0 4px;
	font-weight: 500;
}

.jorato-case-map-popup__title {
	margin: 0 0 8px;
}

.jorato-case-map-popup__stats {
	display: flex;
	gap: 12px;
	margin-bottom: 8px;
	color: var(--jorato-color-grey, #888);
}

.jorato-case-map-popup__rent {
	margin: 0 0 12px;
	font-weight: 700;
}

.jorato-case-map-popup__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	background: var(--jorato-color-blue, #79a0c2);
	color: #fff;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.jorato-case-map-popup__cta:hover,
.jorato-case-map-popup__cta:focus-visible {
	background: var(--jorato-color-text, #37485a);
	color: #fff;
}

/* —— List layout: sidebar filters + cards —— */
.jorato-case-catalog__layout {
	margin-top: 40px;
}

/* Remove the legacy full-bleed green filter panel background. */
.jorato-case-catalog__layout .jorato-case-filters__panel {
	padding: 0;
	margin: 0;
	background: transparent;
}

.jorato-case-catalog__layout .jorato-case-filters__panel::before {
	display: none;
}

.jorato-case-filters__field--area .jorato-case-filters__label {
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.jorato-case-filters__label-note {
	font-size: 11px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--jorato-color-grey);
}

.jorato-case-filters__actions {
	margin-top: 28px;
}

.jorato-case-filters__reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	background: var(--jorato-color-white);
	color: var(--jorato-color-text);
	border: 1px solid var(--jorato-color-border);
	border-radius: var(--jorato-radius);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.15s ease;
}

.jorato-case-filters__reset:hover {
	background: var(--jorato-color-muted);
}

/* Lighter slider thumb to better match the Kereby look. */
.jorato-dual-range__input {
	--jorato-dual-range-thumb-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10' fill='%2337485a'/%3E%3C/svg%3E");
}

@media (min-width: 501px) {
	.jorato-case-catalog__layout {
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: flex-start;
	}

	/* Filters become an always-open sidebar on desktop. */
	.jorato-case-catalog__layout .jorato-case-filters__toggle,
	.jorato-case-catalog__layout .jorato-case-filters__count {
		display: none;
	}

	.jorato-case-catalog__layout .jorato-case-filters__advanced {
		display: block !important;
		grid-template-rows: 1fr !important;
		max-height: none !important;
		overflow: visible !important;
		opacity: 1 !important;
		visibility: visible !important;
		margin-top: 28px;
	}

	.jorato-case-catalog__layout .jorato-case-filters__toolbar-inner,
	.jorato-case-catalog__layout .jorato-case-filters__advanced-inner,
	.jorato-case-catalog__layout .jorato-case-filters__ranges {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
		max-width: none;
	}

	.jorato-case-catalog__layout .jorato-case-filters__select--location {
		width: 100%;
	}

	/* Results heading: hide the duplicate "N resultater" (count lives in the hero bar). */
	.jorato-case-catalog__layout .jorato-case-results__heading {
		display: none;
	}

	.jorato-case-filters__mobile-drawer {
		width: var(--jorato-list-sidebar-width);
		flex: 0 0 var(--jorato-list-sidebar-width);
	}

	.jorato-case-catalog__layout .jorato-case-results {
		flex: 1 1 auto;
		min-width: 0;
		width: auto;
		max-width: var(--jorato-list-cards-max);
	}

	.jorato-case-catalog__layout .jorato-case-grid {
		column-gap: 40px;
		width: 100%;
		max-width: none !important;
		margin: 0;
	}

	.jorato-case-catalog__layout .jorato-case-card {
		max-width: none;
		justify-self: stretch;
	}

	.jorato-filters {
		padding: 8px 0;
	}
}

/* ============================================================= */
/* ==  Case card (exact port of RentalCard.vue)                == */
/* ============================================================= */
.jorato-case-card {
	display: block;
	background: #fff;
	border-radius: 0;
	box-shadow: 0 1px 3px rgba(159, 165, 176, 0.4);
	overflow: hidden;
	padding-bottom: 16px;
	min-height: 0;
	height: auto;
	max-width: 354px;
	font-family: var(--jorato-font-stack);
	color: var(--jorato-color-text);
}

.jorato-case-catalog__layout .jorato-case-card,
.jorato-case-catalog--desktop-cols-2 .jorato-case-card,
.jorato-case-catalog--desktop-cols-3 .jorato-case-card,
.jorato-case-showcase .jorato-case-card,
.jorato-case-showcase--desktop-cols-2 .jorato-case-card,
.jorato-case-showcase--desktop-cols-3 .jorato-case-card,
.jorato-case-showcase--desktop-cols-4 .jorato-case-card {
	max-width: none;
}

.jorato-case-card:hover {
	transform: none;
}

.jorato-case-card__link {
	display: block;
	text-decoration: none;
	color: var(--jorato-color-text);
	font-family: var(--jorato-font-stack);
}

.jorato-case-card--unavailable .jorato-case-card__link {
	cursor: auto;
}

.jorato-case-card__header {
	position: relative;
}

/* —— Image swiper (horizontal sliding track) —— */
.jorato-case-card__images {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 70%;
	overflow: hidden;
	isolation: isolate;
}

.jorato-case-card__slides {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	transition: transform 0.3s ease;
	will-change: transform;
}

.jorato-case-card__slides .jorato-case-card__slide {
	position: relative;
	inset: auto;
	flex: 0 0 100%;
	box-sizing: border-box;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	opacity: 1;
	transform: none;
	transition: none;
	overflow: hidden;
}

.jorato-case-card .jorato-case-card__slide-img,
.jorato-case-card__slide-img {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	object-fit: cover !important;
	object-position: center !important;
}

.jorato-case-card__slide--placeholder {
	background-color: #e9edf1;
}

/* —— Campaign badge —— */
.jorato-case-card__campaign {
	position: absolute;
	top: 27px;
	right: 0;
	padding: 6px 14px;
	background-color: #feb868;
	z-index: 9;
}

.jorato-case-card__campaign p {
	margin: 0;
	font-size: 14px;
	line-height: 115%;
	font-weight: 500;
	max-width: 170px;
	text-align: left;
	color: var(--jorato-color-text);
}

/* —— Nav arrows (visible on hover, always visible on touch) —— */
.jorato-case-card__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.jorato-case-card:hover .jorato-case-card__nav,
.jorato-case-card:focus-within .jorato-case-card__nav {
	opacity: 1;
}

.jorato-case-card__nav svg {
	display: block;
	width: 32px;
	height: auto;
}

.jorato-case-card__nav--prev {
	left: 8px;
	transform: translate(0, -50%);
}

.jorato-case-card__nav--next {
	right: 8px;
	transform: translate(0, -50%);
}

.jorato-case-card__nav.is-disabled {
	opacity: 0 !important;
	pointer-events: none;
}

/* —— Pagination dots (visible on hover) —— */
.jorato-case-card__dots {
	position: absolute;
	bottom: 20px;
	left: 0;
	width: 100%;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 6px;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.jorato-case-card:hover .jorato-case-card__dots {
	opacity: 1;
	transform: none;
}

@media (max-width: 500px), (hover: none) {
	.jorato-case-card__dots {
		opacity: 1;
		transform: none;
	}

	.jorato-case-card__nav {
		opacity: 1;
		transform: translate(0, -50%);
	}

	.jorato-case-card__nav--prev {
		transform: translate(0, -50%);
	}

	.jorato-case-card__nav--next {
		transform: translate(0, -50%);
	}
}

.jorato-case-card__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #fff;
	opacity: 0.5;
}

.jorato-case-card__dot.is-active {
	opacity: 1;
}

/* —— Requirement labels (bottom-right of image) —— */
.jorato-case-card__labels {
	position: absolute;
	bottom: 8px;
	right: 8px;
	display: flex;
	z-index: 2;
}

.jorato-case-card__label {
	font-size: 13px;
	margin-right: 4px;
	background-color: rgba(255, 255, 255, 0.8);
	border: 1px solid #fff;
	border-radius: 999px;
	padding: 0.5em 1em;
	color: var(--jorato-color-text);
}

.jorato-case-card__label:last-child {
	margin-right: 0;
}

/* —— Inactive (reserved / rented) —— */
.jorato-case-card__inactive-overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.4);
	z-index: 2;
	pointer-events: none;
}

.jorato-case-card__inactive-wrapper {
	position: absolute;
	top: 35%;
	left: 0;
	width: 100%;
	text-align: center;
	opacity: 0.7;
	transform: rotate(25deg);
	z-index: 3;
	pointer-events: none;
}

.jorato-case-card__inactive {
	font-size: 56px;
	color: rgba(0, 0, 0, 0.7);
	font-weight: bold;
	padding: 6px 12px;
}

.jorato-case-card__inactive-message {
	margin: 0 0 -4px;
	padding-top: 4px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	color: #cc133f;
}

/* —— Main —— */
.jorato-case-card__main {
	margin-top: 20px;
	padding-left: 16px;
	padding-right: 16px;
	font-family: var(--jorato-font-stack);
	color: var(--jorato-color-text);
}

.jorato-case-card__location,
.jorato-case-card__location span,
.jorato-case-card__location-text {
	margin: 0;
	font-family: var(--jorato-font-stack);
	font-size: 13px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.5;
	letter-spacing: 0;
	text-transform: none;
	color: var(--jorato-color-text);
}

.jorato-case-card__location {
	display: flex;
	align-items: center;
}

.jorato-case-card__location-icon {
	margin-right: 6px;
	flex: none;
}

.jorato-case-card__headline {
	margin: 8px 0 0;
	font-family: var(--jorato-font-stack);
	font-size: 20px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	color: var(--jorato-color-text);
}

/* —— Footer —— */
.jorato-case-card__footer {
	margin-top: 32px;
	padding-left: 16px;
	padding-right: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: var(--jorato-font-stack);
	font-size: 14px;
	font-weight: 400;
	color: var(--jorato-color-text);
}

.jorato-case-card__rent,
.jorato-case-card__mid,
.jorato-case-card__sqm {
	margin: 0;
	display: flex;
	align-items: center;
	font-family: var(--jorato-font-stack);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--jorato-color-text);
}

.jorato-case-card__footer p {
	margin: 0;
	display: flex;
	align-items: center;
	font-family: var(--jorato-font-stack);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--jorato-color-text);
}

.jorato-case-card__footer-icon {
	margin-right: 4px;
	flex: none;
}

.jorato-case-card__footer sup {
	vertical-align: super;
	font-size: 0.5em;
}

/* —— Promo box (fixed 2nd grid position; port of Agent.vue) —— */
.jorato-case-promo {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 200px;
	padding: 24px 16px;
	box-sizing: border-box;
	text-align: center;
	text-decoration: none;
	background-color: #d6e8d9;
	color: #000;
}

@media (min-width: 1024px) {
	.jorato-case-promo {
		display: flex;
	}
}

.jorato-case-promo__title {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 120%;
	font-weight: 700;
	color: #000;
}

.jorato-case-promo__text {
	margin: 0 0 12px;
	max-width: 269px;
	font-size: 12px;
	line-height: 136.4%;
	color: #000;
}

.jorato-case-promo__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 12px;
	width: 40px;
	height: 40px;
	border: 1px solid #000;
	border-radius: 50%;
	color: #000;
	transition: transform 0.3s ease;
}

.jorato-case-promo__arrow svg {
	display: block;
	width: 20px;
	height: auto;
}

.jorato-case-promo:hover .jorato-case-promo__arrow {
	transform: translateX(5px);
}

/* —— Detail hero + pricing (Kereby single rental header) —— */
.jorato-case-detail__hero {
	background: var(--jorato-accent);
	color: var(--jorato-color-text);
	padding: 84px var(--jorato-detail-rail-x) 136px;
	box-sizing: border-box;
	width: 100%;
	overflow: visible;
}

.jorato-case-detail__hero-main {
	max-width: var(--jorato-detail-rail-max);
	margin: 0 auto;
	position: relative;
}

.jorato-case-detail__hero-labels {
	display: flex;
	flex-wrap: wrap;
	margin: -24px 0 16px;
}

.jorato-case-detail__hero-label {
	font-size: 13px;
	font-weight: 400;
	color: #000;
	background-color: hsla(0, 0%, 100%, 0.6);
	border: 1px solid rgba(0, 0, 0, 0.6);
	border-radius: 999px;
	padding: 0.5em 1em;
	margin-right: 8px;
}

.jorato-case-detail__hero-label:last-child {
	margin-right: 0;
}

.jorato-case-detail__hero .jorato-case-detail__title {
	margin: 0;
	padding: 0;
	color: var(--jorato-color-text);
	font-family: var(--jorato-font-family);
	font-size: 24px;
	font-weight: 700;
	line-height: normal;
}

.jorato-case-detail__hero-main:not(:has(.jorato-case-detail__hero-labels)):not(:has(.jorato-case-detail__hero-status)) .jorato-case-detail__title {
	margin-top: 16px;
}

.jorato-case-detail__hero .jorato-case-detail__address {
	color: var(--jorato-color-text);
	opacity: 1;
	display: flex;
	align-items: center;
	margin: 8px 0 0;
	padding: 0;
	font-size: 18px;
	line-height: 18px;
}

.jorato-case-detail__hero-status {
	margin: 0 0 -4px;
	padding-top: 4px;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--jorato-color-inactive);
}

.jorato-case-detail__hero .jorato-case-detail__address-icon {
	flex: none;
	width: 8px;
	height: 9px;
	margin: 0 8px 0 0;
	display: block;
	filter: none;
}

.jorato-case-detail__price {
	max-width: var(--jorato-detail-rail-max);
	margin: 26px auto 0;
	padding: 0;
	background: transparent;
	color: var(--jorato-color-text);
	border-radius: 0;
	box-shadow: none;
	font-family: var(--jorato-font-family);
	position: relative;
	z-index: 2;
	overflow: visible;
}

.jorato-case-detail__price-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding-bottom: 6px;
	border-bottom: 1px solid #484848;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.15;
}

.jorato-case-detail__price-label {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	line-height: inherit;
}

.jorato-case-detail__price-value {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-align: right;
}

.jorato-case-detail__price-table {
	margin: 16px 0 0;
	padding: 0;
	width: 100%;
	overflow: visible;
}

.jorato-case-detail__price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 2px 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 14px;
}

.jorato-case-detail__price-row dt {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	color: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.jorato-case-detail__price-row dd {
	flex: 0 0 auto;
	margin: 0;
	font-weight: inherit;
	line-height: inherit;
	text-align: right;
	white-space: nowrap;
}

.jorato-case-detail__price-term {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
}

.jorato-case-detail__price-term-label {
	display: inline-block;
	line-height: 14px;
}

.jorato-case-detail__price-tooltip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 11px;
	height: 14px;
	margin: 0;
	overflow: visible;
}

.jorato-case-detail__price-tooltip-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 11px;
	height: 14px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: default;
	line-height: 0;
	flex: none;
}

.jorato-case-detail__price-tooltip-trigger img {
	display: block;
	width: 11px;
	height: 11px;
}

.jorato-case-detail__price-tooltip-panel {
	position: absolute;
	top: 10px;
	right: 5px;
	z-index: 20;
	box-sizing: border-box;
	width: 300px;
	padding: 5px;
	background: #fff;
	color: #242424;
	font-family: "Mabry Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease;
}

.jorato-case-detail__price-tooltip-panel.is-ported {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100000;
	opacity: 1;
	pointer-events: auto;
}

.jorato-case-detail__price-tooltip-wrap {
	display: block;
	padding: 0;
	background: transparent;
	color: inherit;
	font: inherit;
}

.jorato-case-detail__price-tooltip-lead,
.jorato-case-detail__price-tooltip-note {
	margin: 0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: inherit;
}

.jorato-case-detail__price-tooltip-table {
	width: 100%;
	margin: 16px 0;
	border: none;
	border-collapse: collapse;
	border-spacing: 0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: inherit;
}

.jorato-case-detail__price-tooltip-table td {
	padding: 2px 0;
	border: none;
	vertical-align: top;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

.jorato-case-detail__price-tooltip-numeric {
	text-align: right;
	white-space: nowrap;
}

.jorato-case-detail__price-tooltip-divider td {
	padding-bottom: 7px;
	border: 0 !important;
	border-bottom: 2px solid #242424 !important;
}

.jorato-case-detail__price-tooltip-summary {
	padding-top: 7px;
}

@media (max-width: 500px) {
	.jorato-case-detail__price-tooltip-panel {
		right: auto;
		left: 0;
		width: min(300px, calc(100vw - 2rem));
	}
}

@media (min-width: 501px) {
	.jorato-case-detail__hero {
		display: grid;
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		gap: 48px;
		align-items: start;
		justify-content: space-between;
		padding: 84px max(var(--jorato-detail-rail-x), calc((100vw - var(--jorato-detail-rail-max)) / 2)) 136px;
	}

	.jorato-case-detail__hero-main,
	.jorato-case-detail__price {
		max-width: none;
		margin: 0;
	}

	.jorato-case-detail__hero .jorato-case-detail__title {
		font-size: 38px;
	}

	.jorato-case-detail__price-main {
		font-size: 24px;
		line-height: 1.15;
	}
}

@media (min-width: 1280px) {
	.jorato-case-detail__hero {
		grid-template-columns: minmax(0, 1fr) var(--jorato-detail-aside-width);
		column-gap: var(--jorato-detail-split-gap);
	}

	.jorato-case-detail__price {
		width: var(--jorato-detail-aside-width);
		max-width: var(--jorato-detail-aside-width);
		justify-self: end;
	}
}

@media (max-width: 500px) {
	.jorato-case-detail {
		--jorato-detail-rail-x: 16px;
	}

	.jorato-case-detail__hero .jorato-case-detail__address {
		font-size: 14px;
		line-height: 14px;
	}

	.jorato-case-detail__price {
		margin-top: 26px;
	}
}

/* —— Section headings (shared) —— */
.jorato-case-detail__section-heading {
	margin: 0 0 20px;
	font-size: var(--jorato-h3);
	font-weight: 700;
}

/* —— Terms rows (shared) —— */
.jorato-case-detail__terms {
	margin: 0;
}

.jorato-case-detail__term-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.jorato-case-detail__term-label {
	color: var(--jorato-color-grey);
	font-weight: 500;
}

.jorato-case-detail__term-value {
	margin: 0;
	text-align: right;
	font-weight: 500;
}

/* —— Distances ("Afstande") —— */
.jorato-case-detail__section--distances {
	width: 100%;
	max-width: none;
	margin-top: 0;
	padding: 64px 0;
	background: var(--jorato-color-yellow);
	border-radius: 0;
}

.jorato-case-detail__distances-layout {
	box-sizing: border-box;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 64px;
	width: 100%;
	max-width: var(--jorato-detail-rail-max);
	margin: 0 auto;
	padding: 0 var(--jorato-detail-rail-x);
}

.jorato-case-detail__distances-main {
	flex: 0 1 auto;
	max-width: 400px;
	min-width: 0;
}

.jorato-case-detail__distances-heading {
	margin: 0 0 0;
	font-family: var(--jorato-font-family);
	font-size: 32px;
	font-weight: 400;
	line-height: var(--jorato-heading-lh);
	letter-spacing: var(--jorato-heading-ls);
	color: var(--jorato-color-text);
}

.jorato-case-detail__distances {
	list-style: none;
	margin: 42px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 100px);
	column-gap: 48px;
	row-gap: 42px;
}

.jorato-case-detail__distance {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.jorato-case-detail__distance-value {
	display: inline-block;
	font-size: 35px;
	font-weight: 700;
	line-height: 1.1;
	border-bottom: 1px solid currentColor;
}

.jorato-case-detail__distance-km {
	font-size: 12px;
	text-transform: uppercase;
}

.jorato-case-detail__distance-label {
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.3;
	color: inherit;
	text-transform: capitalize;
}

.jorato-case-detail__distances-image {
	flex: 0 0 40%;
	position: relative;
	width: 40%;
	height: 0;
	padding-bottom: 50%;
	margin-bottom: 0;
}

.jorato-case-detail__distances-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 767px) {
	.jorato-case-detail__distances-layout {
		flex-direction: column;
		gap: 0;
	}

	.jorato-case-detail__distances-main {
		max-width: none;
		width: 100%;
	}

	.jorato-case-detail__distances {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 12px;
		row-gap: 32px;
		margin-bottom: 40px;
	}

	.jorato-case-detail__distances-image {
		flex: none;
		width: 100%;
		padding-bottom: 0;
		margin-bottom: 32px;
	}

	.jorato-case-detail__distances-image img {
		position: relative;
		width: 100%;
		height: auto;
	}
}

/* —— 3D / virtual tour —— */
.jorato-case-detail__3d-shell {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--jorato-radius);
	overflow: hidden;
	background: #000;
}

.jorato-case-detail__3d-frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* —— Gallery unavailable overlay —— */
.jorato-case-detail__gallery-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--jorato-gallery-offset-x);
	width: var(--jorato-gallery-slide-width);
	right: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.4);
	z-index: 4;
	pointer-events: none;
}

.jorato-case-detail__gallery-watermark {
	transform: rotate(-18deg);
	font-family: var(--jorato-font-family);
	font-size: 156px;
	font-weight: 700;
	line-height: 1;
	color: rgba(0, 0, 0, 0.7);
	text-shadow: none;
	text-transform: uppercase;
}

@media (max-width: 500px) {
	.jorato-case-detail__gallery-watermark {
		font-size: 56px;
	}
}

/* —— District section (SingleRentalDistrict.vue) —— */
.jorato-case-detail__section--district {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.jorato-case-detail__district-middle {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--jorato-detail-rail-max);
	margin: 0 auto;
	padding: 64px var(--jorato-detail-rail-x) 88px;
}

.jorato-case-detail__district-content {
	display: flex;
}

.jorato-case-detail__district-text {
	width: 50%;
	padding: 20px;
	box-sizing: border-box;
}

.jorato-case-detail__district-title {
	margin: 0;
	padding-bottom: 40px;
	font-size: 50px;
	line-height: 1.132;
}

.jorato-case-detail__district-body {
	margin: 0;
	font-size: 17px;
	line-height: 24px;
	color: var(--jorato-color-text);
}

.jorato-case-detail__district-link a {
	text-decoration: none;
	color: rgba(0, 0, 0, 0.5);
	font-size: 15px;
	line-height: 18px;
}

.jorato-case-detail__district-illustration {
	flex: 1 1 50%;
	padding-left: 40px;
	width: auto;
	max-width: 50%;
	height: auto;
	object-fit: contain;
	pointer-events: none;
	box-sizing: border-box;
}

.jorato-case-detail__district-traits {
	list-style: none;
	width: 100%;
	margin: 40px 0 0;
	padding: 0;
	display: flex;
	align-content: center;
	justify-content: space-between;
}

.jorato-case-detail__district-trait {
	display: grid;
	grid-template-columns: auto;
	grid-template-rows: 2em auto;
	row-gap: 1.5em;
	align-items: center;
	justify-items: center;
	text-align: center;
	background-color: #fff;
	flex: 1 1 0;
	min-width: 0;
}

.jorato-case-detail__district-trait-icon {
	width: auto;
	height: 2em;
	max-height: 32px;
}

.jorato-case-detail__district-trait-text {
	margin: auto;
	width: 60%;
	font-size: 12px;
	line-height: 14px;
	color: var(--jorato-color-text);
}

.jorato-case-detail__district-strip {
	width: 100%;
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: 0;
}

.jorato-case-detail__district-strip-item {
	overflow: hidden;
	position: relative;
	width: 32%;
	height: 0;
	padding-bottom: 25%;
}

.jorato-case-detail__district-strip-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	border-radius: 0;
}

@media (max-width: 500px) {
	.jorato-case-detail__district-middle {
		padding-bottom: 40px;
	}

	.jorato-case-detail__district-content {
		flex-direction: column;
	}

	.jorato-case-detail__district-text {
		width: 100%;
		padding: 16px 16px 0;
	}

	.jorato-case-detail__district-title {
		font-size: 32px;
	}

	.jorato-case-detail__district-illustration {
		flex: none;
		max-width: 100%;
		width: 100%;
		padding-left: 0;
		margin-top: 24px;
	}

	.jorato-case-detail__district-traits {
		margin-top: 40px;
		display: grid;
		grid-template-columns: 1fr 1fr;
		row-gap: 2em;
	}

	.jorato-case-detail__district-strip-item {
		width: 49%;
		padding-bottom: 70%;
	}

	.jorato-case-detail__district-strip-item:nth-child(3) {
		display: none;
	}
}

/* —— Booking modal header accent —— */
.jorato-case-detail__booking-title {
	font-family: var(--jorato-font-display);
	font-weight: 400;
}

/* —— Aside contact card photo —— */
.jorato-case-detail__aside-photo {
	width: 100%;
	min-height: 238px;
	padding-bottom: 50%;
	position: relative;
	margin-bottom: 16px;
	box-sizing: border-box;
}

.jorato-case-detail__aside-photo--commercial {
	min-height: 0;
}

.jorato-case-detail__aside-photo .jorato-case-detail__agent-photo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 4px;
	object-fit: cover;
	object-position: 0 0;
}

.jorato-case-detail__aside-photo--commercial .jorato-case-detail__agent-photo {
	object-position: top;
}

.jorato-case-detail__aside-info {
	margin-left: 4px;
}

.jorato-case-detail__aside-card .jorato-case-detail__agent-name {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--jorato-color-text);
	letter-spacing: 0;
}

.jorato-case-detail__aside-card .jorato-case-detail__agent-title {
	margin: 4px 0 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
	color: rgba(0, 0, 0, 0.4);
}

.jorato-case-detail__aside-card .jorato-case-detail__agent-phone,
.jorato-case-detail__aside-card .jorato-case-detail__agent-email {
	display: block;
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	color: var(--jorato-color-text);
	text-decoration: none;
}

.jorato-case-detail__aside-card .jorato-case-detail__agent-phone-label,
.jorato-case-detail__aside-card .jorato-case-detail__agent-email-label,
.jorato-case-detail__aside-card .jorato-case-detail__agent-phone-value,
.jorato-case-detail__aside-card .jorato-case-detail__agent-email-value {
	font-weight: 400;
	margin-right: 0;
}

/* Live ContactPerson: first phone 24px below title; email 8px below phone. */
.jorato-case-detail__aside-card .jorato-case-detail__agent-phone {
	margin-top: 24px;
	padding-bottom: 0;
}

.jorato-case-detail__aside-card .jorato-case-detail__agent-email {
	margin-top: 8px;
	padding-bottom: 4px;
}

.jorato-case-detail__aside-card .jorato-case-detail__agent-phone:hover,
.jorato-case-detail__aside-card .jorato-case-detail__agent-phone:focus-visible,
.jorato-case-detail__aside-card .jorato-case-detail__agent-email:hover,
.jorato-case-detail__aside-card .jorato-case-detail__agent-email:focus-visible {
	color: var(--jorato-color-text);
	text-decoration: none;
}

.jorato-case-detail__aside-card .jorato-case-detail__cta--aside-full {
	display: flex;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	justify-content: space-between;
	text-align: left;
	margin-top: 0;
	padding: 16px 40px;
}

.jorato-case-detail__aside-card .jorato-case-detail__cta-label {
	flex: 1;
}

.jorato-case-detail__aside-card .jorato-case-detail__cta-icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	margin-left: 8px;
	line-height: 0;
	transition: transform 0.2s ease;
}

.jorato-case-detail__aside-card .jorato-case-detail__cta-icon img {
	display: block;
	width: 24px;
	height: 24px;
}

.jorato-case-detail__aside-card .jorato-case-detail__cta--aside-full:hover .jorato-case-detail__cta-icon,
.jorato-case-detail__aside-card .jorato-case-detail__cta--aside-full:focus-visible .jorato-case-detail__cta-icon {
	transform: translateX(4px);
}

.jorato-case-detail__aside-card .jorato-case-detail__aside-info {
	margin-left: 4px;
}

.jorato-case-detail__aside-buttons {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	margin-top: 42px;
	width: 100%;
}

.jorato-case-detail__aside-buttons .jorato-case-detail__cta--aside-full {
	display: flex;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin-top: 0;
}

.jorato-case-detail__aside-promo.jorato-case-promo {
	display: flex;
	margin-top: 0;
	width: 100%;
	min-height: 0;
	padding: 24px 16px;
	background-color: var(--jorato-color-light-green);
}

/* —— Post-agent CTA (SingleRentalCta) + recommendations —— */
.jorato-case-detail__section--post-agent {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--jorato-detail-rail-max);
	margin: 48px auto 0;
	padding: 0 var(--jorato-detail-rail-x);
}

.jorato-case-detail__post-agent-heading {
	margin: 0 0 0;
	font-family: var(--jorato-font-family);
	font-size: 40px;
	font-weight: 400;
	line-height: 47px;
	color: var(--jorato-color-text);
}

.jorato-case-detail__post-agent-layout {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}

.jorato-case-detail__post-agent-lead,
.jorato-case-detail__post-agent-form {
	flex: 1 1 0;
	width: 80%;
	min-width: 0;
	padding: 40px 0;
	box-sizing: border-box;
}

.jorato-case-detail__post-agent-form {
	display: flex;
	flex-direction: column;
}

.jorato-case-detail__post-agent-lead {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0;
}

.jorato-case-detail__post-agent-intro {
	margin: 0;
	color: var(--jorato-color-text);
}

.jorato-case-detail__post-agent-person-block {
	width: 80%;
}

.jorato-case-detail__post-agent-contact {
	margin: 3em 0;
}

.jorato-case-detail__post-agent-photo {
	position: relative;
	width: 438px;
	max-width: 100%;
	aspect-ratio: 438 / 238;
	margin: 0 0 16px;
	overflow: hidden;
}

.jorato-case-detail__post-agent-photo .jorato-case-detail__agent-photo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 4px;
	object-fit: cover;
	object-position: 0 0;
}

.jorato-case-detail__post-agent-photo--commercial {
	min-height: 0;
}

.jorato-case-detail__post-agent-photo--commercial .jorato-case-detail__agent-photo {
	object-position: top;
}

.jorato-case-detail__post-agent-info {
	margin-left: 4px;
}

.jorato-case-detail__post-agent-info .jorato-case-detail__agent-name {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--jorato-color-text);
}

.jorato-case-detail__post-agent-info .jorato-case-detail__agent-title {
	margin: 4px 0 0;
	font-size: 16px;
	line-height: 1.2;
	color: rgba(0, 0, 0, 0.4);
}

.jorato-case-detail__post-agent-info .jorato-case-detail__agent-phone,
.jorato-case-detail__post-agent-info .jorato-case-detail__agent-email {
	display: block;
	margin: 8px 0 0;
	padding-bottom: 4px;
	font-size: 14px;
	line-height: 1.2;
	color: var(--jorato-color-text);
	text-decoration: none;
}

.jorato-case-detail__post-agent-info .jorato-case-detail__agent-phone {
	margin-top: 24px;
	padding-bottom: 0;
}

.jorato-case-detail__post-agent-actions {
	margin: 0;
}

.jorato-case-detail__post-agent-mobile-buttons {
	display: none;
}

.jorato-case-detail__post-agent-actions .jorato-case-detail__cta--post-agent {
	width: 80%;
	padding: 16px 40px;
}

.jorato-case-detail__post-agent-form .jorato-case-detail__contact-form-actions .jorato-case-detail__cta--post-agent {
	width: 100%;
	padding: 16px 40px;
}

.jorato-case-detail__cta--post-agent {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	text-align: left;
}

.jorato-case-detail__cta--post-agent:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.jorato-case-detail__contact-form {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	height: 100%;
	min-height: 100%;
}

.jorato-case-detail__contact-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.jorato-case-detail__contact-field {
	position: relative;
	display: block;
	margin: 0 0 24px;
	border-bottom: 1px solid #000;
}

.jorato-case-detail__contact-field--textarea {
	border-bottom: 0;
}

.jorato-case-detail__contact-field .jorato-case-detail__contact-label {
	position: absolute;
	top: 50%;
	left: 0;
	margin: 0;
	font-size: 0.87em;
	line-height: 1.2;
	color: var(--jorato-color-text);
	transform-origin: center left;
	transform: translate3d(0, -50%, 0);
	transition: transform 100ms ease-out, opacity 100ms ease-out;
	pointer-events: none;
}

.jorato-case-detail__contact-field:focus-within .jorato-case-detail__contact-label,
.jorato-case-detail__contact-field:has(.jorato-case-detail__contact-input:not(:placeholder-shown)) .jorato-case-detail__contact-label {
	transform: translate3d(0, -175%, 0) scale(0.8);
	opacity: 0.85;
}

.jorato-case-detail__contact-field--textarea .jorato-case-detail__contact-label {
	position: static;
	transform: none;
	opacity: 1;
	margin: 0 0 8px;
	font-size: 0.87em;
	pointer-events: auto;
}

.jorato-case-detail__contact-input {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: inherit;
	color: var(--jorato-color-text);
}

.jorato-case-detail__contact-input:focus-visible {
	outline: none;
}

.jorato-case-detail__contact-textarea {
	min-height: 120px;
	padding: 8px;
	border: 1px solid #000;
	resize: vertical;
	font-family: var(--jorato-font-family);
	font-size: 16px;
	line-height: 1.4;
}

.jorato-case-detail__contact-privacy {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: 80%;
	margin: 0 0 32px;
	font-size: 12px;
	line-height: 1.2;
	color: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.jorato-case-detail__contact-privacy-input {
	appearance: none;
	flex: 0 0 25px;
	display: inline-grid;
	place-content: center;
	width: 25px;
	height: 25px;
	margin: 0;
	background-color: #d9d9d9;
	transition: background-color 100ms ease-out;
}

.jorato-case-detail__contact-privacy-input:checked {
	background-color: #000;
}

.jorato-case-detail__contact-privacy-input:checked::after {
	content: "";
	width: 12px;
	height: 7px;
	border: solid #fff;
	border-width: 0 0 2px 2px;
	transform: rotate(-45deg) translateY(-1px);
}

.jorato-case-detail__contact-privacy-text a {
	color: rgba(0, 0, 0, 0.8);
}

.jorato-case-detail__contact-error {
	margin: 0 0 16px;
	font-size: 14px;
	color: #b00020;
}

.jorato-case-detail__contact-error[hidden] {
	display: none;
}

.jorato-case-detail__contact-form-actions {
	width: 100%;
	margin-top: auto;
}

.jorato-case-detail__contact-sent[hidden],
.jorato-case-detail__contact-status[hidden],
.jorato-case-detail__contact-form-actions [data-jorato-contact-submit][hidden] {
	display: none !important;
}

.jorato-case-detail__contact-status:not([hidden]) {
	display: inline-flex;
	width: 100%;
	justify-content: center;
}

.jorato-case-detail__contact-status.jorato-case-detail__cta--sent {
	align-items: center;
	gap: 8px;
	font-weight: 700;
	background-color: var(--jorato-color-green, #d4e0d4);
}

.jorato-case-detail__contact-sent-check {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.jorato-case-detail__contact-status.jorato-case-detail__cta--status {
	cursor: default;
	pointer-events: none;
}

.jorato-case-detail__contact-status.jorato-case-detail__cta--fatal {
	cursor: default;
	pointer-events: none;
}

.jorato-case-detail__contact-loading {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.jorato-case-detail__contact-loading-icon {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-top-color: #222;
	animation: jorato-booking-spin 1s linear infinite;
}

.jorato-case-detail__contact-sent:not([hidden]) {
	display: inline-flex;
	width: 100%;
}

@media (max-width: 767px) {
	.jorato-case-detail__post-agent-layout {
		flex-direction: column;
	}

	.jorato-case-detail__post-agent-lead,
	.jorato-case-detail__post-agent-form {
		width: 100%;
	}
}

@media (max-width: 500px) {
	.jorato-case-detail__section--post-agent {
		margin-top: 48px;
	}

	.jorato-case-detail__post-agent-intro {
		font-size: 17px;
		line-height: 24px;
	}

	.jorato-case-detail__post-agent-layout {
		flex-direction: column;
	}

	.jorato-case-detail__post-agent-lead,
	.jorato-case-detail__post-agent-form {
		width: 100%;
		padding-top: 0;
	}

	.jorato-case-detail__post-agent-linebreak {
		display: none;
	}

	.jorato-case-detail__post-agent-person-block {
		display: block;
		width: 100%;
		margin-top: 40px;
	}

	.jorato-case-detail__post-agent-photo {
		width: 100%;
		max-width: none;
		min-height: 238px;
		padding-bottom: 50%;
		position: relative;
		margin: 0 0 16px;
		aspect-ratio: unset;
		height: auto;
		overflow: hidden;
	}

	.jorato-case-detail__post-agent-contact {
		margin: 3em 0 0;
	}

	.jorato-case-detail__post-agent-actions {
		display: none;
	}

	.jorato-case-detail__post-agent-form {
		display: none;
	}

	.jorato-case-detail__post-agent-mobile-buttons {
		display: flex;
		flex-direction: column;
		gap: 10px;
		margin-top: 24px;
	}

	.jorato-case-detail__post-agent-mobile-buttons .jorato-case-detail__cta {
		width: 100%;
		justify-content: center;
	}

	.jorato-case-detail__split-aside {
		display: block;
		margin-top: 32px;
	}

	.jorato-case-detail__split-aside .jorato-case-detail__aside-photo {
		width: 100%;
		max-width: none;
	}

	.jorato-case-detail__mobile-cta {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 100;
		padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
		box-sizing: border-box;
	}

	.jorato-case-detail__mobile-cta.is-hidden {
		display: none;
	}

	.jorato-case-detail__cta--mobile-bar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		margin: 0;
		padding: 16px 24px;
		text-align: left;
	}

	.jorato-case-detail__cta--mobile-bar .jorato-case-detail__cta-label {
		flex: 1;
	}

	.jorato-case-detail__cta--mobile-bar .jorato-case-detail__cta-icon {
		display: flex;
		flex-shrink: 0;
		align-items: center;
		justify-content: center;
		margin-left: 8px;
		line-height: 0;
		transition: transform 0.2s ease;
	}

	.jorato-case-detail__cta--mobile-bar .jorato-case-detail__cta-icon img {
		display: block;
		width: 24px;
		height: 24px;
	}

	.jorato-case-detail__cta--mobile-bar:hover .jorato-case-detail__cta-icon,
	.jorato-case-detail__cta--mobile-bar:focus-visible .jorato-case-detail__cta-icon {
		transform: translateX(4px);
	}

	.jorato-case-detail:has(.jorato-case-detail__mobile-cta) .jorato-case-detail__body {
		padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
	}

	.jorato-case-detail__section--post-agent + .jorato-case-detail__section--recommendations {
		margin-top: calc(64px + 90px);
	}
}

/* —— Mobile sticky booking CTA + recommendations —— */
.jorato-case-detail__mobile-cta {
	display: none;
}

.jorato-case-detail__section--recommendations {
	width: 100%;
	max-width: none;
	margin: var(--jorato-section-space, 56px) auto 0;
	padding: 0;
	box-sizing: border-box;
}

.jorato-case-detail__section--post-agent + .jorato-case-detail__section--recommendations {
	margin-top: calc(64px + 128px);
	background-color: var(--jorato-color-green);
}

.jorato-case-detail__recommendations-inner {
	box-sizing: border-box;
	width: 100%;
}

.jorato-case-detail__section--post-agent + .jorato-case-detail__section--recommendations .jorato-case-detail__recommendations-inner {
	transform: translateY(-128px);
}

.jorato-case-detail__recommendations-heading {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--jorato-detail-rail-max);
	margin: 0 auto 40px;
	padding: 0 var(--jorato-detail-rail-x);
	font-size: 32px;
	line-height: 37px;
	font-weight: 400;
	color: var(--jorato-color-text);
}

.jorato-case-detail__recommendations-grid {
	display: flex;
	justify-content: center;
	gap: 20px;
	align-items: stretch;
}

.jorato-case-detail__recommendations-item {
	flex: 0 0 350px;
	width: 350px;
	min-width: 0;
}

.jorato-case-detail__recommendations-item .jorato-case-card {
	height: 100%;
}

@media (max-width: 1023px) {
	.jorato-case-detail__split--has-aside {
		display: flex;
		flex-direction: column;
	}

	.jorato-case-detail__split-aside {
		padding-top: 0;
	}

	.jorato-case-detail__section--post-agent + .jorato-case-detail__section--recommendations {
		padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
	}

	.jorato-case-detail__recommendations-grid {
		display: flex;
		justify-content: flex-start;
		gap: 16px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--jorato-detail-rail-x);
		padding: 0 var(--jorato-detail-rail-x) 4px;
		margin: 0;
		box-sizing: border-box;
		width: 100%;
	}

	.jorato-case-detail:has(.jorato-case-detail__mobile-cta) .jorato-case-detail__recommendations-grid {
		scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
		padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
	}

	.jorato-case-detail__recommendations-item {
		flex: 0 0 min(280px, calc(100vw - (2 * var(--jorato-detail-rail-x)) - 16px));
		width: min(280px, calc(100vw - (2 * var(--jorato-detail-rail-x)) - 16px));
		min-width: 0;
		scroll-snap-align: start;
	}
}

/* ============================================================= */
/* ==  Kereby filters (exact port of RentalsFiltering*.vue)     == */
/* ==  Appended last so these win the cascade.                  == */
/* ============================================================= */

/* —— Hero bar: count (left) + sort (right), inside the colored hero —— */
.jorato-case-hero__count strong {
	font-weight: 700;
}

.jorato-case-hero__sort-label {
	font-weight: 700;
}

.jorato-case-hero__sort-select {
	appearance: none;
	-webkit-appearance: none;
	border: none;
	background: transparent;
	font-family: inherit;
	font-size: 16px;
	color: #000;
	cursor: pointer;
	padding: 0 2px 0 0;
}

.jorato-case-hero__sort-select:focus {
	outline: 0;
}

/* —— Filters container —— */
.jorato-case-filters {
	margin: 0;
}

.jorato-filters {
	background: #fff;
	padding: 8px;
}

.jorato-filter-group + .jorato-filter-group {
	margin-top: 40px;
}

.jorato-filter-reset {
	margin-top: 40px;
}

/* —— Labels —— */
.jorato-filter-label {
	display: block;
	margin: 0;
	font-family: var(--jorato-font-family);
	font-size: 18px;
	font-weight: 400;
	color: var(--jorato-color-text);
	line-height: 1.3;
}

.jorato-filter-label__note {
	font-size: 9px;
	color: rgba(0, 0, 0, 0.5);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* —— Select (Område / Type) —— */
.jorato-filter-select {
	position: relative;
	margin-top: 12px;
	font-size: 13px;
}

.jorato-filter-select__input {
	width: 100%;
	font-size: inherit;
	font-family: var(--jorato-font-family);
	appearance: none;
	-webkit-appearance: none;
	background-color: #fff;
	border: 1px solid #d9d9d9;
	padding: 0.8em 2.4em 0.8em 1em;
	border-radius: 0.3em;
	color: var(--jorato-color-text);
	cursor: pointer;
}

.jorato-filter-select__input:focus {
	outline: 0;
}

.jorato-filter-select__arrow {
	position: absolute;
	top: 50%;
	right: 1em;
	transform: translateY(-50%);
	pointer-events: none;
	display: inline-flex;
	color: var(--jorato-color-text);
}

/* —— Checkboxes (Værelser / Type) —— */
.jorato-filter-checkboxes {
	margin-top: 16px;
	display: inline-grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 16px;
	gap: 16px;
}

.jorato-filter-checkbox {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.jorato-filter-checkbox__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	margin: 0;
	pointer-events: none;
}

.jorato-filter-checkbox__box {
	flex: none;
	width: 25px;
	height: 25px;
	margin-right: 12px;
	background-color: #d9d9d9;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: background-color 100ms ease-out;
}

.jorato-filter-checkbox__box svg {
	width: 15px;
	height: 15px;
	opacity: 0;
	transform: scale(0.5);
	transition: opacity 100ms ease-out, transform 100ms ease-out;
}

.jorato-filter-checkbox__input:checked + .jorato-filter-checkbox__box {
	background-color: #000;
}

.jorato-filter-checkbox__input:checked + .jorato-filter-checkbox__box svg {
	opacity: 1;
	transform: scale(1);
}

.jorato-filter-checkbox__input:focus-visible + .jorato-filter-checkbox__box {
	outline: 2px solid var(--jorato-color-blue);
	outline-offset: 2px;
}

.jorato-filter-checkbox__label {
	font-size: 12px;
	color: rgba(0, 0, 0, 0.5);
}

/* —— Range sliders (noUiSlider) —— */
.jorato-range__slider {
	margin-top: 40px;
}

.jorato-range__minmax {
	display: flex;
	justify-content: space-between;
	color: rgba(0, 0, 0, 0.3);
	margin-top: 12px;
	font-size: 12px;
}

.jorato-range .noUi-target {
	background-color: #d9d9d9;
	height: 3px;
	box-shadow: none;
	border: none;
	border-radius: 0;
}

.jorato-range .noUi-connect {
	background: #000;
}

.jorato-range .noUi-horizontal .noUi-handle {
	width: 14px;
	height: 14px;
	border-radius: 7px;
	background-color: #000;
	box-shadow: none;
	border: 1px solid #fff;
	top: -6px;
	right: -7px;
	cursor: pointer;
}

.jorato-range .noUi-handle::before,
.jorato-range .noUi-handle::after {
	content: none;
	display: none;
}

.jorato-range .noUi-touch-area {
	width: 200%;
	height: 200%;
	transform: translate(-25%, -25%);
}

.jorato-range .noUi-tooltip {
	border: none;
	background-color: transparent;
	font-size: 12px;
	color: #000;
	padding: 0;
	bottom: 140%;
}

/* —— Requirement pills (Specifikke ønsker) —— */
.jorato-filter-pills {
	display: flex;
	flex-wrap: wrap;
	margin-top: 12px;
	gap: 8px;
	max-width: 230px;
}

.jorato-filter-pill {
	position: relative;
	cursor: pointer;
}

.jorato-filter-pill__input {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.jorato-filter-pill__label {
	display: inline-block;
	font-size: 13px;
	color: rgba(0, 0, 0, 0.5);
	border: 1px solid #d9d9d9;
	border-radius: 9999px;
	padding: 0.8em 1em;
	transition: background-color 100ms ease-out, color 100ms ease-out, border-color 100ms ease-out;
	user-select: none;
}

.jorato-filter-pill__input:checked + .jorato-filter-pill__label {
	background-color: #000;
	border-color: #000;
	color: #fff;
}

.jorato-filter-pill__input:focus-visible + .jorato-filter-pill__label {
	outline: 2px solid var(--jorato-color-blue);
	outline-offset: 2px;
}

/* —— Ryd filter (ExtendedButton transparent + border) —— */
.jorato-filter-reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	padding: 16px 30px;
	font-family: var(--jorato-font-family);
	font-size: 16px;
	color: var(--jorato-color-text);
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.jorato-filter-reset:hover {
	background-color: rgba(0, 0, 0, 0.04);
}

/* —— Theme coexistence —— */
body:has(.jorato-case-catalog) .entry-title {
	display: none;
}

html.jorato-case-catalog-scroll-lock,
html.jorato-case-catalog-scroll-lock body {
	overflow: hidden;
}

/* —— Masonry-style two-column grid —— */
.jorato-case-grid {
	display: flex;
	flex-flow: row nowrap;
	column-gap: 40px;
	align-items: flex-start;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.jorato-case-grid__col {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.jorato-case-grid__col--2 .jorato-case-promo {
	order: -1;
}

/* Mobile list: single full-width column (must follow masonry grid rules above). */
@media (max-width: 500px) {
	.jorato-case-grid {
		flex-flow: column nowrap;
	}

	.jorato-case-grid__col--2 {
		display: none;
	}

	.jorato-case-grid__col--1 {
		width: 100%;
		max-width: 100%;
		flex: none;
	}

	.jorato-case-catalog .jorato-case-card,
	.jorato-case-showcase .jorato-case-card {
		width: 100%;
		max-width: none;
	}

	.jorato-case-card__footer {
		flex-wrap: wrap;
		gap: 8px 12px;
	}
}

/* —— Mobile filter drawer —— */
.jorato-case-filters__drawer-header {
	display: none;
}

.jorato-case-filters__mobile-drawer {
	position: static;
}

@media (max-width: 500px) {
	.jorato-case-filters__mobile-drawer {
		display: none;
		position: fixed;
		inset: 0;
		z-index: 100;
		background: #fff;
		overflow-y: auto;
		padding: calc(72px + env(safe-area-inset-top, 0px)) 1.5rem calc(88px + env(safe-area-inset-bottom, 0px));
		box-sizing: border-box;
	}

	.jorato-case-catalog--filters-open .jorato-case-filters__mobile-drawer {
		display: block;
	}

	.jorato-case-filters__drawer-header {
		display: block;
		position: relative;
		text-align: center;
		margin-bottom: 32px;
	}

	.jorato-case-filters__drawer-close {
		position: absolute;
		top: calc(24px + env(safe-area-inset-top, 0px));
		left: 24px;
		appearance: none;
		border: none;
		background: none;
		font-size: 32px;
		line-height: 1;
		cursor: pointer;
		color: var(--jorato-color-text);
		padding: 0;
	}

	.jorato-case-filters__drawer-headline {
		margin: 0;
		font-family: var(--jorato-font-display);
		font-size: 31px;
		font-weight: 400;
		line-height: 1.2;
		color: var(--jorato-color-text);
	}

	.jorato-case-filters__drawer-count {
		margin: 8px 0 0;
		font-size: 16px;
		font-weight: 500;
		color: var(--jorato-color-text);
	}

	.jorato-case-filters__drawer-count strong {
		font-weight: 700;
	}

	.jorato-case-filters__mobile-drawer .jorato-filter-reset:not(.jorato-filter-reset--drawer) {
		display: none;
	}

	.jorato-case-filters__drawer-footer {
		display: flex;
		flex-direction: column;
		gap: 16px;
		margin-top: 40px;
	}

	.jorato-case-filters__drawer-footer .jorato-filter-reset--drawer,
	.jorato-case-filters__drawer-apply {
		width: 100%;
		justify-content: center;
	}

	.jorato-case-filters__mobile-drawer .jorato-range__minmax {
		color: rgba(0, 0, 0, 0.55);
		font-size: 13px;
		margin-top: 8px;
	}

	.jorato-case-filters__mobile-drawer .jorato-range__slider {
		margin-top: 32px;
	}
}

.jorato-case-filters__drawer-footer {
	display: none;
}

/* —— Mobile bottom navigation —— */
.jorato-case-mobile-nav {
	display: none;
}

@media (max-width: 500px) {
	.jorato-case-mobile-nav {
		display: flex;
		position: fixed;
		bottom: calc(32px + env(safe-area-inset-bottom, 0px));
		left: 24px;
		right: 24px;
		z-index: 5;
		background: #fff;
		box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
		border-radius: 999px;
		overflow: hidden;
		align-items: stretch;
	}

	.jorato-case-mobile-nav__item {
		appearance: none;
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 4px;
		margin: 0;
		padding: 16px;
		border: none;
		background: #fff;
		font-family: var(--jorato-font-family);
		font-size: 16px;
		font-weight: 500;
		color: #000;
		text-decoration: none;
		cursor: pointer;
	}

	.jorato-case-mobile-nav__item:not(:first-child) {
		border-left: 1px solid #d9d9d9;
	}

	.jorato-case-mobile-nav__sort-select {
		appearance: none;
		-webkit-appearance: none;
		border: none;
		background: transparent;
		font-family: inherit;
		font-size: 16px;
		font-weight: 500;
		color: #000;
		cursor: pointer;
		padding: 0;
		text-align: center;
		width: 100%;
	}

	.jorato-case-mobile-nav__sort-select:focus {
		outline: 0;
	}

	.jorato-case-mobile-nav__icon {
		flex: none;
		display: block;
	}
}

@media (max-width: 767px) {
	.jorato-case-catalog--residential,
	.jorato-case-catalog--parking {
		padding-bottom: 6rem;
	}

	.jorato-case-catalog--residential .jorato-case-hero__info,
	.jorato-case-catalog--parking .jorato-case-hero__info {
		display: none;
	}

	.jorato-case-catalog--residential .jorato-case-map,
	.jorato-case-catalog--parking .jorato-case-map {
		margin-bottom: 100px;
	}

	.jorato-case-catalog--residential .jorato-case-mobile-nav,
	.jorato-case-catalog--parking .jorato-case-mobile-nav {
		display: flex;
		position: fixed;
		bottom: calc(32px + env(safe-area-inset-bottom, 0px));
		left: 24px;
		right: 24px;
		z-index: 5;
		background: #fff;
		box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
		border-radius: 999px;
		overflow: hidden;
		align-items: stretch;
	}
}

/* —— Theme coexistence (case detail) —— */
/* Load-order + specificity: beat Elementor kit / theme h2 typography on intro headline. */
.jorato-case-detail h2.jorato-case-detail__intro-headline {
	font-family: "Mabry Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	font-weight: 400 !important;
	font-style: normal;
	letter-spacing: 0;
	text-transform: none;
}

/* City watermark above map: force display face (SingleRentalMap.vue `.headline`). */
.jorato-case-detail h2.jorato-case-detail__location-city {
	font-family: "F37 Bella Heavy", Didot, "Times New Roman", serif !important;
	font-weight: 400 !important;
	font-style: normal;
	letter-spacing: -0.03em;
	text-transform: none;
}

.jorato-case-detail h2.jorato-case-detail__district-title {
	font-family: "F37 Bella Heavy", Didot, "Times New Roman", serif !important;
	font-weight: 400 !important;
	font-style: normal;
	letter-spacing: 0;
	text-transform: none;
}

/* Case detail + list catalog: SiteHeader accent + full-bleed hero/catalog. */
body:has(.jorato-case-catalog),
body:has(.jorato-case-detail) {
	--jorato-site-header-offset: 104px;
}

@media (max-width: 500px) {
	body:has(.jorato-case-catalog),
	body:has(.jorato-case-detail) {
		--jorato-site-header-offset: 56px;
	}
}

body:has(.jorato-case-catalog:not(.jorato-case-catalog--commercial)) .SiteHeader:not(.SiteHeader--scrolled),
body:has(.jorato-case-detail:not(.jorato-case-detail--commercial)) .SiteHeader:not(.SiteHeader--scrolled) {
	background-color: #79a0c2;
}

body:has(.jorato-case-catalog--commercial) .SiteHeader:not(.SiteHeader--scrolled),
body:has(.jorato-case-detail--commercial) .SiteHeader:not(.SiteHeader--scrolled) {
	background-color: #81ae90;
}

body:has(.jorato-case-catalog:not(.jorato-case-catalog--commercial)) .SiteHeader:not(.SiteHeader--scrolled) a,
body:has(.jorato-case-catalog:not(.jorato-case-catalog--commercial)) .SiteHeader:not(.SiteHeader--scrolled) .site-navigation-toggle,
body:has(.jorato-case-detail:not(.jorato-case-detail--commercial)) .SiteHeader:not(.SiteHeader--scrolled) a,
body:has(.jorato-case-detail:not(.jorato-case-detail--commercial)) .SiteHeader:not(.SiteHeader--scrolled) .site-navigation-toggle {
	color: #242424;
}

body.jorato-has-case-detail .jorato-case-detail {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	overflow-x: clip;
}

body.jorato-has-case-detail .jorato-case-detail__body {
	position: relative;
}

body.jorato-has-case-detail .jorato-case-detail__hero {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	background: var(--jorato-accent);
}

body:has(.jorato-case-catalog) .jorato-case-catalog {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	overflow-x: clip;
}

body:has(.jorato-case-catalog) .elementor-widget-jorato_case_list,
body:has(.jorato-case-catalog) .elementor-widget-jorato_case_list .elementor-widget-container {
	overflow: visible;
}

body:has(.jorato-case-catalog) .jorato-case-hero {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: transparent;
}

body:has(.jorato-case-catalog) h1.jorato-case-hero__title {
	font-family: "F37 Bella Heavy", Didot, "Times New Roman", serif !important;
	font-weight: 400 !important;
	font-style: normal;
	letter-spacing: 0;
	text-transform: none;
}

/* ============================================================= */
/* ==  Case showcase (Kereby error.vue recommendations-section) == */
/* ============================================================= */
.jorato-case-showcase,
.elementor-widget-jorato_case_showcase .jorato-case-showcase {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.jorato-case-showcase__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 40px;
}

.jorato-case-showcase .jorato-case-showcase__title,
.elementor-widget-jorato_case_showcase .jorato-case-showcase__title {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	font-family: var(--jorato-font-family);
	font-size: 35px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: var(--jorato-color-text);
}

.jorato-case-showcase__read-more,
.elementor-widget-jorato_case_showcase .jorato-case-showcase__read-more {
	flex: 0 0 auto;
	margin-left: auto;
	font-family: var(--jorato-font-family);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #000;
	text-decoration: none;
	white-space: nowrap;
}

.jorato-case-showcase__read-more:hover,
.jorato-case-showcase__read-more:focus-visible,
.elementor-widget-jorato_case_showcase .jorato-case-showcase__read-more:hover,
.elementor-widget-jorato_case_showcase .jorato-case-showcase__read-more:focus-visible {
	color: var(--jorato-color-blue);
	text-decoration: underline;
}

.jorato-case-showcase__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	width: 100%;
}

.jorato-case-showcase__empty {
	margin: 0;
	font-family: var(--jorato-font-family);
	font-size: var(--jorato-p-size, 16px);
	color: var(--jorato-color-grey, rgba(0, 0, 0, 0.55));
}

.jorato-case-showcase .jorato-case-card,
.elementor-widget-jorato_case_showcase .jorato-case-card {
	max-width: none;
	width: 100%;
	justify-self: stretch;
}

@media (min-width: 501px) {
	.jorato-case-showcase__grid {
		gap: 40px;
	}

	.jorato-case-showcase--desktop-cols-2 .jorato-case-showcase__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jorato-case-showcase--desktop-cols-3 .jorato-case-showcase__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.jorato-case-showcase--desktop-cols-4 .jorato-case-showcase__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 500px) {
	.jorato-case-showcase__header {
		margin-bottom: 24px;
	}

	.jorato-case-showcase .jorato-case-showcase__title,
	.elementor-widget-jorato_case_showcase .jorato-case-showcase__title {
		font-size: 24px;
	}
}

/* Case card text — literal Mabry Pro (matches inline styles in case-list-card.php). */
.jorato-case-card,
.jorato-case-card .jorato-case-card__link,
.jorato-case-card .jorato-case-card__main,
.jorato-case-card p.jorato-case-card__location,
.jorato-case-card .jorato-case-card__location-text,
.jorato-case-card p.jorato-case-card__headline,
.jorato-case-card h3.jorato-case-card__headline,
.jorato-case-card .jorato-case-card__footer,
.jorato-case-card p.jorato-case-card__rent,
.jorato-case-card p.jorato-case-card__mid,
.jorato-case-card p.jorato-case-card__sqm {
	font-family: "Mabry Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	color: #242424;
}


.jorato-case-detail__contact-sent,
.jorato-case-detail__cta--sent {
	pointer-events: none;
	cursor: default;
}

.jorato-case-detail__price-tooltip-note--commercial {
	font-size: 11px;
	font-style: italic;
}

.jorato-case-detail__booking-feedback-other {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.7rem;
	margin-top: 2rem;
	width: 100%;
}

.jorato-case-detail__booking-feedback-other-label {
	font-weight: 600;
}

.jorato-case-detail__booking-feedback-other-input {
	width: 100%;
	max-width: 320px;
	padding: 0.65rem 0.75rem;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	font: inherit;
}

.jorato-case-detail__booking-feedback-other-send {
	width: auto;
	min-width: 120px;
}

@media (max-width: 767px) {
	.jorato-case-detail__section--distances {
		padding-bottom: 48px;
	}
}

/* Parking VAT preference modal (Nuxt ParkingVatModal parity). */
html.jorato-parking-vat-open {
	overflow: hidden;
}

.jorato-parking-vat {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow-x: hidden;
	font-family: var(--jorato-font-family);
	color: var(--jorato-color-text);
}

.jorato-parking-vat[hidden] {
	display: none !important;
}

.jorato-parking-vat__backdrop {
	position: fixed;
	inset: 0;
	z-index: 0;
	background: rgba(0, 0, 0, 0.7);
	cursor: default;
}

.jorato-parking-vat__panel {
	position: relative;
	z-index: 1;
	width: 90%;
	max-width: 600px;
	padding: 48px 64px;
	background: var(--jorato-color-white);
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	box-sizing: border-box;
}

.jorato-parking-vat__header {
	text-align: center;
	margin-bottom: 40px;
}

.jorato-parking-vat__title {
	margin: 0;
	font-family: var(--jorato-font-display);
	font-size: 32px;
	font-weight: 700;
	line-height: var(--jorato-heading-lh);
	color: var(--jorato-color-text);
}

.jorato-parking-vat__body {
	display: flex;
	gap: 24px;
	justify-content: center;
}

.jorato-parking-vat__button {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 140px;
	padding: 32px 24px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
	color: var(--jorato-color-text);
	font: inherit;
	box-sizing: border-box;
}

.jorato-parking-vat__button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.jorato-parking-vat__button:active {
	transform: translateY(0);
}

.jorato-parking-vat__button--business {
	background-color: var(--jorato-color-green);
}

.jorato-parking-vat__button--business:hover {
	background-color: #739e82;
}

.jorato-parking-vat__button--private {
	background-color: var(--jorato-color-hero-blue);
}

.jorato-parking-vat__button--private:hover {
	background-color: #6b93b3;
}

.jorato-parking-vat__button-label {
	font-family: var(--jorato-font-display);
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 8px;
	line-height: 1.2;
}

.jorato-parking-vat__button-desc {
	font-size: 14px;
	opacity: 0.9;
	text-align: center;
	line-height: 1.4;
}

[data-jorato-vat-label] {
	font-weight: 400;
}

[data-jorato-vat-label][hidden] {
	display: none !important;
}

/* Trailing period after deposit moms label (Nuxt "Depositum ekskl. moms."). */
.jorato-parking-vat-label--period:not([hidden]):not(:empty)::after {
	content: '.';
}

@media (max-width: 767px) {
	.jorato-parking-vat__panel {
		width: 95%;
		padding: 32px 24px;
	}

	.jorato-parking-vat__title {
		font-size: 24px;
	}

	.jorato-parking-vat__body {
		flex-direction: column;
		gap: 16px;
	}

	.jorato-parking-vat__button {
		min-height: 120px;
		padding: 24px 16px;
	}

	.jorato-parking-vat__button-label {
		font-size: 20px;
	}

	.jorato-parking-vat__button-desc {
		font-size: 12px;
	}
}
