.mg-monitor-alternatives{flex-basis:100%;width:100%;margin-top:12px;padding:16px 0;border-top:1px solid #786b5030;font-size:.9rem;line-height:1.55;text-align:left}
.mg-monitor-alternatives ul{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:10px}
.mg-monitor-alternatives a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.mg-monitor-alternatives small{display:block;opacity:.75;font-size:.82em}
.mg-monitor-alternatives:not(:has(li)):not(.mg-rec-related){display:none}
.mg-monitor-variant-options{margin-block:12px;font-size:.875rem;line-height:1.5}
.mg-monitor-variant-options>summary{cursor:pointer;font-weight:600}
.mg-related-actions{display:flex;flex-wrap:wrap;gap:4px 20px;align-items:center;margin-top:8px}

.mg-rec-related{grid-column:1/-1;align-self:stretch;flex-basis:100%}.mg-rec-related-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:8px}.mg-rec-related .mg-rec-buy{font-size:.85em}

/* Related SKU cards share a layout across fiches, search, catalog and comparator. */
.mg-product-versions{margin-block:28px;padding-block:24px;border-block:1px solid #8884;min-width:0;text-align:left;scroll-margin-top:110px}
.mg-product-versions>header{margin-bottom:18px}.mg-product-versions>header h2{font-size:clamp(1.3rem,3vw,1.8rem);margin:0 0 8px}.mg-product-versions>header p{margin:0;opacity:.75;max-width:75ch}
.mg-related-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
.mg-related-card{display:grid;grid-template-columns:110px minmax(0,1fr) minmax(210px,28%);align-items:start;min-width:0;padding:16px;border:1px solid #8884;border-radius:8px;background:transparent;text-align:left;scroll-margin-top:120px;gap:18px}
.mg-related-card:not(:has(.mg-related-image)){grid-template-columns:minmax(0,1fr) minmax(210px,28%)}
.mg-related-card .mg-related-image{width:100%;height:90px;object-fit:contain;display:block;margin:0}
.mg-related-card h3{font-size:1.18rem;line-height:1.35;margin:4px 0 8px;overflow-wrap:anywhere}.mg-related-card a{color:inherit}
.mg-related-card .mg-related-kind{font-size:.75rem;line-height:1.5;margin:0;color:inherit;opacity:.75}.mg-related-card .mg-related-evidence{font-size:.78rem;margin:0;opacity:.7}
.mg-related-card .mg-related-difference{font-size:.9rem;line-height:1.55;margin:12px 0 0}.mg-related-card .mg-related-choice{font-size:.8rem;margin:10px 0 0;color:inherit;font-weight:700}
.mg-related-buy{margin:0;min-width:0}.mg-related-buy .mg-catalog-purchase{width:100%;min-width:0}.mg-related-buy .mg-related-actions{font-size:.83rem;margin-top:10px}
.mg-monitor-variant-options>summary{padding:12px 0;display:flex;justify-content:space-between;gap:12px}.mg-monitor-variant-options .mg-related-grid{grid-template-columns:1fr;padding-top:10px}
.mg-versions-jump{display:block;padding:12px 0;font-weight:600;text-underline-offset:4px}.mg-rec-related .mg-related-grid{margin-top:12px}.mg-rec-related .mg-related-card{padding:14px}
.mg-related-card:target{outline:2px solid #ffcf00;outline-offset:3px}
/* Nested surfaces stay compact even inside a half-width catalog card. */
.mg-monitor-variant-options .mg-related-card{grid-template-columns:80px minmax(0,1fr);gap:12px}
.mg-monitor-variant-options .mg-related-card:not(:has(.mg-related-image)){grid-template-columns:minmax(0,1fr)}
.mg-related-info{min-width:0}
.mg-monitor-variant-options .mg-related-buy{grid-column:1/-1}
.mg-monitor-variant-options .mg-related-card .mg-related-image{height:70px}
@media(max-width:700px){.mg-related-card,.mg-related-card:not(:has(.mg-related-image)){grid-template-columns:76px minmax(0,1fr);padding:14px;gap:12px}.mg-related-card .mg-related-image{height:70px}.mg-related-card:not(:has(.mg-related-image)) .mg-related-info{grid-column:1/-1}.mg-related-buy{grid-column:1/-1}.mg-product-versions{margin-block:20px}.mg-product-versions>header h2{font-size:1.25rem}}
@media(max-width:700px){
 .mg-related-card .mg-related-info{display:contents}
 .mg-related-card .mg-related-image{grid-column:1;grid-row:1/span 3;align-self:center}
 .mg-related-card .mg-related-info>.mg-related-kind,.mg-related-card .mg-related-info>h3,.mg-related-card .mg-related-info>.mg-related-evidence{grid-column:2;margin:0}
 .mg-related-card .mg-related-info>.mg-related-difference,.mg-related-card .mg-related-info>.mg-related-choice,.mg-related-card .mg-related-info>small,.mg-related-card:not(:has(.mg-related-image)) .mg-related-info>*{grid-column:1/-1}
}
