/* NEXUS v614 — یکان‌بخ برای کل سایت (متن، عدد، قیمت، شماره تماس، دکمه‌ها، فرم‌ها)
   ارقام لاتین (0-9) در فایل‌های فونت به شکل فارسی (۰-۹) نگاشت شده‌اند. */
@font-face{font-family:'NxYekan';font-style:normal;font-weight:100 300;font-display:swap;src:url('fonts/yekanbakh/YekanBakh-Light.woff') format('woff')}
@font-face{font-family:'NxYekan';font-style:normal;font-weight:400 500;font-display:swap;src:url('fonts/yekanbakh/YekanBakh-Regular.woff') format('woff')}
@font-face{font-family:'NxYekan';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/yekanbakh/YekanBakh-SemiBold.woff') format('woff')}
@font-face{font-family:'NxYekan';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/yekanbakh/YekanBakh-Bold.woff') format('woff')}
@font-face{font-family:'NxYekan';font-style:normal;font-weight:800;font-display:swap;src:url('fonts/yekanbakh/YekanBakh-ExtraBold.woff') format('woff')}
@font-face{font-family:'NxYekan';font-style:normal;font-weight:900;font-display:swap;src:url('fonts/yekanbakh/YekanBakh-Black.woff') format('woff')}

:root{
  --nx-yk:'NxYekan',Tahoma,'Segoe UI',Arial,sans-serif;
  --nx-font-family:var(--nx-yk);--nx-estedad:var(--nx-yk);--nx-number-font:var(--nx-yk);
  --nx552-price-font:var(--nx-yk);--nx593-ff:var(--nx-yk);--nx593-ff-fa:var(--nx-yk);
}

/* همه‌چیز (به‌جز آیکون‌های فونتی، SVG و کد) */
html body,
html body *:not(#nxyk1):not(#nxyk2):not(svg):not(svg *):not(code):not(pre):not(kbd):not(samp):not([class^="fa-"]):not([class*=" fa-"]):not(.fa):not(.fa-solid):not(.fa-regular):not(.fa-brands),
html body input:not(#nxyk1):not(#nxyk2),html body textarea:not(#nxyk1):not(#nxyk2),
html body select:not(#nxyk1):not(#nxyk2),html body button:not(#nxyk1):not(#nxyk2),
html body input::placeholder,html body textarea::placeholder{
  font-family:var(--nx-yk)!important;
  font-synthesis:none;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  font-feature-settings:"kern" 1,"liga" 1;
}
html body *::before,html body *::after{font-family:var(--nx-yk)}
html body .fa-solid::before,html body .fa-regular::before,html body .fa-brands::before,html body [class^="fa-"]::before{font-family:revert!important}

/* ---- مقیاس ضخامت ---- */
html body{font-weight:400}
html body :is(h1){font-weight:800!important}
html body :is(h2,h3){font-weight:800!important}
html body :is(h4,h5,h6,th,legend){font-weight:700!important}
html body :is(button,.btn,[type="submit"],[type="button"]){font-weight:700!important}
html body :is(label,.nxa-field label){font-weight:600}
html body :is(input,textarea,select){font-weight:500!important}
html body input::placeholder,html body textarea::placeholder{font-weight:400!important;opacity:.7}
/* قیمت‌ها و درصد تخفیف: پررنگ؛ قیمت قبل از تخفیف: سبک */
html body :is(.nxn-price,.nxn-now,.nx-price-number,.nx457-price,.nxr-price,.nxn-off){font-weight:800!important;letter-spacing:0!important}
html body :is(.nxn-old,.nx457-old){font-weight:400!important;letter-spacing:0!important}
/* شماره‌ها و اعداد: بدون فاصلهٔ حروف تا رقم‌ها نچسبند/نپرند */
html body :is(.nxd-tel,.nxd-tel-num,[href^="tel:"],.nx-cs-item .n,.nx-nav-badge,.nx-acc-dot,.nx457-cart-count){letter-spacing:0!important;font-variant-numeric:normal}
/* کد تأیید */
html body .nxa-card .nx-otp-digit{font-weight:800!important;letter-spacing:0!important}
/* متن‌های کم‌اهمیت */
html body :is(small,.muted,.nxa-hint,.nxa-sub){font-weight:400}

/* ---- v616: فاصلهٔ ارقام قیمت‌ها ----
   قانون‌های قدیمی روی قیمت‌ها "tnum" (عددهای هم‌عرض) گذاشته بودن، توی یکان‌بخ بین رقم‌ها فاصلهٔ زیاد می‌ندازه.
   اینجا خاموشش می‌کنیم و رقم‌ها رو کمی به هم نزدیک‌تر می‌کنیم. */
html body :is(.nx-price,.nx-price *,.nx-price-number,.nx-old-price,.nx-old-price *,.nxc-num,.nxc-now,.nxc-old,.nxd-now,.nxd-old,.nxd-old *,.nxd-price,.nxd-price *,.nxn-price,.nxn-price *,.nxn-now,.nxn-old,.nx457-price,.nx457-old,.nxr-price,del):not(#nxyk1):not(#nxyk2){
  font-variant-numeric:normal!important;
  font-feature-settings:"tnum" 0,"pnum" 1,"kern" 1!important;
  letter-spacing:-0.02em!important;
  word-spacing:0!important;
}
/* قیمت قبل از تخفیف: از بقیه هم کمی فشرده‌تر */
html body :is(.nx-old-price,.nx-old-price *,.nxc-old,.nxd-old,.nxd-old *,.nxn-old,.nx457-old,del):not(#nxyk1):not(#nxyk2){
  letter-spacing:-0.05em!important;
  word-spacing:-0.1em!important;
}
