/* Babywearing — Smart image links v3.3 (2026-07-30). */

/* Disable hover zoom/lift on .pf-gallery photo grids (owner request). */
.pf-gallery img,
.pf-gallery img:hover { transform: none !important; transition: none !important; }
.pf-gallery img:hover { box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .2) !important; }

/* Divi gallery thumbnails whose lightbox target is NOT bigger: not clickable, no "+" overlay. */
.et_pb_gallery a.bw-gal-static { pointer-events: none !important; cursor: default !important; }
.et_pb_gallery a.bw-gal-static .et_overlay { display: none !important; }

/* Image links that open a bigger file -> zoom cursor. */
a.bw-zoom, .legacy-gallery-item a[href], .gallery-item a[href] { cursor: zoom-in; }

/* Built-in lightbox overlay. */
#bw-lb { position: fixed; inset: 0; background: rgba(0,0,0,.86); display: none; align-items: center; justify-content: center; z-index: 100000; cursor: zoom-out; padding: 20px; }
#bw-lb.open { display: flex; }
#bw-lb img { max-width: 92vw; max-height: 92vh; border-radius: 6px; box-shadow: 0 12px 44px rgba(0,0,0,.55); }
