.ck-toman-mark { display: inline-block; position: relative; width: 2.6em; height: 2.4em; margin-inline: .15em; color: inherit; line-height: 1; vertical-align: middle; flex-shrink: 0; }
.ck-toman-mark::before { content: ''; display: block; width: 100%; height: 100%; background-color: currentColor; -webkit-mask: url('../img/toman.svg') center / contain no-repeat; mask: url('../img/toman.svg') center / contain no-repeat; }
.ck-toman-mark > .ck-toman-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
del .ck-toman-mark, s .ck-toman-mark { display: none; }

/* Keep card currency marks within the price line. */
.ck-gheymat .ck-toman-mark,
.ck-book.ry-fiilllmm .ck-toman-mark,
.ry-heiight .ck-toman-mark {
    width: 1.25em;
    height: 1.15em;
    vertical-align: -0.15em;
}

.ck-gheymat .ck-new-price {
    white-space: nowrap;
}

/* Discounted prices need two lines without spilling into the view count. */
.ry-heiight {
    height: auto;
    min-height: 44px;
}

.ry-heiight .new-price {
    margin-bottom: 0;
    line-height: 24px;
    white-space: nowrap;
}

/* Film listings include the price inside the teacher block. */
.ck-book.ry-fiilllmm .ostad-attr {
    height: auto;
    min-height: 54px;
}

.ck-book.ry-fiilllmm .ck-film-card-price {
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 12px 0;
}

.ck-book.ry-fiilllmm .ck-film-card-price p {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0 !important;
    line-height: 24px;
    white-space: nowrap;
    overflow: visible;
}
