/* Roniz typefaces — declared once, here.

   Kalameh ships four weights but the site's CSS asks for six, so each file
   covers a range. Every weight that can be requested resolves to a real file;
   the browser never has to synthesise one. */

@font-face{font-family:'Kalameh';src:url('/static/fonts/kalameh/KalamehWeb-Thin.woff2') format('woff2');font-weight:100 350;font-style:normal;font-display:swap}
@font-face{font-family:'Kalameh';src:url('/static/fonts/kalameh/KalamehWeb-Regular.woff2') format('woff2');font-weight:351 550;font-style:normal;font-display:swap}
@font-face{font-family:'Kalameh';src:url('/static/fonts/kalameh/KalamehWeb-Bold.woff2') format('woff2');font-weight:551 750;font-style:normal;font-display:swap}
@font-face{font-family:'Kalameh';src:url('/static/fonts/kalameh/KalamehWeb-Black.woff2') format('woff2');font-weight:751 950;font-style:normal;font-display:swap}

/* the previous face stays as a fallback: if a Kalameh file fails to arrive the
   page lands on what it has been using all along, not on a system sans */
@font-face{font-family:'Vazirmatn';src:url('/static/fonts/Vazirmatn.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'Cormorant';src:url('/static/fonts/Cormorant-600.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'Cormorant';src:url('/static/fonts/Cormorant-500.woff2') format('woff2');font-weight:500;font-display:swap}

/* Numerals.

   Kalameh draws the Persian zero as an open circle, which at small sizes and
   regular weight reads as a Latin "o". Prices are the one place a misread
   digit actually costs something, so they get a heavier cut and a little more
   size — enough to close the counter visually without changing the layout.

   tabular-nums keeps columns of prices aligned, which proportional figures
   break in a list. */
.price, .ototal, .sp, .oamt, .tamt, .k b, .wsum-b b,
.pv .nums, .bg-meta, .cart-total, #cTotal, #sheetTotal, #cmTotal {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* the digits themselves, wherever a price is printed */
.price, .ototal, #cTotal, #sheetTotal, #cmTotal, .cart-total {
  font-weight: 800;
  letter-spacing: .012em;
}
