.partList tr td {
    padding: 0 1.5rem 0 0;
    font-size:0.85rem;
}
.partList td.td_price {
    text-align:right;
}
table.partList {
    border-spacing:0;
    border-collapse:collapse;
}
th {
    padding: 0.5rem 0.5rem 0.5rem 0;
    font-size:0.75rem;
    text-align:left;
}
tr.tr_part {
    border-color: #000000;
    border-top-style: solid;
    border-top-width: 1px;
}

.presetRig {
    background-color: #f8f8f5;
}

/* ====================================
   PRESET BUILD PAGE - TECHNICAL DESIGN
   ==================================== */

/* Page Container */
.preset-build-page {
    background: #f8f8f5;
    min-height: 100vh;
}

.preset-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header Section */
.preset-header {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 1.5rem;
}

.preset-title-section {
    max-width: 900px;
}

.preset-build-title {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.02em;
}

.preset-use-case {
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    padding-left: 1rem;
    border-left: 3px solid #3b82f6;
}

/* Content Grid Layout */
.preset-content-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar - Sticky */
.preset-sidebar {
    position: sticky;
    top: 100px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.preset-image-container {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    border-bottom: 1px solid #e5e5e5;
}

.preset-image {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.preset-price-box {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
    background: #fafafa;
}

.price-label {
    display: block;
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 0.5rem;
}

.price-amount {
    display: block;
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #059669;
}

.preset-action {
    padding: 1.5rem;
}

.preset-load-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-family: "CooperHewitt Medium", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.preset-load-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Main Content Area */
.preset-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Section Titles */
.section-title {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
}

/* Component Breakdown */
.component-breakdown {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 2rem;
}

.component-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.component-item {
    position: relative;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.component-item:last-child {
    border-bottom: none;
}

.component-item:hover {
    background-color: #fafafa;
}

/* Component Connector Line */
.component-connector {
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, #e5e5e5 0%, #e5e5e5 50%, transparent 50%, transparent 100%);
    background-size: 1px 8px;
}


.component-details {
    padding-left: 90px;
    position: relative;
}

.component-details::before {
    content: '';
    position: absolute;
    left: 52px;
    top: 1.25rem;
    width: 16px;
    height: 16px;
    background: white;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    z-index: 1;
}

/* Component Header */
.component-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.component-category {
    font-family: "Inconsolata", monospace;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    background: #64748b;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
}

.component-name {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Component Specs */
.component-specs {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.spec-label {
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 0.85rem;
    color: #666;
}

.spec-value {
    font-family: "Inconsolata", monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Component Footer */
.component-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.component-thumb {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    padding: 0.25rem;
    background: #fafafa;
}

.component-price {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #059669;
    margin-left: auto;
}

.component-add-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: "CooperHewitt Medium", sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.component-add-btn svg {
    width: 1rem;
    height: 1rem;
}

.component-add-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: scale(1.02);
}

/* Performance Specifications */
.performance-specs {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 2rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.spec-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.spec-card:hover {
    border-color: #e5e5e5;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.spec-card-label {
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 0.5rem;
}

.spec-card-value {
    font-family: "Inconsolata", monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* Pros & Cons Section */
.pros-cons-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.pros-box,
.cons-box {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 1.75rem;
}

.pros-box {
    border-top: 3px solid #059669;
}

.cons-box {
    border-top: 3px solid #dc2626;
}

.pros-cons-title {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem 0;
    color: #1a1a1a;
}

.pros-list,
.cons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-list li,
.cons-list li {
    position: relative;
    padding-left: 1.5rem;
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.pros-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
}

.cons-list li::before {
    content: '×';
    position: absolute;
    left: 0.25rem;
    color: #dc2626;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .preset-content-grid {
        grid-template-columns: 320px 1fr;
        gap: 2rem;
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .preset-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .preset-sidebar {
        position: static;
        order: -1;
    }
    
    .component-specs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pros-cons-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .preset-container {
        padding: 1.5rem 1rem;
    }
    
    .preset-build-title {
        font-size: 1.875rem;
    }
    
    .preset-header {
        margin-bottom: 1.5rem;
    }
    
    .component-breakdown,
    .performance-specs,
    .pros-box,
    .cons-box {
        padding: 1.25rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .component-details {
        padding-left: 70px;
    }
    
    .component-details::before {
        left: 42px;
    }
    
    .component-connector {
        left: 50px;
    }
    
    .component-footer {
        flex-wrap: wrap;
    }
    
    .component-price {
        margin-left: 0;
        width: 100%;
        text-align: left;
    }
}

