[data-image-viewer] {
    cursor: zoom-in;
}

[data-image-viewer]:focus {
    outline: 2px solid #8b6914;
    outline-offset: 2px;
}

body.image-viewer-open {
    overflow: hidden;
}

.image-viewer {
    background: rgba(0, 0, 0, 0.88);
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10000;
}

.image-viewer.is-open {
    display: block;
}

.image-viewer__image {
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.55);
    left: 50%;
    max-height: 90%;
    max-width: 90%;
    position: absolute;
    top: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.image-viewer__close {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    font: 42px/1 Arial, sans-serif;
    height: 48px;
    padding: 0;
    position: absolute;
    right: 18px;
    top: 12px;
    width: 48px;
}

.image-viewer__close:focus,
.image-viewer__close:hover {
    color: #d8bd62;
    outline: 0;
}

@media (max-width: 600px) {
    .image-viewer__image {
        max-height: 88%;
        max-width: 94%;
    }
}
