
.parts-container {
  max-width: 1580px;
  margin: 0 auto;
  padding: 35px 18px 80px;
}
.parts-toolbar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.parts-toolbar input,
.parts-toolbar select {
  background: #202020;
  color: #fff;
  border: 1px solid #444;
  border-radius: 9px;
  padding: 13px 16px;
  font-size: 15px;
}
.parts-toolbar input {
  flex: 1 1 260px;
}
.parts-toolbar select {
  flex: 0 1 230px;
}
.parts-count {
  color: #aaa;
  margin-bottom: 20px;
}
.parts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.parts-grid .product-card {
  display: flex;
  flex-direction: column;
  min-height: 365px;
}
.parts-grid .product-card > img,
.parts-image-placeholder {
  width: 100%;
  height: 215px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 14px;
}
.parts-image-placeholder {
  display: grid;
  place-items: center;
  color: #777;
  font-size: 13px;
}
.parts-series {
  color: #aaa;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.parts-description {
  color: #ccc;
  font-size: 13px;
  line-height: 1.5;
  min-height: 39px;
}
.parts-price {
  color: #ff6600;
  font-weight: 700;
  margin: 10px 0;
}
.parts-detail-button {
  margin-top: auto;
  background: #ff6600;
  color: #111;
  border: 0;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  font-weight: 700;
}
.parts-details {
  border-top: 1px solid #333;
  margin-top: 15px;
  padding-top: 15px;
  font-size: 13px;
  line-height: 1.6;
}
.parts-details a {
  color: #ff8b36;
  display: block;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.parts-details .parts-contact {
  display: inline-block;
  padding: 10px 13px;
  background: #ff6600;
  color: #111;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
}
@media (max-width: 1100px) {
  .parts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .parts-grid { grid-template-columns: 1fr; }
  .parts-container { padding: 20px 14px 60px; }
}

/* Peynet OEM catalog — readable quote links */
a[href^="mailto:"] {
    color: #ff8c00;
    font-weight: 700;
    text-decoration: none;
}

a[href^="mailto:"]:hover {
    color: #ffb347;
    text-decoration: underline;
}

a[href^="mailto:"]:focus-visible {
    outline: 2px solid #ffb347;
    outline-offset: 3px;
}


/* OEM quote links — override default browser link colors */
body a[href^="mailto:"],
body a[href^="mailto:"]:link,
body a[href^="mailto:"]:visited {
    color: #ff9500 !important;
    font-weight: 700;
    text-decoration: none;
}

body a[href^="mailto:"]:hover {
    color: #ffc078 !important;
    text-decoration: underline;
}


/* PEYNET PREMIUM CATALOG V1 */

/* Catalog background */
.parts-container {
  max-width: 1500px;
  padding: 42px 26px 90px;
}

/* Premium search toolbar */
.parts-toolbar {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 20px;
  margin-bottom: 20px;
  background: linear-gradient(145deg, #202020, #151515);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  box-shadow: 0 16px 35px rgba(0,0,0,.2);
}

.parts-toolbar input,
.parts-toolbar select {
  min-height: 52px;
  background: #101010;
  border: 1px solid #393939;
  border-radius: 11px;
  color: #fff;
  padding: 14px 17px;
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}

.parts-toolbar input:focus,
.parts-toolbar select:focus {
  outline: none;
  border-color: #ff6600;
  box-shadow: 0 0 0 3px rgba(255,102,0,.12);
}

.parts-toolbar input {
  flex: 1 1 350px;
}

.parts-toolbar select {
  flex: 0 1 280px;
  cursor: pointer;
}

.parts-count {
  color: #aaa;
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 13px;
  letter-spacing: .05em;
  margin: 0 0 24px;
}

/* Product grid */
.parts-grid {
  gap: 22px;
}

/* Premium product cards */
.parts-grid .product-card {
  position: relative;
  min-width: 0;
  min-height: 420px;
  padding: 19px;
  overflow: hidden;
  background: linear-gradient(155deg, #252525 0%, #191919 100%);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.parts-grid .product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,102,0,.5);
  box-shadow:
    0 20px 40px rgba(0,0,0,.3),
    0 0 0 1px rgba(255,102,0,.08);
}

/* Product photography */
.parts-grid .product-card > img,
.parts-grid .parts-image-placeholder {
  height: 225px;
  width: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 18px;
}

.parts-grid .parts-image-placeholder {
  background: #292929;
  color: #aaa;
}

/* Product information */
.parts-grid .parts-series {
  color: #ff8b36;
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  margin-bottom: 9px;
}

.parts-grid .product-card h2 {
  color: #fff;
  font-family: 'Outfit', Arial, sans-serif;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 10px;
}

.parts-grid .parts-description {
  color: #bbb;
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 12px;
}

.parts-grid .parts-price {
  color: #ff8b36;
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: auto 0 15px;
}

/* Buttons */
.parts-grid .parts-detail-button,
.parts-grid .parts-contact {
  transition:
    background .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.parts-grid .parts-detail-button:hover,
.parts-grid .parts-contact:hover {
  background: #ff852b;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255,102,0,.2);
}

.parts-grid .parts-detail-button:focus-visible,
.parts-grid .parts-contact:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Expanded details */
.parts-grid .parts-details {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 18px;
  padding-top: 18px;
  color: #ddd;
}

/* Tablets */
@media (max-width: 1100px) {
  .parts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 600px) {
  .parts-container {
    padding: 22px 14px 60px;
  }

  .parts-toolbar {
    flex-direction: column;
    padding: 14px;
    gap: 12px;
    border-radius: 14px;
  }

  .parts-toolbar input,
  .parts-toolbar select {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    min-height: 50px;
  }

  .parts-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .parts-grid .product-card {
    min-height: 0;
    padding: 16px;
  }

  .parts-grid .product-card > img,
  .parts-grid .parts-image-placeholder {
    height: 235px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .parts-grid .product-card,
  .parts-grid .parts-detail-button,
  .parts-grid .parts-contact {
    transition: none;
  }

  .parts-grid .product-card:hover,
  .parts-grid .parts-detail-button:hover,
  .parts-grid .parts-contact:hover {
    transform: none;
  }
}
