/* UMEED slim premium navbar final override
   Purpose: remove unnecessary vertical blank space while preserving glass effect and layout safety. */
:root{
  --navH: 58px !important;
  --umeed-nav-h: 58px !important;
}

html body,
html body.home-page{
  padding-top: 0 !important;
}

html body header.nav,
html body .nav,
html body header.umeed-final-navbar{
  min-height: 58px !important;
  height: 58px !important;
  max-height: 58px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  background: rgba(4, 6, 10, 0.94) !important;
  border-bottom: 1px solid rgba(232, 200, 111, 0.18) !important;
  box-shadow: 0 8px 26px rgba(0,0,0,.24) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  overflow: visible !important;
  z-index: 5000 !important;
}

html body header.nav .container.navbar,
html body header.nav .navbar,
html body .navbar{
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  width: min(1240px, calc(100% - 20px)) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
}

html body header.nav .brand,
html body .brand{
  height: 58px !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 1 320px !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

html body header.nav .brandMark,
html body .brandMark{
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  flex: 0 0 38px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

html body header.nav .brandMark img,
html body .brandMark img{
  width: 34px !important;
  height: 34px !important;
  object-fit: contain !important;
  display: block !important;
}

html body header.nav .brandName,
html body .brandName{
  font-size: clamp(15px, 1.08vw, 19px) !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  color: #fff0c2 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body header.nav .brandSub,
html body .brandSub{
  display: none !important;
}

html body header.nav .menu,
html body .menu{
  height: 58px !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(8px, .9vw, 15px) !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  flex-wrap: nowrap !important;
}

html body header.nav .menu > a,
html body header.nav .menu .login-btn,
html body .menu > a,
html body .menu .login-btn{
  height: 34px !important;
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 5px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  font-size: clamp(12px, .78vw, 14px) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body header.nav .navMore,
html body .navMore{
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  position: relative !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}

html body header.nav .moreBtn,
html body .moreBtn{
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
}

html body header.nav .moreMenu,
html body .moreMenu{
  top: calc(100% + 8px) !important;
  right: 0 !important;
  width: min(300px, calc(100vw - 22px)) !important;
  max-height: min(430px, calc(100dvh - 88px)) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 10px !important;
  border-radius: 20px !important;
  z-index: 2147483000 !important;
}

html body header.nav .moreMenu a,
html body .moreMenu a{
  min-height: 38px !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  white-space: normal !important;
}

html body header.nav .actions,
html body .actions{
  height: 58px !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 7px !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

html body header.nav .actions .btn,
html body header.nav .actions .notice-bell,
html body header.nav .header-bell,
html body .actions .btn,
html body .actions .notice-bell,
html body .header-bell{
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
}

html body header.nav .actions .btn-primary,
html body .actions .btn-primary{
  width: auto !important;
  min-width: 70px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  font-size: 17px !important;
  line-height: 1 !important;
}

/* Drawer: fully scrollable on mobile and never clipped */
html body .scrim{
  position: fixed !important;
  inset: 0 !important;
  z-index: 999998 !important;
}
html body .drawer{
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: min(86vw, 360px) !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 14px !important;
  z-index: 999999 !important;
}
html body .drawerTop{
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
  min-height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 4px 0 10px !important;
  margin: 0 0 8px !important;
  background: linear-gradient(180deg, rgba(8,10,15,.98), rgba(8,10,15,.82)) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}
html body .drawer a{
  min-height: 42px !important;
  padding: 11px 12px !important;
  margin: 2px 0 !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 12px !important;
  white-space: normal !important;
  line-height: 1.15 !important;
}
html body.drawer-open{
  overflow: hidden !important;
}

@media (max-width: 1180px){
  html body header.nav .brand,
  html body .brand{ flex-basis: 285px !important; }
  html body header.nav .menu,
  html body .menu{ gap: 9px !important; }
}

@media (max-width: 960px){
  :root{ --navH: 62px !important; --umeed-nav-h: 62px !important; }
  html body header.nav,
  html body .nav,
  html body header.umeed-final-navbar{
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
  }
  html body header.nav .container.navbar,
  html body header.nav .navbar,
  html body .navbar{
    width: 100% !important;
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
    padding: 0 10px !important;
    gap: 8px !important;
  }
  html body header.nav .brand,
  html body .brand{
    height: 62px !important;
    flex: 1 1 auto !important;
    max-width: calc(100vw - 220px) !important;
    gap: 8px !important;
  }
  html body header.nav .brandMark,
  html body .brandMark{
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    flex-basis: 40px !important;
  }
  html body header.nav .brandMark img,
  html body .brandMark img{
    width: 36px !important;
    height: 36px !important;
  }
  html body header.nav .brandName,
  html body .brandName{
    font-size: clamp(15px, 3.8vw, 19px) !important;
  }
  html body header.nav .menu,
  html body .menu{
    display: none !important;
  }
  html body header.nav .hamb,
  html body .hamb{
    display: inline-flex !important;
  }
  html body header.nav .actions,
  html body .actions{
    height: 62px !important;
    gap: 6px !important;
  }
  html body header.nav .actions .btn,
  html body header.nav .actions .notice-bell,
  html body header.nav .header-bell,
  html body .actions .btn,
  html body .actions .notice-bell,
  html body .header-bell{
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    font-size: 17px !important;
  }
  html body header.nav .actions .btn-primary,
  html body .actions .btn-primary{
    height: 42px !important;
    min-height: 42px !important;
    min-width: 64px !important;
    padding: 0 13px !important;
    font-size: 17px !important;
  }
}

@media (max-width: 430px){
  html body header.nav .brand,
  html body .brand{ max-width: calc(100vw - 205px) !important; }
  html body header.nav .brandName,
  html body .brandName{ font-size: 16px !important; }
  html body header.nav .actions,
  html body .actions{ gap: 5px !important; }
  html body header.nav .actions .btn,
  html body header.nav .actions .notice-bell,
  html body header.nav .header-bell,
  html body .actions .btn,
  html body .actions .notice-bell,
  html body .header-bell{
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }
  html body header.nav .actions .btn-primary,
  html body .actions .btn-primary{
    min-width: 60px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 11px !important;
    font-size: 16px !important;
  }
}
