/* Only active mobile galleries; native desktop presentation is unchanged. */
@media (max-width:767px) {
 .wj-product-detail-gallery .woocommerce-product-gallery.wj-mobile-gallery {
  position:relative;
  overflow:hidden;
  min-height:0!important;
 }
 .wj-product-detail-gallery .wj-mobile-gallery .flex-viewport {
  width:var(--wj-mobile-slide-width,80%);
  overflow:visible!important;
  margin-bottom:0!important;
 }
 .wj-product-detail-gallery .wj-mobile-gallery .flex-control-thumbs {
  display:none!important;
 }
 .wj-product-detail-gallery .wj-mobile-gallery .woocommerce-product-gallery__image,
 .wj-product-detail-gallery .wj-mobile-gallery .wj-mobile-gallery-clone {
  max-width:none!important;
  position:relative;
 }
 /* LCP registers its own hover zoom independently of Woo's zoom setting.
    Touch browsers may retain synthetic hover after selecting a variant. */
 .wj-product-detail-gallery .wj-mobile-gallery .woocommerce-product-gallery__image img[data-large_image],
 .wj-product-detail-gallery .wj-mobile-gallery .wj-mobile-gallery-clone img[data-large_image],
 .wj-product-detail-gallery .wj-mobile-gallery .lcp-inner.lcp-content {
  opacity:1!important;
 }
 .wj-product-detail-gallery .wj-mobile-gallery .lcp-inner.lcp-content-zoom {
  display:none!important;
 }
 .wj-mobile-gallery-controls {
  position:static;
 }
 .wj-mobile-gallery-count {
  position:absolute;
  z-index:4;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  box-sizing:border-box;
  min-width:50px;
  border-radius:20px;
  text-align:center;
  padding:4px 9px;
  color:#fff;
  background:rgba(17,17,17,.72);
  font-size:11px;
  font-weight:400;
  line-height:14px;
  font-variant-numeric:tabular-nums;
  pointer-events:none;
 }
 .wj-mobile-gallery-controls .wj-mobile-gallery-arrow {
  position:absolute;
  z-index:4;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  margin:0;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.65);
  color:var(--wj-ink,#111);
  font:inherit;
  font-size:16px;
  line-height:1;
  cursor:pointer;
 }
 .wj-mobile-gallery-arrow[data-wj-gallery-previous] {left:4px;}
 .wj-mobile-gallery-arrow[data-wj-gallery-next] {right:4px;}
 .wj-mobile-gallery-controls .wj-mobile-gallery-arrow:disabled {opacity:.35;cursor:default;}
 .wj-mobile-gallery-controls .wj-mobile-gallery-arrow:focus-visible {outline:2px solid var(--wj-ink,#111);outline-offset:-3px;}
}
