@font-face {
  font-family: 'IvyToman';
  src: url('/theme/fonts/ivy-toman/ivy-toman.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+E000;
}

/*
  Persian price row: digits on the RIGHT, stacked تومان on the LEFT.
  Markup order is amount → mark; direction:rtl places them correctly
  and avoids bidi flipping the mark to the wrong side of Latin/Persian digits.
*/
.ivy-price {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0.22em;
  direction: rtl !important;
  unicode-bidi: isolate;
}

.ivy-price__num {
  display: inline-block;
  unicode-bidi: isolate;
  direction: ltr; /* keep digit order 1,850,000 readable */
}

.toman-sym {
  font-style: normal;
  font-weight: 400 !important;
  speak: never;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  flex: 0 0 auto;
}

.toman-sym::before {
  content: '\E000';
  font-family: 'IvyToman', sans-serif !important;
  font-size: 1.05em;
  font-weight: 400 !important;
  line-height: 1;
  display: block;
  position: static;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pdp-panel .price .toman-sym::before {
  font-size: 1.08em;
}
