/* Footer-only skin for SHOPLINE's 多语言&多货币助手.
   Keep the plugin's elements, visibility states, event handlers and conversion logic. */
.atelier-theme .footer__translate_isv {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center;
  align-items: center;
  column-gap: 20px !important;
  row-gap: 8px !important;
  padding-block: 16px;
  overflow: visible;
}
.atelier-theme .footer__translate_isv .locale-currency[data-position="footer"] {
  flex: 0 1 auto !important;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  color: #fff;
  font-family: var(--atelier-font, Arial, sans-serif);
}
.atelier-theme .footer__translate_isv .dropdown__disclosure {
  position: relative;
  max-width: 100%;
}
.atelier-theme .footer__translate_isv .locale-currency[data-position="footer"] button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100%;
  min-height: 40px;
  height: auto !important;
  padding: 8px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: var(--atelier-font, Arial, sans-serif) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5;
}
.atelier-theme .footer__translate_isv .locale-currency[data-position="footer"] button::before,
.atelier-theme .footer__translate_isv .locale-currency[data-position="footer"] button::after {
  content: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.atelier-theme .footer__translate_isv .locale-currency[data-position="footer"] button span,
.atelier-theme .footer__translate_isv .locale-currency[data-position="footer"] button svg {
  color: #fff !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 400 !important;
}
.atelier-theme .footer__translate_isv button:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 4px;
}
.atelier-theme .footer__translate_isv .isv-trans-wrap { display: none !important; }
/* Leave a portal intact if it contains a selector; remove empty spacer portals. */
.atelier-theme .footer__translate_isv > .isv_locale_portal_split:not(:has(.locale-currency)) { display: none; }
.atelier-theme .footer__translate_isv .locale-currency[data-position="footer"] .dropdown__list {
  --plugin-isv-multiLanguage-color_text: #1c1c1c;
  --plugin-isv-multiLanguage-color_page_background: #fff;
  top: auto !important;
  bottom: calc(100% + 8px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  min-width: 160px;
  max-width: min(280px, calc(100vw - 32px)) !important;
  max-height: 280px !important;
  max-height: min(280px, 45vh) !important;
  max-height: min(280px, 45dvh) !important;
  height: auto !important;
  padding: 6px 0 !important;
  margin: 0 !important;
  overflow-x: hidden;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e5e5 !important;
  border-radius: 4px;
  background: #fff !important;
  color: #1c1c1c !important;
  box-shadow: 0 6px 24px rgb(0 0 0 / 15%) !important;
  font-family: var(--atelier-font, Arial, sans-serif);
  scrollbar-width: thin;
  scrollbar-color: #bdbdbd #fff;
  z-index: 150;
}
.atelier-theme .footer__translate_isv .dropdown__list li {
  min-height: 36px;
  padding: 8px 14px !important;
  margin: 0;
  background: #fff !important;
  color: #1c1c1c !important;
  line-height: 1.5;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
.atelier-theme .footer__translate_isv .dropdown__list li :is(a, span) {
  color: #1c1c1c !important;
  font-family: var(--atelier-font, Arial, sans-serif) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  white-space: normal !important;
}
.atelier-theme .footer__translate_isv .dropdown__list li:hover,
.atelier-theme .footer__translate_isv .dropdown__list li:focus-within,
.atelier-theme .footer__translate_isv .dropdown__list li.is-selected { background: #f2f2f2 !important; }
.atelier-theme .footer__translate_isv .dropdown__list .currency-search {
  color: #1c1c1c !important;
  border-color: #ddd !important;
}
.atelier-theme .footer__translate_isv .dropdown__list .currency-search input {
  min-width: 0;
  background: #fff !important;
  color: #1c1c1c !important;
}
