.dm-donation-form{box-sizing:border-box;max-width:100%;padding:24px;background:var(--dm-form-background,#fff);border:1px solid #e5e7eb;border-radius:12px;color:#1f2937}
.dm-donation-form *{box-sizing:border-box}
.dm-campaign-image{margin:0 0 16px}.dm-campaign-image img{display:block;width:100%;height:auto;border-radius:8px}
.dm-campaign-title{margin:0 0 12px;font-size:1.35em}.dm-campaign-description{margin-bottom:18px}
.dm-amounts{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px;padding:0;border:0}.dm-amounts legend{width:100%;margin-bottom:10px;font-weight:600}
.dm-amount-option{position:relative;display:inline-flex;cursor:pointer;margin:0!important}
.dm-amount-option input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
/* Style only the direct button surface. WooCommerce's nested price spans must not become extra boxes. */
.dm-amount-option > span{display:inline-flex!important;align-items:center;justify-content:center;gap:.3em;min-width:0;padding:12px 20px;border:1px solid #d1d5db;border-radius:6px;background:#f8fafc;text-align:center;line-height:1.35;white-space:nowrap;box-shadow:none!important;color:inherit;transition:background .15s ease,border-color .15s ease}
.dm-amount-option > span span,.dm-amount-option > span bdi{display:inline!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-width:0!important;color:inherit!important}
.dm-amount-option input:checked + span{border-color:#2271b1;background:#eaf3fb;box-shadow:0 0 0 1px #2271b1}
.dm-amount-option input:focus-visible + span{outline:2px solid #2271b1;outline-offset:3px}
.dm-custom-label,.dm-donor-fields label{display:block;margin:0 0 12px;font-weight:500}.dm-custom-amount,.dm-donor-fields input{display:block;width:100%;margin-top:6px;padding:11px;border:1px solid #d1d5db;border-radius:7px;background:#fff;color:#111}
.dm-donor-fields{margin-top:12px}.dm-anonymous{font-weight:400!important}.dm-anonymous input{display:inline;width:auto;margin-right:7px}
.dm-donation-submit{display:block;width:100%;padding:13px 18px;background:var(--dm-submit-bg,#2271b1);border:0;border-radius:8px;font-weight:700;cursor:pointer}.dm-donation-submit:hover{filter:brightness(.94)}
.dm-secondary{font-size:.9em;opacity:.85}.dm-goal{margin:16px 0}.dm-goal-label{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:.9em}.dm-progress{height:10px;overflow:hidden;border-radius:20px;background:#e5e7eb}.dm-progress span{display:block;height:100%;background:#2271b1;border-radius:20px}
.dm-donation-form input:focus,.dm-donation-form button:focus{outline:2px solid #2271b1;outline-offset:2px}
.dm-custom-choice > span{font-weight:600;border-style:solid!important}
.dm-custom-wrap[hidden]{display:none!important}.dm-custom-wrap{margin:0 0 16px}.dm-order-donation-amount{display:inline-block;margin-left:6px}.dm-secondary{white-space:nowrap}
