.atmos-image-hotspot {
    width: 100%;
}

.atmos-image-hotspot__canvas {
    position: relative;
    display: inline-block;
    width: 100%;
    line-height: 0;
}

.atmos-image-hotspot__canvas picture {
    display: block;
}

.atmos-image-hotspot__image {
    display: block;
    width: 100%;
    height: auto;
}

.atmos-image-hotspot__point {
    display: block;
    position: absolute;
    z-index: 2;
    width: 24px;
    height: 24px;
    background-color: #f5f5f5;
    border-radius: 50%;
    line-height: normal;
    cursor: pointer;
    animation: atmos-hotspot-pulse 1.8s infinite;
}

.atmos-image-hotspot__cross {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    width: 100%;
    height: 100%;
    color: #722162;
}

.atmos-image-hotspot__tooltip {
    position: absolute;
    display: none;
    width: 190px;
    padding: 10px;
    font-weight: bold;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .22);
    color: #222;
    text-align: center;
}

.atmos-image-hotspot__tooltip-right {
    top: 0;
    left: 20px;
    transform: translateY(-50%);
}
.atmos-image-hotspot__tooltip-left {
    top: 0;
    right: 20px;
    transform: translateY(-50%);
}
.atmos-image-hotspot__tooltip-down {
    left: 14px;
    transform: translateX(-50%);
}
.atmos-image-hotspot__tooltip-up {
    bottom: 20px;
    left: 14px;
    transform: translateX(-50%);
}

.atmos-image-hotspot__point:hover .atmos-image-hotspot__tooltip,
.atmos-image-hotspot__point:focus-within .atmos-image-hotspot__tooltip {
    display: block;
}

.atmos-image-hotspot__tooltip img {
    display: block;
    width: 100%;
    max-height: 130px;
    margin: 0 auto 8px;
    object-fit: contain;
}

.atmos-image-hotspot__name,
.atmos-image-hotspot__price {
    display: block;
}

.atmos-image-hotspot__name {
    font-weight: 600;
}

.atmos-image-hotspot__price {
    margin-top: 4px;
}

@keyframes atmos-hotspot-pulse {
    0% { box-shadow: 0 0 0 0 #722162; }
    70% { box-shadow: 0 0 0 10px rgba(204, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0); }
}

@media (max-width: 767px) {
    .atmos-image-hotspot__point {
        display: none;
    }
}
