/* MojLogo Country Localizer - compact floating right centered selector */
.mlcl-header-switcher,
.mlcl-header-switcher * {
  box-sizing: border-box !important;
}

html body .mlcl-header-switcher.mlcl-floating-switcher {
  position: fixed !important;
  top: 50% !important;
  right: 10px !important;
  left: auto !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: 42px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #111827 !important;
  font-family: inherit !important;
  white-space: nowrap !important;
  pointer-events: auto !important;
}

html body .mlcl-header-switcher.mlcl-floating-switcher .mlcl-field {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

html body .mlcl-header-switcher.mlcl-floating-switcher .mlcl-field select {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: block !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(148, 163, 184, 0.62) !important;
  border-radius: 14px !important;
  background-color: #f8fafc !important;
  background-image: none !important;
  color: #111827 !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 42px !important;
  text-align: center !important;
  text-align-last: center !important;
  text-transform: uppercase !important;
  outline: none !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
  cursor: pointer !important;
}

html body .mlcl-header-switcher.mlcl-floating-switcher .mlcl-field select::-ms-expand {
  display: none !important;
}

html body .mlcl-header-switcher.mlcl-floating-switcher .mlcl-currency-select {
  font-size: 13px !important;
}

html body .mlcl-header-switcher.mlcl-floating-switcher .mlcl-language-select {
  font-size: 11px !important;
}

html body .mlcl-header-switcher.mlcl-floating-switcher .mlcl-field select:hover,
html body .mlcl-header-switcher.mlcl-floating-switcher .mlcl-field select:focus {
  border-color: rgba(100, 116, 139, 0.92) !important;
  background-color: #e5e7eb !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16), 0 0 0 3px rgba(148, 163, 184, 0.28) !important;
}

.mlcl-status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

/* Prevent any older cached/header-inserted layout rules from affecting the main header. */
html body .mojlogo-ai-app .ml-global-header,
html body #mojlogo-ai-app .ml-global-header,
html body #mojlogo-account-header .ml-global-header,
html body #mojlogo-checkout-header .ml-global-header {
  overflow: visible !important;
}

@media (max-width: 760px) {
  html body .mlcl-header-switcher.mlcl-floating-switcher {
    top: 50% !important;
    right: 7px !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    gap: 6px !important;
  }

  html body .mlcl-header-switcher.mlcl-floating-switcher .mlcl-field,
  html body .mlcl-header-switcher.mlcl-floating-switcher .mlcl-field select {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    border-radius: 12px !important;
    line-height: 36px !important;
  }

  html body .mlcl-header-switcher.mlcl-floating-switcher .mlcl-currency-select {
    font-size: 12px !important;
  }

  html body .mlcl-header-switcher.mlcl-floating-switcher .mlcl-language-select {
    font-size: 10px !important;
  }
}

@media (max-width: 380px) {
  html body .mlcl-header-switcher.mlcl-floating-switcher {
    top: 50% !important;
    right: 5px !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
  }

  html body .mlcl-header-switcher.mlcl-floating-switcher .mlcl-field,
  html body .mlcl-header-switcher.mlcl-floating-switcher .mlcl-field select {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    border-radius: 11px !important;
    line-height: 34px !important;
  }
}
