.dz-marker {
    width: 16px;
    height: 16px;
    transition: transform 0.1s ease;
}

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

@media (pointer: coarse) {
    .dz-marker {
        width: 20px;
        height: 20px;
    }
}

.dz-popup {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99999;
}

.deepzoom-popups {
    position: absolute;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
}

.deepzoom-popups.is-active {
    pointer-events: auto;
}

body.dz-popup-open {
    overflow: hidden;
}

.dz-popup-inner {
    background: white;
    padding: 16px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    width: min(720px, 100%);
    max-height: 100%;
    overflow-y: auto;
    position: relative;
}

.dz-popup-inner img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 8px;
}

.dz-popup-inner a {
    color: var(--wp--preset--color--haverhill-orange);
}

.dz-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

