
    :root {
      --color-primary: #2d4a2b;
      --color-accent: #d4a017;
      --color-bg: #faf8f5;
      --color-text: #1a1a1a;
      --color-ebay: #e53238;
      --max-width: 1200px;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      font-size: 16px; line-height: 1.6; color: var(--color-text); background: var(--color-bg);
    }
    header { background: var(--color-primary); color: white; }
    nav {
      max-width: var(--max-width); margin: 0 auto; display: flex;
      justify-content: space-between; align-items: center; padding: 0 20px; height: 60px;
    }
    .logo { font-size: 1.4rem; font-weight: bold; color: white; text-decoration: none; }
    .nav-links { list-style: none; display: none; flex-direction: column; position: absolute; top: 60px; right: 0; background: var(--color-primary); padding: 16px 24px; border-radius: 0 0 8px 8px; gap: 12px; min-width: 180px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); z-index: 100; }
    .nav-links a { color: white; text-decoration: none; font-size: 0.95rem; }
    .nav-links a:hover { color: var(--color-accent); }
    .nav-links.open { display: flex; }
    .nav-toggle { background: none; border: none; color: white; font-size: 1.1rem; cursor: pointer; padding: 8px 12px; border-radius: 4px; }
    .nav-toggle:hover { background: rgba(255,255,255,0.15); }
    main { max-width: var(--max-width); margin: 0 auto; padding: 24px 20px; }
   .breadcrumbs { font-size: 0.85rem; margin-bottom: 16px; color: #666; }
    .breadcrumbs { display: none; }
    article .breadcrumbs { display: block; }
   .breadcrumbs a, .breadcrumbs span { display: inline; }
    .breadcrumbs a { color: var(--color-primary); text-decoration: none; }

    /* Part header — flex row above the fold */
    .part-header {
      display: flex; gap: 24px; margin-bottom: 32px; flex-wrap: wrap;
    align-items: flex-start;
  }
  .part-image {
    flex: 0 0 300px; max-width: 300px;
    align-self: stretch;
  }
  .part-image img {
    width: 100%; height: auto; border: 1px solid #ddd; border-radius: 8px;
    }
    .thumb-gallery {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
      margin-top: 8px; max-width: 300px;
      display: none;
    }
    .thumb-gallery img {
      width: 100%; height: auto; border: 1px solid #ddd; border-radius: 4px;
      aspect-ratio: 1; object-fit: cover; cursor: pointer;
    }
    .part-info {
      flex: 1; min-width: 250px; max-width: 600px;
    }
    .part-info h1 {
      font-size: 1.6rem; margin-bottom: 4px; color: var(--color-text);
    }
    .part-subtitle {
      font-size: 1.1rem; color: #555; margin-bottom: 10px;
    }
    .condition-badge {
      display: inline-block; padding: 3px 10px; border-radius: 4px;
      font-size: 0.85rem; font-weight: bold; margin-bottom: 10px; margin-right: 6px;
    }
    .urgency-badge {
      display: inline-block; padding: 3px 10px; border-radius: 4px;
      font-size: 0.85rem; font-weight: bold; margin-bottom: 8px;
      background: #f8d7da; color: #721c24;
    }
    .stock-badge {
      display: inline-block; padding: 3px 10px; border-radius: 4px;
      font-size: 0.85rem; font-weight: bold; margin-bottom: 8px;
      background: #d1ecf1; color: #0c5460;
    }
    .price-line {
      font-size: 1.8rem; font-weight: bold; color: var(--color-primary);
      margin-bottom: 12px;
    }
    .price-line .shipping {
      font-size: 1rem; font-weight: normal; color: #666; margin-left: 8px;
    }
    .buy-buttons {
      display: flex; align-items: center; gap: 16px; margin-bottom: 10px; flex-wrap: wrap;
    }
    .btn-ebay {
      display: inline-block; padding: 12px 28px; font-size: 1.25rem;
      font-weight: bold; color: white; background: var(--color-ebay);
      border-radius: 8px; text-decoration: none; border: none;
      min-height: 48px; line-height: 1.2;
    }
    .btn-ebay:hover { background: #c41e24; }
    .view-ebay-link {
      color: var(--color-primary); text-decoration: underline; font-size: 0.95rem;
    }
    .badge-row {
      display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; align-items: center;
    }
    .trust-signals {
      margin-top: 6px; padding: 10px 14px; background: #d4edda; border-radius: 6px;
      font-size: 0.85rem; color: #155724; max-width: 480px;
    }
    .trust-signals p { margin: 0; }
    .trust-signals p + p { margin-top: 4px; }
    .seller-proof { font-size: 0.85rem; color: #555; margin: 6px 0; }

    table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.95rem; }
    th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid #e0e0e0; vertical-align: top; }
    th { font-weight: 700; color: #1a1a1a; width: 40%; border-right: 1px solid #e0e0e0; white-space: nowrap; }
    tr:nth-child(even) { background: #f7f7f7; }
    tr:nth-child(odd) { background: #fff; }
    td { color: #333; }
    td { word-break: break-word; }

    .included-table { table-layout: fixed; }
    .included-table th:nth-child(1) { width: 60px; text-align: center; white-space: nowrap; }
    .included-table th:nth-child(2) { width: 140px; white-space: nowrap; }
    .included-table th:nth-child(3) { width: auto; }
    .included-table td:nth-child(1) { text-align: center; white-space: nowrap; }
    .included-table td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
    .included-table td:nth-child(3) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    .compat-section h3 { margin: 12px 0 4px; color: var(--color-primary); }
   .compat-section ul { list-style: disc; padding-left: 24px; margin: 4px 0 12px; }

    section { margin-bottom: 24px; }
    details { margin-bottom: 16px; border: 1px solid #e0e0e0; border-radius: 8px; padding: 0; overflow: hidden; }
    details > summary { padding: 12px 16px; font-size: 1.2rem; font-weight: 600; color: var(--color-primary); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
    details > summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; }
    details[open] > summary::after { content: '\2212'; }
    details > *:not(summary) { padding: 0 16px 16px; }
    details[open] > summary { border-bottom: 1px solid #e0e0e0; }
    h2 { font-size: 1.3rem; color: var(--color-text); margin-bottom: 12px; }
    .last-updated { font-size: 0.8rem; color: #999; margin-top: 32px; }
    /* Related items carousel */
    .related-carousel-section { margin-top: 32px; }
    .related-carousel-section h2 { font-size: 1.3rem; color: var(--color-primary); margin-bottom: 16px; }
    .carousel-wrapper { position: relative; display: flex; align-items: center; gap: 8px; }
    .carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 4px 0 16px; }
    .carousel-track::-webkit-scrollbar { display: none; }
    .carousel-card { flex: 0 0 180px; display: block; text-decoration: none; color: inherit; background: white; border: 1px solid #e0e0e0; border-radius: 8px; padding: 12px; text-align: center; transition: box-shadow 0.15s; }
    .carousel-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
    .carousel-card img { width: 100%; max-width: 160px; height: 150px; object-fit: contain; border-radius: 4px; margin-bottom: 8px; }
    .carousel-card h3 { font-size: 0.85rem; color: var(--color-primary); margin-bottom: 4px; line-height: 1.3; }
    .carousel-card .card-price { font-size: 1.1rem; font-weight: bold; color: var(--color-primary); }
    .carousel-arrow { flex: 0 0 36px; height: 36px; border-radius: 50%; border: 1px solid #ccc; background: white; color: #666; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
    .carousel-arrow:hover { background: var(--color-primary); color: white; border-color: var(--color-primary); }
    .carousel-competitor { border-style: dashed; border-color: #bbb; }
    .carousel-competitor h3 { color: #555; }
    .carousel-competitor .card-price { color: #555; }
    @media (max-width: 768px) {
      .carousel-card { flex: 0 0 150px; }
      .carousel-card img { height: 120px; }
    }

    footer {
      background: #3a3530; color: #ddd; padding: 32px 20px;
      text-align: center; margin-top: 48px;
    }
    footer a { color: #ddd; text-decoration: none; }

    @media (min-width: 769px) {
      .part-image {
        flex: 0 0 400px; max-width: 400px;
        display: flex; align-items: center; justify-content: center;
        align-self: stretch;
      }
      .part-image img { max-height: 100%; object-fit: contain; }
    }

    @media (max-width: 768px) {
      nav { flex-direction: column; height: auto; padding: 12px 20px; }
      .nav-links { flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
      .part-header { flex-direction: column; }
      .part-image { flex: 0 0 auto; max-width: 100%; }
      .part-image img { max-width: 300px; }
      .thumb-gallery { display: none; }
      .breadcrumbs { font-size: 0.75rem; margin-bottom: 10px; line-height: 1.3; }
    }

    /* Homepage + Category pages */
    .cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 24px 0; }
    .cat-card { display: block; background: white; border: 1px solid #e0e0e0; border-radius: 8px; padding: 24px; text-align: center; color: var(--color-text); text-decoration: none; transition: box-shadow .15s; }
    .cat-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); text-decoration: none; }
    .cat-card h2 { color: var(--color-primary); font-size: 1.1rem; }
    .cat-card p { color: #666; font-size: 0.9rem; margin-top: 4px; }
    .parts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
    .part-card { display: block; background: white; border: 1px solid #e0e0e0; border-radius: 8px; padding: 12px; text-align: center; color: var(--color-text); text-decoration: none; transition: box-shadow .15s; }
    .part-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); text-decoration: none; }
    .part-card img { width: 100%; max-width: 200px; height: auto; border-radius: 4px; margin-bottom: 8px; }
    .part-card h3 { color: var(--color-primary); font-size: 1rem; margin-bottom: 4px; }
    .card-price { color: var(--color-primary); font-size: 1.2rem; font-weight: bold; }
    .card-title { color: #555; font-size: 0.85rem; margin-bottom: 4px; }
    .section-title { font-size: 1.3rem; color: var(--color-primary); margin: 24px 0 12px; border-bottom: 2px solid var(--color-primary); padding-bottom: 4px; }
    .category-intro { font-size: 0.95rem; color: #555; margin: 8px 0 12px; max-width: 800px; line-height: 1.5; }
    .parts-count { font-size: 0.85rem; color: #888; margin: 0 0 16px; }
    @media (max-width: 768px) {
      .cat-grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* Guide pages */
    article { max-width: 800px; margin: 0 auto; }
    article h1 { font-size: 1.8rem; color: var(--color-primary); margin-bottom: 16px; line-height: 1.3; }
    article h2 { font-size: 1.4rem; color: var(--color-primary); margin: 28px 0 12px; padding-bottom: 4px; border-bottom: 2px solid var(--color-primary); }
    article h3 { font-size: 1.15rem; color: var(--color-text); margin: 20px 0 8px; }
    article p { margin-bottom: 14px; line-height: 1.7; }
    article ul { list-style: disc; padding-left: 24px; margin: 8px 0 16px; }
    article ul li { margin-bottom: 6px; line-height: 1.6; }
    article ol { list-style: decimal; padding-left: 24px; margin: 8px 0 16px; }
    article ol li { margin-bottom: 8px; line-height: 1.6; }
    article strong { color: var(--color-text); }
    article a { color: var(--color-primary); text-decoration: underline; }
    article a:hover { color: var(--color-accent); }

    /* Guide tables — override part-page table styles */
    article table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.9rem; table-layout: auto; }
    article table th { width: auto; white-space: normal; border-right: none; padding: 10px 12px; background: var(--color-primary); color: white; font-weight: 600; }
    article table td { padding: 10px 12px; border-bottom: 1px solid #e0e0e0; color: #333; word-break: normal; }
    article table tr:nth-child(even) { background: #f7f7f7; }
    article table tr:nth-child(odd) { background: #fff; }
    article table thead tr { background: var(--color-primary) !important; }

    /* Guides index — layout handled in page-level CSS */

    @media (max-width: 768px) {
      article { padding: 0; }
      article h1 { font-size: 1.5rem; }
      article table { font-size: 0.85rem; }
      article table th, article table td { padding: 8px 6px; }
      .guide-list { grid-template-columns: 1fr; }
    }
  