/* BOLTTE v61: visible multilingual-app selector at the top on mobile */
.boltte-mobile-translate-top {
  display: none;
}

@media screen and (max-width: 959px) {
  .boltte-mobile-translate-top[data-ready="true"] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    min-height: 36px;
    padding: 3px 16px;
    border-bottom: 1px solid rgba(var(--color-entry-line, 219, 224, 230), 0.85);
    background: rgb(var(--color-header-background, 255, 255, 255));
    color: rgb(var(--color-header-text, 17, 24, 39));
    position: relative;
    z-index: 5;
  }

  .boltte-mobile-translate-top[data-ready="true"]::before {
    content: "Language";
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .boltte-mobile-translate-top .plugin-isv-multiLanguage,
  .boltte-mobile-translate-top .isv-mobile-language-wrap {
    display: flex !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    position: relative;
  }

  .boltte-mobile-translate-top .locale-currency__seed .dropdown__disclosure {
    position: relative;
  }

  .boltte-mobile-translate-top .j-stage-locale-isv {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    max-width: 170px;
    padding: 3px 9px !important;
    border: 1px solid #1f5f99 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #153b5c !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
  }

  .boltte-mobile-translate-top .dropdown__list {
    right: 0 !important;
    left: auto !important;
    z-index: 1001 !important;
    min-width: 150px !important;
  }
}

/* BOLTTE v62: open the mobile language list downward */
@media screen and (max-width: 959px) {
  .boltte-mobile-translate-top .dropdown__list {
    top: calc(100% + 6px) !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;
    max-height: min(50vh, 220px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
}

