.od-hotspot-wrap {
    --od-icon-size: 32px;
    --od-mobile-icon-size: 28px;
    --od-icon-opacity: 1;
    --od-icon-hover-opacity: 1;
    --od-label-show-transition: 0.16s;
    --od-label-hide-transition: 0.16s;
    position: relative;
    display: inline-block;
    width: 100%;
    line-height: normal;
    overflow: visible;
}

.od-hotspot-wrap__img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.od-hotspot-overlay {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: 12px;
    background: var(--od-dim-overlay-color, rgba(0,0,0,0.35));
    transition: background var(--od-spotlight-transition, 0.35s) ease, opacity var(--od-spotlight-transition, 0.35s) ease;
}

.od-hotspot--dim-enabled.is-spotlight-active .od-hotspot-overlay {
    background: radial-gradient(
        circle var(--od-spotlight-radius, 140px) at var(--od-spotlight-x, 50%) var(--od-spotlight-y, 50%),
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 62%,
        var(--od-dim-overlay-color, rgba(0,0,0,0.35)) 100%
    );
}

.od-hotspot-marker {
    --od-current-icon-size: var(--od-icon-size, 32px);
    position: absolute;
    z-index: 5;
    transform: translate(-50%, -50%);
    width: var(--od-current-icon-size);
    height: var(--od-current-icon-size);
}

.od-hotspot-marker:hover,
.od-hotspot-marker:focus-within,
.od-hotspot-marker.is-active {
    z-index: 30;
}

.od-hotspot-point {
    position: relative;
    width: var(--od-current-icon-size);
    height: var(--od-current-icon-size);
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--od-point-color, #c92a2a);
    color: #fff;
    opacity: var(--od-icon-opacity, 1);
    cursor: pointer;
    z-index: 6;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
    text-decoration: none;
}

.od-hotspot-point::before {
    content: "";
    position: absolute;
    inset: -25%;
    border-radius: 50%;
    border: 2px solid var(--od-point-color, #c92a2a);
    opacity: 0.35;
    animation: od-hotspot-pulse 1.8s infinite;
}

.od-hotspot-wrap.od-hotspot--desktop-pulse-off:not(.is-mobile) .od-hotspot-point::before,
.od-hotspot-wrap.od-hotspot--mobile-pulse-off.is-mobile .od-hotspot-point::before {
    display: none;
    animation: none;
}

.od-hotspot-point__plus {
    position: relative;
    width: 50%;
    height: 50%;
    display: block;
}

.od-hotspot-point__plus::before,
.od-hotspot-point__plus::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 999px;
}

.od-hotspot-point__plus::before {
    width: 100%;
    height: 25%;
}

.od-hotspot-point__plus::after {
    width: 25%;
    height: 100%;
}

.od-hotspot-point:hover,
.od-hotspot-point:focus,
.od-hotspot-point.is-active,
.od-hotspot-marker.is-active .od-hotspot-point {
    transform: scale(1.08);
    outline: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.28);
    background: var(--od-point-hover-color, var(--od-point-color, #c92a2a));
    opacity: var(--od-icon-hover-opacity, var(--od-icon-opacity, 1));
}

.od-hotspot-point:hover::before,
.od-hotspot-point:focus::before,
.od-hotspot-marker.is-active .od-hotspot-point::before {
    border-color: var(--od-point-hover-color, var(--od-point-color, #c92a2a));
}

.od-hotspot-point:focus-visible {
    outline: 3px solid rgba(255,255,255,0.9);
    outline-offset: 3px;
}

@keyframes od-hotspot-pulse {
    0% {
        transform: scale(0.85);
        opacity: 0.35;
    }
    70% {
        transform: scale(1.25);
        opacity: 0;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.od-hotspot-label {
    position: absolute;
    z-index: 7;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: max-content;
    max-width: 240px;
    padding: 8px 10px;
    background: #fff;
    color: var(--od-title-color, #111827);
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transition-property: opacity, transform, visibility;
    transition-duration: var(--od-label-hide-transition, 0.16s), var(--od-label-hide-transition, 0.16s), 0s;
    transition-timing-function: ease, ease, linear;
    transition-delay: 0s, 0s, var(--od-label-hide-transition, 0.16s);
}

.od-hotspot-label__title {
    color: var(--od-title-color, #111827);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.16s ease;
}

.od-hotspot-label__title--link:hover,
.od-hotspot-label__title--link:focus,
.od-hotspot-marker:hover .od-hotspot-label__title,
.od-hotspot-marker:focus-within .od-hotspot-label__title,
.od-hotspot-marker.is-active .od-hotspot-label__title {
    color: var(--od-title-hover-color, var(--od-title-color, #111827));
}

.od-hotspot-wrap.od-hotspot--underline-always .od-hotspot-label__title--link,
.od-hotspot-wrap.od-hotspot--underline-always .od-hotspot-label__title--link:hover,
.od-hotspot-wrap.od-hotspot--underline-always .od-hotspot-label__title--link:focus {
    text-decoration: underline !important;
    text-decoration-line: underline !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.od-hotspot-wrap.od-hotspot--underline-hover .od-hotspot-label__title--link {
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.od-hotspot-wrap.od-hotspot--underline-hover .od-hotspot-label__title--link:hover,
.od-hotspot-wrap.od-hotspot--underline-hover .od-hotspot-label__title--link:focus {
    text-decoration: underline !important;
    text-decoration-line: underline !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.od-hotspot-wrap.od-hotspot--underline-never .od-hotspot-label__title--link,
.od-hotspot-wrap.od-hotspot--underline-never .od-hotspot-label__title--link:hover,
.od-hotspot-wrap.od-hotspot--underline-never .od-hotspot-label__title--link:focus,
.od-hotspot-wrap.od-hotspot--underline-never .od-hotspot-marker:hover .od-hotspot-label__title--link,
.od-hotspot-wrap.od-hotspot--underline-never .od-hotspot-marker:focus-within .od-hotspot-label__title--link,
.od-hotspot-wrap.od-hotspot--underline-never .od-hotspot-marker.is-active .od-hotspot-label__title--link {
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.od-hotspot-label__text {
    display: block;
    margin-top: 4px;
    color: var(--od-text-color, #4b5563);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    transition: color 0.16s ease;
}

.od-hotspot-marker:hover .od-hotspot-label__text,
.od-hotspot-marker:focus-within .od-hotspot-label__text,
.od-hotspot-marker.is-active .od-hotspot-label__text {
    color: var(--od-text-hover-color, var(--od-text-color, #4b5563));
}

.od-hotspot--display-label:not(.is-mobile) .od-hotspot-label,
.od-hotspot--display-hover:not(.is-mobile) .od-hotspot-marker:hover .od-hotspot-label,
.od-hotspot--display-hover:not(.is-mobile) .od-hotspot-marker:focus-within .od-hotspot-label,
.od-hotspot-wrap.is-mobile .od-hotspot-marker.is-active .od-hotspot-label {
    opacity: 1;
    visibility: visible;
    transition-duration: var(--od-label-show-transition, 0.16s), var(--od-label-show-transition, 0.16s), 0s;
    transition-delay: 0s, 0s, 0s;
}

.od-hotspot-marker--label-bottom .od-hotspot-label {
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(calc(-50% + var(--od-label-shift-x, 0px))) translateY(2px);
}

.od-hotspot-marker--label-bottom:hover .od-hotspot-label,
.od-hotspot-marker--label-bottom:focus-within .od-hotspot-label,
.od-hotspot--display-label:not(.is-mobile) .od-hotspot-marker--label-bottom .od-hotspot-label,
.od-hotspot-wrap.is-mobile .od-hotspot-marker--label-bottom.is-active .od-hotspot-label {
    transform: translateX(calc(-50% + var(--od-label-shift-x, 0px))) translateY(0);
}

.od-hotspot-marker--label-top .od-hotspot-label {
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(calc(-50% + var(--od-label-shift-x, 0px))) translateY(-2px);
}

.od-hotspot-marker--label-top:hover .od-hotspot-label,
.od-hotspot-marker--label-top:focus-within .od-hotspot-label,
.od-hotspot--display-label:not(.is-mobile) .od-hotspot-marker--label-top .od-hotspot-label,
.od-hotspot-wrap.is-mobile .od-hotspot-marker--label-top.is-active .od-hotspot-label {
    transform: translateX(calc(-50% + var(--od-label-shift-x, 0px))) translateY(0);
}

.od-hotspot-marker--label-left .od-hotspot-label {
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(calc(-50% + var(--od-label-shift-y, 0px))) translateX(-2px);
}

.od-hotspot-marker--label-left:hover .od-hotspot-label,
.od-hotspot-marker--label-left:focus-within .od-hotspot-label,
.od-hotspot--display-label:not(.is-mobile) .od-hotspot-marker--label-left .od-hotspot-label,
.od-hotspot-wrap.is-mobile .od-hotspot-marker--label-left.is-active .od-hotspot-label {
    transform: translateY(calc(-50% + var(--od-label-shift-y, 0px))) translateX(0);
}

.od-hotspot-marker--label-right .od-hotspot-label {
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(calc(-50% + var(--od-label-shift-y, 0px))) translateX(2px);
}

.od-hotspot-marker--label-right:hover .od-hotspot-label,
.od-hotspot-marker--label-right:focus-within .od-hotspot-label,
.od-hotspot--display-label:not(.is-mobile) .od-hotspot-marker--label-right .od-hotspot-label,
.od-hotspot-wrap.is-mobile .od-hotspot-marker--label-right.is-active .od-hotspot-label {
    transform: translateY(calc(-50% + var(--od-label-shift-y, 0px))) translateX(0);
}

.od-hotspot-wrap.is-mobile .od-hotspot-marker:not(.is-active) .od-hotspot-label {
    opacity: 0 !important;
    visibility: hidden !important;
}

.od-hotspot-wrap.is-mobile .od-hotspot-marker {
    --od-current-icon-size: var(--od-mobile-icon-size, 28px);
}

.od-hotspot-wrap.is-mobile .od-hotspot-label {
    max-width: min(240px, calc(100vw - 32px));
    padding: 7px 9px;
    font-size: 13px;
}

.od-hotspot-wrap.is-mobile .od-hotspot-label__title {
    font-size: 13px;
}

.od-hotspot-wrap.is-mobile .od-hotspot-label__text {
    font-size: 12px;
}
