/* Explosion pickup: all selectors scoped. The live Magento theme remains the source of header/footer styles. */
.clrep{--navy:#142642;--navy2:#203859;--yellow:#f4db32;--soft:#f4f6fa;--muted:#718099;--border:#e6e9f0;--text:#182942;--card:white;--blue:#0d63df;--green:#1c9470;--red:#d44148;--shadow:0 13px 40px rgba(17,35,66,.06)}
.clrep, .clrep *{box-sizing:border-box}
.clrep{margin:0;background:#f4f6fa;color:var(--text);font:14px/1.45 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.clrep button,.clrep input,.clrep select{font:inherit}
.clrep button{cursor:pointer}
.clrep button:focus-visible,.clrep input:focus-visible{outline:3px solid #e4bd2f;outline-offset:3px}
.clrep a{color:#0b5dc8}
.clrep a:hover{text-decoration:underline}
.clrep .topbar{background:var(--navy);color:white;height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1650px)/2));gap:30px}
.clrep .brand{font-size:28px;font-weight:950;letter-spacing:-1.3px;line-height:1}
.clrep .brand small{display:block;text-align:right;color:var(--yellow);font-size:11px;letter-spacing:.3px;margin-top:-1px}
.clrep .topright{display:flex;align-items:center;gap:13px;color:#cbd4e4;font-size:12px}
.clrep .topright b{color:white}
.clrep .dot-live{width:7px;height:7px;background:#f6c75a;display:inline-block;border-radius:50%}
.clrep .topright .badge{display:inline-block;border:1px solid #5d7394;padding:6px 9px;border-radius:7px;color:white;font-weight:750;letter-spacing:.7px}
.clrep .shell{max-width:1700px;margin:auto;padding:27px 28px 40px}
.clrep .crumb{color:#7b88a0;font-size:12px;margin:0 0 18px}
.clrep .crumb strong{color:#3b5372}
.clrep .hero{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:25px}
.clrep .eyebrow{color:#cc9600;font-size:11px;font-weight:800;letter-spacing:1.7px;text-transform:uppercase}
.clrep .hero h1{font-size:clamp(26px,2.55vw,38px);line-height:1.13;letter-spacing:-1.3px;margin:8px 0}
.clrep .hero h1 span{color:#e13034}
.clrep .hero p{color:#6e7c91;margin:0;max-width:750px;line-height:1.55}
.clrep .model-chip{white-space:nowrap;background:#fff;border:1px solid #e4e8ef;border-radius:15px;box-shadow:var(--shadow);padding:16px 20px;display:flex;gap:14px;align-items:center}
.clrep .model-chip strong{display:block;font-size:21px;line-height:1.12}
.clrep .model-chip small{color:var(--muted)}
.clrep .model-mark{background:#fff4c5;color:#7b620a;border-radius:10px;width:46px;height:46px;display:grid;place-items:center;font-weight:900;font-size:18px}
.clrep .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}
.clrep .stat{display:flex;gap:12px;align-items:center;background:white;border-radius:13px;border:1px solid var(--border);padding:14px 18px;min-width:0;box-shadow:0 2px 9px rgba(14,38,60,.02)}
.clrep .stat .stat-icon{width:39px;height:39px;border-radius:10px;display:grid;place-items:center;background:#ecf3ff;color:#1553a2;font-size:18px;flex-shrink:0}
.clrep .stat strong{font-size:20px;line-height:1;display:block}
.clrep .stat small{font-size:11px;color:#7b879b;letter-spacing:.1px}
.clrep .workbench{display:grid;grid-template-columns:minmax(0,1.74fr) minmax(385px,.76fr);gap:17px;align-items:start}
.clrep .pane{background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}
.clrep .pane-top{padding:17px 19px 13px;display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--border)}
.clrep .pane-top h2{font-size:17px;margin:0;letter-spacing:-.3px}
.clrep .pane-top p{margin:3px 0 0;color:var(--muted);font-size:12px}
.clrep .tabbar{background:#f0f3f7;padding:3px;display:flex;gap:3px;border-radius:9px;white-space:nowrap}
.clrep .tab{border:0;background:none;padding:8px 11px;border-radius:7px;font-size:12px;font-weight:800;color:#6c7b93}
.clrep .tab.active{background:var(--navy);color:#fff;box-shadow:0 2px 7px #14264222}
.clrep .img-stage{background:#fff;overflow:hidden;position:relative;aspect-ratio:var(--clrep-diagram-ratio);min-height:0;touch-action:pan-x pan-y;display:flex;align-items:center;justify-content:center}
.clrep .canvas{position:relative;width:88%;aspect-ratio:var(--clrep-diagram-ratio);height:auto;transform-origin:center;transition:transform .2s ease}
.clrep .diagram{width:100%;height:100%;object-fit:contain;display:block;user-select:none;pointer-events:none}
.clrep .hotspot{position:absolute;transform:translate(-50%,-50%);width:26px;height:26px;display:grid;place-items:center;z-index:4;border:3px solid white;border-radius:50%;background:#f4cd24;box-shadow:0 0 0 1px #e7b822,0 4px 10px #20304d3d;color:#192c41;font-weight:900;font-size:12px;transition:transform .15s ease,background .15s ease,box-shadow .15s ease,color .15s ease;padding:0}
.clrep .hotspot:hover{transform:translate(-50%,-50%) scale(1.18);background:#ffca22;box-shadow:0 0 0 7px #efbe4345,0 5px 10px #20304d4b;z-index:8}
.clrep .hotspot.active{transform:translate(-50%,-50%) scale(1.34);background:#e53935;color:#fff;z-index:9;animation:clrep-selectedBlink 1s infinite ease-in-out;box-shadow:0 0 0 8px rgba(229,57,53,.28),0 6px 14px rgba(23,38,61,.42)}
@keyframes  clrep-selectedBlink{0%,100%{background:#e53935;box-shadow:0 0 0 8px rgba(229,57,53,.28),0 6px 14px rgba(23,38,61,.42)}50%{background:#2eaf4a;box-shadow:0 0 0 8px rgba(46,175,74,.28),0 6px 14px rgba(23,38,61,.42)}}
.clrep .hotspot .tooltip{display:none;pointer-events:none;position:absolute;bottom:calc(100% + 13px);left:50%;transform:translateX(-50%);width:max-content;max-width:230px;background:var(--navy);color:#fff;text-align:left;padding:9px 12px;border-radius:9px;font-size:12px;font-weight:700;box-shadow:0 5px 20px #15283e35}
.clrep .hotspot .tooltip small{display:block;color:#a9bbcf;font-size:10px;font-weight:550;margin-top:3px;overflow-wrap:anywhere}
.clrep .hotspot:hover .tooltip,.clrep .hotspot:focus .tooltip{display:block}
.clrep .diagram-label{position:absolute;top:17px;left:18px;color:#526783;font-size:11px;font-weight:800;background:#fffde0cf;padding:8px 10px;border-radius:8px;pointer-events:none}
.clrep .stage-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:11px;padding:13px 19px;border-top:1px solid var(--border);color:#64758b;font-size:12px}
.clrep .legend{display:flex;gap:14px;align-items:center}
.clrep .legend em{display:inline-block;width:10px;height:10px;border-radius:100%;background:#f4d12b;margin-right:5px;vertical-align:middle}
.clrep .legend .muted-dot{background:#cad3de}
.clrep .zoomctrl{display:flex;gap:5px;align-items:center}
.clrep .zoomctrl button{width:29px;height:27px;border:1px solid #dbe2ec;background:white;border-radius:7px;color:#304a6e;font-weight:800}
.clrep .note{display:flex;gap:10px;margin:14px 16px 16px;padding:11px 13px;border-radius:9px;background:#fff8e6;color:#815d0e;font-size:11.5px;line-height:1.5}
.clrep .note b{font-size:15px}
.clrep .rightpanel{display:flex;flex-direction:column}
.clrep .selection{padding:19px;border-bottom:1px solid var(--border)}
.clrep .selection-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}
.clrep .selection-head h2{font-size:16px;margin:0}
.clrep .tag{padding:5px 7px;border-radius:6px;color:#8b6410;background:#fff2cc;font-size:10px;font-weight:850;white-space:nowrap}
.clrep .selection-item{display:grid;grid-template-columns:106px minmax(0,1fr);gap:16px;align-items:start}
.clrep .selection-photo{width:106px;height:110px;object-fit:contain;border:1px solid #edf0f4;border-radius:11px;background:#fff}
.clrep .selection-photo.placeholder{display:grid;place-items:center;color:#b3becd;font-size:38px;background:#f7f9fc}
.clrep .selection-item h3{font-size:16px;line-height:1.34;margin:1px 0 9px}
.clrep .sku{display:block;font-size:11px;color:#677895;overflow-wrap:anywhere;font-weight:750}
.clrep .photo-note{font-size:10px;color:#8c98a9;margin-top:8px}
.clrep .details-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}
.clrep .detailbox{padding:11px;border:1px solid #e7ebf0;border-radius:9px;min-height:64px}
.clrep .detailbox small{display:block;color:#7b899d;font-size:10px;margin-bottom:4px}
.clrep .detailbox strong{display:block;font-size:13px}
.clrep .missing{color:#a97513}
.clrep .sourcebox{margin-top:12px;font-size:11px;line-height:1.4;color:#758399}
.clrep .sourcebox strong{color:#385675}
.clrep .cta{display:flex;gap:7px;margin-top:13px}
.clrep .btn{display:inline-flex;justify-content:center;align-items:center;gap:5px;border-radius:9px;padding:10px 12px;font-size:12px;font-weight:800}
.clrep .btn-primary{background:var(--navy);border:1px solid var(--navy);color:white}
.clrep .btn-outline{color:var(--navy);border:1px solid #dce2ee;background:white}
.clrep .btn:hover{filter:brightness(.95)}
.clrep .cta .btn:first-child{flex:1}
.clrep .feedback{margin:10px 0 0;color:#9c751e;font-size:11px;min-height:1em}
.clrep .list-wrap{padding:16px 17px 19px}
.clrep .list-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.clrep .list-top h3{margin:0;font-size:15px}
.clrep .count{background:#edf3fa;color:#395575;border-radius:6px;padding:4px 7px;font-size:11px;font-weight:900}
.clrep .search{position:relative;margin-bottom:8px}
.clrep .search input{width:100%;height:40px;padding:0 12px 0 34px;border:1px solid #dce3ed;border-radius:9px;outline:0;color:var(--navy);background:#fff}
.clrep .search:before{content:"⌕";position:absolute;left:12px;top:3px;font-size:23px;color:#8494ad}
.clrep .filters{display:flex;gap:7px;align-items:center;margin-bottom:12px}
.clrep .filters select{min-width:0;flex:1;height:34px;border:1px solid #e0e5ed;background:white;border-radius:8px;color:#495e79;padding:0 6px;font-size:11px}
.clrep .filters label{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:11px;color:#6e829b}
.clrep .filters input{accent-color:#e4bc21}
.clrep .parts-list{max-height:500px;overflow:auto;scrollbar-color:#c3ccda transparent}
.clrep .part-card{width:100%;padding:10px 7px;border:0;border-bottom:1px solid #eef1f6;background:#fff;display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left}
.clrep .part-card:hover,.clrep .part-card.active{background:#f5f8fe}
.clrep .part-card.active{box-shadow:inset 3px 0 var(--yellow)}
.clrep .part-thumb{width:52px;height:52px;object-fit:contain;border-radius:8px;background:#f4f6f9}
.clrep .part-thumb.blank{display:grid;place-items:center;font-size:21px;color:#a5b2c1}
.clrep .part-card strong{display:block;font-size:12px;line-height:1.25;margin-bottom:4px;color:#283b56}
.clrep .part-card small{display:block;color:#8291a5;font-size:10px;overflow-wrap:anywhere}
.clrep .part-card .smalltag{font-size:9px;border-radius:4px;background:#f1f3f7;color:#596e88;padding:4px 5px;white-space:nowrap}
.clrep .part-card .smalltag.placed{background:#fdf3ca;color:#886708}
.clrep .empty{padding:28px;text-align:center;color:#7f8da0;font-size:13px}
.clrep .bottom-note{margin-top:19px;font-size:12px;color:#8090a4;text-align:center}
.clrep .live{color:#23896d!important}
.clrep .alert{border-color:#f2ddb2!important;background:#fff8e9!important}
@media  (max-width:1250px){.clrep .workbench{grid-template-columns:minmax(0,1.4fr) minmax(340px,.82fr)}
.clrep .selection-item{grid-template-columns:85px 1fr}
.clrep .selection-photo{width:85px;height:100px}}
@media (max-width:1010px){.clrep .workbench{grid-template-columns:1fr}
.clrep .parts-list{max-height:340px}
.clrep .hero{align-items:start}
.clrep .stats{grid-template-columns:repeat(2,1fr)}}
@media (max-width:650px){.clrep .topbar{padding:0 16px;height:66px}
.clrep .brand{font-size:22px}
.clrep .topright .hide-mob{display:none}
.clrep .shell{padding:18px 13px 28px}
.clrep .hero{flex-direction:column;align-items:flex-start}
.clrep .hero h1{font-size:27px}
.clrep .model-chip{padding:11px 13px}
.clrep .stats{gap:7px}
.clrep .stat{padding:11px 9px}
.clrep .stat strong{font-size:16px}
.clrep .stat small{font-size:10px}
.clrep .stat .stat-icon{width:30px;height:30px;font-size:14px}
.clrep .pane-top{align-items:flex-start;flex-direction:column}
.clrep .img-stage{min-height:0}
.clrep .diagram-label{font-size:9px;top:8px;left:8px}
.clrep .hotspot{width:21px;height:21px;font-size:10px}
.clrep .selection{padding:14px}
.clrep .selection-item{grid-template-columns:94px 1fr}
.clrep .selection-photo{width:94px;height:100px}
.clrep .stage-bottom{font-size:11px}}
.clrep [hidden]{display:none!important}
.clrep .ed-toolbar{padding:11px 16px;background:#eff4fc;border-bottom:1px solid #d9e4f1;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.clrep .ed-toolbar .ed-help{font-size:11px;color:#5b728e;flex:1;min-width:180px}
.clrep .ed-button{padding:8px 11px;border-radius:8px;border:1px solid #bfcde0;color:#28415d;background:white;font-size:11px;font-weight:800;cursor:pointer}
.clrep .ed-button:hover{background:#f8f4d8}
.clrep .ed-button.active,.clrep .ed-button.important{background:#f3d22b;border-color:#d8b51a;color:#29344b}
.clrep .ed-button.danger{color:#a52e39;border-color:#eec7ca}
.clrep .ed-button:disabled{opacity:.45;cursor:not-allowed}
.clrep .ed-tools{background:#fff8db;padding:12px 15px;border-bottom:1px solid #eddda6;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.clrep .ed-tools .ed-info{color:#645529;font-size:11px;flex-basis:100%;line-height:1.45}
.clrep .ed-status{padding:8px 14px;background:#f4f7fa;border-bottom:1px solid #e1e6ee;font-size:11px;color:#425d7d;min-height:33px}
.clrep .ed-form{background:#f8fafd;padding:12px 16px 14px;border-bottom:1px solid #e1e6ee;display:grid;gap:8px}
.clrep .ed-form label{display:flex;flex-direction:column;gap:3px;color:#4a5973;font-weight:700;font-size:11px}
.clrep .ed-form input{border:1px solid #cbd6e6;background:white;padding:9px 10px;border-radius:7px;width:100%;max-width:360px}
.clrep .ed-form-row{display:flex;flex-wrap:wrap;gap:10px}
.clrep .ed-form-row label{flex:1 1 165px}
.clrep .ed-form .ed-actions{display:flex;gap:8px}
.clrep .ed-note{background:#fff4f0;border:1px solid #ebc8bc;border-radius:8px;color:#8d4e32;padding:10px 13px;margin:12px 16px;font-size:11px}
@media (max-width:700px){.clrep .ed-tools{padding:8px}
.clrep .ed-button{padding:8px}
.clrep .ed-toolbar{padding:8px}
.clrep .ed-help{min-width:100%}}
.clrep .variant-strip{padding:13px 18px 12px;background:linear-gradient(110deg,#f7f9fe,#fffdf4);border-bottom:1px solid #e8edf5;display:flex;gap:15px;align-items:center;flex-wrap:wrap}
.clrep .variant-heading{display:flex;flex-direction:column;gap:3px;min-width:160px;flex:1}
.clrep .variant-heading b{font-size:13px;color:#192f4c}
.clrep .variant-heading small{font-size:11px;color:#76859a}
.clrep .variant-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.clrep .variant-button{border:1px solid #dce3ed;color:#425570;background:white;border-radius:9px;padding:9px 14px;text-align:left;line-height:1.25;min-width:158px;transition:background .15s,border-color .15s,box-shadow .15s}
.clrep .variant-button strong{display:block;font-size:15px;margin-top:2px}
.clrep .variant-button small{font-size:10px;color:#738298;letter-spacing:.6px;font-weight:800;text-transform:uppercase}
.clrep .variant-button[aria-pressed="true"]{background:#142642;color:#fff;border-color:#142642;box-shadow:0 4px 12px rgba(20,38,66,.16)}
.clrep .variant-button[aria-pressed="true"] small{color:#f4db32}
.clrep .variant-notice{width:100%;font-size:11px;color:#71819b;margin:0;line-height:1.4}
.clrep .compat-card{margin-top:12px;border:1px solid #dce6f2;background:#f7faff;border-radius:9px;padding:10px 12px;display:flex;flex-direction:column;gap:5px}
.clrep .compat-card small{color:#65809c;letter-spacing:.4px;font-size:10px;font-weight:750}
.clrep .compat-card strong{color:#1a3658;font-size:13px}
.clrep .compat-card .compat-help{font-size:11px;color:#62768c}
.clrep .compat-card.warn{border-color:#f1ce88;background:#fffaed}
.clrep .compat-card.warn strong{color:#9a5c0a}
.clrep .compat-card.ok{border-color:#b9dfce;background:#f0fcf6}
.clrep .compat-card.ok strong{color:#18704e}
@media (max-width:650px){.clrep .variant-strip{gap:9px;padding:12px}
.clrep .variant-controls{width:100%}
.clrep .variant-button{min-width:0;flex:1;padding:9px}
.clrep .variant-heading{min-width:0}
.clrep .variant-notice{font-size:10px}}
.clrep{font:14px/1.45 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#182942;background:#f4f6fa;border-radius:14px;padding:1px 0 18px;isolation:isolate}
.clrep .clrep-product-link{flex:1;text-decoration:none;align-items:center}
.clrep .clrep-product-link[hidden]{display:none!important}
.clrep .clrep-stock-status{font-size:11px;display:block;color:#576c83;margin-top:4px}
.clrep .clrep-web-badge{display:inline-flex;align-items:center;background:#eaf1fb;color:#264a76;border:1px solid #ccdaef;border-radius:6px;padding:5px 10px;font-size:11px;font-weight:750;margin-left:5px}
.clrep .clrep-updated{font-size:11px;color:#617793}
.clrep .clrep-mismatch{color:#a8600e}
.clrep .part-card small{line-height:1.35}
@media(max-width:650px){.clrep .clrep-web-badge{margin-left:0;margin-top:6px}}
@media(prefers-reduced-motion:reduce){.clrep .hotspot.active{animation:none!important;background:#e53935!important;box-shadow:0 0 0 8px rgba(46,175,74,.3)!important}}

/* Direct add-to-cart from the Explosion part panel, scoped to the registered catalogue pages only. */
.clrep .clrep-cart-add{display:flex;align-items:center;gap:8px;margin-top:14px;padding:11px;background:#f7f9fc;border:1px solid #dce3ed;border-radius:10px}
.clrep .clrep-cart-add[hidden]{display:none}
.clrep .clrep-cart-add label{font-size:11px;font-weight:800;color:#385675}
.clrep .clrep-cart-add input{width:55px;min-width:0;min-height:38px;text-align:center;border:1px solid #cdd6e4;background:#fff;border-radius:7px;color:#102743;font-weight:800}
.clrep .clrep-cart-add .btn-cart-add{flex:1;min-height:40px;background:var(--yellow);border:1px solid var(--yellow);color:var(--navy);font-size:12px;font-weight:900;cursor:pointer}
.clrep .clrep-cart-add .btn-cart-add:disabled{opacity:.55;cursor:wait}
@media(max-width:420px){.clrep .clrep-cart-add{flex-wrap:wrap}.clrep .clrep-cart-add .btn-cart-add{min-width:145px}}

/* R5: katalogo sotto il despiece; solo dettagli e acquisto nel pannello destro. */
.clrep .workbench {
  grid-template-columns:minmax(0,1.74fr) minmax(385px,.76fr);
  grid-template-areas:"diagram details" "catalog details";
  align-items:start;
}
.clrep .diagram-pane{grid-area:diagram}
.clrep .catalog-pane{grid-area:catalog}
.clrep .rightpanel{grid-area:details;position:sticky;top:18px;align-self:start}
.clrep .rightpanel .selection{border-bottom:0}
.clrep .selection-title-link{color:inherit;text-decoration:none;cursor:default}
.clrep .selection-title-link[href]{cursor:pointer}
.clrep .selection-title-link[href]:hover,
.clrep .selection-title-link[href]:focus-visible{color:#0b5dc8;text-decoration:underline}
.clrep .catalog-pane .list-wrap{padding:18px 18px 20px}
.clrep .catalog-pane .parts-list{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;
  padding:2px 1px;max-height:520px;
}
.clrep .catalog-pane .part-card{
  border:1px solid var(--border);border-radius:9px;min-width:0;min-height:72px;
  grid-template-columns:46px minmax(0,1fr) auto;gap:8px;
}
.clrep .catalog-pane .part-thumb{width:46px;height:46px}
.clrep .catalog-pane .filters{flex-wrap:wrap}
@media(max-width:1250px){
  .clrep .workbench{grid-template-columns:minmax(0,1.4fr) minmax(340px,.82fr)}
  .clrep .catalog-pane .parts-list{grid-template-columns:1fr}
}
@media(max-width:1010px){
  .clrep .workbench{grid-template-columns:minmax(0,1fr);grid-template-areas:"diagram" "details" "catalog"}
  .clrep .rightpanel{position:static}
  .clrep .catalog-pane .parts-list{max-height:400px;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
  .clrep .catalog-pane .parts-list{grid-template-columns:1fr}
  .clrep .catalog-pane .list-wrap{padding:14px}
}


/* R6 | Right panel matches ONLY the exploded diagram row. Catalogue stays below left. */
@media (min-width:1011px) {
  .clrep .workbench {
    grid-template-areas: "diagram details" "catalog .";
    align-items: stretch;
  }
  .clrep .diagram-pane {align-self:stretch;}
  .clrep .rightpanel {
    grid-area:details;
    position:static;
    top:auto;
    align-self:stretch;
    height:100%;
    min-height:0;
  }
  .clrep .rightpanel .selection {
    flex:1 1 auto;
    height:100%;
    min-height:0;
    display:flex;
    flex-direction:column;
    padding:17px 18px;
  }
  .clrep .selection-item {
    display:flex;
    flex:1 1 auto;
    flex-direction:column;
    gap:9px;
    min-height:0;
  }
  .clrep .selection-photo-wrap {
    display:flex;
    flex:1 1 180px;
    min-height:155px;
    max-height:320px;
    width:100%;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    padding:8px;
    border-radius:12px;
    border:1px solid #e8edf4;
    background:#f8fafd;
  }
  .clrep .selection-photo-wrap > .selection-photo {
    display:block;
    width:100%;
    height:100%;
    max-height:100%;
    border:0;
    border-radius:0;
    background:transparent;
    object-fit:contain;
  }
  .clrep .selection-item h3 {
    margin:0 0 5px;
    font-size:17px;
    line-height:1.32;
  }
  .clrep .selection-info {flex:0 0 auto;min-width:0;}
  .clrep .selection-head {margin-bottom:10px;}
  .clrep .selection-info .sku {font-size:10.5px;line-height:1.45;}
  .clrep .selection-info .photo-note {margin-top:5px;}
  .clrep .details-grid {margin-top:12px;flex:0 0 auto;}
  .clrep .clrep-cart-add {margin-top:10px;flex:0 0 auto;}
  .clrep .feedback {flex:0 0 auto;}
}
@media (min-width:1011px) and (max-width:1250px) {
  .clrep .rightpanel .selection {padding:13px;}
  .clrep .selection-head {margin-bottom:7px;}
  .clrep .selection-photo-wrap {min-height:125px;max-height:220px;padding:5px;}
  .clrep .selection-item {gap:6px;}
  .clrep .selection-item h3 {font-size:15px;}
  .clrep .selection-info .sku {font-size:10px;}
  .clrep .selection-info .photo-note {margin-top:3px;}
  .clrep .details-grid {margin-top:8px;}
  .clrep .clrep-cart-add {margin-top:8px;padding:8px;}
}
@media (max-width:1010px) {
  .clrep .rightpanel {position:static;height:auto;}
  .clrep .selection-item {display:flex;flex-direction:column;gap:12px;}
  .clrep .selection-photo-wrap {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:230px;
    overflow:hidden;
    border-radius:12px;
    background:#f8fafd;
    border:1px solid #e8edf4;
    padding:8px;
  }
  .clrep .selection-photo-wrap > .selection-photo {
    display:block;width:100%;height:100%;object-fit:contain;
    border:0;border-radius:0;background:transparent;
  }
  .clrep .selection-info h3 {font-size:17px;}
}
@media (max-width:650px) {
  .clrep .selection-photo-wrap {height:200px;}
}


/* R8 | Family filters and return to the selected part. The R6 grid stays intact. */
.clrep .family-buttons{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px;align-items:center;}
.clrep .family-button{display:inline-flex;align-items:center;gap:7px;border:1px solid #cbd6e4;border-radius:8px;background:#fff;color:#38516f;padding:8px 10px;min-height:38px;font-size:11px;font-weight:750;line-height:1.2;}
.clrep .family-button:hover{background:#f4f7fb;border-color:#9dadc2;}
.clrep .family-button.active,.clrep .family-button[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff;}
.clrep .family-count{display:inline-block;min-width:20px;padding:2px 5px;border-radius:5px;background:#edf2f8;color:#4c6280;text-align:center;font-size:10px;font-weight:800;}
.clrep .family-button[aria-pressed="true"] .family-count{background:#ffffff25;color:#fff;}
.clrep .point-note{margin:9px 0 0;color:#64758b;font-size:11px;line-height:1.4;flex:0 0 auto;}
.clrep .selection-title-link:focus-visible{outline:3px solid #e4bd2f;outline-offset:3px;}
.clrep .workbench,.clrep #clrep-stage,.clrep #clrep-detail-panel{scroll-margin-top:var(--clrep-scroll-offset,100px);}
@media(max-width:650px){
  .clrep .family-buttons{gap:6px;margin-bottom:10px;}
  .clrep .family-button{padding:7px 8px;min-height:36px;font-size:10.5px;gap:5px;}
}

/* Shared model navigation: ordinary links keep model selection in the URL. */
.clrep .model-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:4px 0 16px;}
.clrep .model-heading h1{font-size:24px;line-height:1.2;font-weight:800;margin:0;color:var(--navy);}
.clrep .model-nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}
.clrep .model-nav a,.clrep .model-nav span{display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;border:1px solid #ced9e5;border-radius:8px;background:#fff;color:#38516f;font-size:12px;font-weight:750;text-decoration:none;}
.clrep .model-nav a:hover{border-color:#899db6;background:#f4f7fb;}
.clrep .model-nav a[aria-current="page"]{color:#fff;background:var(--navy);border-color:var(--navy);}
.clrep .model-nav a:focus-visible{outline:3px solid var(--yellow);outline-offset:3px;}
.clrep .model-nav span{opacity:.6;}
@media(max-width:650px){.clrep .model-heading h1{font-size:21px}.clrep .model-heading{gap:11px}.clrep .model-nav{gap:5px}.clrep .model-nav a,.clrep .model-nav span{padding:7px 9px;font-size:11px}}


/* One detail component for N003, SK-2101, BT4-1 and BT4-3. */
:is(.cln003,.clrep) .rightpanel {
  --detail-ink:#082c3d;--detail-yellow:#ffdf00;--detail-muted:#627582;
  --detail-line:#dfe7eb;--detail-soft:#f5f7f8;
  height:auto;min-height:0;align-self:start;border:1px solid var(--detail-line);
  border-radius:18px;background:#fff;box-shadow:0 8px 26px #082c3d08;
}
:is(.cln003,.clrep) .rightpanel .selection {
  display:block;height:auto;min-height:0;padding:22px;border:0;
  color:var(--detail-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}
:is(.cln003,.clrep) .rightpanel .selection-head,
:is(.cln003,.clrep) .rightpanel .photo-note,
:is(.cln003,.clrep) .rightpanel .point-note {display:none!important;}
:is(.cln003,.clrep) .rightpanel .selection-item {
  display:flex;flex-direction:column;gap:15px;min-width:0;min-height:0;flex:none;
}
:is(.cln003,.clrep) .rightpanel .selection-item > h3 {
  margin:0;font-size:23px;font-weight:750;line-height:1.22;letter-spacing:-.035em;
  color:var(--detail-ink);overflow-wrap:anywhere;
}
:is(.cln003,.clrep) .rightpanel .selection-title-link {
  color:inherit;font:inherit;text-decoration:none;
}
:is(.cln003,.clrep) .rightpanel .selection-title-link[href]:hover {
  color:var(--detail-ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;
}
:is(.cln003,.clrep) .rightpanel .selection-photo-wrap {
  display:flex;flex:none;align-items:center;justify-content:center;overflow:hidden;
  width:100%;height:240px;min-height:0;max-height:none;padding:12px;
  border:0;border-radius:12px;background:var(--detail-soft);
}
:is(.cln003,.clrep) .rightpanel .selection-photo-wrap > .selection-photo {
  display:block;width:100%;height:100%;max-height:100%;object-fit:contain;
  border:0;border-radius:0;background:transparent;
}
:is(.cln003,.clrep) .rightpanel .selection-photo-wrap > .placeholder {
  display:flex;align-items:center;justify-content:center;color:var(--detail-muted);
  font-size:14px;font-weight:500;text-align:center;padding:20px;
}
:is(.cln003,.clrep) .rightpanel .selection-info {min-width:0;flex:none;}
:is(.cln003,.clrep) .rightpanel .detail-references {
  display:grid;gap:7px;margin:0;padding:0;font-size:12px;line-height:1.45;
}
:is(.cln003,.clrep) .rightpanel .detail-reference {
  display:grid;grid-template-columns:35px minmax(0,1fr);gap:9px;min-width:0;
}
:is(.cln003,.clrep) .rightpanel .detail-reference dt {
  margin:0;color:var(--detail-muted);font-size:11px;font-weight:650;letter-spacing:.05em;
}
:is(.cln003,.clrep) .rightpanel .detail-reference dd {
  margin:0;color:var(--detail-ink);font-weight:600;overflow-wrap:anywhere;user-select:text;
}
:is(.cln003,.clrep) .rightpanel .details-grid {
  display:block;margin:20px 0 0;border:2px solid var(--detail-ink);
  border-radius:12px;overflow:hidden;
}
:is(.cln003,.clrep) .rightpanel .details-grid > .detailbox {
  min-height:0;border:0;border-radius:0;margin:0;
}
:is(.cln003,.clrep) .rightpanel .details-grid > .detailbox:first-child {
  padding:14px 16px 15px;background:var(--detail-yellow);color:var(--detail-ink);
}
:is(.cln003,.clrep) .rightpanel .details-grid > .detailbox:first-child > small {
  display:block;margin:0 0 6px;color:var(--detail-ink);font-size:10px;
  font-weight:750;line-height:1.25;letter-spacing:.08em;
}
:is(.cln003,.clrep) .rightpanel .details-grid > .detailbox:first-child > strong {
  display:block;color:var(--detail-ink);font-size:32px;font-weight:800;
  line-height:1.1;letter-spacing:-.04em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;
}
:is(.cln003,.clrep) .rightpanel .details-grid > .detailbox:first-child > strong.missing {
  font-size:17px;font-weight:650;letter-spacing:0;line-height:1.4;
}
:is(.cln003,.clrep) .rightpanel .details-grid > .detailbox:last-child {
  display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;
  gap:7px 12px;padding:12px 16px;background:#fff;border-top:1px solid var(--detail-ink);
}
:is(.cln003,.clrep) .rightpanel .details-grid > .detailbox:last-child > small {
  margin:0;color:var(--detail-muted);font-size:12px;line-height:1.4;font-weight:500;
}
:is(.cln003,.clrep) .rightpanel .details-grid > .detailbox:last-child > strong {
  display:inline-flex;align-items:center;gap:7px;font-size:12px;line-height:1.4;
  font-weight:650;color:var(--detail-muted);
}
:is(.cln003,.clrep) .rightpanel [data-stock-state="available"] {color:#167049!important;}
:is(.cln003,.clrep) .rightpanel [data-stock-state="available"]::before {
  content:"";width:6px;height:6px;flex:none;border-radius:50%;background:currentColor;
}
:is(.cln003,.clrep) .rightpanel [data-stock-state="unavailable"] {color:#8b3e28!important;}
:is(.cln003,.clrep) .rightpanel :is(.cln003-cart-add,.clrep-cart-add) {
  display:grid;grid-template-columns:78px minmax(0,1fr);grid-template-rows:auto 48px;
  align-items:stretch;gap:6px 12px;margin:17px 0 0;padding:0;border:0;border-radius:0;background:none;
}
:is(.cln003,.clrep) .rightpanel :is(.cln003-cart-add,.clrep-cart-add) > label {
  grid-column:1;grid-row:1;color:var(--detail-muted);font-size:11px;font-weight:650;line-height:1.3;
}
:is(.cln003,.clrep) .rightpanel :is(.cln003-cart-add,.clrep-cart-add) > input {
  grid-column:1;grid-row:2;width:100%;height:48px;min-height:48px;max-width:none;
  margin:0;padding:0 7px;border:1px solid #bacbd4;border-radius:9px;background:#fff;
  color:var(--detail-ink);font-size:16px;font-weight:650;text-align:center;
}
:is(.cln003,.clrep) .rightpanel .btn-cart-add {
  grid-column:2;grid-row:2;display:inline-flex;align-items:center;justify-content:center;gap:9px;
  width:100%;height:48px;min-width:0!important;min-height:48px;margin:0;padding:10px 12px;
  border:1px solid var(--detail-ink)!important;border-radius:9px;
  background:var(--detail-ink)!important;color:#fff!important;
  font-size:13px!important;font-weight:700!important;line-height:1.2;text-align:center;
  transition:background .15s ease,box-shadow .15s ease;
}
:is(.cln003,.clrep) .rightpanel .btn-cart-add svg {width:18px;height:18px;flex:none;color:var(--detail-yellow);}
:is(.cln003,.clrep) .rightpanel .btn-cart-add:hover:not(:disabled) {filter:none;box-shadow:0 3px 12px #082c3d24;}
:is(.cln003,.clrep) .rightpanel .btn-cart-add:disabled {opacity:.55;cursor:wait;}
:is(.cln003,.clrep) .rightpanel .feedback {
  margin:14px 0 0;padding:11px 12px;border-left:3px solid #dbaf2f;border-radius:4px;
  background:#fff9e6;color:#675315;font-size:12px;line-height:1.5;min-height:0;
}
:is(.cln003,.clrep) .rightpanel [hidden] {display:none!important;}
:is(.cln003,.clrep):not([data-initialized="1"]) .search input::placeholder {color:transparent;}
@media(max-width:1250px) and (min-width:1011px) {
  :is(.cln003,.clrep) .rightpanel .selection {padding:17px;}
  :is(.cln003,.clrep) .rightpanel .selection-photo-wrap {height:205px;}
  :is(.cln003,.clrep) .rightpanel .selection-item > h3 {font-size:21px;}
}
@media(max-width:650px) {
  :is(.cln003,.clrep) .rightpanel .selection {padding:17px;}
  :is(.cln003,.clrep) .rightpanel .selection-photo-wrap {height:220px;}
  :is(.cln003,.clrep) .rightpanel .selection-item > h3 {font-size:21px;}
  :is(.cln003,.clrep) .rightpanel .detail-references {font-size:11.5px;}
  :is(.cln003,.clrep) .rightpanel .details-grid {margin-top:17px;}
  :is(.cln003,.clrep) .rightpanel .details-grid > .detailbox:first-child > strong {font-size:29px;}
  :is(.cln003,.clrep) .rightpanel .details-grid > .detailbox:first-child > strong.missing {font-size:16px;}
}
@media(prefers-reduced-motion:reduce) {
  :is(.cln003,.clrep) .rightpanel .btn-cart-add {transition:none;}
}
