:root {
            --primary-color: #ff7d1a;
            --text-dark: #1d2026;
            --text-light: #69707e;
            --bg-light: #f7f8fd;
            --white: #ffffff;
        }

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

        body {
            background-color: var(--white);
            color: var(--text-dark);
            line-height: 1.6;
        }

        /* Navigation */
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 10%;
            border-bottom: 1px solid #f0f0f0;
        }

        .logo { font-size: 24px; font-weight: bold; color: var(--text-dark); }

        .cart-icon-wrapper {
            position: relative;
            cursor: pointer;
        }

        .cart-badge {
            position: absolute;
            top: -8px;
            right: -10px;
            background: var(--primary-color);
            color: white;
            font-size: 12px;
            padding: 2px 6px;
            border-radius: 50%;
            display: none; /* يظهر فقط عند إضافة منتج */
        }

        /* Main Container */
        .container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            max-width: 1100px;
            margin: 60px auto;
            padding: 20px;
        }

        /* Gallery Section */
        .gallery-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .main-img {
            width: 100%;
            border-radius: 15px;
            cursor: zoom-in;
            transition: 0.3s;
        }

        .thumbnails {
            display: flex;
            justify-content: space-between;
            gap: 15px;
        }

        .thumb {
            width: 22%;
            border-radius: 10px;
            cursor: pointer;
            transition: 0.3s;
        }

        .thumb:hover { opacity: 0.7; }
        .thumb.active {
            border: 3px solid var(--primary-color);
            opacity: 0.5;
        }

        /* Details Section */
        .details {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .brand {
            color: var(--primary-color);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: bold;
            font-size: 14px;
        }

        h1 { font-size: 40px; margin: 15px 0; }

        .desc { color: var(--text-light); margin-bottom: 25px; }

        .price-box { margin-bottom: 30px; }
        .current-price { font-size: 28px; font-weight: bold; display: flex; align-items: center; gap: 15px; }
        .discount { background: #ffede0; color: var(--primary-color); font-size: 16px; padding: 2px 8px; border-radius: 5px; }
        .old-price { color: #b6bcc8; text-decoration: line-through; }

        .actions {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .qty-selector {
            background: var(--bg-light);
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 12px 15px;
            border-radius: 10px;
            font-weight: bold;
        }

        .qty-selector button {
            background: none;
            border: none;
            color: var(--primary-color);
            font-size: 20px;
            font-weight: bold;
            cursor: pointer;
        }

        .add-btn {
            background: var(--primary-color);
            color: white;
            border: none;
            flex-grow: 1;
            padding: 15px;
            border-radius: 10px;
            font-weight: bold;
            cursor: pointer;
            box-shadow: 0 10px 20px rgba(255, 125, 26, 0.2);
            transition: 0.3s;
        }

        .add-btn:hover { opacity: 0.7; }

        /* Responsive */
        @media (max-width: 768px) {
            .container { grid-template-columns: 1fr; gap: 40px; margin: 20px auto; }
            h1 { font-size: 30px; }
            .actions { flex-direction: column; align-items: stretch; }
        }

   