/* Fit product selections: varied compositions, shared project colours. */
.ms-fit-section-intro{font-size:15px;line-height:1.7;color:var(--ms-muted);margin:12px 0 0}
.ms-fit-category-nav{display:flex;flex-wrap:wrap;gap:12px 26px;padding:16px 0 20px;border-bottom:1px solid var(--ms-line)}
.ms-fit-category-nav a{font-size:14px;color:var(--accent-soft);text-decoration:none;text-underline-offset:6px}
.ms-fit-category-nav a:hover,.ms-fit-category-nav a:focus-visible{text-decoration:underline}
.ms-fit-catalog-category,.ms-fit-home-selection{scroll-margin-top:30px}
.ms-fit-products .ms-fit-product-card{min-width:0;overflow:hidden}
.ms-fit-products .ms-fit-pack{min-width:0;width:100%;aspect-ratio:auto;box-sizing:border-box}
.ms-fit-products .ms-fit-card-copy{min-width:0;box-sizing:border-box}
.ms-fit-products .ms-fit-card-copy h3{overflow-wrap:anywhere}
.ms-fit-products.ms-fit-cards-mosaic{grid-template-columns:1.2fr 1fr 1fr;grid-auto-rows:minmax(215px,auto);gap:20px}
.ms-fit-cards-mosaic .ms-fit-product-card{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:stretch}
.ms-fit-cards-mosaic .ms-fit-product-card:first-child{grid-row:span 2;display:flex;flex-direction:column}
.ms-fit-cards-mosaic .ms-fit-pack{padding:16px 8px;min-height:0;display:flex;align-items:center;justify-content:center}
.ms-fit-cards-mosaic .ms-fit-pack img{height:150px;width:100%;object-fit:contain}
.ms-fit-cards-mosaic .ms-fit-card-copy{padding:20px 16px;display:flex;flex-direction:column;justify-content:center}
.ms-fit-cards-mosaic .ms-fit-card-copy h3{font-size:20px;line-height:1.35;margin:9px 0 12px}
.ms-fit-cards-mosaic .ms-fit-card-copy p{font-size:14px;line-height:1.65}
.ms-fit-cards-mosaic .ms-fit-card-link{margin-top:18px}
.ms-fit-cards-mosaic .ms-fit-product-card:first-child .ms-fit-pack{flex:1;min-height:250px;padding:24px}
.ms-fit-cards-mosaic .ms-fit-product-card:first-child .ms-fit-pack img{height:250px}
.ms-fit-cards-mosaic .ms-fit-product-card:first-child .ms-fit-card-copy{padding:24px 26px}
.ms-fit-cards-mosaic .ms-fit-product-card:first-child h3{font-size:25px}
.ms-fit-products.ms-fit-cards-gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.ms-fit-cards-gallery .ms-fit-pack{height:200px;min-height:0;padding:18px}
.ms-fit-cards-gallery .ms-fit-pack img{height:170px;width:100%;object-fit:contain}
.ms-fit-cards-gallery .ms-fit-card-copy{padding:22px;min-height:210px}
.ms-fit-cards-gallery .ms-fit-card-copy h3{font-size:20px;line-height:1.35}
.ms-fit-products.ms-fit-cards-wide,.ms-fit-products.ms-fit-cards-related{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.ms-fit-cards-wide .ms-fit-product-card,.ms-fit-cards-related .ms-fit-product-card{display:grid;grid-template-columns:40% minmax(0,1fr)}
.ms-fit-cards-wide .ms-fit-pack,.ms-fit-cards-related .ms-fit-pack{padding:20px;min-height:240px;display:flex;align-items:center}
.ms-fit-cards-wide .ms-fit-pack img,.ms-fit-cards-related .ms-fit-pack img{width:100%;height:210px;object-fit:contain}
.ms-fit-cards-wide .ms-fit-card-copy,.ms-fit-cards-related .ms-fit-card-copy{padding:26px 22px;display:flex;flex-direction:column;justify-content:center}
.ms-fit-cards-wide .ms-fit-card-copy h3,.ms-fit-cards-related .ms-fit-card-copy h3{font-size:22px;line-height:1.35}
.ms-fit-products.ms-fit-cards-landscape{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ms-fit-cards-landscape .ms-fit-pack{height:220px;min-height:0;padding:20px}
.ms-fit-cards-landscape .ms-fit-pack img{height:190px;width:100%;object-fit:contain}
.ms-fit-cards-landscape .ms-fit-card-copy{padding:24px}
.ms-fit-cards-landscape .ms-fit-card-copy h3{font-size:21px;line-height:1.4}
.ms-fit-discovery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.ms-fit-discovery .ms-fit-section-heading{min-height:42px;margin-bottom:20px}
.ms-fit-discovery .ms-fit-section-heading h2{font-size:24px}
.ms-fit-products.ms-fit-cards-mini{grid-template-columns:1fr;gap:16px}
.ms-fit-cards-mini .ms-fit-product-card{display:grid;grid-template-columns:90px minmax(0,1fr)}
.ms-fit-cards-mini .ms-fit-pack{display:flex;align-items:center;padding:14px 8px;min-height:150px}
.ms-fit-cards-mini .ms-fit-pack img{height:120px;width:100%;object-fit:contain}
.ms-fit-cards-mini .ms-fit-card-copy{padding:18px 16px}
.ms-fit-cards-mini .ms-fit-card-copy>.ms-fit-eyebrow{display:none}
.ms-fit-cards-mini .ms-fit-card-copy h3{font-size:18px;line-height:1.4;margin:0 0 10px}
.ms-fit-cards-mini .ms-fit-card-copy p{font-size:14px;line-height:1.65}
.ms-fit-cards-mini .ms-fit-card-link{margin-top:14px}
.ms-fit-variants{margin-top:30px}
.ms-section .ms-fit-variants h3{font-size:19px;line-height:1.4;font-weight:400;margin:0 0 18px;color:var(--ms-text)}
.ms-fit-variant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,180px));gap:16px}
.ms-fit-variant{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:14px;padding:16px 12px;border:1px solid rgba(var(--accent-rgb),.28);border-radius:12px;text-align:center;background:rgba(var(--accent-rgb),.035);transition:border-color .2s,transform .2s,background .2s}
.ms-fit-variant img{display:block;width:100%;height:120px;object-fit:contain}
.ms-fit-variant>span{font-size:14px;line-height:1.5;color:var(--accent-soft)}
.ms-fit-variant:hover,.ms-fit-variant:focus-visible{border-color:var(--accent-soft);background:rgba(var(--accent-rgb),.08);transform:translateY(-3px);text-decoration:none}
.ms-section .ms-fit-tech-mention{color:var(--accent-soft);text-decoration:underline;text-decoration-color:rgba(var(--accent-rgb),.45);text-underline-offset:3px;transition:text-decoration-color .2s}
.ms-section .ms-fit-tech-mention:hover,.ms-section .ms-fit-tech-mention:focus-visible{color:var(--accent-soft);text-decoration-color:currentColor}
@media(max-width:1100px){
 .ms-fit-products.ms-fit-cards-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto}
 .ms-fit-cards-mosaic .ms-fit-product-card:first-child{grid-column:1/-1;grid-row:auto;display:grid;grid-template-columns:45% minmax(0,1fr)}
 .ms-fit-cards-mosaic .ms-fit-product-card:first-child .ms-fit-pack{min-height:260px}
 .ms-fit-products.ms-fit-cards-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ms-fit-discovery{gap:18px}.ms-fit-discovery .ms-fit-section-heading h2{font-size:22px}
 .ms-fit-cards-mini .ms-fit-product-card{grid-template-columns:75px minmax(0,1fr)}
 .ms-fit-cards-mini .ms-fit-card-copy{padding:16px 12px}
}
@media(max-width:800px){
 .ms-fit-discovery{grid-template-columns:1fr}
 .ms-fit-products.ms-fit-cards-mini{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ms-fit-discovery .ms-fit-section-heading{min-height:0}
 .ms-fit-products.ms-fit-cards-wide,.ms-fit-products.ms-fit-cards-related{grid-template-columns:1fr}
 .ms-fit-products.ms-fit-cards-landscape{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
 .ms-fit-products.ms-fit-cards-mosaic,.ms-fit-products.ms-fit-cards-gallery,.ms-fit-products.ms-fit-cards-landscape,.ms-fit-products.ms-fit-cards-mini{grid-template-columns:1fr;gap:16px}
 .ms-fit-cards-mosaic .ms-fit-product-card,.ms-fit-cards-mosaic .ms-fit-product-card:first-child,.ms-fit-cards-gallery .ms-fit-product-card,.ms-fit-cards-landscape .ms-fit-product-card{display:grid;grid-template-columns:100px minmax(0,1fr);grid-column:auto;grid-row:auto}
 .ms-fit-cards-mosaic .ms-fit-product-card:first-child .ms-fit-pack,.ms-fit-cards-gallery .ms-fit-pack,.ms-fit-cards-landscape .ms-fit-pack{min-height:160px;height:auto;padding:14px 8px;display:flex;align-items:center}
 .ms-fit-cards-mosaic .ms-fit-product-card:first-child .ms-fit-pack img,.ms-fit-cards-gallery .ms-fit-pack img,.ms-fit-cards-landscape .ms-fit-pack img{width:100%;height:140px}
 .ms-fit-cards-mosaic .ms-fit-product-card:first-child .ms-fit-card-copy,.ms-fit-cards-gallery .ms-fit-card-copy,.ms-fit-cards-landscape .ms-fit-card-copy{padding:20px 16px;min-height:0}
 .ms-fit-cards-mosaic .ms-fit-product-card:first-child h3,.ms-fit-cards-gallery .ms-fit-card-copy h3,.ms-fit-cards-landscape .ms-fit-card-copy h3{font-size:20px;line-height:1.4}
 .ms-fit-cards-wide .ms-fit-product-card,.ms-fit-cards-related .ms-fit-product-card{grid-template-columns:100px minmax(0,1fr)}
 .ms-fit-cards-wide .ms-fit-pack,.ms-fit-cards-related .ms-fit-pack{min-height:180px;padding:14px 8px}
 .ms-fit-cards-wide .ms-fit-pack img,.ms-fit-cards-related .ms-fit-pack img{height:150px}
 .ms-fit-cards-wide .ms-fit-card-copy,.ms-fit-cards-related .ms-fit-card-copy{padding:20px 16px}
 .ms-fit-variant-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .ms-fit-variant{padding:14px 8px}.ms-fit-variant img{height:110px}
 .ms-fit-category-nav{gap:12px 20px}.ms-fit-category-nav a{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.ms-fit-variant,.ms-section .ms-fit-tech-mention{transition:none}.ms-fit-variant:hover,.ms-fit-variant:focus-visible{transform:none}}

/* Owner refinement: four small top cards place clear copy below the pack. */
@media(min-width:561px){
 .ms-fit-cards-mosaic .ms-fit-product-card:not(:first-child){display:flex;flex-direction:column}
 .ms-fit-cards-mosaic .ms-fit-product-card:not(:first-child) .ms-fit-pack{height:155px;min-height:155px;padding:15px}
 .ms-fit-cards-mosaic .ms-fit-product-card:not(:first-child) .ms-fit-pack img{height:130px}
 .ms-fit-cards-mosaic .ms-fit-product-card:not(:first-child) .ms-fit-card-copy{padding:16px 20px;justify-content:flex-start}
 .ms-fit-cards-mosaic .ms-fit-product-card:not(:first-child) h3{font-size:18px;line-height:1.4;margin:7px 0 9px}
 .ms-fit-cards-mosaic .ms-fit-product-card:not(:first-child) .ms-fit-card-copy p{font-size:13px;line-height:1.65;margin:8px 0 12px}
 .ms-fit-cards-mosaic .ms-fit-product-card:not(:first-child) .ms-fit-card-link{margin-top:auto}
}
.ms-fit-cards-mini .ms-fit-card-copy{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:18px 14px}
.ms-fit-cards-mini .ms-fit-card-copy h3{font-size:16px;line-height:1.45;text-align:center}
.ms-fit-cards-mini .ms-fit-card-copy p{font-size:13px;line-height:1.65;text-align:center;margin:8px 0 12px}
.ms-fit-cards-mini .ms-fit-card-link{justify-content:center;gap:12px;width:100%;margin-top:10px}

/* Text links: consistent visible feedback, without changing fixed brand headings. */
:root[data-ms-theme=fit]{--ms-text-link-hover:color-mix(in srgb,var(--accent-soft) 45%,#fff)}
:root[data-ms-theme=fit][data-tone=light]{--ms-text-link-hover:color-mix(in srgb,var(--accent-soft) 55%,#000)}
:root[data-ms-theme=fit] .ms-section :is(.ms-fit-text-link,.ms-fit-breadcrumb a,.ms-fit-category-nav a,.ms-fit-all-products a,.ms-fit-sitemap a,.ms-fit-article a:not(:has(img)),.ms-fit-tech-mention,.ms-fit-footer-nav a,.ms-footer a,.ms-fit-paths a){transition:color .2s ease}
:root[data-ms-theme=fit] .ms-section :is(.ms-fit-text-link,.ms-fit-breadcrumb a,.ms-fit-category-nav a,.ms-fit-all-products a,.ms-fit-sitemap a,.ms-fit-article a:not(:has(img)),.ms-fit-tech-mention,.ms-fit-footer-nav a,.ms-footer a,.ms-fit-paths a):is(:hover,:focus-visible){color:var(--ms-text-link-hover)}
@media(prefers-reduced-motion:reduce){:root[data-ms-theme=fit] .ms-section a{transition:none}}
