@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

/* كفو — Design Tokens (الثيم الأبيض) */
:root {
  /* Colors */
  --bg-page: #FFFFFF;
  --bg-surface: #F8F9FA;
  --border-default: #E5E7EB;
  --border-focus: #B89028;
  --text-primary: #111111;
  --text-secondary: #64748B;
  --text-on-brand: #FFFFFF;
  --brand-gold: #B89028;
  --brand-gold-hover: #9A761E;
  --brand-gold-ring: rgba(184, 144, 40, 0.18);
  --whatsapp-green: #25D366;
  --danger: #DC2626;

  /* Typography */
  --font-main: 'IBM Plex Sans Arabic', system-ui, sans-serif;

  --fs-h1: 28px;          /* 36px من 768px وفوق */
  --fs-body: 16px;
  --fs-input: 16px;       /* لا تنزل عن 16px: يمنع Auto-Zoom في سفاري الآيفون */
  --fs-label: 14px;
  --fs-caption: 13px;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-heading: 1.25;
  --lh-body: 1.6;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;        /* بين كل حقل والثاني */
  --space-6: 24px;        /* قبل الزر الأساسي + padding الحاوية */
  --space-8: 32px;

  /* Sizing */
  --container-max: 440px;
  --container-padding: 24px;
  --input-height: 48px;
  --btn-height: 52px;
  --border-width: 1.5px;

  /* Radius */
  --radius-input: 10px;
  --radius-btn: 12px;
  --radius-card: 16px;

  /* Motion */
  --transition: 150ms ease;
}

@media (min-width: 768px) {
  :root {
    --fs-h1: 36px;
  }
}
