.map-wrapper {
    width: 100%;
    max-width: 1400px;
    height: auto;
    position: relative;
}

.map-wrapper .tooltip img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px !important;
}

.map-wrapper img.global_img {
    width: auto;
    height: 100%;
    max-height: 550px;
}

.marker {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #8b7355;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 2;
}

.marker:hover {
    transform: translate(-50%, -50%) scale(1.3);
}

.tooltip {
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 3;
    width: 250px;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px;
    background: #ffffff;
    border-radius: 13px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.marker:hover+.tooltip {
    opacity: 1;
}
.tooltip-wrap .tooltip {
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
}

.tooltip-wrap.active .tooltip {
    opacity: 1;
    visibility: visible;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(139, 115, 85,0.6);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(139, 115, 85, 0);
    }
}

img.active-img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
    display: none;
    opacity: 0.6;
}

.tooltip-wrap {
    position: absolute;
}

.tooltip-wrap:hover+img.active-img {
    display: block;
}

.map-popup-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #333;
    position: relative;
}

.map-popup-content-wrapper img {
    width: 100%;
    border-radius: 3px;
}

.map-popup-content-wrapper .title {
    font-weight: 600;
    font-size: 16px;
    margin: 0;
    width: 100%;
    display: block;
}

.map-popup-content-wrapper .address {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.3;
    margin: 0;
    color: rgba(0, 0, 0, 0.68);
    width: 100%;
    display: block;
}

.map-popup-content-wrapper a.map_link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Responsive */

@media (max-width: 767px) {
    .tokyo .tooltip {
        left: auto;
        right: 0;
        transform: unset;
    }

    .bloomfield .tooltip {
        left: 0;
        transform: unset;
    }

}

@media (max-width: 480px) {

    .popup-photo-box {
        width: 100%;
    }
}