/* Multy Health Care — PWA / native-app feel. Mobile rules only apply <768px; desktop is untouched. */
.mhc-prog{position:fixed;top:0;left:0;height:3px;width:0;z-index:20050;background:linear-gradient(90deg,#C9A227,#D9467A,#8E1038);box-shadow:0 0 8px rgba(217,70,122,.6);opacity:0;transition:width .22s ease,opacity .25s ease;pointer-events:none}
.mhc-pwa-toast{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 84px);transform:translate(-50%,16px);max-width:calc(100vw - 32px);background:#2b1b21;color:#fff;padding:10px 18px;border-radius:999px;font-size:14px;z-index:20040;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;box-shadow:0 8px 24px rgba(0,0,0,.3);text-align:center}
.mhc-pwa-toast.show{opacity:1;transform:translate(-50%,0)}
.mhc-inst{display:flex;align-items:center;gap:10px;padding:10px 12px;background:linear-gradient(135deg,#800020,#B3174D);color:#fff;transform:translateY(-100%);max-height:0;overflow:hidden;opacity:0;transition:transform .3s,max-height .3s,opacity .3s}
.mhc-inst.show{transform:none;max-height:90px;opacity:1}
.mhc-inst img{border-radius:10px;background:#fff;flex:none}
.mhc-inst .t{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.mhc-inst .t b{font-size:14px}.mhc-inst .t span{font-size:12px;opacity:.9}
.mhc-inst .go{flex:none;border:0;border-radius:999px;background:#fff;color:#800020;font-weight:700;font-size:13px;padding:8px 16px}
.mhc-inst .x{flex:none;border:0;background:rgba(255,255,255,.18);color:#fff;border-radius:50%;width:28px;height:28px;font-size:18px;line-height:1;padding:0}
.mhc-inst-btn{display:inline-flex;align-items:center;gap:6px;margin-top:8px;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.12);color:#fff;border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600}
html.mhc-offline body::before{content:"";position:fixed;top:0;left:0;right:0;height:3px;background:#B3261E;z-index:20045}

@media (max-width:767.98px){
  html{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
  a,button,.btn,[role=button]{-webkit-tap-highlight-color:transparent}
  input,select,textarea{font-size:16px!important}
  body{animation:mhcPage .22s ease-out}
  @keyframes mhcPage{from{opacity:.4}to{opacity:1}}
  .mhc-bn a:active,.mhc-bn button:active{transform:scale(.92);transition:transform .08s}
  .mhc-bn,.mhc-bn *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
  .product-card:active,.card:active{transform:scale(.985);transition:transform .08s}
  .btn:active{transform:scale(.97)}
}
/* Launched from the home screen (standalone app window) */
html.mhc-standalone{overscroll-behavior-x:none}
html.mhc-standalone body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
html.mhc-standalone input,html.mhc-standalone textarea,html.mhc-standalone [contenteditable]{-webkit-user-select:text;user-select:text}
html.mhc-standalone img{-webkit-user-drag:none;-webkit-touch-callout:none}
html.mhc-standalone .mhc-inst,html.mhc-standalone .mhc-inst-btn{display:none!important}
@media (display-mode: standalone) and (max-width:767.98px){
  body{padding-top:env(safe-area-inset-top,0px)}
}
@media (prefers-reduced-motion:reduce){body{animation:none!important}.mhc-prog,.mhc-inst,.mhc-pwa-toast{transition:none}}
