.parts-section { padding-top: clamp(34px, 6vw, 76px); padding-bottom: clamp(42px, 7vw, 84px); }
.parts-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px; }
.parts-heading h2 { margin: 0 0 22px; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.06em; }
.parts-heading h2 em { font-style: normal; font-weight: 450; }
.parts-controls { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; background: white; border: 1px solid #dce4eb; border-radius: 12px; padding: 16px; }
.parts-section label { font-weight: 700; }
.parts-section input, .parts-section select { display: block; margin-top: 6px; width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-weight: 450; color: #172433; background: #f8fafb; border: 1px solid #a9bbc9; border-radius: 7px; }
.parts-section select:focus-visible { outline: 3px solid #4391c6; outline-offset: 3px; }
.parts-count { padding: 4px 0; color: #415768; font-weight: 700; }
.parts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); gap: 17px; }
.parts-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #dce4eb; border-radius: 12px; background: white; box-shadow: 0 8px 22px #23384a08; }
.parts-preview { width: 100%; height: 174px; flex: none; display: grid; place-items: center; overflow: hidden; padding: 16px; background: #fff; border: 0; border-bottom: 1px solid #e2e9ee; border-radius: 11px 11px 0 0; cursor: zoom-in; }
.parts-preview img { width: 100%; height: 142px; object-fit: contain; }
.parts-preview:hover { background: #edf3f7; }
.parts-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 16px; }
.parts-code { color: #415768; font-size: .875rem; font-weight: 700; letter-spacing: .06em; }
.parts-card h3 { font-size: 1.18rem; line-height: 1.25; margin: 7px 0 12px; }
.parts-note { color: #415768; margin: 0 0 12px; }
.parts-price { margin: auto 0 12px; font-weight: 750; }
.parts-request { width: 100%; min-height: 48px; justify-content: center; }
#parts-photo { width: min(680px, calc(100% - 32px)); padding: clamp(16px, 4vw, 28px); }
#parts-photo form { display: flex; justify-content: flex-end; }
#parts-photo h2 { margin: 8px 0 16px; font-size: clamp(1.3rem, 4vw, 2rem); }
#parts-photo img { display: block; width: 100%; max-height: 58vh; object-fit: contain; }
@media (max-width: 600px) {
  .parts-controls { grid-template-columns: 1fr; }
  .parts-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
}

#parts-model-control { margin-bottom: 22px; min-width: min(100%, 250px); }
#parts-photo-images { display: grid; gap: 16px; }
.parts-no-photo { display: grid; place-items: center; min-height: 174px; padding: 16px; text-align: center; color: #415768; background: #f8fafb; border-radius: 11px 11px 0 0; border-bottom: 1px solid #e2e9ee; }
