/* ARQA verified chair: stabilize Blocksy Flexy when RTL gallery is initialized on scroll. */
/* WooCommerce also injects a native zoomImg overlay which blocks pointer events and competes
   with ARQA's higher-resolution accessible magnifier. Hide only on the verified product. */
html[dir="rtl"] body.single-product.arqa-premium-product .woocommerce-product-gallery img.zoomImg{
  display:none!important;
  pointer-events:none!important;
}

html[dir="rtl"] body.single-product.arqa-premium-product .woocommerce-product-gallery .flexy-items{
  display:block!important;
  position:relative!important;
  direction:ltr!important;
  height:625px!important;
  min-height:0!important;
}
html[dir="rtl"] body.single-product.arqa-premium-product .woocommerce-product-gallery .flexy-items>.flexy-item{
  position:absolute!important;
  top:0!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  order:0!important;
  transform:none!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transition:opacity .16s ease;
}
html[dir="rtl"] body.single-product.arqa-premium-product .woocommerce-product-gallery .flexy-items>.flexy-item:first-child{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
html[dir="rtl"] body.single-product.arqa-premium-product .woocommerce-product-gallery.arqa-gallery-stable .flexy-items>.flexy-item:first-child:not(.arqa-slide-active){
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
html[dir="rtl"] body.single-product.arqa-premium-product .woocommerce-product-gallery.arqa-gallery-stable .flexy-items>.flexy-item.arqa-slide-active{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
html[dir="rtl"] body.single-product.arqa-premium-product .woocommerce-product-gallery .flexy-items>.flexy-item figure{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
}
html[dir="rtl"] body.single-product.arqa-premium-product .woocommerce-product-gallery .flexy-items>.flexy-item img{
  object-fit:contain!important;
  max-width:100%!important;
  max-height:100%!important;
}
html[dir="rtl"] body.single-product.arqa-premium-product .woocommerce-product-gallery.arqa-gallery-stable .flexy-pills li{
  cursor:pointer;
}
html[dir="rtl"] body.single-product.arqa-premium-product .woocommerce-product-gallery.arqa-gallery-stable .flexy-pills li:focus-visible{
  outline:3px solid #d31522;
  outline-offset:3px;
}
@media(max-width:1024px){
  html[dir="rtl"] body.single-product.arqa-premium-product .woocommerce-product-gallery .flexy-items{height:525px!important;}
}
@media(max-width:767px){
  html[dir="rtl"] body.single-product.arqa-premium-product .woocommerce-product-gallery .flexy-items{height:460px!important;}
}
@media(max-width:360px){
  html[dir="rtl"] body.single-product.arqa-premium-product .woocommerce-product-gallery .flexy-items{height:390px!important;}
}
@media(prefers-reduced-motion:reduce){
  html[dir="rtl"] body.single-product.arqa-premium-product .woocommerce-product-gallery .flexy-items>.flexy-item{transition:none!important;}
}
