/* ScrewComParts v2 — component styles (Tailwind dist/output.css handles layout).
   Palette: navy #0e2a38, steel #1d4e66, light steel #f3f6f7, ORANGE accent #f97316
   (hover #ea580c). Orange is accent-only, never a page background. */
:root {
  --navy: #0e2a38; --navy-deep: #0a1f2a; --steel: #1d4e66; --steel-dark: #163c4f;
  --accent: #f97316; --accent-dark: #ea580c;
  --text: #22303a; --muted: #5b6b76; --bg: #ffffff; --bg-alt: #f3f6f7;
  --border: #d8e0e4; --radius: 6px;
}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; }
a { color: var(--steel); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.3; font-weight: 700; }
/* Accent utilities (replace the template's gold classes) */
.text-accent { color: var(--accent); }
.bg-accent { background: var(--accent); }
.border-accent { border-color: var(--accent); }
.hover\:bg-accent-dark:hover { background: var(--accent-dark); }
.hover\:text-accent:hover { color: var(--accent); }
.text-navy { color: var(--navy); }
.bg-navy { background: var(--navy); }
.bg-steel { background: var(--steel); }
.bg-light { background: var(--bg-alt); }
.tagline-divider { width: 60px; height: 3px; background: linear-gradient(90deg, #f97316, #fdba74); border-radius: 2px; margin: 0 auto; }
.section-kicker { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.soft-card { transition: transform .25s, box-shadow .25s, border-color .25s; }
.soft-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,23,42,.08); border-color: var(--accent); }
.product-card { transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.footer-link:hover { color: var(--accent) !important; padding-left: 4px; }
/* Nav active state (header is navy) */
.nav-active { color: var(--accent) !important; font-weight: 700; }
/* Buttons */
.btn { display: inline-block; padding: 11px 22px; border-radius: var(--radius); font-weight: 700; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary { background: var(--steel); color: #fff; }
.btn-secondary:hover { background: var(--steel-dark); }
.btn-outline { border-color: var(--steel); color: var(--steel); background: transparent; }
.btn-outline:hover { background: var(--steel); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }
/* Breadcrumb / page head */
.breadcrumb { font-size: 0.85rem; color: var(--muted); padding: 16px 0 0; }
.breadcrumb a { color: var(--muted); }
.page-head { padding: 48px 0 8px; }
.page-head h1 { margin-bottom: 0.5rem; }
.lead { font-size: 1.12rem; color: var(--muted); }
.section-intro { color: var(--muted); font-size: 1.05rem; max-width: 760px; }
/* Cards, trust list, steps */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: #fff; }
.card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 0.6rem; }
.card .price { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.card .card-link { font-weight: 700; font-size: 0.92rem; }
.trust-list { list-style: none; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px 28px; padding-left: 0; }
.trust-list li { padding-left: 26px; position: relative; list-style: none; }
.trust-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; background: var(--accent); border-radius: 2px; }
.trust-list strong { color: var(--navy); }
.steps { list-style: none; margin: 24px 0 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; padding-left: 0; }
.steps li { counter-increment: step; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 20px 20px 60px; position: relative; background: #fff; list-style: none; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--steel); color: #fff; font-weight: 800; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; }
.steps strong { color: var(--navy); display: block; margin-bottom: 0.25rem; }
.steps p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }
/* Tables */
table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.96rem; }
th, td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; vertical-align: top; }
th { background: var(--navy); color: #fff; font-weight: 700; }
tr:nth-child(even) td { background: var(--bg-alt); }
.spec-table th { width: 240px; }
/* Forms */
form { max-width: 680px; margin-top: 20px; }
label { display: block; font-weight: 700; color: var(--navy); margin: 16px 0 5px; font-size: 0.95rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: var(--radius); font: inherit; color: var(--text); background: #fff; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--steel); outline-offset: 1px; border-color: var(--steel); }
.form-note { font-size: 0.88rem; color: var(--muted); margin-top: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.search-form { max-width: 680px; margin: 0 auto; display: flex; gap: 10px; flex-wrap: wrap; }
.search-form input[type="text"] { flex: 1 1 320px; }
/* CTA band */
.cta-band { background: var(--steel); color: #fff; padding: 44px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7e2e8; }
/* Blog list */
.blog-list { list-style: none; margin: 24px 0 0; padding-left: 0; }
.blog-list li { border-bottom: 1px solid var(--border); padding: 20px 0; list-style: none; }
.blog-list li:first-child { border-top: 1px solid var(--border); }
.blog-list p { color: var(--muted); margin-bottom: 0; }
/* Product pages */
.product-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; margin: 24px 0 8px; align-items: start; }
.product-image { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-alt); aspect-ratio: 4 / 3; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.9rem; text-align: center; padding: 16px; }
.product-summary .price { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.product-summary .product-cta { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.compat-list { list-style: none; margin: 16px 0 0; padding-left: 0; }
.compat-list li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--border); list-style: none; }
.compat-list li::before { content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 12px; background: var(--accent); border-radius: 2px; }
.faq-list { margin: 16px 0 0; }
.faq-list dt { font-weight: 700; color: var(--navy); margin-top: 14px; }
.faq-list dd { color: var(--muted); margin: 2px 0 0; }
.disclaimer { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--border); margin-top: 28px; padding-top: 16px; }
@media (max-width: 700px) { .product-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
/* Fallback utilities missing from the compiled Tailwind output */
.ml-5 { margin-left: 1.25rem; }
.p-0\.5 { padding: 0.125rem; }
.hover\:border-accent:hover { border-color: var(--accent); }
@media (min-width: 640px) {
  .sm\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .sm\:py-4 { padding-top: 1rem; padding-bottom: 1rem; }
  .sm\:text-right { text-align: right; }
}
@media (min-width: 768px) {
  .md\:py-18 { padding-top: 4.5rem; padding-bottom: 4.5rem; }
}
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:inline-flex { display: inline-flex; }
}

/* Product image gallery — added by bulk-listing generator (2026-11-15).
   Main image + up to 5 thumbnails; no detail images below the fold. */
.product-gallery { display: flex; flex-direction: column; gap: 10px; }
.product-gallery .gallery-main { display: block; padding: 8px; margin: 0; }
.product-gallery .gallery-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb { width: 64px; height: 64px; padding: 2px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; cursor: pointer; overflow: hidden; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery-thumb.is-active { border-color: var(--accent); }

