.hfy-map-toggle-buttons {
display: flex;
gap: 8px;
margin-bottom: 15px;
justify-content: center;
}
.hfy-map-toggle-btn {
display: flex;
align-items: center;
gap: 6px;
padding: 8px 16px;
border: 2px solid #ebebeb;
background: #fff;
color: inherit;
font-family: var(--bde-body-font-family);
border-radius: 8px!important;
cursor: pointer;
font-size: 14px;
font-weight: 500;
border-radius: 8px;
transition: all 0.2s ease;
}
.hfy-map-toggle-btn:hover {
background: var(--bde-brand-primary-color);
border-radius: 8px;
color: #fff;
border: 2px solid #ebebeb;
}
.hfy-map-toggle-btn.active {
background: var(--bde-brand-primary-color);
color: #fff;
font-family: var(--bde-body-font-family);
border: 2px solid #ebebeb;
}
.hfy-map-toggle-btn svg {
width: 16px;
height: 16px;
} .hfy-map-container {
display: none;
width: 100%;
height: 800px;
border-radius: 8px;
overflow: hidden;
}
.hfy-map-container.active {
display: block;
} .hfy-osm-map {
background: #f8f9fa;
width: 100% !important;
height: 100% !important;
min-height: 400px !important;
position: relative !important;
} @media (min-width: 769px) {
.hfy-osm-map {
height: 800px !important;
}
} .hfy-osm-map .leaflet-container {
width: 100% !important;
height: 100% !important;
min-height: 400px;
} .hfy-osm-map .leaflet-tile {
width: 256px !important;
height: 256px !important;
}
.hfy-osm-marker {
background: #007cba;
border: 2px solid #fff;
border-radius: 50%;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
transition: all 0.2s ease;
}
.hfy-osm-marker:hover {
transform: scale(1.1);
box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.hfy-osm-marker-inner {
width: 100%;
height: 100%;
background: #007cba;
border-radius: 50%;
} .hfy-osm-info-window {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.hfy-osm-info-content {
padding: 0;
}
.hfy-osm-info-content h4 {
margin: 0 0 8px 0;
font-size: 16px;
font-weight: 600;
color: #333;
}
.hfy-osm-info-content p {
margin: 0 0 12px 0;
font-size: 14px;
color: #666;
line-height: 1.4;
}
.hfy-osm-view-details {
display: inline-block;
padding: 6px 12px;
background: #007cba;
color: #fff;
text-decoration: none;
border-radius: 4px;
font-size: 12px;
font-weight: 500;
transition: background 0.2s ease;
}
.hfy-osm-view-details:hover {
background: #005a87;
color: #fff;
text-decoration: none;
} @media (max-width: 768px) {
.hfy-map-toggle-buttons {
flex-direction: column;
gap: 6px;
}
.hfy-map-toggle-btn {
justify-content: center;
padding: 10px 16px;
}
.hfy-map-container {
height: 450px;
}
} .hfy-osm-loading {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(255, 255, 255, 0.9);
padding: 12px 20px;
border-radius: 6px;
font-size: 14px;
color: #666;
z-index: 1000;
} @media (max-width: 768px) {
.hfy-osm-loading {
padding: 8px 12px;
font-size: 12px;
background: rgba(255, 255, 255, 0.95);
border-radius: 4px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
} .hfy-google-map,
.hfy-osm-map {
position: relative;
z-index: 1;
} .leaflet-popup {
z-index: 1000;
}
.leaflet-popup-content-wrapper {
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.leaflet-popup-content {
margin: 12px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
} .hfy-listing-location {
margin: 20px 0;
}
.info-window-content .price-box {
display: none !important;;
}
.hfy-listing-location .hfy-map-toggle-buttons {
margin-bottom: 20px;
justify-content: flex-start; display: flex !important;
visibility: visible !important;
opacity: 1 !important;
position: relative !important;
z-index: 1000 !important;
}
.hfy-listing-location .hfy-map-container {
height: 400px !important;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.hfy-listing-location .location-wrapper,
.hfy-listing-location .static-location-wrapper {
position: relative;
} @media (max-width: 768px) {
.hfy-listing-location .hfy-map-container {
height: 300px;
}
.hfy-listing-location .hfy-map-toggle-buttons {
justify-content: center;
}
.hfy-osm-price-label {
font-size: 12px;
padding: 4px 8px;
min-width: 50px;
}
} .hfy-mobile-map-close-btn {
display: none;
position: absolute;
top: 15px;
right: 15px;
width: 40px;
height: 40px;
background: #fff;
border: 2px solid #ebebeb;
border-radius: 50%;
cursor: pointer;
z-index: 10000;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
transition: all 0.2s ease;
align-items: center;
justify-content: center;
}
.hfy-mobile-map-close-btn:hover {
background: #f8f9fa;
transform: scale(1.05);
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.hfy-mobile-map-close-btn svg {
width: 20px;
height: 20px;
fill: #666;
} .hfy-map-wrapper {
position: relative;
}
.hfy-map-wrapper .hfy-mobile-map-close-btn {
position: absolute;
top: 15px;
right: 15px;
} @media (max-width: 768px) {
.listings-map-visible-mobile .hfy-mobile-map-close-btn,
.listings-map-visible-tablet .hfy-mobile-map-close-btn {
display: flex;
} .hfy-mobile-map-close-btn {
z-index: 10001;
} .listings-map-visible-mobile .hfy-map-wrapper .hfy-mobile-map-close-btn,
.listings-map-visible-tablet .hfy-map-wrapper .hfy-mobile-map-close-btn {
position: fixed;
top: 20px;
right: 20px;
}
} .hfy-map-toggle-buttons {
display: flex !important;
visibility: visible !important;
opacity: 1 !important;
position: relative !important;
z-index: 1000 !important;
}
.hfy-map-toggle-btn {
display: flex !important;
visibility: visible !important;
opacity: 1 !important;
position: relative !important;
} .hfy-osm-marker-price {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
.hfy-osm-price-label {
overflow: hidden;
padding: 3px 8px;
border-radius: 16px;
font-family: var(--bde-body-font-family);
font-size: 14px;
font-weight: 400;
color: var(--Default-Text-Primary, #222);
background-color: #fff;
box-shadow: 0 1px 2px rgba(0, 0, 0, .6); text-align: center; transition: all 0.2s ease;
cursor: pointer; height: 25px;
width: 80px;
}
.hfy-osm-price-label:hover {
box-shadow: 0 2px 4px rgba(0, 0, 0, .8);
color: #0274BE !important;
} .hfy-osm-marker {
transition: all 0.2s ease;
} .hfy-osm-price-label[style*="color: #0274BE"] {
color: #0274BE !important;
font-weight: 600 !important;
} .hfy-osm-price-label[style*="color: #333"] {
color: #333 !important;
font-weight: 400 !important;
} .hfy-osm-marker[style*="z-index: 9999"] {
z-index: 9999 !important;
}
.hfy-osm-marker[style*="z-index: 0"] {
z-index: 0 !important;
} .hfy-osm-marker-price[style*="z-index: 9999"] {
z-index: 9999 !important;
}
.hfy-osm-marker-price[style*="z-index: 0"] {
z-index: 0 !important;
} .hfy-osm-marker[style*="transform: scale(1.2)"] {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
} @media (max-width: 768px) {
.hfy-osm-price-label {
font-size: 12px;
padding: 4px 8px;
min-width: 50px;
}
}