:root {
  --gi-lc-z-overlay: 2147483000;
  --gi-lc-z-sheet: 2147483001;
  --gi-lc-z-status: 2147483002;
}

@media (max-width: 991px) {
  html.gi-lc-ready .mobile-header .mobile-language-wrapper,
  html.gi-lc-ready .mobile-header .mobile-currency-wrapper,
  html.gi-lc-ready .mobile-header .mobile-top-bar > .language-currency.top-menu,
  html[data-gi-lc-mounted="1"] .mobile-header .mobile-language-wrapper,
  html[data-gi-lc-mounted="1"] .mobile-header .mobile-currency-wrapper,
  html[data-gi-lc-mounted="1"] .mobile-header .mobile-top-bar > .language-currency.top-menu {
    display: none !important;
  }

  html.gi-lc-ready .mobile-header .language-currency.top-menu::before,
  html[data-gi-lc-mounted="1"] .mobile-header .language-currency.top-menu::before {
    display: none !important;
    content: none !important;
    background: none !important;
  }
}

.gi-lc-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.gi-lc-triggers {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: var(--gi-lc-icon-gap, 12px);
  min-width: 0;
  margin-left: auto;
}

.gi-lc-triggers[hidden] {
  display: none !important;
}

html.gi-lc-switching .gi-lc-triggers {
  pointer-events: none;
  opacity: 0.62;
}

.gi-lc-trigger {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 4px;
  min-width: var(--gi-lc-icon-size, 28px);
  min-height: 44px;
  padding: 4px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--gi-lc-icon-color, #333333);
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.gi-lc-trigger:hover,
.gi-lc-trigger:focus,
.gi-lc-trigger:active {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--gi-lc-icon-color, #333333);
  outline: none;
}

.gi-lc-trigger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}

.gi-lc-trigger--currency {
  width: auto;
  padding-right: 2px;
  padding-left: 2px;
}

.gi-lc-flag-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.gi-lc-trigger .gi-lc-flag-wrap {
  width: calc(var(--gi-lc-icon-size, 28px) + 4px);
  height: var(--gi-lc-icon-size, 28px);
}

.gi-lc-trigger__flag,
.gi-lc-trigger__custom-icon,
.gi-lc-trigger__fallback {
  display: block;
  height: var(--gi-lc-icon-size, 28px);
  flex: 0 0 auto;
}

.gi-lc-trigger__fallback {
  width: var(--gi-lc-icon-size, 28px);
  border-radius: 50%;
}

.gi-lc-trigger__flag {
  width: calc(var(--gi-lc-icon-size, 28px) + 4px);
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.gi-lc-trigger__custom-icon {
  box-sizing: border-box;
  width: var(--gi-lc-icon-size, 28px);
  height: var(--gi-lc-icon-size, 28px);
  border-radius: 0;
  object-fit: contain;
}

.gi-lc-trigger__neutral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--gi-lc-icon-size, 28px);
  height: var(--gi-lc-icon-size, 28px);
  color: var(--gi-lc-icon-color, #333333);
  font-size: 16px;
  line-height: 1;
}

.gi-lc-trigger__fallback {
  box-sizing: border-box;
  padding: 0 3px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
  line-height: var(--gi-lc-icon-size, 28px);
  text-align: center;
}

.gi-lc-trigger__abbr,
.gi-lc-trigger__code,
.gi-lc-trigger__name,
.gi-lc-trigger__text {
  max-width: 82px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gi-lc-trigger__name {
  max-width: 82px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gi-lc-trigger--lang .gi-lc-trigger__abbr + .gi-lc-trigger__abbr,
.gi-lc-trigger--lang .gi-lc-flag-wrap + .gi-lc-trigger__abbr {
  margin-left: 4px;
}

.gi-lc-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--gi-lc-z-overlay);
  background: rgba(0, 0, 0, var(--gi-lc-overlay-alpha, 0.5));
  opacity: 0;
  transition: opacity var(--gi-lc-anim, 240ms) ease;
  touch-action: none;
}

.gi-lc-overlay[hidden] {
  display: none !important;
}

html.gi-lc-open .gi-lc-overlay {
  opacity: 1;
}

.gi-lc-sheet {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--gi-lc-z-sheet);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: min(var(--gi-lc-sheet-dvh, 72dvh), var(--gi-lc-sheet-px, 560px));
  padding: 0 0 env(safe-area-inset-bottom, 0px);
  border: 0;
  border-radius: var(--gi-lc-radius, 16px) var(--gi-lc-radius, 16px) 0 0;
  background: #ffffff;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
  color: #222222;
  transform: translate3d(0, 100%, 0);
  transition: transform var(--gi-lc-anim, 240ms) cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  overscroll-behavior: contain;
}

.gi-lc-sheet[hidden] {
  display: none !important;
}

html.gi-lc-open .gi-lc-sheet {
  transform: translate3d(0, 0, 0);
}

.gi-lc-sheet.gi-lc-sheet--dragging {
  transition: none;
}

.gi-lc-sheet__grabber {
  width: 36px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.18);
  flex: 0 0 auto;
}

.gi-lc-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 6px 12px 4px 16px;
  flex: 0 0 auto;
  touch-action: none;
}

.gi-lc-sheet__title {
  margin: 0;
  padding: 0;
  color: #666666;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.gi-lc-sheet__close {
  position: relative;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: #555555;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.gi-lc-sheet__close::before,
.gi-lc-sheet__close::after {
  position: absolute;
  top: 19px;
  left: 11px;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  content: '';
}

.gi-lc-sheet__close::before {
  transform: rotate(45deg);
}

.gi-lc-sheet__close::after {
  transform: rotate(-45deg);
}

.gi-lc-sheet__close:hover,
.gi-lc-sheet__close:focus,
.gi-lc-sheet__close:active {
  border: 0;
  background: rgba(0, 0, 0, 0.05);
  box-shadow: none;
  outline: none;
}

.gi-lc-sheet__close:focus-visible {
  outline: 2px solid #555555;
  outline-offset: 1px;
}

.gi-lc-sheet__list {
  box-sizing: border-box;
  min-height: 0;
  margin: 0;
  padding: 0 8px 10px;
  overflow-x: hidden;
  overflow-y: auto;
  list-style: none;
  flex: 1 1 auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.gi-lc-sheet__item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gi-lc-opt {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  color: #222222;
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.gi-lc-opt:hover,
.gi-lc-opt:focus,
.gi-lc-opt:active {
  border: 0;
  background: rgba(0, 0, 0, 0.045);
  box-shadow: none;
  color: #222222;
  outline: none;
}

.gi-lc-opt:focus-visible {
  outline: 2px solid #777777;
  outline-offset: -2px;
}

.gi-lc-opt.is-current,
.gi-lc-opt.is-current:hover,
.gi-lc-opt.is-current:focus,
.gi-lc-opt.is-current:active {
  background: var(--gi-lc-active, #8FAABF);
  color: #222222;
}

.gi-lc-opt__flag,
.gi-lc-opt__fallback {
  display: block;
  height: 24px;
  flex: 0 0 auto;
}

.gi-lc-opt .gi-lc-flag-wrap {
  width: 32px;
  height: 24px;
}

.gi-lc-opt__flag {
  width: 32px;
  border-radius: 0;
  object-fit: contain;
}

.gi-lc-opt__fallback {
  width: 24px;
  border-radius: 50%;
}

.gi-lc-opt__fallback,
.gi-lc-opt__currency-mark {
  box-sizing: border-box;
  background: #f0f1f3;
  color: #555555;
  font-size: 9px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

.gi-lc-opt__currency-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  flex: 0 0 auto;
}

.gi-lc-opt__currency-icon {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}

.gi-lc-opt__copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
}

.gi-lc-opt__name {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gi-lc-opt__sub {
  color: #777777;
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
}

.gi-lc-opt.is-current .gi-lc-opt__sub {
  color: rgba(34, 34, 34, 0.72);
}

.gi-lc-status {
  position: fixed;
  z-index: var(--gi-lc-z-status, 2147483002);
  left: 50%;
  bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  max-width: calc(100vw - 32px);
  min-height: 42px;
  padding: 11px 16px 11px 42px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(20, 34, 48, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.gi-lc-status[hidden] {
  display: none !important;
}

.gi-lc-status::before {
  position: absolute;
  top: 50%;
  left: 16px;
  box-sizing: border-box;
  width: 17px;
  height: 17px;
  margin-top: -8.5px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #ffffff;
  border-radius: 50%;
  content: '';
  animation: gi-lc-spin 0.75s linear infinite;
}

.gi-lc-status.is-error {
  padding-left: 16px;
  background: rgba(137, 35, 35, 0.96);
  white-space: normal;
}

.gi-lc-status.is-error::before {
  display: none;
}

@keyframes gi-lc-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991px) {
  .mobile-header > .mobile-top-bar {
    flex-wrap: nowrap;
  }

  .mobile-header > .mobile-top-bar > .mobile-top-menu-wrapper {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
  }

  .mobile-header > .mobile-top-bar > .gi-lc-triggers {
    box-sizing: border-box;
    flex: 0 0 auto;
    max-width: 42vw;
  }

  html[data-gi-lc-width-guard="1"] .mobile-header > .mobile-top-bar > .gi-lc-triggers .gi-lc-trigger__text {
    display: none !important;
  }
}

.gi-lc-opt__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #333333;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  flex: 0 0 auto;
}

.gi-lc-opt.is-current .gi-lc-opt__check {
  opacity: 1;
}

html.gi-lc-open,
html.gi-lc-open body {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none;
}

@supports not (height: 1dvh) {
  .gi-lc-sheet {
    max-height: min(var(--gi-lc-sheet-vh-fallback, 72vh), var(--gi-lc-sheet-px, 560px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .gi-lc-sheet,
  .gi-lc-overlay {
    transition: none;
  }
}
