/*
 * Precision Shafts & Pins — late-load polish overrides
 * Keep minimal; hero.css owns layout families.
 */

.v2-page.page-shell.page-type-product[data-page] #page-intro .section-code,
.v2-page.page-shell.page-type-product[data-page] #product-overview .section-code,
.v2-page.page-shell.page-type-product[data-page] #typical-features .section-code {
  color: var(--psp-blue, #1665d8) !important;
}

.v2-page.page-shell.page-type-product[data-page] #rfq .v2-cta-band .section-code {
  color: #16a3b6 !important;
}

.v2-page.page-shell.page-type-product[data-page] > .psp-sec:not(#page-intro):not(#rfq),
.v2-page.page-shell.page-type-product[data-page] > section.psp-sec:not(#page-intro):not(#rfq) {
  max-width: none !important;
}

.v2-page.page-shell.page-type-product[data-page] #applications.psp-sec-apps .cat-blocks {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.v2-page.page-shell.page-type-product[data-page] #page-intro .psp-hero-media,
.v2-page.page-shell.page-type-product[data-page] #page-intro .psp-hero-media img,
.v2-page.page-shell.page-type-product[data-page] #manufacturing-capabilities.psp-caps .psp-caps-media,
.v2-page.page-shell.page-type-product[data-page] #typical-features.psp-sec-features .gal-img {
  background: transparent !important;
}

.v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why .psp-why-head > h2,
.v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why .psp-why-head > p,
.v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why .psp-why-item > h3,
.v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why .psp-why-item > p {
  color: #fff !important;
}

.v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why .psp-why-head::before {
  background: var(--psp-cyan) !important;
}

.v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why .psp-why-grid {
  border-top-color: rgba(255, 255, 255, 0.18) !important;
  border-bottom-color: rgba(255, 255, 255, 0.18) !important;
}

.v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why .psp-why-item:not(:last-child) {
  background-image: linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)) !important;
}

.v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why .psp-why-item:last-child {
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why .psp-why-icon {
  filter: brightness(0) invert(1);
}

.v2-page.page-shell.page-type-product[data-page] #quality-inspection.psp-sec-quality .psp-qi-link span {
  color: var(--psp-orange, #f28c28);
  font-weight: 700;
}

.v2-page.page-shell.page-type-product[data-page] #quality-inspection.psp-sec-quality .psp-qi-link:hover,
.v2-page.page-shell.page-type-product[data-page] #quality-inspection.psp-sec-quality .psp-qi-link:focus-visible {
  color: var(--psp-blue, #1665d8);
}

.v2-page.page-shell.page-type-product[data-page] #manufacturing-capabilities.psp-caps .psp-caps-head > .section-code {
  color: var(--psp-cyan, #16a3b6) !important;
}

.v2-page.page-shell.page-type-product[data-page] #manufacturing-capabilities.psp-caps .psp-caps-link,
.v2-page.page-shell.page-type-product[data-page] #manufacturing-capabilities.psp-caps .psp-caps-link:hover,
.v2-page.page-shell.page-type-product[data-page] #manufacturing-capabilities.psp-caps .psp-caps-link:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.v2-page.page-shell.page-type-product[data-page] #manufacturing-capabilities.psp-caps .psp-caps-link span {
  color: inherit !important;
  font-weight: 700 !important;
}

.v2-page.page-shell.page-type-product[data-page] #manufacturing-capabilities.psp-caps .psp-caps-panel .v2-note {
  max-width: none !important;
  margin: -6px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #8a96a3 !important;
  text-align: left !important;
}

/* Beat product-module.css 1448px page-block caps on direct sections */
.v2-page.page-shell.page-type-product[data-page] > .page-block.psp-sec,
.v2-page.page-shell.page-type-product[data-page] > section.page-block.psp-sec {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Beat product-home-system white card backgrounds on topic sections */
.v2-page.page-shell.page-type-product[data-page] > .psp-sec:not(#page-intro):not(#rfq),
.v2-page.page-shell.page-type-product[data-page] > section.psp-sec:not(#page-intro):not(#rfq) {
  background-image: none !important;
  box-shadow: none !important;
}

/* Beat product-home-system 3-col cat-blocks default for applications */
.v2-page.page-shell.page-type-product[data-page] #applications.psp-sec-apps .cat-blocks {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.v2-page.page-shell.page-type-product[data-page] #applications.psp-sec-apps .cat-block {
  border-radius: 4px !important;
}

.v2-page.page-shell.page-type-product[data-page] #faq.home-section.home-faq summary::after {
  color: var(--psp-blue, #1665d8);
}

@media (max-width: 900px) {
  .v2-page.page-shell.page-type-product[data-page] #faq.home-faq .home-faq-head,
  .v2-page.page-shell.page-type-product[data-page] #faq .home-section-head.home-faq-head {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
    justify-items: start !important;
    align-items: flex-start !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #faq.home-faq .home-faq-head h2,
  .v2-page.page-shell.page-type-product[data-page] #faq.home-faq .home-faq-head p {
    text-align: left !important;
  }
}

@media (max-width: 1120px) {
  .v2-page.page-shell.page-type-product[data-page] #applications.psp-sec-apps .cat-blocks {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .v2-page.page-shell.page-type-product[data-page] #applications.psp-sec-apps .cat-blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 14px !important;
    row-gap: 18px !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #applications.psp-sec-apps .psp-app-icon {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 4px !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #applications.psp-sec-apps .psp-app-icon svg {
    width: 26px !important;
    height: 26px !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #applications.psp-sec-apps .cat-block h3 {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #applications.psp-sec-apps .cat-block p {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 700px) {
  .v2-page.page-shell.page-type-product[data-page] #applications.psp-sec-apps .cat-blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
    row-gap: 16px !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #applications.psp-sec-apps .psp-app-icon {
    width: 44px !important;
    height: 44px !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #applications.psp-sec-apps .psp-app-icon svg {
    width: 24px !important;
    height: 24px !important;
  }
}

/* Beat shared product-home-system / polish cat-block defaults on this page */
.v2-page.page-shell.page-type-product[data-page] #product-types.psp-sec-parts .cat-block,
.v2-page.page-shell.page-type-product[data-page] #product-types.psp-sec-parts .cat-block:first-child {
  grid-column: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.v2-page.page-shell.page-type-product[data-page] #product-types.psp-sec-parts .cat-block h3 {
  margin: 0 !important;
  text-wrap: wrap !important;
}

.v2-page.page-shell.page-type-product[data-page] #product-types.psp-sec-parts .cat-block p {
  margin: 0 !important;
  text-wrap: wrap !important;
}

.v2-page.page-shell.page-type-product[data-page] #product-types.psp-sec-parts .cat-block:first-child h3,
.v2-page.page-shell.page-type-product[data-page] #product-types.psp-sec-parts .cat-block:first-child p {
  color: inherit !important;
}

.v2-page.page-shell.page-type-product[data-page] #product-types.psp-sec-parts .cat-blocks {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(20px, 2.4vw, 28px) !important;
}

.v2-page.page-shell.page-type-product[data-page] #materials-finishes.psp-materials .psp-mat-stack {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  width: 100% !important;
}

.v2-page.page-shell.page-type-product[data-page] #materials-finishes.psp-materials .psp-finish-hero {
  width: 100% !important;
  height: clamp(196px, 18vw, 228px) !important;
  max-height: none !important;
}

.v2-page.page-shell.page-type-product[data-page] #materials-finishes.psp-materials .psp-finish-hero img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  background: transparent !important;
}

.v2-page.page-shell.page-type-product[data-page] #materials-finishes.psp-materials .psp-mat-items {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: clamp(24px, 3vw, 48px) !important;
  row-gap: 0 !important;
}

.v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why {
  background: #0b1f33 !important;
  overflow: visible !important;
}

.v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background-color: #0b1f33 !important;
  background-image:
    linear-gradient(180deg, rgba(7, 24, 40, 0.78) 0%, rgba(11, 31, 51, 0.72) 55%, rgba(7, 24, 40, 0.84) 100%),
    url("customer/factory/workshop-wide.jpg") !important;
  background-size: cover !important;
  background-position: center 45% !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

.v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why > * {
  position: relative !important;
  z-index: 1 !important;
}

.v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why .psp-why-icon {
  width: clamp(120px, 9vw, 152px) !important;
  height: clamp(120px, 9vw, 152px) !important;
}

.v2-page.page-shell.page-type-product[data-page] #typical-features.psp-sec-features .tag-row {
  display: none !important;
}

.v2-page.page-shell.page-type-product[data-page] #typical-features.psp-sec-features .gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(20px, 2.4vw, 28px) !important;
}

.v2-page.page-shell.page-type-product[data-page] #typical-features.psp-sec-features .gal-img {
  aspect-ratio: 4 / 3 !important;
  padding: 0 !important;
  border-color: var(--psp-line, #e2e8ef) !important;
  background: transparent !important;
}

.v2-page.page-shell.page-type-product[data-page] #typical-features.psp-sec-features .gal-img img {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  background: transparent !important;
}

.v2-page.page-shell.page-type-product[data-page] #typical-features.psp-sec-features .gal-label {
  min-height: 0 !important;
  padding: 0 !important;
  font-size: 17px !important;
  text-align: left !important;
  justify-content: flex-start !important;
}

.v2-page.page-shell.page-type-product[data-page] #rfq.psp-sec-rfq .v2-cta-band {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  grid-template-columns: none !important;
  text-align: center !important;
  background-color: #0b1f33 !important;
  background-image:
    linear-gradient(105deg, rgba(11, 31, 51, 0.94), rgba(11, 31, 51, 0.78)),
    url("customer/factory/cnc-line.jpg") !important;
  background-position: center 40% !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.v2-page.page-shell.page-type-product[data-page] #rfq.psp-sec-rfq .cta-copy,
.v2-page.page-shell.page-type-product[data-page] #rfq.psp-sec-rfq .cta-copy p,
.v2-page.page-shell.page-type-product[data-page] #rfq.psp-sec-rfq .cta-actions {
  text-align: center !important;
}

.v2-page.page-shell.page-type-product[data-page] .psp-section-tabs {
  position: sticky !important;
  top: var(--psp-header-offset, 109px) !important;
  z-index: 90 !important;
  border-top: 0 !important;
  border-bottom: 1px solid #d6e1eb !important;
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 8px 20px rgba(11, 31, 51, 0.06) !important;
  overflow: visible !important;
}

.v2-page.page-shell.page-type-product[data-page] .psp-section-tabs-track {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.v2-page.page-shell.page-type-product[data-page] .psp-section-tabs a {
  min-height: 88px !important;
  flex-direction: column !important;
  gap: 8px !important;
  font-size: clamp(11px, 0.92vw, 13px) !important;
  font-weight: 750 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
}

.v2-page.page-shell.page-type-product[data-page] .psp-section-tabs .psp-tab-icon {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  object-fit: contain !important;
}

.v2-page.page-shell.page-type-product[data-page] .psp-section-tabs a.is-active::after,
.v2-page.page-shell.page-type-product[data-page] .psp-section-tabs a[aria-current="true"]::after {
  left: 12% !important;
  right: 12% !important;
  bottom: 0 !important;
  height: 3px !important;
  background: var(--psp-blue, #1665d8) !important;
}

@media (max-width: 1120px) {
  .v2-page.page-shell.page-type-product[data-page] .psp-section-tabs-track {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
  }

  .v2-page.page-shell.page-type-product[data-page] .psp-section-tabs a {
    flex: 0 0 auto !important;
    min-width: 6.75rem !important;
    min-height: 78px !important;
  }
}

@media (max-width: 700px) {
  .v2-page.page-shell.page-type-product[data-page] .psp-section-tabs a {
    min-width: 5.75rem !important;
    min-height: 72px !important;
    font-size: 10px !important;
  }

  .v2-page.page-shell.page-type-product[data-page] .psp-section-tabs .psp-tab-icon {
    width: 28px !important;
    height: 28px !important;
  }
}

.v2-page.page-shell.page-type-product[data-page] > #materials-finishes {
  padding-bottom: 0 !important;
}

.v2-page.page-shell.page-type-product[data-page] > #product-types,
.v2-page.page-shell.page-type-product[data-page] > #materials-finishes,
.v2-page.page-shell.page-type-product[data-page] > #why-zhuocheng,
.v2-page.page-shell.page-type-product[data-page] > #typical-features,
.v2-page.page-shell.page-type-product[data-page] > #product-overview {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.v2-page.page-shell.page-type-product[data-page] > #product-overview.topic-layout {
  display: flex !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  border-bottom: 0 !important;
}

.v2-page.page-shell.page-type-product[data-page] #product-overview .topic-kpi-board {
  grid-column: auto !important;
  grid-row: auto !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.v2-page.page-shell.page-type-product[data-page] #product-overview .topic-kpi-board > div {
  min-height: 0 !important;
}

.v2-page.page-shell.page-type-product[data-page] > #why-zhuocheng {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.v2-page.page-shell.page-type-product[data-page] #typical-features.psp-sec-features .gallery-item:hover {
  transform: none !important;
  box-shadow: none !important;
}

.v2-page.page-shell.page-type-product[data-page] #typical-features.psp-sec-features .gallery-item:hover .gal-img img {
  transform: scale(1.03) !important;
}

@media (max-width: 700px) {
  .v2-page.page-shell.page-type-product[data-page] #materials-finishes.psp-materials .psp-mat-items {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #materials-finishes.psp-materials .psp-mat-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #materials-finishes.psp-materials .psp-mat-thumb {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    max-height: 120px !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why .psp-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why .psp-why-icon {
    width: 72px !important;
    height: 72px !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why .psp-why-item:nth-child(2n),
  .v2-page.page-shell.page-type-product[data-page] #why-zhuocheng.psp-sec-why .psp-why-item:last-child {
    background-image: none !important;
  }
}

@media (max-width: 900px) {
  .v2-page.page-shell.page-type-product[data-page] #page-intro .psp-hero-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #page-intro .psp-hero-visual {
    order: 1 !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #page-intro .psp-hero-copy {
    order: 2 !important;
  }
}

@media (max-width: 1120px) {
  .v2-page.page-shell.page-type-product[data-page] #product-types.psp-sec-parts .cat-blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #typical-features.psp-sec-features .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #materials-finishes.psp-materials .psp-mat-stack {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  .v2-page.page-shell.page-type-product[data-page] #quality-inspection.psp-sec-quality .psp-qi-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #quality-inspection.psp-sec-quality .psp-qi-icon {
    width: 48px !important;
    height: 48px !important;
  }

  .v2-page.page-shell.page-type-product[data-page] #product-types.psp-sec-parts .cat-blocks,
  .v2-page.page-shell.page-type-product[data-page] #typical-features.psp-sec-features .gallery-grid {
    grid-template-columns: 1fr !important;
  }
}
