/* Scoped storefront version of the gateway offer. Do not load checkout CSS on other pages. */
.rabino-gateway-storefront{--rgs-surface:var(--rabino-checkout-modal,#fff);--rgs-text:var(--rabino-checkout-text,#172033);--rgs-muted:var(--rabino-checkout-muted,#475569);--rgs-border:var(--rabino-checkout-border,#dbe4ed);--rgs-primary:var(--rabino-checkout-primary,#2d6a4f);--rgs-on-primary:var(--rabino-checkout-on-primary,#fff);--rgs-input:var(--rabino-checkout-input,#f4f6f8);--rgs-hover:var(--rabino-checkout-hover,#edf2f4);font-family:var(--rabino-checkout-font-family,inherit);color-scheme:light}
.rabino-gateway-storefront[data-mode=dark]{--rgs-surface:var(--rabino-checkout-dark-modal,#172334);--rgs-text:var(--rabino-checkout-dark-text,#f1f5f9);--rgs-muted:var(--rabino-checkout-dark-muted,#cbd5e1);--rgs-border:var(--rabino-checkout-dark-border,#475569);--rgs-primary:var(--rabino-checkout-dark-primary,#82d7c6);--rgs-on-primary:var(--rabino-checkout-dark-on-primary,#142a25);--rgs-input:var(--rabino-checkout-dark-input,#182837);--rgs-hover:var(--rabino-checkout-dark-hover,#29384c);color-scheme:dark}
.rabino-gateway-storefront *, .rabino-gateway-storefront *::before,.rabino-gateway-storefront *::after{box-sizing:border-box}
.rabino-gateway-storefront [hidden],.rabino-gateway-storefront dialog:not([open]){display:none!important}
.rabino-gateway-storefront .rabino-gateway-storefront__dialog{position:fixed;inset:0;margin:auto;width:min(460px,calc(100% - 28px));max-width:100%;max-height:85vh;max-height:85dvh;overflow:auto;background:var(--rgs-surface);color:var(--rgs-text);padding:24px;border:1px solid var(--rgs-border);border-radius:20px;text-align:right;font:inherit;box-shadow:0 24px 80px #0005;z-index:1000003}
.rabino-gateway-storefront__dialog::backdrop{background:rgba(3,10,16,.62);backdrop-filter:blur(5px)}
.rabino-gateway-storefront .rabino-gateway-storefront__heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-left:34px;color:var(--rgs-muted);font-size:12px;font-weight:700;margin:0 0 14px}
.rabino-gateway-storefront .rabino-gateway-storefront__heading strong{color:var(--rgs-primary);font-size:19px;font-weight:800}
.rabino-gateway-storefront #rabino-storefront-offer-title{color:var(--rgs-text);font:inherit;font-size:17px;font-weight:800;line-height:1.8;margin:0 0 8px}
.rabino-gateway-storefront #rabino-storefront-offer-description{color:var(--rgs-muted);font-size:13px;line-height:1.95;margin:0 0 16px}
.rabino-gateway-storefront #rabino-storefront-offer-description b{color:var(--rgs-text)}
.rabino-gateway-storefront .rabino-gateway-storefront__code-row{display:flex;gap:9px;align-items:stretch}
.rabino-gateway-storefront [data-rgs-code]{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;padding:10px;background:var(--rgs-input);color:var(--rgs-text);border:1px dashed var(--rgs-primary);border-radius:10px;font-size:15px;font-weight:750;overflow-wrap:anywhere;user-select:all}
.rabino-gateway-storefront button,.rabino-gateway-storefront [data-rgs-checkout]{appearance:none;display:inline-flex;justify-content:center;align-items:center;border:1px solid var(--rgs-border);border-radius:10px;padding:10px 14px;min-height:44px;font:inherit;font-size:13px;font-weight:750;line-height:1.5;cursor:pointer;text-decoration:none;background:var(--rgs-hover);color:var(--rgs-text);text-align:center;box-shadow:none}
.rabino-gateway-storefront [data-rgs-checkout],.rabino-gateway-storefront [data-rgs-copy],.rabino-gateway-storefront .rabino-gateway-storefront__chip{background:var(--rgs-primary);border-color:var(--rgs-primary);color:var(--rgs-on-primary)}
.rabino-gateway-storefront button:focus-visible,.rabino-gateway-storefront a:focus-visible{outline:2px solid var(--rgs-primary);outline-offset:3px}
.rabino-gateway-storefront .rabino-gateway-storefront__close{position:absolute;top:12px;left:12px;width:32px;height:32px;min-height:0;padding:0;border-radius:50%;font-size:21px;line-height:1}
.rabino-gateway-storefront .rabino-gateway-storefront__status{min-height:22px;margin:6px 0;color:var(--rgs-muted);font-size:12px;line-height:1.8}

.rabino-gateway-storefront .rabino-gateway-storefront__chip{position:fixed;right:16px;bottom:max(16px,env(safe-area-inset-bottom));z-index:1000002;border-radius:999px;max-width:calc(100vw - 32px);box-shadow:0 8px 26px #0004}
@media(max-width:640px){.rabino-gateway-storefront .rabino-gateway-storefront__dialog{padding:22px 16px 18px}.rabino-gateway-storefront .rabino-gateway-storefront__chip{bottom:max(80px,calc(68px + env(safe-area-inset-bottom)))}}

/* 1.1.37 — the offer popup uses the close control only. */
.rabino-gateway-storefront .rabino-gateway-storefront__chip{gap:8px}
.rabino-gateway-storefront .rabino-gateway-storefront__dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:currentColor}
@keyframes rabino-storefront-offer-pulse{0%,100%{box-shadow:0 0 0 0 currentColor}65%{box-shadow:0 0 0 6px transparent}}
.rabino-gateway-storefront .rabino-gateway-storefront__chip:not([hidden]) .rabino-gateway-storefront__dot{animation:rabino-storefront-offer-pulse 1.9s ease-out infinite}
@media(prefers-reduced-motion:reduce){.rabino-gateway-storefront .rabino-gateway-storefront__chip:not([hidden]) .rabino-gateway-storefront__dot{animation:none}}
