/* OEM detail pages extend the shared MacroSea page system. */
.oem-detail .oem-garment-hero figcaption{padding:0}
.oem-detail .oem-format-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.oem-detail .oem-format-card{min-width:0;background:var(--white);border-radius:16px;overflow:hidden}
.oem-detail .oem-format-image{display:grid;place-items:center;height:320px;padding:24px;background:var(--ui-page)}
.oem-detail .oem-format-image img{width:100%;height:100%;object-fit:contain;transition:transform 500ms var(--ease)}
.oem-detail .oem-format-image:hover img{transform:scale(1.025)}
.oem-detail .oem-format-copy{padding:24px}
.oem-detail .oem-format-copy h3{font-size:24px;line-height:32px;letter-spacing:-.035em;margin-top:12px}
.oem-detail .oem-format-copy>p:not(.eyebrow){font-size:14px;line-height:20px;color:var(--muted);margin-top:12px}
.oem-detail .oem-format-copy .text-link{margin-top:16px}
.oem-detail .care-note .text-link{display:flex;width:fit-content;margin-top:8px}
.oem-detail .faq-list p a{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.oem-detail .oem-deliverables{min-width:560px}
.oem-detail .oem-deliverables tbody th{width:28%}
.oem-detail .oem-summary-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.oem-detail .oem-summary-strip span{padding:24px 16px;background:var(--white);border-radius:16px;font-size:14px;line-height:20px}
.oem-detail .oem-brief{background:var(--white);padding:40px;border-radius:16px}
.oem-detail .oem-brief h3{font-size:24px;line-height:32px;letter-spacing:-.025em}
.oem-detail .oem-brief ul{margin:24px 0 0;padding-inline-start:24px;display:grid;gap:16px}
.oem-detail .oem-brief>p{margin-top:32px;font-size:14px;line-height:20px;color:var(--muted)}
.oem-detail .oem-reading-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.oem-detail .oem-reading-card{display:flex;flex-direction:column;align-items:flex-start;padding:32px;background:var(--white);border-radius:16px;transition:background-color 300ms var(--ease),transform 500ms var(--ease)}
.oem-detail .oem-reading-card:hover{background:var(--ui-white);transform:translateY(-4px)}
.oem-detail .oem-reading-card:active{transform:scale(.98)}
.oem-detail .oem-reading-card h3{margin-top:16px;font-size:30px;line-height:36px;letter-spacing:-.035em}
.oem-detail .oem-reading-card>p:not(.eyebrow){margin-top:16px;margin-bottom:24px;color:var(--muted)}
.oem-detail .oem-reading-card .text-link{margin-top:auto}
.oem-detail .oem-route-facts{margin-top:24px;padding:24px;background:var(--ui-surface);border-radius:16px}
.oem-detail .oem-route-facts p{font-size:14px;line-height:20px;color:var(--muted)}
.oem-detail .oem-route-facts p+p{margin-top:16px}
.oem-detail .oem-route-facts strong{display:block;margin-bottom:4px;color:var(--ink);font-weight:500}
.oem-detail .process-panel>.text-link{display:flex;width:fit-content;margin-top:16px}
.oem-detail .process-panel>.oem-route-facts+.text-link{margin-top:24px}
.oem-detail .oem-route-steps{list-style:none;display:grid;gap:16px;margin:0;padding:0}
.oem-detail .oem-route-steps li{display:grid;grid-template-columns:48px minmax(0,1.4fr) minmax(0,1fr);gap:32px;align-items:start;padding:32px;background:var(--white);border-radius:16px}
.oem-detail .oem-step-number{display:grid;place-items:center;width:48px;height:48px;border-radius:9999px;background:var(--ui-ink);color:var(--ui-white);font-size:14px;line-height:20px}
.oem-detail .oem-step-copy h3{font-size:24px;line-height:32px;letter-spacing:-.025em}
.oem-detail .oem-step-copy p{margin-top:12px;max-width:560px;color:var(--muted)}
.oem-detail .oem-step-approval{background:var(--ui-surface);padding:24px;border-radius:16px}
.oem-detail .oem-step-approval>p+p{margin-top:12px;font-size:14px;line-height:20px}
.oem-detail #oem-route,.oem-detail #odm-route{scroll-margin-top:96px}
@media(max-width:1100px){
  .oem-detail .oem-format-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .oem-detail .oem-route-steps li{gap:24px;padding:24px}
  .oem-detail .oem-summary-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:850px){
  .oem-detail .oem-route-steps li{grid-template-columns:48px minmax(0,1fr)}
  .oem-detail .oem-step-approval{grid-column:2}
  .oem-detail .oem-format-image{height:360px}
}
@media(max-width:560px){
  .oem-detail .oem-format-grid,.oem-detail .oem-reading-grid{grid-template-columns:1fr}
  .oem-detail .oem-format-image{height:400px}
  .oem-detail .oem-format-copy{padding:24px}
  .oem-detail .oem-summary-strip{grid-template-columns:1fr;gap:12px}
  .oem-detail .oem-summary-strip span{padding:16px 24px}
  .oem-detail .oem-brief,.oem-detail .oem-reading-card{padding:24px}
  .oem-detail .oem-reading-card h3{font-size:24px;line-height:32px}
  .oem-detail .oem-route-steps li{grid-template-columns:1fr;gap:24px}
  .oem-detail .oem-step-approval{grid-column:auto}
  .oem-detail .oem-step-copy h3{font-size:20px;line-height:28px}
  .oem-detail .oem-step-approval{padding:16px}
}
