    @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');
	:root {
            --primary-color: #D4AF37; /* ذهبي */
            --secondary-color: #1a1a1a;
            --background-color: #0a0a0a;
            --card-color: #121212;
            --text-color: #e0e0e0;
            --light-gray: #2a2a2a;
            --gray: #333;
            --dark-gray: #888;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
html, body, button, input, select, textarea {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
        }
        
        body {
            background-color: var(--background-color);
            color: var(--text-color);
            direction: rtl;
            padding-top: 130px; /* زيادة المساحة لشريط الأسعار */
        }
        
        /* شريط أسعار المعادن */
        .metal-prices-bar {
            background: linear-gradient(90deg, #1a1a1a, #2a2a2a);
            color: white;
            padding: 8px 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 2000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            border-bottom: 1px solid var(--primary-color);
        }
        
        .metal-prices-container {
            display: flex;
            justify-content: space-around;
            width: 90%;
            margin: 0 auto;
            flex-wrap: wrap;
        }
        
        .metal-price {
            display: flex;
            align-items: center;
            margin: 0 10px;
            font-size: 14px;
        }
        
        .metal-price i {
            color: var(--primary-color);
            margin-left: 5px;
        }
        
        .price-up {
            color: #4caf50;
        }
        
        .price-down {
            color: #f44336;
        }
        
        /* شريط التنقل الرئيسي - ثابت وشفاف */
        .header {
            background-color: rgba(26, 26, 26, 0.9);
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            position: fixed;
            top: 37px;
            width: 100%;
            z-index: 1000;
            transition: background-color 0.3s ease;
        }
        
        .header.scrolled {
            background-color: rgba(10, 10, 10, 0.95);
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 90%;
            margin: 0 auto;
        }
        
        .logo {
            height: 50px;
            display: flex;
            align-items: center;
        }
        
     .logo img {
    max-height: 60px;
    width: auto;
}

        
        .nav-menu {
            display: flex;
            list-style: none;
        }
        
        .nav-menu li {
            margin: 0 15px;
        }
        
        .nav-menu a {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
        }
        
        .nav-menu a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            left: 0;
            bottom: -5px;
            transition: width 0.3s;
        }
        
        .nav-menu a:hover {
            color: var(--primary-color);
        }
        
        .nav-menu a:hover:after {
            width: 100%;
        }
        
        .header-icons a {
            color: var(--text-color);
            margin-right: 15px;
            font-size: 18px;
            transition: color 0.3s;
        }
        
        .header-icons a:hover {
            color: var(--primary-color);
        }
        
        /* قائمة الهامبرجر للجوال */
        .hamburger {
            display: none;
            cursor: pointer;
            background: none;
            border: none;
            color: var(--text-color);
            font-size: 24px;
        }
        
        /* فيديو الخلفية */
        .video-slider {
            width: 100%;
            height: 500px;
            position: relative;
            overflow: hidden;
        }
        
        .video-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
        }
        
        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
            padding: 0 20px;
        }
        
        .video-overlay h2 {
            font-size: 42px;
            margin-bottom: 20px;
            color: var(--primary-color);
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        }
        
        .video-overlay p {
            font-size: 20px;
            margin-bottom: 30px;
            max-width: 700px;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
        }
        
        .btn {
            background-color: var(--primary-color);
            color: black;
            border: none;
            padding: 12px 25px;
            border-radius: 4px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 18px;
        }
        
        .btn:hover {
            background-color: #ffd700;
            transform: translateY(-2px);
        }
        
        /* صفحة الميزات */
        .features-section {
            padding: 80px 0;
            background-color: var(--secondary-color);
        }
        
        .features-container {
            width: 90%;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
        }
        
        .feature-card {
            background-color: var(--card-color);
            border-radius: 10px;
            overflow: hidden;
            width: 300px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s;
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
        }
        
        .feature-icon {
            background-color: var(--primary-color);
            color: black;
            font-size: 40px;
            padding: 30px 0;
        }
        
        .feature-content {
            padding: 20px;
        }
        
        .feature-content h3 {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-size: 22px;
        }
        
        .feature-content p {
            color: var(--dark-gray);
            line-height: 1.6;
        }
        
        /* المنتجات المميزة */
        .featured-products {
            padding: 60px 0;
            width: 90%;
            margin: 0 auto;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 40px;
            font-size: 32px;
            color: var(--text-color);
            position: relative;
        }
        
        .section-title:after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background-color: var(--primary-color);
            margin: 10px auto;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
        }
        
        .product-card {
            background-color: var(--card-color);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
            display: flex;
            flex-direction: column;
            height: 500px;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        }
        
        .product-image {
            height: 250px;
            background-color: var(--light-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }
        
        /* تعديل شكل الصورة لتصبح مربعة */
        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .product-card:hover .product-image img {
            transform: scale(1.05);
        }
        
        .product-info {
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            background: var(--card-color);
            flex-grow: 1;
        }
        
        .product-title {
            font-size: 20px;
            color: var(--text-color);
            margin: 0 0 10px 0;
            line-height: 1.4;
        }
        
        .product-description {
            color: var(--dark-gray);
            font-size: 14px;
            margin: 8px 0;
            line-height: 1.6;
        }
        
        .product-features {
            margin: 15px 0;
            padding: 0;
            list-style: none;
        }
        
        .product-features li {
            color: var(--text-color);
            margin-bottom: 8px;
            font-size: 14px;
            position: relative;
            padding-right: 20px;
        }
        
        .product-features li:before {
            content: "•";
            color: var(--primary-color);
            font-weight: bold;
            position: absolute;
            right: 0;
        }
        
        .product-divider {
            height: 1px;
            background-color: var(--light-gray);
            margin: 15px 0;
        }
        
        .product-price-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
        }
        
        .product-price {
            color: var(--primary-color);
            font-weight: bold;
            font-size: 22px;
        }
        
        .details-btn {
            background-color: transparent;
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
            padding: 8px 15px;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .details-btn:hover {
            background-color: var(--primary-color);
            color: black;
        }
        
        /* سلايدر العبارات مع الصور */
        .quotes-slider {
            background-color: var(--secondary-color);
            padding: 80px 0;
            margin: 60px 0;
        }
        
        .quotes-swiper {
            height: 400px;
        }
        
        .quote-slide {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 100px;
            color: white;
            background-size: cover;
            background-position: center;
            height: 100%;
            position: relative;
        }
        
        .quote-slide:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
        }
        
        .quote-content {
            position: relative;
            z-index: 1;
            max-width: 800px;
        }
        
        .quote-slide i {
            font-size: 40px;
            color: var(--primary-color);
            margin-bottom: 20px;
        }
        
        .quote-text {
            font-size: 28px;
            line-height: 1.6;
            margin-bottom: 20px;
            font-weight: 300;
        }
        
        .quote-author {
            font-size: 20px;
            color: var(--primary-color);
        }
        
        .swiper-pagination-bullet-active {
            background: var(--primary-color) !important;
        }
        
        /* قسم المدونة */
        .blog-section {
            background-color: var(--secondary-color);
            padding: 60px 0;
        }
        
        .blog-container {
            width: 90%;
            margin: 0 auto;
            display: flex;
            gap: 20px;
        }
        
        .blog-card {
            flex: 1;
            background-color: var(--card-color);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }
        
        .blog-image {
            height: 200px;
            background-color: var(--gray);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .blog-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .blog-content {
            padding: 20px;
        }
        
        .blog-content h3 {
            margin-bottom: 10px;
            color: var(--text-color);
            font-size: 20px;
        }
        
        .blog-content p {
            color: var(--dark-gray);
            margin-bottom: 15px;
            line-height: 1.6;
        }
        
        .blog-date {
            color: var(--primary-color);
            font-size: 14px;
            display: block;
            margin-bottom: 10px;
        }
        
        .read-more {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: bold;
            display: inline-block;
            margin-top: 10px;
        }
        
        /* قسم الشركاء */
        .partners-section {
            padding: 60px 0;
            background-color: var(--background-color);
        }
        
        .partners-slider {
            width: 100%;
            height: 150px;
            margin: 40px 0;
        }
        
        .partner-logo {
            background-color: white;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            padding: 15px;
            margin: 0 20px;
        }
        
        .partner-logo img {
            max-width: 100%;
            max-height: 70px;
        }
        
        /* قسم النشرة البريدية */
        .newsletter {
            padding: 60px 0;
            text-align: center;
            background-color: var(--secondary-color);
            color: var(--text-color);
            border-top: 1px solid var(--light-gray);
            border-bottom: 1px solid var(--light-gray);
        }
        
        .newsletter h2 {
            margin-bottom: 20px;
            color: var(--primary-color);
        }
        
        .newsletter p {
            margin-bottom: 30px;
            width: 60%;
            margin-left: auto;
            margin-right: auto;
            color: var(--dark-gray);
        }
        
        .newsletter-form {
            display: flex;
            justify-content: center;
            max-width: 500px;
            margin: 0 auto;
        }
        
        .newsletter-form input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            border-radius: 4px 0 0 4px;
            background-color: var(--light-gray);
            color: var(--text-color);
        }
        
        .newsletter-form button {
            background-color: var(--primary-color);
            color: black;
            border: none;
            padding: 0 20px;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s;
        }
        
        .newsletter-form button:hover {
            background-color: #ffd700;
        }
        
        /* التذييل */
        .footer {
            background-color: var(--secondary-color);
            color: var(--text-color);
            padding: 60px 0 20px;
        }
        
        .footer-container {
            width: 90%;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
        }
        
        .footer-column h3 {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-size: 18px;
        }
        
        .footer-column p, .footer-column li {
            color: var(--dark-gray);
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column ul li {
            margin-bottom: 10px;
        }
        
        .footer-column ul li a {
            color: var(--dark-gray);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-column ul li a:hover {
            color: var(--primary-color);
        }
        
        .footer-social {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .footer-social a {
            color: var(--text-color);
            background-color: var(--light-gray);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }
        
        .footer-social a:hover {
            background-color: var(--primary-color);
            color: black;
            transform: translateY(-3px);
        }
        
        .footer-bottom {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid var(--light-gray);
            width: 90%;
            margin-left: auto;
            margin-right: auto;
            color: var(--dark-gray);
        }
        
        /* صفحة الميزات الفريدة */
        .unique-features-section {
            padding: 80px 0;
            background-color: var(--secondary-color);
        }

        .unique-features-container {
            width: 90%;
            margin: 0 auto;
        }

        .unique-features-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .unique-features-header .section-title {
            color: var(--primary-color);
            margin-bottom: 20px;
        }

        .unique-features-header p {
            font-size: 18px;
            line-height: 1.6;
            color: var(--dark-gray);
            max-width: 800px;
            margin: 0 auto;
        }

        .unique-features-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
        }

        .unique-feature-item {
            display: flex;
            align-items: flex-start;
            background: linear-gradient(145deg, #121212, #1a1a1a);
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-right: 4px solid var(--primary-color);
        }

        .unique-feature-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
        }

        .unique-feature-icon {
            background: linear-gradient(145deg, #D4AF37, #FFD700);
            color: #000;
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            margin-left: 25px;
            flex-shrink: 0;
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
        }

        .unique-feature-content {
            flex: 1;
        }

        .unique-feature-content h3 {
            font-size: 24px;
            color: var(--primary-color);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .unique-feature-content p {
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-color);
            margin-bottom: 15px;
        }

        .unique-feature-list {
            list-style: none;
            padding: 0;
            margin-top: 20px;
        }

        .unique-feature-list li {
            position: relative;
            padding-right: 30px;
            margin-bottom: 12px;
            color: var(--text-color);
            display: flex;
            align-items: center;
        }

        .unique-feature-list li:before {
            content: "✓";
            background: linear-gradient(145deg, #D4AF37, #FFD700);
            color: #000;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
            position: absolute;
            right: 0;
        }
        
        /* تصميم الميزات الفريدة للجوال */
        @media (max-width: 768px) {
            .unique-feature-item {
                flex-direction: column;
                text-align: center;
                padding: 20px;
            }
            
            .unique-feature-icon {
                margin-left: 0;
                margin-bottom: 20px;
                width: 60px;
                height: 60px;
                font-size: 24px;
            }
            
            .unique-feature-content h3 {
                font-size: 20px;
                justify-content: center;
            }
            
            .unique-feature-content p {
                font-size: 14px;
            }
            
            .unique-feature-list li {
                font-size: 14px;
                padding-right: 25px;
                justify-content: center;
            }
            
            .unique-feature-list li:before {
                width: 20px;
                height: 20px;
                font-size: 10px;
            }
        }
        
        /* قائمة الجوال */
        .mobile-menu {
            display: block;
            position: fixed;
            top: 130px;
            right: -300px;
            width: 280px;
            height: calc(100vh - 130px);
            background-color: var(--secondary-color);
            z-index: 1000;
            padding: 20px;
            transition: right 0.3s ease;
            overflow-y: auto;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        }
        
        .mobile-menu.active {
            right: 0;
        }
        
        .mobile-menu ul {
            list-style: none;
            padding: 0;
        }
        
        .mobile-menu ul li {
            margin-bottom: 15px;
        }
        
        .mobile-menu ul li a {
            color: var(--text-color);
            text-decoration: none;
            font-size: 18px;
            display: block;
            padding: 10px;
            border-bottom: 1px solid var(--light-gray);
            transition: color 0.3s;
        }
        
        .mobile-menu ul li a:hover {
            color: var(--primary-color);
        }
        
        .mobile-menu .header-icons {
            display: flex;
            justify-content: center;
            margin-top: 30px;
        }
        
        .mobile-menu .header-icons a {
            margin: 0 10px;
            font-size: 24px;
            color: var(--text-color);
            transition: color 0.3s;
        }
        
        .mobile-menu .header-icons a:hover {
            color: var(--primary-color);
        }
        
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 999;
        }
        
        .overlay.active {
            display: block;
        }
        
        /* تحسينات للجوال */
        @media (max-width: 768px) {
            /* تحسين شريط أسعار المعادن للجوال */
            .metal-prices-bar {
                padding: 10px 0;
                top: 0;
                z-index: 3000;
            }
            
            .metal-prices-container {
                flex-direction: row;
                flex-wrap: nowrap;
                overflow-x: auto;
                justify-content: flex-start;
                padding: 0 10px;
                width: 100%;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none; /* إخفاء شريط التمرير في Firefox */
            }
            
            .metal-prices-container::-webkit-scrollbar {
                display: none; /* إخفاء شريط التمرير в Chrome/Safari */
            }
            
            .metal-price {
                flex: 0 0 auto;
                white-space: nowrap;
                margin: 0 12px;
                font-size: 12px;
            }
            
            /* تعديل الهيدر للجوال */
            .header {
                top: 40px;
                padding: 10px 0;
            }
            
            .header-container {
                width: 95%;
            }
            
            .logo {
                height: 40px;
            }
            
            /* تحسين القائمة الجانبية للجوال */
            .mobile-menu {
                top: 90px;
                width: 280px;
                height: calc(100vh - 90px);
                padding: 20px;
            }
            
            .mobile-menu ul li a {
                font-size: 16px;
                padding: 12px 10px;
            }
            
            .mobile-menu .header-icons {
                margin-top: 20px;
            }
            
            /* تعديل المساحة العلوية للجسم */
            body {
                padding-top: 120px;
            }
            
            /* تحسين الفيديو الخلفي للجوال */
            .video-slider {
                height: 400px;
            }
            
            .video-overlay h2 {
                font-size: 24px;
            }
            
            .video-overlay p {
                font-size: 16px;
                margin-bottom: 20px;
            }
            
            .btn {
                padding: 10px 20px;
                font-size: 16px;
            }
            
            /* إخفاء القائمة الأصلية وإظهار زر الهامبرجر */
            .nav-menu {
                display: none;
            }
            
            .hamburger {
                display: block;
            }
            
            .video-overlay {
                padding: 0 30px;
            }
            
            .video-overlay h2 {
                font-size: 28px;
            }
            
            .video-overlay p {
                font-size: 16px;
            }
            
            .quote-slide {
                padding: 0 30px;
            }
            
            .quote-text {
                font-size: 20px;
            }
            
            /* تحسينات الشبكات للجوال */
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .blog-container {
                flex-direction: column;
            }
            
            .footer-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 480px) {
            /* تحسينات إضافية للشاشات الصغيرة جدًا */
            .metal-price {
                font-size: 11px;
                margin: 0 8px;
            }
            
            .header {
                top: 38px;
            }
            
            .mobile-menu {
                top: 88px;
                width: 250px;
            }
            
            body {
                padding-top: 110px;
            }
            
            .video-slider {
                height: 350px;
            }
            
            .video-overlay h2 {
                font-size: 22px;
            }
            
            .video-overlay p {
                font-size: 14px;
            }
            
            .products-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-container {
                grid-template-columns: 1fr;
            }
            
            .section-title {
                font-size: 28px;
            }
            
            .quote-text {
                font-size: 18px;
            }
            
            .video-overlay h2 {
                font-size: 24px;
            }
            
            .btn {
                padding: 10px 20px;
                font-size: 16px;
            }
            
            .metal-prices-bar {
                padding: 12px 0;
            }
        }
        
        /* تحسينات للشاشات المتوسطة */
        @media (max-width: 1024px) and (min-width: 769px) {
            .metal-prices-container {
                justify-content: space-between;
            }
            
            .metal-price {
                margin: 0 8px;
                font-size: 13px;
            }
            
            .products-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .video-overlay h2 {
                font-size: 36px;
            }
            
            .video-overlay p {
                font-size: 18px;
            }
        }
		/* عداد المنتجات في أيقونة السلة */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e53935; /* أحمر */
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    padding: 2px 6px;
    min-width: 20px;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
/* حركة العداد عند التحديث */
@keyframes cart-bounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.3); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.cart-count.animate {
  animation: cart-bounce 0.4s ease;
}
/* إبراز الرابط النشط */
.nav-menu li.active > a,
.nav-menu a.active {
  color: var(--primary-color);
}
.nav-menu li.active > a::after,
.nav-menu a.active::after {
  width: 100%;
}
<script>
  document.addEventListener('scroll', function(){
    const header = document.querySelector('.header');
    if (!header) return;
    header.classList.toggle('scrolled', window.scrollY > 10);
  });
</script>
/* === Hero Slider === */
.hero-slider{
  position: relative;
  height: 520px; /* نفس الإحساس بالصورة المرفقة */
  background: #000;
  margin-top: 0; /* موجود لديك padding-top للجسم */
  overflow: hidden;
}
.hero-track{height:100%; position:relative}
.hero-slide{
  position:absolute; inset:0;
  background-image: var(--bg);
  background-size: cover; background-position: center;
  opacity:0; transform: scale(1.02);
  transition: opacity .8s ease, transform 1.2s ease;
}
.hero-slide.is-active{opacity:1; transform: scale(1)}
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.55));
}
.hero-content{
  position:relative; z-index:2; height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:0 20px;
}
.hero-title{
  color: var(--primary-color);
  font-size: 48px; line-height:1.2; margin-bottom: 18px; font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.hero-subtitle{
  color: #eee; font-size: 20px; max-width: 900px; margin-inline:auto; margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.hero-btn{
  background: var(--primary-color); color: #000; text-decoration:none;
  padding: 12px 26px; border-radius: 8px; font-weight: 700; display:inline-block;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hero-btn:hover{ background:#FFD700; transform: translateY(-2px); box-shadow:0 8px 20px rgba(0,0,0,.35); }

/* الأسهم */
.hero-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  background: rgba(0,0,0,.45); color:#fff; border:0; cursor:pointer;
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, transform .2s ease; z-index:3;
}
.hero-prev{ right: 18px; }
.hero-next{ left: 18px; }
.hero-arrow:hover{ background: rgba(0,0,0,.65); transform: translateY(-50%) scale(1.06); }

/* النقاط */
.hero-dots{
  position:absolute; inset-inline:0; bottom:18px; display:flex; gap:8px;
  align-items:center; justify-content:center; z-index:3;
}
.hero-dot{
  width:10px; height:10px; border-radius:50%; border:0; cursor:pointer;
  background: rgba(255,255,255,.45); transition: transform .2s ease, background .2s ease;
}
.hero-dot.active{ background: var(--primary-color); transform: scale(1.15); }

/* استجابة */
@media (max-width: 992px){
  .hero-slider{ height: 440px; }
  .hero-title{ font-size: 36px; }
  .hero-subtitle{ font-size: 18px; }
}
@media (max-width: 576px){
  .hero-slider{ height: 380px; }
  .hero-title{ font-size: 28px; }
  .hero-subtitle{ font-size: 16px; }
}
/* ===== FIX: تنسيق سلايدر الهيرو بدقّة وبلا تعارضات ===== */

/* يمنع أي قصّ أو تداخل */
.hero-slider { position: relative; height: 520px; overflow: hidden; z-index: 1; }

/* كل شريحة تغطّي المساحة بالكامل */
.hero-track{ height:100%; position:relative; }
.hero-slide{
  position:absolute; inset:0;
  background-image: var(--bg); background-size:cover; background-position:center;
  opacity:0; transform:scale(1.02);
  transition: opacity .8s ease, transform 1.2s ease;
  will-change: opacity, transform;
}
.hero-slide.is-active{ opacity:1; transform:scale(1); }

/* طبقة تعتيم واضحة فوق الصورة */
.hero-slide .hero-overlay{ position:absolute; inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.55));
}

/* مركز المحتوى بعرض أقصى */
.hero-slide .hero-content{
  position:relative; z-index:2; height:100%;
  display:flex; align-items:center; justify-content:center; text-align:center;
  padding: 0 20px;
}
.hero-slide .hero-content > div,
.hero-slide .hero-content{ max-width: 1100px; margin-inline:auto; }

/* العنوان والوصف */
.hero-title{
  color: var(--primary-color);
  font-size: 48px; line-height: 1.2; margin: 0 0 16px; font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.hero-subtitle{
  color: #eee; font-size: 20px; line-height: 1.7; margin: 0 0 26px;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}

/* زر الدعوة للفعل — نكسر لون الروابط العامة */
.hero-btn{
  display:inline-block; background: var(--primary-color);
  padding: 12px 26px; border-radius: 8px; font-weight: 700; text-decoration:none !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.25); transition: transform .2s, box-shadow .2s, background .2s;
}
.hero-btn:link, .hero-btn:visited { color:#000 !important; }
.hero-btn:hover{ background:#ffd700; transform: translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.35); }

/* الأسهم */
.hero-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px; height:44px; border-radius:50%; border:0; cursor:pointer;
  background: rgba(0,0,0,.45); color:#fff; display:flex; align-items:center; justify-content:center;
  z-index:3; transition: background .2s, transform .2s;
}
.hero-prev{ right: 18px; }
.hero-next{ left: 18px; }
.hero-arrow:hover{ background: rgba(0,0,0,.65); transform: translateY(-50%) scale(1.06); }

/* النقاط */
.hero-dots{
  position:absolute; inset-inline:0; bottom:18px; display:flex; gap:8px;
  align-items:center; justify-content:center; z-index:3;
}
.hero-dot{
  width:10px; height:10px; border-radius:50%; border:0; cursor:pointer;
  background: rgba(255,255,255,.45); transition: transform .2s, background .2s;
}
.hero-dot.active{ background: var(--primary-color); transform: scale(1.15); }

/* استجابة */
@media (max-width: 992px){
  .hero-slider{ height: 440px; }
  .hero-title{ font-size: 36px; }
  .hero-subtitle{ font-size: 18px; }
}
@media (max-width: 576px){
  .hero-slider{ height: 380px; }
  .hero-title{ font-size: 28px; }
  .hero-subtitle{ font-size: 16px; }
}
/* === HERO SLIDER (scope داخلي) === */
.hero-slider{position:relative;height:520px;overflow:hidden;z-index:1;background:#000;}
.hero-track{height:100%;position:relative}
.hero-slide{position:absolute;inset:0;background-image:var(--bg);background-size:cover;background-position:center;
  opacity:0;transform:scale(1.02);transition:opacity .8s ease,transform 1.2s ease;will-change:opacity,transform}
.hero-slide.is-active{opacity:1;transform:scale(1)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.55),rgba(0,0,0,.55))}
.hero-content{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:0 20px;max-width:1100px;margin-inline:auto}
.hero-title{color:var(--primary-color);font-size:48px;line-height:1.2;margin:0 0 16px;font-weight:800;
  text-shadow:0 2px 8px rgba(0,0,0,.35)}
.hero-subtitle{color:#eee;font-size:20px;line-height:1.7;margin:0 0 26px;text-shadow:0 2px 6px rgba(0,0,0,.35)}
.hero-btn{display:inline-block;background:var(--primary-color);color:#000 !important;text-decoration:none !important;
  padding:12px 26px;border-radius:8px;font-weight:700;box-shadow:0 8px 20px rgba(0,0,0,.25);
  transition:transform .2s,box-shadow .2s,background .2s}
.hero-btn:hover{background:#ffd700;transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.35)}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:0;cursor:pointer;
  background:rgba(0,0,0,.45);color:#fff;display:flex;align-items:center;justify-content:center;z-index:3;
  transition:background .2s,transform .2s}
.hero-prev{right:18px}.hero-next{left:18px}
.hero-arrow:hover{background:rgba(0,0,0,.65);transform:translateY(-50%) scale(1.06)}
.hero-dots{position:absolute;inset-inline:0;bottom:18px;display:flex;gap:8px;align-items:center;justify-content:center;z-index:3}
.hero-dot{width:10px;height:10px;border-radius:50%;border:0;cursor:pointer;background:rgba(255,255,255,.45);
  transition:transform .2s,background .2s}
.hero-dot.active{background:var(--primary-color);transform:scale(1.15)}
/* كسر أي تعارض ألوان روابط عامة داخل السلايدر */
.hero-slider a,.hero-slider a:visited{color:inherit;text-decoration:none}
@media (max-width:992px){.hero-slider{height:440px}.hero-title{font-size:36px}.hero-subtitle{font-size:18px}}
@media (max-width:576px){.hero-slider{height:380px}.hero-title{font-size:28px}.hero-subtitle{font-size:16px}}
/* ===== ما يميزنا (بطاقتان ذهبيتان) ===== */
.features-pro{padding:60px 0;width:90%;margin:0 auto}
.features-pro .section-title{margin-bottom:26px}

.features-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}
@media (max-width:768px){ .features-grid{grid-template-columns:1fr} }

/* البطاقة الذهبية */
.feature-card{
  position:relative; isolation:isolate; overflow:hidden;
  border-radius:18px; padding:22px 22px 20px;
  background: linear-gradient(145deg,#b68f2a 0%,#d4af37 35%,#c8a951 70%,#7a5c1e 100%);
  color:#111;
  box-shadow:0 16px 38px rgba(212,175,55,.28), inset 0 1px 0 rgba(255,255,255,.35);
  border:1px solid rgba(0,0,0,.15);
  transform: translateZ(0);
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}
.feature-card:hover{
  transform: translateY(-6px);
  box-shadow:0 22px 48px rgba(212,175,55,.34);
  filter: saturate(1.03);
}

/* لمعان ناعم دائري */
.feature-card::after{
  content:""; position:absolute; inset:-40%;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.28), transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(255,255,255,.18), transparent 45%);
  pointer-events:none; z-index:0;
  animation: sheenSpin 12s linear infinite;
  opacity:.6;
}
@keyframes sheenSpin{to{transform:rotate(360deg)}}

/* رأس البطاقة: عنوان + أيقونة إلى اليمين (لأن RTL) */
.feature-head{
  display:flex; align-items:center; justify-content:space-between; gap:16px; z-index:1; position:relative;
}
/* العنوان */
.feature-title{
  margin:0; font-size:22px; font-weight:900; letter-spacing:.2px; color:#0e0e0e;
  text-shadow:0 1px 0 rgba(255,255,255,.25);
}
/* الأيقونة العائمة */
.feature-icon{
  flex:0 0 64px; width:64px; height:64px; border-radius:50%;
  display:grid; place-items:center; color:#111; font-size:22px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), transparent 42%),
    linear-gradient(145deg,#ffe9a6,#f3d470,#d4af37);
  box-shadow: inset 0 2px 8px rgba(255,255,255,.35), 0 10px 24px rgba(0,0,0,.22);
  border:1px solid rgba(0,0,0,.15);
  transform: translateZ(0);
}

/* الوصف */
.feature-desc{
  margin:10px 0 12px; color:#1d1d1d; font-weight:600; line-height:1.85;
}

/* قائمة النقاط */
.feature-list{list-style:none; padding:0; margin:0}
.feature-list li{
  position:relative; padding-right:28px; margin:10px 0; color:#141414; font-weight:700;
}
.feature-list li::before{
  content:"\f00c"; /* fa-check */
  font-family:"Font Awesome 6 Free"; font-weight:900;
  position:absolute; right:0; top:0;
  width:20px; height:20px; border-radius:50%;
  display:grid; place-items:center; font-size:12px; color:#111;
  background: linear-gradient(145deg,#f7e29a,#e8c85d,#d4af37);
  box-shadow:0 2px 6px rgba(0,0,0,.18);
}

/* زر داخل البطاقة (اختياري) */
.feature-btn, .feature-btn:link, .feature-btn:visited{
  text-decoration:none !important;
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 14px; border-radius:12px; font-weight:900; letter-spacing:.2px;
  color:#0f0f0f;
  background: linear-gradient(145deg,#b68f2a,#d4af37,#c8a951);
  box-shadow:0 10px 22px rgba(212,175,55,.24), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.feature-btn:hover{ transform:translateY(-2px); box-shadow:0 14px 28px rgba(212,175,55,.30) }

/* حركة ظهور وميل خفيف (tilt) */
.reveal{opacity:0; transform:translateY(16px) scale(.98); transition:opacity .6s ease, transform .6s ease}
.reveal.is-visible{opacity:1; transform:translateY(0) scale(1)}
.feature-card[data-tilt]{ transform-style:preserve-3d; will-change:transform }
/* اجعل كايرو الخط الافتراضي في كل الموقع، وفرضه على الهيدر وشريط الأسعار */
:root{
  --font-main: 'Cairo','Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}

html, body, button, input, select, textarea{
  font-family: var(--font-main) !important;
}

/* عناصر الهيدر وشريط الأسعار صراحةً */
.header, .header *{
  font-family: var(--font-main) !important;
}
.metal-prices-bar, .metal-prices-bar *{
  font-family: var(--font-main) !important;
}

/* (اختياري) القائمة العلوية إن كان لها ستايل خاص يغيّر الخط */
.nav-menu, .nav-menu *{
  font-family: var(--font-main) !important;
}
.section-title i.fa-solid{
  color: var(--primary-color, #d4af37);
  margin-inline-end: .4rem;    /* مسافة قبل النص RTL/LTR */
  font-size: .95em;            /* حجم متناسق مع العنوان */
  vertical-align: -2px;        /* محاذاة أجمل */
}
/* ===== Products (shared across home, gold, silver) ===== */
.featured-products{padding:60px 0;width:90%;margin:0 auto}
.section-title{margin:0 0 20px;text-align:center;color:var(--text-color,#eaeaea);font-size:28px;position:relative}
.section-title:after{content:'';display:block;width:60px;height:3px;background:var(--primary-color,#d4af37);margin:10px auto;border-radius:10px}

/* Grid + Card */
.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
@media(max-width:992px){.products-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:576px){.products-grid{grid-template-columns:1fr}}

.product-card{position:relative;background:linear-gradient(180deg,#141414 0%,#0f0f0f 100%);
  border:1px solid rgba(212,175,55,.12);border-radius:14px;overflow:hidden;
  box-shadow:0 10px 22px rgba(0,0,0,.35);transform:translateZ(0);
  transition:transform .3s,box-shadow .3s,border-color .3s}
.product-card:hover{transform:translateY(-6px);box-shadow:0 16px 34px rgba(0,0,0,.45);border-color:rgba(212,175,55,.25)}

.product-card .img-wrap{position:relative;height:240px;background:#1b1b1b;overflow:hidden}
.product-card .img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .6s,filter .6s}
.product-card:hover .img-wrap img{transform:scale(1.06);filter:saturate(1.05)}

.product-badges{position:absolute;top:12px;inset-inline:12px auto;display:flex;gap:8px;z-index:2}
.badge{padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;color:#0f0f0f;
  background:linear-gradient(145deg,#b68f2a,#d4af37,#c8a951);box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}

.product-info{padding:16px 16px 14px;display:flex;flex-direction:column;gap:10px}
.product-title{font-size:18px;margin:0;color:#eee}
.product-description{color:#9aa7b1;font-size:14px;line-height:1.75;margin:0}
.product-divider{height:1px;background:linear-gradient(90deg,transparent,rgba(212,175,55,.25),transparent);margin:6px 0 8px}

.product-price-container{display:flex;align-items:center;justify-content:space-between;gap:10px}
.product-price{font-weight:800;font-size:20px;background:linear-gradient(90deg,#b68f2a,#d4af37,#c8a951);
  -webkit-background-clip:text;background-clip:text;color:transparent}

.btn-gold,.btn-gold:link,.btn-gold:visited{text-decoration:none!important;display:inline-flex;align-items:center;gap:8px;
  padding:10px 16px;border-radius:10px;font-weight:800;color:#0f0f0f;background:linear-gradient(145deg,#b68f2a,#d4af37,#c8a951);
  box-shadow:0 10px 22px rgba(212,175,55,.22),inset 0 1px 0 rgba(255,255,255,.25);transition:transform .2s,box-shadow .2s,filter .2s}
.btn-gold:hover{transform:translateY(-2px);filter:saturate(1.05);box-shadow:0 14px 30px rgba(212,175,55,.28),inset 0 1px 0 rgba(255,255,255,.25)}
.btn-gold i{font-size:14px}
