/* Carta «Su misura» e configuratore (Andrea 19/11/2026, terza versione). Collegato solo dalle 6 pagine prezzi
   (src/components/pages/su-misura-assets.tsx). Carta: come le altre, prezzo «Personalizzato», pulsante «Personalizza».
   Configuratore: pannello largo sotto le carte, prezzo in alto, cursori orizzontali. */

/* ---------- carta */
.sm-pc strong{font-size:30px;line-height:42px;letter-spacing:-.03em;font-weight:700;color:#13271e;white-space:nowrap}
.sendapp-pricing-experience .plan .sm-pc strong{font-size:28px;line-height:1.6;font-weight:600;letter-spacing:-.03em}
.sm-pbd{display:block;margin-top:6px;font-size:14.5px;line-height:1.35;color:#5f7068;min-height:1.35em}
.sendapp-pricing-experience .plan .sm-pbd{font-size:11px;line-height:1.6}
.sm-open{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;margin-top:auto;padding:0 18px;border-radius:999px;
  font-size:16px;font-weight:600;text-decoration:none;color:#fff;background:#13271e;transition:background .2s,transform .2s}
.pv .pv-card .sm-open{margin-top:18px}
.pv .pv-card .pv-cx{margin-bottom:0}
.sm-open::before{content:"";width:18px;height:18px;flex:none;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M21 4h-7M10 4H3M21 12h-9M8 12H3M21 20h-5M12 20H3M14 2v4M8 10v4M16 18v4'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M21 4h-7M10 4H3M21 12h-9M8 12H3M21 20h-5M12 20H3M14 2v4M8 10v4M16 18v4'/%3E%3C/svg%3E") center/contain no-repeat}
.sm-open:hover{background:#0b8042}
.sm-open.sm-on{background:#0b8042}
.sm-open.sm-wait{opacity:.7;cursor:progress}
.sendapp-pricing-experience .plan .sm-open{grid-column:1/-1;margin-top:18px;min-height:44px;font-size:14px;border-radius:10px;color:#fff;text-decoration:none}
.sendapp-pricing-experience .plan .sm-open:hover{color:#fff}
.sm-sel{box-shadow:inset 0 4px 0 #16d46d,0 0 0 2px #16d46d,0 24px 50px -36px #0b3a2080!important}
.sendapp-pricing-experience .sm-sel{border-color:#16d46d}

/* ---------- pannello */
.smp{--g:#16d46d;--gd:#0b8042;--ink:#13271e;--mu:#5f7068;--ln:#e3ece7;margin:22px 0 6px;font-family:inherit;color:var(--ink)}
.smp[hidden]{display:none}
.smp-in{position:relative;border-radius:28px;background:#fff;padding:34px 36px 30px;
  box-shadow:0 0 0 1px #0b80421f,0 40px 80px -50px #0b3a2066;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);grid-template-areas:"head price" "grid grid" "foot foot";gap:26px 40px}
.smp-in-on .smp-in{animation:smp-in .32s cubic-bezier(.2,.7,.2,1)}
@keyframes smp-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

.smp-head{grid-area:head;display:flex;align-items:center;gap:16px;min-height:100%}
.smp-ht{flex:1;min-width:0}
.smp-t{margin:0;font-size:clamp(34px,3.6vw,52px);line-height:1.04;letter-spacing:-.035em;font-weight:700;max-width:16ch}
.smp-t span{color:var(--gd)}
.smp-lead{margin:16px 0 0;max-width:44ch;font-size:clamp(16px,1.35vw,19px);line-height:1.5;color:var(--mu)}
.smp-x{position:absolute;top:16px;right:16px;width:40px;height:40px;border:0;border-radius:50%;background:#f1f6f3;color:var(--ink);cursor:pointer;display:grid;place-items:center}
.smp-x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.smp-x:hover{background:#e3efe8}

/* prezzo in alto: la pillola verde */
.smp-price{grid-area:price;align-self:start;margin-right:40px;border-radius:22px;padding:18px 22px 16px;
  background:linear-gradient(150deg,#16d46d,#0fb85c);color:#052814;box-shadow:0 18px 40px -22px #0b8042b3;transition:opacity .2s}
.smp-amt{display:flex;align-items:baseline;gap:6px}
.smp-amt b{font-size:46px;line-height:1;letter-spacing:-.04em;font-weight:700;font-variant-numeric:tabular-nums}
.smp-amt span{font-size:17px;font-weight:600}
.smp-ptxt p{margin:0}
.smp-l1{margin-top:6px!important;font-size:14px;font-weight:600;opacity:.85}
.smp-l2{margin-top:8px!important;padding-top:8px;border-top:1px solid #05281426;font-size:14px;line-height:1.35;font-weight:600}
.smp-l2:empty,.smp-bf:empty,.smp-msg:empty{display:none}
.smp-bf{margin-top:6px!important;font-size:13px;line-height:1.35;font-weight:700;color:#052814;background:#ffffff4d;border-radius:8px;padding:5px 8px}
.smp-msg{font-size:15px;line-height:1.4;font-weight:600}
.smp-cbtn{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:999px;background:#052814;color:#fff;font-weight:600;text-decoration:none}
.smp-cbtn[hidden]{display:none}
.smp-contact .smp-msg{margin-top:10px!important}
.smp-err .smp-price{background:#f1f6f3;color:var(--ink);box-shadow:none}
.smp-wait .smp-price{opacity:.6}

/* cursori */
.smp-grid{grid-area:grid;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 44px;padding-top:24px;border-top:1px solid var(--ln)}
.smp-row{min-width:0}
.smp-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.smp-top label{font-size:15.5px;font-weight:600}
.smp-val{font-size:17px;font-weight:700;color:var(--gd);font-variant-numeric:tabular-nums;white-space:nowrap}
.smp-range{--v:0%;display:block;width:100%;height:30px;margin:6px 0 2px;background:transparent;-webkit-appearance:none;appearance:none;cursor:pointer;touch-action:pan-y}
.smp-range:focus{outline:none}
.smp-range::-webkit-slider-runnable-track{height:8px;border-radius:999px;background:linear-gradient(90deg,var(--g) var(--v),#e3ece7 var(--v))}
.smp-range::-moz-range-track{height:8px;border-radius:999px;background:#e3ece7}
.smp-range::-moz-range-progress{height:8px;border-radius:999px;background:var(--g)}
.smp-range::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;margin-top:-9px;border-radius:50%;background:#fff;border:3px solid var(--g);box-shadow:0 4px 12px -2px #0b804266;transition:transform .15s}
.smp-range::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#fff;border:3px solid var(--g);box-shadow:0 4px 12px -2px #0b804266}
.smp-range:active::-webkit-slider-thumb{transform:scale(1.12)}
.smp-range:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 4px #16d46d4d}
.smp-range:focus-visible::-moz-range-thumb{box-shadow:0 0 0 4px #16d46d4d}
.smp-ends{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;color:var(--mu)}

/* piede */
.smp-foot{grid-area:foot;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px 22px;padding-top:22px;border-top:1px solid var(--ln)}
.smp-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.smp-buy,.smp-trial{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:999px;font-size:16px;font-weight:600;text-decoration:none}
.smp-buy{background:var(--g);color:#052814;box-shadow:0 10px 30px -12px #16d46dcc}
.smp-buy:hover{background:#12c463}
.smp-trial{color:var(--gd);box-shadow:inset 0 0 0 1.5px var(--g)}
.smp-trial:hover{background:#ecfbf2}
.smp-reset{border:0;background:none;padding:8px 4px;font:inherit;font-size:14px;font-weight:600;color:var(--mu);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.smp-reset[hidden]{display:none}
.smp-note{margin:0;font-size:13.5px;line-height:1.45;color:var(--mu)}
.smp-inc{grid-column:1/-1;border-radius:16px;background:#f6faf7;padding:0 18px}
.smp-inc summary{cursor:pointer;padding:14px 0;font-size:15px;font-weight:600;list-style:none;display:flex;align-items:center;justify-content:space-between}
.smp-inc summary::-webkit-details-marker{display:none}
.smp-inc summary::after{content:"";width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-3px);transition:transform .2s}
.smp-inc[open] summary::after{transform:rotate(-135deg)}
.smp-inc ul{margin:0;padding:0 0 6px;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 24px}
.smp-inc li{display:flex;justify-content:space-between;gap:10px;font-size:14px;padding:6px 0;border-bottom:1px solid var(--ln)}
.smp-inc li b{white-space:nowrap}
.smp-inc-n,.smp-feat{margin:8px 0 14px;font-size:13px;color:var(--mu)}
.smp-feat{margin-top:0}

/* tablet */
@media (max-width:980px){
  .smp-in{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "price" "grid" "foot";padding:28px 24px 24px;gap:20px}
  .smp-price{margin-right:0}
  .smp-inc ul{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* telefono: una colonna, prezzo che resta in vista sotto l'intestazione mentre si spostano i cursori */
@media (max-width:640px){
  .smp{margin:18px 0 0}
  .smp-in{border-radius:22px;padding:22px 16px 18px;gap:16px}
  .smp-t{font-size:29px;padding-right:44px;max-width:none}
  .smp-lead{font-size:15px}
  .smp-x{top:12px;right:12px}
  .smp-price{position:sticky;top:calc(var(--smp-top,0px) + 8px);z-index:3;padding:10px 14px;border-radius:16px;display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}
  .smp-amt b{font-size:30px}
  .smp-amt span{font-size:14px}
  .smp-ptxt{flex:1 1 0;min-width:0}
  .smp-l1{display:none}
  .smp-l2{margin:0!important;padding:0;border:0;font-size:12.5px;line-height:1.3}
  .smp-bf{margin-top:4px!important;padding:3px 6px;font-size:11.5px;line-height:1.3}
  .smp-grid{grid-template-columns:minmax(0,1fr);gap:18px;padding-top:18px}
  .smp-range{height:36px}
  .smp-range::-webkit-slider-thumb{width:30px;height:30px;margin-top:-11px}
  .smp-range::-moz-range-thumb{width:24px;height:24px}
  .smp-foot{grid-template-columns:minmax(0,1fr);padding-top:18px}
  .smp-ctas{display:grid;grid-template-columns:minmax(0,1fr)}
  .smp-buy,.smp-trial{width:100%}
  .smp-reset{justify-self:center}
  .smp-inc{padding:0 14px}
  .smp-inc ul{grid-template-columns:minmax(0,1fr)}
  .sm-pc strong{font-size:26px}

}
/* pagine estere sul telefono: la carta è a due colonne; «Personalizzato» va su una riga sua, sotto il nome */
@media (max-width:700px){
  .sendapp-pricing-experience .plan .sm-pc{grid-column:1/-1;grid-row:auto;justify-content:flex-start;margin-top:12px}
  .sendapp-pricing-experience .plan .sm-pc strong{font-size:24px}
}
@media (prefers-reduced-motion:reduce){
  .smp-in-on .smp-in{animation:none}
  .sm-open,.smp-price,.smp-range::-webkit-slider-thumb,.smp-inc summary::after{transition:none}
}
.smp-tied{display:block;margin-top:2px;font-size:12.5px;line-height:1.35;color:var(--gd);font-weight:600}
