/* ========================================
   Zaad Storefront - Typography System
   نظام الخطوط المتناسق للمتجر
   ======================================== */

/* Base Font Settings */
* {
    font-family: 'Cairo', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-size: 16px;
    line-height: 1.6;
    color: #1f2937;
}

/* ========================================
   Headings - العناوين
   ======================================== */

h1, .text-h1 {
    font-size: 2.5rem;      /* 40px */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2, .text-h2 {
    font-size: 2rem;        /* 32px */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.875rem;
}

h3, .text-h3 {
    font-size: 1.5rem;      /* 24px */
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h4, .text-h4 {
    font-size: 1.25rem;     /* 20px */
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.625rem;
}

h5, .text-h5 {
    font-size: 1.125rem;    /* 18px */
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

h6, .text-h6 {
    font-size: 1rem;        /* 16px */
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* ========================================
   Body Text - النصوص الأساسية
   ======================================== */

.text-base {
    font-size: 1rem;        /* 16px */
    line-height: 1.6;
}

.text-lg {
    font-size: 1.125rem;    /* 18px */
    line-height: 1.75;
}

.text-xl {
    font-size: 1.25rem;     /* 20px */
    line-height: 1.75;
}

.text-sm {
    font-size: 0.875rem;    /* 14px */
    line-height: 1.5;
}

.text-xs {
    font-size: 0.75rem;     /* 12px */
    line-height: 1.4;
}

/* ========================================
   Product Card Typography
   ======================================== */

.product-card-title {
    font-size: 0.9375rem;   /* 15px */
    font-weight: 600;
    line-height: 1.4;
    color: #1f2937;
}

.product-card-price {
    font-size: 1.125rem;    /* 18px */
    font-weight: 700;
    line-height: 1.3;
}

.product-card-old-price {
    font-size: 0.8125rem;   /* 13px */
    font-weight: 400;
    line-height: 1.3;
}

.product-card-badge {
    font-size: 0.6875rem;   /* 11px */
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   Navigation & Menu
   ======================================== */

.nav-link {
    font-size: 0.9375rem;   /* 15px */
    font-weight: 500;
    line-height: 1.5;
}

.nav-link-large {
    font-size: 1rem;        /* 16px */
    font-weight: 600;
}

.menu-title {
    font-size: 0.875rem;    /* 14px */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    font-size: 0.9375rem;   /* 15px */
    font-weight: 600;
    line-height: 1.5;
}

.btn-sm {
    font-size: 0.875rem;    /* 14px */
    font-weight: 600;
}

.btn-lg {
    font-size: 1.0625rem;   /* 17px */
    font-weight: 700;
}

/* ========================================
   Hero Section
   ======================================== */

.hero-title {
    font-size: 2.75rem;     /* 44px */
    font-weight: 900;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;     /* 20px */
    font-weight: 400;
    line-height: 1.6;
}

/* ========================================
   Category Titles
   ======================================== */

.category-title {
    font-size: 1.75rem;     /* 28px */
    font-weight: 700;
    line-height: 1.3;
}

.category-subtitle {
    font-size: 1rem;        /* 16px */
    font-weight: 400;
    line-height: 1.6;
    color: #6b7280;
}

/* ========================================
   Announcement Bar
   ======================================== */

.announcement-text {
    font-size: 0.875rem;    /* 14px */
    font-weight: 500;
    line-height: 1.4;
}

/* ========================================
   Footer
   ======================================== */

.footer-title {
    font-size: 1.125rem;    /* 18px */
    font-weight: 700;
    line-height: 1.4;
}

.footer-link {
    font-size: 0.9375rem;   /* 15px */
    font-weight: 400;
    line-height: 1.8;
}

.footer-copyright {
    font-size: 0.875rem;    /* 14px */
    font-weight: 400;
    line-height: 1.5;
}

/* ========================================
   Responsive Typography
   ======================================== */

@media (max-width: 768px) {
    h1, .text-h1, .hero-title {
        font-size: 2rem;    /* 32px */
    }
    
    h2, .text-h2, .category-title {
        font-size: 1.5rem;  /* 24px */
    }
    
    h3, .text-h3 {
        font-size: 1.25rem; /* 20px */
    }
    
    .hero-subtitle {
        font-size: 1.0625rem; /* 17px */
    }
    
    .product-card-title {
        font-size: 0.875rem; /* 14px */
    }
    
    .product-card-price {
        font-size: 1rem;    /* 16px */
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    
    h1, .text-h1, .hero-title {
        font-size: 1.75rem; /* 28px */
    }
    
    h2, .text-h2 {
        font-size: 1.375rem; /* 22px */
    }
    
    .nav-link {
        font-size: 0.875rem; /* 14px */
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }
