/*
Theme Name: قالب مها للتوصيات
Description: قالب مخصص للعروض والخصومات
Author: Maha
Version: 1.0
Text Domain: maha-theme
*/

/* 1. تعيين الخط الجديد للموقع بالكامل */
body, h1, h2, h3, h4, h5, h6, p, a, span, button, input {
    font-family: 'Tajawal', sans-serif !important;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: #fcfcfc;
    margin: 0;
    padding: 0;
    direction: rtl;
}

h1, h2, h3 {
    font-weight: 700;
    color: #333;
}

/* 2. ستايل الهيدر الوردي */
header {
    background-color: #D81B60;
    padding: 30px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(216, 27, 96, 0.2);
}

header h1 {
    margin: 0;
    padding: 0;
}

/* --- حركة اللمعة الخاطفة السريعة --- */
@keyframes fastShine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

header h1 a {
    text-decoration: none !important;
    font-size: 26px; /* تم التصغير هنا */
    font-weight: 800;
    
    /* اللون الأبيض الأساسي كأساس */
    color: #ffffff !important;
    
    /* التدرج اللوني اللي يصنع اللمعة */
    background: linear-gradient(120deg, #ffffff 40%, #ffb3d9 50%, #ffffff 60%);
    background-size: 200% auto;
    
    /* تطبيق الحركة على النص */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    /* سرعة الحركة */
    animation: fastShine 3s linear infinite;
    display: inline-block;
}

/* --- سطر الوصف أبيض ناصع ومصغر --- */
header p {
    color: #ffffff !important; 
    font-size: 13px; /* تم التصغير هنا */
    margin-top: 5px; /* تم تقليل المسافة لتناسب الحجم الجديد */
    margin-bottom: 0;
    font-weight: 500;
}

a {
    transition: all 0.3s ease;
}