
.ddf-map-results-count {
	margin-bottom: 12px;
	color: #6b6b6b;
	font-size: 14px;
}

.ddf-map-view {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
	gap: 20px;
	margin-bottom: 28px;
	align-items: start;
}

.ddf-map-view-container {
	border: 1px solid #e6e3da;
	border-radius: 10px;
	overflow: hidden;
	position: sticky;
	top: 16px;
}

#ddf-map {
	width: 100%;
	height: 640px;
	background: #eceae3;
}

.ddf-map-sidebar {
	max-height: 640px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-right: 2px;
}

.ddf-map-results-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ddf-map-card {
	display: flex;
	flex-direction: row;
}
.ddf-map-card .ddf-card-photo {
	width: 120px;
	height: auto;
	flex: 0 0 120px;
}
.ddf-map-card .ddf-card-body {
	padding: 10px 14px;
}
.ddf-map-card .ddf-card-price { font-size: 16px; }
.ddf-map-card .ddf-card-address { font-size: 13px; }
.ddf-map-card .ddf-card-meta { font-size: 12px; margin-top: 4px; }

/* Google's InfoWindow content -- reuse the same card look inside its own scroll/close chrome */
.gm-style .ddf-card {
	width: 220px;
}
.gm-style .ddf-card .ddf-card-photo { height: 130px; }

@media (max-width: 768px) {
	.ddf-map-view {
		grid-template-columns: 1fr;
	}
	.ddf-map-view-container {
		position: static;
	}
	#ddf-map { height: 420px; }
	.ddf-map-sidebar { max-height: none; }
}

@media (max-width: 480px) {
	#ddf-map { height: 320px; }
	.ddf-map-card .ddf-card-photo { width: 96px; flex-basis: 96px; }
}
