/* ============================================
   SAVA LOUNGE — Per-Language Font System
   FA  → Vazirmatn
   AR  → Baloo Bhaijaan 2
   EN  → Montserrat
   TR  → Montserrat
   Display → Cormorant Garamond (all langs)
   ============================================ */

/* ── Vazirmatn (فارسی) ── */
@font-face { font-family:'Vazirmatn'; font-style:normal; font-weight:300; font-display:swap;
  src: url('../fonts/Vazirmatn-Light.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/npm/vazirmatn@33.0.3/fonts/webfonts/Vazirmatn-Light.woff2') format('woff2'); }
@font-face { font-family:'Vazirmatn'; font-style:normal; font-weight:400; font-display:swap;
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/npm/vazirmatn@33.0.3/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2'); }
@font-face { font-family:'Vazirmatn'; font-style:normal; font-weight:500; font-display:swap;
  src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/npm/vazirmatn@33.0.3/fonts/webfonts/Vazirmatn-Medium.woff2') format('woff2'); }
@font-face { font-family:'Vazirmatn'; font-style:normal; font-weight:600; font-display:swap;
  src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/npm/vazirmatn@33.0.3/fonts/webfonts/Vazirmatn-SemiBold.woff2') format('woff2'); }

/* ── Baloo Bhaijaan 2 (عربی) ── */
@font-face { font-family:'Baloo Bhaijaan 2'; font-style:normal; font-weight:400; font-display:swap;
  src: url('../fonts/BalooBhaijaan2-Regular.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/baloobhaijaan2/v6/zYXwKUwuEqdVGqM8tPDdAA_Y.woff2') format('woff2'); }
@font-face { font-family:'Baloo Bhaijaan 2'; font-style:normal; font-weight:500; font-display:swap;
  src: url('../fonts/BalooBhaijaan2-Medium.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/baloobhaijaan2/v6/zYXxKUwuEqdVGqM8tPDdAA_Y-x0kRA.woff2') format('woff2'); }
@font-face { font-family:'Baloo Bhaijaan 2'; font-style:normal; font-weight:600; font-display:swap;
  src: url('../fonts/BalooBhaijaan2-SemiBold.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/baloobhaijaan2/v6/zYXxKUwuEqdVGqM8tPDdAA_Y-0MnRA.woff2') format('woff2'); }

/* ── Montserrat (EN / TR) ── */
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:300; font-display:swap;
  src: url('../fonts/Montserrat-Light.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/montserrat/v26/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Hw5aXo.woff2') format('woff2'); }
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:400; font-display:swap;
  src: url('../fonts/Montserrat-Regular.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2') format('woff2'); }
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:500; font-display:swap;
  src: url('../fonts/Montserrat-Medium.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459WdhyyTh89Y.woff2') format('woff2'); }
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:600; font-display:swap;
  src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459W1hyyTh89Y.woff2') format('woff2'); }

/* ── Cormorant Garamond (display / headers — all langs) ── */
@font-face { font-family:'Cormorant Garamond'; font-style:normal; font-weight:300; font-display:swap;
  src: url('../fonts/CormorantGaramond-Light.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/cormorantgaramond/v22/co3YmX5slCNuHLi8bLeY9MK7whWMhyjornFLsS6V7wx.woff2') format('woff2'); }
@font-face { font-family:'Cormorant Garamond'; font-style:normal; font-weight:400; font-display:swap;
  src: url('../fonts/CormorantGaramond-Regular.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/cormorantgaramond/v22/co3bmX5slCNuHLi8bLeY9MK7whWMhyjQEl5fso.woff2') format('woff2'); }
@font-face { font-family:'Cormorant Garamond'; font-style:italic; font-weight:400; font-display:swap;
  src: url('../fonts/CormorantGaramond-Italic.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/cormorantgaramond/v22/co3ZmX5slCNuHLi8bLeY9MK7whWMhyjYrEPjuw.woff2') format('woff2'); }

/* ============================================
   Per-language body font assignment
   html[lang="fa"]  → Vazirmatn
   html[lang="ar"]  → Baloo Bhaijaan 2
   html[lang="en"]  → Montserrat
   html[lang="tr"]  → Montserrat
   ============================================ */

html[lang="fa"] body,
html[lang="fa"] input,
html[lang="fa"] textarea,
html[lang="fa"] select,
html[lang="fa"] button {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  line-height: 1.8;
}

html[lang="ar"] body,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select,
html[lang="ar"] button {
  font-family: 'Baloo Bhaijaan 2', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.8;
}

html[lang="en"] body,
html[lang="en"] input,
html[lang="en"] textarea,
html[lang="en"] select,
html[lang="en"] button {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

html[lang="tr"] body,
html[lang="tr"] input,
html[lang="tr"] textarea,
html[lang="tr"] select,
html[lang="tr"] button {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Nav & small UI text */
html[lang="fa"] .nav-cat,
html[lang="fa"] .lang-btn,
html[lang="fa"] .drawer-cat,
html[lang="fa"] .hero-eyebrow,
html[lang="fa"] .hero-subtitle,
html[lang="fa"] .cat-count,
html[lang="fa"] .item-ingredients-label,
html[lang="fa"] .search-input {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
}

html[lang="ar"] .nav-cat,
html[lang="ar"] .lang-btn,
html[lang="ar"] .drawer-cat,
html[lang="ar"] .hero-eyebrow,
html[lang="ar"] .hero-subtitle,
html[lang="ar"] .cat-count,
html[lang="ar"] .item-ingredients-label,
html[lang="ar"] .search-input {
  font-family: 'Baloo Bhaijaan 2', 'Segoe UI', Tahoma, sans-serif;
}

/* Item name — bigger + font per lang */
html[lang="fa"] .item-name,
html[lang="fa"] .cat-name {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

html[lang="ar"] .item-name,
html[lang="ar"] .cat-name {
  font-family: 'Baloo Bhaijaan 2', 'Segoe UI', Tahoma, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

/* Keep Cormorant for display headings in EN/TR */
html[lang="en"] .hero-title,
html[lang="tr"] .hero-title,
html[lang="en"] .cat-name,
html[lang="tr"] .cat-name,
html[lang="en"] .item-name,
html[lang="tr"] .item-name,
html[lang="en"] .item-price,
html[lang="tr"] .item-price {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Hero title for FA/AR — use display serif style from system */
html[lang="fa"] .hero-title {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-weight: 300;
}

html[lang="ar"] .hero-title {
  font-family: 'Baloo Bhaijaan 2', 'Segoe UI', Tahoma, sans-serif;
  font-weight: 400;
}
