        :root {
            --primary: #4361ee;
            --secondary: #3f37c9;
            --accent: #4895ef;
            --light: #f8f9fa;
            --dark: #212529;
            --success: #4cc9f0;
            --warning: #f72585;
            --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            background: #f5f7fa;
            color: var(--dark);
            line-height: 1.6;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 0;
        }
        
        /* Header Styles */
        header {
            background: white;
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
        }
        
        /* Filters */
        .filters {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 20px 0;
        }
        
        .filter-btn {
            padding: 8px 16px;
            border-radius: 30px;
            background: white;
            border: 1px solid #ddd;
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .filter-btn:hover, .filter-btn.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        /* Products Grid */
       .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}
        
        .product-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: var(--transition);
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        .product-image {
            height: 200px;
            background-size: cover;
            background-position: center;
            position: relative;
        }
        
        .product-tags {
            position: absolute;
            top: 10px;
            right: 10px;
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }
        
        .tag {
            background: var(--primary);
            color: white;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 500;
        }
        
        .product-content {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .product-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--dark);
        }
        
        .product-price {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary);
            margin-top: auto;
            padding-top: 15px;
        }
        
        /* Product Detail Page */
        .product-detail-container {
            display: none;
            margin-top: 20px;
        }
        
        .back-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 20px;
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            font-size: 1.1rem;
        }
        
        .product-detail {
            background: white;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
            overflow: hidden;
        }
        
        .detail-header {
            display: flex;
            flex-direction: column;
            gap: 20px;
            height: 100%;
        }

        @media (min-width: 992px) {
            .detail-header {
                flex-direction: row;
                align-items: flex-start;
            }

            .main-image-container {
                height: 100%;
                flex-grow: 1;
                min-height: 420px;
            }

            .main-image-wrapper {
                width: 100%;
                height: 100%;
            }

            .main-image {
                max-width: 100%;
                max-height: 100%;
                object-fit: contain;
                cursor: zoom-in;
            }

            .image-section {
                flex-direction: column;
                flex: 1;
            }

            .detail-info {
                flex: 1;
                padding: 30px;
            }

            .credentials-section {
                margin-top: 30px;
            }
        }
            
        .detail-info-content {
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .demo-credentials-container {
            display: flex;
            flex-direction: column;
            margin-top: auto;
        }
        
        /* THUMBNAIL GALLERY STYLES */
        .thumbnail-container {
            position: relative;
            margin-top: 15px;
        }
        
        .detail-images {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding: 10px;
            scrollbar-width: thin;
            scrollbar-color: var(--primary) #f0f0f0;
            max-height: 120px;
            flex-wrap: wrap;
            align-items: center;
        }
        
        @media (min-width: 992px) {
            .detail-images {
                max-height: 240px;
                overflow-y: auto;
                flex-wrap: wrap;
            }
        }
        
        .detail-images::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        
        .detail-images::-webkit-scrollbar-track {
            background: #f0f0f0;
            border-radius: 10px;
        }
        
        .detail-images::-webkit-scrollbar-thumb {
            background-color: var(--primary);
            border-radius: 10px;
        }
        
        .detail-images img {
            height: 80px;
            width: auto;
            border-radius: 8px;
            cursor: pointer;
            transition: var(--transition);
            border: 2px solid transparent;
            object-fit: cover;
            flex-shrink: 0;
        }
        
        .detail-images img:hover, .detail-images img.active {
            border-color: var(--primary);
        }
        
        .scroll-indicator {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.8);
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .scroll-indicator.left {
            left: 5px;
        }
        
        .scroll-indicator.right {
            right: 5px;
        }
        
        .thumbnail-container:hover .scroll-indicator {
            opacity: 1;
        }
        
        /* MAIN IMAGE CONTAINER */
        .main-image-container {
            height: 400px;
            background-color: #f9f9f9;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            overflow: hidden;
            border-radius: 12px;
        }
        
        .main-image-wrapper {
            width: 100%;
            height: 100%;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .main-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
            cursor: zoom-in;
            user-select: none;
            -webkit-user-drag: none;
        }
        
        .main-image.zoomed {
            cursor: grab;
            transform: scale(2);
        }
        
        .main-image.zoomed:active {
            cursor: grabbing;
        }
        
        .zoom-controls {
            position: absolute;
            bottom: 15px;
            right: 15px;
            display: flex;
            gap: 10px;
            background: rgba(255, 255, 255, 0.8);
            padding: 8px 12px;
            border-radius: 30px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 10;
        }
        
        .zoom-control {
            background: none;
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            background: var(--primary);
            color: white;
            font-size: 1.2rem;
        }
        
        .detail-info {
            padding: 25px;
        }
        
        .detail-info-content {
            display: flex;
            flex-direction: column;
        }
        
        .detail-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--dark);
        }
        
        .detail-price {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            margin: 20px 0;
        }
        
        .detail-description {
            line-height: 1.7;
            margin-bottom: 25px;
            font-size: 1.1rem;
            color: #555;
        }
        
        .detail-section-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin: 25px 0 10px;
            color: var(--dark);
        }
        
        /* Enhanced Tags Styling */
        .detail-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin: 15px 0;
        }
        
        .detail-tag {
            background: #e0e7ff;
            color: var(--primary);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            transition: var(--transition);
        }
        
        .detail-tag:hover {
            background: #d0d9ff;
            transform: translateY(-2px);
        }
        
        /* Demo Links Section */
        .demo-links-section {
            margin-bottom: 20px;
        }
        
        .detail-buttons {
            display: flex;
            gap: 15px;
            margin-top: 10px;
            flex-wrap: wrap;
        }
        
        .btn {
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 500;
            font-size: 1rem;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        .btn-primary {
            background: var(--primary);
            color: white;
            border: 2px solid var(--primary);
        }
        
        .btn-primary:hover {
            background: var(--secondary);
            border-color: var(--secondary);
        }
        
        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }
        
        .btn-outline:hover {
            background: rgba(67, 97, 238, 0.1);
        }
        
        /* Credentials Section - Below Image on Desktop */
        /* Update the credentials section styles */
.credentials-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    width: 100%;
    overflow: hidden;
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
}

.credential-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.credential-field {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    gap: 8px;
}

.credential-value {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .credential-field {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .credential-value {
        width: 100%;
        justify-content: space-between;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .credential-card {
        padding: 12px;
    }
    
    .credential-field {
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
    
    .credential-title {
        font-size: 1rem;
    }
    
    .credential-label, .credential-value span {
        font-size: 0.9rem;
    }
}
        
        .copy-btn {
            background: rgba(67, 97, 238, 0.1);
            color: var(--primary);
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .copy-btn:hover {
            background: var(--primary);
            color: white;
        }
        
        .no-data {
            color: #777;
            font-style: italic;
            margin: 10px 0;
        }
        
        /* Lightbox Modal with Navigation */
        .lightbox-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 9999 !important;
            align-items: center;
            justify-content: center;
        }
        
        .lightbox-content {
            max-width: 90%;
            max-height: 90%;
            position: relative;
            width: 90vw;
            height: 90vh;
            display: flex;
            flex-direction: column;
        }
        
        .lightbox-img-wrapper {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .lightbox-img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
            cursor: move;
            user-select: none;
            -webkit-user-drag: none;
        }
        
        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 20px;
            color: white;
            font-size: 40px;
            cursor: pointer;
            z-index: 1010;
            background: rgba(0,0,0,0.5);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .lightbox-controls {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 15px;
            background: rgba(0, 0, 0, 0.5);
            padding: 10px 20px;
            border-radius: 30px;
            z-index: 1010;
        }
        
        .lightbox-control {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .lightbox-control:hover {
            background: var(--primary);
        }
        
        /* Navigation arrows */
        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 20px;
            z-index: 1005;
        }
        
        .nav-arrow {
            background: rgba(0, 0, 0, 0.5);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .nav-arrow:hover {
            background: var(--primary);
        }
        
        /* Image counter */
        .image-counter {
            position: absolute;
            top: 20px;
            left: 20px;
            color: white;
            background: rgba(0, 0, 0, 0.5);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            z-index: 1010;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .detail-header {
                flex-direction: column;
            }
            
            .image-section {
                order: 1;
            }
            
            .detail-info {
                order: 2;
                padding: 20px;
            }
            
            .credentials-section {
                order: 3;
                margin-top: 0;
                display: none;
            }
            
            .mobile-credentials-section {
                display: block;
                margin-top: 20px;
            }
            
            .main-image-container {
                height: 350px;
            }
        }
        
        @media (min-width: 993px) {
            .mobile-credentials-section {
                display: none;
            }
        }
        
        .mobile-credentials-section {
            display: none;
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
            margin-top: 20px;
        }
        
        @media (max-width: 768px) {
            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            }
            
            .main-image-container {
                height: 300px;
            }
            
            .detail-title {
                font-size: 1.6rem;
            }
            
            .detail-price {
                font-size: 1.6rem;
            }
            
            .credentials-grid {
                grid-template-columns: 1fr;
            }
            
            .detail-buttons {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
                justify-content: center;
            }
        }
        
        @media (max-width: 480px) {
            .products-grid {
                grid-template-columns: 1fr;
            }
            
            .main-image-container {
                height: 250px;
            }
            
            .detail-images {
                max-height: 100px;
            }
            
            .detail-images img {
                height: 70px;
            }

        }
