/* /calcolo-spese-di-spedizione/ (29/11/2026). L'eroe, i passi, i riquadri e le FAQ vengono da pagina-shop.css e pagina-etichetta.css. */
.ta-strumento { margin-top: -18px; }
.ta-scheda { background: var(--carta); border: 1px solid var(--linea); border-radius: 18px; box-shadow: var(--ombra); padding: 22px 24px 24px; }
.ta-scheda h2 { margin: 0 0 14px; font-size: 1.25rem; color: var(--inchiostro); letter-spacing: -.02em; }
.ta-campi { display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; gap: 14px; align-items: end; }
.ta-campo { display: grid; gap: 6px; font-weight: 700; font-size: .86rem; color: var(--inchiostro); }
.ta-campo small { font-weight: 500; color: var(--muto); }
.ta-campo input, .ta-campo select { font: inherit; font-weight: 600; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--inchiostro); width: 100%; min-width: 0; }
.ta-campo input:focus, .ta-campo select:focus { outline: 2px solid var(--primario); outline-offset: 1px; border-color: var(--primario); }
.ta-campi .bottone { padding: 12px 22px; font-size: 1rem; white-space: nowrap; }
.ta-nota { margin: 12px 0 0; font-size: .88rem; color: var(--muto); min-height: 1.3em; }
.ta-nota.male { color: var(--male); font-weight: 600; }

.ta-esito { margin-top: 22px; }
.ta-esito[hidden] { display: none; }
.ta-scorri { overflow-x: auto; border: 1px solid var(--linea); border-radius: 14px; }
.ta-tab { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px; background: #fff; }
.ta-tab th, .ta-tab td { padding: 11px 14px; text-align: right; border-bottom: 1px solid #eef2f7; white-space: nowrap; }
.ta-tab th:first-child, .ta-tab td:first-child { text-align: left; }
.ta-tab thead th { background: #f8fafc; color: #475569; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; vertical-align: bottom; white-space: normal; }
.ta-tab thead th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muto); }
.ta-tab tbody tr:last-child td { border-bottom: 0; }
.ta-tab td:first-child b { color: var(--inchiostro); }
.ta-tab td:first-child small, .ta-tab td small { display: block; color: var(--muto); font-size: .78rem; }
.ta-tab td.ta-chiedi { font-weight: 800; color: var(--primario-scuro); background: #f5f3ff; font-size: 1rem; }
.ta-tab thead th.ta-chiedi { background: #ede9fe; color: #4338ca; }
.ta-tab td.ta-attesa { color: #94a3b8; font-weight: 500; }
.ta-tab td.ta-attesa::after { content: "…"; }
.ta-azioni { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.ta-azioni span { font-size: .86rem; color: var(--muto); }
.ta-legenda { margin: 12px 0 0; font-size: .86rem; color: var(--muto); max-width: 860px; }

.ta-account { margin-top: 22px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: center; background: linear-gradient(135deg, #eef2ff, #f5f3ff); border: 1px solid #c7d2fe; border-radius: 18px; padding: 22px 24px; }
.ta-account h2 { margin: 0 0 8px; font-size: 1.2rem; color: var(--inchiostro); letter-spacing: -.02em; }
.ta-account p { margin: 0; font-size: .93rem; }
.ta-account ul { margin: 10px 0 0; padding-left: 18px; font-size: .9rem; }
.ta-account form { display: grid; gap: 10px; }
.ta-account input[type=email] { font: inherit; padding: 12px; border: 1px solid #c7d2fe; border-radius: 10px; width: 100%; }
.ta-account .bottone { padding: 12px 18px; font-size: 1rem; }
.ta-account small { color: var(--muto); font-size: .8rem; }

.ta-due { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ta-due div { background: var(--carta); border: 1px solid var(--linea); border-radius: 14px; padding: 16px 18px; }
.ta-due h3 { margin: 0 0 6px; font-size: 1rem; color: var(--inchiostro); }
.ta-due p { margin: 0; font-size: .9rem; }

@media (max-width: 760px) {
  .ta-campi { grid-template-columns: 1fr 1fr; }
  .ta-campi .ta-campo:first-child, .ta-campi .bottone { grid-column: 1 / -1; }
  .ta-account, .ta-due { grid-template-columns: 1fr; }
  .ta-scheda { padding: 18px 16px 20px; }
}
@media print {
  .testata, .piede, .sg-hero, .ta-campi, .ta-azioni, .ta-account, .et-testo, .sg-chiusa, .briciole, .ta-nota, .chat-bolla, #pm-chat { display: none !important; }
  .ta-scheda { border: 0; box-shadow: none; padding: 0; }
  .ta-scorri { border: 0; overflow: visible; }
}

/* Classi di spedizione per scatola (01/12/2026) */
.cl-scheda { margin-top: 22px; }
.cl-nuovo { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 99px; background: #fef3c7; color: #92400e; font-size: .76rem; font-weight: 800; letter-spacing: .02em; }
.cl-intro { margin: 0 0 14px; font-size: .93rem; max-width: 860px; }
.cl-cap { max-width: 260px; margin-bottom: 12px; }
.cl-righe { display: grid; gap: 10px; }
.cl-riga { display: grid; grid-template-columns: 1.2fr 1.5fr repeat(4, .62fr) 34px; gap: 10px; align-items: end; padding: 12px; border: 1px solid var(--linea); border-radius: 12px; background: #f8fafc; }
.cl-via { width: 34px; height: 42px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #64748b; font-size: 1.2rem; cursor: pointer; }
.cl-via:hover { color: var(--male); border-color: var(--male); }
.cl-sotto { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.cl-sotto span { font-size: .84rem; color: var(--muto); margin-right: auto; }
.cl-sotto .bottone { padding: 12px 20px; }
.ta-tab td small em { display: block; font-style: normal; color: #b45309; font-weight: 600; }
.cl-h3 { margin: 22px 0 6px; font-size: 1.05rem; color: var(--inchiostro); }
.cl-woo { margin: 0; padding: 16px 18px; background: #0f172a; color: #e2e8f0; border-radius: 12px; font-size: .86rem; line-height: 1.55; white-space: pre-wrap; overflow-x: auto; }
.cl-woo:empty { display: none; }
@media (max-width: 760px) {
  .cl-riga { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .cl-riga .cl-nome, .cl-riga .cl-tipo { grid-column: span 2; }
  .cl-via { grid-column: 4; justify-self: end; }
  .cl-cap { max-width: none; }
}
@media print { .cl-scheda { display: none !important; } }
