/* === Map Popup === */
.leaflet-popup-content-wrapper {
    border-radius: 10px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18) !important;
    padding: 0 !important;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0 !important;
    min-width: 220px;
    max-width: 280px;
}

.leaflet-popup-tip {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
}

.popup-card {
    padding: 0;
}

.popup-header {
    padding: 10px 14px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.popup-header-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.popup-header h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.popup-body {
    padding: 10px 14px;
}

.popup-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    opacity: 0.7;
}

.popup-description {
    font-size: 13px;
    color: #444;
    line-height: 1.4;
    margin-bottom: 6px;
}

.popup-address {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}

.popup-address svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.popup-image {
    width: 100%;
    max-height: 140px;
    object-fit: cover;
}

.popup-footer {
    padding: 8px 14px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
}

.popup-link {
    font-size: 12px;
    color: var(--primary-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.popup-link:hover {
    text-decoration: underline;
}

.popup-link svg {
    width: 12px;
    height: 12px;
}

/* === Custom Marker Icons === */
.custom-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    border: 2px solid white;
}

.custom-marker-inner {
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.custom-marker-inner img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}
