/* Hover cards and pin separation for map search */
.map-search-hover {
    position: absolute;
    z-index: 14;
    width: min(340px, calc(100% - 28px));
    transform: translate(-50%, calc(-100% - 54px));
    pointer-events: none;
}
.map-search-hover[hidden] { display: none !important; }
.map-hover-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 20px 50px rgba(9,29,50,.24);
    backdrop-filter: blur(12px);
}
.map-hover-card::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 16px;
    height: 16px;
    background: rgba(255,255,255,.98);
    transform: translateX(-50%) rotate(45deg);
    border-radius: 3px;
}
.map-hover-media {
    width: 96px;
    height: 86px;
    overflow: hidden;
    border-radius: 13px;
    background: #edf2f7;
}
.map-hover-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.map-hover-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #155eef;
    font-weight: 900;
}
.map-hover-body { min-width: 0; }
.map-hover-meta {
    overflow: hidden;
    margin-bottom: 3px;
    color: #78879a;
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.map-hover-body strong {
    display: block;
    margin-bottom: 3px;
    color: #155eef;
    font-size: 16px;
    line-height: 1.1;
}
.map-hover-body h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 4px;
    color: #102b48;
    font-size: 12px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.map-hover-body p {
    overflow: hidden;
    margin: 0;
    color: #718096;
    font-size: 9px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.map-hover-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 5px;
    color: #40536a;
    font-size: 9px;
    font-weight: 700;
}
.map-hover-body small {
    display: block;
    margin-top: 6px;
    color: #155eef;
    font-size: 9px;
    font-weight: 900;
}
.map-pin {
    z-index: 6;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.map-pin:hover,
.map-pin:focus-visible {
    z-index: 15;
    transform: translate(-50%,-100%) scale(1.08);
    box-shadow: 0 10px 24px rgba(9,29,50,.32);
    outline: none;
}
@media (max-width: 760px) {
    .map-search-hover {
        display: none !important;
    }
}
