        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --warning: #f59e0b;
            --light: #f8fafc;
            --dark: #1e293b;
            --gray: #64748b;
        }
          body {
            font-family: 'Cairo', sans-serif;
            background: var(--gray-100);
            color: var(--dark-color);
            line-height: 1.6;
            padding-bottom: 40px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva,Verdana, sans-serif;
            }
     
        
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
            font-family: 'Cairo', sans-serif;
        }
        
        .header {
            background: white;
            padding: 20px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            text-align: center;
            margin-bottom: 30px;
            font-family: 'Cairo', sans-serif;
        }
        
        .logo {
            font-size: 24px;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-family: 'Cairo', sans-serif;
        }
        
        .product-not-registered {
            padding: 40px 0;
            font-family: 'Cairo', sans-serif;
        }
        
        .warning-message {
            background: white;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            text-align: center;
            border-right: 4px solid var(--warning);
            margin-bottom: 30px;
            font-family: 'Cairo', sans-serif;
        }
        
        .warning-message i {
            font-size: 60px;
            color: var(--warning);
            margin-bottom: 20px;
        }
        
        .warning-message h2 {
            color: #856404;
            margin-bottom: 15px;
            font-size: 24px;
            font-family: 'Cairo', sans-serif;
            font-weight: 700;
        }
        
        .warning-message p {
            color: var(--gray);
            font-size: 16px;
            margin-bottom: 10px;
            font-family: 'Cairo', sans-serif;
        }
        
        .manufacturer-info {
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            font-family: 'Cairo', sans-serif;
        }
        
        .manufacturer-info h3 {
            color: var(--primary);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary);
            font-size: 20px;
            font-family: 'Cairo', sans-serif;
            font-weight: 700;
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            font-family: 'Cairo', sans-serif;
        }
        
        .info-item {
            display: flex;
            flex-direction: column;
            background: var(--light);
            padding: 15px;
            border-radius: 8px;
            border-right: 4px solid var(--primary);
            font-family: 'Cairo', sans-serif;
        }
        
        .info-label {
            font-size: 14px;
            color: var(--gray);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-family: 'Cairo', sans-serif;
        }
        
        .info-value {
            font-size: 16px;
            color: var(--dark);
            font-weight: 600;
            font-family: 'Cairo', sans-serif;
        }
        
        .barcode-container {
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            margin-top: 20px;
            text-align: center;
            font-family: 'Cairo', sans-serif;
        }
        
        .barcode-number {
            font-family: 'Cairo', 'Courier New', monospace;
            font-size: 18px;
            letter-spacing: 2px;
            margin-top: 10px;
            color: var(--dark);
            font-weight: 600;
        }
        
        .footer {
            background: var(--dark);
            color: white;
            padding: 30px 0;
            text-align: center;
            margin-top: 50px;
            font-family: 'Cairo', sans-serif;
        }
        
        /* إضافة خط Cairo لجميع العناصر النصية */
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Cairo', sans-serif;
        }
        
        p, span, a, li, div, input, button, textarea, select, label {
            font-family: 'Cairo', sans-serif;
        }
        
        /* تخصيص إضافي للأوزان المختلفة للخط */
        .font-light { font-weight: 300; }
        .font-regular { font-weight: 400; }
        .font-medium { font-weight: 500; }
        .font-semi-bold { font-weight: 600; }
        .font-bold { font-weight: 700; }
        .font-extra-bold { font-weight: 800; }
        
        @media (max-width: 768px) {
            .container {
                padding: 0 15px;
            }
            
            .warning-message {
                padding: 30px 20px;
            }
            
            .manufacturer-info {
                padding: 20px;
            }
            
            .info-grid {
                grid-template-columns: 1fr;
            }
        }
        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --primary-light: #93c5fd;
            --secondary: #10b981;
            --accent: #f59e0b;
            --light: #f8fafc;
            --dark: #1e293b; OP 9
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --gray: #64748b;
            --light-gray: #e2e8f0;
            --gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
            --transition: all 0.3s ease;
            --radius: 12px;
            --radius-lg: 16px;
            --header-height: 80px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
        }

        body {
            background-color: #f1f5f9;
            color: #334155;
            line-height: 1.6;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* شريط علوي محسن */
        .top-bar {
            background: var(--gradient);
            color: white;
            padding: 12px 0;
            text-align: center;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 30px;
            font-size: 15px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .top-bar span {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 500;
        }

        /* شريط تنقل محسن */
        .header {
            background: white;
            box-shadow: var(--shadow);
            padding: 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            height: var(--header-height);
            display: flex;
            align-items: center;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        .logo {
            font-size: 26px;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: var(--transition);
        }

        .logo:hover {
            color: var(--primary-dark);
            transform: translateY(-2px);
        }

        .language-switcher {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #f8fafc;
            padding: 6px;
            border-radius: 50px;
        }

        .language-btn {
            background: none;
            border: none;
            padding: 8px 16px;
            border-radius: 50px;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 600;
            font-size: 14px;
        }

        .language-btn.active {
            background: var(--primary);
            color: white;
            box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
        }

        /* قائمة الجوال */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--primary);
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .mobile-menu-btn:hover {
            background: #f1f5f9;
        }

        /* محتوى الصفحة */
        .product-page {
            padding: 40px 0;
        }

        .product-card {
            background: white;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            overflow: hidden;
            margin-bottom: 40px;
            transition: var(--transition);
        }

        .product-card:hover {
            box-shadow: var(--shadow-lg);
        }

        .product-header {
            padding: 25px 30px;
            border-bottom: 1px solid var(--light-gray);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            background: linear-gradient(to right, #f8fafc, #fff);
        }

        .product-title {
            font-size: 28px;
            color: var(--dark);
            margin-bottom: 8px;
            font-weight: 700;
        }

        .product-sku {
            color: var(--gray);
            font-size: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .product-sku::before {
            content: "#";
            color: var(--primary);
            font-weight: bold;
        }

        .product-content {
            display: flex;
            flex-wrap: wrap;
        }

        .product-gallery {
            flex: 1;
            min-width: 340px;
            padding: 25px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-left: 1px solid var(--light-gray);
            background: #fafafa;
        }

        .gallery-main {
            width: 100%;
            margin-bottom: 20px;
            border-radius: var(--radius);
            overflow: hidden;
            position: relative;
            box-shadow: var(--shadow);
            cursor: pointer;
            transition: var(--transition);
        }

        .gallery-main:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .gallery-main img {
            width: 100%;
            height: 380px;
            object-fit: cover;
            transition: var(--transition);
        }

        .gallery-main:hover img {
            transform: scale(1.03);
        }

        .gallery-thumbs {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            width: 100%;
            margin-bottom: 25px;
        }

        .thumb-item {
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            border: 2px solid transparent;
            transition: var(--transition);
            position: relative;
        }

        .thumb-item::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.2);
            opacity: 0;
            transition: var(--transition);
        }

        .thumb-item:hover::after, .thumb-item.active::after {
            opacity: 1;
        }

        .thumb-item:hover, .thumb-item.active {
            border-color: var(--primary);
            transform: translateY(-3px);
        }

        .thumb-item img {
            width: 100%;
            height: 85px;
            object-fit: cover;
        }

        .barcode-container {
            background: white;
            padding: 20px;
            border-radius: var(--radius);
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            margin: 20px 0;
            text-align: center;
            width: 100%;
            border: 1px solid #eee;
        }

        .barcode-number {
            font-family: 'Courier New', monospace;
            font-size: 20px;
            letter-spacing: 2px;
            margin-top: 12px;
            color: var(--dark);
            font-weight: 600;
        }

        .product-details {
            flex: 2;
            min-width: 340px;
            padding: 30px;
        }

        .detail-section {
            margin-bottom: 30px;
        }

        .section-title {
            font-size: 20px;
            color: var(--primary);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-light);
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 700;
        }

        .detail-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }

        .detail-item {
            display: flex;
            flex-direction: column;
            background: #f8fafc;
            padding: 16px;
            border-radius: var(--radius);
            transition: var(--transition);
            border-left: 4px solid var(--primary);
        }

        .detail-item:hover {
            background: #f1f5f9;
            transform: translateY(-3px);
        }

        .detail-label {
            font-size: 14px;
            color: var(--gray);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .detail-value {
            font-size: 17px;
            color: var(--dark);
            font-weight: 600;
        }

        .price-tag {
            font-size: 28px;
            color: var(--secondary);
            font-weight: 800;
            margin: 12px 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .price-tag::before {
            content: "≈";
            font-weight: normal;
            color: var(--gray);
        }

        .action-buttons {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .btn {
            padding: 14px 24px;
            border-radius: 50px;
            border: none;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 16px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .btn-primary {
            background: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(37, 99, 235, 0.2);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-3px);
        }

        /* معرض الصور المدمج */
        .product-gallery-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 10000;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .product-gallery-modal.active {
            display: flex;
            opacity: 1;
        }

        .gallery-modal-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            text-align: center;
        }

        .gallery-modal-content img {
            max-width: 100%;
            max-height: 80vh;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 5px 30px rgba(0,0,0,0.3);
        }

        .gallery-modal-close {
            position: absolute;
            top: -50px;
            right: 0;
            color: white;
            font-size: 30px;
            cursor: pointer;
            background: rgba(0,0,0,0.5);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .gallery-modal-close:hover {
            background: rgba(0,0,0,0.7);
            transform: rotate(90deg);
        }

        .gallery-modal-nav {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            padding: 0 25px;
        }

        .gallery-modal-nav button {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(5px);
        }

        .gallery-modal-nav button:hover {
            background: rgba(255, 255, 255, 0.4);
            transform: scale(1.1);
        }

        /* فوتر محسن */
        .footer {
            background: var(--dark);
            color: white;
            padding: 50px 0 20px;
            margin-top: 70px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            font-size: 20px;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 12px;
            font-weight: 700;
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 60px;
            height: 3px;
            background: var(--primary-light);
            border-radius: 3px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 15px;
        }

        .footer-links a {
            color: #cbd5e1;
            text-decoration: none;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 15px;
        }

        .footer-links a:hover {
            color: white;
            transform: translateX(-5px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 25px;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 14px;
            color: #94a3b8;
        }

        /* تحسينات متقدمة */
        .badge {
            display: inline-block;
            padding: 5px 12px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 700;
            margin-left: 10px;
        }

        .badge-success {
            background: var(--success);
            color: white;
        }

        .badge-warning {
            background: var(--warning);
            color: white;
        }

        .badge-primary {
            background: var(--primary);
            color: white;
        }

        .product-meta {
            display: flex;
            gap: 15px;
            margin-top: 15px;
            flex-wrap: wrap;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            color: var(--gray);
        }

        .rating {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #f59e0b;
            margin-top: 10px;
        }

        /* شريط التقدم */
        .progress-bar {
            height: 6px;
            background: #e2e8f0;
            border-radius: 3px;
            overflow: hidden;
            margin-top: 5px;
        }

        .progress-fill {
            height: 100%;
            background: var(--success);
            border-radius: 3px;
        }

        /* تحسينات للشريط العلوي */
        .top-bar {
            position: relative;
            overflow: hidden;
        }

        .top-bar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
            opacity: 0.95;
            z-index: -1;
        }

        /* تحسينات للجوال */
        @media (max-width: 768px) {
            :root {
                --header-height: 70px;
            }
            
            .mobile-menu-btn {
                display: flex;
            }
            
            .language-switcher {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                padding: 15px;
                box-shadow: var(--shadow);
                flex-direction: column;
                align-items: flex-start;
                border-radius: 0 0 var(--radius) var(--radius);
            }
            
            .language-switcher.active {
                display: flex;
            }
            
            .product-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .product-content {
                flex-direction: column-reverse;
            }
            
            .product-gallery {
                border-left: none;
                border-bottom: 1px solid var(--light-gray);
                padding: 20px;
            }
            
            .product-details {
                padding: 20px;
            }
            
            .gallery-main img {
                height: 300px;
            }
            
            .gallery-thumbs {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .thumb-item img {
                height: 75px;
            }
            
            .product-title {
                font-size: 24px;
            }
            
            .price-tag {
                font-size: 24px;
            }
            
            .detail-grid {
                grid-template-columns: 1fr;
            }
            
            .action-buttons {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
                justify-content: center;
            }
            
            .section-title {
                font-size: 18px;
            }
            
            .detail-value {
                font-size: 16px;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }
            
            .top-bar {
                gap: 15px;
                padding: 10px 0;
            }
            
            .top-bar span {
                font-size: 13px;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }
            
            .top-bar span {
                font-size: 12px;
            }
            
            .gallery-thumbs {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .gallery-main img {
                height: 250px;
            }
            
            .product-title {
                font-size: 22px;
            }
            
            .product-sku {
                font-size: 14px;
            }
            
            .price-tag {
                font-size: 22px;
            }
            
            .barcode-container {
                padding: 15px;
            }
            
            .barcode-number {
                font-size: 17px;
            }
            
            .product-header,
            .product-gallery,
            .product-details {
                padding: 15px;
            }
            
            .detail-item {
                padding: 12px;
            }
        }

        [lang="en"] {
            direction: ltr;
            text-align: left;
            font-family: 'Cairo', 'Segoe UI', sans-serif;
        }

        [lang="en"] .footer-section h3::after {
            right: auto;
            left: 0;
        }

        [lang="en"] .footer-links a:hover {
            transform: translateX(5px);
        }

        .hidden {
            display: none;
        }
        
        .no-images {
            text-align: center;
            padding: 50px 20px;
            color: var(--gray);
            width: 100%;
        }
        
        .no-images i {
            font-size: 60px;
            margin-bottom: 20px;
            color: var(--light-gray);
        }
        
        .gallery-counter {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 6px 18px;
            border-radius: 20px;
            font-size: 14px;
            backdrop-filter: blur(4px);
        }
        
      
        
        /* تحسينات للجوال: شريط تنقل منزلق */
        .mobile-nav {
            position: fixed;
            top: 0;
            right: -320px;
            width: 320px;
            height: 100%;
            background: white;
            z-index: 1000;
            box-shadow: -5px 0 25px rgba(0,0,0,0.15);
          /*  transition: right 0.4s ease;*/
          transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
            padding: 25px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }
        
        .mobile-nav.active {
            right: 0;
            transform: translateX(0);
        }
        
        .mobile-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 999;
            display: none;
            backdrop-filter: blur(4px);
        }
        
        .mobile-nav-overlay.active {
            display: block;
        }
        
        .mobile-nav-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .mobile-nav-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--primary);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }
        
        .mobile-nav-close:hover {
            background: #f1f5f9;
        }
        
        .mobile-nav-links {
            list-style: none;
            flex-grow: 1;
        }
        
        .mobile-nav-links li {
            margin-bottom: 20px;
        }
        
        .mobile-nav-links a {
            display: flex;
            align-items: center;
            gap: 15px;
            color: var(--dark);
            text-decoration: none;
            font-weight: 600;
            padding: 12px 0;
            transition: var(--transition);
            font-size: 17px;
            border-radius: 8px;
            padding-left: 15px;
        }
        
        .mobile-nav-links a:hover {
            color: var(--primary);
            background: #f8fafc;
            transform: translateX(-5px);
        }
        
        /* تحسينات للأزرار */
        .btn i {
            transition: var(--transition);
        }
        
        .btn:hover i {
            transform: scale(1.2);
        }
        
        /* تأثيرات للبطاقات */
        .detail-item, .barcode-container {
            transition: var(--transition);
        }
        
        .detail-item:hover, .barcode-container:hover {
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }
        
        /* تحسينات للشعار */
        .logo {
            position: relative;
            overflow: hidden;
        }
        
        .logo::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: var(--transition);
        }
        
        .logo:hover::after {
            width: 100%;
        }
        
        /* تحسينات للصور المصغرة */
        .thumb-item {
            position: relative;
            overflow: hidden;
        }
        
        .thumb-item img {
            transition: var(--transition);
        }
        
        .thumb-item:hover img {
            transform: scale(1.1);
        }
        
        /* تحسينات للفوتر */
        .footer-links a i {
            transition: var(--transition);
        }
        
        .footer-links a:hover i {
            transform: scale(1.2);
        }
        
        /* تأثيرات التحميل */
        .skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
            border-radius: 4px;
            height: 20px;
            margin-bottom: 10px;
        }
        
        @keyframes loading {
            0% {
                background-position: 200% 0;
            }
            100% {
                background-position: -200% 0;
            }
        }
        
        /* تحسينات للشريط العلوي */
        .top-bar span i {
            transition: var(--transition);
        }
        
        .top-bar span:hover i {
            transform: scale(1.2);
        }
        
        /* تحسينات للشريط الجانبي للجوال */
        .mobile-language-switcher {
            display: none;
            margin-top: 30px;
            padding-top: 30px;
            border-top: 1px solid var(--light-gray);
        }
        
        .mobile-language-switcher .language-btn {
            width: 100%;
            text-align: center;
            margin-bottom: 10px;
        }
        
        /* تأثيرات للصورة الرئيسية */
        .gallery-main {
            position: relative;
        }
        
        .gallery-main::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, transparent 70%, rgba(0,0,0,0.3));
            opacity: 0;
            transition: var(--transition);
            pointer-events: none;
        }
        
        .gallery-main:hover::before {
            opacity: 1;
        }
        
        /* تحسينات للوضع الدولي */
        /* تحسينات للشارة الدولية - النسخة المحسنة */
.international-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.international-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.international-badge:hover::before {
    left: 100%;
}

.international-badge i {
    font-size: 16px;
}

        
        /* تحسينات للباركود */
        .barcode-container {
            position: relative;
            overflow: hidden;
        }
        
        .barcode-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient);
        }
        
        /* Share dropdown styles */
.share-dropdown {
    position: relative;
    display: inline-block;
}
.share-options {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px;
    min-width: 160px;
    z-index: 100;
    display: none;
    flex-direction: column;
    margin-bottom: 10px;
}
        
        /* تحسينات لنموذج المشاركة */
        .share-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 10000;
            justify-content: center;
            align-items: center;
        }
        
        .share-modal.active {
            display: flex;
        }
        
        .share-modal-content {
            background: white;
            border-radius: 12px;
            padding: 25px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        
        .share-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .share-modal-title {
            font-size: 20px;
            font-weight: 700;
            color: var(--dark);
        }
        
        .share-modal-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--gray);
        }
        
        .share-options-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .share-option-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 15px 10px;
            border-radius: 8px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .share-option-btn:hover {
            background: #e6f7ff;
            transform: translateY(-3px);
        }
        
        .share-option-icon {
            font-size: 28px;
            margin-bottom: 10px;
        }
        
        .share-option-text {
            font-size: 14px;
            text-align: center;
        }
        
        .share-option-btn.facebook .share-option-icon {
            color: #3b5998;
        }
        
        .share-option-btn.twitter .share-option-icon {
            color: #1da1f2;
        }
        
        .share-option-btn.whatsapp .share-option-icon {
            color: #25d366;
        }
        
        .share-option-btn.telegram .share-option-icon {
            color: #0088cc;
        }
        
        .share-option-btn.linkedin .share-option-icon {
            color: #0077b5;
        }
        
        .share-option-btn.copy .share-option-icon {
            color: #6b7280;
        }
        
        .share-link-container {
            display: flex;
            margin-top: 15px;
        }
        
        .share-link-input {
            flex-grow: 1;
            padding: 12px 15px;
            border: 1px solid #d1d5db;
            border-radius: 6px 0 0 6px;
            font-size: 14px;
        }
        
        .copy-link-btn {
            padding: 12px 20px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 0 6px 6px 0;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .copy-link-btn:hover {
            background: var(--primary-dark);
        }
        
        .tooltip {
            position: absolute;
            background: #333;
            color: white;
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 12px;
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
            z-index: 1000;
        }
        
        .tooltip.show {
            opacity: 1;
        }
        
        @media (max-width: 480px) {
            .share-options-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

.share-dropdown:hover .share-options {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.share-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    gap: 10px;
    transition: all 0.2s ease;
}

.share-option:hover {
    background-color: #f5f5f5;
}

.share-option i {
    width: 16px;
    text-align: center;
}

.share-option[data-platform="facebook"] {
    color: #3b5998;
}

.share-option[data-platform="twitter"] {
    color: #1da1f2;
}

.share-option[data-platform="whatsapp"] {
    color: #25d366;
}

.share-option[data-platform="linkedin"] {
    color: #0077b5;
}

.star-rating {
  direction: rtl;
  display: inline-flex;
}
.star-rating input {
  display: none;
}
.star-rating label {
  font-size: 2rem;
  cursor: pointer;
  color: #ccc;
  transition: color 0.2s;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #ffca08;
}

.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
    background: #f1f5f9;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: var(--gray);
}

.breadcrumb .current-page {
    color: var(--dark);
    font-weight: 600;
    padding: 4px 8px;
}

/* تحسينات للغة الإنجليزية */
[lang="en"] .breadcrumb {
    direction: ltr;
    text-align: left;
}

[lang="en"] .breadcrumb-separator {
    margin: 0 10px;
}

/* للجوال */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 13px;
        padding: 10px 0;
    }
    
    .breadcrumb-separator {
        margin: 0 6px;
    }
}
.product-names {
    text-align: center;
    margin-bottom: 20px;
}

.product-title-ar {
    font-size: 28px;
    font-weight: bold;
    color: #1a365d;
    line-height: 1.3;
}

.product-title-en {
    font-size: 20px;
    font-weight: 500;
    color: #555;
    margin-top: 5px;
    font-style: italic;
}
.product-card { 
    background: #fff; 
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); 
    margin-bottom: 20px; 
}
.product-header h1 { 
    font-size: 24px; 
    color: #2c3e50; 
    margin: 0; 
}
.product-header h2 { 
    font-size: 18px; 
    color: #555; 
    margin: 5px 0 15px; 
}
.product-meta { 
    font-size: 16px; 
    margin-bottom: 15px; 
}
.product-meta .label { 
    font-weight: bold; 
    color: #34495e; 
}
.product-description { 
    line-height: 1.7; 
    color: #333; 
}
.product-description .detail { 
    font-weight: bold; 
    color: #2980b9; 
}
.product-subtitle {
    font-size: 18px;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

/* تحسينات للمحتوى الإضافي */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.usage-item {
    background: #f8fafc;
    padding: 12px 15px;
    border-radius: 8px;
    border-right: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.usage-item:hover {
    background: #e6f0ff;
    transform: translateX(-5px);
}

.usage-item i {
    color: var(--success);
}

.faq-container {
    margin-top: 20px;
}

.faq-item {
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.faq-question {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.faq-answer {
    color: var(--dark);
    line-height: 1.6;
    margin: 0;
}


.product-names {
    text-align: center;
    margin-bottom: 20px;
}

.product-title-ar {
    font-size: 28px;
    font-weight: bold;
    color: #1a365d;
    line-height: 1.3;
}

.product-title-en {
    font-size: 20px;
    font-weight: 500;
    color: #555;
    margin-top: 5px;
    font-style: italic;
}

/* ✅ تنسيق النجوم */
.star-rating {
    direction: rtl; /* يبدأ من اليمين */
    display: inline-flex;
    justify-content: center;
    gap: 5px;
    font-size: 28px;
    cursor: pointer;
}

.star-rating input {
    display: none; /* إخفاء الراديو */
}

.star-rating label::before {
    content: "★";
    font-size: 28px;
    color: #ccc; /* النجمة الرمادية الافتراضية */
    transition: color 0.2s;
}

.star-rating input:checked ~ label::before,
.star-rating label:hover::before,
.star-rating label:hover ~ label::before {
    color: #ff9800; /* لون النجوم المختارة أو عند المرور */
}

/* ✅ زر الإرسال */
.rating-form button {
    display: block;
    margin: 10px auto;
    background: #ff9800;
    border: none;
    color: white;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}
.rating-form button:hover {
    background: #e68900;
}
