/* Final phone viewport contract. Loaded after the existing checkout shell. */
.bizim-mobile-action-dock{display:none}
@media(max-width:767px){
 html body .bizim-mobile-action-dock:not([hidden]){position:fixed;inset-inline:0;bottom:0;z-index:50;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);align-items:center;gap:16px;padding:15px 18px calc(15px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);border-top:1px solid #e3e9f2;border-radius:22px 22px 0 0;box-shadow:0 -12px 32px #20365518;box-sizing:border-box;font-family:Lato,Arial,sans-serif}
 html[lang^=ar] body .bizim-mobile-action-dock{font-family:Cairo,Tahoma,Arial,sans-serif}
 .bizim-mobile-dock-amount{min-width:0;padding-inline-start:12px;border-inline-start:3px solid #244594;text-align:start;line-height:1.4}
 .bizim-mobile-dock-amount>span{display:block;color:#68778b;font-size:11px;font-weight:700;line-height:1.35;letter-spacing:.02em;margin-bottom:5px}
 .bizim-mobile-dock-amount>strong{display:block;color:#18345c;font-size:clamp(20px,6vw,26px);font-weight:800;line-height:1.15;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
 html body .bizim-mobile-dock-action{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:58px;width:100%;padding:12px 16px;border:0;border-radius:15px;background:linear-gradient(180deg,#ffc43b 0%,#f3b521 100%);color:#173775;font-family:inherit;font-size:15px;font-weight:700;line-height:1.35;cursor:pointer;white-space:normal;box-shadow:0 3px 0 #d69f18,0 8px 20px #d69f1826;transition:transform 160ms ease,background 160ms ease,box-shadow 160ms ease,opacity 160ms ease}
 html body .bizim-mobile-dock-action::after{content:"";display:block;width:17px;height:17px;flex:0 0 17px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16m-7-7 7 7-7 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform 160ms ease}
 html[dir=rtl] body .bizim-mobile-dock-action::after{transform:rotate(180deg)}
 html body .bizim-mobile-dock-action:hover{background:linear-gradient(180deg,#ffd05c 0%,#ffc13b 100%);transform:translateY(-1px);box-shadow:0 4px 0 #d69f18,0 10px 24px #d69f1830}
 html body .bizim-mobile-dock-action:active{background:#eeb02a;transform:translateY(1px);box-shadow:0 1px 0 #d9a11b}
 html body .bizim-mobile-dock-action[aria-busy=true]::before{content:"";width:17px;height:17px;flex:0 0 17px;border:2px solid #17377540;border-top-color:#173775;border-radius:50%;animation:bizim-dock-spin .7s linear infinite}
 html body .bizim-mobile-dock-action[aria-busy=true]::after{display:none}
 .bizim-mobile-dock-action:disabled{opacity:.82;cursor:wait;box-shadow:0 2px 0 #d9a11b}
 .bizim-mobile-dock-action:focus-visible{outline:3px solid #244594;outline-offset:3px}
 html body :is(dialog.bizim-native-donation.is-dialog.bizim-checkout-shell,.bizim-modal.is-open .bizim-modal-box.bizim-checkout-shell).has-mobile-dock>:is(.root-data-givewp-embed,[data-givewp-embed],.bizim-modal-form){padding-bottom:calc(var(--bizim-mobile-dock-height,92px) + 24px)!important;scroll-padding-bottom:calc(var(--bizim-mobile-dock-height,92px) + 24px)}
 html[data-bizim-mobile-dock] body .bizim-dock-source-action,html[data-bizim-mobile-dock] body .bizim-amount-context{display:none!important}
 /* The fixed dock already shows the selected amount; remove the duplicate inline total on phones. */
 html body .bizim-checkout-shell:has(.bizim-mobile-action-dock:not([hidden])) .bizim-amount-context{display:none!important}
 html[data-bizim-mobile-dock]{scroll-padding-bottom:110px}
}
@keyframes bizim-dock-spin{to{transform:rotate(360deg)}}
@media(max-width:350px){html body .bizim-mobile-action-dock:not([hidden]){gap:10px;padding-inline:12px}.bizim-mobile-dock-amount>span{font-size:10px}.bizim-mobile-dock-amount>strong{font-size:18px}html body .bizim-mobile-dock-action{font-size:14px;padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.bizim-mobile-action-dock *{animation:none!important;transition:none!important}}
/* Also hide existing summaries after a resize to phone width, inside GiveWP's iframe. */
@media(max-width:767px){html body .givewp-donation-form .bizim-amount-context{display:none!important}}
