/* RTM USATO - SCHEDA DETTAGLIO PRODOTTO */
#scheda-prodotto{width:100%;max-width:1240px;margin:0 auto;padding:24px 0;box-sizing:border-box;color:#222;font-family:inherit;}
#scheda-prodotto *{box-sizing:border-box;}
#scheda-prodotto .sp-loading,#scheda-prodotto .sp-error{padding:32px 20px;text-align:center;background:#f7f7f7;border-radius:10px;}
#scheda-prodotto .sp-back{display:inline-block;margin:0 0 22px;color:#333;text-decoration:none;font-size:14px;}
#scheda-prodotto .sp-back:hover{text-decoration:underline;}
#scheda-prodotto .sp-card{display:grid;grid-template-columns:minmax(0,46%) minmax(0,54%);gap:34px;align-items:start;}
#scheda-prodotto .sp-media{min-width:0;}
#scheda-prodotto .sp-main-wrap{width:100%;height:450px;padding:18px;border:1px solid #eee;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;}
#scheda-prodotto .sp-main{display:block;width:100%;height:100%;object-fit:contain;}
#scheda-prodotto .sp-main-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#888;background:#f7f7f7;text-align:center;padding:20px;}
#scheda-prodotto .sp-gallery{display:flex;gap:8px;overflow-x:auto;padding:12px 1px 8px;max-width:100%;}
#scheda-prodotto .sp-thumb{flex:0 0 76px;width:76px;height:64px;padding:0;border:2px solid transparent;border-radius:6px;background:#fff;overflow:hidden;cursor:pointer;}
#scheda-prodotto .sp-thumb img{display:block;width:100%;height:100%;object-fit:cover;}
#scheda-prodotto .sp-thumb.is-active{border-color:#1f5d8f;}
#scheda-prodotto .sp-info{min-width:0;}
#scheda-prodotto .sp-logo{display:block;max-width:180px;max-height:64px;object-fit:contain;object-position:left center;margin:0 0 16px;}
#scheda-prodotto .sp-code{font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:#777;margin:0 0 5px;}
#scheda-prodotto .sp-title{font-size:clamp(26px,3vw,36px);line-height:1.2;font-weight:700;margin:0 0 18px;color:inherit;}
#scheda-prodotto .sp-description{font-size:16px;line-height:1.65;margin:0 0 22px;white-space:pre-line;overflow-wrap:anywhere;}
#scheda-prodotto .sp-section-title{font-size:18px;line-height:1.3;font-weight:700;margin:22px 0 10px;}
#scheda-prodotto .sp-specs{margin:0;padding:0;}
#scheda-prodotto .sp-spec-row{display:grid;grid-template-columns:minmax(100px,34%) minmax(0,1fr);gap:12px;padding:9px 0;border-bottom:1px solid #eee;line-height:1.5;}
#scheda-prodotto .sp-spec-row dt{font-weight:700;margin:0;}
#scheda-prodotto .sp-spec-row dd{margin:0;white-space:pre-line;overflow-wrap:anywhere;}
#scheda-prodotto .sp-notes{line-height:1.6;white-space:pre-line;overflow-wrap:anywhere;}
#scheda-prodotto .sp-price{font-size:25px;line-height:1.3;font-weight:700;margin:26px 0 18px;}
#scheda-prodotto .sp-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;}
#scheda-prodotto .sp-btn{display:inline-block;padding:12px 20px;border-radius:6px;text-decoration:none;font-weight:600;}
#scheda-prodotto .sp-btn-primary{background:#111;color:#fff;}
#scheda-prodotto .sp-btn-secondary{border:1px solid #bbb;color:#222;background:#fff;}
#scheda-prodotto .sp-category{display:inline-block;margin-top:20px;font-size:12px;color:#666;text-transform:uppercase;letter-spacing:.05em;}
@media(max-width:850px){#scheda-prodotto .sp-card{grid-template-columns:minmax(0,1fr);gap:24px;}#scheda-prodotto .sp-main-wrap{height:390px;}#scheda-prodotto .sp-title{font-size:29px;}}
@media(max-width:600px){#scheda-prodotto{padding:16px 0;}#scheda-prodotto .sp-main-wrap{height:290px;padding:12px;}#scheda-prodotto .sp-info{padding:0 2px;}#scheda-prodotto .sp-spec-row{grid-template-columns:110px minmax(0,1fr);gap:8px;}#scheda-prodotto .sp-price{font-size:23px;}#scheda-prodotto .sp-btn{width:100%;text-align:center;}}
