/* PrimeMedHub V9.3 | controlled mobile navigation and contacts patch | 15.10.2026 */
/* Keep the whole menu closed by default, despite older all-breakpoints !important rules. */
.pmh-mobile-route-return{display:none!important}

@media (max-width:1080px){
  .pmh-procedure-section .pmh-site-header{
    position:sticky!important;top:0!important;z-index:12000!important;
    overflow:visible!important;background:rgba(255,255,255,.98)!important;
  }
  .pmh-procedure-section .pmh-site-header .pmh-site-nav{
    display:flex!important; flex-direction:row!important; flex-wrap:nowrap!important;
    align-items:center!important;justify-content:space-between!important;
    position:relative!important;min-height:70px!important;padding:7px 0!important;gap:8px!important;
  }
  .pmh-procedure-section .pmh-site-header .pmh-site-logo{
    display:flex!important;flex:1 1 82px!important;min-width:0!important;max-width:130px!important;
  }
  .pmh-procedure-section .pmh-site-header .pmh-site-logo img{max-width:100%!important;object-fit:contain!important}
  .pmh-procedure-section .pmh-site-header .pmh-site-actions{
    display:flex!important;flex:0 0 auto!important;gap:8px!important;align-items:center!important;
    min-width:0!important;justify-content:flex-end!important;
  }
  .pmh-procedure-section .pmh-site-header .pmh-site-menu{
    display:none!important; position:absolute!important;top:calc(100% + 6px)!important;
    left:0!important;right:0!important;bottom:auto!important;order:unset!important;
    width:auto!important;margin:0!important;padding:8px!important;
    max-height:min(60dvh,420px)!important;overflow-y:auto!important;
    border:1px solid #dae5ef!important;border-radius:16px!important;
    background:#fff!important;box-shadow:0 14px 36px rgba(12,38,65,.18)!important;
    z-index:12010!important; flex-direction:column!important;align-items:stretch!important;
  }
  .pmh-procedure-section .pmh-site-header .pmh-site-menu.is-open{display:flex!important}
  .pmh-procedure-section .pmh-site-header .pmh-site-menu a{
    display:block!important;min-height:44px!important;padding:13px 14px!important;
    margin:0!important;font-size:14px!important;line-height:1.3!important;
    white-space:normal!important;text-align:left!important;
  }
  .pmh-procedure-section .pmh-site-header .pmh-menu-toggle{
    display:grid!important;flex:0 0 46px!important;min-width:44px!important;min-height:44px!important;
    place-items:center!important;cursor:pointer!important;
  }
  .pmh-procedure-section .pmh-mobile-route-return{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    min-height:44px!important;max-width:170px!important;padding:8px 12px!important;
    border:1px solid #d9e3ef!important;border-radius:12px!important;background:#fff!important;
    color:#0f2b46!important;font-size:13px!important;line-height:1.2!important;
    font-weight:850!important;white-space:nowrap!important;text-decoration:none!important;
  }
  /* Header stays present while the procedure section (not window) scrolls. */
  .pmh-procedure-section .pmh-site-header a:focus-visible,
  .pmh-procedure-section .pmh-site-header button:focus-visible{
    outline:3px solid #c6a85e!important;outline-offset:2px!important;
  }
  .site-header .nav-wrap{position:relative!important;flex-wrap:nowrap!important;min-height:64px!important}
  .site-header #navMenu:not(.open){display:none!important}
  .site-header #navMenu.open{
    display:flex!important;position:absolute!important;top:calc(100% + 6px)!important;
    left:0!important;right:0!important;bottom:auto!important;margin:0!important;
    inset:auto 0 auto 0!important;max-height:calc(100dvh - 105px)!important;overflow-y:auto!important;
    background:#fff!important;border-radius:16px!important;padding:10px!important;
    box-shadow:0 14px 40px rgba(15,43,70,.2)!important;z-index:12010!important;
  }
  .site-header #navMenu a{min-height:44px!important;padding:13px!important;display:flex!important;align-items:center!important}
  #menuToggle{min-width:44px!important;min-height:44px!important}
}
@media (max-width:430px){
  .pmh-procedure-section .pmh-site-header .pmh-site-logo{max-width:82px!important}
  .pmh-procedure-section .pmh-mobile-route-return{max-width:150px!important;padding:7px 9px!important;font-size:12px!important}
  .pmh-procedure-section .pmh-site-header .pmh-site-actions{gap:6px!important}
}
/* Avoid duplicated floating WhatsApp controls over the mobile home bottom bar. */
@media(max-width:680px){
  body:not(.pmh-procedure-route-open) .pmh-whatsapp-float{display:none!important}
  body.pmh-procedure-route-open .pmh-whatsapp-float{
    display:flex!important;left:auto!important;right:12px!important;bottom:calc(16px + env(safe-area-inset-bottom))!important;
    width:52px!important;min-height:52px!important;max-width:52px!important;
    padding:5px!important;align-items:center!important;justify-content:center!important;
    border-radius:50%!important;box-shadow:0 8px 26px rgba(0,0,0,.18)!important;
  }
  body.pmh-procedure-route-open .pmh-whatsapp-float>span{width:40px!important;height:40px!important}
  body.pmh-procedure-route-open .pmh-whatsapp-float strong{display:none!important}
  body.pmh-procedure-route-open #pmhElementorBackTop,
  body.pmh-procedure-route-open .pmh-back-top{display:none!important}
  body.pmh-procedure-route-open .pmh-a11y{right:auto!important;left:10px!important;bottom:85px!important}
  .sticky-mobile{padding-bottom:env(safe-area-inset-bottom)!important}
}
/* Avoid image/layout overflow in all 12 mobile treatment pages. */
@media(max-width:680px){
 .pmh-procedure-section .pmh-page,.pmh-procedure-section .pmh-page>*{max-width:100%!important;min-width:0!important}
 .pmh-procedure-section .pmh-page img:not(.pmh-new-brand-logo){max-width:100%!important;height:auto}
 .pmh-procedure-section .pmh-page table{max-width:100%!important}
 .pmh-procedure-section .pmh-page :where(input,select,textarea){max-width:100%!important;min-width:0!important}
}
/* Keep the six language options on one row; older CSS wrapped RU onto an extra line. */
@media(max-width:680px){
 .pmh-procedure-section .pmh-site-topbar .pmh-site-container{
   display:flex!important;flex-direction:column!important;align-items:center!important;
   justify-content:center!important;gap:5px!important;padding:7px 0!important;min-height:0!important;
 }
 .pmh-procedure-section .pmh-site-topbar .pmh-site-container>span{
   font-size:12px!important;line-height:1.25!important;text-align:center!important;
 }
 .pmh-procedure-section .pmh-site-topbar .pmh-lang-switch{
   width:100%!important;display:flex!important;align-items:center!important;
   flex-wrap:nowrap!important;justify-content:center!important;gap:5px!important;
   overflow-x:auto!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch;
 }
 .pmh-procedure-section .pmh-site-topbar .pmh-lang-switch::-webkit-scrollbar{display:none!important}
 .pmh-procedure-section .pmh-site-topbar .pmh-lang-switch .lang-btn{
   flex:0 0 37px!important;min-width:37px!important;min-height:36px!important;
   padding:6px!important;font-size:12px!important;
 }
}
@media(max-width:680px){
 .pmh-procedure-section .pmh-site-topbar .pmh-lang-switch{gap:3px!important;min-width:0!important;max-width:100%!important}
 .pmh-procedure-section .pmh-site-topbar .pmh-lang-switch .lang-btn{
    flex:0 0 33px!important;min-width:33px!important;max-width:33px!important;
    min-height:34px!important;padding:4px!important;
 }
}
