/* Arses QA patch v2.1.5 — scoped to the Nexo UI and card-to-card checkout */
/* Only the Nexo header/drawer should be interactive when the Nexo header is selected. */
body.arses-nexo-custom-header .wd-page-wrapper > .whb-header,
body.arses-nexo-custom-header .wd-page-wrapper > header.whb-header,
body.arses-nexo-custom-header header.whb-header,
body.arses-nexo-custom-header .mobile-nav.wd-side-hidden,
body.arses-nexo-custom-header .wd-side-hidden-nav {display:none!important;visibility:hidden!important;pointer-events:none!important}
html.awn-modal-open{overflow:hidden!important;overscroll-behavior:none}
html.awn-modal-open body{overflow:hidden!important;touch-action:pan-y}
html.awn-modal-open .wd-close-side,html.awn-modal-open body .wd-close-side{display:none!important;visibility:hidden!important;pointer-events:none!important}
body .awn-layer.awn-v2-overlay:not([hidden]){position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;overflow:hidden!important;margin:0!important;padding:0!important;transform:none!important;display:block!important;z-index:2147483000!important;isolation:isolate}
body .awn-layer.awn-v2-overlay[hidden]{display:none!important}
body .awn-layer.awn-v2-overlay>.awn-backdrop{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;border-radius:0!important;background:rgba(15,21,38,.62)!important;opacity:1!important;z-index:0!important;cursor:pointer}
body .awn-layer.awn-v2-overlay>.awn-panel{z-index:1!important;box-sizing:border-box;max-height:100%!important}
body .awn-layer.awn-v2-overlay>.awn-v2-drawer{position:absolute!important;right:0!important;left:auto!important;top:0!important;bottom:0!important;margin:0!important;max-width:440px!important;width:min(440px,100vw)!important;height:100%!important;border-radius:0!important;direction:rtl!important}
body .awn-layer.awn-v2-overlay>.awn-v2-search-modal,
body .awn-layer.awn-v2-overlay>.awn-v2-auth-modal{position:absolute!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;margin:0!important;width:min(470px,calc(100vw - 24px))!important;height:auto!important;max-height:calc(100dvh - 30px)!important;overflow-y:auto!important;border-radius:23px!important;padding:24px!important}
@media(max-width:767px){
  body .awn-layer.awn-v2-overlay>.awn-v2-drawer{width:100vw!important;max-width:100vw!important;border-radius:0!important}
  body .awn-layer.awn-v2-overlay>.awn-v2-search-modal,
  body .awn-layer.awn-v2-overlay>.awn-v2-auth-modal{position:absolute!important;bottom:0!important;top:auto!important;left:0!important;right:0!important;width:100vw!important;max-width:100vw!important;transform:none!important;margin:0!important;max-height:90dvh!important;height:auto!important;border-radius:24px 24px 0 0!important;padding:22px 20px max(30px,env(safe-area-inset-bottom))!important}
  body.arses-nexo-custom-header .awn-v2-bottom{max-width:calc(100vw - 18px)}
}

/* WooCommerce button styles must never create white boxes inside a bank card. */
body.woocommerce-checkout .woocommerce .nxc-c2c .nxc-bank-card button.nxc-bank-card__number,
body.woocommerce-checkout .woocommerce .nxc-c2c .nxc-bank-card button.nxc-bank-card__sheba,
body .woocommerce .nxc-c2c .nxc-bank-card button.nxc-bank-card__number,
body .woocommerce .nxc-c2c .nxc-bank-card button.nxc-bank-card__sheba,
body .nxc-c2c .nxc-bank-card button.nxc-bank-card__number,
body .nxc-c2c .nxc-bank-card button.nxc-bank-card__sheba{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  color:#fff!important;
  border:0!important;
  box-shadow:none!important;
  outline-offset:3px!important;
  text-shadow:none!important;
  opacity:1!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
body .nxc-c2c .nxc-bank-card button.nxc-bank-card__number:hover,
body .nxc-c2c .nxc-bank-card button.nxc-bank-card__sheba:hover,
body .nxc-c2c .nxc-bank-card button.nxc-bank-card__number:focus-visible,
body .nxc-c2c .nxc-bank-card button.nxc-bank-card__sheba:focus-visible{
  background:rgba(255,255,255,.1)!important;
  color:#fff!important
}
body .nxc-c2c .nxc-bank-card__number span,
body .nxc-c2c .nxc-bank-card__number .nxc-bank-card__copy,
body .nxc-c2c .nxc-bank-card__sheba span,
body .nxc-c2c .nxc-bank-card__sheba small,
body .nxc-c2c .nxc-bank-card__number svg,
body .nxc-c2c .nxc-bank-card__sheba svg {color:#fff!important;fill:none}
body .nxc-c2c .nxc-bank-card__number{white-space:nowrap;min-height:42px;line-height:1.5}
body .nxc-c2c .nxc-bank-card__sheba{font-variant-numeric:tabular-nums;direction:ltr;text-align:right;min-height:40px}
body .nxc-c2c .nxc-bank-card__sheba span{overflow-wrap:anywhere;white-space:normal}

/* Neutral/warm payment steps, no purple — entirely separate from the bank card. */
body .nxc-c2c .nxc-howto{gap:10px!important;margin:15px 0 18px!important}
body .nxc-c2c .nxc-howto>li{background:#f8f8f9!important;border:1px solid #eaebee!important;border-radius:14px!important;color:#364052!important;min-height:67px;padding:11px 12px!important;box-shadow:none!important}
body .nxc-c2c .nxc-howto>li:nth-child(1){background:#fff6f4!important;border-color:#f2e4e0!important}
body .nxc-c2c .nxc-howto>li:nth-child(2){background:#fcf8f1!important;border-color:#f1e8dd!important}
body .nxc-c2c .nxc-howto>li:nth-child(3){background:#f1f8f5!important;border-color:#deede5!important}
body .nxc-c2c .nxc-howto>li>b{background:#c75960!important;background-image:none!important;box-shadow:none!important;color:white!important;border-radius:9px!important;flex-shrink:0!important;line-height:1!important}
body .nxc-c2c .nxc-howto>li:nth-child(2)>b{background:#bd8852!important}
body .nxc-c2c .nxc-howto>li:nth-child(3)>b{background:#42846e!important}
body .nxc-c2c .nxc-howto>li>span{color:#343e4c!important;font-weight:650!important}
@media(max-width:767px){
  body .nxc-c2c .nxc-howto{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body .nxc-c2c .nxc-howto>li{min-height:52px!important;padding:10px 12px!important;gap:11px!important}
}

/* Keep the checkout usable and prevent opaque full-page "updating" screens. */
body.woocommerce-checkout .woocommerce-checkout-review-order .blockUI.blockOverlay,
body.woocommerce-checkout #payment .blockUI.blockOverlay,
body.woocommerce-checkout form.checkout .blockUI.blockOverlay{
  background:rgba(255,255,255,.43)!important;
  background-image:none!important;
  opacity:1!important;
}
body.woocommerce-checkout .awn-checkout-progress{display:none;align-items:center;gap:9px;margin:0 0 10px!important;padding:8px 11px;border:1px solid #e8eced;border-radius:11px;background:#f7faf9;color:#52645e;font-size:12px;font-weight:650}
body.woocommerce-checkout .awn-checkout-progress.is-visible{display:flex}
body.woocommerce-checkout .awn-checkout-progress__spin{width:15px;height:15px;border-radius:50%;border:2px solid #d4ded9;border-top-color:#358875;animation:awn-checkout-spin .75s linear infinite;flex-shrink:0}
body.woocommerce-checkout .awn-checkout-progress.is-error{background:#fff7f3;border-color:#f2dcd3;color:#a04d42}
body.woocommerce-checkout .awn-checkout-progress.is-error .awn-checkout-progress__spin{display:none}
body.woocommerce-checkout .awn-checkout-progress button{margin-right:auto;border:0;background:#ebefe9;color:#38695a;border-radius:8px;padding:4px 9px;cursor:pointer;font-size:11px}
@keyframes awn-checkout-spin{to{transform:rotate(360deg)}}
