/* ================================================================
   Teklimakan Online - Standart Tipografi ve Font Düzeni (Typography)
   Modern Turkish E-Commerce Typography: Plus Jakarta Sans & Inter
   Uygurca Yönetim Paneli: Noto Naskh Arabic
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=Noto+Naskh+Arabic:wght@400;500;600;700;800&display=swap');

:root {
  /* تۈركچە ۋە لاتىنچە ئۆلچەملىك خەت نۇسخىسى (Plus Jakarta Sans - Trendyol & Apple ئۆلچىمى) */
  --font-primary-latin: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* ئۇيغۇرچە ئۆلچەملىك نەسخ خەت نۇسخىسى */
  --font-uyghur-naskh: 'Noto Naskh Arabic', 'Scheherazade New', 'Microsoft Uighur', serif;

  --font-primary: var(--font-primary-latin);
}

/* 🇹🇷 تۈركچە ئالدى دۇكان ئۇسلۇبى (Clean, modern Turkish Storefront typography) */
html,
body,
button,
input,
select,
textarea {
  font-family: var(--font-primary-latin) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  direction: ltr !important;
  text-align: left !important;
  line-height: 1.6;
  color: #1e293b;
}

/* 🏢 ئۇيغۇرچە ئارقا سۇپا كۆرۈنۈش تەڭشىكى (Admin Panel) */
html[dir="rtl"],
html[lang="ug"],
.admin-app,
.admin-login-overlay {
  direction: rtl !important;
  text-align: right !important;
  font-family: var(--font-uyghur-naskh) !important;
}

html[dir="rtl"] body,
html[lang="ug"] body,
.admin-app body {
  font-family: var(--font-uyghur-naskh) !important;
  line-height: 1.8;
}

html[dir="rtl"] button, html[dir="rtl"] input, html[dir="rtl"] select, html[dir="rtl"] textarea,
.admin-app button, .admin-app input, .admin-app select, .admin-app textarea, .admin-login-card input {
  font-family: var(--font-uyghur-naskh) !important;
}

/* 🛡️ FontAwesome بەلگىلىرىنىڭ (Icons) سۇئال بەلگىسى [?] بولۇپ قالماسلىقىنى قەتئىي قوغداش */
.fa, .fas, .far, .fal, .fad, .fab, 
i[class*="fa-"], span[class*="fa-"],
[class^="fa-"], [class*=" fa-"],
.fa::before, .fas::before, .far::before, .fab::before,
[class^="fa-"]::before, [class*=" fa-"]::before,
[class^="fa-"]::after, [class*=" fa-"]::after {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
}

.fab, [class^="fab"], [class*=" fab"], .fab::before, [class^="fab"]::before, [class*=" fab"]::before {
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
}

button i, .btn-action-edit i, .btn-action-delete i, .action-btn i {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
}

/* سانلار ۋە باھا بەلگىلىرى (₺ / $) */
.number-latin, .current-price, .cart-item-price, .badge-price {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.25px;
}

/* 📱 Responsive Typography */
@media (max-width: 768px) {
  html { font-size: 15px; }
  body { font-size: 0.98rem; }
}

@media (max-width: 480px) {
  html { font-size: 14.5px; }
  body { font-size: 0.95rem; }
  input, select, textarea { font-size: 16px !important; }
}
