/* UAE Dirham currency sign (U+20C3) — CBUAE glyph via dirham (MIT), self-hosted */

@font-face {
  font-family: "Dirham";
  src: url("../fonts/dirham/dirham.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20C3;
}

@font-face {
  font-family: "Dirham-Sans";
  src: url("../fonts/dirham/sans/dirham-sans.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20C3;
}

@font-face {
  font-family: "Dirham-Arabic";
  src: url("../fonts/dirham/arabic/dirham-arabic.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20C3;
}

/* Amounts: Inter/Cairo for digits; Dirham-* fallback renders only U+20C3 */
.uae-price {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ltr-layout .uae-price {
  font-family: "Inter", "Dirham-Sans", system-ui, sans-serif;
}

.rtl-layout .uae-price {
  font-family: "Cairo", "Dirham-Arabic", system-ui, sans-serif;
}

.uae-price__sign {
  font-weight: 600;
}

.uae-price__amount {
  font-weight: inherit;
}

.uae-price--lg .uae-price__sign,
.uae-price--lg .uae-price__amount {
  font-weight: 700;
}

/* Standalone sign in hints, labels, and body copy */
.uae-dirham-sign {
  font-family: "Dirham-Sans", "Dirham", system-ui, sans-serif;
  font-weight: 600;
}

.rtl-layout .uae-dirham-sign {
  font-family: "Dirham-Arabic", "Dirham", system-ui, sans-serif;
}
