/* KAYA unified ABA PAY / KHQR interface. Preview requires explicit URL opt-in. */
.kaya-pw-host{width:100%;max-width:790px;margin:18px auto;font-family:inherit}
.kaya-pw{box-sizing:border-box;padding:24px;background:#fffdf8;border:1px solid #bdd9c8;border-radius:22px;box-shadow:0 10px 36px rgba(17,61,41,.08);color:#173e2c}
.kaya-pw *{box-sizing:border-box}
.kaya-pw-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.kaya-pw-kicker{font-size:11px;font-weight:850;letter-spacing:.09em;color:#448061}
.kaya-pw-tag{font-size:10px;font-weight:900;letter-spacing:.045em;color:#875726;background:#fff1d7;border:1px solid #edd6ab;border-radius:50px;padding:7px 10px}
.kaya-pw h2{font-size:clamp(23px,3vw,29px);line-height:1.14;margin:10px 0 7px;color:#063e2a;font-weight:850}
.kaya-pw-lead{font-size:13px;line-height:1.55;color:#536959;margin:0 0 16px}
.kaya-pw-total{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#eaf5ee;border:1px solid #b8d6c4;border-radius:13px;padding:13px 15px;margin-bottom:17px}
.kaya-pw-total>span{font-size:12px;color:#426e54;font-weight:700}
.kaya-pw-amount{font-size:17px;line-height:1.2;font-weight:900;color:#087647;text-align:right;white-space:nowrap}
.kaya-pw-payment{display:grid;grid-template-columns:minmax(190px,244px) minmax(0,1fr);align-items:center;gap:20px}
.kaya-pw-qr-frame{padding:13px;border:1px solid #e0e8df;background:#fff;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:255px;box-shadow:inset 0 0 0 6px #f6faf6}
.kaya-pw-qr-mark{color:#e42e3a;letter-spacing:.08em;font-weight:950;font-size:17px;margin-bottom:10px}
.kaya-pw-qr-image{width:100%;max-width:185px;aspect-ratio:1;object-fit:contain;image-rendering:auto}
.kaya-pw-qr-placeholder{width:100%;min-height:164px;border:1.5px dashed #c5d7c7;border-radius:12px;background:repeating-linear-gradient(45deg,#fbfdfb,#fbfdfb 7px,#f3f8f4 7px,#f3f8f4 14px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16px;gap:8px}
.kaya-pw-qr-placeholder[hidden],.kaya-pw-qr-image[hidden]{display:none!important}
.kaya-pw-placeholder-icon{font-size:52px;line-height:1;color:#a5c9b3;letter-spacing:-.13em}
.kaya-pw-qr-placeholder strong{font-size:12px;line-height:1.4;color:#3b7156}
.kaya-pw-qr-placeholder small{font-size:11px;line-height:1.5;color:#6b8273}
.kaya-pw-device{font-size:11px;letter-spacing:.1em;font-weight:850;color:#087647}
.kaya-pw h3{font-size:18px;line-height:1.3;margin:7px 0;color:#153e2a}
.kaya-pw-instruction-body,.kaya-pw-bank-note{font-size:13px;line-height:1.6;color:#526858;margin:0 0 12px}
.kaya-pw-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0 10px}
.kaya-pw-open,.kaya-pw-actions button{font:inherit;font-size:12px;font-weight:800;border-radius:12px;min-height:45px;text-decoration:none;text-align:center;padding:11px 10px;display:flex;align-items:center;justify-content:center;line-height:1.3}
.kaya-pw-open{grid-column:1/-1;background:#087646;color:#fff;border:1px solid #087646}
.kaya-pw-actions button{background:#fff;color:#126a44;border:1px solid #a5c9b0}
.kaya-pw-open[aria-disabled="true"],.kaya-pw-actions button:disabled{background:#eaf0eb!important;color:#83978a!important;border-color:#d9e3dc!important;cursor:not-allowed;pointer-events:none;box-shadow:none;opacity:1}
.kaya-pw-desktop .kaya-pw-open{display:none}
.kaya-pw-mobile .kaya-pw-open{display:flex}
.kaya-pw-mobile .kaya-pw-payment{grid-template-columns:minmax(0,1fr);gap:16px;max-width:510px;margin:0 auto}
.kaya-pw-mobile .kaya-pw-qr-frame{max-width:300px;width:100%;margin:auto}
.kaya-pw-mobile .kaya-pw-instructions{text-align:center}
.kaya-pw-desktop .kaya-pw-share{display:none}
/* PC customers scan the QR with a phone; no save/share or ABA deep link needed. */
.kaya-pw-desktop .kaya-pw-actions{display:none!important}
.kaya-pw-bank-note{margin:10px 0 0;font-size:12px}
.kaya-pw-status{display:flex;align-items:flex-start;gap:10px;background:#fff8e8;border:1px solid #e9d8ac;border-radius:13px;padding:13px;margin-top:18px}
.kaya-pw-status-dot{width:10px;height:10px;border:2px solid #b68a36;border-radius:50%;flex:none;margin-top:4px}
.kaya-pw-status strong,.kaya-pw-status small{display:block;line-height:1.45}
.kaya-pw-status strong{font-size:13px;color:#6b4b22}
.kaya-pw-status small{font-size:12px;color:#806845;margin-top:4px}
.kaya-pw-security{font-size:11px;line-height:1.7;color:#5f7567;margin:12px 0 0}
@media(max-width:680px){
 .kaya-pw{padding:16px;border-radius:17px}
 .kaya-pw-payment{grid-template-columns:1fr;gap:16px}
 .kaya-pw-total{align-items:flex-start;flex-direction:column;gap:4px}
 .kaya-pw-amount{text-align:left}
 .kaya-pw-qr-frame{max-width:300px;margin:auto;width:100%;min-height:235px}
 .kaya-pw-actions{grid-template-columns:1fr 1fr}
}
@media(max-width:360px){.kaya-pw-actions{grid-template-columns:1fr}.kaya-pw-open{grid-column:auto}}

/* Payment method selection: one obvious choice, then explicit confirmation. */
.kaya-pw-choice-section{color:#143c29;background:#fffefb;border:1px solid #d4e2d5;border-radius:18px;padding:19px;margin:0}
.kaya-pw-choice-heading{font-size:23px;font-weight:850;color:#10452c;line-height:1.2;margin:0 0 4px}
.kaya-pw-choice-subtitle{font-size:13px;color:#607464;line-height:1.5;margin:0 0 14px}
.kaya-pw-method-card{appearance:none;font:inherit;width:100%;border:1.5px solid #c9d9cb;background:#f9fcf8;border-radius:15px;padding:15px;min-height:84px;text-align:left;display:flex;gap:13px;align-items:center;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s;color:#123f2b}
.kaya-pw-method-card:hover,.kaya-pw-method-card:focus-visible{border-color:#19875a;outline-offset:2px}
.kaya-pw-method-card.selected{border:2px solid #087747;background:#ebf8ef;box-shadow:0 0 0 2px #08774715}
/* Two independently sourced payment logos in EXACTLY equal brand cells.
   Intrinsic logo aspect ratio is preserved; no stretching or distorted marks. */
.kaya-pw-method-logos{display:flex;align-items:center;justify-content:center;gap:8px;flex:none}
.kaya-pw-logo-tile{width:64px;height:64px;flex:0 0 64px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;border-radius:13px;box-sizing:border-box;background:#fff;border:1px solid #dce8df}
.kaya-pw-logo-tile-aba{background:#fff}
.kaya-pw-logo-tile-khqr{background:#fff;border-color:#f2d2d6}
.kaya-pw-brand-logo{display:block!important;box-sizing:border-box;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.kaya-pw-logo-tile-khqr .kaya-pw-brand-logo{width:92%;height:92%}
.kaya-pw-brand-fallback{display:none;font-weight:900;line-height:1.05;font-size:14px;text-align:center;letter-spacing:.03em;color:#095b79}
.kaya-pw-logo-tile-khqr .kaya-pw-brand-fallback{color:#e51d2c}
.kaya-pw-logo-tile.logo-failed .kaya-pw-brand-logo{display:none!important}
.kaya-pw-logo-tile.logo-failed .kaya-pw-brand-fallback{display:block!important}
.kaya-pw-method-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.kaya-pw-method-copy strong{font-size:17px;color:#164b30;line-height:1.2}
.kaya-pw-method-copy small,.kaya-pw-method-km{color:#5a7361;font-size:12px;line-height:1.4}
.kaya-pw-method-radio{width:21px;height:21px;border:2px solid #a9bdad;border-radius:50%;flex:none;position:relative;background:#fff}
.kaya-pw-method-card.selected .kaya-pw-method-radio{border-color:#0b7d4b}
.kaya-pw-method-card.selected .kaya-pw-method-radio:after{content:"";position:absolute;inset:4px;border-radius:50%;background:#0b7d4b}
.kaya-pw-method-explanation{font-size:12px;color:#27684a;background:#eef8ef;line-height:1.6;border-radius:10px;padding:10px 13px;margin:12px 0 0}
.kaya-pw-choice-section .hidden{display:none!important}
.kaya-pw-confirm-row{display:flex;flex-direction:column;gap:9px;align-items:stretch;margin:0}
.kaya-pw-confirm-button,.kaya-pw-back-button{appearance:none;font:inherit;font-weight:850;font-size:14px;border-radius:13px;min-height:48px;padding:12px 15px;cursor:pointer}
.kaya-pw-confirm-button{background:#087747;color:#fff;border:1px solid #087747}
.kaya-pw-confirm-button:disabled{background:#dbe8df;color:#789384;border-color:#d1ded5;cursor:not-allowed;box-shadow:none}
.kaya-pw-back-button{background:#fff;color:#15734c;border:1px solid #b3cfbe}
.kaya-pw-confirm-row [hidden],.kaya-pw-confirm-row .hidden{display:none!important}
.kaya-pw-confirm-hint{font-size:12px;line-height:1.5;color:#6f765e;margin:0}
.kaya-pw-confirm-row .kaya-pw-confirm-hint[hidden]{display:none!important}
.kaya-pw-consent-confirmed{background:#f0f9f0;border:1px solid #cae6d1;color:#336b49;border-radius:10px;padding:10px 13px;font-size:12px;line-height:1.6}
.kaya-pw-preview-mode .kaya-pw-confirm-button:focus-visible,.kaya-pw-method-card:focus-visible{outline:3px solid #8ad1a5}
@media(max-width:440px){.kaya-pw-choice-section{padding:13px}.kaya-pw-method-card{padding:12px;gap:9px}.kaya-pw-method-logos{gap:5px}.kaya-pw-logo-tile{width:44px;height:44px;flex-basis:44px;border-radius:9px}.kaya-pw-brand-fallback{font-size:11px}.kaya-pw-method-copy strong{font-size:15px}}
/* A preview NEVER exposes real payment submission/receipt actions. */
body.kaya-payway-preview-mode #kayaPickupStep{display:flex;flex-direction:column;gap:12px}
body.kaya-payway-preview-mode #kayaPickupStep > :not(#kayaPaywayChoiceHost):not(#kayaPaywayUnifiedHost):not(#kayaPaywayConfirmRow):not(#kayaPaywayPolicyPrompt):not(#kayaPaymentOrderSummary):not(.kaya-policy-consent-card){display:none!important}
body.kaya-payway-preview-mode #kayaPickupStep > #kayaPaymentOrderSummary{order:0}
body.kaya-payway-preview-mode #kayaPickupStep > #kayaPaywayChoiceHost{display:block!important;order:1}
body.kaya-payway-preview-mode #kayaPickupStep > .kaya-policy-consent-card{display:block!important;order:2}
body.kaya-payway-preview-mode #kayaPickupStep > #kayaPaywayPolicyPrompt{display:block!important;order:3;margin:0;padding:11px 13px;background:#fff8e9;border:1px solid #ebd8af;border-radius:12px;color:#76562a;font-size:13px;line-height:1.65}
body.kaya-payway-preview-mode #kayaPickupStep > #kayaPaywayConfirmRow{display:flex!important;order:4}
body.kaya-payway-preview-mode #kayaPickupStep > #kayaPaywayUnifiedHost{display:none!important;order:5}
body.kaya-payway-preview-mode.kaya-payway-policy-approved #kayaPickupStep > #kayaPaywayPolicyPrompt{display:none!important}
body.kaya-payway-preview-mode.kaya-payway-flow-confirmed #kayaPickupStep > #kayaPaywayChoiceHost{display:none!important}
body.kaya-payway-preview-mode.kaya-payway-flow-confirmed #kayaPickupStep > #kayaPaywayUnifiedHost{display:block!important}
body.kaya-payway-preview-mini #paymentStage > :not(.payment-page-top):not(#miniPaywayChoiceHost):not(#miniPaywayConfirmRow):not(#miniPaywayUnifiedHost){display:none!important}
body.kaya-payway-preview-mini #paymentStage .payment-page-top>.order-title{display:none!important}
body.kaya-payway-preview-mini #paymentStage > #miniPaywayChoiceHost{display:block!important}
body.kaya-payway-preview-mini #paymentStage > #miniPaywayConfirmRow{display:flex!important}
body.kaya-payway-preview-mini #paymentStage > #miniPaywayUnifiedHost{display:none!important}
body.kaya-payway-preview-mini.kaya-payway-mini-confirmed #paymentStage > #miniPaywayChoiceHost{display:none!important}
body.kaya-payway-preview-mini.kaya-payway-mini-confirmed #paymentStage > #miniPaywayUnifiedHost{display:block!important}


/* Round 2026-11-13: Approved KAYA payment mockup translated to live, responsive
   checkout. Layout and hover effects apply to the preview UI only.
   Keep ABA/KHQR artwork inside its own tile; never distort the logo paths. */
.kaya-pw-choice-host,.kaya-pw-choice-host *,.kaya-pw-preview-shell,
.kaya-pw-preview-shell *{box-sizing:border-box}
.kaya-pw-choice-section{
  color:#0c422a;
  background:transparent;
  border:0;
  padding:0;
  margin:0;
  border-radius:0;
}
.kaya-pw-choice-header{
  display:flex;
  align-items:center;
  gap:19px;
  margin:2px 0 24px;
}
.kaya-pw-heading-symbol{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 72px;
  width:72px;
  height:65px;
  padding-right:17px;
  border-right:2px solid #d9ded8;
  color:#06492e;
}
.kaya-pw-heading-symbol svg{display:block;width:48px;height:48px}
.kaya-pw-heading-copy{display:block;min-width:0}
.kaya-pw-choice-heading{
  color:#064028;
  font-size:clamp(23px,3.3vw,35px);
  line-height:1.15;
  letter-spacing:-.03em;
  font-weight:900;
  margin:0 0 8px;
}
.kaya-pw-choice-subtitle{
  color:#657169;
  font-size:clamp(12px,1.6vw,15px);
  font-weight:500;
  margin:0;
  line-height:1.5;
}
.kaya-pw-method-card{
  position:relative;
  isolation:isolate;
  appearance:none;
  font-family:inherit;
  color:#133d2a;
  background:linear-gradient(120deg,#f0faee 0%,#f4faf2 54%,#fffefa 100%);
  border:2px solid #a7ccae;
  border-radius:20px;
  min-height:148px;
  width:100%;
  display:flex;
  align-items:center;
  gap:15px;
  padding:21px 19px;
  text-align:left;
  cursor:pointer;
  box-shadow:0 7px 22px rgba(20,67,43,.055);
  transform-style:preserve-3d;
  transition:transform .34s cubic-bezier(.22,1,.36,1),box-shadow .34s ease,border-color .2s ease,background .2s ease;
  -webkit-tap-highlight-color:transparent;
}
.kaya-pw-method-card::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  background:linear-gradient(112deg,transparent 20%,rgba(255,255,255,.65) 49%,transparent 76%);
  opacity:0;
  transform:translateX(-35%);
  transition:opacity .3s ease,transform .5s ease;
}
.kaya-pw-method-card.selected{
  border:2px solid #084d2e;
  background:linear-gradient(116deg,#eef9e9 0%,#f4faef 55%,#fffdf9 100%);
  box-shadow:inset 0 0 0 1px rgba(5,68,38,.08),0 12px 30px rgba(3,63,37,.1);
}
.kaya-pw-method-logos{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  gap:10px;
  transform:translateZ(5px);
}
.kaya-pw-logo-tile{
  box-sizing:border-box;
  flex:0 0 80px;
  width:80px;
  height:74px;
  border:0;
  border-radius:16px;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 5px 14px rgba(8,47,46,.12);
  transition:transform .32s cubic-bezier(.22,1,.36,1),box-shadow .32s ease;
}
.kaya-pw-logo-tile-aba{
  background:linear-gradient(145deg,#09506e 0%,#075b78 65%,#033e61 100%);
}
.kaya-pw-logo-tile-khqr{
  background:#e61a26;
  border:0;
}
.kaya-pw-brand-logo{
  display:block!important;
  height:100%;
  width:100%;
  object-fit:contain;
  object-position:center;
  max-width:100%;
  max-height:100%;
}
/* The source ABA PAY artwork is round on white; a circular image mask keeps
   its genuine logo and removes the white outer corners on the dark blue tile. */
.kaya-pw-logo-tile-aba .kaya-pw-brand-logo{
  clip-path:circle(48.5% at 50% 50%);
  object-fit:cover;
}
.kaya-pw-logo-tile-khqr .kaya-pw-brand-logo{
  width:90%;
  height:90%;
  object-fit:contain;
  filter:brightness(0) invert(1);
}
.kaya-pw-logo-tile.logo-failed .kaya-pw-brand-logo{display:none!important}
.kaya-pw-brand-fallback{
  display:none;
  text-align:center;
  color:#fff;
  font-weight:900;
  font-size:19px;
  line-height:1.06;
  letter-spacing:.01em;
}
.kaya-pw-logo-tile-aba .kaya-pw-brand-fallback{color:#d7faff}
.kaya-pw-logo-tile-khqr .kaya-pw-brand-fallback{color:#fff}
.kaya-pw-logo-tile.logo-failed .kaya-pw-brand-fallback{display:block!important}
.kaya-pw-method-divider{
  display:block;
  flex:0 0 1.5px;
  height:64px;
  margin:0 1px;
  background:rgba(16,74,47,.5);
  transform:translateZ(3px);
}
.kaya-pw-method-copy{display:flex;flex-direction:column;min-width:0;flex:1;gap:5px;transform:translateZ(3px)}
.kaya-pw-method-copy strong{
  font-size:clamp(17px,2.6vw,24px);
  font-weight:900;
  letter-spacing:-.02em;
  line-height:1.2;
  color:#073f29;
  overflow-wrap:normal;
}
.kaya-pw-method-copy small{
  font-size:clamp(12px,1.5vw,14px);
  color:#5d665e;
  font-weight:500;
  line-height:1.5;
}
.kaya-pw-method-km{font-size:12px;color:#61786a;line-height:1.45}
.kaya-pw-method-radio{
  box-sizing:border-box;
  position:relative;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:50%;
  border:2.5px solid #8cba99;
  background:#fff;
  display:grid;
  place-items:center;
  color:transparent;
  box-shadow:0 1px 3px rgba(0,0,0,.06);
  transition:background .25s ease,border-color .25s ease,color .25s ease;
}
.kaya-pw-method-radio svg{width:24px;height:24px;opacity:0;transform:scale(.6);transition:opacity .2s ease,transform .28s ease}
.kaya-pw-method-card.selected .kaya-pw-method-radio{
  color:#fff;
  background:#064a2e;
  border-color:#064a2e;
  box-shadow:0 0 0 3px rgba(5,82,46,.08);
}
.kaya-pw-method-card.selected .kaya-pw-method-radio:after{content:none}
.kaya-pw-method-card.selected .kaya-pw-method-radio svg{opacity:1;transform:scale(1)}
.kaya-pw-method-card:focus-visible{outline:3px solid #21ac70;outline-offset:5px}
.kaya-pw-method-explanation{
  color:#33644a;
  font-size:12px;
  line-height:1.55;
  border:1px solid #d5e9d8;
  background:#f1f9f0;
  border-radius:12px;
  padding:11px 14px;
  margin:12px 0 0;
}
.kaya-pw-confirm-row{width:100%;gap:12px}
.kaya-pw-confirm-button{
  width:100%;
  min-height:58px;
  border:1px solid #075332;
  border-radius:16px;
  background:linear-gradient(105deg,#073f28,#087044);
  box-shadow:0 8px 16px rgba(3,84,48,.16);
  color:#fff;
  font-size:clamp(15px,2vw,19px);
  font-weight:850;
  letter-spacing:-.01em;
  transition:transform .22s ease,box-shadow .22s ease,background .22s ease;
}
.kaya-pw-confirm-button:not(:disabled)::after{content:" →";font-size:1.3em;vertical-align:-.05em;margin-left:6px}
.kaya-pw-confirm-button:not(:disabled):hover{background:#08583a;box-shadow:0 11px 20px rgba(4,81,45,.2)}
.kaya-pw-confirm-button:disabled{background:#e4e9e2;color:#879588;border-color:#c9d6cb;box-shadow:none;cursor:not-allowed}
.kaya-pw-confirm-button:focus-visible,.kaya-pw-back-button:focus-visible{outline:3px solid #21ac70;outline-offset:3px}
.kaya-pw-confirm-hint{font-size:12px;color:#778279;line-height:1.6;text-align:center}
.kaya-pw-preview-shell{
  max-width:900px;
  margin:10px auto 16px;
  background:#fffefb;
  border:1px solid #e2eadf;
  border-radius:28px;
  padding:clamp(18px,3.1vw,34px);
  box-shadow:0 18px 48px rgba(36,49,25,.11);
  display:flex;
  flex-direction:column;
  gap:16px;
}
.kaya-pw-preview-shell .preview-policy{
  margin:0;
  max-width:none;
  padding:12px 5px;
  background:transparent;
  border:0;
  border-radius:0;
  font-size:14px;
}
.kaya-pw-preview-shell .preview-policy input{width:22px;height:22px;accent-color:#075d38}
.kaya-pw-preview-shell .preview-policy a{font-weight:800;color:#075332;text-underline-offset:3px}
.kaya-pw-preview-shell #previewConfirmRow{margin:0;max-width:none}
body.kaya-payway-preview-mode #kayaPickupStep{
  background:#fffefb;
  border:1px solid #e2eadf;
  padding:clamp(16px,3.5vw,28px);
  border-radius:24px;
  box-shadow:0 12px 36px rgba(26,55,26,.09);
  gap:16px;
}
body.kaya-payway-preview-mode #kayaPickupStep > .kaya-policy-consent-card{
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  margin:0;
  padding:12px 3px 0;
}
body.kaya-payway-preview-mode #kayaPickupStep .kaya-policy-consent-label{
  display:flex;align-items:flex-start;gap:12px;
  font-size:14px;line-height:1.55;
}
body.kaya-payway-preview-mode #kayaPickupStep #kayaPolicyConsent{accent-color:#075f39;width:20px;height:20px;flex:0 0 20px;margin:2px 0 0}
body.kaya-payway-preview-mode #kayaPickupStep .kaya-policy-consent-card a{
  color:#075e3d;font-weight:800;text-decoration:underline;text-underline-offset:3px;
}
body.kaya-payway-preview-mini #paymentStage{
  background:#fffdf8;
  border:1px solid #dbe8dc;
  border-radius:22px;
  padding:clamp(12px,3vw,22px);
  box-shadow:0 10px 30px rgba(0,55,29,.08);
}
body.kaya-payway-preview-mini #paymentStage .kaya-pw-consent-confirmed{
  background:#f5faf5;border:1px solid #dde9dd;line-height:1.6;
}
@media(max-width:700px){
  .kaya-pw-choice-header{gap:11px;margin:0 0 16px}
  .kaya-pw-heading-symbol{flex-basis:50px;width:50px;height:51px;padding-right:10px}
  .kaya-pw-heading-symbol svg{width:35px;height:35px}
  .kaya-pw-choice-heading{font-size:clamp(20px,4.2vw,26px)}
  .kaya-pw-method-card{padding:15px 13px;gap:11px;min-height:122px;border-radius:17px}
  .kaya-pw-logo-tile{width:65px;height:62px;flex-basis:65px;border-radius:13px}
  .kaya-pw-method-logos{gap:6px}
  .kaya-pw-method-divider{height:52px}
  .kaya-pw-method-radio{flex-basis:27px;width:27px;height:27px}
  .kaya-pw-method-radio svg{width:20px;height:20px}
  .kaya-pw-method-copy strong{font-size:17px}
  .kaya-pw-method-copy small{font-size:12px}
  .kaya-pw-method-km{font-size:11px}
}
@media(max-width:440px){
  .kaya-pw-choice-section{padding:0}
  .kaya-pw-choice-heading{font-size:21px}
  .kaya-pw-choice-subtitle{font-size:12px}
  .kaya-pw-method-card{gap:7px;padding:12px 9px;min-height:104px;border-radius:15px}
  .kaya-pw-method-logos{gap:5px}
  .kaya-pw-logo-tile{width:49px;height:49px;flex:0 0 49px;border-radius:11px}
  .kaya-pw-brand-fallback{font-size:13px}
  .kaya-pw-method-divider{height:43px;flex-basis:1px;margin:0 1px}
  .kaya-pw-method-copy{gap:2px}
  .kaya-pw-method-copy strong{font-size:14px;line-height:1.2}
  .kaya-pw-method-copy small{font-size:10px;line-height:1.3}
  .kaya-pw-method-km{font-size:10px}
  .kaya-pw-method-radio{flex:0 0 22px;width:22px;height:22px;border-width:1.5px}
  .kaya-pw-method-radio svg{width:16px;height:16px}
  .kaya-pw-preview-shell{padding:15px;border-radius:19px}
  .kaya-pw-confirm-button{min-height:52px;font-size:15px}
}
@media(max-width:360px){
  .kaya-pw-method-card{gap:6px;padding:10px 8px}
  .kaya-pw-logo-tile{width:43px;height:45px;flex-basis:43px;border-radius:9px}
  .kaya-pw-method-copy strong{font-size:13px}
  .kaya-pw-method-copy small{font-size:9px}
  .kaya-pw-method-radio{flex-basis:20px;width:20px;height:20px}
}
/* Premium physical-card feel. Never animate continuous payments, logos, or page
   scroll; only the user-hovered/selected payment card gets a short 3-D cue. */
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .kaya-pw-method-card:hover{
    transform:perspective(1100px) rotateX(2deg) rotateY(-2deg) translateY(-3px);
    box-shadow:0 18px 34px rgba(4,58,32,.15);
  }
  .kaya-pw-method-card:hover::before{opacity:.7;transform:translateX(20%)}
  .kaya-pw-method-card:hover .kaya-pw-logo-tile:first-child{
    transform:perspective(400px) rotateY(-4deg) translateY(-2px);
  }
  .kaya-pw-method-card:hover .kaya-pw-logo-tile:last-child{
    transform:perspective(400px) rotateY(4deg) translateY(-2px);
  }
}
@media(prefers-reduced-motion:no-preference){
  .kaya-pw-method-card.selected .kaya-pw-method-radio svg{
    animation:kaya-pw-check-in .32s cubic-bezier(.2,1.3,.4,1) both;
  }
}
@keyframes kaya-pw-check-in{
  from{opacity:0;transform:scale(.3)}
  to{opacity:1;transform:scale(1)}
}
@media(prefers-reduced-motion:reduce){
  .kaya-pw-method-card,.kaya-pw-method-card::before,.kaya-pw-logo-tile,
  .kaya-pw-method-radio,.kaya-pw-method-radio svg,.kaya-pw-confirm-button{
    animation:none!important;transition:none!important;transform:none!important;
  }
}

/* Legal acceptance stays mandatory in both website and Telegram payment previews. */
.kaya-pw-required-mark{display:inline;color:#d52c26;font-weight:950;font-size:1.08em;white-space:nowrap}


/* Public checkout teaser before ABA PayWay merchant approval.
   Deliberately not a button: never let an unready method look payable.
   Legacy customer cash/manual KHQR choices must never be offered during bank activation. */
.kaya-payment-cards-await-payway{grid-template-columns:minmax(0,1fr)!important}
.kaya-pw-live-teaser,
.kaya-pw-live-teaser *{box-sizing:border-box}
.kaya-pw-live-teaser{
  grid-column:1/-1;
  width:100%;
  max-width:100%;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
  background:linear-gradient(120deg,#eff9ec 0%,#f4faf1 60%,#fffdf9 100%);
  border:2px solid #b6d5be;
  border-radius:20px;
  padding:17px 18px;
  color:#133f2e;
  text-align:left;
  box-shadow:0 8px 23px rgba(15,74,44,.065);
  cursor:default;
}
.kaya-pw-live-eyebrow{
  display:flex;align-items:center;gap:7px;
  font-size:10px;font-weight:900;letter-spacing:.055em;
  line-height:1.5;color:#6e5933;
}
.kaya-pw-live-eyebrow-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#bc9040}
.kaya-pw-live-main{display:flex;align-items:center;gap:14px;min-width:0}
.kaya-pw-live-teaser .kaya-pw-method-logos{gap:9px;transform:none}
.kaya-pw-live-teaser .kaya-pw-logo-tile{width:73px;height:68px;flex:0 0 73px;border-radius:14px}
.kaya-pw-live-teaser .kaya-pw-logo-tile-aba .kaya-pw-brand-logo{clip-path:circle(48.5% at 50% 50%);object-fit:cover}
.kaya-pw-live-teaser .kaya-pw-logo-tile-khqr .kaya-pw-brand-logo{width:90%;height:90%;object-fit:contain;filter:brightness(0) invert(1)}
.kaya-pw-live-teaser .kaya-pw-method-divider{height:59px;flex:0 0 1.5px;background:rgba(17,77,48,.3);transform:none}
.kaya-pw-live-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
.kaya-pw-live-copy strong{font-size:clamp(17px,2vw,22px);font-weight:900;line-height:1.2;color:#073f29;letter-spacing:-.02em}
.kaya-pw-live-copy small{font-size:12px;font-weight:500;line-height:1.45;color:#566e5e}
.kaya-pw-live-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 15px;border-top:1px solid rgba(31,86,57,.15);padding-top:11px;font-size:12px;line-height:1.6;color:#7d613b}
.kaya-pw-live-footer a{color:#075a3b!important;font-size:12px;font-weight:850;text-underline-offset:3px;white-space:nowrap}
.kaya-pw-live-footer a:hover{color:#003d26!important}
.kaya-pw-live-footer a:focus-visible{outline:3px solid #2bb67c;outline-offset:4px}
.shell.payment-page .mini-payment-methods .kaya-pw-live-teaser{padding:15px 14px;min-height:0;gap:10px}
.shell.payment-page .mini-payment-methods .kaya-pw-live-copy strong{font-size:17px}
@media(max-width:480px){
  .kaya-pw-live-teaser{padding:13px 11px;border-radius:16px;gap:9px}
  .kaya-pw-live-main{gap:7px}
  .kaya-pw-live-teaser .kaya-pw-method-logos{gap:5px}
  .kaya-pw-live-teaser .kaya-pw-logo-tile{width:48px;height:48px;flex-basis:48px;border-radius:10px}
  .kaya-pw-live-teaser .kaya-pw-method-divider{height:42px;flex-basis:1px}
  .kaya-pw-live-copy{gap:3px}
  .kaya-pw-live-copy strong{font-size:15px}
  .kaya-pw-live-copy small{font-size:10px;line-height:1.3}
  .kaya-pw-live-footer{font-size:11px}
  .shell.payment-page .mini-payment-methods .kaya-pw-live-teaser{padding:13px 11px}
  .shell.payment-page .mini-payment-methods .kaya-pw-live-copy strong{font-size:15px}
}
@media(max-width:350px){
  .kaya-pw-live-main{gap:5px}
  .kaya-pw-live-teaser .kaya-pw-logo-tile{width:42px;height:43px;flex-basis:42px}
  .kaya-pw-live-copy strong{font-size:14px}
  .kaya-pw-live-copy small{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  .kaya-pw-live-teaser,.kaya-pw-live-teaser *,
  .kaya-pw-live-teaser *::before,.kaya-pw-live-teaser *::after{
    animation:none!important;transition:none!important;
  }
}

/* ABA PayWay-only: legacy payment controls remain in DOM for pending review
   and receipt recovery, not for new customer orders. */
#paymentStage .mini-payment-methods #miniPayKHQR,
#paymentStage .mini-payment-methods #miniPayPickup,
#paymentStage #createPaymentReview,
#paymentStage #miniPlacePickupOrder{display:none!important;visibility:hidden!important;pointer-events:none!important}

/* Mobile bank preference is a route within ABA PAY / KHQR, not a second payment method. */
.kaya-pw-mobile.kaya-pw-aba-bank .kaya-pw-save,
.kaya-pw-mobile.kaya-pw-aba-bank .kaya-pw-share{display:none!important}
.kaya-pw-mobile.kaya-pw-other-bank .kaya-pw-open{display:none!important}
.kaya-pw-mobile.kaya-pw-aba-bank .kaya-pw-actions{grid-template-columns:1fr}

/* ABA Figma Merchant Integration Guideline — reference:
 * 30401:375: general printed/display QR: 140–250 px, 10 px quiet zone.
 * 30401:515: kiosk-only 100–144 px; these are NOT website modal rules.
 * This styling applies only to KAYA's inactive review UI. Actual Purchase
 * payment sheets are wholly PayWay-owned and must not be restyled.
 */
.kaya-pw-choice-section .kaya-pw-logo-tile-aba,
.kaya-pw-choice-section .kaya-pw-logo-tile-khqr{
  background:#fff;
}
.kaya-pw-choice-section .kaya-pw-logo-tile-aba .kaya-pw-brand-logo{
  clip-path:none;object-fit:contain;width:94%;height:auto;max-height:78%;
}
.kaya-pw-choice-section .kaya-pw-logo-tile-khqr .kaya-pw-brand-logo{
  clip-path:none;filter:none;object-fit:contain;width:80%;height:80%;
}
.kaya-pw-qr-frame{
  background:#fff;
  padding:10px;
}
.kaya-pw-qr-image:not([hidden]){
  display:block;
  box-sizing:content-box;
  width:clamp(140px,55vw,185px);
  height:auto;
  aspect-ratio:1/1;
  padding:10px;
  background:#fff;
  max-width:250px;
  object-fit:contain;
  image-rendering:auto;
}
@media(max-width:360px){
  .kaya-pw-qr-image:not([hidden]){width:140px;}
}
