/** Shopify CDN: Minification failed

Line 930:12 Unexpected "{"
Line 930:13 Expected identifier but found "%"
Line 930:39 Unexpected "{"
Line 930:40 Expected identifier but found "%"
Line 937:12 Unexpected "{"
Line 937:13 Expected identifier but found "%"
Line 937:60 Unexpected "{"
Line 937:61 Expected identifier but found "%"

**/
        /* Header */
        .header {
            background: var(--overlay-alt-1);
            backdrop-filter: var(--blur-sm);
            border-bottom: 1px solid var(--border-accent);
            padding: 1.5rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo-icon {
            color: var(--accent-1);
            font-size: 2rem;
        }

        .logo h1 {
            font-size: 1.8rem;
            background: var(--gradient-accent);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 700;
            letter-spacing: 1px;
        }

        .logo span {
            color: var(--fg-2);
            font-size: 0.9rem;
            letter-spacing: 2px;
        }

        .progress-bar {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .progress-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .step-circle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--surface-1);
            border: 2px solid var(--border-accent);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: var(--fg-2);
            transition: all 0.3s ease;
        }

        .step-circle.active {
            background: var(--accent-1);
            color: var(--bg-1);
            border-color: var(--accent-1);
            box-shadow: var(--shadow-accent);
        }

        .step-label {
            font-size: 0.8rem;
            color: var(--fg-3);
        }

        .step-line {
            height: 2px;
            width: 40px;
            background: var(--border-accent);
        }
        /* Progress Bar Updates */
        .step-circle {
            position: relative;
            font-size: 0.9rem;
            line-height: 1;
        }

        .step-circle span {
            display: inline-block;
            vertical-align: middle;
        }

        #progress-count {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--bg-1);
        }

        #total-components {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.7);
        }
        /* Main Container */
        .container {
            display: flex;
            min-height: calc(100vh - 120px);
            padding: 2rem;
            gap: 2rem;
        }

        /* Left Panel - Component Selection */
        .components-panel {
            flex: 1;
            background: var(--surface-2);
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border-light);
            overflow: hidden;
        }

        .panel-header {
            border-bottom: 1px solid var(--border-accent);
            padding-bottom: 1rem;
            margin-bottom: 1.5rem;
        }

        .panel-header h2 {
            font-size: 1.5rem;
            color: var(--accent-1-soft);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .components-tabs {
            display: flex;
            overflow-x: auto;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
        }

        .components-tabs::-webkit-scrollbar {
            height: 4px;
        }

        .components-tabs::-webkit-scrollbar-thumb {
            background: var(--accent-1);
            border-radius: 4px;
        }
        /* Tab Navigation Buttons */
        .tab-navigation {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
            margin-bottom: 1rem;
            border-bottom: 1px solid var(--border-light);
        }

        .tab-nav-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.7rem 1.2rem;
            border: 1px solid var(--border-accent);
            border-radius: 8px;
            background: var(--surface-1);
            color: var(--fg-2);
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .tab-nav-btn:hover:not(:disabled) {
            background: var(--accent-1);
            color: var(--bg-1);
            border-color: var(--accent-1);
            transform: translateX(0);
            box-shadow: var(--shadow-accent);
        }

        .tab-nav-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

        .tab-nav-prev:hover:not(:disabled) {
            transform: translateX(-3px);
        }

        .tab-nav-next:hover:not(:disabled) {
            transform: translateX(3px);
        }

        .tab-nav-next {
            background: var(--accent-1);
            color: var(--bg-1);
            border-color: var(--accent-1);
        }

        .tab-nav-next:hover:not(:disabled) {
            background: var(--accent-1-soft);
            box-shadow: var(--shadow-accent-strong);
        }

        .tab-nav-progress {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.2rem;
        }

        #currentTabName {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--accent-1);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .tab-nav-step {
            font-size: 0.8rem;
            color: var(--fg-3);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .tab-navigation {
                padding: 0.8rem 0;
            }
            
            .tab-nav-btn {
                padding: 0.6rem 0.8rem;
                font-size: 0.8rem;
            }
            
            .tab-nav-btn span {
                display: none;
            }
            
            .tab-nav-btn i {
                font-size: 1rem;
            }
            
            #currentTabName {
                font-size: 0.95rem;
            }
        }
        .tab {
            background: var(--surface-1);
            border: 1px solid var(--border-light);
            padding: 0.8rem 1.5rem;
            border-radius: 8px;
            color: var(--fg-3);
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.3s ease;
        }

        .tab:hover {
            border-color: var(--accent-1);
            color: var(--fg-1);
        }

        .tab.active {
            background: var(--accent-1);
            color: var(--bg-1);
            border-color: var(--accent-1);
            box-shadow: var(--shadow-accent);
        }

        /* Compact Filter and Sort Panel */
        .filter-sort-panel {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 1rem;
            padding: 0.8rem 1.2rem;
            background: var(--surface-1);
            border-radius: 10px;
            border: 1px solid var(--border-light);
            flex-wrap: wrap;
        }

        .filter-section {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .filter-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--accent-1);
            font-weight: 600;
            font-size: 0.9rem;
            white-space: nowrap;
        }

        .filter-dropdown-container {
            position: relative;
            display: inline-block;
        }

        .filter-dropdown-btn {
            background: var(--bg-3);
            border: 1px solid var(--border-light);
            border-radius: 6px;
            color: var(--fg-2);
            padding: 0.6rem 1rem;
            font-size: 0.85rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            min-width: 140px;
            justify-content: space-between;
            margin : 5px;
        }

        .filter-dropdown-btn:hover {
            border-color: var(--accent-1);
            color: var(--fg-1);
        }

        .filter-dropdown-btn.active {
            background: var(--surface-2);
            border-color: var(--accent-1);
            color: var(--accent-1);
        }

        .filter-dropdown-btn i {
            font-size: 0.8rem;
            transition: transform 0.3s ease;
        }

        .filter-dropdown-btn.active i {
            transform: rotate(180deg);
        }

        .filter-dropdown-content {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: var(--surface-2);
            border: 1px solid var(--border-accent);
            border-radius: 8px;
            padding: 1rem;
            min-width: 200px;
            z-index: 100;
            box-shadow: var(--shadow-lg);
            margin-top: 0.5rem;
            max-height: 300px;
            overflow-y: auto;
        }

        .filter-dropdown-content.show {
            display: block;
        }

        .filter-dropdown-content::-webkit-scrollbar {
            width: 6px;
        }

        .filter-dropdown-content::-webkit-scrollbar-thumb {
            background: var(--accent-1);
            border-radius: 3px;
        }

        .filter-options {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
        }

        .filter-option input[type="checkbox"] {
            appearance: none;
            width: 16px;
            height: 16px;
            border: 1px solid var(--border-medium);
            border-radius: 3px;
            background: var(--bg-3);
            cursor: pointer;
            position: relative;
        }

        .filter-option input[type="checkbox"]:checked {
            background: var(--accent-1);
            border-color: var(--accent-1);
        }

        .filter-option input[type="checkbox"]:checked::after {
            content: "✓";
            position: absolute;
            color: var(--bg-1);
            font-size: 0.8rem;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-weight: bold;
        }

        .filter-option label {
            color: var(--fg-3);
            font-size: 0.85rem;
            cursor: pointer;
            user-select: none;
            flex: 1;
        }

        .filter-option:hover label {
            color: var(--fg-1);
        }

        .price-range-container {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .price-inputs {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .price-input {
            width: 80px;
            background: var(--bg-3);
            border: 1px solid var(--border-light);
            border-radius: 4px;
            color: var(--fg-1);
            padding: 0.4rem 0.5rem;
            font-size: 0.85rem;
        }

        .price-input:focus {
            outline: none;
            border-color: var(--accent-1);
        }

        .price-separator {
            color: var(--fg-3);
            font-size: 0.9rem;
        }

        .clear-filters-btn {
            background: transparent;
            color: var(--fg-3);
            border: 1px solid var(--border-light);
            padding: 0.6rem 1rem;
            border-radius: 6px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .clear-filters-btn:hover {
            color: var(--accent-1);
            border-color: var(--accent-1);
        }

        .sort-section {
            display: flex;
            align-items: start;
            gap: 0.8rem;
            white-space: nowrap;
            flex-direction : column;
        }

        .sort-header {
            color: var(--accent-1);
            font-weight: 600;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .sort-select {
            background: var(--bg-3);
            border: 1px solid var(--border-light);
            border-radius: 6px;
            color: var(--fg-1);
            padding: 0.6rem 1rem;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 160px;
        }

        .sort-select:focus {
            outline: none;
            border-color: var(--accent-1);
            box-shadow: 0 0 0 2px var(--glow-soft);
        }

        .sort-select option {
            background: var(--bg-2);
            color: var(--fg-1);
        }

        /* Results count and active filters */
        .filter-status-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            padding: 0 0.5rem;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .results-count {
            color: var(--fg-3);
            font-size: 0.85rem;
        }

        .active-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .active-filter-tag {
            background: var(--surface-1);
            border: 1px solid var(--border-accent);
            border-radius: 15px;
            padding: 0.3rem 0.8rem;
            font-size: 0.75rem;
            color: var(--accent-1);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .active-filter-tag .remove-filter {
            background: none;
            border: none;
            color: var(--fg-3);
            cursor: pointer;
            font-size: 0.8rem;
            padding: 0;
            line-height: 1;
        }

        .active-filter-tag .remove-filter:hover {
            color: var(--accent-1);
        }

        /* Components Grid */
        .components-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.2rem;
            padding-top: 10px;
            /* {% comment %} max-height: 600px; {% endcomment %}
            {% comment %} overflow-y: auto; {% endcomment %} */
            padding-right: 0.5rem;
            
        }

        .components-grid::-webkit-scrollbar {
            width: 8px;
        }

        .components-grid::-webkit-scrollbar-thumb {
            background: var(--accent-1);
            border-radius: 4px;
        }

        .component-card {
            background: var(--gradient-main);
            border-radius: 10px;
            padding: 1.2rem;
            border: 1px solid transparent;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .component-card:hover {
            border-color: var(--accent-1);
            transform: translateY(-5px);
            box-shadow: var(--shadow-accent);
        }

        .component-card.selected {
            border-color: var(--accent-1);
            background: var(--surface-1);
            box-shadow: var(--shadow-accent-strong);
        }

        .component-card.selected::before {
            content: "✓ SELECTED";
            position: absolute;
            top: 0;
            right: 0;
            background: var(--accent-1);
            color: var(--bg-1);
            font-size: 0.7rem;
            font-weight: 700;
            padding: 0.3rem 0.8rem;
            border-bottom-left-radius: 8px;
        }

        .component-image {
            height: 120px;
            background: var(--bg-3);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            overflow: hidden;
        }

        .component-image i {
            font-size: 3rem;
            color: var(--accent-1);
            opacity: 0.7;
        }
        .component-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 6px;
        }
        .component-info h4 {
            color: var(--fg-1);
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }

        .component-specs {
            font-size: 0.85rem;
            color: var(--fg-3);
            margin-bottom: 0.5rem;
            line-height: 1.4;
        }

        /* Component tags */
        .component-tags {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.5rem;
            flex-wrap: wrap;
        }

        .component-tag {
            background: var(--surface-3);
            color: var(--fg-3);
            padding: 0.2rem 0.6rem;
            border-radius: 10px;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .performance-extreme {
            background: rgba(255, 69, 0, 0.2);
            color: var(--accent-3);
            border: 1px solid rgba(255, 69, 0, 0.3);
        }

        .performance-high {
            background: rgba(255, 191, 0, 0.2);
            color: var(--accent-1);
            border: 1px solid rgba(255, 191, 0, 0.3);
        }

        .performance-mid {
            background: rgba(255, 149, 0, 0.2);
            color: var(--accent-2);
            border: 1px solid rgba(255, 149, 0, 0.3);
        }

        .performance-entry {
            background: rgba(212, 197, 169, 0.2);
            color: var(--fg-2);
            border: 1px solid rgba(212, 197, 169, 0.3);
        }

        .component-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1rem;
        }

        .component-price {
            color: var(--accent-1);
            font-weight: 700;
            font-size: 1.2rem;
        }

        .component-select-btn {
            background: var(--accent-1);
            color: var(--bg-1);
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .component-select-btn:hover {
            background: var(--accent-1-soft);
            transform: scale(1.05);
        }

        .component-select-btn.selected {
            background: var(--bg-1);
            color: var(--accent-1);
        }

        /* Component Actions */
        .component-actions {
            display: grid;
            gap: 0.5rem;
        }

        .component-quick-view-btn {
            background: var(--surface-1);
            color: var(--fg-2);
            border: 1px solid var(--border-light);
            padding: 0.5rem 0.8rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.3rem;
            font-size: 0.85rem;
        }

        .component-quick-view-btn:hover {
            background: var(--surface-3);
            color: var(--accent-1);
            border-color: var(--accent-1);
        }

        .component-select-btn {
            background: var(--accent-1);
            color: var(--bg-1);
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        .component-select-btn:hover {
            background: var(--accent-1-soft);
            transform: scale(1.05);
        }

        .component-select-btn.selected {
            background: var(--bg-1);
            color: var(--accent-1);
            border: 1px solid var(--accent-1);
        }
        /* Right Panel - Configuration & Preview */
        .config-panel {
            width: 380px;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .pc-preview {
            background: var(--surface-2);
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border-light);
            height: 300px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .pc-preview::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-spectrum);
            animation: spectrumMove 3s infinite linear;
        }

        @keyframes spectrumMove {
            0% { background-position: -200px 0; }
            100% { background-position: 200px 0; }
        }

        .pc-model {
            width: 200px;
            height: 160px;
            background: var(--bg-3);
            border-radius: 10px;
            position: relative;
            border: 2px solid var(--border-accent);
            box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
        }

        .pc-model::after {
            content: "Khaleej Gamers";
            position: absolute;
            bottom: -25px;
            color: var(--accent-1);
            font-weight: 700;
            letter-spacing: 2px;
            font-size: 0.9rem;
        }

        .pc-model i {
            font-size: 5rem;
            color: var(--accent-1);
            opacity: 0.5;
        }

        .pc-lights {
            position: absolute;
            top: 20px;
            width: 100%;
            display: flex;
            justify-content: center;
            gap: 30px;
        }

        .pc-light {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent-1);
            box-shadow: 0 0 10px var(--accent-1);
            animation: lightPulse 2s infinite alternate;
        }

        @keyframes lightPulse {
            0% { opacity: 0.3; }
            100% { opacity: 1; }
        }

        .pc-light:nth-child(2) {
            animation-delay: 0.5s;
        }

        .pc-light:nth-child(3) {
            animation-delay: 1s;
        }

        .config-summary {
            background: var(--surface-2);
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border-light);
            flex-grow: 1;
        }

        .build-name-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border-light);
        }

        .build-name-input-container {
            flex: 1;
            position: relative;
        }

        .build-name-input {
            {% comment %} width: 100%; {% endcomment %}
            background: transparent;
            border: 2px solid var(--border-light);
            border-radius: 8px;
            color: var(--fg-1);
            font-size: 1.3rem;
            font-weight: 700;
            {% comment %} padding: 0.8rem 1rem 0.8rem 3rem; {% endcomment %}
            transition: all 0.3s ease;
            outline: none;
        }

        .build-name-input:focus {
            border-color: var(--accent-1);
            background: var(--surface-1);
            box-shadow: 0 0 0 3px var(--glow-soft);
        }

        .build-name-input::placeholder {
            color: var(--fg-3);
            opacity: 0.7;
        }

        .build-name-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--accent-1);
            font-size: 1rem;
            pointer-events: none;
        }

        .build-name-status {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--surface-1);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            color: var(--success);
            border: 1px solid var(--border-light);
            opacity: 0;
            transition: all 0.3s ease;
            overflow : hidden;
        }

        .build-name-status.show {
            opacity: 1;
        }

        .build-name-status i {
            font-size: 0.9rem;
        }

        .build-name-status.saving {
            color: var(--accent-2);
        }

        .build-name-status.saving i {
            animation: spin 1s infinite linear;
        }
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        /* Hover effects */
        .build-name-input:hover {
            border-color: var(--border-accent);
        }
        .components-list {
            margin-bottom: 1.5rem;
        }

        .component-item {
            display: flex;
            justify-content: space-between;
            padding: 0.8rem 0;
            border-bottom: 1px solid var(--border-light);
        }

        .component-item:last-child {
            border-bottom: none;
        }
        /* Quantity controls in summary */
        .component-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.8rem 0;
            border-bottom: 1px solid var(--border-light);
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .component-item-left {
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
            flex: 1;
            min-width: 120px;
        }

        .component-item-right {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .component-quantity-control {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            background: var(--surface-1);
            border-radius: 6px;
            padding: 0.2rem;
            border: 1px solid var(--border-light);
        }

        .component-quantity-btn {
            width: 24px;
            height: 24px;
            border: none;
            background: transparent;
            color: var(--fg-2);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            transition: all 0.2s ease;
            font-size: 0.9rem;
        }

        .component-quantity-btn:hover {
            background: var(--accent-1);
            color: var(--bg-1);
        }

        .component-quantity-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .component-quantity-btn:disabled:hover {
            background: transparent;
            color: var(--fg-2);
        }

        .component-quantity-value {
            min-width: 24px;
            text-align: center;
            font-weight: 600;
            color: var(--fg-1);
            font-size: 0.85rem;
        }

        .component-remove-btn {
            background: transparent;
            border: none;
            color: var(--fg-3);
            cursor: pointer;
            padding: 0.3rem;
            border-radius: 4px;
            transition: all 0.2s ease;
        }

        .component-remove-btn:hover {
            color: var(--accent-3);
            background: rgba(255, 69, 0, 0.1);
        }

        .component-item-name {
            color: var(--fg-2);
            font-weight: 600;
            font-size: 0.85rem;
        }

        .component-item-product {
            color: var(--fg-3);
            font-size: 0.75rem;
            max-width: 180px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .component-name {
            color: var(--fg-2);
            font-weight: 600;
        }

        .component-price-small {
            color: var(--accent-1);
            font-weight: 700;
        }

        .total-price {
            background: var(--surface-1);
            padding: 1.2rem;
            border-radius: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1.5rem;
            border: 1px solid var(--border-accent);
        }

        .total-label {
            font-size: 1.1rem;
            color: var(--fg-1);
        }

        .total-amount {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--accent-1);
            text-shadow: 0 0 10px var(--glow-soft);
        }

        .action-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .btn {
            flex: 1;
            padding: 1rem;
            border-radius: 8px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .btn-primary {
            background: var(--gradient-accent);
            color: var(--bg-1);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-accent-strong);
        }

        .btn-secondary {
            background: transparent;
            color: var(--fg-2);
            border: 2px solid var(--border-accent);
        }

        .btn-secondary:hover {
            background: var(--surface-3);
            color: var(--accent-1);
        }
        /* Save Build Dropdown */
        .save-build-container {
            position: relative;
            flex: 1;
        }
        .save-build-container:hover {
            z-index : 101;
        }
        .btn.btn-secondary {
            position: relative;
        }
        .saved-builds-dropdown {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            width: 350px;
            background: var(--surface-2);
            border: 1px solid var(--border-accent);
            border-radius: 8px;
            padding: 1rem;
            margin-top: 0px;
            z-index: 100;
            box-shadow: var(--shadow-lg);
            max-height: 300px;
            overflow-y: auto;
        }

        .save-build-container:hover .saved-builds-dropdown,
        .saved-builds-dropdown.show {
            display: block;
        }
        /* Make sure dropdown doesn't close when hovering over it */
        .saved-builds-dropdown:hover {
            display: block;
        }
        /* Create a bridge between button and dropdown to prevent hover gap */
        .save-build-container.has-saved-builds::after {
            content: '';
            position: absolute;
            bottom: -5px; /* Extends 5px below the button */
            left: 0;
            width: 100%;
            height: 100px; /* Creates a hover bridge area */
            background: transparent;
            z-index: -1; /* Just below dropdown */
        }
        .saved-builds-header {
            border-bottom: 1px solid var(--border-light);
            padding-bottom: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .saved-builds-header h4 {
            color: var(--accent-1);
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .saved-builds-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .saved-build-item {
            background: var(--surface-1);
            border: 1px solid var(--border-light);
            border-radius: 6px;
            padding: 0.8rem;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }

        .saved-build-item:hover {
            border-color: var(--accent-1);
            background: var(--surface-3);
        }

        .saved-build-name {
            color: var(--fg-1);
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 0.3rem;
            max-width: 100%;
        }

        .saved-build-date {
            color: var(--fg-3);
            font-size: 0.7rem;
            margin-bottom: 0.3rem;
        }

        .saved-build-components {
            display: flex;
            flex-wrap: wrap;
            gap: 0.3rem;
            margin-top: 0.5rem;
        }

        .saved-build-component {
            background: var(--surface-3);
            color: var(--fg-3);
            padding: 0.1rem 0.4rem;
            border-radius: 4px;
            font-size: 0.6rem;
            font-weight: 600;
        }

        .saved-builds-footer {
            border-top: 1px solid var(--border-light);
            padding-top: 0.8rem;
            margin-top: 0.8rem;
        }

        .clear-all-saved-btn {
            width: 100%;
            background: transparent;
            color: var(--fg-3);
            border: 1px solid var(--border-light);
            padding: 0.5rem;
            border-radius: 6px;
            font-size: 0.8rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        .clear-all-saved-btn:hover {
            color: var(--accent-3);
            border-color: var(--accent-3);
        }

        /* Save Button Badge */
        .btn.btn-secondary {
            position: relative;
        }

        .save-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--accent-2);
            color: var(--bg-1);
            font-size: 0.7rem;
            font-weight: 800;
            min-width: 20px;
            height: 20px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid var(--surface-2);
            padding: 0 4px;
        }

        /* Empty saved builds */
        .empty-saved-builds {
            text-align: center;
            padding: 1rem;
            color: var(--fg-3);
        }

        .empty-saved-builds i {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            opacity: 0.5;
        }

        .empty-saved-builds p {
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }

        .save-from-empty-btn {
            background: var(--accent-1);
            color: var(--bg-1);
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            font-size: 0.8rem;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            transition: all 0.3s ease;
        }

        .save-from-empty-btn:hover {
            background: var(--accent-1-soft);
        }
        /* Footer */
        .footer {
            background: var(--overlay-alt-1);
            border-top: 1px solid var(--border-accent);
            padding: 1.5rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .footer-info {
            font-size: 0.9rem;
            color: var(--fg-3);
        }

        .footer-info i {
            color: var(--accent-1);
            margin-right: 0.5rem;
        }

        .warranty-badge {
            background: var(--surface-1);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            color: var(--accent-1);
            border: 1px solid var(--border-accent);
        }

        /* Quick View Modal */
        .quick-view-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .quick-view-modal.visible {
            display: flex;
        }

        .quick-view-modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--overlay-2);
            backdrop-filter: var(--blur-sm);
        }

        .quick-view-modal-content {
            position: relative;
            background: var(--surface-2);
            border-radius: 12px;
            width: 90%;
            max-width: 800px;
            max-height: 90vh;
            overflow-y: auto;
            padding: 2rem;
            border: 1px solid var(--border-accent);
            box-shadow: var(--shadow-lg);
            z-index: 2001;
        }

        .quick-view-close-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: var(--surface-1);
            border: 1px solid var(--border-accent);
            border-radius: 50%;
            width: 2.5rem;
            height: 2.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--fg-2);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .quick-view-close-btn:hover {
            background: var(--accent-1);
            color: var(--bg-1);
            border-color: var(--accent-1);
        }

        .quick-view-product {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        .quick-view-product-image {
            border-radius: 8px;
            overflow: hidden;
            background: var(--bg-3);
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 300px;
        }

        .quick-view-product-image img {
            width: 100%;
            height: auto;
            object-fit: contain;
        }

        .quick-view-product-info h3 {
            color: var(--accent-1);
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .quick-view-product-price {
            color: var(--accent-1);
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
        }

        .quick-view-product-specs {
            margin-bottom: 1.5rem;
        }

        .quick-view-product-specs h4 {
            color: var(--accent-1-soft);
            margin-bottom: 0.5rem;
        }

        .quick-view-product-specs ul {
            list-style: none;
            padding: 0;
        }

        .quick-view-product-specs li {
            padding: 0.3rem 0;
            color: var(--fg-2);
            border-bottom: 1px solid var(--border-light);
        }

        .quick-view-product-specs li:last-child {
            border-bottom: none;
        }

        .quick-view-product-actions {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }

        .quick-view-add-to-cart-btn {
            background: var(--accent-1);
            color: var(--bg-1);
            border: none;
            padding: 1rem 2rem;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .quick-view-add-to-cart-btn:hover {
            background: var(--accent-1-soft);
            transform: translateY(-3px);
            box-shadow: var(--shadow-accent);
        }

        .quick-view-select-btn {
            background: transparent;
            color: var(--fg-2);
            border: 2px solid var(--border-accent);
            padding: 1rem 2rem;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .quick-view-select-btn:hover {
            background: var(--surface-3);
            color: var(--accent-1);
            border-color: var(--accent-1);
        }
        /* Save Build Modal */
        .save-build-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .save-build-modal.visible {
            display: flex;
        }

        .save-build-modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--overlay-2);
            backdrop-filter: var(--blur-sm);
        }

        .save-build-modal-content {
            position: relative;
            background: var(--surface-2);
            border-radius: 12px;
            width: 90%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
            padding: 2rem;
            border: 1px solid var(--border-accent);
            box-shadow: var(--shadow-lg);
            z-index: 2001;
        }

        .save-build-close-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: var(--surface-1);
            border: 1px solid var(--border-accent);
            border-radius: 50%;
            width: 2.5rem;
            height: 2.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--fg-2);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .save-build-close-btn:hover {
            background: var(--accent-1);
            color: var(--bg-1);
            border-color: var(--accent-1);
        }

        .save-build-icon {
            text-align: center;
            font-size: 3rem;
            color: var(--accent-1);
            margin-bottom: 1rem;
        }

        .save-build-form h3 {
            text-align: center;
            color: var(--accent-1);
            margin-bottom: 0.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            color: var(--fg-2);
            margin-bottom: 0.5rem;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem 1rem;
            background: var(--surface-1);
            border: 1px solid var(--border-light);
            border-radius: 8px;
            color: var(--fg-1);
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent-1);
            box-shadow: 0 0 0 2px var(--glow-soft);
        }

        .save-build-preview {
            background: var(--surface-1);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border: 1px solid var(--border-accent);
        }

        .save-build-preview h4 {
            color: var(--accent-1-soft);
            margin-bottom: 1rem;
        }

        .preview-components {
            max-height: 200px;
            overflow-y: auto;
            margin-bottom: 1rem;
        }

        .preview-component-item {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--border-light);
            font-size: 0.9rem;
        }

        .preview-component-item:last-child {
            border-bottom: none;
        }

        .preview-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 2px solid var(--border-accent);
            font-weight: 700;
            font-size: 1.2rem;
        }

        .preview-total span:first-child {
            color: var(--fg-1);
        }

        #previewTotalPrice {
            color: var(--accent-1);
            font-size: 1.5rem;
        }

        .save-build-actions {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }

        .save-build-cancel-btn {
            flex: 1;
            background: transparent;
            color: var(--fg-2);
            border: 2px solid var(--border-accent);
            padding: 1rem;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .save-build-cancel-btn:hover {
            background: var(--surface-3);
            color: var(--accent-1);
            border-color: var(--accent-1);
        }

        .save-build-submit-btn {
            flex: 1;
            background: var(--accent-1);
            color: var(--bg-1);
            border: none;
            padding: 1rem;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .save-build-submit-btn:hover {
            background: var(--accent-1-soft);
            transform: translateY(-3px);
            box-shadow: var(--shadow-accent);
        }

        .save-build-submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        /* Login/Signup Modal */
        .login-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .login-modal.visible {
            display: flex;
        }

        .login-modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--overlay-2);
            backdrop-filter: var(--blur-sm);
        }

        .login-modal-content {
            position: relative;
            background: var(--surface-2);
            border-radius: 12px;
            width: 90%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
            padding: 2rem;
            border: 1px solid var(--border-accent);
            box-shadow: var(--shadow-lg);
            z-index: 2001;
        }

        .login-close-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: var(--surface-1);
            border: 1px solid var(--border-accent);
            border-radius: 50%;
            width: 2.5rem;
            height: 2.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--fg-2);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .login-close-btn:hover {
            background: var(--accent-1);
            color: var(--bg-1);
            border-color: var(--accent-1);
        }

        .login-container {
            text-align: center;
        }

        .login-icon {
            font-size: 3rem;
            color: var(--accent-1);
            margin-bottom: 1rem;
        }

        .login-options {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin: 2rem 0;
        }

        .login-option {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: var(--surface-1);
            border: 1px solid var(--border-light);
            border-radius: 8px;
            padding: 1rem;
            text-align: left;
        }

        .login-option i {
            font-size: 1.5rem;
            color: var(--accent-1);
            min-width: 40px;
        }

        .login-option div {
            flex: 1;
        }

        .login-option h4 {
            color: var(--fg-1);
            margin-bottom: 0.3rem;
            font-size: 0.95rem;
        }

        .login-option p {
            color: var(--fg-3);
            font-size: 0.85rem;
            margin: 0;
        }

        .login-action-btn {
            background: var(--accent-1);
            color: var(--bg-1);
            border: none;
            padding: 0.6rem 1.2rem;
            border-radius: 6px;
            font-weight: 700;
            font-size: 0.85rem;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .login-action-btn:hover {
            background: var(--accent-1-soft);
            transform: translateY(-2px);
            box-shadow: var(--shadow-accent);
        }

        .login-action-btn.secondary {
            background: transparent;
            color: var(--fg-2);
            border: 2px solid var(--border-accent);
        }

        .login-action-btn.secondary:hover {
            background: var(--surface-3);
            color: var(--accent-1);
            border-color: var(--accent-1);
        }

        .login-notice {
            background: var(--surface-1);
            border: 1px solid var(--border-accent);
            border-radius: 8px;
            padding: 1rem;
            display: flex;
            align-items: flex-start;
            gap: 0.8rem;
            margin-top: 1.5rem;
        }

        .login-notice i {
            color: var(--accent-1);
            font-size: 1.2rem;
            margin-top: 0.1rem;
        }

        .login-notice p {
            color: var(--fg-3);
            font-size: 0.85rem;
            margin: 0;
            text-align: left;
        }
        @media (max-width: 768px) {
            .quick-view-product {
                grid-template-columns: 1fr;
            }
        }
        /* Save Button Badge */
        .save-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--accent-2);
            color: var(--bg-1);
            font-size: 0.7rem;
            font-weight: 800;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid var(--surface-2);
        }
        /* Responsive adjustments */
        @media (max-width: 992px) {
            .filter-sort-panel {
                flex-direction: column;
                align-items: stretch;
                gap: 1rem;
            }
            
            .filter-section {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .sort-section {
                width: 100%;
                justify-content: space-between;
            }
        }

        @media (max-width: 1200px) {
            .container {
                flex-direction: column;
            }
            
            .config-panel {
                width: 100%;
                flex-direction: row;
            }
            
            .pc-preview, .config-summary {
                flex: 1;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 1rem;
            }
            
            .config-panel {
                flex-direction: column;
            }
            
            .components-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
            
            .header {
                flex-direction: column;
                gap: 1rem;
            }
            
            .progress-bar {
                width: 100%;
                justify-content: space-between;
            }
            
            .step-line {
                display: none;
            }
            
            .filter-dropdown-btn {
                min-width: 120px;
                font-size: 0.8rem;
                padding: 0.5rem 0.8rem;
            }
            
            .sort-select {
                min-width: 140px;
            }
            
            .filter-status-bar {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.8rem;
            }
            .build-name-header {
                flex-direction: column;
                align-items: stretch;
                gap: 0.8rem;
            }
            
            .build-name-status {
                align-self: flex-start;
            }
        }
