/* Comprehensive image protection when downloads are disabled */
    img {
      -webkit-user-select: none !important;
      -moz-user-select: none !important;
      -ms-user-select: none !important;
      user-select: none !important;
      -webkit-touch-callout: none !important;
      -webkit-user-drag: none !important;
      -khtml-user-drag: none !important;
      -moz-user-drag: none !important;
      -o-user-drag: none !important;
      user-drag: none !important;
      pointer-events: none !important;
    }

    /* Disable image saving through CSS */
    img {
      -webkit-filter: none !important;
      filter: none !important;
    }

    /* Prevent image copying */
    img::selection {
      background: transparent !important;
    }

    img::-moz-selection {
      background: transparent !important;
    }

         /* Allow lightbox functionality but prevent other interactions */
     [data-toggle="lightbox"] {
       pointer-events: auto !important;
       cursor: pointer !important;
     }

     [data-toggle="lightbox"]:hover {
       cursor: pointer !important;
     }
