/* Sezione Elettropompe – si appoggia a /style.css (variabili --blu, --accento, ecc.) */
.scheda-top { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.scheda-foto { background: #fff; border: 1px solid var(--bordo); border-radius: var(--radius); padding: 18px; }
.scheda-foto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.scheda-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accento); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 6px; }
.scheda-testo p { margin-bottom: 14px; }
.scheda-testo h2 { font-size: 22px; margin: 22px 0 10px; }
.spunte { list-style: none; display: grid; gap: 8px; }
.spunte li { position: relative; padding-left: 28px; }
.spunte li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--blu); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.scheda-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-wa { background: #25d366; color: #fff; }

.tab-dati { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--bordo); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.tab-dati th, .tab-dati td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--bordo); vertical-align: top; }
.tab-dati thead th { background: var(--blu); color: #fff; font-weight: 700; }
.tab-dati tbody th { font-weight: 600; color: var(--testo); width: 48%; }
.tab-dati tbody tr:nth-child(even) { background: #fafbfc; }
.tab-dati tbody tr:last-child th, .tab-dati tbody tr:last-child td { border-bottom: 0; }
.tab-dati td { font-variant-numeric: tabular-nums; }
.tab-wrap { overflow-x: auto; }
.nota-dati { font-size: 13px; color: var(--testo-2); margin-top: 8px; }

.blocco { background: #fff; border: 1px solid var(--bordo); border-radius: var(--radius); padding: 24px; }
.blocco h3 { color: var(--blu); font-size: 19px; margin-bottom: 14px; }
.curva svg { width: 100%; height: auto; display: block; }
.curva .assi { stroke: #9aa6b2; stroke-width: 1; }
.curva .griglia line { stroke: var(--bordo); stroke-width: 1; }
.curva text { font-family: Inter, Arial, sans-serif; font-size: 12px; fill: var(--testo-2); }
.curva .lab-serie { font-size: 13px; font-weight: 700; }
.legenda { display: flex; gap: 18px; font-size: 14px; color: var(--testo-2); margin-top: 8px; }
.legenda span::before { content: ""; display: inline-block; width: 18px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; background: currentColor; }
.l50 { color: var(--blu); } .l60 { color: var(--accento); }

.doc-list { list-style: none; display: grid; gap: 10px; }
.doc-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--bordo); border-radius: 8px; font-weight: 600; color: var(--blu); background: #fff; }
.doc-list a:hover { border-color: var(--blu); }
.doc-list .pdf { font-size: 11px; font-weight: 800; color: #fff; background: #c0392b; border-radius: 4px; padding: 3px 6px; }
.ordine { background: #fff8ec; border: 1px solid #f6d7a8; border-radius: var(--radius); padding: 14px 18px; margin-top: 18px; font-size: 15px; }
.correlate { display: flex; flex-wrap: wrap; gap: 10px; }
.correlate a { padding: 9px 16px; border-radius: 30px; border: 1px solid var(--bordo); background: #fff; font-weight: 600; color: var(--blu); }
.correlate a:hover { border-color: var(--blu); }

@media (max-width: 900px) {
  .scheda-top { grid-template-columns: 1fr; gap: 24px; }
}

/* indici */
.card.prod { display: flex; flex-direction: column; border: 1px solid var(--bordo); border-top: 4px solid var(--blu); }
.card.prod img { object-fit: contain; padding: 10px; }
.card.prod .spec { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--blu); }
.card.prod .link { margin-top: auto; padding-top: 12px; }
.gruppo .griglia { margin-top: 4px; }
.filtri { display: flex; flex-wrap: wrap; gap: 8px; }
.filtri button { font: inherit; font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 30px; border: 1px solid var(--bordo); background: #fff; color: var(--blu); cursor: pointer; }
.filtri button.attivo { background: var(--blu); border-color: var(--blu); color: #fff; }
.legenda { flex-wrap: wrap; }
.legenda span.tratt::before { background: none; border-top: 3px dashed currentColor; height: 0; }
.tab-quote th, .tab-quote td { text-align: center; white-space: nowrap; padding: 9px 10px; }
.tab-quote td:first-child { font-weight: 600; }
.due > *, .pila > * { min-width: 0; }
.pila { display: grid; gap: 36px; }
.pila .curva, .pila .stretto { max-width: 760px; }
.disegno { background: #fff; border: 1px solid var(--bordo); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; max-width: 760px; }
.disegno img { width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.disegno figcaption { font-size: 13px; color: var(--testo-2); margin-top: 10px; }
.h-tab { color: var(--blu); font-size: 19px; margin-bottom: 12px; }
.tab-dati thead tr.m3 th { background: var(--blu-scuro); font-weight: 600; font-size: 13px; }
.pila .tab-quote td:first-child { text-align: left; }
