/* Hotres Map Styles */

.hotres-map {
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Custom marker styles */
.hotres-marker {
	background: none;
	border: none;
}

.hotres-marker-inner svg {
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
	transition: transform 0.2s ease;
}

.hotres-marker:hover .hotres-marker-inner svg {
	transform: scale(1.1);
}

/* Numbered marker for multiple apartments at same location */
.hotres-marker-numbered {
	background: none;
	border: none;
}

.hotres-marker-numbered-inner {
	width: 40px;
	height: 40px;
	background: #D4C5B9;
	border: 3px solid #FFFFFF;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 16px;
	color: #333;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	transition: transform 0.2s ease;
}

.hotres-marker-numbered:hover .hotres-marker-numbered-inner {
	transform: scale(1.1);
}

/* Popup styles */
.hotres-popup-wrapper .leaflet-popup-content-wrapper {
	padding: 0;
	border-radius: 8px;
	overflow: hidden;
}

.hotres-popup-wrapper .leaflet-popup-content {
	margin: 0;
	min-width: 250px;
}

.hotres-popup {
	max-height: 400px;
	overflow-y: auto;
}

.hotres-popup-item {
	display: flex;
	flex-direction: column;
	padding: 0;
}

.hotres-popup-item + .hotres-popup-item {
	border-top: 1px solid #e0e0e0;
}

.hotres-popup-image {
	width: 100%;
	height: 150px;
	overflow: hidden;
	background: #f5f5f5;
}

.hotres-popup-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hotres-popup-content {
	padding: 15px;
}

.hotres-popup-title {
	margin: 0 0 8px 0;
	font-size: 16px!important;
	font-weight: 600;
	color: #333;
	line-height: 1.3;
}

a.hotres-popup-link {
    background-color: var(--e-global-color-accent);
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    line-height: var(--e-global-typography-accent-line-height);
    fill: var(--e-global-color-primary);
    color: var(--e-global-color-primary);
    transition-duration: 0.3s;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--e-global-color-9f2b35c);
}

.hotres-popup-address {
	margin: 0 0 8px 0;
	font-size: 13px;
	color: #666;
	line-height: 1.4;
}

.hotres-popup-price {
	margin: 0 0 12px 0;
	font-size: 14px;
	color: #333;
}

.hotres-popup-price strong {
	color: #FF8C00;
	font-weight: 600;
}

.hotres-popup-link {
	display: inline-block;
	padding: 8px 16px;
	background: #FF8C00;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 500;
	text-align: center;
	transition: background 0.2s ease;
}

.hotres-popup-link:hover {
	background: #E67E00;
	color: #fff;
}

/* Custom scrollbar for popup with multiple apartments */
.hotres-popup::-webkit-scrollbar {
	width: 6px;
}

.hotres-popup::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.hotres-popup::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 3px;
}

.hotres-popup::-webkit-scrollbar-thumb:hover {
	background: #555;
}

/* Responsive styles */
@media (max-width: 768px) {
	.hotres-map {
		border-radius: 4px;
	}
	
	.hotres-popup-wrapper .leaflet-popup-content {
		min-width: 220px;
	}
	
	.hotres-popup-image {
		height: 120px;
	}
	
	.hotres-popup-title {
		font-size: 14px;
	}
	
	.hotres-popup-address,
	.hotres-popup-price {
		font-size: 12px;
	}
}
