.rawiya-currency-slot {
  display: inline-flex;
  align-items: center;
  margin-inline: 12px;
  flex: 0 0 auto;
}

.rw-price-reference,
.rw-price-reference__usd,
.rw-price-reference__lyd {
  display: inline;
  font: inherit;
  color: inherit;
}

.rw-price-reference__lyd {
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.rw-price-reference__usd[hidden],
.rw-price-reference__lyd[hidden],
.rw-currency-switcher[hidden],
.rw-currency-disclosure[hidden],
.rw-currency-handoff[hidden] {
  display: none !important;
}

.rw-currency-switcher {
  --rw-currency-ink: #111111;
  --rw-currency-paper: #f8f8f3;
  --rw-currency-rule: #cfd0c8;
  --rw-currency-blue: #1f3fbf;
  display: inline-flex;
  align-items: stretch;
  min-height: 44px;
  overflow: hidden;
  color: var(--rw-currency-ink);
  background: var(--rw-currency-paper);
  border: 1px solid var(--rw-currency-rule);
  border-radius: 2px;
  box-shadow: none;
}

.rw-currency-switcher button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 44px;
  margin: 0;
  padding: 0 10px;
  color: var(--rw-currency-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: "IBM Plex Sans", "IBM Plex Sans Arabic", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
  cursor: pointer;
}

.rw-currency-switcher button + button {
  border-inline-start: 1px solid var(--rw-currency-rule);
}

.rw-currency-switcher button[aria-pressed="true"] {
  color: var(--rw-currency-paper);
  background: var(--rw-currency-ink);
}

.rw-currency-switcher button:hover {
  color: var(--rw-currency-paper);
  background: var(--rw-currency-blue);
}

.rw-currency-switcher button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--rw-currency-blue);
  outline-offset: -3px;
}

.rw-currency-switcher button:disabled {
  cursor: default;
  opacity: .48;
}

.rw-currency-switcher__hint {
  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;
}

.woocommerce .woocommerce-info {
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
}

.rw-currency-disclosure,
.rw-currency-handoff {
  direction: rtl;
  color: #57574f;
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

.rw-currency-handoff {
  margin: 0 0 14px;
  padding: 12px 0;
  border-block: 1px solid var(--rw-currency-rule, #cfd0c8);
}

@media (max-width: 921px) {
  .rawiya-currency-slot {
    margin-inline: 6px;
  }

  .rw-currency-switcher button {
    min-width: 44px;
    padding-inline: 6px;
    font-size: 11px;
  }
}

@media (max-width: 370px) {
  .rawiya-currency-slot {
    margin-inline: 4px;
  }

  .rw-currency-switcher button {
    min-width: 44px;
    padding-inline: 4px;
    font-size: 10px;
  }
}
