
/* AVELLON v3.0 — Mobile QA baseline */
html,body{max-width:100%;overflow-x:hidden}
.av-container{max-width:100%}
button,a,input,select,textarea{touch-action:manipulation}
@media(max-width:760px){
  input,select,textarea{font-size:16px!important} /* prevents iOS auto zoom */
  button,a{min-tap-target-size:44px}
  .av-mobile-bottom{padding-bottom:env(safe-area-inset-bottom)}
  body{padding-bottom:env(safe-area-inset-bottom)}
  .av-header,.av-top-strip{max-width:100vw}
  .products{min-width:0}
  .av-product-card{min-width:0}
  .av-product-card img{max-width:100%;height:auto}
  .woocommerce-message,.woocommerce-error,.woocommerce-info{overflow-wrap:anywhere}
  table{max-width:100%}
}


/* AVELLON v3.5.3 — Mobile RTL viewport / white-screen hotfix
   Prevent hidden off-canvas UI from enlarging the RTL scrollable viewport. */
html,body{width:100%;max-width:100%;overflow-x:clip}
@supports not (overflow:clip){html,body{overflow-x:hidden}}
body,button,input,textarea,select{font-family:"Vazir Avellon",Tahoma,sans-serif!important}
@media(max-width:760px){
  html,body{position:relative;left:auto;right:auto;transform:none!important}
  body{min-width:0!important}
  main,.site-main,.av-home,.av-shop-page,.av-product-page,.av-cart-page,.av-checkout-page,.av-account-page,.av-page,.woocommerce{
    max-width:100%!important;min-width:0!important;transform:none!important;left:auto!important;right:auto!important;
  }
  .av-mobile-drawer,.av-shop-sidebar{max-width:calc(100vw - 24px)!important}
  .av-mobile-bottom{width:100vw!important;max-width:100vw!important;inset-inline:0!important}
}
