/* CC-02b Wave 2 - extracted from FRONTEND/07_vendors/vendor-store-products.html */
html.rbac-pending body { visibility: hidden; }
        html.rbac-pending::before {
            content: "Verifying access...";
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 1rem;
            color: #475569;
            background: #f8fafc;
            visibility: visible;
            z-index: 2147483647;
        }
    


        /* ============================================================
           Keyframe Animations
           ============================================================ */

        @keyframes bounceIn {
            0% {
                opacity: 0;
                transform: scale(0.3);
            }
            50% {
                transform: scale(1.05);
            }
            70% {
                transform: scale(0.9);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* ============================================================
           Animation Utility Classes
           ============================================================ */

        .animate-bounce-in {
            animation: bounceIn 0.6s ease-out both;
        }

        .animate-scale-in {
            animation: scaleIn 0.4s ease-out both;
        }

        .stagger-1 { animation-delay: 0.1s; }
        .stagger-2 { animation-delay: 0.2s; }
        .stagger-3 { animation-delay: 0.3s; }
        .stagger-4 { animation-delay: 0.4s; }
        .stagger-5 { animation-delay: 0.5s; }
        .stagger-6 { animation-delay: 0.6s; }

        /* ============================================================
           Brand Colors & Gradients
           ============================================================ */
        .logo-gradient {
            background: linear-gradient(135deg, #ff6b9d, #ffd700);
        }

        .gradient-bg {
            background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
        }

        /* ============================================================
           Product Card Styles
           ============================================================ */
        /* ============================================================
           Modal Styles
           ============================================================ */

        .modal-content {
            background: white;
            border-radius: 1rem;
            width: 95%;
            max-width: 40rem;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
            transform: scale(0.9) translateY(1rem);
            transition: transform 0.3s ease;
            box-shadow: 0 1.5625rem 3.125rem -0.75rem rgba(0, 0, 0, 0.25);
        }

        .dark .modal-content {
            background: rgb(31, 41, 55);
        }
        /* ============================================================
           Stock Status Badges
           ============================================================ */
        .stock-badge {
            font-size: 0.75rem;
            padding: 0.25rem 0.75rem;
            border-radius: 0.75rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
        }

        .stock-in {
            background: rgba(16, 185, 129, 0.1);
            color: #10B981;
            border: 0.0625rem solid rgba(16, 185, 129, 0.3);
        }

        .stock-low {
            background: rgba(245, 158, 11, 0.1);
            color: #F59E0B;
            border: 0.0625rem solid rgba(245, 158, 11, 0.3);
        }

        .stock-out {
            background: rgba(239, 68, 68, 0.1);
            color: #EF4444;
            border: 0.0625rem solid rgba(239, 68, 68, 0.3);
        }

        /* ============================================================
           Category Badges
           ============================================================ */
        .category-badge {
            font-size: 0.6875rem;
            padding: 0.1875rem 0.5rem;
            border-radius: 0.375rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.03rem;
        }

        .cat-photography { background: rgba(139, 92, 246, 0.15); color: #8B5CF6; }
        .cat-catering { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
        .cat-decoration { background: rgba(236, 72, 153, 0.15); color: #EC4899; }
        .cat-attire { background: rgba(59, 130, 246, 0.15); color: #3B82F6; }
        .cat-jewelry { background: rgba(16, 185, 129, 0.15); color: #10B981; }
        .cat-stationery { background: rgba(99, 102, 241, 0.15); color: #6366F1; }
        .cat-gifts { background: rgba(244, 63, 94, 0.15); color: #F43F5E; }
        .cat-other { background: rgba(107, 114, 128, 0.15); color: #6B7280; }

        /* ============================================================
           Skeleton Loader
           ============================================================ */
        .skeleton {
            background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
            background-size: 60rem 100%;
            animation: shimmer 1.5s infinite linear;
            border-radius: 0.5rem;
        }

        .dark .skeleton {
            background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
            background-size: 60rem 100%;
        }

        /* ============================================================
           Grid / List View Toggle
           ============================================================ */
        .view-toggle-btn {
            padding: 0.5rem 0.75rem;
            border-radius: 0.5rem;
            border: 0.0625rem solid #e5e7eb;
            background: white;
            color: #6B7280;
            cursor: pointer;
            transition: all 0.2s ease;
            min-width: 2.75rem;
            min-height: 2.75rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .dark .view-toggle-btn {
            background: rgb(55, 65, 81);
            border-color: #4b5563;
            color: #9CA3AF;
        }

        .view-toggle-btn:hover {
            border-color: #8B5CF6;
            color: #8B5CF6;
        }

        .view-toggle-btn.active {
            background: #8B5CF6;
            color: white;
            border-color: #8B5CF6;
        }

        /* ============================================================
           List View Rows
           ============================================================ */
        .product-list-row {
            transition: background-color 0.2s ease;
        }

        .product-list-row:hover {
            background-color: rgba(139, 92, 246, 0.04);
        }

        .dark .product-list-row:hover {
            background-color: rgba(139, 92, 246, 0.08);
        }

        /* ============================================================
           Notification Dot
           ============================================================ */
        .notification-dot {
            animation: pulse 2s infinite;
        }

        /* ============================================================
           Custom Scrollbar
           ============================================================ */
        /* ============================================================
           Toast Notifications
           ============================================================ */
        .toast-enter {
            animation: slideUp 0.3s ease-out both;
        }

        .toast-exit {
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        /* ============================================================
           Image Placeholder Gradient
           ============================================================ */
        .img-placeholder {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.15));
        }

        .dark .img-placeholder {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(59, 130, 246, 0.25));
        }

        /* ============================================================
           Image Preview
           ============================================================ */
        .image-preview-container {
            border: 0.125rem dashed #d1d5db;
            border-radius: 0.75rem;
            transition: border-color 0.2s ease;
        }

        .image-preview-container:hover {
            border-color: #8B5CF6;
        }

        .dark .image-preview-container {
            border-color: #4b5563;
        }

        .dark .image-preview-container:hover {
            border-color: #8B5CF6;
        }
