/* siymon — fit for every phone (iOS WKWebView / Android WebView / PWA).
   Notches & gesture bars (safe areas), no sideways scroll, no iOS input zoom, stable full-height screens, comfortable tap targets. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;-webkit-tap-highlight-color:transparent;scroll-padding-top:calc(env(safe-area-inset-top,0px) + 64px)}
body{min-height:100vh;min-height:100dvh;overflow-x:clip;overscroll-behavior-y:auto;-webkit-font-smoothing:antialiased;
  padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
img,video,canvas,svg{max-width:100%}
button,a,[role="button"],select,summary,label{touch-action:manipulation}
/* iOS zooms into inputs whose font is < 16px: keep them at 16px on phones */
@media (max-width:820px){
  input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px!important}
  .btn,button.btn,.sheet-card .btn{min-height:44px}
}
/* the top bar and bottom bars keep clear of the notch / home indicator */
header{padding-top:env(safe-area-inset-top,0px)}
.bottom-nav,.cart-bar,nav.subnav,.tabbar{padding-bottom:max(env(safe-area-inset-bottom,0px),0px)}
.toast{bottom:calc(env(safe-area-inset-bottom,0px) + 84px)}
/* very small phones (320–360px) */
@media (max-width:360px){
  .wrap{padding-left:10px;padding-right:10px}
  h1{font-size:20px}
  .actions{gap:6px;flex-wrap:wrap}
}
/* tablets / large phones in landscape: keep content readable */
@media (min-width:700px) and (orientation:landscape){.wrap{max-width:980px}}
/* disable text selection callout on controls (feels native) but keep it in content */
button,.btn,nav a{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
