.referral-payment{margin:1.5rem 0;padding:1.25rem;border:1px solid var(--line,#e3d7cc);border-radius:16px;background:var(--cream,#f7f4ed)}
.referral-payment label,.referral-panel label{display:block;font-weight:600;margin-bottom:.55rem}
.referral-payment p,.referral-panel p{line-height:1.65}
.referral-payment p{margin:.6rem 0}.referral-payment small{display:block;line-height:1.6}
.referral-code-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:.75rem}
.referral-code-row input{flex:1 1 14rem;width:100%;min-width:0;padding:.85rem 1rem;border:1px solid #c6b9ad;border-radius:12px;background:#fff;color:#43242b;font:inherit;font-size:16px;letter-spacing:.02em}
.referral-code-row .button{flex:0 1 auto;white-space:normal;min-height:44px}
.referral-balance strong{color:#2e6973;font-size:1.8rem}.formula-guidance{line-height:1.7;padding:1rem 0}
@media(max-width:540px){.referral-code-row{display:grid;grid-template-columns:minmax(0,1fr)}.referral-code-row .button{width:100%}.referral-payment{padding:1rem}}

/* Garder le code et le montant au-dessus de la confirmation, sans bouton superposé. */
.payment-card:has(.referral-payment) .payment-cta{position:static}

.member-loyalty{border-bottom:1px solid #dfcfc4;padding-bottom:20px;margin-bottom:24px}.member-loyalty p{font-size:.9rem;line-height:1.7}.member-loyalty h3{margin:0 0 12px}

@media(max-width:760px){#result-area .question-nav .button{flex:1;min-width:0;padding-inline:12px}}

.discount-choice{margin:0;padding:0;min-width:0;border:0}.discount-choice legend{font-weight:600;line-height:1.5;margin-bottom:.7rem;padding:0}.discount-choice-options{display:flex;flex-wrap:wrap;gap:.75rem}.referral-payment .discount-choice-options label{display:inline-flex;align-items:center;gap:.65rem;min-height:44px;margin:0;padding:.55rem 1rem;border:1px solid var(--line,#e3d7cc);border-radius:24px;cursor:pointer;font-weight:500;background:var(--cream,#f7f4ed)}.discount-choice-options input{width:18px;height:18px;accent-color:var(--wine,#43242b)}.discount-choice-options label:has(input:checked){border-color:var(--wine,#43242b)}.discount-choice-options label:has(input:focus-visible){outline:2px solid var(--wine,#43242b);outline-offset:3px}#discount-code-fields[hidden]{display:none}.discount-code-field{margin-top:1.25rem}#discount-code-help{margin-top:1rem}#referral-result:empty{display:none}
