.hivedz-ml-switcher {
  --hml-accent: #ffbd19;
  --hml-bg: #171719;
  --hml-panel: #212124;
  --hml-border: rgba(255, 255, 255, 0.12);
  position: relative;
  display: inline-block;
  color: #f7f7f7;
  direction: ltr;
  font-family: inherit;
  text-align: left;
  z-index: 9998;
}

.hivedz-ml-current {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  min-height: 42px !important;
  padding: 0 14px !important;
  color: #f7f7f7 !important;
  background: var(--hml-bg) !important;
  border: 1px solid var(--hml-border) !important;
  border-radius: 13px !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer;
}

.hivedz-ml-current:hover {
  border-color: rgba(255, 189, 25, 0.45) !important;
}

.hivedz-ml-globe {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--hml-accent);
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
}

.hivedz-ml-chevron {
  color: #9b9ba0;
  transition: transform 0.2s ease;
}

.hivedz-ml-switcher.is-open .hivedz-ml-chevron {
  transform: rotate(180deg);
}

.hivedz-ml-options {
  position: absolute;
  right: 0;
  bottom: calc(100% + 9px);
  display: none;
  width: 190px;
  padding: 7px;
  background: var(--hml-bg);
  border: 1px solid var(--hml-border);
  border-radius: 15px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.hivedz-ml-switcher:not(.is-compact) .hivedz-ml-options {
  top: calc(100% + 9px);
  bottom: auto;
}

.hivedz-ml-switcher.is-open .hivedz-ml-options {
  display: block;
}

.hivedz-ml-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  color: #e8e8ea !important;
  border-radius: 10px;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 650;
}

.hivedz-ml-options a:hover,
.hivedz-ml-options a.is-active {
  color: #111 !important;
  background: var(--hml-accent);
}

.hivedz-ml-options small {
  color: inherit;
  opacity: 0.65;
  font-size: 11px;
}

.hivedz-ml-floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9997;
}

body.hivedz-lang-ar {
  direction: rtl;
  text-align: right;
}

body.hivedz-lang-ar .woocommerce-breadcrumb,
body.hivedz-lang-ar .woocommerce-message,
body.hivedz-lang-ar .woocommerce-info,
body.hivedz-lang-ar .woocommerce-error,
body.hivedz-lang-ar .woocommerce-checkout,
body.hivedz-lang-ar .woocommerce-MyAccount-content,
body.hivedz-lang-ar .product-summary-shadow,
body.hivedz-lang-ar .product-tabs-wrapper,
body.hivedz-lang-ar .wd-products-element {
  direction: rtl;
  text-align: right;
}

body.hivedz-lang-ar input,
body.hivedz-lang-ar textarea,
body.hivedz-lang-ar select {
  text-align: right;
}

body.hivedz-lang-ar .hivedz-ml-floating {
  right: auto;
  left: 22px;
}

@media (max-width: 768px) {
  .hivedz-ml-floating {
    right: 14px;
    bottom: 76px;
  }

  body.hivedz-lang-ar .hivedz-ml-floating {
    right: auto;
    left: 14px;
  }

  .hivedz-ml-current {
    min-height: 39px !important;
    padding: 0 12px !important;
  }
}

