body.visor-imagenes-abierto {
    overflow: hidden;
}

.visor-imagenes {
    position: fixed;
    inset: 0;

    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 90px;

    background:
        rgba(
            7,
            9,
            11,
            0.92
        );

    backdrop-filter:
        blur(4px);
}

.visor-imagenes-contenido {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.visor-imagen-principal {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
    object-position: center;
}

.visor-imagenes-cerrar {
    width: 48px;
    height: 48px;

    position: absolute;

    right: 24px;
    top: 20px;

    z-index: 3;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.22
        );

    border-radius: 50%;

    background:
        rgba(
            0,
            0,
            0,
            0.36
        );

    color: white;

    font-size: 32px;

    line-height: 1;
}

.visor-imagenes-nav {
    width: 52px;
    height: 70px;

    position: absolute;

    top: 50%;

    z-index: 3;

    transform:
        translateY(-50%);

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.18
        );

    border-radius: 12px;

    background:
        rgba(
            0,
            0,
            0,
            0.32
        );

    color: white;

    font-size: 45px;

    line-height: 1;
}

.visor-imagenes-nav.anterior {
    left: 24px;
}

.visor-imagenes-nav.siguiente {
    right: 24px;
}

.visor-imagenes-cerrar:hover,
.visor-imagenes-nav:hover {
    background:
        rgba(
            255,
            255,
            255,
            0.16
        );
}

.visor-imagenes-contador {
    position: absolute;

    bottom: 24px;
    left: 50%;

    transform:
        translateX(-50%);

    padding:
        7px
        13px;

    border-radius: 20px;

    background:
        rgba(
            0,
            0,
            0,
            0.5
        );

    color: white;

    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 700px) {
    .visor-imagenes {
        padding:
            70px
            20px;
    }

    .visor-imagenes-nav {
        width: 42px;
        height: 56px;

        font-size: 34px;
    }

    .visor-imagenes-nav.anterior {
        left: 8px;
    }

    .visor-imagenes-nav.siguiente {
        right: 8px;
    }

    .visor-imagenes-cerrar {
        right: 12px;
        top: 12px;
    }
}
