/* Shared typography for the storefront and store administration. */
@font-face {
  font-family: 'Noto Kufi Arabic';
  src: url('/assets/fonts/noto-kufi-arabic.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200F, U+202A-202E, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/space-grotesk.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --font-english: 'Space Grotesk', Arial, sans-serif;
  --font-arabic: 'Noto Kufi Arabic', 'Space Grotesk', Tahoma, sans-serif;
  --font-ui: var(--font-english);
  --weight-body: 400;
  --weight-label: 500;
  --weight-heading: 600;
  --weight-emphasis: 700;
}
html[lang=ar] { --font-ui: var(--font-arabic); }
body, html[lang=ar] body {
  font-family: var(--font-ui);
  font-weight: var(--weight-body);
  font-synthesis: none;
  line-height: 1.7;
}
html[lang=ar] body { line-height: 1.95; }
h1, h2, h3, html[lang=ar] h1, html[lang=ar] h2,
.category-card h3, html[lang=ar] .category-card h3 {
  font-family: var(--font-ui);
  font-weight: var(--weight-heading);
}
h1, h2 { line-height: 1.15; letter-spacing: -.035em; }
h3 { line-height: 1.45; letter-spacing: -.015em; }
html[lang=ar] h1, html[lang=ar] h2, html[lang=ar] h3 {
  letter-spacing: 0;
  line-height: 1.65;
}
p, input, textarea, select, .prose { font-weight: var(--weight-body); }
strong, b { font-weight: var(--weight-emphasis); }
label, .mini, .header nav, .language, .text-link, summary,
.announcement, .status, .badge, .breadcrumbs, .auth-links,
.footer-grid a:not(.brand), .footer-bottom, .account-order {
  font-weight: var(--weight-label);
}
.eyebrow, .button, .card-add button, .footer-grid h3,
.product-meta h3, .review strong, .totals .grand,
.checkout-line strong, .cart-line>strong {
  font-weight: var(--weight-heading);
}
.detail-price, .product-meta p, .totals dd, .stat-card strong {
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-heading);
  letter-spacing: -.02em;
}
del { font-weight: var(--weight-body); }
.footer-bottom strong { font-weight: var(--weight-heading); }
.hero-copy p, .editorial-copy p { line-height: 1.85; }
html[lang=ar] .hero-copy h1 { font-size: clamp(44px, 4.7vw, 70px); }
html[lang=ar] .hero-copy p, html[lang=ar] .editorial-copy p,
html[lang=ar] details p { line-height: 2.05; }
html[lang=ar] .eyebrow, html[lang=ar] .announcement,
html[lang=ar] .hero-foot, html[lang=ar] .hero-index { letter-spacing: 0; }
html[lang=ar] .button { font-size: 12px; line-height: 1.75; }
html[lang=ar] label, html[lang=ar] summary { line-height: 1.9; }
.admin-body { font-size: 13px; }
.admin-main .panel h2 { font-weight: var(--weight-heading); line-height: 1.65; }
.admin-sidebar nav a, .settings-tabs, .field, th,
.admin-top-actions, .stat-card>span { font-weight: var(--weight-label); }
.admin-sidebar nav a.active, .admin-header strong,
.quick-links a>div, .stock-item strong { font-weight: var(--weight-heading); }
.stat-card strong { font-weight: var(--weight-emphasis); line-height: 1.35; }
.quick-links strong { font-weight: 300; line-height: 1.25; }
.quick-links small, .field small, .stat-card small,
.sidebar-foot small { font-weight: var(--weight-body); }
html[lang=ar] .admin-sidebar nav a { font-size: 12px; padding-block: 11px; }
html[lang=ar] .admin-title h1 { font-size: 34px; }
html[lang=ar] .admin-main .panel h2 { font-size: 17px; }
html[lang=ar] .stat-card>span, html[lang=ar] th,
html[lang=ar] .field { font-size: 11px; }
html[lang=ar] .admin-title p, html[lang=ar] .quick-links a,
html[lang=ar] .admin-main table { font-size: 12px; }
html[lang=ar] .stat-card small, html[lang=ar] .quick-links small {
  font-size: 10px;
}
@media(max-width:800px) {
  html[lang=ar] .hero-copy h1 { font-size: 48px; }
}
@media(max-width:540px) {
  html[lang=ar] .hero-copy h1 { font-size: 38px; line-height: 1.6; }
  html[lang=ar] .detail-copy h1 { font-size: 30px; }
  html[lang=ar] .page-top h1 { font-size: 32px; }
  html[lang=ar] .editorial-copy h2 { font-size: 30px; }
  html[lang=ar] .section-heading h2 { font-size: 25px; }
  html[lang=ar] .product-meta h3 { font-size: 12px; line-height: 1.85; }
  html[lang=ar] .product-meta .mini, html[lang=ar] .badge { font-size: 10px; }
  html[lang=ar] .card-add button, html[lang=ar] .section-heading .text-link {
    font-size: 11px;
  }
  html[lang=ar] .shop-filters select { font-size: 12px; }
  html[lang=ar] .admin-title h1 { font-size: 28px; }
  html[lang=ar] .admin-top-actions .button { font-size: 10px; }
}
