@font-face {
    font-family: 'Tajawal';
    src: url('font-2025.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    /* ضبط الصورة كخلفية كاملة ومثبتة للموقع لإنهاء المظهر الباهت تماماً */
    background-image: url('Untitled-1.jpg');
    background-size: cover;          /* جعل الصورة تغطي كامل الشاشة بشكل متناسق */
    background-position: center;     /* تجميع الصورة في المنتصف لضمان التوازن البصري */
    background-repeat: no-repeat;    /* منع تكرار الصورة */
    background-attachment: fixed;    /* تثبيت الخلفية عند تمرير محتوى الصفحة لأسفل */
    
    color: #2c3e50;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0.5rem;
    overflow-x: hidden;
    direction: rtl;
}

.app_container {
    /* تحويل الخلفية إلى بيضاء شفافة بنسبة 90% لتمرير انطباع الصورة خلفها */
    background: rgba(255, 255, 255, 0.85); 
    border: 1px solid rgba(226, 232, 240, 0.8); /* تنعيم الحدود المتوافقة مع الشفافية */
    border-radius: 24px; 
    text-align: center;
    width: 100%;
    max-width: 650px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); 
    padding: 3% 5%;
    margin-bottom: 2%;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}



/* ========================================================================= */
/* 🚀 [START] تنسيق زر طلب الواتساب البيضاوي المخصص لمنتجات المتجر */
/* ========================================================================= */

/* القاعدة الأساسية لشكل زر الطلب */
.pill_btn_success {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 50px; /* المظهر البيضاوي المعتمد */
    box-sizing: border-box;
    cursor: pointer;
    background: rgba(37, 211, 102, 0.12); /* أخضر واتساب ناعم */
    color: #1e7e34;
    border: 1px solid rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
}

/* تأثير التمرير الفوقي للزر لتحويله للون الواتساب الكامل */
.pill_btn_success:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

/* ========================================================================= */
/* 🏁 [END] تنسيق زر طلب الواتساب البيضاوي المخصص لمنتجات المتجر */
/* ========================================================================= */


/* ========================================================================= */
/* 🚀 [START] المكون الموحد والكامل لكروت وشبكة كروت منتجات المتجر 2026 */
/* ========================================================================= */

/* 1. شبكة المنتجات والحاوية العامة للمظهر */
.products-grid {
    display: flex;
    flex-direction: column; 
    gap: 20px; 
    width: 100%;
    margin: 1.5rem 0;
}

/* 2. الهيكل الخارجي لبطاقة السلعة والتفاعل البصري */
.product-card {
    background: #ffffff; 
    border-radius: 16px; 
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); 
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
    transform: translateY(-3px);
    border-color: #3498db; 
}

/* 3. حاوية وصورة المنتج المعروض */
.product-img-wrapper {
    width: 100%;
    height: auto; 
    border-bottom: 1px solid #f1f5f9;
}
.product-img {
    width: 100%;
    height: auto; 
    display: block;
    object-fit: cover;
}

/* 4. تفاصيل المنتج النصية والعناوين */
.product-info {
    padding: 15px;
    text-align: right;
}
.product-title {
    font-size: 1.2rem; 
    color: #1a252f;
    font-weight: 700;
    margin-bottom: 8px;
}
.product-desc {
    font-size: 0.75rem;
    color: #5a738e; 
    white-space: pre-line; 
}

/* 5. شارة العروض الخاصة والتخفيضات */
.badge_sale {
    background-color: #e53e3e;
    color: white;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
}

/* 6. غلاف وأوزان الأسعار التناظرية لراحة العين */
.product_price_wrapper {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 10px;
}
.product_price_current {
    font-size: 1.1rem;
    color: #000000;
    font-weight: bold;
}
.product_price_old {
    font-size: 0.9rem;
    color: #000000;
    text-decoration: line-through;
    font-weight: bold;
    opacity: 0.5;
}

/* 7. شريط التحكم السفلي للميتا والمخزون */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8fafc; 
    border-top: 1px solid #f1f5f9;
}
.product-date {
    font-size: 0.75rem;
    color: #5a738e; 
    white-space: pre-line; 
}

/* 8. عناصر الهوية البصرية لمالك المتجر (اللوجو) */
.store_avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.store_avatar_placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 15px;
}

/* 9. الفواصل البصرية والتذييل وروابط البلاغات السيبرانية */
.visual_divider_dashed {
    width: 100%;
    height: 1px;
    border-top: 2px dashed rgba(52, 152, 219, 0.25);
    margin: 4% 0;
}
.large_visual_emoji {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
    display: inline-block;
}
.report-link {
    color: #e74c3c; 
    text-decoration: none; 
    font-size: 10px; 
    font-weight: bold;
}
.report-link:hover {
    text-decoration: underline;
}
.app_footer {
    margin-top: 20px;
    padding: 15px 0;
    border-top: 1px solid #e2e8f0;
    width: 100%;
}

/* ========================================================================= */
/* 🏁 [END] المكون الموحد والكامل لكروت وشبكة كروت منتجات المتجر 2026 */
/* ========================================================================= */
