/**
 * Traditional Crafts Explorer
 * Map CSS
 */

.tce-map-wrapper {
	width: 100%;
	position: relative;
}

.tce-map {
	width: 100%;
	min-height: 600px;
	border-radius: 16px;
	overflow: hidden;
	background: #eee;
	position: relative;
}

.tce-map-loading {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	padding: 15px 25px;
	border-radius: 8px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
	z-index: 10;
}

.tce-map-error {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	background: #f8f5f0;
	border-radius: 12px;
	color: #777;
}

.tce-map-popup {
	min-width: 220px;
}

.tce-map-popup-title {
	margin: 0 0 8px;
	font-size: 18px;
}

.tce-map-popup-image {
	width: 100%;
	height: 130px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 10px;
}

.tce-map-popup-link {
	display: inline-block;
	margin-top: 10px;
	font-weight: 600;
	text-decoration: none;
}

@media (max-width: 700px) {

	.tce-map {
		min-height: 450px;
	}
}