/* The Parts Generator — blueprint theme */
@font-face { font-family: 'Norwester'; src: url('/fonts/norwester.woff2') format('woff2'), url('/fonts/norwester.otf') format('opentype'); font-display: swap; }
:root {
  --navy: #0B1D33; --navy-deep: #06121f; --ink: #E6EEF8; --muted: #B9CBE2; --blue: #8FB8E8; --line: rgba(140,190,255,.45); --line-soft: rgba(140,190,255,.25);
  --red: #D91E1E; --red-text: #FF5A5A; --green: #3FBF7F; --amber: #FFB14A;
  --display: 'Norwester', 'Bebas Neue', Impact, sans-serif; --label: Montserrat, system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace; --body: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background-color: var(--navy); color: var(--ink); font: 16px/1.6 var(--body);
  background-image: linear-gradient(rgba(140,190,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(140,190,255,.07) 1px, transparent 1px), linear-gradient(rgba(140,190,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(140,190,255,.035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
a { color: var(--red-text); } a:hover { color: #FF8A8A; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: 1; margin: 0 0 .5em; }
h2 { font-size: 40px; } h3 { font-size: 30px; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; color: var(--navy); padding: 8px 12px; z-index: 10; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.section { padding-top: 48px; padding-bottom: 56px; }
.center { text-align: center; }
.mono { font-family: var(--mono); } .small { font-size: 13px; } .dim { color: var(--blue); } .muted { color: var(--muted); } .red { color: var(--red-text); }
.eyebrow { font: 600 13px var(--label); letter-spacing: .25em; color: var(--blue); margin-bottom: 10px; }
.page-title { font-size: clamp(52px, 6vw, 84px); line-height: .95; margin: 8px 0 16px; }
.lead { font-size: 18px; color: #CFE0F4; max-width: 700px; }
:focus-visible { outline: 2px solid #FFB14A; outline-offset: 2px; }

/* Buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; background: var(--red); color: #fff; border: 0; font: 600 16px var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: #b81818; color: #fff; }
.btn-ghost { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); } .btn-ghost:hover { background: rgba(230,238,248,.08); color: var(--ink); }
.btn-dark { background: var(--navy); } .btn-dark:hover { background: #142c4a; }
.btn.grow, .grow { flex: 1 1 auto; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; } .btn-row.center { justify-content: center; }
.field { display: flex; flex-direction: column; gap: 6px; font: 600 12px var(--label); letter-spacing: .18em; color: var(--muted); }
input, select, textarea { font: 16px var(--body); color: var(--ink); background: #08172A; border: 1px solid rgba(140,190,255,.5); padding: 0 12px; min-height: 46px; letter-spacing: 0; }
textarea { padding: 12px; resize: vertical; }
.form { display: flex; flex-direction: column; gap: 16px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.inline-form { flex-direction: row; flex-wrap: wrap; align-items: flex-end; } .inline-form .field { flex: 1 1 200px; }
.form-msg { margin: 0; font-size: 15px; min-height: 1em; } .form-msg.ok { color: #7FE0AE; } .form-msg.err { color: #FF9A9A; }
.drop { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 72px; padding: 12px; border: 1.5px dashed rgba(140,190,255,.6); color: var(--muted); font-size: 14px; cursor: pointer; flex-direction: column; gap: 6px; }
.drop input { border: 0; background: transparent; min-height: 0; }
.hp { position: absolute; left: -9999px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line-soft); background: rgba(11,29,51,.94); position: relative; z-index: 5; }
.header-row { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo img { height: 50px; width: auto; }
.logo-fx-host { position: relative; display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: 26px; margin-left: auto; font: 600 13px var(--label); letter-spacing: .18em; text-transform: uppercase; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 12px 0; } .site-nav a[aria-current] { color: var(--red-text); }
.basket-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(140,190,255,.4); color: var(--ink); }
.basket-count { position: absolute; top: -8px; right: -8px; background: var(--red); color: #fff; font: 600 11px var(--mono); border-radius: 10px; padding: 2px 6px; }
.menu-btn { display: none; margin-left: auto; min-height: 44px; background: transparent; color: var(--ink); border: 1px solid var(--line); padding: 0 14px; font: 600 13px var(--label); letter-spacing: .15em; text-transform: uppercase; }
@media (max-width: 860px) {
  .header-row { gap: 12px; } .logo img { height: 40px; } .menu-btn { display: block; order: 2; } .basket-btn { order: 3; } .site-nav { order: 4; }
  .site-nav { display: none; width: 100%; flex-direction: column; gap: 0; } .site-nav.open { display: flex; }
  .site-nav a { border-top: 1px solid var(--line-soft); padding: 14px 0; }
}

/* Seasonal logo effects */
.tpg-fx { position: absolute; inset: -18px -24px -22px -24px; pointer-events: none; z-index: 2; }
.tpg-fx span { position: absolute; display: block; }
@keyframes tpgSnow { 0% { transform: translate(0,-16px); opacity: 0 } 12% { opacity: 1 } 92% { opacity: 1 } 100% { transform: translate(10px,66px); opacity: 0 } }
@keyframes tpgFlap { 0%,100% { transform: scaleY(1) } 50% { transform: scaleY(.3) } }
@keyframes tpgBatA { 0% { transform: translate(-20px,30px) } 25% { transform: translate(70px,-6px) } 50% { transform: translate(170px,22px) } 75% { transform: translate(250px,-4px) } 100% { transform: translate(-20px,30px) } }
@keyframes tpgBatB { 0% { transform: translate(260px,10px) } 30% { transform: translate(160px,44px) } 60% { transform: translate(40px,0) } 100% { transform: translate(260px,10px) } }
@media (prefers-reduced-motion: reduce) { .tpg-fx { display: none; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); background: rgba(6,18,34,.85); margin-top: 40px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding-top: 24px; padding-bottom: 24px; font-size: 14px; color: var(--muted); }
.footer-row a { color: var(--muted); } .footer-row .fb { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.footer-row .pay { margin-left: auto; font-size: 12px; }

/* Home */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 48px; }
.hero-text { flex: 1 1 520px; } .hero h1 { font-size: clamp(56px, 7vw, 96px); line-height: .95; margin: 14px 0 20px; }
.hero-fig { flex: 1 1 420px; margin: 0; border: 1.5px solid rgba(140,190,255,.55); }
.hero-fig svg { display: block; width: 100%; height: auto; }
.titleblock { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1.5px solid rgba(140,190,255,.55); font: 11px var(--mono); color: var(--muted); }
.titleblock span { padding: 10px 12px; border-right: 1px solid var(--line-soft); display: flex; flex-direction: column; } .titleblock span:last-child { border: 0; } .titleblock b { color: var(--ink); }
.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(6,18,34,.6); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.trust-grid div { display: flex; flex-direction: column; } .trust-grid span { color: var(--muted); font-size: 15px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin-bottom: 28px; } .section-head > a { margin-left: auto; }
.workbench { margin-top: 28px; border: 1.5px dashed rgba(140,190,255,.6); display: flex; flex-wrap: wrap; }
.wb-img { flex: 1 1 260px; min-height: 180px; display: flex; align-items: center; justify-content: center; border-right: 1px dashed rgba(140,190,255,.5); color: var(--blue); }
.wb-img img { width: 100%; height: 100%; object-fit: cover; }
.wb-form { flex: 3 1 520px; padding: 24px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-end; }
.wb-text { flex: 1 1 100%; } .wb-form .field { flex: 1 1 240px; }
.tag { font: 600 12px var(--mono); background: var(--red); color: #fff; padding: 4px 8px; display: inline-block; }
.tag-outline { border: 1px solid var(--red-text); color: var(--red-text); padding: 3px 7px; }
.panel { border: 1.5px solid rgba(140,190,255,.55); background: rgba(11,29,51,.88); padding: 28px; }
.split { display: flex; flex-wrap: wrap; padding: 0; } .split-a, .split-b { flex: 1 1 440px; padding: 36px; } .split-a { border-right: 1px solid var(--line-soft); } .split-b { background: rgba(6,18,34,.6); }
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; } .steps li { display: flex; gap: 16px; } .steps li > span { font: 600 15px var(--mono); color: var(--red-text); }
.signup { background: var(--red); padding: 32px 36px; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: flex-end; }
.signup-text { flex: 1 1 380px; } .signup h2 { font-size: 46px; margin: 0; color: #fff; } .signup p { margin: 6px 0 0; color: #fff; }
.signup .field { flex: 1 1 260px; color: #fff; } .signup input { background: #fff; color: var(--navy); border: 0; }
.signup .form-msg { flex-basis: 100%; color: #fff; }

/* Cards and grids */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.grid-wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; border: 1.5px solid var(--line); background: rgba(11,29,51,.88); color: var(--ink); text-decoration: none; }
.card:hover { border-color: rgba(140,190,255,.8); color: var(--ink); }
.card .badge { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font: 600 11px var(--mono); padding: 4px 8px; z-index: 1; }
.card-img { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line-soft); color: var(--blue); background: rgba(6,18,34,.5); overflow: hidden; }
.card-img.wide { aspect-ratio: 16/9; } .card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.card-title { font: 400 25px/1.1 var(--display); letter-spacing: .02em; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 8px; } .card-foot .link { margin-left: auto; }
.link { color: var(--red-text); font-weight: 600; font-size: 14px; }

/* Shop */
.crumbs { color: var(--blue); } .crumbs a { color: var(--blue); }
.search { display: flex; max-width: 760px; border: 1.5px solid rgba(140,190,255,.6); background: rgba(6,18,34,.75); margin-bottom: 28px; }
.search input { flex: 1; border: 0; background: transparent; min-width: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 36px; }
.tile { min-height: 88px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; border: 1.5px solid rgba(140,190,255,.5); background: rgba(11,29,51,.85); color: var(--ink); text-decoration: none; }
.tile.on { background: var(--ink); color: var(--navy); border-color: var(--ink); } .tile-name { font: 400 26px/1 var(--display); }
.count { font-size: 36px; }
.cta-red { margin-top: 48px; background: var(--red); padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.cta-red h2 { color: #fff; margin: 0 0 6px; } .cta-red p { color: #fff; margin: 0; }
.about { margin-top: 40px; border-top: 1px solid var(--line-soft); padding-top: 24px; max-width: 820px; color: var(--muted); }

/* Product */
.product { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 20px; }
.gallery { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery-main { aspect-ratio: 1; border: 1.5px solid rgba(140,190,255,.55); background: #fff; display: flex; align-items: center; justify-content: center; }
.gallery-main.empty { background: rgba(6,18,34,.5); color: var(--blue); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
.thumb { padding: 0; border: 1px solid var(--line); background: #fff; aspect-ratio: 1; cursor: pointer; } .thumb.on { border: 2px solid var(--red-text); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.product-info h1 { font-size: clamp(40px, 4.5vw, 56px); margin: 0; }
.price-row { display: flex; align-items: baseline; gap: 12px; } .price { font-size: 30px; font-weight: 600; }
.opt { border: 0; margin: 0; padding: 0; } .opt legend { color: var(--muted); margin-bottom: 10px; letter-spacing: .1em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid rgba(140,190,255,.5); cursor: pointer; }
.chip input:checked + span { background: var(--ink); color: var(--navy); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid #FFB14A; outline-offset: 2px; }
.chip input:disabled + span { opacity: .4; text-decoration: line-through; }
.ship-line { margin: 10px 0 0; }
.buy, .notify { display: flex; flex-direction: column; gap: 20px; }
.qty-row { display: flex; gap: 12px; flex-wrap: wrap; } .qty { display: flex; border: 1px solid rgba(140,190,255,.5); }
.qty button { width: 44px; background: transparent; border: 0; color: var(--ink); font-size: 20px; cursor: pointer; }
.qty input { width: 56px; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; } .qty input::-webkit-inner-spin-button { display: none; }
.spec { width: 100%; border-collapse: collapse; border: 1.5px solid rgba(140,190,255,.55); font-size: 14px; }
.spec caption { text-align: left; color: var(--blue); padding-bottom: 8px; }
.spec th { text-align: left; font: 400 13px var(--mono); color: var(--muted); width: 36%; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.dashed { border: 1px dashed rgba(140,190,255,.5); padding: 14px 16px; color: var(--muted); }
.description { margin-top: 48px; border-top: 1px solid var(--line-soft); padding-top: 28px; }
.prose { max-width: 820px; color: #DCE6F3; } .prose h2 { font-size: 36px; margin-top: 1.2em; color: var(--ink); } .prose h3 { font-size: 26px; margin-top: 1em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin-bottom: .4em; } .prose img { margin: 1em 0; border: 1px solid var(--line); }

/* Basket */
.basket-lines { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line-soft); }
.basket-lines li { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.basket-lines img, .basket-lines .noimg { width: 72px; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.basket-lines .controls { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.basket-lines .controls button { min-height: 36px; min-width: 36px; background: transparent; color: var(--ink); border: 1px solid var(--line); cursor: pointer; }
.basket-box { display: flex; flex-direction: column; gap: 18px; }
.code-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; } .totals dd { margin: 0; text-align: right; font-family: var(--mono); } .totals .big { font-size: 20px; font-weight: 600; }

/* News */
.row-between { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.chips-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chips-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid rgba(140,190,255,.5); color: var(--ink); text-decoration: none; font: 600 12px var(--label); letter-spacing: .14em; text-transform: uppercase; }
.chips-nav a[aria-current] { background: var(--ink); color: var(--navy); }
.feature { display: flex; flex-wrap: wrap; border: 1.5px solid rgba(140,190,255,.55); background: rgba(11,29,51,.88); color: var(--ink); text-decoration: none; margin-bottom: 32px; }
.feature-img { flex: 1 1 480px; min-height: 280px; background: rgba(6,18,34,.5); } .feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { flex: 1 1 400px; padding: 32px; display: flex; flex-direction: column; gap: 14px; } .feature-body h2 { font-size: 44px; margin: 0; }
.dashed-panel { border-style: dashed; margin-top: 48px; display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: flex-end; } .dashed-panel > div { flex: 1 1 360px; } .dashed-panel .field { flex: 1 1 260px; }
.meta { margin: 24px 0 8px; } .cover { margin: 0 0 32px; border: 1.5px solid rgba(140,190,255,.55); } .cover img { width: 100%; }
.linked { margin-top: 40px; } .split-cta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; } .split-cta h2 { font-size: 34px; margin: 0 0 6px; }

/* FAQ, tables, track */
.table-wrap { overflow-x: auto; border: 1.5px solid rgba(140,190,255,.55); background: rgba(11,29,51,.85); margin-bottom: 12px; }
.data { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.data th, .data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.data thead th { font: 400 12px var(--mono); color: var(--muted); }
.data .mat { font: 400 26px var(--display); color: var(--red-text); }
.faq { border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); } .faq summary { min-height: 60px; display: flex; align-items: center; cursor: pointer; font-weight: 600; font-size: 17px; padding: 12px 4px; list-style: none; }
.faq summary::after { content: '+'; margin-left: auto; font: 20px var(--mono); color: var(--red-text); } .faq details[open] summary::after { content: '−'; }
.faq p { color: var(--muted); padding: 0 4px 18px; max-width: 820px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 16px; min-height: 64px; } .timeline .rail { display: flex; flex-direction: column; align-items: center; width: 22px; }
.timeline .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(140,190,255,.6); flex: none; } .timeline .done .dot { background: var(--green); border: 0; } .timeline .current .dot { background: var(--red); border: 0; }
.timeline .bar { flex: 1; width: 2px; background: var(--line-soft); } .timeline li:last-child .bar { display: none; }
