.amap-kit-map-wrap {
	position: relative;
	width: 100%;
	min-height: 360px;
	overflow: hidden;
	border-radius: 18px;
	background: #f2f4f7;
}

.amap-kit-map {
	width: 100%;
	min-height: 360px;
}

.amap-kit-card {
	position: absolute;
	left: 24px;
	bottom: 24px;
	z-index: 2;
	max-width: min(360px, calc(100% - 48px));
	padding: 18px 20px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
	backdrop-filter: blur(10px);
}

.amap-kit-card__title {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.35;
	color: #111827;
}

.amap-kit-card__address {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #4b5563;
}

.amap-kit-fallback {
	display: flex;
	min-height: 220px;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	padding: 28px;
	color: #374151;
	background: repeating-linear-gradient(
		-45deg,
		#f8fafc,
		#f8fafc 12px,
		#eef2f7 12px,
		#eef2f7 24px
	);
}

.amap-kit-fallback p {
	margin: 0;
}

.amap-kit-fallback__address {
	color: #6b7280;
}

.amap-kit-fallback--inline {
	height: 100%;
	min-height: 360px;
}

.amap-kit-info-window {
	display: grid;
	gap: 4px;
	max-width: 260px;
	font-size: 13px;
	line-height: 1.45;
}

.amap-kit-info-window strong {
	color: #111827;
}

.amap-kit-info-window span {
	color: #4b5563;
}

@media (max-width: 640px) {
	.amap-kit-map-wrap,
	.amap-kit-map,
	.amap-kit-fallback--inline {
		min-height: 300px;
	}

	.amap-kit-card {
		position: static;
		max-width: none;
		margin: 0;
		border-radius: 0;
		box-shadow: none;
	}
}
