@font-face {
    font-family: "CooperHewitt Light";
    src:
      url("Fonts/CooperHewitt-WebFonts-public/CooperHewitt-Light.woff") format("woff");
}
@font-face {
    font-family: "CooperHewitt Medium";
    src:
      url("Fonts/CooperHewitt-WebFonts-public/CooperHewitt-Medium.woff") format("woff"),
      url("Fonts/CooperHewitt-WebFonts-public/CooperHewitt-Medium.eot");
}
@font-face {
    font-family: "CooperHewitt Bold";
    src:
      url("Fonts/CooperHewitt-WebFonts-public/CooperHewitt-Bold.woff") format("woff");
}

/* Junicode Font */
@font-face {
    font-family: "Junicode";
    src: url("Fonts/Junicode/Junicode-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Junicode";
    src: url("Fonts/Junicode/Junicode-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: "Junicode";
    src: url("Fonts/Junicode/Junicode-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: "Junicode";
    src: url("Fonts/Junicode/Junicode-SemiBoldItalic.woff2") format("woff2");
    font-weight: 600;
    font-style: italic;
}

/* Premium Gradient Text Effect - Sophisticated jewel tones */
.bg-rainbow-highlights {
    background: linear-gradient(
        var(--angle, 165deg),
        #8B5CF6 var(--stop-1, 0%),
        #6366F1 var(--stop-2, 16%),
        #3B82F6 var(--stop-3, 33%),
        #06B6D4 var(--stop-4, 50%),
        #EC4899 var(--stop-5, 66%),
        #F59E0B var(--stop-6, 83%),
        #8B5CF6 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* Optional: Add animation for rainbow effect */
@keyframes rainbow-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Junicode text sizing to match with Basier/other fonts */
.text-junicode-with-basier {
    font-size: 1.15em;
    line-height: 0.9;
    vertical-align: baseline;
}

/* ========================================
   ROTATING TEXT GRADIENTS - Premium color schemes
   ======================================== */

/* Stars - Violet to Amber (current) */
.gradient-stars {
    background: linear-gradient(
        var(--angle, 165deg),
        #8B5CF6 var(--stop-1, 0%),
        #6366F1 var(--stop-2, 16%),
        #3B82F6 var(--stop-3, 33%),
        #06B6D4 var(--stop-4, 50%),
        #EC4899 var(--stop-5, 66%),
        #F59E0B var(--stop-6, 83%),
        #8B5CF6 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* Galaxies - Deep cosmic purples with magenta */
.gradient-galaxies {
    background: linear-gradient(
        var(--angle, 165deg),
        #9333EA var(--stop-1, 0%),
        #7C3AED var(--stop-2, 16%),
        #A855F7 var(--stop-3, 33%),
        #C026D3 var(--stop-4, 50%),
        #E879F9 var(--stop-5, 66%),
        #A78BFA var(--stop-6, 83%),
        #9333EA 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* Nebulae - Warm cosmic reds and oranges */
.gradient-nebulae {
    background: linear-gradient(
        var(--angle, 165deg),
        #F43F5E var(--stop-1, 0%),
        #FB7185 var(--stop-2, 16%),
        #FDA4AF var(--stop-3, 33%),
        #FB923C var(--stop-4, 50%),
        #FCA5A5 var(--stop-5, 66%),
        #FDE047 var(--stop-6, 83%),
        #F43F5E 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* Planets - Cool blues and cyans */
.gradient-planets {
    background: linear-gradient(
        var(--angle, 165deg),
        #0EA5E9 var(--stop-1, 0%),
        #06B6D4 var(--stop-2, 16%),
        #22D3EE var(--stop-3, 33%),
        #2DD4BF var(--stop-4, 50%),
        #34D399 var(--stop-5, 66%),
        #60A5FA var(--stop-6, 83%),
        #0EA5E9 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.CooperHewitt-light {
    font-family: "CooperHewitt Light";
}
.CooperHewitt-medium {
    font-family: "CooperHewitt Medium";
}
.CooperHewitt-bold {
    font-family: "CooperHewitt Bold";
}
.td_info i {
    color: grey;
}

/* Match the small italic info labels used in td.td_info for price labels */
td.td_price i {
    color: grey;
    font-style: italic;
    opacity: 0.85;
    font-size: 0.9em;
}
#part_table thead tr th p:hover {
    color: rgb(2, 85, 211);
    cursor: pointer;
}
#part_table thead tr th:hover {
    border-color: rgb(2, 85, 211);
}
.browse_category ul{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.5rem;
}
.browse_category ul li a img {
    display: block;
    margin: 0 auto 0.5rem;
    min-width: 64px;
    max-width: 300px;
    width: 100%;
}
.firstheading {
    text-align: left;
}
.browse_category ul li a {
    padding: 0.5rem;
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: #f0f0f0;
    box-shadow: inset 0px 0px 0px 1px #b5b5b5;
    transition: box-shadow 0.45s cubic-bezier(0.165,0.84,0.44,1), background-color 0.45s cubic-bezier(0.165,0.84,0.44,1);
    font-size: 1.5rem;
    color:#000000;
}
.browse_category ul li a:hover {
    background-color: #a6a2c0;
    box-shadow: inset 0px 0px 0px 3px #5769d3;
}

/* Modern Catalogue Styles */
body.builder {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.catalogue-page {
    background-color: rgb(29,29,31);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.catalogue-hero {
    background-color: black;
    color: white;
    padding: 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.catalogue-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
}

.catalogue-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.catalogue-title {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.catalogue-subtitle {
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 1.25rem;
    color: #cbd5e1;
    margin: 0;
    font-weight: 400;
}

.catalogue-container {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.catalogue-card {
    background: black;
    color: white !important;
    border-radius: 8px;
    border: 1px solid transparent;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.catalogue-card:hover {
    border: 1px solid rgba(255, 255, 255, 0.607);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1), 10px 10px -5px rgba(255, 255, 255, 0.607);
}

.card-image {
    position: relative;
    height: 120px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.catalogue-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgba(37, 99, 235, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}



.card-icon {
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.catalogue-card:hover .card-icon {
    transform: scale(1);
}

.card-content {
    padding: 1rem;
}

.card-title {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.card-description {
    font-family: "CooperHewitt Medium", sans-serif;
    color: gray;
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0 0 0.75rem 0;
}

.card-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1;
}

.stat-label {
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.card-button {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: "CooperHewitt Medium", sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
	width: auto;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
}

.card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: #2563eb;
}

.card-button svg {
    transition: transform 0.3s ease;
}

.card-button:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .catalogue-hero {
        padding: 3rem 1rem;
    }
    
    .catalogue-title {
        font-size: 2.5rem;
    }
    
    .catalogue-subtitle {
        font-size: 1.1rem;
    }
    
    .catalogue-container {
        padding: 2rem 1rem;
    }
    
    .catalogue-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    .card-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .catalogue-title {
        font-size: 2rem;
    }
    
    .catalogue-subtitle {
        font-size: 1rem;
    }
    
    .card-image {
        height: 150px;
    }
    
    .card-content {
        padding: 1.25rem;
    }
    
    .card-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
}

/* Component Page Styles */
.component-page {
    /* background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); */
    background-color: rgb(29,29,31);
    min-height: 100vh;
}

.component-hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.component-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
}

.component-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb-separator {
    color: #64748b;
}

.component-title {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.component-subtitle {
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 1.1rem;
    color: #cbd5e1;
    margin: 0;
    font-weight: 400;
}

.component-container {
    max-width: 100vw;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgb(29,29,31);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.component-filters {
    background: white;
    border-radius: 6px;
    padding: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sidebar toggle button for mobile */
.sidebar-toggle {
    display: none;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-toggle:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.sidebar-toggle svg {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

/* Sidebar overlay for mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
}

/* Enhanced filter group styling for sidebar */
.filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    font-size: 0.875rem;
    color: #374151;
    transition: all 0.2s ease;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-select:hover {
    border-color: #9ca3af;
}

/* Search box enhancements for sidebar */
.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    color: white;
    background-color: rgb(29, 29, 31);
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    width: 16px;
    height: 16px;
}

.search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.search-clear:hover {
    color: #6b7280;
    background: #f3f4f6;
}

.search-container {
    margin-bottom: 1.5rem;
}

.search-box {
    position: relative;
    max-width: 400px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 1px solid gray;
    border-radius: 8px;
    font-family: sans-serif;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgb(29, 29, 31);
    color: white;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.search-clear:hover {
    color: #374151;
    background: #f3f4f6;
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-family: sans-serif;
    font-weight: 700;
    color: #374151;
    font-size: 0.9rem;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.component-results {
    /* background: #1e293b; */
    background: rgb(29,29,31);
    border-radius: 6px;
    padding-top: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* border: 1px solid #334155; */
    flex: 1;
    min-width: 0;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #334155;
}

.results-count {
    font-family: "CooperHewitt Medium", sans-serif;
    font-weight: 600;
    color: #cbd5e1;
    font-size: 1rem;
}

.view-controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.view-toggle {
    display: flex;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #334155;
    background: #0f172a;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #94a3b8;
    margin-right: 1rem;
}

.view-toggle:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.view-toggle.active {
    border-color: #3b82f6;
    background: #3b82f6;
    color: white;
}

.products-container {
    min-height: 400px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Table Layout Styles */
.products-table {
    width: 100%;
    border-collapse: collapse;
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    
}

.products-table thead {
    /* background-color: #1e293b ; */
    background-color: rgb(29,29,31); 
    border-bottom: none;
}

.products-table th {
    padding: 0.75rem 0.5rem;
    text-align: left;
    font-family: sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-right: none;
    position: sticky;
    top: 0;
    z-index: 10;
}

.products-table th:last-child {
    border-right: none;
}

.products-table th.sortable {
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    position: relative;
}

.products-table th.sortable:hover {
    background: #334155;
    color: #e2e8f0;
}

.products-table th.sortable::after {
    content: '↕';
    position: absolute;
    right: 0.5rem;
    opacity: 0.5;
    font-size: 0.75rem;
}

.products-table th.sortable.sort-asc::after {
    content: '↑';
    opacity: 1;
    color: #3b82f6;
}

.products-table th.sortable.sort-desc::after {
    content: '↓';
    opacity: 1;
    color: #3b82f6;
}

.products-table tbody tr {
    border-bottom: 1px solid rgba(128, 128, 128, 0.227);
    transition: all 0.2s ease;
    background-color: rgb(29,29,31) !important;
}



.products-table tbody tr:last-child {
    border-bottom: 1px solid rgba(128, 128, 128, 0.227);
}

.products-table td {
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
    border-right: none;
    font-size: 0.8rem;
    font-family: sans-serif;
    color: #cbd5e1;
}

.products-table td:last-child {
    border-right: none;
}

/* Product Image Column */
.product-image-cell {
    width: 80px;
    text-align: center;
    padding: 0.75rem;
}

.product-image-cell img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

/* .products-table tbody tr:hover .product-image-cell img {
    transform: scale(1.1);
} */

/* Product Name Column */
.product-name-cell {
    min-width: 180px;
    max-width: 250px;
}

.product-name-cell a {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.product-name-cell a:hover {
    color: #3b82f6;
}

.product-type-badge {
    display: inline-block;
    background: #334155;
    color: #94a3b8;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-family: sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
    margin-left: 1rem;
}

/* Specification Columns */
.spec-cell {
    text-align: center;
    font-family: sans-serif;
    color: #cbd5e1;
    font-weight: 400;
}

.spec-cell.highlight {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    font-weight: 700;
}

/* Price Column */
.price-cell {
    text-align: right;
    font-family: sans-serif;
    font-size: 1rem !important;
    font-weight: 600;
    color: white !important;
    min-width: 100px;
}

/* Action Column */
.action-cell {
    text-align: center;
    width: 80px;
    padding: 0.75rem 0.5rem;
}

.add-to-build-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-family: sans-serif;
    font-weight: 700;
    font-size: 0.65rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
    text-decoration: none;
    white-space: nowrap;
}

.add-to-build-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: none;
}

.add-to-build-btn svg {
    width: 12px;
    height: 12px;
}

/* Quick View Button */
.quick-view-btn {
    background: #0f172a;
    color: #3b82f6;
    border: 1px solid #334155;
    padding: 0.35rem 0.6rem;
    border-radius: 5px;
    font-family: "CooperHewitt Medium", sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-right: 0.4rem;
    white-space: nowrap;
}

.quick-view-btn:hover {
    background: #1e293b;
    border-color: #3b82f6;
    transform: translateY(-1px);
}

.quick-view-btn svg {
    width: 12px;
    height: 12px;
}

/* Responsive Table */
@media (max-width: 1024px) {
    .products-table {
        font-size: 0.8rem;
    }
    
    .products-table th,
    .products-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .product-name-cell {
        min-width: 150px;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .products-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .products-table thead,
    .products-table tbody,
    .products-table th,
    .products-table td,
    .products-table tr {
        display: block;
    }
    
    .products-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .products-table tr {
        border: 1px solid #334155;
        border-radius: 8px;
        margin-bottom: 1rem;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .products-table td {
        border: none;
        position: relative;
        padding: 0.5rem 0;
        text-align: left;
        white-space: normal;
    }
    
    .products-table td:before {
        content: attr(data-label) ": ";
        font-weight: bold;
        display: inline-block;
        width: 120px;
        color: #94a3b8;
    }
}

.products-grid[data-view="list"] {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.products-grid[data-view="list"] .product-card {
    display: grid;
    grid-template-columns: 80px 100fr 2fr auto;
    align-items: center;
    gap: 0rem;
    padding: 0.5rem 0.75rem;
    box-shadow: none;
    border: 1px solid #334155;
}

.products-grid[data-view="list"] .product-image {
    width: 64px;
    height: 64px;
}

.products-grid[data-view="list"] .product-content {
    flex: 1;
    padding: 0;
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    align-items: center;
    column-gap: 0.75rem;
}

.products-grid[data-view="list"] .product-image img {
    width: 100%;
    height: 100%;
}

.products-grid[data-view="list"] .product-overlay {
    display: none;
}

.products-grid[data-view="list"] .product-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.1rem 0;
    grid-column: 1;
}

.products-grid[data-view="list"] .product-name {
    font-size: 0.95rem;
}

.products-grid[data-view="list"] .product-specs {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.1rem 0.75rem;
    grid-column: 2;
}

.products-grid[data-view="list"] .spec-item {
    border-bottom: none;
    padding: 0;
}

.products-grid[data-view="list"] .product-footer {
    grid-column: 4;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.products-grid[data-view="list"] .product-price {
    font-size: 0.95rem;
}

.products-grid[data-view="list"] .add-to-build-btn {
    padding: 0.25rem 0.4rem;
    font-size: 0.65rem;
}

@media (max-width: 1024px) {
    .products-grid[data-view="list"] .product-card {
        grid-template-columns: 70px 1.5fr 1.5fr auto;
    }
    .products-grid[data-view="list"] .product-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .products-grid[data-view="list"] .product-card {
        grid-template-columns: 64px 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.5rem 0.75rem;
    }
    .products-grid[data-view="list"] .product-content {
        grid-column: 2 / -1;
    }
    .products-grid[data-view="list"] .product-specs {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .products-grid[data-view="list"] .product-footer {
        grid-column: 1 / -1;
        justify-content: space-between;
    }
}

.product-card {
    background: #0f172a;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #334155;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.product-image {
    position: relative;
    height: 200px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgba(37, 99, 235, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #3b82f6;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: "CooperHewitt Medium", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.product-card:hover .quick-view-btn {
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.product-content {
    padding: 1.5rem;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.product-name {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.product-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: #3b82f6;
}

.product-type {
    background: #334155;
    color: #94a3b8;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 1rem;
}

.product-specs {
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: none;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.spec-value {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 0.85rem;
    color: #e2e8f0;
    font-weight: 600;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #34d399;
}

.add-to-build-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    font-family: "CooperHewitt Medium", sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
}

.add-to-build-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
    background: #2563eb;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #94a3b8;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #334155;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-results {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.no-results-content {
    color: #94a3b8;
}

.no-results-content svg {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.no-results-content h3 {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 1.5rem;
    color: #cbd5e1;
    margin: 0 0 0.5rem 0;
}

.no-results-content p {
    font-family: "CooperHewitt Medium", sans-serif;
    margin: 0;
}

.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: #94a3b8;
}

.error-message svg {
    color: #ef4444;
    margin-bottom: 1rem;
}

.error-message h3 {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 1.5rem;
    color: #cbd5e1;
    margin: 0 0 0.5rem 0;
}

.error-message p {
    font-family: "CooperHewitt Medium", sans-serif;
    margin: 0 0 1.5rem 0;
}

.retry-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: "CooperHewitt Medium", sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #334155;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #0f172a;
    color: #cbd5e1;
    border: 2px solid #334155;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #3b82f6;
    color: #3b82f6;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-family: sans-serif;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive Design for Component Pages */
@media (max-width: 768px) {
    .component-hero {
        padding: 2rem 1rem;
    }
    
    .component-title {
        font-size: 2rem;
    }
    
    .component-subtitle {
        font-size: 1rem;
    }
    
    .component-container {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sidebar-overlay {
        display: block;
    }
    
    .component-filters {
        padding: 1.0rem;
        width: 260px;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        max-height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        border-radius: 0;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .component-filters.sidebar-open {
        transform: translateX(0);
    }
    
    .component-results {
        width: 100%;
    }
    
    .filter-controls {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid[data-view="list"] .product-card {
        flex-direction: column;
        max-height: none;
    }
    
    .products-grid[data-view="list"] .product-image {
        width: 100%;
        height: 200px;
    }
    
    .pagination-container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .component-title {
        font-size: 1.75rem;
    }
    
    .product-content {
        padding: 1.25rem;
    }
    
    .product-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .product-type {
        margin-left: 0;
    }
    
    .product-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .add-to-build-btn {
        justify-content: center;
    }
}

/* Performance Optimizations */
.product-card {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.product-image img {
    will-change: transform;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Optimize animations for better performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Loading states */
.add-to-build-btn.success {
    background: #10b981;
    transform: translateY(-2px);
}

.add-to-build-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Image lazy loading */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[data-src].loaded {
    opacity: 1;
}

/* Focus management for accessibility */
.search-input:focus,
.filter-select:focus,
.pagination-btn:focus,
.add-to-build-btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .product-card {
        border: 2px solid #000;
    }
    
    .product-card:hover {
        border-color: #3b82f6;
    }
}

/* Print styles */
@media print {
    .component-filters,
    .view-controls,
    .pagination-container,
    .add-to-build-btn,
    .quick-view-btn {
        display: none !important;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .catalogue-hero,
    .component-hero {
        background: none !important;
        color: #000 !important;
    }
}
#home_preset .preset a {
    padding: 0rem;
    display: block;
    box-shadow: 0px 0px 0px 0px #5769d3;
    transition: box-shadow 0.45s cubic-bezier(0.165,0.84,0.44,1), background-color 0.45s cubic-bezier(0.165,0.84,0.44,1);
}
#home_preset .preset a:hover {
    
    box-shadow: 0px 0px 9px 15px #5769d3;
}
#deactivated {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: grey;
    z-index: 2;
}
.large_text {
    font-size: 3rem;
}
.list-unstyled {
    list-style: none;
    padding: 0;
}
p, ul {
    margin: 0;
}
.standard_margin ul li {
    padding: 0.25rem;
}
img.large_image {
    width: 350px;
}
.wrapper_image {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: min-content min-content auto;
    
}
.square_box {
    border-color:#000000;
    border-width: 0px;
    border-style: solid;
    box-shadow: 2px 4px 16px rgba(25,27,42,0.15);
    width: 350px;
    padding: 0.5rem;
}
.round_box {
    border-color:#000000;
    border-width: 0px;
    border-style: solid;
    border-radius: 0.5rem;
    box-shadow: 2px 4px 16px rgba(25,27,42,0.15);
    padding: 1rem;
}
.wrapper_item_detail {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}
.wrapper_item_detail h2 {
    margin: 0;
}
.wrapper_description {
    flex-grow: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

/* Sticky sidebar styles */
.sidebar-content {
    position: sticky;
    top: 100px; /* Account for header height */
    width: 100%;
    max-width: 400px;
    flex-shrink: 0;
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    z-index: 10;
}

/* Product image container */
.square_box {
    border-color: #000000;
    border-width: 0px;
    border-style: solid;
    border-radius: 0.5rem;
    box-shadow: 2px 4px 16px rgba(25,27,42,0.15);
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
}

/* Product image */
img.large_image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 0.5rem;
    display: block;
    margin: 0 auto;
}

/* Product price styling */
.productPrice {
    font-size: 1.5rem;
    color: #1f2937;
    padding: 1rem;
    font-weight: 500;
    margin-left: 0;
    line-height: 1.2;
    font-family: 'CooperHewitt Bold', sans-serif;
    text-align: center;
    padding: 1rem;
    width: 300px;
}

/* Load button container */
#search_display {
    padding: 0.5rem;
}

/* Load button styling */
a.blue_button {
    background-color: #375bbe;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    text-align: center;
    color: #ffffff;
    border: 2px solid #375bbe;
    border-radius: 0.5rem;
    margin: 0;
    width: 100%;
    cursor: pointer;
    display: block;
    font-weight: 600;
    transition: all 0.3s ease;
}

a.blue_button:hover {
    background-color: #1e3e94;
    border-color: #1e3e94;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 91, 190, 0.3);
}
.item_title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 50px;
    padding: 1rem;
}
.standard_margin {
    margin: 1rem;
}
.flex_equal_center {
    flex-grow: 1;
    text-align: center;
    align-items: center;
    padding: 0.5rem;
}
.flex_right {
    flex-grow: 1;
    text-align: right;
    align-items: right;
}
.flex_left {
    flex-grow: 1;
    text-align: left;
    align-items: left;
}
.raleway-medium {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
  }
.inconsolata-normal {
    font-family: "Inconsolata", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}
.inconsolata-normal-semi-expended {
    font-family: "Inconsolata", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth" 112.5;
}
.background-ivory {
    background-color:rgb(255, 250, 243);
}

.index{
    margin: 0;
    max-width: 100%;
    min-width: 100%;
    background-color: rgb(29,29,31);
    /* background-color: rgb(16, 16, 46); */
}

/* ========================================
   BUILDER SHOWCASE SECTION - Minimalist Design
   ======================================== */

.builder-showcase-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 4rem 10rem 4rem;
    margin-top: -4rem !important;
    overflow: visible;
    background-color: rgb(29,29,31) !important;
}

.builder-showcase-container {
    position: relative;
    width: 100%;
    max-width: 1900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.builder-screenshot-wrapper {
    position: relative;
    z-index: 1;
    width: 60%;
    max-width: 1200px;
    perspective: 1500px;
}

.builder-screenshot {
    width: 100%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    opacity: 0;
    transform: translateY(30px) rotateX(-8deg);
    transform-origin: bottom center;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05),
                0 20px 60px rgba(0, 0, 0, 0.15),
                0 10px 30px rgba(0, 0, 0, 0.08),
                0 4px 12px rgba(255, 255, 255, 0.03),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: none;
}

/* Feature Cards - Minimalist, Overlapping Screenshot */
.feature-card {
    align-items: left;
    text-align: left;
    position: absolute;
    width: 300px;
    height: auto;
    background: #404041;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(100vh);
    z-index: 2;
    transition: all 0.3s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 100, 103, 0.8);
}

.feature-card-left {
    left: 1%;
    top: 50%;
    transform: translate(0, -50%) translateY(100vh);
}

.feature-card-center {
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, 0) translateY(100vh);
}

.feature-card-right {
    right: 3%;
    top: 65%;
    transform: translate(0, -50%) translateY(100vh);
}

.feature-card-content {
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    color: rgba(96, 165, 250, 0.9);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-description {
    font-size: 0.9375rem;
    color: rgba(156, 163, 175, 0.9);
    line-height: 1.6;
}

.feature-card-content ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin-top: 0.75rem;
}

.feature-card-content ul li {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1600px) {
    .builder-showcase-container {
        max-width: 1500px;
    }
    
    .builder-screenshot-wrapper {
        width: 72%;
    }
    
    .feature-card-left {
        left: 5%;
    }
    
    .feature-card-right {
        right: 5%;
    }
}

@media (max-width: 1280px) {
    .builder-screenshot-wrapper {
        width: 70%;
    }
    
    .feature-card {
        width: 260px;
        height: 360px;
    }
    
    .feature-card-left {
        left: 3%;
    }
    
    .feature-card-right {
        right: 3%;
    }
}

@media (max-width: 1024px) {
    .builder-showcase-section {
        padding: 2rem 2rem;
        margin-top: -2rem;
        min-height: 100vh;
    }
    
    .builder-screenshot-wrapper {
        width: 75%;
    }
    
    .feature-card {
        width: 220px;
        height: 320px;
    }
    
    .feature-card-content {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 44px;
        height: 44px;
    }
    
    .feature-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .feature-title {
        font-size: 1.125rem;
    }
    
    .feature-description {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .builder-showcase-section {
        padding: 2rem 1rem;
        margin-top: -2rem;
        min-height: auto;
    }
    
    .builder-showcase-container {
        flex-direction: column;
    }
    
    .builder-screenshot-wrapper {
        width: 95%;
        margin-bottom: 3rem;
    }
    
    .feature-card {
        position: relative;
        width: 100%;
        max-width: 340px;
        height: auto;
        margin-bottom: 1.5rem;
    }
    
    .feature-card-left,
    .feature-card-center,
    .feature-card-right {
        position: relative;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        transform: none;
    }
}

/* ========================================
   PRESET BUILDS SECTION - Modern Minimalist
   ======================================== */

.preset-builds-section {
    position: relative;
    min-height: 100vh;
    padding: 8rem 4rem 6rem 4rem;
    background: rgb(29,29,31);
    overflow: hidden;
}

.preset-builds-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Section Header */
.preset-builds-header {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(20px);
}

.preset-header-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.preset-builds-title {
    font-family: "Inter", sans-serif;
    font-size: 2.5rem;
    font-weight: 200;
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.preset-builds-subtitle {
    font-size: 1.125rem;
    color: rgba(156, 163, 175, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

/* Cards Grid */
.preset-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
}

/* Preset Card */
.preset-card {
    position: relative;
    opacity: 0;
    transform: translateY(5px);
}

.preset-card-inner {
    position: relative;
    background: rgba(41, 41, 43, 0.6);
    border: 1px solid rgba(70, 70, 73, 0.5);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.preset-card-inner:hover {
    transform: translateY(-8px);
    border-color: #d6d6d670;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(96, 165, 250, 0.1);
}

/* Image Section */
.preset-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.preset-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.preset-card-inner:hover .preset-card-image {
    transform: scale(1.05);
}

.preset-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(29, 29, 31, 0.9) 100%
    );
    pointer-events: none;
}

/* Floating Badges */
.preset-price-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.625rem 1rem;
    background: rgba(29, 29, 31, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: baseline;
    gap: 0.125rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.price-currency {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.price-amount {
    font-size: 1.25rem;
    color: #d6d6d6;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.preset-level-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    padding: 0.5rem 1rem;
    background: rgba(29, 29, 31, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.preset-level-badge.beginner {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.1);
}

.preset-level-badge.intermediate {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.1);
}

.preset-level-badge.advanced {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.1);
}

/* Card Content */
.preset-card-content {
    padding: 2rem;
    position: relative;
}

.preset-card-header {
    margin-bottom: 1.5rem;
}

.preset-card-title {
    font-family: "Inter", sans-serif;
    font-size: 1.5rem;
    font-weight: 100;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.preset-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(156, 163, 175, 0.8);
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
}

.author-icon {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

/* Equipment List */
.preset-equipment-list {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.equipment-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.equipment-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateX(4px);
}

.equipment-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.equipment-icon.ota-icon {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

.equipment-icon.camera-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.equipment-icon.mount-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.equipment-icon svg {
    width: 18px;
    height: 18px;
}

.equipment-name {
    font-family: "Inter", sans-serif;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 100;
}

/* Tags */
.preset-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.preset-tag {
    padding: 0.375rem 0.875rem;
    background: rgba(217, 217, 217, 0.08);
    border: 1px solid rgba(217, 217, 217, 0.15);
    border-radius: 6px;
    color: rgba(217, 217, 217, 0.85);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

/* View Details Button */
.preset-view-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(217, 217, 217, 0.12);
    border: 1px solid rgba(217, 217, 217, 0.25);
    border-radius: 12px;
    color: rgba(217, 217, 217, 0.95);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: visible;
}

.preset-view-button::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 13px;
    padding: 2px;
    background: linear-gradient(
        135deg,
        rgba(217, 217, 217, 0.1),
        rgba(217, 217, 217, 0.4),
        rgba(217, 217, 217, 0.1)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.preset-view-button:hover::before {
    opacity: 1;
}

.preset-view-button:hover {
    background: rgba(217, 217, 217, 0.18);
    border-color: rgba(217, 217, 217, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(217, 217, 217, 0.25);
}

.button-text {
    display: inline-block;
    transition: letter-spacing 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.preset-view-button:hover .button-text {
    letter-spacing: 0.5px;
}

.button-arrow {
    width: 18px;
    height: 18px;
    transition: none;
}

/* Coming Soon Overlay */
.coming-soon-card {
    pointer-events: auto;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 29, 31, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 20px;
}

.coming-soon-content {
    text-align: center;
    padding: 2rem;
}

.coming-soon-text {
    font-size: 2rem;
    font-weight: 200;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(
        135deg,
        #60a5fa 0%,
        #a78bfa 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 10;
}

@keyframes comingSoonGlow {
    0%, 100% {
        opacity: 0.7;
        text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .preset-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .preset-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .preset-builds-section {
        padding: 5rem 2rem 4rem 2rem;
    }
    
    .preset-builds-header {
        margin-bottom: 3rem;
    }
    
    .preset-builds-title {
        font-size: 2.5rem;
    }
    
    .preset-builds-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .preset-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .preset-card:nth-child(3) {
        grid-column: 1;
        max-width: 100%;
    }
    
    .preset-builds-title {
        font-size: 2rem;
    }
    
    .preset-image-wrapper {
        height: 220px;
    }
    
    .preset-card-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .preset-builds-section {
        padding: 4rem 1rem 3rem 1rem;
    }
    
    .preset-builds-title {
        font-size: 1.75rem;
    }
    
    .preset-builds-subtitle {
        font-size: 0.9375rem;
    }
    
    .equipment-list {
        gap: 0.625rem;
    }
    
    .equipment-item {
        padding: 0.625rem 0.875rem;
    }
}

/* ========================================
   EQUIPMENT CATEGORIES SECTION SEPARATOR
   ======================================== */

.equipment-categories-section {
    position: relative;
    margin-top: 250px !important;
    padding-top: 6rem;
}

.equipment-categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(70, 70, 73, 0.5) 20%,
        rgba(96, 165, 250, 0.3) 50%,
        rgba(70, 70, 73, 0.5) 80%,
        transparent 100%
    );
}

.equipment-categories-section::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(96, 165, 250, 0.6) 50%,
        transparent 100%
    );
    filter: blur(1px);
}

/* Categories Header Styling */
.categories-header {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(20px);
}

.categories-header-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.categories-title {
    font-family: "Inter", sans-serif;
    font-size: 2.5rem;
    font-weight: 200;
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.categories-subtitle {
    font-size: 1.125rem;
    color: rgba(156, 163, 175, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 900px) {
    .equipment-categories-section {
        margin-top: 5rem;
        padding-top: 4rem;
    }
    
    .equipment-categories-section::before {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .equipment-categories-section {
        margin-top: 4rem;
        padding-top: 3rem;
    }
    
    .equipment-categories-section::before {
        width: 85%;
    }
    
    .equipment-categories-section::after {
        width: 150px;
    }
}

.builder{
    margin: 0;
    max-width: 100%;
    min-width: 100%;
    min-height: 100%;
    background: rgb(29,29,31);
}

.wrapper_main {
    padding: 1.5rem 3.5rem 1.5rem 3.5rem;
    font-family: "CooperHewitt Medium";
    color: black;
    font-size: 0.8rem;
    max-width: 1600px;
    margin: 0 auto;
}

.wrapper_top {
    height: 48px;
    padding: 0 0 1.5rem 0;
    background-color: #000000;
    background-clip:content-box;
    margin: 0;
}
.home_main_buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0 1.5rem 0;
}
h1 {
    margin: 0;
    font-family: "CooperHewitt Medium";
}
h1.home_title {
    text-align: center;
    font-size: calc(2.5vw);
}
h2.home_small_title {
    text-align: center;
    margin: 0;
    padding: 0 0 0 0;
    font-size: calc(2.5vw)
}
#rig_list {
    height: auto;
    padding: 5px 15px 20px 15px;
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    background-color: rgb(29,29,31);
    overflow: visible;
    opacity: 0;
}

#rig_list img {
    max-width: 100%;
    max-height: 100%;
}
#rig_list td {
    height: 60px;
    vertical-align: middle;
    transition: none;
    overflow: visible;
}

#rig_list tbody tr {
    opacity: 0;
}

#rig_list tr:hover td {
    background-color: transparent;
}

#rig_list th {
    text-align: center;
    font-family: "CooperHewitt Medium", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    padding: 1.25rem 1rem;
    color: #e8e8e8;
}
.partList tr td {
    padding: 0 1.5rem 0 0;
    font-size:0.85rem;
}
.partList thead tr th {
    padding: 0 1.5rem 0 0;
    font-size:0.7rem;
    font-weight:normal;
}
.remove_button, .link_button {
    flex-basis: min-content;
    display: inline-block;
}
.item_name {
    flex-basis: 100%;
    align-items: stretch;
    align-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 40px);
    display: inline-block;
}
#rig_list td.td_name {
    justify-content: flex-end;
    align-items: center;
    margin: 0.5rem;
    max-width: 350px;
}
td.td_name span, td.td_name a {
    padding: 0 0.5rem 0 0.5rem;
}
td.td_name a {
    text-decoration: none;
    color: #e8e8e8;
    font-family: "CooperHewitt Medium", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
td.td_name a:hover {
    text-decoration: none;
    color: #7d9eff;
}
td.td_price, .partList tbody tr td.td_price, .partList tbody tr td.td_add {
    text-align: center;
    padding: 0.75rem 1rem;
    min-width: 120px;
    max-width: 120px;
    font-family: "CooperHewitt Medium", sans-serif;
    color: #e8e8e8;
}
td.td_info {
    text-align: center;
    padding: 0.75rem 1rem;
    font-family: sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #d8d8d8;
}

/* Keep the label text (in <i> tags) with CooperHewitt font */
#rig_list td.td_info i {
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 0.85rem;
}
td.td_title {
    text-align: left;
    padding: 0.75rem 1rem;
    width: 1px;
    color: rgba(255, 255, 255, 0.527);
    font-family: "Inter", sans-serif;
    font-weight: 200;
    font-size: 1rem;
}
td.td_compatibility {
    text-align: center;
    padding: 0.75rem 1rem;
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #d8d8d8;
}

/* Buy button cell styling */
td.td_buy {
    text-align: center;
    padding: 0.75rem 1rem;
    vertical-align: middle;
}
table {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
}
th {
    padding: 1rem 0.5rem 1rem 0.5rem;
    font-size: 1.25rem;
    text-align: left;
    border-top: 0px solid;
    border-bottom: 1px solid rgb(153, 152, 152);
    font-weight: normal;
    font-family: "CooperHewitt Medium", sans-serif;
}
#rig_list th {
    border-top: 0;
    border-bottom: 0;
}
tr.tr_part {
    border-color: #000000;
    border-top-style: solid;
    border-top-width: 1px;
}
.page_title {
    font-size: 1.8em;
    text-align:center;
}
a.button {
    border-radius: 0.25rem;
    background-color: #2a5dd5;
    border-color: #2a5dd5;
    padding: 0.125rem 0.375rem;
    text-decoration: none;
    color: #ffffff;
}
a.buy_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    padding: 0.5rem 1.25rem;
    text-decoration: none;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 300;
    font-family: "Inter", sans-serif;
    border: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.2);
    white-space: nowrap;
    min-height: 34px;
    height: 34px;
}
button.remove_button {
    border: none;
    background: none;
}
button.remove_button:hover {
    color:red;
}
button.add_button {
    background-color:#25bb81;
    margin-left: 0.5rem;
}
a.red_button {
    background-color: #fc3e3e;
    padding: 0.4rem 0.7rem;
    text-decoration: none;
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    border-color: #fc3e3e;
    border-width: 2px;
    border-style: solid;
    border-radius: 0.5rem;
    margin: 1rem;
    width: 120px;
    cursor: pointer;
}
a.red_button:hover {
    background-color: #cc1717;
    border-color: #cc1717;
}
a.blue_button {
    background-color: #375bbe;
    padding: 0.4rem 0.7rem;
    text-decoration: none;
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    border-color: #375bbe;
    border-width: 2px;
    border-style: solid;
    border-radius: 0.5rem;
    margin: 1rem;
    width: 120px;
    cursor: pointer;
}
a.blue_button:hover {
    background-color: #1e3e94;
    border-color: #1e3e94;
}
a.green_button {
    background-color: #42c45e;
    padding: 0.4rem 0.7rem;
    text-decoration: none;
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    border-color: #42c45e;
    border-width: 2px;
    border-style: solid;
    border-radius: 0.5rem;
    margin: 1rem;
    width: 120px;
    cursor: pointer;
}
a.green_button:hover {
    background-color: #24a840;
    border-color: #24a840;
}
a.white_button {
    background-color: #ffffff;
    padding: 0.4rem 0.7rem;
    text-decoration: none;
    text-align: center;
    color: #000000;
    font-size: 1rem;
    font-weight: 500;
    border-color: #ffffff;
    border-width: 2px;
    border-style: solid;
    border-radius: 0.5rem;
    width: 120px;
    margin: auto;
}
a.white_button:hover {
    background-color: #d8dbd9;
    border-color: #d8dbd9;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.xs-col-8 {
    width: 91.6666666667%;
}
.xs-col-9 {
    width: 100%;
    max-width: 200%;
}
.rig_builder_action_box_group {
    display: grid;
    grid-template-columns: 2fr auto;
    grid-gap: 10px;
    padding: 0.5rem;
    align-items: center;
    background-color: #29292b;
    box-shadow: 2px 4px 12px rgba(25,27,42,0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    opacity: 0;
}
.rig_builder_action_box_group input.text_input {
    padding: 0.375rem 0.5rem;
    border-radius: 0.25rem;
    border: 0;
    font-size: 0.875rem;
}
input.build_name, span.build_name {  
    padding-left: 1rem;
    font-family: "Inter", sans-serif;
    font-size: 1.25rem;
    font-weight: 200;
    font-display: auto;
    background: none;
    width: 100%;
    color: rgba(255, 255, 255, 0.5);
}
input.build_name:focus, span.build_name:focus {
    outline: none;
    border: none;
    box-shadow: none;
    color: rgba(255, 255, 255, 1);
}

.action_box_name {
    display: flex;
    align-items: center;
}
.action_box_link {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
}
.action_box {
    padding: 0.5rem;
}
.action_box_compatibility_good, .share_link{
    border-radius: 0.25rem;
    background-color: #22c55e;
    border-color: #22c55e;
    padding: 0.375rem 0.5rem;
    text-decoration: none;
    color: #ffffff;
    height: auto;
}
.action_box_compatibility_bad {
    border-radius: 0.25rem;
    background-color: #d52a63;
    border-color: #d52a63;
    padding: 0.375rem 0.5rem;
    text-decoration: none;
    color: #ffffff;
}
.action_box_info {
    display: flex;
    padding-top: 0;
    padding-bottom: 0;
}
.action_box_name {
    background-color: #29292b;
}
.action_box_info div {
    display: inline-flex;
    min-height: auto;
    align-items: center;
    gap: 10px;
}
.action_box_compatibility span {
    font-size: 0.875rem;
    font-family: "Inter", sans-serif !important;
    color: rgba(255, 255, 255, 0.662);
}
.total_cost {
    font-size: 0.875rem;
    font-family: "Inter", sans-serif !important;
    color: rgba(255, 255, 255, 0.662);
}
.total_cost b {
    color: #ffffff;
    font-weight: 600;
}
svg.icon {
    height: 16px;
    width: 16px;
    top: 8px;
    position: relative;
    padding: 0.5rem;
}
svg.small_icon {
    height: 24px;
    width: 24px;
    top: 3px;
    position: relative;
    padding: 0.5rem;
}
img.small_icon {
    height: 24px;
    width: 24px;
    top: 3px;
    position: relative;
    padding: 0.5rem;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

a.buy_button:hover {
    box-shadow: 0 3px 10px rgba(34, 197, 94, 0.25);
    background: #16a34a;
}

a.buy_button:active {
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.2);
}

/* Deprecated - keeping for backwards compatibility but hidden */
img.buy_button_icon {
    display: none;
}


svg.small_icon {
    cursor: pointer;
    transition: all 0.3s ease;
}

svg.small_icon:hover {
    fill: #7d9eff;
    transform: scale(1.1);
}

img.small_icon:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

svg.remove_icon {
    transition: all 0.2s ease;
}

svg.remove_icon:hover {
    fill: #d52a63;
    transform: scale(1.1);
}
svg.big_icon {
    height: 32px;
    width: 32px;
    /*top: 4px;*/
    position: relative;
    padding: 0.5rem;
}
svg.big_icon:hover {
    fill:#2a5dd5;
}
.component_action_box_group {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    padding: 0.5rem;
    align-items: center;
}
.component_action_box_group input {
    padding: 0.375rem 0.5rem;
    border-radius: 0.25rem;
    border: 1;
    font-size: 0.875rem;
    position: relative;
    align-items:center;
}
.component_title {
    font-size: 1.5rem;
    text-align: center;
    font-weight: bold;
}
.td_img img {
    height: 48px;
}
.td_image img {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    transition: none;
}

.td_image img:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
#home_andromeda {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 30.5vw;
    z-index: -1;
}
#home_sample {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 35vw;
    z-index: -1;
}
#home_galaxy {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 20vw;
}
.home_head {
    position: relative;
    margin-top: 6.5vw;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
}
.home_head-main {
    position: relative;
    margin-top: 2.5vw;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
}
#home_head-1 {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    height: 27vw;
    justify-content: center;
    align-items: center;
    padding-top: 4.5vw;
    padding-bottom: 2vw;
}
#home_head-2 {
    padding-top: 5vw;
    padding-bottom: 8vw;
}
#home_preset {
    display: grid;
    grid-template-columns: 20vw 5vw 20vw 5vw 20vw;
    grid-template-rows: auto 1fr auto;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-bottom: 1rem;
    justify-content: center;
    position: relative;
}
#home_preset .preset img {
    display: block;
    width: 100%;
}
.preset {
    position: relative;
    border-style: solid;
    border-width: 0px;
    border-color:#000000;
    height: 20vw;
    width: 20vw;
    grid-row-start: 2;
    grid-row-end: 3;
}
.preset_space {
    grid-row-start: 2;
    grid-row-end: 3;
}
.preset_title {
    position: absolute;
    top: 0;
    left: 25%;
    font-size: calc(2vw);
    color: white;
    text-align: right;
}
.preset_foot {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    font-size: calc(1vw);
    text-align: left;
    color: white;
}
#home_section-2 {
    background-color: #000000;
    color: white;
}
#home_section-3 {
    background-color: #000000;
    color: white;
}
#home_section-3 svg {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 10vw;
    z-index: 0;
}
#home_head-3 {
    padding: 10rem 3rem 6rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 25vw auto;
    align-items: center;
    justify-content: center;
}
#home_head-3 h1 {
    text-align: center;
    font-size: calc(2.5vw);
}
#home_head-3 img {
    height: 11vw;
    background: transparent;
}
#home_equipment {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr auto;
    align-items: center;
    justify-content: center;
}
#home_equipment img, #home_equipment a {
    padding: 1rem;
    margin: auto;
    text-decoration: underline;
}
.full_screen {
    margin: 0 0 0 0;
}
.wrapper_home_main {
    font-family: "CooperHewitt Medium";
}
@media only screen and (max-width: 1100px) {
    .wrapper_main {
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
        
        font-size: calc(3.5vw);
    }
    .wrapper_home_main {
        padding: 0 0 0 0;
        
        font-size: calc(4vw);
    }
    .rig_builder_action_box_group {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: 1fr 1fr;
        grid-gap: 10px;
        align-items: center;
    }
    .action_box_name {
        grid-column: 1;
        /*justify-self: center;*/
    }
    .action_box_info {
        display: flex;
        justify-self: center;
        gap: 2rem;
    }
    .total_cost {
        display: block;
        text-align: center;
    }
    #rig_list table thead {
        display: none;
    }
    #rig_list table tbody tr {
        display: grid;
        grid-template-columns: 150px 1fr 1fr 1fr 1fr;
        grid-gap: 10px;
        border-bottom: 0;
        padding: 1rem 0.5rem 1rem 0.5rem;
    }
    #rig_list table tbody tr td {
        height: auto;
        vertical-align: middle;
    }
    #rig_list table tbody tr td.td_title {
        grid-column: 1 / 1;
        font-size: 2rem;
        font-weight: bold;
    }
    #rig_list table tbody tr td.td_name {
        grid-column: 2 / 6;
        align-self: center;
        vertical-align: middle;
        padding: 0;
    }
    #rig_list table tbody tr td.td_image {
        grid-row: 2;
        grid-column: 1;
        height: 96px;
        justify-self: center;
        align-self: center;
    }
    #rig_list table tbody tr td.td_price {
        grid-row: 2;
        grid-column: 5;
        text-align: left;
        padding:0.5rem 1rem 0.5rem 1rem;
    }
    #rig_list table tbody tr td.td_info {
        text-align: left;
    }
    #rig_list table tbody tr td.td_compatibility {
        display: none;
    }
    #rig_list table tbody tr td.add_item {
        grid-column: 2 / 6;
        align-self: center;
        overflow: visible;
    }
    #rig_list table tbody tr td.add_item a {
        vertical-align: middle;
    }
    input.build_name, span.build_name {
        font-family: "Inter", sans-serif;
        font-size: calc(2vw);
        font-display: auto;
        background: none;
        width: 100%;
    }
    td.td_price, .partList tbody tr td.td_price, td.td_info {
        /* display: inline-flex; */
        align-items: center;
    }
    a.buy_button {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
}
@media only screen and (max-width: 768px) {
    .wrapper_main {
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
       
        font-size: 1.5rem;
    }
    .rig_builder_action_box_group {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: 1fr 1fr;
        grid-gap: 10px;
        padding: 0.5rem;
        align-items: center;
    }
    .action_box_name {
        grid-column: 1 / span 3;
    }
    #rig_list table thead {
        display: none;
    }
    #rig_list table tbody tr {
        display: grid;
        grid-template-columns: 150px 64px auto auto auto;
        grid-gap: 10px;
        border-top: 0;
        padding: 0.5rem;
    }
    #rig_list table tbody tr td {
        height: auto;
        vertical-align: middle;
    }
    #rig_list table tbody tr td.td_title {
        grid-column: 1 / 1;
        font-size: 2rem;
        font-weight: bold;
    }
    #rig_list table tbody tr td.td_name {
        grid-column: 3 / 7;
        align-self: center;
        vertical-align: middle;
    }
    #rig_list table tbody tr td.td_image {
        height: 48px;
        justify-self: center;
        align-self: center;
    }
    #rig_list table tbody tr td.td_price {
        grid-column: 1 / 3;
        text-align: left;
        padding:0.5rem 1rem 0.5rem 1rem;
    }
    #rig_list table tbody tr td.td_info {
        text-align: left;
    }
    #rig_list table tbody tr td.add_item {
        grid-column: 2 / 7;
        align-self: center;
        overflow: visible;
    }
    #rig_list table tbody tr td.add_item a {
        vertical-align: middle;
    }
}

#catalogButton:hover, #builderButton:hover {
    cursor: pointer;
    transform: scale(1.03);
    transition: transform 0.3s ease-in-out;
}

#catalogButton, #builderButton {
    transition: transform 0.3s ease-in-out;
}

/* Modern Navigation Styles */
.modern-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .modern-nav {
        display: flex;
    }
}

.nav-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgb(30 41 59);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    height: 2.25rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.2);
}

.nav-button:hover {
    background: rgb(51 65 85);
}

.nav-button-secondary {
    color: rgb(203 213 225);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    height: 2.25rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-button-secondary:hover {
    color: white;
    background-color: rgb(30 41 59 / 0.5);
    box-shadow: 0 4px 6px -1px rgb(59 130 246 / 0.1);
}

.nav-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

.user-actions {
    display: flex;
    align-items: center;
    position: absolute;
    gap: 2.0rem;
    margin-left: 1000px;
    margin-top: 5px;
}

.user-button {
    color: rgb(203 213 225);
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    height: 2rem;
    padding: 0 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .user-button {
        display: inline-flex;
    }
}

.user-button:hover {
    color: white;
}

.notification-badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    background: linear-gradient(to right, rgb(239 68 68), rgb(236 72 153));
    color: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.user-button-group {
    color: rgb(203 213 225);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    height: 2rem;
    padding: 0 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .user-button-group {
        display: inline-flex;
    }
}

.user-button-group:hover {
    color: white;
}

.user-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    transition: transform 0.2s ease;
}

.user-button-group:hover .user-icon {
    transform: scale(1.1);
}

.builds-badge {
    margin-left: 0.5rem;
    background: linear-gradient(to right, rgb(37 99 235), rgb(147 51 234));
    color: white;
    display: inline-flex;
    align-items: center;
    border-radius: 0.375rem;
    border: 1px solid;
    padding: 0.125rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
    
}

.user-button-group:hover .builds-badge {
    background: linear-gradient(to right, rgb(59 130 246), rgb(168 85 247));
}

.profile-avatar {
    width: 2rem;
    height: 2rem;
    border: 2px solid rgb(51 65 85);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
}

.profile-avatar:hover {
    border-color: rgb(59 130 246);
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgb(59 130 246 / 0.25);
}

.profile-avatar-inner {
    background-color: rgb(30 41 59);
    color: rgb(203 213 225);
    transition: background-color 0.2s ease;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.profile-avatar:hover .profile-avatar-inner {
    background-color: rgb(51 65 85);
}

.profile-icon {
    width: 1rem;
    height: 1rem;
}

.mobile-menu-button {
    display: none;
    color: rgb(203 213 225);
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    height: 2rem;
    padding: 0 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .mobile-menu-button {
        display: inline-flex;
    }
}

.mobile-menu-button:hover {
    background-color: rgb(30 41 59 / 0.5);
}

.mobile-menu-icon {
    width: 1.25rem;
    height: 1.25rem;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

#invisible {
    display: none;
}

h2 {
    color: white;
}

h3 {
    color: white;
}

.whiteText {
    color: white;
}

#logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 5px;
}

#builderFooter {
    background-color: rgb(6, 8, 48);
}

#Essential {
    padding-left: 40px !important; 
    color: rgba(255, 255, 255, 0.664);
    font-family: "CooperHewitt", sans-serif;
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 1.1rem;
    text-transform: none !important;
    text-align: left !important;
}

#addButton {
    max-width: 100%;
    width: 125px;
    height: auto;
    transition: all 0.3s ease;
    border-radius: 8px;
}

#addButton:hover {
    cursor: pointer;
    transform: scale(1.02);
}

#Builder_table_head {
    margin-bottom: 100px;
}

#Testing {
    margin-top: 100px;
}

hr {
    height: 1px;
}

#TooClose {
    padding-top: 100px;
}

#Heading {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

#container {
    margin-top: 1rem;
    padding-top: 1rem;
    max-width: 100%;
    max-height: 100%;
    background: rgb(29,29,31);
    opacity: 0;
}

/* Rig Summary Styles */
.rig-summary-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Price Display Section */
.summary-price-section {
    background: #d6d6d6;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.price-label {
    color: #374151;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "CooperHewitt Medium", sans-serif;
}

.price-value {
    color: #1f2937;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: "CooperHewitt Bold", sans-serif;
}

.price-subtitle {
    margin-top: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: "CooperHewitt Medium", sans-serif;
}

/* Price Breakdown */
.price-breakdown {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

.breakdown-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.breakdown-label {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
    font-family: "CooperHewitt Medium", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.breakdown-value {
    font-size: 1.25rem;
    color: #1f2937;
    font-weight: 700;
    font-family: "CooperHewitt Bold", sans-serif;
}

/* Attributes Section */
.summary-attributes {
    background: #d6d6d6;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.attribute-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.attribute-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.attribute-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "CooperHewitt Medium", sans-serif;
}

.attribute-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 0.95rem;
    color: #374151;
    font-family: "CooperHewitt Medium", sans-serif;
    transition: all 0.2s ease;
    cursor: pointer;
}

.attribute-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.attribute-select:hover {
    border-color: #9ca3af;
}

/* Action Buttons */
.summary-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.preset-button, .export-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: "CooperHewitt Medium", sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    min-width: 180px;
    justify-content: center;
}

.preset-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.preset-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.export-button {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.export-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.button-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Specifications Section */
.specifications-section {
    background: rgb(29,29,31);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #3a3a3c;
}

/* Specs content wrapper - contains table and coming soon */
.specs-content-wrapper {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Specs table side */
.specs-table-side {
    flex: 0 0 60%;
}

.specs-title {
    color: #e8e8e8;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: "CooperHewitt Bold", sans-serif;
    margin-bottom: 1.5rem;
    text-align: center;
}

.specs-table-container {
    overflow-x: auto;
    border-radius: 8px;
    width: 100%;
    background-color: rgb(29,29,31);
}

/* Coming Soon Section */
.coming-soon-section {
    flex: 0 0 calc(40% - 1.5rem);
    background: linear-gradient(135deg, #1a1a1c 0%, #0a0a0b 100%);
    border-radius: 8px;
    border: 1px solid #3a3a3c;
    position: relative;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><defs><pattern id="grid" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M 30 0 L 0 0 0 30" fill="none" stroke="%233a3a3c" stroke-width="0.5" opacity="0.4"/></pattern></defs><rect width="400" height="400" fill="url(%23grid)"/></svg>');
    opacity: 1;
    filter: blur(8px);
    animation: mysteriousGlow 8s ease-in-out infinite;
}

.coming-soon-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(59, 130, 246, 0.03) 25%,
        transparent 50%,
        rgba(139, 92, 246, 0.03) 75%,
        transparent 100%
    );
    background-size: 200% 200%;
    animation: shimmer 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes mysteriousGlow {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.coming-soon-badge {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.coming-soon-title {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #e8e8e8;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(59, 130, 246, 0.15);
}

.coming-soon-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: #1c1c1e;
}

.specs-table thead {
    background: linear-gradient(135deg, #2a2a2c 0%, #1f1f21 100%);
}

.specs-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #a0a0a0;
    border-bottom: 2px solid #3a3a3c;
    font-size: 0.9rem;
    font-family: "CooperHewitt Medium", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specs-table td {
    padding: 1rem;
    border-bottom: 1px solid #2a2a2c;
    vertical-align: top;
    color: #d0d0d0;
}

.spec-row:hover {
    background-color: #252527;
}

.spec-component {
    font-weight: 600;
    color: #e8e8e8;
    font-family: "CooperHewitt Medium", sans-serif;
    min-width: 120px;
}

.spec-name {
    color: #a0a0a0;
    font-style: italic;
    font-family: "CooperHewitt Medium", sans-serif;
    min-width: 150px;
}

.spec-value {
    font-weight: 600;
    color: #10b981 !important;
    font-family: "Inconsolata", monospace;
    min-width: 100px;
}

.spec-notes {
    color: #808080;
    font-size: 0.85rem;
    font-style: italic;
    font-family: "CooperHewitt Medium", sans-serif;
    min-width: 200px;
}

.spec-value.loading {
    color: #9ca3af;
    font-style: italic;
}

.spec-value.loading::after {
    content: "...";
    animation: loading-dots 1.5s infinite;
}

@keyframes loading-dots {
    0%, 20% { content: "..."; }
    40% { content: "...."; }
    60% { content: "....."; }
    80%, 100% { content: "......"; }
}

/* Build Notes */
.build-notes {
    background: rgb(29,29,31);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #3a3a3c;
}

.notes-title {
    color: #e8e8e8;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: "CooperHewitt Bold", sans-serif;
    margin-bottom: 1rem;
}

.notes-textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 2px solid #3a3a3c;
    border-radius: 8px;
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 0.95rem;
    color: #e8e8e8;
    resize: vertical;
    transition: all 0.2s ease;
    background: rgb(29,29,31);
}

.notes-textarea:focus {
    outline: none;
    border-color: #3a3a3c;
    box-shadow: 0 0 0 3px rgba(58, 58, 60, 0.1);
}

.notes-textarea::placeholder {
    color: #a0a0a0;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rig-summary-content {
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .summary-price-section {
        padding: 1.5rem;
    }
    
    .price-value {
        font-size: 2.5rem;
    }
    
    .attribute-group {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .summary-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .preset-button, .export-button {
        width: 100%;
        max-width: 300px;
    }
    
    .specs-table-container {
        font-size: 0.85rem;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Stack specs layout on tablet */
    .specs-content-wrapper {
        flex-direction: column;
    }
    
    .specs-table-side {
        flex: 1 1 100%;
    }
    
    .coming-soon-section {
        flex: 1 1 100%;
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .price-value {
        font-size: 2rem;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }
    
    .spec-component,
    .spec-name,
    .spec-value,
    .spec-notes {
        min-width: auto;
    }
    
    .breakdown-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .breakdown-item {
        padding: 0.75rem;
    }
    
    .breakdown-value {
        font-size: 1.1rem;
    }
}

/* Data-Driven Product Page Styles */
.product-page {
    background: rgb(29,29,31);
    min-height: 100vh;
}

.product-header {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    padding: 2rem 0;
}

.product-title-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.product-title {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.product-subtitle {
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.product-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Product Overview Table */
.product-overview {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.overview-header {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.overview-title {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.overview-table {
    width: 100%;
    border-collapse: collapse;
}

.overview-table th,
.overview-table td {
    padding: 0.75rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.overview-table th {
    background: #f8f9fa;
    font-family: "CooperHewitt Medium", sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overview-table td {
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 0.875rem;
    color: #1a1a1a;
}

.overview-table tr:nth-child(even) {
    background: #fafafa;
}

.overview-table tr:hover {
    background: #f5f5f5;
}

/* Specifications Table - Product Pages Only */
.product-page .specs-section {
    background: rgb(42,42,44);
    border: 1px solid rgb(58,58,60);
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
    width: 100%;
}

.product-page .specs-header {
    background: rgb(38,38,40);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgb(58,58,60);
}

.product-page .specs-title {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #e5e5e7;
    margin: 0;
}

.product-page .specs-table {
    width: 100%;
    border-collapse: collapse;
}

.product-page .specs-table th,
.product-page .specs-table td {
    padding: 0.75rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgb(58,58,60);
}

.product-page .specs-table th {
    background: rgb(38,38,40);
    font-family: "CooperHewitt Medium", sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #98989d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 30%;
}

.product-page .specs-table td {
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 0.875rem;
    color: #e5e5e7;
}

.product-page .specs-table tbody tr {
    background: rgb(42,42,44);
}

.product-page .specs-table tr:nth-child(even) {
    background: rgb(38,38,40);
}

.product-page .specs-table tr:hover {
    background: rgb(48,48,50) !important;
}

/* Vendor Comparison Table - Product Pages Only */
.product-page .vendor-section {
    background: rgb(42,42,44);
    border: 1px solid rgb(58,58,60);
    border-radius: 4px;
    overflow: hidden;
    grid-column: 1 / -1;
    margin-top: 1rem;
}

.product-page .vendor-header {
    background: rgb(38,38,40);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgb(58,58,60);
}

.product-page .vendor-title {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #e5e5e7;
    margin: 0;
}

.product-page .vendor-table {
    width: 100%;
    border-collapse: collapse;
}

.product-page .vendor-table th,
.product-page .vendor-table td {
    padding: 0.75rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgb(58,58,60);
}

.product-page .vendor-table th {
    background: rgb(38,38,40);
    font-family: "CooperHewitt Medium", sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #98989d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-page .vendor-table td {
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 0.875rem;
    color: #e5e5e7;
}

.product-page .vendor-table tbody tr {
    background: rgb(42,42,44);
}

.product-page .vendor-table tr:nth-child(even) {
    background: rgb(38,38,40);
}

.product-page .vendor-table thead tr:hover {
    background: rgb(38,38,40) !important;
}

.product-page .vendor-table tbody tr:hover {
    background: rgb(48,48,50) !important;
}

.vendor-price {
    font-family: "CooperHewitt Bold", sans-serif;
    font-weight: 700;
    color: #10b981;
}

.vendor-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
}

.vendor-link:hover {
    text-decoration: underline;
    color: #93c5fd;
}

/* Action Buttons */
.action-section {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.builder .action-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.builder .action-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: "CooperHewitt Medium", sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.builder .action-button.add-button {
    background: #059669;
    color: white;
    border-color: #059669;
}

.builder .action-button.add-button:hover {
    background: #047857;
    border-color: #047857;
}

.builder .action-button.remove-button {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

.builder .action-button.remove-button:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

/* Compatibility Table - Product Pages Only */
.product-page .compatibility-section {
    background: rgb(42,42,44);
    border: 1px solid rgb(58,58,60);
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.product-page .compatibility-header {
    background: rgb(38,38,40);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgb(58,58,60);
}

.product-page .compatibility-title {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #e5e5e7;
    margin: 0;
}

.product-page .compatibility-table {
    width: 100%;
    border-collapse: collapse;
}

.product-page .compatibility-table th,
.product-page .compatibility-table td {
    padding: 0.75rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgb(58,58,60);
}

.product-page .compatibility-table th {
    background: rgb(38,38,40);
    font-family: "CooperHewitt Medium", sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #98989d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-page .compatibility-table td {
    font-family: "CooperHewitt Medium", sans-serif;
    font-size: 0.875rem;
    color: #e5e5e7;
}

.product-page .compatibility-table tbody tr {
    background: rgb(42,42,44);
}

.product-page .compatibility-table tr:nth-child(even) {
    background: rgb(38,38,40);
}

.product-page .compatibility-table thead tr:hover {
    background: rgb(38,38,40) !important;
}

.product-page .compatibility-table tbody tr:hover {
    background: rgb(48,48,50) !important;
}

.compatibility-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compatibility-status.compatible {
    background: #d1fae5;
    color: #065f46;
}

.compatibility-status.warning {
    background: #fef3c7;
    color: #92400e;
}

.compatibility-status.incompatible {
    background: #fee2e2;
    color: #991b1b;
}

/* Info Tooltips */
.info-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    color: #666;
    margin-left: 0.25rem;
}

.info-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 0.5rem;
}

.info-tooltip:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #1a1a1a;
    z-index: 1000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-content {
        padding: 1rem;
    }
    
    .overview-table th,
    .overview-table td,
    .builder .specs-table th,
    .builder .specs-table td,
    .product-page .specs-table th,
    .product-page .specs-table td,
    .product-page .vendor-table th,
    .product-page .vendor-table td,
    .product-page .compatibility-table th,
    .product-page .compatibility-table td {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .builder .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .builder .action-button {
        justify-content: center;
    }
}

.credit {
    color: white;
    margin-left: 1000px;
}

/* New Product Hero Layout - Only for product pages */
.product-page .product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    background: rgb(42,42,44);
    padding: 2rem;
}

.product-page .product-image-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(38,38,40);
    border-radius: 8px;
    padding: 1rem;
    min-height: 400px;
}

.product-page .product-main-image {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
}

.product-page .product-details-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-page .product-info {
    margin-bottom: 2rem;
}

.product-page .product-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e5e5e7;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    font-family: 'CooperHewitt Bold', sans-serif;
}

.product-page .product-category {
    font-size: 1rem;
    color: #98989d;
    margin: 0 0 1rem 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-page .product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: green;
    margin: 0 0 1.5rem 0;
    font-family: 'CooperHewitt Bold', sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-page .product-description {
    font-size: 1rem;
    color: #d1d5db;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.product-page .product-actions {
    margin-top: auto;
}

.product-page .product-actions .action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-page .product-actions .action-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    min-width: 180px;
    justify-content: center;
    margin-bottom: 1rem;
}

.product-page .product-actions .add-button {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

.product-page .product-actions .add-button:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
}

.product-page .product-actions .remove-button {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(220, 38, 38, 0.3);
}

.product-page .product-actions .remove-button:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(220, 38, 38, 0.4);
}

/* Responsive Design for Product Hero */
@media (max-width: 1024px) {
    .product-page .product-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-page .vendor-section {
        grid-column: 1;
    }
    
    .product-page .product-image-section {
        min-height: 300px;
    }
    
    .product-page .product-name {
        font-size: 2rem;
    }
    
    .product-page .product-price {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .product-page .product-hero {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .product-page .product-name {
        font-size: 1.75rem;
    }
    
    .product-page .product-price {
        font-size: 2rem;
    }
    
    .product-page .product-description {
        font-size: 1rem;
    }
    
    .product-page .product-actions .action-buttons {
        flex-direction: column;
    }
    
    .product-page .product-actions .action-button {
        width: 100%;
        min-width: auto;
    }
}

.vendor-logo {
    display: inline-block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-right: 10px;
}

.presetRig {
    background-color: #f8f8f5;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
}




#description,#prosCons{
    width: 100%;
    margin: 0;
}

/* Responsive design for different screen sizes */
@media (max-width: 768px) {
    .wrapper_item_detail {
        flex-direction: column;
        gap: 1rem;
    }
    
    .sidebar-content {
        position: static;
        max-width: 100%;
        order: 2; /* Move sidebar below content on mobile */
    }
    
    .wrapper_description {
        order: 1; /* Move description above sidebar on mobile */
    }
    
    .square_box {
        margin-bottom: 0.5rem;
    }
    
    img.large_image {
        max-width: 280px;
    }
    
    .productPrice {
        font-size: 1.2rem;
        padding: 0.8rem;
    }
    
    a.blue_button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .wrapper_item_detail {
        gap: 1.5rem;
    }
    
    .sidebar-content {
        max-width: 350px;
    }
    
    img.large_image {
        max-width: 320px;
    }
}

@media (min-width: 1025px) {
    .wrapper_item_detail {
        gap: 2rem;
    }
    
    .sidebar-content {
        max-width: 400px;
    }
    
    img.large_image {
        max-width: 350px;
    }
}

@media (min-width: 1600px) {
    .wrapper_main {
        padding: 2rem 4rem;
    }
    
    .wrapper_item_detail {
        gap: 3rem;
    }
    
    .sidebar-content {
        max-width: 450px;
    }
    
    img.large_image {
        max-width: 400px;
    }
}

@media (min-width: 768px)  {
    #description, #prosCons{
        width: 100%;
    }
}

@media (min-width: 1200px)  {
    #description, #prosCons{
        max-width: 100%;
    }
}

#everything{
    margin-left: 0;
    padding: 0 1rem;
}

@media (min-width: 1200px) {
    #everything {
        padding: 0 2rem;
    }
}

.hover{
    cursor: help;
    position: relative;
    text-decoration: underline;
    text-decoration-style: dotted;
}

.popup{
    visibility: hidden;
    position: absolute;
    z-index: 100000000;
    width: 250px;
    background-color: #1a1a1a;
    color: white;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px;
    font-size: 11px;
    font-weight: normal;
    text-align: left;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    opacity: 0;
    transition: all 0.3s ease;
}

.hover:hover .popup{
    visibility: visible;
    opacity: 1;
}

/* Arrow pointing down from popup */
.popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1a1a1a;
}

/* ========================================
   IMAGE CAROUSEL STYLES
   ======================================== */

/* Carousel container */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Carousel images */
.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 1s;
    transform: scale(1.05);
    pointer-events: none;
    z-index: 1;
}

.carousel-image.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
    animation: carouselFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fade in animation */
@keyframes carouselFadeIn {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Navigation arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInArrow 0.5s ease-out 0.5s forwards;
}

@keyframes fadeInArrow {
    to {
        opacity: 1;
    }
}

.carousel-arrow:hover {
    background: rgba(59, 130, 246, 0.9);
    border-color: rgba(59, 130, 246, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
    stroke-width: 3;
}

.carousel-arrow-left {
    visibility: hidden;
    left: 20px;
    opacity: 0;
}

.carousel-arrow-right {
    visibility: hidden;
    opacity: 0;
    right: 20px;
}

/* Carousel indicators (dots) */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    gap: 12px;
    opacity: 0;
    animation: fadeInIndicators 0.5s ease-out 0.7s forwards;
}

@keyframes fadeInIndicators {
    to {
        opacity: 1;
    }
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.carousel-indicator.active {
    background: rgba(59, 130, 246, 1);
    border-color: rgba(59, 130, 246, 1);
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
}

/* Smooth pulsing effect on active indicator */
.carousel-indicator.active {
    animation: indicatorPulse 2s ease-in-out infinite;
}

@keyframes indicatorPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
    }
    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 1);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .carousel-arrow-left {
        left: 10px;
    }
    
    .carousel-arrow-right {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 20px;
        gap: 8px;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicator.active {
        width: 24px;
    }
}

.nav-bar {
    width: 100%;
    height: 0;
    z-index: 1;
    float: left;
    position: absolute;
    align-items: left;
    background-color: black;
    overflow: hidden;
    display: none;
    flex-direction: row;
    will-change: transform, opacity;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-top: 60px;
    padding: 0 1rem;

    /* visibility: hidden; */
    height: 0;
    transition: height 0.3s ease-in-out;
}

.nav-button-secondary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-button-secondary-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 7%;
    margin-right: 7%;
}

.nav-icon {
    height: 80%;
    width: auto;
    margin: auto;
}

.nav-button-secondary {
    width: 20%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
 
.category-button-secondary {
    width: 20%;
    height: 70%;
    display: inline-block;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 1rem;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    padding: 0.5rem 0.5rem;
    text-decoration: none;
    border: 1px solid rgba(128, 128, 128, 0.407);
    border-radius: 0.375rem;
    background-color: rgb(29,29,31);
    margin: 10px;
    will-change: transform, opacity;
    transition: none;
}

.category-button-secondary:hover {
    color: white;
}

.nav-bar.active {
    height: 220px;
    display: flex;
}

.main-content.active {
    filter: blur(3px);
}

.product-content.active {
    filter: blur(3px);
}

#header{
    background-color: rgb(29,29,31);
}

:root {
    --scale: 1;
    color-scheme: light;
  
    &:has(input:checked) {
      color-scheme: dark;
    }
  }
  
  
  .container:has(.switch) {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .switch {
    position: relative;
    display: inline-block;
    width: calc(var(--scale) * 60px);
    height: calc(var(--scale) * 34px);
  }
  
  .switch #input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    width: 100%;
    height: 100%;
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #2196f3;
    transition: 0.4s;
    z-index: 0;
    overflow: hidden;
  }
  
  .slider svg {
    width: 100%;
    height: 100%;
  }
  
  .sun-moon {
    position: absolute;
    content: "";
    height: calc(var(--scale) * 26px);
    width: calc(var(--scale) * 26px);
    left: calc(var(--scale) * 4px);
    bottom: calc(var(--scale) * 4px);
    background-color: yellow;
    transition: 0.4s;
  }
  
  #input:checked + .slider {
    background-color: black;
  }
  
  #input:focus + .slider {
    box-shadow: 0 0 calc(var(--scale) * 1px) #2196f3;
  }
  
  #input:checked + .slider .sun-moon {
    transform: translateX(calc(var(--scale) * 26px));
    background-color: white;
    animation: rotate-center 0.6s ease-in-out both;
  }
  
  .moon-dot {
    opacity: 0;
    transition: 0.4s;
    fill: gray;
  }
  #input:checked + .slider .sun-moon .moon-dot {
    opacity: 1;
  }
  
  .slider.round {
    border-radius: calc(var(--scale) * 34px);
  }
  .slider.round .sun-moon {
    border-radius: 50%;
  }
  
  #moon-dot-1 {
    left: calc(var(--scale) * 10px);
    top: calc(var(--scale) * 3px);
    position: absolute;
    width: calc(var(--scale) * 6px);
    height: calc(var(--scale) * 6px);
    z-index: 4;
  }
  
  #moon-dot-2 {
    left: calc(var(--scale) * 2px);
    top: calc(var(--scale) * 10px);
    position: absolute;
    width: calc(var(--scale) * 10px);
    height: calc(var(--scale) * 10px);
    z-index: 4;
  }
  
  #moon-dot-3 {
    left: calc(var(--scale) * 16px);
    top: calc(var(--scale) * 18px);
    position: absolute;
    width: calc(var(--scale) * 3px);
    height: calc(var(--scale) * 3px);
    z-index: 4;
  }
  
  #light-ray-1,
  #light-ray-3,
  #light-ray-2 {
    position: absolute;
    z-index: -1;
    fill: white;
    opacity: 10%;
  }
  #light-ray-1 {
    left: calc(var(--scale) * -8px);
    top: calc(var(--scale) * -8px);
    width: calc(var(--scale) * 43px);
    height: calc(var(--scale) * 43px);
  }
  #light-ray-2 {
    left: -50%;
    top: -50%;
    width: calc(var(--scale) * 55px);
    height: calc(var(--scale) * 55px);
  }
  #light-ray-3 {
    left: calc(var(--scale) * -18px);
    top: calc(var(--scale) * -18px);
    width: calc(var(--scale) * 60px);
    height: calc(var(--scale) * 60px);
  }
  
  .cloud-light,
  .cloud-dark {
    position: absolute;
    animation-name: cloud-move;
    animation-duration: 6s;
    animation-iteration-count: infinite;
  }
  .cloud-light {
    fill: #eee;
  }
  .cloud-dark {
    fill: #ccc;
    animation-delay: 1s;
  }
  
  #cloud-1 {
    left: calc(var(--scale) * 30px);
    top: calc(var(--scale) * 15px);
    width: calc(var(--scale) * 40px);
  }
  #cloud-2 {
    left: calc(var(--scale) * 44px);
    top: calc(var(--scale) * 10px);
    width: calc(var(--scale) * 20px);
  }
  #cloud-3 {
    left: calc(var(--scale) * 18px);
    top: calc(var(--scale) * 24px);
    width: calc(var(--scale) * 30px);
  }
  #cloud-4 {
    left: calc(var(--scale) * 36px);
    top: calc(var(--scale) * 18px);
    width: calc(var(--scale) * 40px);
  }
  #cloud-5 {
    left: calc(var(--scale) * 48px);
    top: calc(var(--scale) * 14px);
    width: calc(var(--scale) * 20px);
  }
  #cloud-6 {
    left: calc(var(--scale) * 22px);
    top: calc(var(--scale) * 26px);
    width: calc(var(--scale) * 30px);
  }
  
  @keyframes cloud-move {
    0% {
      transform: translateX(0px);
    }
    40% {
      transform: translateX(calc(var(--scale) * 4px));
    }
    80% {
      transform: translateX(calc(var(--scale) * -4px));
    }
    100% {
      transform: translateX(0px);
    }
  }
  
  .stars {
    transform: translateY(calc(var(--scale) * -32px));
    opacity: 0;
    transition: 0.4s;
  }
  
  .star {
    fill: white;
    position: absolute;
    transition: 0.4s;
    animation-name: star-twinkle;
    animation-duration: 2s;
    animation-iteration-count: infinite;
  }
  
  #input:checked + .slider .stars {
    transform: translateY(0);
    opacity: 1;
  }
  
  #star-1 {
    width: calc(var(--scale) * 20px);
    height: calc(var(--scale) * 20px);
    top: calc(var(--scale) * 2px);
    left: calc(var(--scale) * 3px);
    animation-delay: 0.3s;
  }
  #star-2 {
    width: calc(var(--scale) * 6px);
    height: calc(var(--scale) * 6px);
    top: calc(var(--scale) * 16px);
    left: calc(var(--scale) * 3px);
  }
  #star-3 {
    width: calc(var(--scale) * 12px);
    height: calc(var(--scale) * 12px);
    top: calc(var(--scale) * 20px);
    left: calc(var(--scale) * 10px);
    animation-delay: 0.6s;
  }
  #star-4 {
    width: calc(var(--scale) * 18px);
    height: calc(var(--scale) * 18px);
    top: calc(var(--scale) * 0px);
    left: calc(var(--scale) * 18px);
    animation-delay: 1.3s;
  }
  
  @keyframes star-twinkle {
    0% {
      transform: scale(1);
    }
    40% {
      transform: scale(1.2);
    }
    80% {
      transform: scale(0.8);
    }
    100% {
      transform: scale(1);
    }
  }

.index-cards {
    border: 1px solid rgba(128, 128, 128, 0.407);
    background-color: rgb(29,29,31);
    height: 100%;
}
  
.rig-image{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.glow {
    box-shadow: 0 0 10px 0 rgba(59, 130, 246, 0.8);
    transition: box-shadow 0.3s ease-in-out;
    
}

.glow:hover {
    box-shadow: 0 0 20px 0 rgba(59, 130, 246, 0.5);
}

.blog-section {
    border-radius: 1rem;
    background-color: #020524;
    padding: 40px;
}

.above-fold {
    height: 630px;
    align-items: center;
    justify-content: center;
}

/* ========================================
   HERO STARFIELD REVEAL EFFECT
   ======================================== */

.hero-starfield {
    background-image: url('Images/horsehead.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    background: rgb(29, 29, 31);
    z-index: 2;
    transition: none;
    pointer-events: none;
}

.opening-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.main-buttons{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.margin-test{
    margin: auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* From Uiverse.io by mrhyddenn */ 
button {
    width: 200px;
    height: 50px;
    position: relative;
    padding: 50px 100px;
    border-radius: 25px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    background-color: white;
    color: rgb(29,29,31);
    overflow: hidden;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2),
                0 10px 40px rgba(0, 0, 0, 0.25),
                0 5px 20px rgba(0, 0, 0, 0.15),
                0 0 30px rgba(255, 255, 255, 0.15);
  }
  
  button:hover {
    background: rgb(61, 106, 255);
    box-shadow: 0 0 30px 5px rgba(0, 142, 236, 0.815);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
  }
  
  button:hover::before {
    -webkit-animation: sh02 0.5s 0s linear;
    -moz-animation: sh02 0.5s 0s linear;
    animation: sh02 0.5s 0s linear;
  }
  
  button::before {
    content: '';
    display: block;
    width: 0px;
    height: 86%;
    position: absolute;
    top: 7%;
    left: 0%;
    opacity: 0;
    background: #fff;
    box-shadow: 0 0 50px 30px #fff;
    -webkit-transform: skewX(-20deg);
    -moz-transform: skewX(-20deg);
    -ms-transform: skewX(-20deg);
    -o-transform: skewX(-20deg);
    transform: skewX(-20deg);
  }
  
  @keyframes sh02 {
    from {
      opacity: 0;
      left: 0%;
    }
  
    50% {
      opacity: 1;
    }
  
    to {
      opacity: 0;
      left: 100%;
    }
  }
  
  button:active {
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: box-shadow 0.2s ease-in;
    -moz-transition: box-shadow 0.2s ease-in;
    transition: box-shadow 0.2s ease-in;
  }
  
.text-blur{
    background-color: rgba(255,255,255,0.5);
    padding: 15px;
    backdrop-filter: blur(10px);
    border-radius: 50px;
}

.type-of-results{
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-left: 2rem;
    text-align: center;
    font-family: "CooperHewitt Medium", sans-serif;
}

/* ============================================
   AGGRESSIVE MOBILE FIXES - DO NOT OVERRIDE
   ============================================ */

/* Base Mobile Styles - Apply to all screens under 768px */
@media (max-width: 768px) {
    /* Force readable text sizes */
    body {
        font-size: 16px !important;
        -webkit-text-size-adjust: 100% !important;
    }
    
    /* Fix wrapper padding */
    .wrapper_main {
        padding: 1rem 0.75rem !important;
        font-size: 16px !important;
    }
    
    /* Catalogue grid - force single column */
    .catalogue-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Catalogue hero text sizing */
    .catalogue-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    .catalogue-subtitle {
        font-size: 1rem !important;
    }
    
    /* Card content padding */
    .catalogue-card .card-content {
        padding: 1.25rem !important;
    }
    
    .card-title {
        font-size: 1.125rem !important;
    }
    
    .card-description {
        font-size: 0.875rem !important;
    }
    
    /* Product cards */
    .product-card {
        margin-bottom: 1rem !important;
    }
    
    .product-name {
        font-size: 1.125rem !important;
        line-height: 1.4 !important;
    }
    
    /* Component page fixes */
    .component-container {
        padding: 1rem !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .component-results {
        padding: 1.5rem 1rem !important;
        width: 100% !important;
    }
    
    .component-filters {
        width: 100% !important;
        position: relative !important;
        top: auto !important;
        max-height: none !important;
    }
    
    /* Products grid - force single column */
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Table fixes - make tables responsive */
    .products-table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Builder table mobile layout */
    #rig_list {
        padding: 0.5rem !important;
        overflow-x: hidden !important;
    }
    
    #rig_list table {
        display: block !important;
        width: 100% !important;
    }
    
    #rig_list tbody {
        display: block !important;
    }
    
    #rig_list tbody tr {
        display: flex !important;
        flex-direction: column !important;
        border-bottom: 0 !important;
        padding: 1rem 0.5rem !important;
        margin-bottom: 1rem !important;
        background: white !important;
    }
    
    #rig_list tbody tr td {
        display: block !important;
        width: 100% !important;
        padding: 0.5rem !important;
        text-align: left !important;
        border: none !important;
    }
    
    #rig_list tbody tr td.td_title {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
    }
    
    #rig_list tbody tr td.td_image {
        text-align: center !important;
        height: auto !important;
        margin: 0.5rem 0 !important;
    }
    
    #rig_list tbody tr td.td_image img {
        max-width: 150px !important;
        height: auto !important;
    }
    
    #rig_list tbody tr td.td_name {
        font-size: 1rem !important;
        margin: 0.5rem 0 !important;
        text-align: center !important;
    }
    
    #rig_list tbody tr td.td_price {
        font-size: 1.125rem !important;
        font-weight: 700 !important;
        text-align: center !important;
        padding: 0.75rem !important;
    }
    
    #rig_list tbody tr td.td_info {
        text-align: center !important;
        font-size: 0.875rem !important;
    }
    
    /* Action buttons */
    .rig_builder_action_box_group {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }
    
    .action_box_name {
        width: 100% !important;
    }
    
    .action_box_info {
        width: 100% !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: stretch !important;
    }
    
    .action_box_info div {
        width: 100% !important;
        justify-content: center !important;
    }
    
    input.build_name, span.build_name {
        font-size: 1.5rem !important;
        text-align: center !important;
    }
    
    /* Buttons - make touch-friendly */
    a.blue_button, a.red_button, a.green_button {
        font-size: 1rem !important;
        padding: 0.875rem 1.5rem !important;
        margin: 0.5rem !important;
        min-height: 44px !important;
        width: auto !important;
        display: inline-block !important;
        text-align: center !important;
    }
    
    .add-to-build-btn {
        font-size: 0.875rem !important;
        padding: 0.75rem 1.25rem !important;
        min-height: 44px !important;
    }
    
    /* Product detail page */
    .product-page .product-hero {
        flex-direction: column !important;
        padding: 1rem !important;
        gap: 1rem !important;
    }
    
    .product-page .product-details-section {
        padding-left: 0 !important;
    }
    
    .product-page .product-name {
        font-size: 1.5rem !important;
    }
    
    .product-page .product-price {
        font-size: 1.75rem !important;
    }
    
    /* Sidebar fix */
    .wrapper_item_detail {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .sidebar-content {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .square_box {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    img.large_image {
        width: 100% !important;
        max-width: 400px !important;
    }
    
    .productPrice {
        font-size: 1.5rem !important;
        width: 100% !important;
    }
    
    /* Navigation fixes */
    .modern-nav {
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
        padding: 0.5rem !important;
    }
    
    .nav-button, .nav-button-secondary {
        font-size: 0.875rem !important;
        padding: 0.625rem 1rem !important;
        min-height: 44px !important;
    }
    
    /* Home page fixes */
    #home_preset {
        grid-template-columns: 1fr !important;
        padding: 1rem !important;
        gap: 2rem !important;
    }
    
    .preset {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }
    
    .preset img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .preset_title {
        font-size: 1.5rem !important;
    }
    
    h1.home_title, h2.home_small_title {
        font-size: 1.75rem !important;
    }
    
    /* Specs table responsive */
    .specs-table, .vendor-table, .overview-table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .specs-table th,
    .specs-table td,
    .vendor-table th,
    .vendor-table td {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.875rem !important;
    }
    
    /* Summary sections */
    .rig-summary-content {
        padding: 1rem !important;
    }
    
    .summary-price-section {
        padding: 1.5rem 1rem !important;
    }
    
    .price-value {
        font-size: 2rem !important;
    }
    
    .attribute-group {
        grid-template-columns: 1fr !important;
    }
    
    .summary-actions {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .preset-button, .export-button {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Filter controls */
    .filter-controls {
        grid-template-columns: 1fr !important;
    }
    
    .search-box {
        max-width: 100% !important;
    }
    
    /* Carousel mobile fixes */
    .carousel-arrow {
        width: 40px !important;
        height: 40px !important;
    }
    
    .carousel-arrow svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Category buttons */
    .category-button-secondary {
        width: 100% !important;
        margin: 0.5rem 0 !important;
        padding: 1rem !important;
        font-size: 1rem !important;
        min-height: 44px !important;
    }
    
    /* Hide complex hover effects on mobile */
    .product-overlay {
        display: none !important;
    }
    
    .quick-view-btn {
        display: none !important;
    }
}

/* Extra small screens (phones in portrait) */
@media (max-width: 480px) {
    body {
        font-size: 14px !important;
    }
    
    .catalogue-title {
        font-size: 1.75rem !important;
    }
    
    .catalogue-subtitle {
        font-size: 0.875rem !important;
    }
    
    h1.home_title, h2.home_small_title {
        font-size: 1.5rem !important;
    }
    
    .component-title {
        font-size: 1.5rem !important;
    }
    
    #rig_list tbody tr td.td_title {
        font-size: 1.125rem !important;
    }
    
    .product-page .product-name {
        font-size: 1.25rem !important;
    }
    
    .product-page .product-price {
        font-size: 1.5rem !important;
    }
    
    .price-value {
        font-size: 1.75rem !important;
    }
    
    /* Ensure all buttons are touch-friendly */
    button, a.button, .nav-button, a.blue_button, a.red_button, a.green_button {
        min-height: 48px !important;
        font-size: 1rem !important;
    }
}

/* Tablet portrait adjustments */
@media (min-width: 481px) and (max-width: 768px) {
    .catalogue-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Force horizontal scrolling for wide tables */
@media (max-width: 768px) {
    .products-table-container,
    .specs-table-container,
    .vendor-section,
    .compatibility-section {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
    }
}

.crowd-source {
    text-align: center; 
    background-color: black;
    transition: all 0.3s ease;
}

.link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

.search_clear {
    align-items: right !important;

}

.good_button {
    margin-left: 40px;
    cursor: pointer;
    position: relative;
    padding: 10px 24px; 
    font-size: 1rem;
    color: #d9d9d9;
    border-radius: 20px; 
    background-color: #d9d9d9;
    font-weight: 500;
    overflow: hidden;
    width: 150px;
    height: 37px !important;
    display: inline-block;
    border: none;
    transition: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.good_button.guide-button {
    padding: 10px 40px !important;
    width: 185px !important;
}

.add_text {
    font-family: "Inter", sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #1a1a1a;
    text-align: left;
    margin: 0;
    padding: 0;
    z-index: 100;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(29,29,31);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

/* Spinner Animation */
.loading-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: #3b82f6;
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    border-right-color: #8b5cf6;
    animation-delay: 0.15s;
}

.spinner-ring:nth-child(3) {
    border-bottom-color: #06b6d4;
    animation-delay: 0.3s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 1;
    }
}

/* Loading Text */
.loading-text {
    font-family: "CooperHewitt Bold", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

/* Loading Dots */
.loading-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.loading-dots .dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.loading-dots .dot:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* @keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}   */

.main_button {
    font-family: "Inter", sans-serif !important; 
    font-weight: 500 !important;
}

.categories-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 400px;
}

.categories-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.categories-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Base category card styling */
.category-card-telescopes,
.category-card-cameras,
.category-card-filters,
.category-card-mounts {
    position: absolute;
    width: 300px;
    height: auto;
    background: rgba(40, 40, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    transform: translateY(60px);
    will-change: transform, opacity;
    cursor: pointer;
}

/* Remove default link styles */
a:has(.category-card-telescopes),
a:has(.category-card-cameras),
a:has(.category-card-filters),
a:has(.category-card-mounts) {
    text-decoration: none;
    color: inherit;
}

/* Telescopes - Deep Indigo accent */
.category-card-telescopes {
    right: 12%;
    top: 35%;
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.08),
                0 8px 24px rgba(0, 0, 0, 0.12),
                0 2px 8px rgba(99, 102, 241, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.category-card-telescopes:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(45, 45, 52, 0.95);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.3),
                0 20px 50px rgba(0, 0, 0, 0.25),
                0 0 40px rgba(99, 102, 241, 0.15),
                0 0 80px rgba(99, 102, 241, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Cameras - Warm Amber accent */
.category-card-cameras {
    right: 7%;
    top: 75%;
    border: 1px solid rgba(245, 158, 11, 0.15);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.08),
                0 8px 24px rgba(0, 0, 0, 0.12),
                0 2px 8px rgba(245, 158, 11, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.category-card-cameras:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(45, 45, 52, 0.95);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.3),
                0 20px 50px rgba(0, 0, 0, 0.25),
                0 0 40px rgba(245, 158, 11, 0.15),
                0 0 80px rgba(245, 158, 11, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Filters - Purple/Violet accent */
.category-card-filters {
    right: 10%;
    top: 53%;
    border: 1px solid rgba(168, 85, 247, 0.15);
    box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.08),
                0 8px 24px rgba(0, 0, 0, 0.12),
                0 2px 8px rgba(168, 85, 247, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.category-card-filters:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(45, 45, 52, 0.95);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.3),
                0 20px 50px rgba(0, 0, 0, 0.25),
                0 0 40px rgba(168, 85, 247, 0.15),
                0 0 80px rgba(168, 85, 247, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Mounts - Cool Steel Blue accent */
.category-card-mounts {
    left: 10%;
    top: 75%;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.08),
                0 8px 24px rgba(0, 0, 0, 0.12),
                0 2px 8px rgba(59, 130, 246, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.category-card-mounts:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(45, 45, 52, 0.95);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.3),
                0 20px 50px rgba(0, 0, 0, 0.25),
                0 0 40px rgba(59, 130, 246, 0.15),
                0 0 80px rgba(59, 130, 246, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.category-card-inner {
    display: inline-block;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.category-card-title {
    font-family: 'Junicode', serif;
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    color: #ffffff;
    letter-spacing: -0.02em;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                letter-spacing 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Title hover effects for each card */
.category-card-telescopes:hover .category-card-title {
    transform: translateX(4px);
    letter-spacing: 0.01em;
    color: #818CF8;
}

.category-card-cameras:hover .category-card-title {
    transform: translateX(4px);
    letter-spacing: 0.01em;
    color: #FBB040;
}

.category-card-filters:hover .category-card-title {
    transform: translateX(4px);
    letter-spacing: 0.01em;
    color: #C084FC;
}

.category-card-mounts:hover .category-card-title {
    transform: translateX(4px);
    letter-spacing: 0.01em;
    color: #60A5FA;
}

.row-name-highlights {
    background: linear-gradient(to right, #818CF8, #C084FC, #FBB040, #60A5FA);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.row-button {
    background: linear-gradient(to left, #818CF8, #C084FC, #FBB040, #60A5FA);
    background-clip: text; 
    -webkit-background-clip: text; 
}
