.hatton-map-wrapper {
    width: 100%;
    position: relative;
}

.hatton-map-container {
    width: 100%;
    background: #f4f3ef;
    z-index: 1;
}

/* Custom Marker Styling - Configured directly from Elementor */
.hatton-custom-marker {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.hatton-custom-marker:hover {
    transform: scale(1.2) translateY(-2px);
}

/* Leaflet Popup Design Overrides */
.leaflet-popup-content-wrapper {
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.leaflet-popup-content {
    margin: 0 !important;
    font-family: inherit;
    line-height: 1.5;
}

.hatton-map-popup {
    display: flex;
    flex-direction: column;
    max-width: 260px;
}

.hatton-popup-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.hatton-popup-body {
    padding: 14px 16px;
}

.hatton-popup-title {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.hatton-popup-desc {
    margin: 0 0 14px 0;
    font-size: 12px;
    line-height: 1.5;
}

.hatton-popup-btn {
    display: block;
    padding: 8px 14px;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.leaflet-popup-tip {
    background: #ffffff;
}

/* Rounded, elegant close button overlay */
.leaflet-container a.leaflet-popup-close-button {
    color: #ffffff !important;
    background: rgba(44, 42, 41, 0.5) !important;
    padding: 5px !important;
    font-size: 14px !important;
    border-radius: 50%;
    width: 20px !important;
    height: 20px !important;
    line-height: 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    top: 10px !important;
    right: 10px !important;
    z-index: 100;
    transition: background-color 0.2s ease;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    background: rgba(44, 42, 41, 0.8) !important;
}
