/* Keep the existing gallery layout; make its controls readable and touchable. */
.crt-device-ui .popup-w .crt-gallery-status {
  position:absolute; top:12px; left:60px; right:60px; margin:0;
  color:#fff; text-align:center; font-size:14px; line-height:28px;
  pointer-events:none; z-index:2;
}
.crt-device-ui .popup-w .bx-controls-direction a {
  background:none !important; text-indent:0 !important;
  width:44px; height:44px; color:#222; font:28px/44px Arial,sans-serif;
  text-align:center; text-decoration:none;
}
.crt-device-ui .popup-w .bx-controls-direction { direction:inherit; }
.crt-device-ui .popup-w .bx-controls a:focus-visible {
  outline:3px solid #94bd0f; outline-offset:2px;
}
.crt-device-ui .popup-w .bx-pager { bottom:-36px !important; padding-top:0; }
.crt-device-ui .popup-w .bx-pager .bx-pager-item a {
  position:relative; width:44px; height:44px; margin:0 !important;
  background:transparent !important; text-indent:-9999px;
}
.crt-device-ui .popup-w .bx-pager .bx-pager-item a::after {
  content:''; position:absolute; top:17px; left:17px; width:10px; height:10px;
  background:#fff; border-radius:50%;
}
.crt-device-ui .popup-w .bx-pager .bx-pager-item a.active::after { background:#94bd0f; }
.crt-device-ui .popup-w .bx-wrapper,
.crt-device-ui .popup-w .bx-viewport { touch-action:pan-y pinch-zoom; }
