.bmcf-donation-backdrop[hidden] { display: none; }
.bmcf-donation-backdrop { position: fixed; z-index: 100000; inset: 0; display: grid; place-items: center; overflow: auto; background: rgba(18, 30, 22, .66); }
.bmcf-donation-dialog { position: relative; display: flex; width: min(700px, 100vw); height: min(720px, 100dvh); min-height: 620px; flex-direction: column; overflow: auto; border-radius: 26px; background: #f5f5ef; color: #191f19; box-shadow: 0 20px 70px rgba(0, 0, 0, .25); }
.bmcf-donation-dialog:focus { outline: none !important; }
.bmcf-popup-close { position: absolute; z-index: 4; top: 32px; right: 32px; display: grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.bmcf-popup-close img { display: block; width: 26px; height: 26px; }
.bmcf-popup-botanical { position: absolute; z-index: 0; top: 0; right: 0; width: 168px; height: 245px; object-fit: contain; pointer-events: none; }
.bmcf-popup-hero { position: relative; z-index: 1; min-height: 326px; flex: 0 0 326px; padding: 32px 50px 0; }
.bmcf-popup-intro { width: 360px; max-width: 62%; }
.bmcf-popup-brand { display: block; width: 260px; max-width: 100%; margin: 0 0 17px; }
.bmcf-popup-brand img { display: block; width: 100%; height: auto; }
.bmcf-popup-eyebrow { margin: 0 0 9px; color: #171d17; text-align: left; font: 400 34px/1.18 Georgia, 'Times New Roman', serif; }
.bmcf-popup-description { margin: 0; max-width: 370px; color: #141713; text-align: left; font: 400 15px/20px Inter, sans-serif; letter-spacing: 0; }
.bmcf-popup-photo { position: absolute; top: 137px; right: 50px; display: block; width: 224px; height: 188px; border-radius: 12px; object-fit: cover; }
.bmcf-popup-content { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 16px 50px 16px; }
.bmcf-popup-frequency { display: grid; height: 48px; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 9px; padding: 4px; border-radius: 12px; background: #e5ebe2; }
.bmcf-popup-frequency button { border: 0; border-radius: 9px; background: transparent; color: #3d5e44; font: 500 18px Arial, sans-serif; cursor: pointer; }
.bmcf-popup-frequency button[aria-pressed="true"] { background: #3b5e44; color: #fff; }
.bmcf-popup-amounts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.bmcf-popup-amounts button { height: 50px; padding: 0; border: 1px solid #afc0ac; border-radius: 11px; background: transparent; color: #3d5e44; font: 500 18px Arial, sans-serif; cursor: pointer; }
.bmcf-popup-amounts button[aria-pressed="true"] { border-color: #3b5e44; background: #3b5e44; color: #fff; }
.bmcf-popup-frequency button:focus-visible, .bmcf-popup-amounts button:focus-visible, .bmcf-popup-close:focus-visible, .bmcf-popup-donate:focus-visible, .bmcf-popup-newsletter:focus-visible, .bmcf-popup-custom input:focus-visible { outline: 3px solid #a36d32; outline-offset: 2px; }
.bmcf-popup-custom-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.bmcf-popup-custom { display: flex; height: 50px; flex: 0 0 50px; align-items: center; gap: 14px; margin-bottom: 12px; padding: 0 19px; border: 1px solid #afc0ac; border-radius: 11px; color: #3d5e44; font: 18px Arial, sans-serif; }
.bmcf-popup-custom > span { font-size: 20px; }
.bmcf-popup-custom input { width: 100%; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #27372a; font: 18px Arial, sans-serif; }
.bmcf-popup-custom input::placeholder { color: #657166; opacity: 1; }
.bmcf-popup-error { display: none; margin: -8px 0 8px; color: #a12c26; font: 12px/1.3 Arial, sans-serif; }
.bmcf-popup-error:not(:empty) { display: block; }
.bmcf-popup-donate { height: 45px; flex: 0 0 45px; border: 0; border-radius: 10px; background: #3b5e44; color: #fff; font: 700 20px Georgia, 'Times New Roman', serif; cursor: pointer; }
.bmcf-popup-donate:hover { background: #2d4b36; }
.bmcf-popup-thanks { margin: 12px 0 0; color: #657166; text-align: center; font: 14px/1.55 Arial, sans-serif; }
.bmcf-popup-newsletter { display: grid; min-height: 84px; flex: 0 0 84px; place-items: center; margin-top: auto; border-radius: 0 0 26px 26px; background: #5d8560; color: #fff; font: 700 25px Georgia, 'Times New Roman', serif; text-decoration: none; }
.bmcf-popup-newsletter:hover { background: #527755; color: #fff; }
body.bmcf-popup-open { overflow: hidden; }
#newsletter-signup { scroll-margin-top: 88px; }
@media (max-width: 620px) {
 .bmcf-donation-backdrop { padding: 12px; }
 .bmcf-donation-dialog { width: min(100%, 350px); height: auto; max-height: calc(100dvh - 24px); min-height: 0; border-radius: 20px; }
 .bmcf-popup-botanical { width: 118px; height: 172px; opacity: .8; }
 .bmcf-popup-close { top: 15px; right: 15px; }
 .bmcf-popup-hero { display: flex; min-height: 0; flex: 0 0 auto; flex-direction: column; padding: 24px 24px 12px; }
 .bmcf-popup-intro { display: contents; width: 100%; max-width: none; }
 .bmcf-popup-brand { order: 1; width: min(235px, 78%); margin-bottom: 14px; }
 .bmcf-popup-eyebrow { order: 2; max-width: 310px; font-size: clamp(28px, 8vw, 34px); }
 .bmcf-popup-description { order: 4; max-width: 100%; margin-top: 8px; }
 .bmcf-popup-photo { position: relative; top: auto; right: auto; order: 3; align-self: stretch; width: 100%; max-width: none; height: auto; aspect-ratio: 4 / 3; margin-top: 4px; object-fit: contain; }
 .bmcf-popup-content { padding: 8px 24px 13px; }
 .bmcf-popup-frequency { height: 44px; }
 .bmcf-popup-frequency button { font-size: 15px; }
 .bmcf-popup-amounts { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
 .bmcf-popup-amounts button { height: 43px; font-size: 13px; }
 .bmcf-popup-custom { height: 45px; flex-basis: 45px; }
 .bmcf-popup-custom input { font-size: 16px; }
 .bmcf-popup-donate { height: 44px; flex-basis: 44px; font-size: 18px; }
 .bmcf-popup-thanks { font-size: 12px; }
 .bmcf-popup-newsletter { min-height: 64px; flex-basis: 64px; border-radius: 0 0 20px 20px; font-size: 20px; }
}
@media (prefers-reduced-motion: no-preference) { .bmcf-donation-dialog { animation: bmcf-popup-in .2s ease-out; } @keyframes bmcf-popup-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } } }
