/**
 * Saudi Riyal symbol font (SIL OFL) — https://github.com/emran-alhaddad/Saudi-Riyal-Font
 */
@font-face {
    font-family: 'Afaq Saudi Riyal';
    src: url('../fonts/saudi_riyal.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    unicode-range: U+20C1, U+E900;
}

.afaq-riyal-symbol {
    font-family: 'Afaq Saudi Riyal', inherit;
    font-weight: 400;
    font-style: normal;
    color: #b5b5b5;
}

.afaq-price-ltr {
    display: inline-block;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}

/*
 * Keep amount + decimals in LTR even before JS wraps .afaq-price-ltr.
 * Without this, RTL + inline-block decimals visually swap (halalas look large).
 */
.price-wrapper .price,
.price-box .price,
.product-info-price .price,
.product-item .price,
.afaq-buybar__price .price,
.block-minicart .price,
.cart.table-wrapper .price,
.opc-block-summary .price,
.grand.totals .price {
    direction: ltr;
    unicode-bidi: isolate;
}

.afaq-price-ltr .afaq-riyal-symbol {
    margin-right: 0.15em;
}

.afaq-price-ltr .afaq-riyal-symbol + .price {
    margin-left: 0;
}

.afaq-price-ltr .price + .afaq-riyal-symbol {
    margin-left: 0.15em;
}

.price .afaq-riyal-symbol,
.price-wrapper .afaq-riyal-symbol,
.price-box .afaq-riyal-symbol {
    font-weight: 400;
    color: #b5b5b5;
}

.price,
.price-wrapper .price,
.price-box .price,
.price-including-tax .price,
.price-excluding-tax .price,
.cart.table-wrapper .price,
.block-minicart .price,
.order-details-items .price,
.grand.totals .price,
.checkout-index-index .price,
.opc-block-summary .price,
.afaq-shipping-card__price .price {
    font-family: 'Afaq Saudi Riyal', inherit;
}
