.strato-bayiler {
	--strato-orange: #e56b24;
	--strato-ink: #171717;
	--strato-muted: #6c6c6c;
	--strato-line: #deded9;
	--strato-soft: #f5f5f2;
	box-sizing: border-box;
	max-width: 1180px;
	margin: 0 auto;
	color: var(--strato-ink);
}

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

.strato-bayiler__header {
	margin: 0 0 24px;
}

.strato-bayiler__eyebrow {
	margin: 0 0 7px;
	color: var(--strato-orange);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.3;
}

.strato-bayiler__header h2,
.strato-bayiler__header p {
	margin: 0;
}

.strato-bayiler__header h2 {
	font-size: clamp(1.65rem, 3vw, 2.25rem);
	line-height: 1.15;
}

.strato-bayiler__header > p:last-child {
	margin-top: 8px;
	color: var(--strato-muted);
	line-height: 1.55;
}

.strato-bayiler__workspace {
	display: grid;
	grid-template-areas:
		"controls map"
		"results map";
	grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.45fr);
	grid-template-rows: auto minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--strato-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.strato-bayiler__controls {
	grid-area: controls;
	padding: 22px;
	background: var(--strato-soft);
}

.strato-bayiler__panel-heading,
.strato-bayiler__results-heading,
.strato-bayiler__card-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.strato-bayiler__panel-heading {
	margin-bottom: 18px;
}

.strato-bayiler__panel-heading h3,
.strato-bayiler__results-heading h3 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.3;
}

.strato-bayiler__count,
.strato-bayiler__results-heading > span {
	color: var(--strato-muted);
	font-size: 0.82rem;
	font-weight: 600;
}

.strato-bayiler__filters {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
	align-items: end;
	margin: 0;
}

.strato-bayiler__field {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.strato-bayiler__field--search {
	grid-column: 1 / -1;
}

.strato-bayiler__field label {
	color: var(--strato-muted);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.3;
}

.strato-bayiler__field input,
.strato-bayiler__field select {
	width: 100%;
	max-width: 100%;
	min-height: 43px;
	padding: 9px 11px;
	border: 1px solid #cfcfc8;
	border-radius: 4px;
	background: #fff;
	color: var(--strato-ink);
	font: inherit;
}

.strato-bayiler__field input:focus,
.strato-bayiler__field select:focus {
	border-color: var(--strato-orange);
	outline: 2px solid rgba(229, 107, 36, 0.2);
	outline-offset: 1px;
}

.strato-bayiler__actions {
	display: flex;
	flex-wrap: wrap;
	grid-column: 1 / -1;
	gap: 10px;
	align-items: center;
}

.strato-bayiler__button,
.strato-bayiler__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 41px;
	padding: 9px 14px;
	border-radius: 4px;
	font: inherit;
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.strato-bayiler__button {
	border: 1px solid var(--strato-orange);
	background: var(--strato-orange);
	color: #fff;
	cursor: pointer;
}

.strato-bayiler__button:hover,
.strato-bayiler__button:focus {
	border-color: #c45517;
	background: #c45517;
	color: #fff;
}

.strato-bayiler__reset {
	color: var(--strato-ink);
	font-size: 0.86rem;
	font-weight: 700;
}

.strato-bayiler__map-panel {
	position: relative;
	grid-area: map;
	min-width: 0;
	background: #e7e4dc;
}

.strato-bayiler__map {
	width: 100%;
	height: 640px;
	min-height: 380px;
}

.strato-bayiler__map-note {
	position: absolute;
	right: 12px;
	bottom: 10px;
	left: 12px;
	margin: 0;
	padding: 7px 10px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--strato-muted);
	font-size: 0.73rem;
	line-height: 1.35;
	pointer-events: none;
}

.strato-bayiler__results {
	grid-area: results;
	min-width: 0;
	padding: 20px 22px 22px;
}

.strato-bayiler__results-heading {
	margin-bottom: 12px;
}

.strato-bayiler__results-list {
	display: grid;
	max-height: 488px;
	gap: 11px;
	overflow-y: auto;
	padding: 2px 7px 2px 1px;
}

.strato-bayiler__card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--strato-line);
	border-radius: 6px;
	background: #fff;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.strato-bayiler__card--map-ready {
	cursor: pointer;
}

.strato-bayiler__card--map-ready:hover,
.strato-bayiler__card--map-ready:focus,
.strato-bayiler__card--selected {
	border-color: var(--strato-orange);
	box-shadow: 0 7px 18px rgba(229, 107, 36, 0.13);
	outline: none;
}

.strato-bayiler__card--map-ready:focus {
	outline: 2px solid rgba(229, 107, 36, 0.25);
	outline-offset: 2px;
}

.strato-bayiler__image-wrap {
	aspect-ratio: 16 / 7;
	overflow: hidden;
	background: #ecece8;
}

.strato-bayiler__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.strato-bayiler__content {
	display: grid;
	gap: 9px;
	padding: 15px;
}

.strato-bayiler__name,
.strato-bayiler__location,
.strato-bayiler__address {
	margin: 0;
}

.strato-bayiler__name {
	min-width: 0;
	font-size: 1rem;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.strato-bayiler__map-hint {
	flex: 0 0 auto;
	color: var(--strato-orange);
	font-size: 0.7rem;
	font-weight: 700;
}

.strato-bayiler__location {
	color: var(--strato-muted);
	font-size: 0.82rem;
	font-weight: 700;
}

.strato-bayiler__address {
	color: #414141;
	font-size: 0.84rem;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.strato-bayiler__contact,
.strato-bayiler__popup-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 3px;
}

.strato-bayiler__action {
	min-height: 35px;
	padding: 7px 10px;
	border: 1px solid rgba(229, 107, 36, 0.45);
	color: #a94c16;
	font-size: 0.78rem;
}

.strato-bayiler__action:hover,
.strato-bayiler__action:focus {
	border-color: var(--strato-orange);
	background: rgba(229, 107, 36, 0.08);
	color: #8f3f11;
}

.strato-bayiler__notice {
	margin: 0;
	padding: 14px 15px;
	border-left: 3px solid var(--strato-orange);
	background: var(--strato-soft);
	color: var(--strato-muted);
	line-height: 1.5;
}

.strato-bayiler .leaflet-container {
	z-index: 0;
	font: inherit;
}

.strato-bayiler .leaflet-control-zoom a {
	color: var(--strato-ink);
}

.strato-bayiler .leaflet-popup-content {
	min-width: 190px;
	margin: 13px 15px;
	line-height: 1.45;
}

.strato-bayiler .leaflet-popup-content strong {
	display: inline-block;
	margin-bottom: 3px;
}

.strato-bayiler .strato-bayiler__popup-actions {
	margin-top: 9px;
}

.strato-bayiler .strato-bayiler__popup-actions a {
	color: #a94c16;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 820px) {
	.strato-bayiler__workspace {
		grid-template-areas:
			"controls"
			"map"
			"results";
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto auto;
	}

	.strato-bayiler__map {
		height: 360px;
		min-height: 300px;
	}

	.strato-bayiler__results-list {
		max-height: none;
		overflow: visible;
	}
}

@media (max-width: 520px) {
	.strato-bayiler__header {
		margin-bottom: 17px;
	}

	.strato-bayiler__controls,
	.strato-bayiler__results {
		padding: 17px;
	}

	.strato-bayiler__filters {
		grid-template-columns: 1fr;
	}

	.strato-bayiler__field--search,
	.strato-bayiler__actions {
		grid-column: auto;
	}

	.strato-bayiler__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.strato-bayiler__button,
	.strato-bayiler__reset {
		width: 100%;
		text-align: center;
	}

	.strato-bayiler__map {
		height: 320px;
	}

	.strato-bayiler__map-note {
		font-size: 0.68rem;
	}

	.strato-bayiler__contact {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.strato-bayiler__action {
		width: 100%;
		padding-right: 5px;
		padding-left: 5px;
		font-size: 0.72rem;
	}
}
