/* UmrahRoom Mobile Navigation V3 — phone full-screen drawer polish */
@media (max-width:900px){
  html body .ur-global-header .site-nav{
    z-index:1700!important;
  }
  html body .ur-global-header .mobile-nav-head{
    min-height:58px!important;
    padding-inline:14px!important;
    margin-inline:-13px!important;
    background:#fff!important;
    border-bottom:1px solid #e7edf5!important;
  }
  html body .ur-global-header .mobile-nav-brand{
    min-width:0!important;
    gap:8px!important;
  }
  html body .ur-global-header .mobile-nav-brand img{
    width:32px!important;
    height:32px!important;
    border-radius:8px!important;
  }
  html body .ur-global-header .mobile-nav-brand strong{
    font-size:14px!important;
    font-weight:800!important;
    letter-spacing:-.35px!important;
  }
  html body .ur-global-header .mobile-nav-close{
    width:34px!important;
    height:34px!important;
    border-radius:9px!important;
    background:#f2f6fb!important;
    color:#0b356e!important;
    font-size:22px!important;
  }

  /* Cleaner menu rows */
  html body .ur-global-header .site-nav>a{
    min-height:46px!important;
    padding-inline:10px!important;
    border-bottom:1px solid #edf2f7!important;
    border-radius:0!important;
    font-size:12.5px!important;
    font-weight:700!important;
    background:#fff!important;
  }
  html body .ur-global-header .site-nav>a.active{
    color:#0b67e8!important;
    background:#f5f9ff!important;
    box-shadow:none!important;
  }
  html body .ur-global-header .site-nav>a .mobile-menu-icon{
    width:18px!important;
    height:18px!important;
  }

  /* Language section becomes a readable compact grid. */
  html body .ur-global-header .mobile-nav-language{
    display:block!important;
    margin:8px 0 4px!important;
    padding-top:4px!important;
    border-top:1px solid #e5ebf3!important;
    background:#fff!important;
  }
  html body .ur-global-header .mobile-nav-language summary{
    min-height:46px!important;
    grid-template-columns:26px 1fr auto!important;
    gap:8px!important;
    padding:0 10px!important;
    font-size:12.5px!important;
    font-weight:700!important;
    color:#17365f!important;
  }
  html body .ur-global-header .mobile-nav-language>div{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    padding:4px 8px 10px!important;
  }
  html body .ur-global-header .mobile-nav-language>div a{
    min-height:38px!important;
    padding:0 8px!important;
    border:1px solid #dbe7f5!important;
    border-radius:9px!important;
    background:#f7faff!important;
    color:#21466f!important;
    font-size:10.5px!important;
    font-weight:700!important;
    line-height:1.15!important;
    text-align:center!important;
  }
  html body .ur-global-header .mobile-nav-language>div a.active{
    color:#075cc9!important;
    border-color:#b9d5fb!important;
    background:#eaf4ff!important;
  }
  html body .ur-global-header .ur-mobile-account-button,
  html body .ur-global-header .ur-mobile-account{
    min-height:44px!important;
    margin-top:6px!important;
    border-radius:9px!important;
  }
}

/* On actual phones use a true full-screen navigation surface.
   This removes the visible page strip / duplicate-logo effect completely. */
@media (max-width:560px){
  html body .ur-global-header .site-nav,
  html[dir="rtl"] body .ur-global-header .site-nav{
    inset:0!important;
    width:100vw!important;
    max-width:none!important;
    height:100dvh!important;
    padding:0 14px calc(22px + env(safe-area-inset-bottom))!important;
    border:0!important;
    box-shadow:none!important;
    border-radius:0!important;
  }
  html body .ur-global-header .site-nav{
    transform:translate3d(100%,0,0)!important;
  }
  html[dir="rtl"] body .ur-global-header .site-nav{
    transform:translate3d(-100%,0,0)!important;
  }
  html body .ur-global-header .site-nav.open,
  html body .ur-global-header .site-nav.is-open,
  html[dir="rtl"] body .ur-global-header .site-nav.open,
  html[dir="rtl"] body .ur-global-header .site-nav.is-open{
    transform:translate3d(0,0,0)!important;
  }
  html body.menu-open .mobile-menu-backdrop{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  html body .ur-global-header .mobile-nav-head{
    margin-inline:-14px!important;
    padding-top:env(safe-area-inset-top)!important;
    min-height:calc(58px + env(safe-area-inset-top))!important;
  }
}
