:root {
    --primary: #1565D8;
    --primary-light: #4A90E2;
    --primary-dark: #0D47A1;
    --gray-bg: #F5F7FA;
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-hover: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 16px;
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
font-family: 'Cairo', 'Segoe UI', 'Tajawal', system-ui, sans-serif;
    background: var(--gray-bg);
    color: #1a202c;
    line-height: 1.6;
}
/* هيدر عصري */
.main-header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 12px rgba(21,101,216,0.08);
}
.logo-text {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-link {
    color: #4a5568;
    transition: all 0.2s ease;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
}
.nav-link:hover { color: var(--primary); background: rgba(21,101,216,0.06); }
.nav-link i { margin-left: 6px; }

/* بطاقات المنتجات */
.product-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover img { transform: scale(1.03); }
.product-card .body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-card .title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .price { font-size: 20px; font-weight: 800; color: var(--primary); }
.product-card .old-price { font-size: 14px; color: #a0aec0; text-decoration: line-through; margin-left: 8px; }
.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
}
.btn-primary:hover { background: var(--primary-dark); transform: scale(1.02); box-shadow: 0 4px 12px rgba(21,101,216,0.3); }

/* قسم الأقسام */
.category-item {
    background: #fff;
    padding: 20px 12px;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    cursor: pointer;
}
.category-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.category-item .icon {
    width: 64px;
    height: 64px;
    background: rgba(21,101,216,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 28px;
    color: var(--primary);
}

/* بانر */
.banner-slider { position: relative; border-radius: var(--radius); overflow: hidden; max-height: 420px; }
.banner-slider img { width: 100%; height: 420px; object-fit: cover; }
.banner-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: var(--primary);
    font-size: 18px;
}
.banner-btn:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.banner-btn.prev { left: 16px; }
.banner-btn.next { right: 16px; }

/* فوتر */
.main-footer {
    background: #1a202c;
    color: #cbd5e0;
    padding: 50px 0 20px;
    margin-top: 60px;
}
.main-footer h4 { color: #fff; font-weight: 700; margin-bottom: 16px; }
.main-footer a { color: #a0aec0; transition: 0.3s; }
.main-footer a:hover { color: var(--primary-light); }

/* استجابة */
@media (max-width: 640px) {
    .logo-text { font-size: 22px; }
    .product-card img { height: 160px; }
    .banner-slider img { height: 200px; }
    .banner-btn { width: 32px; height: 32px; font-size: 14px; }
    .category-item .icon { width: 48px; height: 48px; font-size: 20px; }
}