/* iDigital Design — product card: price & discount. */
:where(.iddd-pc-price){display:flex;flex-wrap:wrap;align-items:center;column-gap:.5em;row-gap:2px;line-height:1.4}
:where(.iddd-pc-price.--layout-stack),:where(.iddd-pc-price.--layout-stack-reverse){flex-direction:column;align-items:flex-start}
:where(.iddd-pc-price.--layout-split){justify-content:space-between}
:where(.iddd-pc-price__line){display:flex;flex-wrap:wrap;align-items:center;column-gap:.5em}
:where(.iddd-pc-price__current){display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:.2em;font-weight:700;font-size:1.05em}
:where(.iddd-pc-price__amount){display:inline-flex;align-items:baseline}
:where(.iddd-pc-price__regular){font-size:.85em;opacity:.6;text-decoration:line-through}
:where(.iddd-pc-price__regular) :where(.woocommerce-Price-amount){text-decoration:inherit}
:where(.iddd-pc-price-strike-none) :where(.iddd-pc-price__regular){text-decoration:none}
:where(.iddd-pc-price-strike-diag) :where(.iddd-pc-price__regular){position:relative;display:inline-block;text-decoration:none}
:where(.iddd-pc-price-strike-diag) :where(.iddd-pc-price__regular)::after{content:"";position:absolute;top:50%;left:-2px;right:-2px;border-top:var(--iddd-strike-width,1px) solid var(--iddd-strike-color,currentColor);transform:rotate(-12deg);pointer-events:none}
:where(.iddd-pc-price__discount){display:inline-flex;align-items:center;gap:.25em;padding:.1em .55em;border-radius:999px;background-color:#ef394e;color:#fff;font-size:.8em;font-weight:700;line-height:1.6;white-space:nowrap;transition:background-color .25s ease,color .25s ease,transform .25s ease}
:where(.iddd-pc-price__discount.--rey){padding:0;background:none;color:inherit}
:where(.iddd-pc-price__disc-icon){display:inline-flex;font-size:1.1em;line-height:1}
:where(.iddd-pc-price__disc-sep){opacity:.6;margin-inline:.15em}
:where(.iddd-pc-price__currency){margin-inline-start:.25em;font-size:.75em;font-weight:400}
:where(.iddd-pc-price__from){margin-inline-end:.15em;font-size:.8em;font-weight:400;opacity:.8}
:where(.iddd-pc-price__sep){margin-inline:.25em;opacity:.7}
:where(.iddd-pc-price__prefix),:where(.iddd-pc-price__suffix){font-size:.85em;opacity:.8}
:where(.iddd-pc-price__note){font-weight:600}
:where(.iddd-pc-price.--oos-dim){opacity:.5}
:where(.iddd-pc-price-inherit) :where(.price){display:flex;flex-wrap:wrap;align-items:center;gap:.35em;margin:0}
/* جای واحد پول (چپ/راست فیزیکی، مستقل از RTL) با فاصلهٔ --iddd-cur-gap */
.iddd-pc-price__amount.--cur-left,.iddd-pc-price__amount.--cur-right{display:inline-flex;align-items:baseline;gap:var(--iddd-cur-gap,.25em);direction:ltr;unicode-bidi:isolate}
.iddd-pc-price__amount.--cur-left .iddd-pc-price__currency,.iddd-pc-price__amount.--cur-right .iddd-pc-price__currency{margin:0!important}
.iddd-pc-price__amount.--cur-left .iddd-pc-price__currency{order:-1}
.iddd-pc-price__amount.--cur-right .iddd-pc-price__currency{order:1}
