        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
            overflow-x: hidden;
            direction: rtl;
        }

        header {
            background: linear-gradient(135deg, #40006f 0%, #1a0030 100%);
            padding: 1rem 2rem;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(64, 0, 111, 0.3);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }

        .logo-container {
            background: #ffffff14;
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .logo {
            height: 68px;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            font-size: 1.1rem;
            transition: all 0.3s;
            position: relative;
        }

        .nav-links a:hover {
            color: #e0d0f0;
            transform: translateY(-2px);
        }

        .menu-toggle {
            display: none;
            cursor: pointer;
            font-size: 1.5rem;
            color: white;
            padding: 0.5rem;
            background: transparent;
            border: none;
        }

        .product-hero {
            margin-top: 120px;
            background: linear-gradient(135deg, #40006f 0%, #2a0050 100%);
            padding: 3rem 2rem;
            text-align: center;
        }

        .product-hero h1 {
            font-size: clamp(2rem, 5vw, 3rem);
            color: white;
            margin-bottom: 1rem;
        }

        .breadcrumb {
            color: #e0d0f0;
            margin-bottom: 1rem;
        }

        .breadcrumb a {
            color: #b19cd9;
            text-decoration: none;
        }

        .breadcrumb a:hover {
            color: white;
        }

        .product-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 4rem 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start;
        }

        .product-image-section {
            position: sticky;
            top: 140px;
        }

        .product-main-image {
            width: 100%;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(64, 0, 111, 0.2);
        }

        .product-details {
            background: white;
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(64, 0, 111, 0.1);
        }

        .product-brand {
            color: #9370db;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .product-title {
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            color: #40006f;
            margin-bottom: 1.5rem;
        }

        .product-description {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #555;
            margin-bottom: 2rem;
        }
		/* --- التنسيق الجديد للنافذة المنبثقة --- */
		.popup-overlay {
			display: none;
			position: fixed;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: rgba(0, 0, 0, 0.7);
			z-index: 2000;
			align-items: center;
			justify-content: center;
			/* تأكيد الاتجاه RTL للخلفية المعتمة */
			direction: rtl; 
		}

		.popup-content {
			background: linear-gradient(135deg, #f0f8ff, #ffffff);
			color: #40006f;
			padding: 30px;
			border-radius: 15px;
			box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
			text-align: center;
			max-width: 90%;
			width: 500px;
			position: relative;
			transform: scale(0.8);
			opacity: 0;
			transition: all 0.3s ease-out;
			/* تأكيد الاتجاه RTL للمحتوى */
			direction: rtl;
		}

		.popup-overlay.active .popup-content {
			transform: scale(1);
			opacity: 1;
		}

		.popup-content h3 {
			font-size: 1.8rem;
			margin-bottom: 15px;
			font-weight: 700;
		}

		.popup-content p {
			font-size: 1.2rem;
			line-height: 1.6;
			color: #555;
			margin-bottom: 20px;
		}

		.popup-close {
			position: absolute;
			/* تعديل: نقل زر الإغلاق إلى اليسار */
			top: 10px;
			right: 10px; /* تم تغيير left إلى right */
			background: #40006f;
			color: white;
			border: none;
			border-radius: 50%;
			width: 30px;
			height: 30px;
			font-size: 1.2rem;
			cursor: pointer;
			transition: background 0.2s;
		}

		.popup-close:hover {
			background: #6a4c93;
		}

        .features-section {
            margin-bottom: 2rem;
        }

        .features-title {
            font-size: 1.5rem;
            color: #40006f;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .feature-item {
            background: linear-gradient(135deg, #f8f9fa, #ffffff);
            padding: 1rem 1.5rem;
            margin-bottom: 1rem;
            border-radius: 12px;
            border-right: 4px solid #9370db;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .feature-icon {
            color: #9370db;
            font-size: 1.3rem;
        }

        .ingredients-section {
            background: linear-gradient(135deg, #40006f 0%, #2a0050 100%);
            color: white;
            padding: 1.5rem;
            border-radius: 15px;
            margin-bottom: 2rem;
        }

        .ingredients-title {
            font-size: 1.3rem;
            margin-bottom: 1rem;
        }

        .ingredients-list {
            list-style: none;
        }

        .ingredients-list li {
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .ingredients-list li:last-child {
            border-bottom: none;
        }

        .usage-section {
            background: #f8f9fa;
            padding: 2rem;
            border-radius: 15px;
            margin-bottom: 2rem;
        }

        .usage-title {
            font-size: 1.5rem;
            color: #40006f;
            margin-bottom: 1rem;
        }

        .usage-steps {
            list-style: none;
            counter-reset: step-counter;
        }

        .usage-steps li {
            counter-increment: step-counter;
            padding: 1rem;
            margin-bottom: 0.8rem;
            background: white;
            border-radius: 10px;
            position: relative;
            padding-right: 3rem;
        }

        .usage-steps li::before {
            content: counter(step-counter);
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            background: linear-gradient(135deg, #9370db, #40006f);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 2rem;
        }

        .benefit-card {
            background: linear-gradient(135deg, #9370db, #6a4c93);
            color: white;
            padding: 1.5rem;
            border-radius: 15px;
            text-align: center;
            transition: transform 0.3s;
        }

        .benefit-card:hover {
            transform: translateY(-5px);
        }

        .benefit-icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .back-button {
            display: inline-block;
            margin-top: 2rem;
            padding: 1rem 2rem;
            background: linear-gradient(135deg, #9370db, #6a4c93);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            transition: all 0.3s;
        }

        .back-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(147, 112, 219, 0.4);
        }

        footer {
            background: #1a0030;
            color: white;
            padding: 3rem 2rem 1rem;
            text-align: center;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }
		        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: #b19cd9;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: #d0c0e8;
        }


        @media (max-width: 968px) {
            .product-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .product-image-section {
                position: static;
            }

            .product-details {
                padding: 2rem;
            }
        }

        @media (max-width: 768px) {
            header {
                padding: 1rem;
            }

            .nav-links {
                position: fixed;
                top: 100px;
                right: -100%;
                width: 70%;
                max-width: 300px;
                background: #1a0030;
                flex-direction: column;
                padding: 2rem 1rem;
                box-shadow: -5px 0 20px rgba(0,0,0,0.5);
                height: calc(100vh - 100px);
                gap: 1rem;
                transition: right 0.3s ease-out;
            }

            .nav-links.active {
                right: 0;
            }

            .menu-toggle {
                display: block;
            }

            .logo {
                height: 80px;
            }

            .product-hero {
                margin-top: 100px;
                padding: 2rem 1rem;
            }

            .product-details {
                padding: 1.5rem;
            }

            .benefits-grid {
                grid-template-columns: 1fr;
            }
        }

        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 999;
        }

        .overlay.active {
            display: block;
        }