/* Reuses the approved site's type and palette; no JavaScript, remote media or motion. */
.qrm-storefront { scroll-margin-top: 6rem; }
.qrm-accessory-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; margin:1.5rem 0; }
.qrm-accessory-card { display:flex; flex-direction:column; min-width:0; border:1px solid rgba(36,56,42,.18); background:rgba(255,255,255,.48); }
.qrm-accessory-image { display:block; overflow:hidden; background:#eeeee6; }
.qrm-accessory-image img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.qrm-accessory-copy { display:flex; flex-direction:column; flex:1; padding:1.25rem; }
.qrm-accessory-copy h3 { margin:.35rem 0 .8rem; font-size:1.2rem; line-height:1.3; }
.qrm-accessory-copy p { line-height:1.55; }
.qrm-accessory-models { font-size:.88rem; overflow-wrap:anywhere; }
.qrm-illustration-note { font-size:.8rem; color:#4b514b; }
.qrm-accessory-actions { display:flex; align-items:flex-start; flex-direction:column; gap:.8rem; margin-top:auto; padding-top:1rem; }
.qrm-accessory-actions .button { max-width:100%; white-space:normal; }
.qrm-family-selection { margin-top:2.5rem; padding-top:1.5rem; border-top:1px solid rgba(36,56,42,.18); }
.qrm-family-selection h3 { font-size:1.6rem; margin:.3rem 0; }
.qrm-storefront a:focus-visible { outline:3px solid currentColor; outline-offset:4px; }
@media(max-width:1000px) { .qrm-accessory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .qrm-accessory-grid { grid-template-columns:minmax(0,1fr); } .qrm-accessory-copy { padding:1rem; } .qrm-accessory-actions .button { width:100%; box-sizing:border-box; text-align:center; } }

/* Source-rendered navigation: useful without filters or JavaScript. */
.qrm-family-shortcuts { display:flex; flex-wrap:wrap; gap:.6rem; margin:1rem 0 2rem; }
.qrm-family-shortcuts a { border:1px solid var(--line); padding:.6rem 1rem; text-decoration:none; background:var(--paper); }
.qrm-piece-family,.qrm-related-pieces { scroll-margin-top:7rem; }
.qrm-piece-family { padding:1.5rem 0; border-top:1px solid var(--line); }
.qrm-piece-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.qrm-piece-card { min-width:0; display:flex; flex-direction:column; padding:1.2rem; border:1px solid var(--line); background:var(--paper); }
.qrm-piece-card h3 { font-size:1.18rem; line-height:1.4; margin:0 0 .8rem; }
.qrm-piece-card p { font-size:.94rem; line-height:1.6; }
.qrm-route-shortcut { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; padding-top:1.25rem; padding-bottom:1rem; font-size:.94rem; }
.qrm-related-pieces .qrm-accessory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.qrm-related-pieces .qrm-accessory-grid:has(> :only-child) { grid-template-columns:minmax(0,38rem); }
.qrm-piece-card a:focus-visible,.qrm-family-shortcuts a:focus-visible,.qrm-route-shortcut a:focus-visible { outline:3px solid currentColor; outline-offset:4px; }
@media(max-width:650px) { .qrm-piece-grid,.qrm-related-pieces .qrm-accessory-grid { grid-template-columns:minmax(0,1fr); } .qrm-route-shortcut .button { width:100%; text-align:center; box-sizing:border-box; } }
