/* z.shop hard viewport lock and mobile stability — v38 */
*,*::before,*::after{box-sizing:border-box}
html{
  inline-size:100%;max-inline-size:100%;min-inline-size:0;min-block-size:100%;
  overflow-x:hidden!important;overscroll-behavior-x:none;overscroll-behavior-y:none;
  -webkit-text-size-adjust:100%!important;text-size-adjust:100%!important;
  scroll-behavior:auto!important;scrollbar-gutter:auto!important;
}
body{
  position:relative;inline-size:100%;max-inline-size:100%;min-inline-size:0;min-block-size:100%;
  overflow-x:hidden!important;overscroll-behavior-x:none;overscroll-behavior-y:none;
}
@supports(overflow:clip){html,body{overflow-x:clip!important}}
main,header,footer,nav,section,article,aside,form,fieldset,
.zs-shell-container,.container,.container-xxl,.row,[class*="__content"],[class*="__main"],
[class*="grid"],[class*="layout"],.col,.col-12{min-inline-size:0;max-inline-size:100%}
img,picture,video,canvas,svg,iframe{max-inline-size:100%;block-size:auto}
table{max-inline-size:100%}
pre,code,a,p,li,td,th{overflow-wrap:anywhere;word-break:normal}
a,button,input,textarea,select,[role="button"]{touch-action:manipulation;-webkit-tap-highlight-color:transparent}

/* Fixed UI never adds viewport width and stays on a single compositor layer. */
.zs-shell-bottom-nav,.zs-mobile-bottom-nav-v129,#zsChatSheet.chat-sheet{
  inset-inline:0!important;inline-size:auto!important;width:auto!important;max-inline-size:none!important;max-width:none!important;
}
.zs-shell-bottom-nav,.zs-mobile-bottom-nav-v129,.zs-shell-backtop,#zsChatOpen,#zsChatSheet,.zs-shell-drawer{
  overflow-anchor:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;
}
.zs-shell-bottom-nav,.zs-mobile-bottom-nav-v129,.zs-shell-backtop,#zsChatOpen{
  transform:translate3d(0,0,0);contain:layout paint;
}

/* Shared page lock for drawer/chat; no body positioning and no scroll restoration jump. */
html.zs-scroll-locked,html.zs-scroll-locked body{overflow:hidden!important;overscroll-behavior:none!important}
body.zs-chat-open,body.zs-shell-menu-open{padding-inline-end:var(--zs-scrollbar-compensation,0px)!important}

@media(max-width:900px),(hover:none) and (pointer:coarse){
  /* Hard mobile layout: no sticky header movement when Safari chrome expands/collapses. */
  .zs-shell-header,.z15-header,header.zshop-header,.zshop-site-header{position:relative!important;inset-block-start:auto!important;top:auto!important}
  html{scrollbar-gutter:auto!important}
  html[lang="fa"] body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]),
  html[lang="fa"] body textarea,html[lang="fa"] body select{font-size:16px!important;line-height:1.5!important}
  .zs-shell-search input,.zs-shell-drawer-search input{font-size:16px!important}
  .zs-shell-bottom-nav,.zs-mobile-bottom-nav-v129,.zs-shell-backtop,#zsChatOpen,#zsChatSheet,.zs-shell-drawer-panel{
    transition:none!important;animation:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  }
  .zs-shell-bottom-nav,.zs-mobile-bottom-nav-v129{background:#fff!important}
  .zs-shell-drawer-backdrop,#zsChatSheet.chat-sheet{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* Release v38: final mobile width and viewport hardening. */
html,body{margin-inline:0!important;width:100%!important;max-width:100%!important}
body .zs-shell-bottom-nav,
body nav.zs-shell-bottom-nav,
body .zs-mobile-bottom-nav-v129,
body nav.zs-mobile-bottom-nav-v129{
  left:0!important;right:0!important;inset-inline:0!important;
  width:auto!important;inline-size:auto!important;max-width:none!important;max-inline-size:none!important;
  margin:0!important;transform:none!important;translate:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  contain:layout paint!important;overflow-x:clip!important;
}
body #zsChatSheet.chat-sheet{
  left:0!important;right:0!important;inset-inline:0!important;
  width:auto!important;inline-size:auto!important;max-width:none!important;max-inline-size:none!important;
}
body #zsChatSheet .chat-panel{max-inline-size:calc(100% - 24px)!important}
@media(max-width:900px),(hover:none) and (pointer:coarse){
  html,body{min-width:0!important;max-width:100%!important;touch-action:pan-x pan-y pinch-zoom}
  body .zs-shell-bottom-nav,body nav.zs-shell-bottom-nav,
  body .zs-mobile-bottom-nav-v129,body nav.zs-mobile-bottom-nav-v129{
    background:#fff!important;border-radius:20px 20px 0 0!important;
    box-shadow:0 -8px 24px rgba(7,63,49,.10)!important;
  }
  body #zsChatSheet.chat-sheet{padding-inline:12px!important}
}
