/* VLAN Sorani Language 1.1.3 — header language switcher
 * !important is used on purpose: the VLAN header resets every button inside it. */
.vsl-switch {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 5px !important;
  border: 1px solid #e7af00 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 3px 10px rgba(255, 196, 0, .18) !important;
  box-sizing: border-box !important;
  direction: rtl;
  flex: 0 0 auto !important;
  font-family: Tahoma, Arial, sans-serif !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.vsl-switch .vsl-label {
  padding: 0 6px 0 4px !important;
  color: #5f6368 !important;
  font-size: 12px !important;
  line-height: 1 !important;
}
.vsl-switch .vsl-opt {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #212529 !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  transition: background-color .15s ease;
}
.vsl-switch .vsl-opt:hover {
  background: #fff6d6 !important;
}
.vsl-switch .vsl-opt:focus-visible {
  outline: 2px solid #212529 !important;
  outline-offset: 1px !important;
}
.vsl-switch .vsl-opt.is-active {
  background: #ffc400 !important;
  cursor: default !important;
  font-weight: 700 !important;
}
.vsl-switch .vsl-name {
  display: inline !important;
  color: inherit !important;
  font: inherit !important;
}
.vsl-switch .vsl-flag {
  display: block !important;
  flex: 0 0 auto !important;
  width: 22px !important;
  height: 15px !important;
  max-width: none !important;
  margin: 0 !important;
  align-self: center !important;
  vertical-align: middle !important;
  border-radius: 2px !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .18) !important;
  object-fit: fill !important;
}
.vsl-switch.is-loading {
  opacity: .6 !important;
  pointer-events: none !important;
}

/* Phone version in the dark top bar */
.vsl-switch.vsl-mobile {
  display: none !important;
  height: 24px !important;
  margin: 0 auto !important;
  padding: 0 2px !important;
  gap: 2px !important;
  border-color: rgba(255, 196, 0, .55) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .06) !important;
  box-shadow: none !important;
}
.vsl-mobile .vsl-opt {
  height: 20px !important;
  padding: 0 7px !important;
  gap: 5px !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-size: 11px !important;
}
.vsl-mobile .vsl-opt:hover {
  background: rgba(255, 255, 255, .12) !important;
}
.vsl-mobile .vsl-opt.is-active {
  background: #ffc400 !important;
  color: #212529 !important;
}
.vsl-mobile .vsl-flag {
  width: 17px !important;
  height: 12px !important;
}

/* Other headers: floating switcher */
.vsl-switch.vsl-floating {
  position: fixed !important;
  bottom: 16px !important;
  left: 16px !important;
  z-index: 9999 !important;
}

/* 1280–1439px: no "Language" label, tighter buttons, so the header still fits. */
@media (max-width: 1439px) {
  .vsl-desktop .vsl-label {
    display: none !important;
  }
  .vsl-desktop .vsl-opt {
    padding: 0 8px !important;
    gap: 5px !important;
  }
  .vsl-desktop .vsl-flag {
    width: 20px !important;
    height: 14px !important;
  }
}
/* Below 1280px the header has no room beside the login button: use the top bar. */
@media (max-width: 1279px) {
  .vsl-switch.vsl-desktop {
    display: none !important;
  }
  .vsl-switch.vsl-mobile {
    display: inline-flex !important;
  }
}
/* Phones: the logo already shows the store name, so the switcher takes the top-bar text's place. */
@media (max-width: 480px) {
  .vi-h-top-inner .vi-h-top-intro {
    display: none !important;
  }
  .vsl-switch.vsl-mobile {
    margin: 0 !important;
  }
}
