:root{--primary: #1e3a5f;--primary-light: #2d5a8b;--primary-dark: #0f1f33;--accent: #3b82f6;--accent-light: #60a5fa;--success: #10b981;--warning: #f59e0b;--danger: #ef4444;--gray-50: #f9fafb;--gray-100: #f3f4f6;--gray-200: #e5e7eb;--gray-300: #d1d5db;--gray-400: #9ca3af;--gray-500: #6b7280;--gray-600: #4b5563;--gray-700: #374151;--gray-800: #1f2937;--gray-900: #111827;--radius: 8px;--shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);--shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05)}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:var(--gray-50);color:var(--gray-800);line-height:1.6}.app{min-height:100vh;display:flex;flex-direction:column}.header{background:var(--primary);color:#fff;padding:0 1rem;position:sticky;top:0;z-index:100;box-shadow:var(--shadow-lg)}.header-container{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;height:64px}.logo{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:#fff}.logo-icon{background:var(--accent);padding:.25rem .5rem;border-radius:4px;font-weight:700;font-size:1.1rem}.logo-text{font-weight:600;font-size:1.25rem}.nav{display:flex;gap:.5rem}.nav-link{color:#ffffffd9;text-decoration:none;padding:.5rem 1rem;border-radius:var(--radius);transition:background-color .2s,color .2s}.nav-link:hover,.nav-link.active{background:#ffffff1a;color:#fff}.main-content{flex:1;max-width:1400px;margin:0 auto;padding:2rem 1rem;width:100%}.footer{background:var(--gray-800);color:var(--gray-400);text-align:center;padding:1.5rem 1rem;margin-top:auto}.footer .disclaimer{font-size:.85rem;margin-top:.5rem;color:var(--gray-500)}.btn{display:inline-block;padding:.75rem 1.5rem;border-radius:var(--radius);text-decoration:none;font-weight:500;cursor:pointer;border:none;transition:background-color .2s}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--primary-light)}.btn-secondary{background:var(--gray-200);color:var(--gray-700)}.btn-secondary:hover{background:var(--gray-300)}.btn-clear{background:none;border:none;color:var(--accent);cursor:pointer;font-size:.9rem}.hero{text-align:center;padding:3rem 1rem;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);color:#fff;border-radius:var(--radius);margin-bottom:2rem}.hero h1{font-size:2.5rem;margin-bottom:.5rem}.hero p{font-size:1.2rem;opacity:.9;margin-bottom:1.5rem}.featured-section,.quick-nav,.size-overview,.applications-section,.info-section{margin-bottom:3rem}.featured-section h2{font-size:1.5rem;margin-bottom:1rem}.featured-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem}.featured-card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);text-decoration:none;color:inherit;overflow:hidden;transition:box-shadow .2s}.featured-card:hover{box-shadow:0 0 0 2px var(--accent),var(--shadow-lg)}.featured-image{width:100%;height:140px;object-fit:contain;background:var(--gray-100);padding:1rem;display:block}.featured-info{padding:1rem}.featured-brand{font-size:.75rem;color:var(--gray-500);text-transform:uppercase}.featured-card h3{font-size:.9rem;margin:.25rem 0 .5rem;color:var(--gray-800);line-height:1.3}.featured-price{font-weight:600;color:var(--success)}.quick-nav h2,.size-overview h2,.applications-section h2,.info-section h2{font-size:1.5rem;margin-bottom:1rem;color:var(--gray-800)}.type-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}.type-card{background:#fff;padding:1.25rem;border-radius:var(--radius);text-decoration:none;color:inherit;box-shadow:var(--shadow);transition:box-shadow .2s}.type-card:hover{box-shadow:0 0 0 2px var(--accent),var(--shadow-lg)}.type-card h3{color:var(--primary);margin-bottom:.5rem}.type-card p{font-size:.9rem;color:var(--gray-600)}.size-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:1rem;margin-bottom:1.5rem}.size-card{background:#fff;padding:1rem;border-radius:var(--radius);box-shadow:var(--shadow);text-align:center;text-decoration:none;color:inherit;transition:box-shadow .2s}.size-card:hover{box-shadow:0 0 0 2px var(--accent),var(--shadow-lg)}.size-number{font-size:1.5rem;font-weight:700;color:var(--primary)}.size-specs{font-size:.85rem;color:var(--gray-600);display:flex;flex-direction:column;gap:.25rem;margin-top:.5rem}.app-grid{display:flex;flex-wrap:wrap;gap:1rem}.app-card{background:#fff;padding:1rem 1.5rem;border-radius:var(--radius);box-shadow:var(--shadow);display:flex;align-items:center;gap:.75rem}.app-icon{font-size:1.5rem}.info-content{background:#fff;padding:1.5rem;border-radius:var(--radius);box-shadow:var(--shadow)}.info-content p{margin-bottom:1rem}.key-specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--gray-200)}.key-specs .spec{text-align:center}.key-specs .spec strong{display:block;color:var(--gray-600);font-size:.85rem;margin-bottom:.25rem}.key-specs .spec span{font-size:1.1rem;font-weight:600;color:var(--primary)}.catalog-header{margin-bottom:1.5rem}.catalog-header h1{font-size:1.75rem}.catalog-header p{color:var(--gray-600)}.catalog-layout{display:grid;grid-template-columns:280px 1fr;gap:2rem}.filters{background:#fff;padding:1.5rem;border-radius:var(--radius);box-shadow:var(--shadow);height:fit-content;position:sticky;top:80px}.filter-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.filter-header h2{font-size:1.1rem}.filter-group{margin-bottom:1.25rem}.filter-group label{display:block;font-weight:500;margin-bottom:.5rem;color:var(--gray-700)}.filter-group input,.filter-group select{width:100%;padding:.5rem .75rem;border:1px solid var(--gray-300);border-radius:var(--radius);font-size:1rem}.filter-group input:focus,.filter-group select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #3b82f61a}.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.25rem}.fitting-card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);text-decoration:none;color:inherit;transition:box-shadow .2s;overflow:hidden;display:flex;flex-direction:column}.fitting-card:hover{box-shadow:0 0 0 2px var(--accent),var(--shadow-lg)}.fitting-image-container{background:var(--gray-100);padding:1rem;display:flex;align-items:center;justify-content:center;height:150px}.fitting-thumbnail{max-width:100%;max-height:120px;width:auto;height:auto;object-fit:contain}.fitting-card-content{padding:1rem;flex:1;display:flex;flex-direction:column}.fitting-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.fitting-size{font-size:1.1rem;font-weight:700;color:var(--primary)}.fitting-brand{font-size:.8rem;padding:.25rem .5rem;border-radius:4px;background:var(--gray-100);color:var(--gray-600)}.fitting-card h3{font-size:.95rem;margin-bottom:.25rem;color:var(--gray-800);line-height:1.3}.fitting-part-number{font-size:.8rem;color:var(--gray-500);margin-bottom:.75rem}.fitting-specs{font-size:.9rem}.spec-row{display:flex;justify-content:space-between;padding:.25rem 0;border-bottom:1px solid var(--gray-100)}.spec-label{color:var(--gray-500)}.spec-value{font-weight:500}.fitting-price{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--gray-200);color:var(--success);font-weight:600}.no-results{grid-column:1 / -1;text-align:center;padding:3rem;background:#fff;border-radius:var(--radius)}.fitting-detail{max-width:1000px;margin:0 auto}.breadcrumb{display:flex;align-items:center;gap:.5rem;margin-bottom:1.5rem;font-size:.9rem}.breadcrumb a{color:var(--accent);text-decoration:none}.breadcrumb span{color:var(--gray-400)}.detail-layout{display:grid;grid-template-columns:350px 1fr;gap:2rem;margin-bottom:2rem}.detail-image{background:#fff;padding:1.5rem;border-radius:var(--radius);box-shadow:var(--shadow);text-align:center;position:sticky;top:80px;height:fit-content}.product-image{max-width:100%;max-height:280px;object-fit:contain}.detail-main{display:flex;flex-direction:column;gap:1.5rem}.detail-header{margin-bottom:0}.detail-brand{display:inline-block;background:var(--primary);color:#fff;padding:.25rem .75rem;border-radius:4px;font-size:.85rem;margin-bottom:.5rem}.detail-header h1{font-size:1.75rem;margin-bottom:.5rem;line-height:1.3}.part-number{color:var(--gray-600)}.detail-description{color:var(--gray-600);line-height:1.6}.buy-section{background:#fff;padding:1.5rem;border-radius:var(--radius);box-shadow:var(--shadow)}.buy-section h2{font-size:1.25rem;margin-bottom:1rem}.buy-links{display:flex;flex-direction:column;gap:.75rem}.buy-link{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;background:var(--accent);color:#fff;border-radius:var(--radius);text-decoration:none;font-weight:500;transition:background-color .2s}.buy-link:hover{background:var(--primary)}.vendor-name{font-size:1rem}.vendor-price{font-size:1.1rem;font-weight:700}.specs-section,.warnings-section{background:#fff;padding:1.5rem;border-radius:var(--radius);box-shadow:var(--shadow)}.specs-section h2,.warnings-section h2{font-size:1.25rem;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--gray-200)}.detail-grid{display:grid;gap:1.5rem}.detail-section{background:#fff;padding:1.5rem;border-radius:var(--radius);box-shadow:var(--shadow)}.detail-section h2{font-size:1.25rem;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--gray-200)}.specs-table{width:100%}.specs-table th,.specs-table td{padding:.75rem;text-align:left;border-bottom:1px solid var(--gray-100)}.specs-table th{color:var(--gray-600);font-weight:500;width:40%}.applications-list{display:flex;flex-wrap:wrap;gap:.75rem}.application-tag{display:flex;align-items:center;gap:.5rem;background:var(--gray-100);padding:.5rem 1rem;border-radius:var(--radius)}.brands-list{display:flex;flex-wrap:wrap;gap:.75rem}.brand-tag{padding:.5rem 1rem;border-radius:var(--radius);display:flex;flex-direction:column;gap:.25rem}.brand-tag .brand-quality{font-size:.75rem;text-transform:uppercase}.quality-premium{background:#dcfce7;color:#166534}.quality-mid{background:#fef3c7;color:#92400e}.quality-budget{background:#e5e7eb;color:#374151}.price-range .price{font-size:1.5rem;font-weight:700;color:var(--success)}.price-note{display:block;color:var(--gray-500);font-size:.9rem;margin-top:.5rem}.vendor-links{display:grid;gap:.75rem}.vendor-link{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:var(--gray-50);border-radius:var(--radius);text-decoration:none;color:inherit;border:1px solid var(--gray-200);transition:border-color .2s,background-color .2s}.vendor-link:hover{border-color:var(--accent);background:#fff}.vendor-name{font-weight:600;color:var(--primary)}.vendor-shipping{font-size:.85rem;color:var(--gray-500)}.warnings-list{list-style:none}.warnings-list li{padding:.5rem 0 .5rem 1.5rem;position:relative}.warnings-list li:before{content:"⚠️";position:absolute;left:0}.detail-actions{display:flex;gap:1rem;margin-top:2rem}.size-chart-page,.torque-chart-page{max-width:1000px;margin:0 auto}.size-chart-page h1,.torque-chart-page h1{font-size:2rem;margin-bottom:.5rem}.subtitle{color:var(--gray-600);margin-bottom:2rem}.chart-container{overflow-x:auto;margin-bottom:2rem}.size-table,.torque-table,.conversion-table{width:100%;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);border-collapse:collapse}.size-table th,.size-table td,.torque-table th,.torque-table td,.conversion-table th,.conversion-table td{padding:1rem;text-align:left;border-bottom:1px solid var(--gray-100)}.size-table th,.torque-table th,.conversion-table th{background:var(--gray-50);font-weight:600;color:var(--gray-700)}.size-cell{font-weight:700;color:var(--primary)}.size-info,.conversions{margin-bottom:2rem}.size-info h2,.conversions h2{font-size:1.5rem;margin-bottom:1rem}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.info-card{background:#fff;padding:1.25rem;border-radius:var(--radius);box-shadow:var(--shadow)}.info-card h3{color:var(--primary);margin-bottom:.5rem}.torque-tips,.torque-notes,.tool-recommendations{margin-bottom:2rem}.torque-tips h2,.torque-notes h2,.tool-recommendations h2{font-size:1.5rem;margin-bottom:1rem}.tips-grid,.tools-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.tip-card,.tool-card{background:#fff;padding:1.25rem;border-radius:var(--radius);box-shadow:var(--shadow)}.tip-card h3,.tool-card h3{color:var(--primary);margin-bottom:.5rem}.tip-card.warning{background:#fef2f2;border:1px solid #fecaca}.tip-card.warning h3{color:var(--danger)}.torque-notes ul{background:#fff;padding:1.5rem 1.5rem 1.5rem 2.5rem;border-radius:var(--radius);box-shadow:var(--shadow)}.torque-notes li{margin-bottom:.5rem}.vendors-page{max-width:1000px;margin:0 auto}.vendors-page h1{font-size:2rem;margin-bottom:.5rem}.vendors-section,.brands-section,.buying-tips,.e85-notice{margin-bottom:2.5rem}.vendors-section h2,.brands-section h2,.buying-tips h2,.e85-notice h2{font-size:1.5rem;margin-bottom:1rem}.vendors-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.vendor-card{background:#fff;padding:1.5rem;border-radius:var(--radius);box-shadow:var(--shadow);text-decoration:none;color:inherit;transition:box-shadow .2s}.vendor-card:hover{box-shadow:0 0 0 2px var(--accent),var(--shadow-lg)}.vendor-card h3{color:var(--primary);margin-bottom:.5rem}.vendor-card p{color:var(--gray-600);font-size:.95rem;margin-bottom:1rem}.vendor-meta{display:flex;justify-content:space-between;align-items:center;padding-top:.75rem;border-top:1px solid var(--gray-200);font-size:.9rem}.shipping-info{color:var(--success)}.visit-link{color:var(--accent);font-weight:500}.brand-tier{margin-bottom:2rem}.brand-tier h3{font-size:1.2rem;margin-bottom:.5rem}.tier-description{color:var(--gray-600);margin-bottom:1rem}.brands-grid{display:flex;flex-wrap:wrap;gap:.75rem}.brand-card{padding:1rem 1.5rem;border-radius:var(--radius);display:flex;flex-direction:column;gap:.25rem}.brand-card h4{margin:0}.brand-card .country{font-size:.8rem;color:inherit;opacity:.7}.brand-card.premium{background:#dcfce7}.brand-card.mid{background:#fef3c7}.brand-card.budget{background:#e5e7eb}.notice-content{background:#eff6ff;border:1px solid #bfdbfe;padding:1.5rem;border-radius:var(--radius)}.notice-content p{margin-bottom:1rem}.notice-content ul{padding-left:1.5rem}.notice-content li{margin-bottom:.5rem}.fitting-image{display:flex;justify-content:center;align-items:center;background:var(--gray-50);border-radius:var(--radius);padding:.5rem}.fitting-image-small{height:80px;margin-bottom:.75rem}.fitting-image-small .fitting-svg{height:60px;width:auto}.fitting-image-medium{height:120px}.fitting-image-medium .fitting-svg{height:100px;width:auto}.fitting-image-large{height:200px;padding:1.5rem}.fitting-image-large .fitting-svg{height:160px;width:auto}.fitting-svg{max-width:100%}.detail-layout{display:grid;grid-template-columns:300px 1fr;gap:2rem;margin-bottom:1.5rem}.detail-image{background:#fff;padding:1.5rem;border-radius:var(--radius);box-shadow:var(--shadow);text-align:center;height:fit-content;position:sticky;top:80px}.image-caption{margin-top:1rem;font-size:.9rem;color:var(--gray-500)}@media (max-width: 900px){.detail-layout{grid-template-columns:1fr}.detail-image{position:static}}@media (max-width: 768px){.header-container{flex-direction:column;height:auto;padding:1rem 0}.nav{flex-wrap:wrap;justify-content:center}.catalog-layout{grid-template-columns:1fr}.filters{position:static}.hero h1{font-size:1.75rem}.detail-header{flex-direction:column}}
