/*
 * File: property/assets/css/property.css
 * Purpose: Property listing layout and map experience for Kim Juhui Realty.
 */
:root {
	--property-font: 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
	--property-bg: #eef2ff;
}

.property-chip.is-active {
	border-color: var(--property-primary);
	background: var(--property-primary);
	color: #fff;
}

.property-filter-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.property-filter-actions-right {
	display: flex;
	gap: 8px;
}

.property-filter-actions button {
	border: none;
	border-radius: 16px;
	height: 44px;
	padding: 0 20px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.property-filter-toggle {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	border: 1px solid var(--property-line);
	background: #fff;
	color: var(--property-gray-700);
}

.property-filter-actions .reset {
	background: #e2e8f0;
	color: var(--property-gray-700);
}

.property-filter-actions .reset:hover {
	background: #cbd5e1;
}

.property-filter-actions .apply {
	background: var(--property-primary);
	color: #fff;
}

.property-filter-actions .apply:hover {
	background: #1d4ed8;
}

.property-filter-advanced {
	display: none;
	border-top: 1px solid var(--property-line);
	padding-top: 18px;
	margin-top: 6px;
}

.property-filter-card.is-advanced-open .property-filter-advanced {
	display: block;
}

.property-filter-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}

.property-filter-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 13px;
	color: var(--property-gray-500);
}

.property-filter-field select,
.property-filter-field input {
	height: 42px;
	border-radius: 14px;
	border: 1px solid var(--property-line);
	background: #f8fafc;
	padding: 0 14px;
	font-size: 14px;
}

.property-filter-field select:focus,
.property-filter-field input:focus {
	border-color: var(--property-primary);
	outline: none;
	background: #fff;
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.property-side-list {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-height: 0;
		margin: 0;
		padding: 0;
		list-style: none;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
		gap: 16px;
	}

	.detail-highlight-list li {
		display: flex;
		flex-direction: column;
		gap: 6px;
		padding: 18px 20px;
		background: #f8fafc;
		border-radius: 16px;
		border: 1px solid #e2e8f0;
		color: #475569;
	}

	.detail-highlight-list span {
		font-size: 12px;
		color: #94a3b8;
		text-transform: none;
		letter-spacing: 0;
	}

	.detail-highlight-list strong {
		font-size: 17px;
		color: #0f172a;
		font-weight: 700;
	border-radius: 14px;
	border: 1px solid var(--property-line);
	background: #fff;
	padding: 0 16px;
	font-size: 14px;
}

.property-list {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-height: calc(100vh - 240px);
	overflow-y: auto;
	padding-right: 6px;
}

.property-list::-webkit-scrollbar {
	width: 6px;
}

.property-list::-webkit-scrollbar-thumb {
	background: rgba(15, 23, 42, 0.2);
	border-radius: 3px;
}

.property-card {
	display: grid;
	grid-template-columns: 148px minmax(0, 1fr);
	gap: 20px;
	background: var(--property-white);
	border-radius: 26px;
	padding: 20px 24px;
	box-shadow: var(--property-shadow-card);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover,
.property-card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.property-card.is-hidden {
	display: none;
}

.property-card.is-focus {
	outline: 2px solid var(--property-primary);
	outline-offset: 3px;
}

.property-card-thumb {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	background: #e2e8f0;
	min-height: 140px;
}

.property-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.property-card-badge {
	position: absolute;
	left: 12px;
	top: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.92);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
}

.property-card-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.property-card-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.property-card-label {
	margin: 0;
	font-size: 13px;
	color: var(--property-gray-500);
}

.property-card-date {
	font-size: 12px;
	color: var(--property-gray-400);
}

.property-card-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--property-dark);
}

.property-card-headline {
	margin: 0;
	font-size: 14px;
	color: var(--property-gray-500);
}

.property-card-price-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: baseline;
}

.property-card-price {
	font-size: 20px;
	font-weight: 700;
	color: var(--property-accent);
}

.property-card-fee {
	font-size: 13px;
	color: var(--property-gray-500);
}

.property-card-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 13px;
	color: var(--property-gray-600);
}

.property-card-info,
.property-card-address,
.property-card-station {
	margin: 0;
	font-size: 13px;
	color: var(--property-gray-500);
}

.property-card-address {
	font-weight: 600;
	color: var(--property-gray-700);
}

.property-card-actions {
	display: flex;
	gap: 12px;
	margin-top: auto;
}

.property-card-link {
	font-size: 14px;
	font-weight: 600;
	color: var(--property-primary);
	text-decoration: none;
}

.property-card-link:hover,
.property-card-link:focus {
	text-decoration: underline;
}

.property-empty {
	display: none;
	padding: 20px;
	border-radius: 20px;
	background: #f1f5f9;
	color: var(--property-gray-600);
	text-align: center;
}

.property-empty.is-visible {
	display: block;
}

.property-map-stage {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.property-map-panel {
	background: var(--property-white);
	border-radius: 32px;
	padding: 24px;
	box-shadow: var(--property-shadow-soft);
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-height: 640px;
}

.property-map-panel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.property-map-panel-header strong {
	font-size: 20px;
	color: var(--property-dark);
}

.property-map-controls {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.property-map-controls button {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid var(--property-line);
	background: #fff;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.property-map-controls button:hover {
	border-color: var(--property-primary);
	color: var(--property-primary);
}

.nemo-map-surface {
	position: relative;
	flex: 1;
	border-radius: 24px;
	overflow: hidden;
	background: #dbeafe;
}

.property-map {
	width: 100%;
	height: 100%;
	min-height: 520px;
}

.property-map-fallback {
	/*position: absolute;
	inset: 0;*/
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 600;
	color: var(--property-gray-600);
	background: rgba(255, 255, 255, 0.92);
}

.property-map-fallback.is-visible {
	display: flex;
}

.nemo-map-detail {
	position: absolute;
	top: 24px;
	right: 24px;
	width: 360px;
	max-width: calc(100% - 48px);
	display: flex;
	flex-direction: column;
	border-radius: 26px;
	background: var(--property-white);
	box-shadow: var(--property-shadow-card);
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: all 0.25s ease;
}

.nemo-map-detail.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}


.property-detail {
	background: #f8fafc;
	padding: 48px 0 96px;
}

.detail-hero {
	max-width: 1120px;
	margin: 0 auto 40px;
	padding: 32px;
	border-radius: 18px;
	background: #ffffff;
	color: #0f172a;
	border: 1px solid #e5e7eb;
	box-shadow: none;
}

.detail-hero-ambient {
	display: none;
}

.detail-hero-inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 28px;
}

.detail-hero-main {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.detail-breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #94a3b8;
}

.detail-breadcrumb a {
	color: #1d4ed8;
	text-decoration: none;
	font-weight: 600;
}


.detail-hero-title {
	margin: 0;
	font-size: clamp(30px, 3.6vw, 40px);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #111827;
}

.detail-hero-subtitle {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #475569;
}

.detail-hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.detail-premium-banner {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 14px;
	padding: 14px 18px;
	border-radius: 16px;
	background: #fefce8;
	color: #92400e;
	border: 1px solid #fde68a;
}

.detail-premium-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, #facc15 0%, #f97316 100%);
	color: #92400e;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.detail-premium-icon i {
	font-size: 20px;
	line-height: 1;
}

.detail-premium-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 13px;
	color: #92400e;
}

.detail-premium-copy strong {
	font-size: 14px;
	font-weight: 800;
}

.detail-premium-copy span {
	font-weight: 600;
	letter-spacing: -0.01em;
}

.detail-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: #0f172a;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
}

.detail-badge.tone-primary {
	background: rgba(34, 197, 94, 0.12);
	border-color: rgba(34, 197, 94, 0.3);
	color: #166534;
}

.detail-badge.tone-accent {
	background: rgba(250, 204, 21, 0.18);
	border-color: rgba(250, 204, 21, 0.45);
	color: #92400e;
}

.detail-badge.tone-neutral {
	background: #f8fafc;
	border-color: #e2e8f0;
}

.detail-hero-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 8px;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	overflow: hidden;
}

.detail-hero-stats article {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	background: #fafbfc;
	border-right: 1px solid #e5e7eb;
}

.detail-hero-stats article:nth-of-type(2n) {
	background: #ffffff;
}

.detail-hero-stats article:last-child {
	border-right: none;
}

.detail-hero-stats span {
	font-size: 12px;
	color: #6b7280;
	font-weight: 600;
}

.detail-hero-stats strong {
	font-size: 18px;
	color: #111827;
	font-weight: 700;
}

.detail-hero-actions {
	flex: 0 0 260px;
	max-width: 260px;
	align-self: flex-start;
	display: flex;
	flex-direction: column;
	gap: 16px;
	text-align: right;
}

.detail-hero-price {
	margin: 0;
	font-size: clamp(24px, 3.4vw, 32px);
	font-weight: 700;
	color: #2563eb;
}

.detail-hero-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.detail-hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	border: 1px solid #d1d5db;
	color: #1f2937;
	background: #ffffff;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.detail-hero-btn.primary {
	border-color: #2563eb;
	background: #2563eb;
	color: #ffffff;
}

.detail-hero-btn.outline {
	color: #2563eb;
	background: #ffffff;
	border-color: #2563eb;
}

.detail-hero-btn.ghost {
	background: #f3f4f6;
	border-color: #e5e7eb;
	color: #4b5563;
}

.detail-hero-btn:hover,
.detail-hero-btn:focus {
	background: #1d4ed8;
	border-color: #1d4ed8;
	color: #ffffff;
}

.detail-shell {
	max-width: 1120px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
	padding: 0 32px;
	align-items: start;
}

.detail-primary {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.detail-secondary {
	position: -webkit-sticky;
	position: sticky;
	top: 120px;
	align-self: flex-start;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.detail-card {
	background: #ffffff;
	border-radius: 18px;
	padding: 28px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-card:hover,
.detail-card:focus-within {
	border-color: #cbd5f5;
	box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
}

.detail-card:focus-within {
	outline: none;
}
.detail-card-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.detail-card-head__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1 1 auto;
	min-width: 0;
}

.detail-card-head--map {
	align-items: center;
	justify-content: space-between;
}

.detail-card-head h2 {
	margin: 0;
	font-size: 20px;
	color: #0f172a;
	font-weight: 700;
}

.detail-card-head p {
	margin: 0;
	font-size: 13px;
	color: #64748b;
}

.detail-gallery-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.detail-gallery-main {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	background: #0f172a;
}

.detail-gallery-main img {
	width: 100%;
	height: clamp(320px, 55vw, 540px);
	object-fit: cover;
	display: block;
}

.detail-gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	border: none;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.55);
	color: #f8fafc;
	font-size: 30px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.detail-gallery-nav:hover,
.detail-gallery-nav:focus {
	background: rgba(59, 130, 246, 0.8);
	transform: translateY(-50%) scale(1.05);
}

.detail-gallery-nav.prev {
	left: 18px;
}

.detail-gallery-nav.next {
	right: 18px;
}

.detail-thumb-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
	gap: 5px;
}

.detail-thumb-list button {
	border: 2px solid transparent;
	border-radius: 5px;
	overflow: hidden;
	height: 86px;
	padding: 0;
	background: transparent;
	cursor: pointer;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.detail-thumb-list button:hover,
.detail-thumb-list button:focus {
	transform: translateY(-2px);
}

.detail-thumb-list button.is-active {
	border-color: var(--property-primary);
}

.detail-thumb-list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.detail-feature-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
}

.detail-feature-grid article {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 20px;
	background: #ffffff;
	border-bottom: 1px solid #e5e7eb;
}

.detail-feature-grid article:nth-child(odd) {
	background: #fafafa;
}

.detail-feature-grid article:nth-child(even) {
	border-left: 1px solid #e5e7eb;
}

.detail-feature-grid article:nth-last-child(-n+2) {
	border-bottom: none;
}

.detail-feature-grid article:nth-last-child(2):nth-child(even) {
	border-bottom: 1px solid #e5e7eb;
}

.detail-feature-grid span {
	font-size: 12px;
	color: #6b7280;
	font-weight: 600;
}

.detail-feature-grid strong {
	font-size: 16px;
	color: #111827;
	font-weight: 600;
}

.detail-spec-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
}

.detail-spec {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 16px 20px;
	background: #ffffff;
	border-bottom: 1px solid #e5e7eb;
}

.detail-spec:nth-child(even) {
	border-left: 1px solid #e5e7eb;
}

.detail-spec:nth-last-child(-n+2) {
	border-bottom: none;
}

.detail-spec:nth-last-child(2):nth-child(even) {
	border-bottom: 1px solid #e5e7eb;
}

.detail-spec span {
	font-size: 13px;
	color: #6b7280;
	font-weight: 500;
}

.detail-spec strong {
	margin: 0;
	font-size: 16px;
	color: #111827;
	font-weight: 600;
	text-align: right;
}


.detail-highlight-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
}

.detail-highlight-list li {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 16px 20px;
	gap: 6px;
	background: #ffffff;
	border-bottom: 1px solid #e5e7eb;
}

.detail-highlight-list li:nth-child(even) {
	border-left: 1px solid #e5e7eb;
}

.detail-highlight-list li:nth-last-child(-n+2) {
	border-bottom: none;
}

.detail-highlight-list li:nth-last-child(2):nth-child(even) {
	border-bottom: 1px solid #e5e7eb;
}

.detail-highlight-list span {
	font-size: 12px;
	color: #6b7280;
	font-weight: 600;
}

.detail-highlight-list strong {
	font-size: 16px;
	color: #111827;
	font-weight: 600;
}

.detail-map-shell {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.detail-map-card .property-map {
	width: 100%;
	height: 360px;
}

.detail-map-address {
	margin: 16px 0 0;
	font-size: 15px;
	color: #475569;
}

.detail-map-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.12);
	color: #2563eb;
	text-decoration: none;
	margin-top: 0;
	flex: 0 0 auto;
	transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.detail-map-link:hover,
.detail-map-link:focus {
	background: #2563eb;
	color: #ffffff;
	box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.detail-map-link i {
	font-size: 20px;
}

.detail-summary-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.detail-summary-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.detail-summary-list li {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 10px 0;
	border-bottom: 1px solid #e2e8f0;
	gap: 12px;
}

.detail-summary-list li:last-child {
	border-bottom: none;
}

.detail-summary-list span {
	color: #94a3b8;
	font-size: 13px;
	font-weight: 600;
	flex: 1 1 auto;
	min-width: 0;
}

.detail-summary-list strong {
	font-size: 15px;
	color: #0f172a;
	text-align: right;
	flex: 0 0 auto;
}

.detail-agent-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	background: linear-gradient(145deg, #000000 0%, #830000 100%);
	color: #e2e8f0;
	border: none;
}

.detail-agent-profile {
	display: flex;
	align-items: center;
    flex-wrap: wrap;
	gap: 15px;
    justify-content: center;
}

.detail-agent-profile img {
	width: 100px;
	height: 100px;
	border-radius: 18px;
	object-fit: cover;
}

.detail-agent-profile strong {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: #f8fafc;
}

.map-marker {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	transform: translate(-50%, calc(-100% - 12px));
	font-size: 12px;
	color: #0f172a;
	pointer-events: auto;
	animation: markerPop 0.45s ease forwards;
	transition: transform 0.16s ease, opacity 0.16s ease;
}

.map-marker__bubble {
	min-width: 168px;
	max-width: 220px;
	padding: 10px 14px;
	border-radius: 16px;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.14);
	box-shadow: 0 16px 38px rgba(15, 23, 42, 0.2);
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: left;
	line-height: 1.45;
}

.map-marker__price {
	font-weight: 800;
	font-size: 13px;
	color: #111827;
}

.map-marker__summary {
	font-size: 11px;
	color: #475569;
	display: -webkit-box;
	line-clamp: 2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.map-marker__meta {
	font-size: 11px;
	color: #94a3b8;
	display: -webkit-box;
	line-clamp: 1;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.map-marker__agent {
	font-size: 11px;
	color: #64748b;
	font-weight: 600;
}

.map-marker__pin {
	width: 44px;
	height: 44px;
	margin-top: 10px;
	border-radius: 50%;
	border: 3px solid rgba(255, 47, 87, 0.3);
	background: #ffffff;
	display: grid;
	place-items: center;
	position: relative;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
}

.map-marker__pin::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -12px;
	width: 14px;
	height: 14px;
	background: #ffffff;
	border-left: 3px solid rgba(255, 47, 87, 0.3);
	border-bottom: 3px solid rgba(255, 47, 87, 0.3);
	transform: translate(-50%, 0) rotate(45deg);
	border-radius: 2px;
}

.map-marker__avatar {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	overflow: hidden;
	display: grid;
	place-items: center;
	background: #fee2e2;
	color: #b91c1c;
	font-weight: 800;
	font-size: 15px;
}

.map-marker__avatar span {
	line-height: 1;
}

.map-marker__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.map-marker.is-featured .map-marker__bubble {
	border-color: rgba(255, 47, 87, 0.65);
	box-shadow: 0 22px 46px rgba(255, 47, 87, 0.3);
}

.map-marker.is-featured .map-marker__pin {
	border-color: rgba(255, 47, 87, 0.55);
	box-shadow: 0 16px 36px rgba(255, 47, 87, 0.3);
}

.map-marker.is-featured .map-marker__pin::after {
	border-color: rgba(255, 47, 87, 0.55);
}

.map-marker.is-active .map-marker__bubble {
	border-color: rgba(255, 47, 87, 0.7);
	box-shadow: 0 24px 52px rgba(255, 47, 87, 0.28);
}

.map-marker.is-active .map-marker__pin {
	border-color: rgba(255, 47, 87, 0.7);
}

.detail-agent-actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 12px;
}


.detail-agent-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	border-radius: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.detail-agent-btn.primary {
	background: #2563eb;
	color: #ffffff;
	box-shadow: none;
}

.detail-agent-btn.secondary {
	background: #ffffff;
	border: 1px solid #2563eb;
	color: #2563eb;
}

.detail-agent-btn:hover,
.detail-agent-btn:focus {
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.detail-contact-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: #ffffff;
}

.detail-contact-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	border-radius: 12px;
	font-weight: 600;
	text-decoration: none;
	color: #ffffff;
	background: #2563eb;
	box-shadow: none;
	transition: background 0.18s ease, transform 0.18s ease;
}

.detail-contact-btn.ghost {
	background: #ffffff;
	color: #2563eb;
	border: 1px solid #2563eb;
	box-shadow: none;
}

.detail-contact-btn:hover,
.detail-contact-btn:focus {
	transform: translateY(-1px);
	background: #1d4ed8;
}

.detail-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.detail-panel-back {
	border: none;
	background: transparent;
	font-size: 13px;
	font-weight: 600;
	color: var(--property-primary);
	cursor: pointer;
}

.detail-panel-header-actions {
	display: flex;
	gap: 8px;
}

.detail-panel-icon {
	width: 36px;
	height: 36px;
	border-radius: 12px;
	border: 1px solid var(--property-line);
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.detail-panel-icon:hover,
.detail-panel-icon:focus {
	border-color: var(--property-primary);
	color: var(--property-primary);
}

.detail-panel-hero {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #e2e8f0;
	overflow: hidden;
}

.detail-panel-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.detail-panel-tags {
	position: absolute;
	left: 16px;
	bottom: 16px;
	display: flex;
	gap: 8px;
}

.detail-panel-tags span {
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	background: rgba(15, 23, 42, 0.9);
	color: #f8fafc;
}

.detail-panel-tags span[data-detail-chip="featured"] {
	background: rgba(37, 99, 235, 0.92);
}

.nemo-map-detail-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px 22px 24px;
}

.detail-panel-meta {
	margin: 0;
	font-size: 13px;
	color: var(--property-gray-500);
}

.detail-panel-title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: var(--property-dark);
}

.detail-panel-headline {
	margin: 0;
	font-size: 14px;
	color: var(--property-gray-500);
}

.detail-panel-price-block {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.detail-panel-price {
	font-size: 22px;
	font-weight: 700;
	color: var(--property-accent);
}

.detail-panel-price-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 13px;
	color: var(--property-gray-500);
}

.detail-panel-price-tags span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.detail-panel-price-tags em {
	font-style: normal;
	font-weight: 600;
	color: var(--property-gray-600);
}

.detail-panel-price-tags strong {
	font-weight: 600;
	color: var(--property-gray-900);
}

.detail-panel-info,
.detail-panel-address {
	margin: 0;
	font-size: 14px;
	color: var(--property-gray-600);
}

.detail-panel-actions {
	display: flex;
	gap: 12px;
	margin-top: 10px;
}

.detail-panel-link,
.detail-panel-cta {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	border-radius: 14px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.detail-panel-link {
	border: 1px solid var(--property-line);
	color: var(--property-primary);
	background: #fff;
}

.detail-panel-link:hover,
.detail-panel-link:focus {
	border-color: var(--property-primary);
}

.detail-panel-cta {
	background: var(--property-primary);
	color: #fff;
	box-shadow: 0 12px 26px rgba(37, 99, 235, 0.25);
}

.detail-panel-cta:hover,
.detail-panel-cta:focus {
	background: #1d4ed8;
}

.property-contact-band {
	max-width: 1320px;
	margin: 72px auto 0;
	padding: 0 32px 96px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.property-office-card,
.property-inquiry-card {
	border-radius: 32px;
	padding: 32px;
	box-shadow: var(--property-shadow-soft);
}

.property-office-card {
	background: var(--property-dark);
	color: #e2e8f0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.property-office-card h3 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	color: #fff;
}

.property-office-card p {
	margin: 0;
	font-size: 15px;
}

.property-office-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 6px;
	font-size: 14px;
}

.property-office-admin {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
}

.property-office-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 10px;
}

.property-office-buttons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
	height: 42px;
	border-radius: 14px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	transition: all 0.2s ease;
}

.property-office-buttons a:hover,
.property-office-buttons a:focus {
	background: rgba(255, 255, 255, 0.18);
}

.property-inquiry-card {
	background: var(--property-white);
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.property-inquiry-card h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: var(--property-dark);
}

.property-inquiry-card p {
	margin: 0;
	font-size: 14px;
	color: var(--property-gray-500);
}

.property-inquiry-card form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}

.property-inquiry-card input,
.property-inquiry-card textarea {
	width: 100%;
	border-radius: 16px;
	border: 1px solid var(--property-line);
	background: #f8fafc;
	padding: 12px 16px;
	font-size: 14px;
}

.property-inquiry-card textarea {
	min-height: 120px;
	resize: vertical;
	grid-column: span 2;
}

.property-inquiry-card input:focus,
.property-inquiry-card textarea:focus {
	border-color: var(--property-primary);
	outline: none;
	background: #fff;
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.nemo-checkbox {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: var(--property-gray-600);
}

.nemo-checkbox input {
	margin-top: 3px;
}

.property-inquiry-card button[type="submit"] {
	grid-column: span 2;
	height: 48px;
	border-radius: 16px;
	border: none;
	background: var(--property-primary);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease;
}

.property-inquiry-card button[type="submit"]:hover,
.property-inquiry-card button[type="submit"]:focus {
	background: #1d4ed8;
}

[data-list-empty] {
	display: none;
}

[data-list-empty].is-visible {
	display: block;
}

@keyframes markerPop {
	0% {
		opacity: 0;
		transform: translate(-50%, -60%) scale(0.85);
	}
	55% {
		opacity: 1;
		transform: translate(-50%, -48%) scale(1.05);
	}
	100% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.detail-premium-banner,
	.map-marker {
		animation: none !important;
	}

	.detail-card,
	.detail-secondary {
		transition: none !important;
	}
}

@media (min-width: 1025px) {
	.detail-info-card {
		position: sticky;
		top: 120px;
		align-self: flex-start;
	}
}

@media (max-width: 1280px) {
	.property-list {
		max-height: none;
	}

	.detail-shell {
		padding: 0 24px;
		grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
		gap: 28px;
	}

	.detail-hero {
		margin: 0 24px 32px;
		padding: clamp(26px, 4vw, 40px);
	}
}

@media (max-width: 1120px) {
	.nemo-map-detail {
		position: fixed;
		left: 24px;
		right: 24px;
		bottom: 24px;
		top: auto;
		width: auto;
		max-width: none;
		z-index: 200;
		transform: translateY(24px);
	}

	.nemo-map-detail.is-visible {
		transform: translateY(0);
	}
}

@media (max-width: 900px) {
	.property-map-shell {
		padding: 0 24px;
		gap: 24px;
	}

	.detail-hero {
		margin: 0 24px 28px;
		padding: 28px;
	}

	.detail-hero-inner {
		flex-direction: column;
		gap: 24px;
	}

	.detail-hero-actions {
		flex: 1 1 auto;
		width: 100%;
	}

	.property-contact-band {
		grid-template-columns: 1fr;
		margin-top: 56px;
		padding: 0 24px 80px;
	}

	.detail-hero-buttons {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 10px;
	}

	.detail-hero-btn {
		flex: 1;
		min-width: 0;
	}

	.detail-shell {
		grid-template-columns: minmax(0, 1fr);
		padding: 0 24px;
		gap: 24px;
	}

	.detail-secondary {
		flex-direction: column;
		gap: 16px;
		position: static;
		top: auto;
	}

	.detail-info-card {
		position: static;
		top: auto;
	}

	.detail-secondary .detail-card {
		flex: 1 1 auto;
		width: 100%;
	}

	.detail-feature-grid {
		grid-template-columns: 1fr;
	}

	.detail-feature-grid article:nth-child(even) {
		border-left: none;
	}

	.detail-feature-grid article {
		border-bottom: 1px solid #e5e7eb;
	}

	.detail-feature-grid article:last-child {
		border-bottom: none;
	}

	.detail-spec-grid {
		grid-template-columns: 1fr;
	}

	.detail-spec:nth-child(even) {
		border-left: none;
	}

	.detail-spec {
		border-bottom: 1px solid #e5e7eb;
	}

	.detail-spec:last-child {
		border-bottom: none;
	}

	.detail-highlight-list {
		grid-template-columns: 1fr;
	}

	.detail-highlight-list li:nth-child(even) {
		border-left: none;
	}

	.detail-highlight-list li {
		border-bottom: 1px solid #e5e7eb;
	}

	.detail-highlight-list li:last-child {
		border-bottom: none;
	}

	.detail-gallery-main img {
		height: 420px;
	}
}

@media (max-width: 768px) {
	.property-side-panel,
	.property-map-panel,
	.property-office-card,
	.property-inquiry-card,
	.detail-card,
	.detail-agent-card {
		border-radius: 24px;
		padding: 24px;
	}

	.detail-hero {
		margin: 0 20px 28px;
		padding: clamp(24px, 5vw, 36px);
	}

	.detail-shell {
		padding: 0 20px;
	}

	.detail-secondary {
		flex-direction: column;
		position: static;
		top: auto;
	}

	.detail-info-card {
		position: static;
		top: auto;
	}

	.detail-secondary .detail-card {
		flex: 1 1 auto;
	}

	.detail-hero-buttons {
		flex-direction: column;
	}

	.detail-hero-btn {
		width: 100%;
	}

	.detail-gallery-main img {
		height: 360px;
	}

	.detail-thumb-list {
		grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	}

	.property-filter-grid {
		grid-template-columns: 1fr;
	}

	.property-filter-actions {
		.property-filter-actions button {
			width: 100%;
		}

		.property-sort-control {
			width: 100%;
		}

		.property-sort-control select {
			width: 100%;
		}

		.property-card {
			grid-template-columns: minmax(0, 1fr);
		}

		.property-card-thumb {
			min-height: 200px;
		}

		.property-map-panel {
			min-height: 520px;
		}

		.property-map-controls {
			flex-direction: row;
		}
	}

	@media (max-width: 640px) {
		.property-map-shell {
			padding: 0 20px;
		}

		.property-content {
			padding: 32px 0 72px;
		}

		.property-detail {
			padding: 40px 0 80px;
		}

		.detail-hero {
			margin: 0 16px 24px;
			padding: 24px;
		}

		.detail-hero-title {
			font-size: 30px;
		}

		.detail-hero-actions {
			gap: 14px;
		}

		.detail-hero-stats {
			grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
		}

		.detail-shell {
			padding: 0 16px;
		}

		.detail-gallery-main img {
			height: 320px;
		}

		.detail-agent-actions {
			grid-template-columns: 1fr;
		}

		.property-contact-band {
			padding: 0 20px 72px;
			gap: 20px;
		}

		.property-inquiry-card form {
			grid-template-columns: 1fr;
		}

		.property-inquiry-card textarea,
		.property-inquiry-card button[type="submit"] {
			grid-column: auto;
		}
	}

	@media (max-width: 480px) {
		.property-map-shell {
			padding: 0 16px;
		}

		.property-side-panel,
		.property-map-panel,
		.property-office-card,
		.property-inquiry-card,
		.detail-card,
		.detail-agent-card {
			padding: 20px;
		}

		.detail-hero {
			padding: 22px;
		}

		.detail-hero-title {
			font-size: 26px;
		}

		.detail-gallery-main img {
			height: 240px;
		}

		.detail-thumb-list button {
			height: 64px;
		}

		.detail-feature-grid article,
		.detail-spec {
			flex-direction: column;
			align-items: flex-start;
			gap: 8px;
		}

		.detail-feature-grid strong,
		.detail-spec strong {
			text-align: left;
			max-width: 100%;
		}
	}
}