.hover-map-container {
    width: 100%;
    position: relative;
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
}
.hover-map-admin-notice {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    z-index: 1000;
    background: #fff3cd;
    color: #664d03;
    border: 1px solid #ffe69c;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.4;
}
.hover-map-admin-notice-error {
    background: #f8d7da;
    color: #842029;
    border-color: #f5c2c7;
}
/* Strip Google's default InfoWindow chrome so our card design shows cleanly.
   Sizing/radius/shadow are now driven by the widget's Style tab controls
   (Card Width, Card Border Radius, Box Shadow) — no hardcoded values here. */
.hover-map-container .gm-style-iw-c {
    padding: 0 !important;
}
.hover-map-container .gm-style-iw-d {
    overflow: hidden !important;
    padding: 0 !important;
}
/* Close (X) button: hidden by default. Only "Click" trigger mode needs a
   manual close control — Hover closes on mouseout, and Always Open never
   closes — so it stays hidden in both those modes regardless of hover state. */
.hover-map-container .gm-ui-hover-effect {
    display: none !important;
}
.hover-map-container[data-trigger-mode="click"] .gm-ui-hover-effect {
    display: block !important;
    top: 4px !important;
    right: 4px !important;
}
.hover-map-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.hover-map-card-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.hover-map-card-body {
    padding: 12px;
}
.hover-map-card-title {
    margin: 0 0 6px 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}
.hover-map-card-desc {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* Fade-in animation (toggle: widget's "Fade-in Animation" switcher).
   Runs every time the InfoWindow re-renders its content, i.e. every time
   the card opens (hover in/click/page load for Always Open mode). */
.hover-map-card {
    opacity: 0;
    transform: translateY(4px);
    animation: hoverMapFadeIn_02ec342d 0.25s ease forwards;
}
.hover-map-card.hmap-no-anim {
    opacity: 1;
    transform: none;
    animation: none;
}
@keyframes hoverMapFadeIn_02ec342d {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}