/**
 * EL-599 - evo_imageprotect
 *
 * Images only. Never put user-select:none on a text container: product descriptions,
 * CGV and CMS copy must stay selectable.
 *
 * -webkit-user-drag covers Chrome/Safari/Edge; Firefox has no equivalent property and is
 * handled by the delegated dragstart handler in image-protect.js.
 * -webkit-touch-callout kills the iOS long-press "Save image" sheet. It is set on the
 * image wrappers too so that it inherits down to the <a> wrapping a product thumbnail,
 * otherwise iOS still offers the link callout with a "Save image" entry.
 */

img,
picture,
/* Verified pure-image wrappers of the empreinte theme (no body copy inside) */
.images-container .productcover2,
.product-image-wrapper,
.block-image,
/* creativeelements (lookbook CMS pages) */
.elementor-image,
.elementor-widget-image,
.elementor-image-box-img,
/* Opt-in hook for any wrapper added later */
[data-evo-imageprotect-guard] {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

/**
 * Chronopost pickup-point map (Leaflet): tiles and markers are <img> elements that the
 * user pans by dragging. Leaflet already sets draggable=false and manages its own
 * selection state, so hand these back untouched.
 */
.leaflet-container img,
.leaflet-container picture {
    -webkit-user-drag: auto;
    -webkit-touch-callout: default;
}
