.mdr-order-form{--mdr-blue:#0f4e8e;--mdr-green:#009f68;--mdr-ink:#152b41;--mdr-muted:#5d7081;max-width:1040px;margin:22px auto;color:var(--mdr-ink);font-family:inherit}
.mdr-order-form *{box-sizing:border-box}
.mdr-form-head{background:linear-gradient(115deg,#0c457e,#0e765d);color:#fff;padding:28px 30px;border-radius:16px;margin-bottom:25px}
.mdr-form-head h2{margin:4px 0 6px!important;color:#fff!important;font-size:clamp(23px,3vw,34px)!important;line-height:1.2}
.mdr-form-head p{color:#f3fbff;margin:0;font-size:15px}.mdr-eyebrow{letter-spacing:.13em;font-size:11px;font-weight:800;opacity:.85}
.mdr-order-form>h3{font-size:19px;margin:30px 0 14px;color:var(--mdr-blue);font-weight:750;border-left:5px solid var(--mdr-green);padding-left:11px}
.mdr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 21px}
.mdr-field{display:block;font-size:14px;line-height:1.45;font-weight:680;margin:0}
.mdr-field small,.mdr-small{display:block;font-size:12px;color:var(--mdr-muted);font-weight:400;margin-top:5px;line-height:1.55}
.mdr-field .wpcf7-form-control-wrap{display:block;margin-top:6px}
.mdr-order-form input[type=text],.mdr-order-form input[type=email],.mdr-order-form input[type=tel],.mdr-order-form input[type=number],.mdr-order-form select,.mdr-order-form textarea{width:100%;max-width:100%;display:block;border:1px solid #cbd8e3;border-radius:9px;background:#fff;padding:12px 13px;font:inherit;font-size:15px;color:var(--mdr-ink);line-height:1.3;min-height:48px;box-shadow:none}
.mdr-order-form textarea{min-height:82px;resize:vertical}
.mdr-order-form input:focus,.mdr-order-form select:focus,.mdr-order-form textarea:focus{outline:2px solid #79b9dc;outline-offset:1px}
.mdr-full{grid-column:1/-1}.mdr-hide{display:none!important}
.mdr-summary{background:#f2f7fb;border:1px solid #d6e4ef;border-radius:16px;padding:20px 23px;margin:28px 0}
.mdr-summary h3{margin:0 0 14px;font-size:18px!important;color:var(--mdr-blue)}
.mdr-sum-row{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:10px 0;border-bottom:1px solid #dce6ed;font-size:15px}
.mdr-sum-row strong{font-variant-numeric:tabular-nums;font-weight:700;white-space:nowrap}
.mdr-grand{border-bottom:0;border-top:2px solid #bfd0de;margin-top:8px;padding-top:15px;font-size:19px;font-weight:800}.mdr-grand strong{font-size:24px;color:var(--mdr-green)}
.mdr-summary-note{font-size:12px;margin:11px 0 0;color:var(--mdr-muted)}.mdr-coupon-message[data-valid=true]{color:#008d5a;font-weight:650}.mdr-coupon-message[data-valid=false]{color:#c3473f}
.mdr-privacy{margin:20px 0 15px;font-size:13px;line-height:1.6}.mdr-privacy .wpcf7-list-item{margin-left:0}.mdr-privacy a{color:var(--mdr-blue);text-decoration:underline}
.mdr-order-form .mdr-submit{display:inline-block!important;background:var(--mdr-green)!important;color:#fff!important;border:0!important;border-radius:9px!important;font-size:16px!important;font-weight:750!important;padding:15px 28px!important;cursor:pointer!important;min-width:225px!important;box-shadow:none!important}
.mdr-order-form .mdr-submit:hover{filter:brightness(.91)}.mdr-order-form .wpcf7-spinner{vertical-align:middle}.mdr-order-form .wpcf7-not-valid-tip{margin-top:4px;color:#b92727}
.mdr-return-banner{max-width:1040px;margin:18px auto;background:#eef7f5;border:1px solid #78b39d;color:#174938;padding:16px 20px;border-radius:9px;font-weight:600}
@media(max-width:670px){.mdr-grid{grid-template-columns:1fr}.mdr-form-head{padding:23px 19px}.mdr-summary{padding:18px 15px}.mdr-grand strong{font-size:20px}.mdr-order-form .mdr-submit{width:100%!important}}

/* Mantiene separate e allineate le etichette dagli importi anche con temi aggressivi. */
.mdr-order-form .mdr-sum-row{display:flex!important;justify-content:space-between!important;align-items:baseline!important;gap:14px!important}
.mdr-order-form .mdr-sum-row strong{margin-left:auto;text-align:right}
.mdr-order-form .mdr-grand strong{white-space:normal;overflow-wrap:anywhere}

/* Pagina di conferma Stripe: nessun esito positivo senza verifica server-side. */
.mdr-success-page{max-width:760px;margin:42px auto 52px;padding:48px 28px;text-align:center;background:#fff;border:1px solid #dde7e4;border-radius:18px;box-shadow:0 12px 42px rgba(20,45,52,.07);color:#1d3440;line-height:1.65}
.mdr-success-page h2{font-size:clamp(25px,4vw,34px)!important;line-height:1.2!important;margin:20px 0 14px!important;color:#153b35!important;font-weight:800!important}
.mdr-success-page p{font-size:16px;max-width:560px;margin:0 auto 14px;color:#405963}
.mdr-success-page .mdr-success-symbol{display:inline-grid;place-items:center;width:78px;height:78px;background:#e4f7ee;border:3px solid #20a46e;border-radius:50%;color:#087847;font-size:48px;font-weight:700;line-height:1}
.mdr-success-page .mdr-success-order{margin-top:22px;font-size:17px}
.mdr-success-page .mdr-success-back{display:inline-block;margin-top:19px;padding:13px 26px;background:#0c795e;border-radius:9px;color:#fff!important;font-size:15px;font-weight:750;text-decoration:none!important}
.mdr-success-page .mdr-success-back:hover{background:#075c47;color:#fff!important}
.mdr-success-pending{background:#fbfcfd;border-color:#e2e6ec}
@media(max-width:670px){.mdr-success-page{margin:22px 12px;padding:34px 20px}.mdr-success-page p{font-size:15px}}
