/**
 * WooCommerce Image Protection Styles
 */

/* Disable selection and dragging on product gallery */
.woocommerce-product-gallery,
.woocommerce-product-gallery img,
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__wrapper {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-user-drag: none !important;
    user-drag: none !important;
    -webkit-touch-callout: none !important;
}

/* Disable pointer events on specific elements to prevent dragging */
.woocommerce-product-gallery img {
    pointer-events: auto;
    -webkit-user-drag: none !important;
    user-drag: none !important;
}

/* Prevent selection highlight */
.woocommerce-product-gallery *::selection {
    background: transparent;
}

.woocommerce-product-gallery *::-moz-selection {
    background: transparent;
}

/* Prevent image outline on focus */
.woocommerce-product-gallery img:focus {
    outline: none;
}

/* Prevent copy cursor */
.woocommerce-product-gallery img {
    cursor: default;
}

/* Protection for WooCommerce zoom */
.woocommerce-product-gallery__trigger {
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* Protection for PhotoSwipe lightbox if used */
.pswp img {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-user-drag: none !important;
    user-drag: none !important;
    pointer-events: none !important;
}

.pswp__img {
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
}

/* Prevent long-press menu on mobile */
.woocommerce-product-gallery img {
    -webkit-touch-callout: none !important;
}

/* Additional protection for product thumbnails */
.woocommerce-product-gallery__image img,
.flex-control-thumbs img {
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
    user-drag: none !important;
}

