/* BeliTech 4.17.11: one organized header account menu and reliable status notice.
   Shared by the PHP fallback header and interactive marketplace header. */
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-header-account > nav {
  width: 284px !important;
  max-width: calc(100vw - 24px) !important;
  max-height: min(78vh, 620px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 8px !important;
  background: #fff !important;
  border: 1px solid #dde1e5 !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 48px rgba(13,43,72,0.15) !important;
  box-sizing: border-box !important;
  overscroll-behavior: contain;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-account-menu-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  padding: 6px 0 9px !important;
  border-bottom: 1px solid #f7f8f9 !important;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-account-menu-group:first-child {
  padding-top: 4px !important;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-account-menu-group__label {
  display: block !important;
  margin: 0 !important;
  padding: 7px 12px 5px !important;
  color: #4e6479 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: .075em !important;
  text-transform: uppercase !important;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-account-menu-group > a,
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-account-menu-footer > a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-height: 40px !important;
  padding: 9px 12px !important;
  margin: 0 !important;
  gap: 11px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #0d2b48 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
  box-sizing: border-box !important;
  white-space: normal !important;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-account-menu-group > a :is(svg,.dashicons),
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-account-menu-footer > a :is(svg,.dashicons) {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  color: #2a445e !important;
  font-size: 18px !important;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-account-menu-group > a:is(:hover,:focus-visible),
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-account-menu-footer > a:is(:hover,:focus-visible) {
  background: #f7f8f9 !important;
  color: #0d2b48 !important;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-account-menu-utilities {
  display: block !important;
  padding: 7px 0 !important;
  border-bottom: 1px solid #f7f8f9 !important;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-account-menu-utilities .bt-header-preferences {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-preferences-menu > summary {
  min-height: 42px !important;
  width: 100% !important;
  padding: 9px 12px !important;
  justify-content: space-between !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #0d2b48 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  cursor: pointer !important;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-preferences-menu > summary:hover {background:#f7f8f9 !important;}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-preferences-panel {
  position: static !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 10px 8px 12px !important;
  margin: 3px 0 6px !important;
  border: 1px solid #edeff1 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  background: #ffffff !important;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-preferences-panel .bst-v3-select-control {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,128px) !important;
  gap: 8px !important;
  align-items: center !important;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-preferences-panel select {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 128px !important;
  min-height: 38px !important;
  border-radius: 8px !important;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) #bst-header-account-tools .bst-v3-action-pill {
  min-height: 40px !important;
  padding: 9px 12px !important;
  border-radius: 9px !important;
  font-weight: 650 !important;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-account-menu-footer {
  padding: 7px 0 0 !important;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-account-menu-footer .bt-account-signout {
  color: #0d2b48 !important;
  border: 0 !important;
  margin: 0 !important;
  border-radius: 9px !important;
}
body:not(.wp-admin) .bst-v3-status-banner {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 9px !important;
  width: 100% !important;
  min-height: 42px !important;
  padding: 10px clamp(14px, 3vw, 32px) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-bottom: 2px solid #2a445e !important;
  background: #0d2b48 !important;
  color: #fff !important;
  font: 650 13px/1.45 Manrope, system-ui, sans-serif !important;
  text-align: center !important;
  position: relative;
  z-index: 50;
  overflow-wrap: anywhere;
}
body:not(.wp-admin) .bst-v3-status-banner__indicator {
  display: inline-flex;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  background: #dde1e5;
  border-radius: 50%;
}
@media (max-width: 480px) {
  body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-header-account > nav {
    width: min(284px,calc(100vw - 24px)) !important;
    max-height: min(72vh, 540px) !important;
  }
  body:not(.wp-admin) .bst-v3-status-banner {font-size: 12px !important;}
}
/* In older desktop themes the preferences anchor was a fixed-height flex row.
   Let the nested disclosure expand in the account menu's normal document flow. */
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-account-menu-utilities .bt-header-preferences {
  display: block !important;
  position: static !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  flex: none !important;
  align-items: stretch !important;
}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-php-header,#bst-marketplace-root#bst-marketplace-root .bst-app-header--marketplace) .bt-account-menu-utilities .bt-preferences-menu {
  display: block !important;
  position: static !important;
  transform: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-sizing: border-box !important;
}
