   /* Define custom colors for primary and secondary. */
        :root {
            --primary-color: #3490dc; /* Default primary color */
            --secondary-color: #f6993f; /* Default secondary color */
        }

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

        .bg-secondary {
            background-color: var(--secondary-color);
        }

        .text-primary {
            color: var(--primary-color);
        }

        .text-secondary {
            color: var(--secondary-color);
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: #f7fafc;
            transition: all 0.3s ease;
        }

        /* Basic modal styles for notifications */
        #temporaryMessage {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 10px 20px;
            background-color: #4caf50;
            color: white;
            border-radius: 5px;
            z-index: 9999;
            display: none;
        }

        /* Custom confirmation modal styles */
        #customConfirmModal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: none; /* Hidden by default */
            justify-content: center;
            align-items: center;
            z-index: 10000;
        }

        #customConfirmModal .modal-content {
            background-color: white;
            padding: 24px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            text-align: center;
        }

        .collapsible-text {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
        }
        .collapsible-text.show-full-text {
            white-space: normal;
            overflow: visible;
        }
        
        /* Theme-specific styles */

        
        .theme-classic .container-layout {
            max-width: 80rem;
            margin-left: auto;
            margin-right: auto;
        }
        
        .theme-classic .nav-layout {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .theme-classic .product-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }
        
        .theme-classic .product-card {
            background-color: white;
            border-radius: 0.75rem;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }
        
        .theme-classic .product-card:hover {
            transform: translateY(-5px);
        }

        .theme-modern body {
            background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
        }
        
        .theme-modern .container-layout {
            max-width: 100%;
            padding: 0 1rem;
        }
        
        .theme-modern .nav-layout {
            display: flex;
            flex-direction: column;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 1rem;
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }
        
        .theme-modern .store-name {
            order: -1;
            text-align: center;
            margin-bottom: 1rem;
            font-size: 2.25rem;
        }
        
        .theme-modern .product-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }
        
        .theme-modern .product-card {
            background: white;
            border-radius: 1.5rem;
            overflow: hidden;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            transition: all 0.3s;
        }
        
        .theme-modern .product-card:hover {
            transform: scale(1.02);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }
    
        
        .theme-minimal body {
            background-color: #f9fafb;
        }
        
        .theme-minimal .container-layout {
            max-width: 90rem;
            margin-left: auto;
            margin-right: auto;
            padding: 0 2rem;
        }
        
        .theme-minimal .nav-layout {
            display: grid;
            grid-template-columns: 1fr 2fr 1fr;
            align-items: center;
            background-color: transparent;
            padding: 1.5rem 0;
            border-bottom: 1px solid #e5e7eb;
        }
        
        .theme-minimal .store-name {
            text-align: center;
            font-weight: 700;
            font-size: 1.875rem;
        }
        
        .theme-minimal .product-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 2rem;
            margin-top: 3rem;
        }
        
        .theme-minimal .product-card {
            display: flex;
            background-color: white;
            border: 1px solid #e5e7eb;
            border-radius: 0.5rem;
            overflow: hidden;
            transition: all 0.3s;
        }
        
        .theme-minimal .product-card:hover {
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }
        
        .theme-minimal .product-image {
            width: 30%;
            object-fit: cover;
        }
        
        .theme-minimal .product-details {
            padding: 1.5rem;
            flex: 1;
        }
        
        /* Theme selector styles */
        .theme-selector {
            position: relative;
            display: inline-block;
        }
        
        .theme-dropdown {
            display: none;
            position: absolute;
            right: 0;
            top: 100%;
            background-color: white;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .theme-dropdown button {
            width: 100%;
            text-align: left;
            padding: 12px 16px;
            border: none;
            background: none;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .theme-dropdown button:hover {
            background-color: #f1f1f1;
        }
        
        .show {
            display: block;
        }
        
        /* Theme preview colors in dropdown */
        .theme-option {
            display: flex;
            align-items: center;
        }
        
        .theme-color-preview {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            margin-right: 8px;
        }
        
        .classic-preview {
            background: linear-gradient(135deg, #3490dc 50%, #f6993f 50%);
        }
        
        .modern-preview {
            background: linear-gradient(135deg, #8b5cf6 50%, #ec4899 50%);
        }
        
        .minimal-preview {
            background: linear-gradient(135deg, #10b981 50%, #f59e0b 50%);
        }
        
        /* Parallax effect for modern theme */
        .parallax-bg {
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 2rem;
            border-radius: 1rem;
            overflow: hidden;
        }
        
        .parallax-content {
            background: rgba(255, 255, 255, 0.8);
            padding: 2rem;
            border-radius: 1rem;
            text-align: center;
            backdrop-filter: blur(5px);
        }
        
        /* Hide elements based on theme */
        .theme-modern-only {
            display: none;
        }
        
        .theme-modern .theme-modern-only {
            display: flex;
        }
    /* View Details button styles for all themes */
    .view-details-btn {
        background-color: var(--primary-color) !important;
        color: var(--secondary-color) !important;
        border: none;
    }
    
    .view-details-btn:hover {
        opacity: 0.9;
    }