/* Match Eppix's recommendation sizing: 4 / 2 columns and 260px mobile cards. */
.related-section { width: min(1104px,calc(100vw - 48px)); margin: 0 0 38px 50%; transform: translateX(-50%); }
.related-section .related-kicker { margin-bottom: 12px; font-size: 11px; line-height: 1.5; letter-spacing: .2em; }
.related-section .related-title { font-size: 30px; font-weight: 600; line-height: 36px; letter-spacing: -.02em; }
.related-section .related-title::after { width: 48px; margin-top: 16px; }
.related-section .related-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin-top: 49px; }
.related-section .related-card[data-related-family] { min-width: 0; display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid #e2e5ea; border-radius: 12px; background: #fff; cursor: pointer; }
.related-card[data-related-family] [hidden] { display: none !important; }
.related-card[data-related-family]:focus-visible { outline: 3px solid #76a9d3; outline-offset: 3px; }
.related-section [data-related-family] .related-art { flex: 0 0 auto; aspect-ratio: 1; border: 0; border-radius: 0; box-shadow: none; }
.related-section [data-related-family] .related-art[data-has-photo="false"] { background: #f2f7fd; }
.related-section [data-related-family] .related-image-link { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: inherit; text-decoration: none; }
.related-section [data-related-family] .related-photo { position: relative; width: 58%; height: auto; max-height: 95%; object-fit: contain; }
.related-section [data-related-family] .related-placeholder { position: relative; min-width: 0; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 16px 16px; color: #285c8d; text-align: center; overflow-wrap: anywhere; }
.related-section [data-related-family] .related-placeholder strong { font-size: 18px; }
.related-section [data-related-family] .related-placeholder span { font-size: 9px; font-weight: 400; }
.related-section [data-related-family] .related-info { flex: 1 0 auto; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 16px; }
.related-section [data-related-family] .related-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; }
.related-section [data-related-family] .related-summary h3 { min-width: 0; margin: 0; font-size: 16px; line-height: 24px; overflow-wrap: break-word; }
.related-section [data-related-family] .related-summary a { color: inherit; text-decoration: none; }
.related-section [data-related-family] .related-pack { min-height: 0; margin: 0; font-size: 11px; line-height: 1.45; }
.related-section [data-related-family] .related-spec-label { margin: 0 0 9px; }
.related-section [data-related-family] .related-options { display: grid; grid-template-columns: repeat(auto-fill,minmax(max(48px,calc((100% - 18px) / 4)),1fr)); gap: 6px; margin: 0; }
.related-section [data-related-family] .related-option { min-width: 0; min-height: 34px; padding: 6px 4px; border-radius: 9px; font-size: 10px; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.related-section [data-related-family] .related-option.is-long-spec { grid-column: span 2; }
.related-section [data-related-family] .related-option[aria-pressed="true"] { border-color: #2968a3; color: #fff; background: #2968a3; }
.related-section [data-related-family] .related-price { flex-shrink: 0; min-height: 0; margin-top: auto; padding-top: 11px; }
.related-section [data-related-family] .related-price-current { font-size: 15px; }
.related-status { grid-column: 1 / -1; color: #526273; font-size: 13px; }
@media (min-width:640px) and (max-width:960px) {
  .related-section { width: calc(100vw - 48px); }
}
@media (min-width:640px) and (max-width:1023px) {
  .related-section .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:639px) {
  .related-section { width: calc(100vw - 32px); margin-left: 50%; margin-right: 0; transform: translateX(-50%); }
  .related-section .related-title { font-size: 24px; line-height: 32px; }
  .related-section .related-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 260px;
    gap: 16px;
    margin-inline: -16px;
    padding: 0 16px 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }
  .related-section .related-grid::-webkit-scrollbar { display: none; }
  .related-section .related-status { width: min(260px,calc(100vw - 32px)); }
}
@media (max-width:380px) {
}
