.crcms-search-app {
	max-width: 1100px;
	margin: 0 auto;
}

/* Map panel */
.crcms-search-map-panel {
	margin-bottom: 1.5rem;
}

.crcms-search-address-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.6rem;
}

.crcms-search-address-row input[type="text"] {
	flex: 1;
	min-width: 200px;
	padding: 0.5rem 0.75rem;
}

.crcms-search-address-row button {
	padding: 0.5rem 1rem;
	border: 1px solid #2c6e49;
	background: #fff;
	color: #2c6e49;
	border-radius: 4px;
	cursor: pointer;
}

#crcms-search-map {
	height: 320px;
	border-radius: 8px;
	z-index: 1;
}

.crcms-search-radius-row {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 0.6rem;
}

.crcms-search-radius-row input[type="range"] {
	flex: 1;
}

.crcms-search-radius-row input[type="number"] {
	width: 70px;
}

/* Filters */
.crcms-search-filters {
	background: #fafafa;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
}

.crcms-search-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1rem;
	margin: 1rem 0;
}

.crcms-search-field label {
	display: block;
	font-size: 0.8rem;
	color: #555;
	margin-bottom: 0.25rem;
}

.crcms-search-field select,
.crcms-search-field input[type="number"],
.crcms-search-field input[type="text"] {
	width: 100%;
	padding: 0.4rem 0.5rem;
}

.crcms-search-field-wide {
	grid-column: 1 / -1;
}

.crcms-search-checkboxes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin-top: 0.4rem;
}

.crcms-search-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.9rem;
	font-weight: normal;
}

/* Toolbar */
.crcms-search-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	font-size: 0.9rem;
	color: #555;
}

/* Results */
.crcms-search-results {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem;
}

.crcms-search-empty {
	grid-column: 1 / -1;
	text-align: center;
	color: #777;
	padding: 2rem 0;
}

.crcms-result-card {
	display: block;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: box-shadow 0.15s ease;
}

.crcms-result-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.crcms-result-thumb {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.crcms-result-thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	background: #f0f6f2;
}

.crcms-result-body {
	padding: 0.75rem 1rem 1rem;
}

.crcms-result-body h3 {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
}

.crcms-result-meta {
	font-size: 0.82rem;
	color: #666;
	margin-bottom: 0.5rem;
}

.crcms-result-price {
	font-weight: 600;
	color: #2c6e49;
}

@media ( max-width: 640px ) {
	.crcms-search-address-row {
		flex-direction: column;
	}
	.crcms-search-address-row input,
	.crcms-search-address-row button {
		width: 100%;
	}
}
