
#nautico-lightbox {
    display: none;
    position: fixed;
    z-index: 999999;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 50px 20px 20px;
    box-sizing: border-box;
}

#nautico-lightbox.activo {
    display: flex;
}

#nautico-lightbox img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

#nautico-lightbox .cerrar-lightbox {
    position: absolute;
    top: 12px;
    right: 22px;
    color: white;
    font-size: 38px;
    line-height: 1;
    font-family: Arial, sans-serif;
    font-weight: normal;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px 10px;
}

#nautico-lightbox .cerrar-lightbox:hover {
    color: #ccc;
}

body.lightbox-abierto {
    overflow: hidden;
}
