/* Compact corporate payment sheet. All rules stay on the payment route. Load last. */
html:has(#fincan-store[data-route="payment"]),body:has(#fincan-store[data-route="payment"]){background:#fff!important}
html body #fincan-store[data-route="payment"]{--pay-surface:#fff;--pay-ink:#111;overflow-x:clip;background:#fff!important;padding-bottom:0!important}
html body #fincan-store[data-route="payment"] .store-content .pay-layout{padding:0 16px calc(max(92px,var(--pay-cta-h,0px)) + 24px + env(safe-area-inset-bottom))!important;background:#fff}
#fincan-store[data-route="payment"] .checkout-steps{margin-bottom:10px!important}
/* Shine */
@keyframes pay-shine{0%,62%{transform:translateX(-160%) skewX(-20deg)}100%{transform:translateX(420%) skewX(-20deg)}}
#fincan-store[data-route="payment"] .pay-docs--banner{position:relative;isolation:isolate;overflow:hidden}
#fincan-store[data-route="payment"] .pay-docs--banner::after{content:"";position:absolute;top:0;bottom:0;left:0;width:28%;z-index:2;pointer-events:none;background:linear-gradient(90deg,transparent,#ffffff59 50%,transparent);transform:translateX(-160%) skewX(-20deg);animation:pay-shine 6.5s ease-in-out infinite}
/* Company documents banner */
#fincan-store[data-route="payment"] .pay-document-area--banner{padding:0!important;margin:0 0 14px!important;border:0;background:none}
#fincan-store[data-route="payment"] .pay-document-area--banner .pay-docs--banner{display:block!important;width:100%;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;line-height:0;cursor:pointer;transition:transform .18s ease}
#fincan-store[data-route="payment"] .pay-docs--banner:active{transform:scale(.99)}
#fincan-store[data-route="payment"] .pay-docs--banner img{display:block;width:100%;height:auto;border-radius:inherit}
/* Heading above sheet */
#fincan-store[data-route="payment"] .pay-sheet-title{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 1px 10px;font:500 .6875rem/1.3 var(--font);letter-spacing:.04em;color:#3a3d42;white-space:nowrap}
#fincan-store[data-route="payment"] .pay-sheet-title strong{font-weight:800;color:#111;letter-spacing:.08em}
/* Sheet */
html body #fincan-store[data-route="payment"] .pay-card.pay-sheet{margin:0!important;padding:0!important;border:1px solid #e3e4e7!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;overflow:hidden}
#fincan-store[data-route="payment"] .pay-card.pay-sheet::before{display:none!important}
#fincan-store[data-route="payment"] .pay-sheet-top{background:#111214;color:#fff;display:grid;grid-template-columns:minmax(70px,1fr) minmax(140px,1.6fr);align-items:center;gap:12px;padding:16px}
#fincan-store[data-route="payment"] .pay-sheet .pay-bank-brand{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex-wrap:nowrap;gap:7px;min-width:0;min-height:0;padding:0;border:0;background:none}
#fincan-store[data-route="payment"] .pay-sheet .pay-bank-identity{min-width:0;max-width:100%;display:flex;align-items:center;gap:6px}
#fincan-store[data-route="payment"] .pay-sheet .pay-bank-logo-frame{display:block;line-height:0;background:none!important;border:0!important;padding:0!important;box-shadow:none!important}
#fincan-store[data-route="payment"] .pay-sheet .pay-bank-logo{width:auto;max-width:100%;height:calc(23px*var(--bank-logo-scale,1));object-fit:contain;object-position:left center;filter:none}
#fincan-store[data-route="payment"] .pay-sheet .pay-bank-emblem{width:24px;height:24px}
#fincan-store[data-route="payment"] .pay-sheet :is(.pay-bank-name,.pay-bank-fallback,.pay-bank-fallback strong){color:#fff!important;font-size:.8125rem;font-weight:600;letter-spacing:-.02em;overflow-wrap:anywhere}
#fincan-store[data-route="payment"] .pay-sheet .pay-transfer-tag{padding:0;border:0;border-radius:0;background:none;color:#c9cbd0;font-size:.625rem;font-weight:400;letter-spacing:.02em;white-space:nowrap}
#fincan-store[data-route="payment"] .pay-sheet .pay-amount{display:flex!important;min-width:0;align-items:center;justify-content:flex-end;gap:7px;padding:0!important;background:none!important}
#fincan-store[data-route="payment"] .pay-sheet .pay-amount>div{min-width:0;flex:1;text-align:right}
#fincan-store[data-route="payment"] .pay-sheet .pay-amount .pay-label{color:#c9cbd0!important;font:400 .625rem/1.3 var(--font)!important;letter-spacing:0!important;text-transform:none!important;white-space:normal}
html body #fincan-store[data-route="payment"] .pay-sheet .bank-total{--payment-fit-size:26;display:block;width:100%;color:#fff!important;font:650 26px/1.2 var(--font)!important;letter-spacing:-.025em!important;margin-top:4px!important;white-space:nowrap!important;overflow-wrap:normal!important;font-variant-numeric:tabular-nums}
html body #fincan-store[data-route="payment"] .pay-sheet .pay-copy--dark{flex:0 0 44px;width:44px!important;height:44px!important;color:#fff!important;background:#ffffff0d!important;border:1px solid #ffffff26!important;border-radius:6px!important;margin:0!important}
html body #fincan-store[data-route="payment"] .pay-sheet .pay-copy--dark:hover{background:#ffffff26!important}
#fincan-store[data-route="payment"] .pay-sheet .pay-copy--dark:focus-visible{outline:3px solid #fff!important}
/* White body */
#fincan-store[data-route="payment"] .pay-sheet-body{padding:0 16px;background:#fff}
#fincan-store[data-route="payment"] .pay-sheet .pay-label{display:block;color:#697079!important;font:500 .625rem/1.3 var(--font)!important;letter-spacing:.07em!important;text-transform:uppercase}
html body #fincan-store[data-route="payment"] .store-content .pay-sheet .pay-iban-wrap{display:grid!important;grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:auto auto;column-gap:10px;row-gap:5px;align-items:center;margin:0!important;padding:14px 0!important;border:0!important;border-bottom:1px solid #e3e4e7!important;border-radius:0!important;background:none!important}
#fincan-store[data-route="payment"] .pay-sheet .pay-iban-heading{grid-column:1;grid-row:1;display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:0}
#fincan-store[data-route="payment"] .pay-sheet .pay-iban-heading>span:last-child{font-size:.625rem;color:#697079;white-space:nowrap}
html body #fincan-store[data-route="payment"] .pay-sheet .bank-iban{--payment-fit-size:16;grid-column:1;grid-row:2;display:block!important;min-width:0;width:100%;margin:0!important;font:600 16px/1.35 var(--font)!important;letter-spacing:-.025em!important;color:#111!important;text-align:left!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;font-variant-numeric:tabular-nums}
html body #fincan-store[data-route="payment"] .store-content .pay-card .pay-iban-copy{grid-column:2;grid-row:1/3;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px;width:44px!important;min-height:44px!important;height:44px!important;margin:0!important;padding:0!important;border:1px solid #dfe1e5!important;border-radius:6px!important;background:#f8f9fa!important;color:#25282d!important;box-shadow:none!important}
html body #fincan-store[data-route="payment"] .store-content .pay-card .pay-iban-copy>span{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important}
#fincan-store[data-route="payment"] .pay-sheet .pay-iban-copy:hover{background:#eceef1!important}
#fincan-store[data-route="payment"] .pay-sheet .pay-iban-copy svg{width:18px;height:18px;flex:none}
#fincan-store[data-route="payment"] .pay-sheet .pay-recipient{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:10px;padding:13px 0!important;border-bottom:1px solid #e3e4e7}
#fincan-store[data-route="payment"] .pay-sheet .pay-recipient>div{flex:1;min-width:0}
#fincan-store[data-route="payment"] .pay-sheet .pay-recipient strong{--payment-fit-size:14;display:block;max-width:100%;margin-top:5px;font:600 14px/1.4 var(--font);color:#111;white-space:nowrap;overflow-x:auto;overflow-y:hidden;overflow-wrap:normal;scrollbar-width:none}
html body #fincan-store[data-route="payment"] .pay-sheet .pay-copy--outline{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 44px;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:1px solid #dfe1e5!important;border-radius:6px!important;background:#f8f9fa!important;color:#25282d!important}
#fincan-store[data-route="payment"] .pay-sheet .pay-copy--outline:hover{background:#f3f4f6!important}
#fincan-store[data-route="payment"] .pay-sheet .pay-copy svg{width:18px;height:18px}
#fincan-store[data-route="payment"] .pay-sheet-note{display:flex;align-items:center;gap:6px;padding:11px 0 13px;color:#697079}
#fincan-store[data-route="payment"] .pay-sheet-note svg{width:14px;height:14px;flex:none}
#fincan-store[data-route="payment"] .pay-sheet-note p{margin:0;font-size:.6875rem;line-height:1.4}
/* The account relationship belongs directly below the legal recipient name. */
#fincan-store[data-route="payment"] .pay-sheet:has(.pay-relationship--recipient) .pay-recipient{border-bottom:0;padding-bottom:12px!important}
html body #fincan-store[data-route="payment"] .pay-relationship--recipient{position:relative;display:flex;align-items:flex-start;gap:7px;max-width:none;margin:0 0 2px;padding:10px;border:1px solid #e5e7eb!important;border-radius:5px;background:#f7f8fa!important;color:#5a6069;font:400 .6875rem/1.5 var(--font);text-align:center;text-wrap:balance;box-shadow:none}
#fincan-store[data-route="payment"] .pay-relationship--recipient::before{display:none}
#fincan-store[data-route="payment"] .pay-relationship-mark{display:grid;place-items:center;flex:0 0 15px;width:15px;height:15px;margin-top:1px;border:0;border-radius:0;background:none;color:#697079}
#fincan-store[data-route="payment"] .pay-relationship-mark svg{width:14px;height:14px}
html body #fincan-store[data-route="payment"] .pay-relationship--recipient p{margin:0!important;min-width:0;flex:1;font:inherit;color:inherit;text-align:center;overflow-wrap:anywhere}
/* WhatsApp floating */
#fincan-store[data-route="payment"] .pay-wa-float{position:fixed;right:14px;bottom:calc(max(92px,var(--pay-cta-h,0px)) + 14px + env(safe-area-inset-bottom));z-index:121;line-height:0}
html body #fincan-store[data-route="payment"] .pay-wa-float .wa-help{display:block!important;width:46px!important;height:46px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:0 3px 10px #11121420!important;line-height:0;cursor:pointer}
#fincan-store[data-route="payment"] .pay-wa-float img{display:block;width:100%;height:100%;object-fit:contain}
/* A real text button stays crisp at every phone size and text scale. */
html body #fincan-store[data-route="payment"] .store-content .pay-cta.checkout-fixed-action{position:fixed!important;inset:auto 0 0 0!important;z-index:120!important;width:100%!important;height:auto!important;margin:0!important;padding:12px 16px calc(10px + env(safe-area-inset-bottom))!important;overflow:visible!important;clip-path:none!important;opacity:1!important;visibility:visible!important;pointer-events:none!important;border:0!important;border-top:1px solid #e5e7eb!important;background:#fff!important;box-shadow:0 -4px 18px #11121405!important}
html body #fincan-store[data-route="payment"] .store-content .pay-cta-inner{display:block!important;max-width:480px!important;width:100%;margin:0 auto}
html body #fincan-store[data-route="payment"] .store-content .pay-cta .pay-done.pay-done--corporate{display:grid!important;grid-template-columns:24px minmax(0,1fr) 24px;align-items:center;gap:10px;pointer-events:auto!important;width:100%!important;height:auto!important;min-height:50px!important;padding:12px 16px!important;margin:0!important;border:1px solid #111214!important;border-radius:6px!important;background:#111214!important;color:#fff!important;box-shadow:none!important;font:600 .9375rem/1.35 var(--font)!important;letter-spacing:.015em;text-align:center;transition:background .18s ease,transform .18s ease}
#fincan-store[data-route="payment"] .pay-done.pay-done--corporate:is(:hover,:focus-visible){background:#2a2c30!important}
#fincan-store[data-route="payment"] .pay-done.pay-done--corporate:active{transform:translateY(1px)}
#fincan-store[data-route="payment"] .pay-done.pay-done--corporate::before,#fincan-store[data-route="payment"] .pay-done.pay-done--corporate::after{display:none}
#fincan-store[data-route="payment"] .pay-done-icon,#fincan-store[data-route="payment"] .pay-done-next{display:grid;place-items:center;width:24px;height:24px;color:#d7d9dd}
#fincan-store[data-route="payment"] .pay-done-icon svg,#fincan-store[data-route="payment"] .pay-done-next svg{width:18px;height:18px}
#fincan-store[data-route="payment"] .pay-done-next{transform:rotate(180deg)}
#fincan-store[data-route="payment"] .pay-done-label{display:block;min-width:0;white-space:nowrap}
html body #fincan-store[data-route="payment"] .pay-cta-inner>p{position:static;width:auto;height:auto;margin:7px 0 0;padding:0;overflow:visible;clip-path:none;white-space:normal;text-align:center;color:#747b84;font:400 .625rem/1.4 var(--font)}
#fincan-store[data-route="payment"] :is(.pay-docs--banner,.pay-done--corporate,.pay-iban-copy,.pay-copy,.pay-wa-float .wa-help):focus-visible{outline:3px solid #697079!important;outline-offset:3px}
html body:has(#fincan-store[data-route="payment"]) #moka-bottom-bar{display:none!important}
@media(max-width:359px){html body #fincan-store[data-route="payment"] .store-content .pay-layout{padding-inline:12px!important}#fincan-store[data-route="payment"] :is(.pay-sheet-top,.pay-sheet-body){padding-inline:12px}#fincan-store[data-route="payment"] .pay-sheet .pay-bank-identity{max-width:100%}html body #fincan-store[data-route="payment"] .store-content .pay-cta .pay-done.pay-done--corporate{grid-template-columns:minmax(0,1fr)}#fincan-store[data-route="payment"] :is(.pay-done-icon,.pay-done-next){display:none}}
@media(prefers-reduced-motion:reduce){#fincan-store[data-route="payment"] .pay-docs--banner::after{animation:none!important;display:none}#fincan-store[data-route="payment"] .pay-done--corporate{transition:none!important}}
