/* SEYED GOLD typography system
   Previous fonts preserved for one-line rollback: Vazirmatn + DM Serif Display. */
@font-face{font-family:"Peyda";src:url("https://tamasbot.io/Peyda-font/PeydaWeb-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Peyda";src:url("https://tamasbot.io/Peyda-font/PeydaWeb-Medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Peyda";src:url("https://tamasbot.io/Peyda-font/PeydaWeb-Bold.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Peyda";src:url("https://tamasbot.io/Peyda-font/PeydaWeb-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

:root{
  --font-primary:"Peyda",sans-serif;
  --font-current-backup:"Vazirmatn",Tahoma,sans-serif;
  --font-latin:"Inter",Arial,sans-serif;
  --font-brand:"Cormorant Garamond","DM Serif Display",Georgia,serif;
  --font-numeric:"Inter",Arial,sans-serif;
}

/* Rollback: change only --font-primary to var(--font-current-backup). */
html,body,button,input,select,textarea{font-family:var(--font-primary)}
body{font-weight:400;line-height:1.7}
button,input,select,textarea{letter-spacing:0}

/* English, identifiers and financial values stay crisp and stable. */
[dir="ltr"],code,pre,.numeric,[data-numeric],.price,.product-price,.detail-price,.order-number,.tracking-code,
.admin-table b,.admin-table strong,.stat-card b,.brand,.brand-mark,.admin-brand,.admin-logo,.login-logo,
.google-mark{font-family:var(--font-numeric)}
.numeric,[data-numeric],.price,.product-price,.detail-price,.order-number,.tracking-code{font-variant-numeric:tabular-nums;letter-spacing:.01em}

/* Luxury wordmark only. Persian copy remains Peyda. */
.brand b,.brand-mark,.admin-brand b,.auth-showcase-brand,.auth-showcase-brand strong,.auth-mobile-brand,
.auth-showcase-seal span{font-family:var(--font-brand)}

/* Existing display-font declarations are intentionally normalized here. */
.hero h1,.story h2,.section-heading h2,.catalog-hero h1,.product-title-row h1,.info-hero h1,
.panel-head h2,.sg-newsletter h2,.sg-search-modal label,.product-error>span{font-family:var(--font-primary)}
.benefits b,.gold-bar:after{font-family:var(--font-numeric)}
.auth-visual-copy h3,#auth-modal .auth-form-pane h2,.drawer-title h2{font-family:var(--font-primary)}
.auth-showcase-brand span{font-family:var(--font-primary)}

/* Keep key UI text comfortably readable after the font change. */
.hero h1,.story h2,.section-heading h2{line-height:1.35}
.product-title,.product-card h3,.product-info h3,.detail-totals strong{font-weight:600}
.product-price,.detail-price,.price{font-weight:600}

@media (max-width:760px){
  .hero h1,.story h2,.section-heading h2{line-height:1.4}
  .product-price,.detail-price,.price{font-size:clamp(13px,3.5vw,17px)}
}
