.rpm-leaflet-marker {
	background: transparent !important;
	border: 0 !important;
	width: 58px !important;
	height: 58px !important;
	z-index: 1000 !important;
}

.rpm-leaflet-marker .rpm-photo-marker {
	display: block !important;
	position: relative;
	width: 58px !important;
	height: 58px !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	border: 3px solid #fff !important;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35) !important;
	background: #fff !important;
	box-sizing: border-box !important;
}

.rpm-leaflet-marker .rpm-photo-marker img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: 50% !important;
}

.rpm-map-wrapper {
	position: relative;
	width: 100%;
	height: var(--rpm-map-height, 650px);
	overflow: hidden;
	border-radius: 16px;
}

.rpm-map {
	width: 100%;
	height: 100%;
}

.rpm-photo-marker {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #fff;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
	background: #fff;
}

.rpm-photo-marker img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rpm-map-card {
	position: absolute;
	left: 20px;
	bottom: 20px;
	width: 340px;
	max-width: calc(100% - 40px);
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.3s ease;
}

.rpm-map-card.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.rpm-map-card-image {
	position: relative;
	width: 100%;
	height: 190px;
}

.rpm-map-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rpm-map-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #222;
	font-size: 22px;
	line-height: 34px;
	text-align: center;
	cursor: pointer;
	z-index: 5;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rpm-map-close:hover {
	background: #f2f2f2;
}

.rpm-map-card-content {
	padding: 16px;
}

.rpm-card-title {
	margin: 0 0 6px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	color: #222;
}

.rpm-card-location {
	margin-bottom: 8px;
	font-size: 14px;
	color: #666;
}

.rpm-card-info {
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 1.5;
	color: #555;
}

.rpm-map-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}

.rpm-card-size {
	font-size: 15px;
	font-weight: 700;
	color: #222;
}

.rpm-card-rating {
	font-size: 14px;
	font-weight: 600;
	color: #222;
}

.rpm-card-button {
	display: inline-block;
	width: 100%;
	padding: 11px 15px;
	border-radius: 8px;
	background: #222;
	color: #fff !important;
	text-align: center;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 600;
	transition: background 0.2s ease;
	box-sizing: border-box;
}

.rpm-card-button:hover {
	background: #444;
	color: #fff !important;
}

.rpm-map .leaflet-popup-content-wrapper,
.rpm-map .leaflet-popup-tip {
	display: none;
}

@media (max-width: 767px) {
	.rpm-map-wrapper {
		height: 550px;
		border-radius: 12px;
	}

	.rpm-map-card {
		left: 12px;
		bottom: 12px;
		width: calc(100% - 24px);
		max-width: none;
	}

	.rpm-map-card-image {
		height: 160px;
	}

	.rpm-card-title {
		font-size: 18px;
	}
}
