
/* Parts we make */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.filters .chips { margin-bottom: 0; }
.chips a[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters__select select { min-height: 40px; padding: 8px 36px 8px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); font-size: 0.9375rem; }
.parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.part { display: grid; gap: 8px; align-content: start; text-decoration: none; color: inherit; }
.part__img { aspect-ratio: 1 / 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: grid; place-items: center; }
.part__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.part:hover .part__img img { transform: scale(1.03); }
.part__ph { display: block; width: 55%; opacity: .7; }
.part__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.2; margin-top: 8px; transition: color .15s; }
.part:hover .part__title { color: var(--accent-ink); }
.part__meta { font-size: 0.9375rem; color: var(--steel); }
.pager { margin-top: 48px; }
.pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; background: var(--surface); }
.pager .page-numbers.current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.empty { padding: 48px 0; }
.empty p { margin-top: 12px; color: var(--steel); }

.crumbs { margin-bottom: 28px; font-size: 0.9375rem; }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.partpage__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.gallery__main { aspect-ratio: 4 / 3; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: grid; place-items: center; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gallery__thumb { width: 76px; height: 76px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumb[aria-current="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.partpage__text .spec { margin-top: 28px; }
.partpage__text .spec div { grid-template-columns: 120px 1fr; }
.partpage__hint { margin-top: 12px; font-size: 0.875rem; color: var(--steel); }
.partpage__desc { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.more__title { margin-bottom: 32px; }

@media (max-width: 1080px) {
	.parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.partpage__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.parts { grid-template-columns: 1fr; }
	.filters { align-items: stretch; }
	.filters__select, .filters__select select { width: 100%; }
}

.part__ph .part__drawing { display: block; width: 100%; height: auto; }
