/* StyleHub payment gateway (Design 1+2) + checkout pay mode */
:root{--pg-brand:#7a2348;--pg-brand-dark:#5c1836;--pg-ink:#0f172a;}
.checkout-pay-mode {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}
.checkout-pay-mode__options {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.checkout-pay-mode__option {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  min-width: 0;
  padding: .75rem 1rem;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  user-select: none;
}
.checkout-pay-mode__option:hover {
  border-color: #a3a3a3;
  background: #fafafa;
}
.checkout-pay-mode__option.is-selected,
.checkout-pay-mode__option:has(input:checked) {
  border: 2px solid var(--pg-brand, #7a2348);
  background: #fef2f2;
  padding: calc(.75rem - 1px) calc(1rem - 1px);
}
.checkout-pay-mode__input-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.checkout-pay-mode__radio {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 9999px;
  border: 2px solid #a3a3a3;
  background: #fff;
  position: relative;
  transition: border-color .15s ease;
}
.checkout-pay-mode__option.is-selected .checkout-pay-mode__radio,
.checkout-pay-mode__option:has(input:checked) .checkout-pay-mode__radio {
  border-color: var(--pg-brand, #7a2348);
  background: #fff;
}
.checkout-pay-mode__option.is-selected .checkout-pay-mode__radio::after,
.checkout-pay-mode__option:has(input:checked) .checkout-pay-mode__radio::after {
  content: "";
  position: absolute;
  inset: .2rem;
  border-radius: 9999px;
  background: var(--pg-brand, #7a2348);
}
.checkout-pay-mode__option-label {
  font-size: .875rem;
  font-weight: 700;
  color: #141414;
  line-height: 1.2;
}
.checkout-pay-mode__option.is-selected .checkout-pay-mode__option-label,
.checkout-pay-mode__option:has(input:checked) .checkout-pay-mode__option-label {
  color: var(--pg-brand-dark, #5c1836);
}
.checkout-pay-mode__panel { display: none; margin-top: .85rem; }
.checkout-pay-mode__panel.is-active { display: block; }
.checkout-pay-mode__fields { display: grid; gap: .75rem; }
.checkout-pay-mode__label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #525252;
  margin-bottom: .35rem;
}
.checkout-pay-mode__input {
  width: 100%;
  min-width: 0;
  border-radius: 0;
  border: 1px solid #d4d4d4;
  background: #fff;
  color: #141414;
  padding: .75rem 1rem;
  font-size: .875rem;
}
.checkout-pay-mode__input:focus {
  outline: none;
  border-color: #141414;
}
.checkout-pay-mode__input--mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.checkout-pay-mode__methods {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.checkout-pay-mode__method {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  padding: .4rem .75rem;
  font-size: .75rem;
  font-weight: 600;
  color: #404040;
  background: #fff;
  cursor: pointer;
}
.checkout-pay-mode__method:has(input:checked) {
  border-color: var(--pg-brand, #7a2348);
  background: #fef2f2;
  color: var(--pg-brand-dark, #5c1836);
}

/* ---------- Payment gateway overlay (checkout) ---------- */
.pg-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overscroll-behavior: none;
  touch-action: none;
  visibility: hidden;
  pointer-events: none;
}
.pg-overlay.hidden {
  visibility: hidden;
  pointer-events: none;
}
.pg-overlay.is-open,
.pg-overlay.is-closing {
  visibility: visible;
}
.pg-overlay.is-open { pointer-events: auto; }
.pg-overlay.is-closing { pointer-events: none; }
.pg-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  touch-action: none;
  opacity: 0;
  transition: opacity .38s ease;
}
.pg-overlay.is-open .pg-backdrop { opacity: 1; }
.pg-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  max-height: 96vh;
  max-height: 96dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: .75rem .75rem calc(.75rem + env(safe-area-inset-bottom, 0px));
  transform: translate3d(0, 1.75rem, 0) scale(.97);
  opacity: 0;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .32s ease;
}
.pg-overlay.is-open .pg-shell {
  transform: none;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .pg-overlay .pg-backdrop,
  .pg-overlay .pg-shell,
  .pg-overlay--design3 .pg-shell--d3 {
    transition: none;
  }
}
.pg-card {
  position: relative;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 28px 80px -24px rgba(15, 23, 42, .45);
  overflow: hidden;
  color: #0f172a;
}
.pg-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fafc, #fff);
}
.pg-header__brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex: 1;
  min-width: 0;
}
.pg-header__title {
  margin: 0;
  font-size: .9rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.pg-header__sub {
  margin: .1rem 0 0;
  font-size: .68rem;
  color: #64748b;
}
.pg-header__secure {
  display: none;
  align-items: center;
  gap: .35rem;
  font-size: .65rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: .3rem .55rem;
}
.pg-close {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: .5rem;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  flex-shrink: 0;
}
.pg-close:hover { background: #f1f5f9; color: #0f172a; }
.pg-amount-bar {
  text-align: center;
  padding: 1.15rem 1rem .95rem;
  background: linear-gradient(135deg, #0f766e, #059669 55%, #10b981);
  color: #fff;
}
.pg-amount-bar__label {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .88;
}
.pg-amount-bar__value {
  margin: .25rem 0 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.pg-amount-bar__meta {
  margin: .45rem 0 0;
  font-size: .72rem;
  opacity: .9;
}
.pg-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  background: #fafbfc;
}
.pg-step {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .68rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pg-step span,
.pg-step__num {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 800;
  background: #e2e8f0;
  color: #64748b;
}
.pg-step__label {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  border-radius: 0;
  background: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-weight: 700;
  color: inherit;
}
.pg-step.is-active { color: #0f766e; }
.pg-step.is-active span:not(.pg-step__label) { background: var(--pg-brand, #7a2348); color: #fff; }
.pg-step.is-active .pg-step__label { background: none; color: inherit; }
.pg-step.is-done { color: #64748b; }
.pg-step.is-done span:not(.pg-step__label) { background: #d1fae5; color: #059669; }
.pg-step.is-done .pg-step__label { background: none; color: inherit; }
.pg-step-line {
  width: 1.5rem;
  height: 2px;
  background: #e2e8f0;
  flex-shrink: 0;
}
/* Design 1 Ã¢â‚¬â€ equal thirds, number + label stacked and centered */
.pg-steps--d1 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  justify-items: stretch;
  gap: 0;
  padding: .85rem .5rem;
}
.pg-steps--d1 .pg-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: .4rem;
  width: 100%;
  min-width: 0;
  text-align: center;
}
.pg-steps--d1 .pg-step__num {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 auto;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1;
  background: #e2e8f0;
  color: #64748b;
  flex-shrink: 0;
}
.pg-steps--d1 .pg-step__label {
  display: block !important;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  margin: 0;
  padding: 0;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  text-align: center;
  color: inherit;
  white-space: nowrap;
  background: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.pg-steps--d1 .pg-step.is-active { color: #0f766e; }
.pg-steps--d1 .pg-step.is-active .pg-step__num { background: var(--pg-brand, #7a2348); color: #fff; }
.pg-steps--d1 .pg-step.is-done { color: #64748b; }
.pg-steps--d1 .pg-step.is-done .pg-step__num { background: #d1fae5; color: #059669; }
.pg-panel {
  padding: 1.15rem 1.15rem .5rem;
}
.pg-panel.hidden { display: none !important; }
.pg-panel__heading {
  margin: 0 0 .85rem;
  font-size: .95rem;
  font-weight: 700;
  color: #0f172a;
}
.pg-methods {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.pg-method {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 .75rem;
  padding: .85rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: .85rem;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.pg-method:hover { border-color: #cbd5e1; background: #f8fafc; }
.pg-method:has(input:checked) {
  border-color: var(--pg-accent, #059669);
  background: color-mix(in srgb, var(--pg-accent, #059669) 6%, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pg-accent, #059669) 12%, transparent);
}
.pg-method__icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .65rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  padding: .3rem;
}
.pg-method__icon--logo {
  background: #fff;
}
.pg-method__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.pg-method__img--rocket {
  transform: none;
  max-height: 1.45rem;
  max-width: 1.45rem;
}
.pg-method__name {
  font-size: .95rem;
  font-weight: 700;
  color: #0f172a;
}
.pg-method__type {
  grid-column: 2;
  font-size: .72rem;
  color: #64748b;
}
.pg-method__check {
  grid-row: 1 / 3;
  grid-column: 3;
  color: var(--pg-accent, #059669);
  opacity: 0;
  transition: opacity .15s ease;
}
.pg-method:has(input:checked) .pg-method__check { opacity: 1; }
.pg-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .35rem .5rem;
  margin-top: 1rem;
  font-size: .68rem;
  font-weight: 600;
  color: #94a3b8;
}
.pg-trust__note {
  width: 100%;
  text-align: center;
  font-weight: 500;
  color: #cbd5e1;
}
.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  min-height: 2.85rem;
  margin-top: 1rem;
  padding: .7rem 1rem;
  border: none;
  border-radius: .65rem;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter .15s ease, transform .1s ease;
}
.pg-btn:active { transform: scale(.99); }
.pg-btn--primary {
  background: linear-gradient(135deg, var(--pg-brand-dark, #5c1836), var(--pg-brand, #7a2348));
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(5, 150, 105, .55);
}
.pg-btn--primary:hover { filter: brightness(1.05); }
.pg-btn--success {
  background: linear-gradient(135deg, #15803d, #16a34a);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(22, 163, 74, .5);
}
.pg-btn--success:hover { filter: brightness(1.05); }
.pg-btn--ghost {
  width: auto;
  min-height: 2.5rem;
  padding: .55rem .85rem;
  background: #f1f5f9;
  color: #475569;
  font-size: .82rem;
}
.pg-btn--ghost:hover { background: #e2e8f0; }
.pg-pay-banner {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: .75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  margin-bottom: 1rem;
}
.pg-pay-banner__logo {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .65rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  background: #fff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  padding: .25rem;
  flex-shrink: 0;
}
.pg-pay-banner__logo--img {
  background: #fff;
}
.pg-pay-banner__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pg-pay-banner__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}
.pg-pay-banner__sub {
  margin: .15rem 0 0;
  font-size: .72rem;
  color: #64748b;
}
.pg-copy-grid {
  display: grid;
  gap: .65rem;
  margin-bottom: 1rem;
}
.pg-copy-box {
  padding: .75rem .85rem;
  border-radius: .75rem;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}
.pg-copy-box__label {
  margin: 0 0 .35rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
}
.pg-copy-box__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
}
.pg-copy-box__value {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.pg-copy-box__value--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.15rem;
  letter-spacing: .02em;
}
.pg-copy-btn {
  flex-shrink: 0;
  padding: .4rem .7rem;
  border: 1px solid #cbd5e1;
  border-radius: .5rem;
  background: #fff;
  font-size: .72rem;
  font-weight: 700;
  color: #0f766e;
  cursor: pointer;
}
.pg-copy-btn:hover { background: #ecfdf5; border-color: #6ee7b7; }
.pg-instructions {
  margin: 0 0 1rem;
  padding-left: 0;
  list-style: none;
  font-size: .82rem;
  line-height: 1.65;
  color: #475569;
}
.pg-instructions li { margin-bottom: .35rem; }
.pg-instructions strong { color: #0f172a; }
.pg-bn-num {
  font-weight: 700;
  color: #0f172a;
  margin-right: .25rem;
}
.pg-alert {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .75rem .85rem;
  border-radius: .65rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: .78rem;
  line-height: 1.45;
}
.pg-alert.hidden { display: none !important; }
.pg-alert--error {
  margin-bottom: .85rem;
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}
.pg-input.is-error {
  border: 2px solid #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, .22);
}
.pg-btn--manual-fallback {
  width: 100%;
  margin: 0;
  padding: .85rem 1rem;
  border-radius: 0;
  border: 2px solid var(--pg-brand, #7a2348);
  background: #fff;
  color: var(--pg-ink, #141414);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  box-shadow: 4px 4px 0 rgba(220, 38, 38, .18);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.pg-btn--manual-fallback:hover {
  background: #fef2f2;
  color: var(--pg-brand-dark, #5c1836);
  box-shadow: 2px 2px 0 rgba(220, 38, 38, .25);
  transform: translate(1px, 1px);
}
.pg-manual-fallback__eyebrow {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pg-brand, #7a2348);
}
.pg-manual-fallback__title {
  font-size: .9rem;
  font-weight: 800;
  color: #141414;
  line-height: 1.25;
}
.pg-manual-fallback__hint {
  font-size: .72rem;
  font-weight: 500;
  color: #737373;
  line-height: 1.35;
}
.pg-manual-spotlight {
  margin-top: .85rem;
  padding: 0;
  border-radius: 0;
  background: none;
  animation: none;
  box-shadow: none;
}
.pg-manual-spotlight.hidden { display: none !important; }
.pg-actions {
  display: flex;
  align-items: stretch;
  gap: .65rem;
  margin-top: .25rem;
}
.pg-actions .pg-btn {
  margin-top: 0;
}
.pg-actions .pg-btn--ghost {
  align-self: stretch;
  min-height: 2.85rem;
  padding: .7rem 1rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.pg-actions .pg-btn--primary,
.pg-actions .pg-btn--success {
  flex: 1;
  min-width: 0;
  margin-top: 0;
}
.pg-verifying-hint {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .85rem 1rem;
  margin-bottom: 1rem;
  border-radius: .75rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.pg-verifying-hint__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .65rem;
  background: #dbeafe;
  color: #2563eb;
  flex-shrink: 0;
}
.pg-verifying-hint__title {
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
  color: #1e3a8a;
}
.pg-verifying-hint__sub {
  margin: .2rem 0 0;
  font-size: .75rem;
  color: #3b82f6;
  line-height: 1.4;
}
.pg-fields {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.pg-label {
  display: block;
  margin-bottom: .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #64748b;
}
.pg-input {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid #cbd5e1;
  border-radius: .6rem;
  font-size: .9rem;
  color: #0f172a;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pg-input:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, .15);
}
.pg-input--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
}
.trx-id-input {
  text-transform: uppercase;
  font-variant-ligatures: none;
}
.pg-summary-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-top: 1rem;
  padding: .75rem;
  border-radius: .65rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: .78rem;
}
.pg-summary-mini span { display: block; color: #64748b; margin-bottom: .15rem; }
.pg-summary-mini strong { color: #0f172a; font-size: .88rem; }
.pg-footer {
  padding: .85rem 1.15rem 1.1rem;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc;
  text-align: center;
}
.pg-footer__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem .85rem;
  font-size: .68rem;
  font-weight: 600;
  color: #64748b;
}
.pg-footer__note {
  margin: .5rem 0 0;
  font-size: .65rem;
  color: #94a3b8;
  line-height: 1.4;
}
@media (min-width: 640px) {
  .pg-overlay { align-items: center; padding: 1.5rem; }
  .pg-shell { padding: 0; }
  .pg-header__secure { display: inline-flex; }
  .pg-copy-grid { grid-template-columns: 1fr 1fr; }
}

/* Payment popup Ã¢â‚¬â€ Design 2 */
.pg-overlay--design2 { align-items: center; padding: 1rem; }
.pg-shell--d2 { max-width: 26rem; padding: 0; }
.pg-card--d2 {
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: 0 28px 80px -24px rgba(15, 23, 42, .5);
}
.pg-d2-hero {
  position: relative;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 52%, #0f766e 145%);
  color: #fff;
  text-align: center;
}
.pg-close--d2 {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 2;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .12);
  border: 0;
  border-radius: 999px;
  width: 2.125rem;
  height: 2.125rem;
  margin: 0;
  padding: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s ease;
}
.pg-close--d2 svg {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}
.pg-close--d2:hover { background: rgba(255, 255, 255, .2); }
.pg-d2-hero__eyebrow {
  margin: 0;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.pg-d2-hero__title {
  margin: .4rem 0 0;
  font-size: 1.02rem;
  font-weight: 700;
}
.pg-d2-hero__amount {
  margin: .5rem 0 0;
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.pg-d2-hero__meta {
  margin: .4rem 0 0;
  font-size: .72rem;
  color: rgba(255, 255, 255, .72);
}
.pg-d2-progress {
  padding: 0;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
}
.pg-d2-progress__track {
  height: 3px;
  border-radius: 0;
  background: #e2e8f0;
  overflow: hidden;
}
.pg-d2-progress__fill {
  height: 100%;
  width: 33%;
  border-radius: 0;
  background: linear-gradient(90deg, var(--pg-brand-dark, #5c1836), var(--pg-brand, #7a2348));
  transition: width .28s ease;
}
.pg-steps--d2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  margin: 0;
  padding: .7rem 1rem .8rem;
  background: #fafbfc;
  border-bottom: none;
}
.pg-steps--d2 .pg-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #94a3b8;
}
.pg-steps--d2 .pg-step span:not(.pg-step__label) { display: none; }
.pg-steps--d2 .pg-step__label {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  padding: 0;
  font-size: .68rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.pg-steps--d2 .pg-step.is-active .pg-step__label { color: var(--pg-brand, #7a2348); }
.pg-steps--d2 .pg-step.is-done .pg-step__label { color: #475569; }
.pg-steps--d2 .pg-step:not(.is-active):not(.is-done) .pg-step__label { color: #94a3b8; }
.pg-d2-body { padding: .35rem 1rem 1rem; }
.pg-overlay--design2 .pg-panel {
  padding: .85rem 0 .35rem;
}
.pg-overlay--design2 .pg-panel__heading {
  font-size: .92rem;
  margin-bottom: .75rem;
  text-align: left;
}
.pg-overlay--design2 .pg-methods { gap: .5rem; }
.pg-overlay--design2 .pg-method {
  border-radius: .85rem;
  padding: .75rem .85rem;
}
.pg-overlay--design2 .pg-pay-banner {
  margin-bottom: .85rem;
  padding: .85rem;
  border-radius: .85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.pg-overlay--design2 .pg-copy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin-bottom: .85rem;
  align-items: stretch;
}
.pg-overlay--design2 .pg-copy-box {
  display: flex;
  flex-direction: column;
  min-height: 6.25rem;
  padding: .8rem .85rem;
  border-radius: .8rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.pg-overlay--design2 .pg-copy-box__label {
  margin: 0 0 .45rem;
  font-size: .62rem;
  letter-spacing: .08em;
  line-height: 1.3;
}
.pg-overlay--design2 .pg-copy-box__row {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: .55rem;
  min-width: 0;
}
.pg-overlay--design2 .pg-copy-box__value {
  font-size: 1.15rem;
  line-height: 1.15;
  word-break: break-word;
  width: 100%;
}
.pg-overlay--design2 .pg-copy-box__value--mono {
  font-size: .92rem;
  letter-spacing: .01em;
  line-height: 1.25;
}
.pg-overlay--design2 .pg-copy-btn {
  align-self: stretch;
  width: 100%;
  text-align: center;
  padding: .45rem .65rem;
  border-radius: .55rem;
  margin-top: auto;
}
.pg-overlay--design2 .pg-instructions {
  margin-bottom: .85rem;
  padding: .75rem .85rem;
  border-radius: .75rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}
.pg-overlay--design2 .pg-alert {
  margin-bottom: .85rem;
}
.pg-overlay--design2 .pg-actions {
  margin-top: .15rem;
}
.pg-overlay--design2 .pg-verifying-hint {
  margin-bottom: .85rem;
}
.pg-overlay--design2 .pg-summary-mini {
  margin-bottom: .85rem;
}
@media (max-width: 22rem) {
  .pg-overlay--design2 .pg-copy-grid {
    grid-template-columns: 1fr;
  }
  .pg-overlay--design2 .pg-copy-box {
    min-height: 0;
  }
}
.pg-footer--d2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  padding: .8rem 1rem 1rem;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc;
  font-size: .68rem;
  font-weight: 600;
  color: #64748b;
}
.pg-footer--d2 .pg-footer__note,
.pg-footer--d2 .pg-footer__badges { display: none; }

/* Payment popup Ã¢â‚¬â€ Design 3 (SSLCommerz-style) */
.pg-overlay--design3 {
  align-items: flex-end;
  padding: 0;
  touch-action: none;
}
.pg-shell--d3 {
  max-width: 24rem;
  width: 100%;
  margin-top: auto;
  padding: 1.35rem 0 env(safe-area-inset-bottom, 0px);
  max-height: 92dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  transform: translate3d(0, 100%, 0);
  opacity: 1;
  transition: transform .48s cubic-bezier(.22, 1, .36, 1);
}
.pg-overlay--design3.is-open .pg-shell--d3 {
  transform: none;
  opacity: 1;
}
.pg-card--d3 {
  position: relative;
  border-radius: 1rem 1rem 0 0;
  overflow: visible;
  background: #fff;
  box-shadow: 0 -8px 40px rgba(15, 23, 42, .18);
}
@media (min-width: 640px) {
  .pg-overlay--design3 {
    align-items: center;
    justify-content: center;
    padding: 1rem;
    touch-action: auto;
  }
  .pg-shell--d3 {
    margin-top: 0;
    margin-bottom: 0;
    padding: 1.35rem 0 0;
    max-height: 90vh;
    max-height: 90dvh;
    transform: translate3d(0, 1.5rem, 0) scale(.97);
    opacity: 0;
    transition: transform .42s cubic-bezier(.22, 1, .36, 1), opacity .32s ease;
  }
  .pg-overlay--design3.is-open .pg-shell--d3 {
    transform: none;
    opacity: 1;
  }
  .pg-card--d3 {
    border-radius: 1rem;
    box-shadow: 0 24px 64px -20px rgba(15, 23, 42, .35);
  }
}
.pg-d3-badge {
  position: absolute;
  top: -1.15rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: 4.15rem;
  height: 4.15rem;
  border-radius: 999px;
  background: #fff;
  border: 3px solid #f1f5f9;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .12);
  display: grid;
  place-items: center;
  padding: .4rem;
  overflow: hidden;
}
.pg-d3-badge .site-logo,
.pg-d3-badge img,
.pg-d3-badge svg {
  max-width: 100%;
  max-height: 2.35rem;
  width: auto;
  height: auto;
  object-fit: contain;
}
.pg-d3-header {
  position: relative;
  padding: 2.55rem 1rem .7rem;
  text-align: center;
  background: #fff;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
}
.pg-d3-close {
  position: absolute;
  top: .55rem;
  right: .55rem;
  width: 1.85rem;
  height: 1.85rem;
  border: 0;
  border-radius: .35rem;
  background: transparent;
  color: #64748b;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.pg-d3-close:hover { background: #f1f5f9; color: #0f172a; }
.pg-d3-merchant {
  margin: 0;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: #334155;
}
.pg-d3-utils {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: .15rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .62rem;
  font-weight: 600;
  color: #2563eb;
}
.pg-d3-utils li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .28rem;
}
.pg-d3-utils__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .28rem;
  color: inherit;
  text-decoration: none;
}
.pg-d3-utils__link:hover .pg-d3-utils__icon {
  background: #dbeafe;
}
.pg-d3-utils__icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 0;
  color: #2563eb;
  display: grid;
  place-items: center;
}
.pg-d3-utils__icon svg { width: .95rem; height: .95rem; }
.pg-d3-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #1a9e55;
  color: #fff;
}
.pg-d3-tab {
  padding: .62rem .35rem;
  text-align: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.2;
  background: #1a9e55;
  color: #fff;
  opacity: 1;
  transition: background .15s ease, color .15s ease;
}
.pg-d3-tab--dim { opacity: .55; pointer-events: none; }
.pg-d3-tab.is-active {
  background: #111;
  color: #fff;
  opacity: 1;
}
.pg-d3-tab.is-done {
  background: #15803d;
  color: #fff;
}
.pg-d3-progress {
  height: 3px;
  background: #e2e8f0;
}
.pg-d3-progress__fill {
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, #1a9e55, #34d399);
  transition: width .28s ease;
}
.pg-d3-body { padding: 0; }
.pg-panel--d3 { padding: .85rem 1rem 1.1rem; }
.pg-d3-hint {
  margin: 0 0 .75rem;
  text-align: center;
  font-size: .72rem;
  color: #64748b;
}
.pg-d3-hint--confirm { margin-bottom: .65rem; }
.pg-d3-providers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #dbe3ec;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: .85rem;
  background: #fff;
}
.pg-d3-provider {
  display: block;
  cursor: pointer;
  border-right: 1px solid #dbe3ec;
  background: #fff;
  transition: background .15s ease, box-shadow .15s ease;
  min-height: 6.5rem;
}
.pg-d3-provider:last-child { border-right: 0; }
.pg-d3-provider:hover { background: #fafbfc; }
.pg-d3-provider:has(input:checked) {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--pg-accent, #059669);
}
.pg-d3-provider__logo {
  display: grid;
  place-items: center;
  min-height: 6.5rem;
  padding: 1.05rem .7rem;
}
.pg-d3-provider__img {
  display: block;
  width: 100%;
  max-width: 6.5rem;
  height: 3rem;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: .72;
  transition: filter .15s ease, opacity .15s ease, transform .15s ease;
}
.pg-d3-provider__img--rocket {
  max-width: 3.75rem;
  height: 3.35rem;
}
.pg-d3-provider:has(input:checked) .pg-d3-provider__img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}
.pg-d3-provider__mark {
  display: none;
}
.pg-d3-terms {
  margin-bottom: .65rem;
  padding: .55rem .65rem;
  border: 1px solid #e2e8f0;
  border-radius: .35rem;
  font-size: .62rem;
  line-height: 1.45;
  color: #64748b;
}
.pg-d3-terms strong { color: #334155; }
.pg-d3-invoice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .55rem;
  padding: 0 .15rem;
  font-size: .72rem;
  color: #64748b;
}
.pg-d3-invoice strong {
  font-size: .88rem;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.pg-d3-paybtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  padding: .9rem 1rem;
  border: 0;
  border-radius: 0 0 .15rem .15rem;
  background: #9ca3af;
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: not-allowed;
  opacity: .85;
  transition: filter .15s ease, transform .1s ease, background .15s ease, opacity .15s ease;
}
.pg-d3-paybtn.is-ready {
  background: #8b83f3;
  cursor: pointer;
  opacity: 1;
}
.pg-d3-paybtn.is-ready:hover { filter: brightness(1.06); }
.pg-d3-paybtn.is-ready:active { transform: scale(.995); }
.pg-d3-paybtn:disabled { pointer-events: none; }
.pg-d3-paybtn--step,
.pg-d3-paybtn--confirm {
  flex: 1;
  min-width: 0;
  font-size: .72rem;
  letter-spacing: .04em;
  padding: .75rem .65rem;
  border-radius: .35rem;
  background: #8b83f3;
  cursor: pointer;
  opacity: 1;
}
.pg-d3-paybtn--confirm { background: #1a9e55; }
.pg-d3-selected {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  padding: .65rem .75rem;
  border: 1px solid #e2e8f0;
  border-radius: .35rem;
  background: #fafbfc;
}
.pg-d3-selected__logo,
.pg-d3-selected__logo-wrap {
  width: 3.25rem;
  height: 2.5rem;
  border-radius: .3rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  padding: .2rem;
}
.pg-d3-selected__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pg-d3-selected__title {
  margin: 0;
  font-size: .88rem;
  font-weight: 700;
  color: #0f172a;
}
.pg-d3-selected__sub {
  margin: .1rem 0 0;
  font-size: .68rem;
  color: #64748b;
}
.pg-d3-fields {
  display: grid;
  gap: .55rem;
  margin-bottom: .75rem;
}
.pg-d3-field {
  border: 1px solid #cbd5e1;
  border-radius: .35rem;
  padding: .55rem .65rem;
  background: #fff;
}
.pg-d3-field__label {
  display: block;
  margin-bottom: .25rem;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
}
.pg-d3-field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.pg-d3-field__value {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  word-break: break-word;
}
.pg-d3-field__value--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .92rem;
  letter-spacing: .02em;
}
.pg-d3-copy {
  flex-shrink: 0;
  padding: .25rem .55rem;
  border: 1px solid #cbd5e1;
  border-radius: .25rem;
  background: #f8fafc;
  font-size: .62rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
}
.pg-d3-copy:hover { background: #ecfdf5; border-color: #6ee7b7; color: #047857; }
.pg-d3-steps-list {
  margin: 0 0 .65rem;
  padding: .65rem .75rem;
  list-style: none;
  border: 1px solid #eef2f7;
  border-radius: .35rem;
  background: #fafbfc;
  font-size: .72rem;
  line-height: 1.5;
  color: #475569;
}
.pg-d3-steps-list li { margin-bottom: .2rem; }
.pg-d3-steps-list strong { color: #0f172a; }
.pg-d3-warn {
  display: flex;
  gap: .45rem;
  align-items: flex-start;
  margin-bottom: .75rem;
  padding: .55rem .65rem;
  border-radius: .35rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: .68rem;
  color: #92400e;
  line-height: 1.4;
}
.pg-d3-actions {
  display: flex;
  align-items: stretch;
  gap: .5rem;
}
.pg-d3-back {
  flex-shrink: 0;
  padding: .75rem .85rem;
  border: 1px solid #e2e8f0;
  border-radius: .35rem;
  background: #f8fafc;
  font-size: .72rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}
.pg-d3-back:hover { background: #f1f5f9; }
.pg-d3-field--trx { margin-bottom: .65rem; }
.pg-d3-input {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid #cbd5e1;
  border-radius: .35rem;
  font-size: .92rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0f172a;
  background: #fff;
}
.pg-d3-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .15);
}
.pg-overlay--design3 .pg-input.is-error,
.pg-overlay--design3 .pg-d3-input.is-error {
  border: 2px solid #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, .22);
}
.pg-d3-error {
  display: flex;
  gap: .45rem;
  align-items: flex-start;
  margin-bottom: .55rem;
  padding: .55rem .65rem;
  border-radius: .35rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  font-size: .68rem;
  color: #b91c1c;
  line-height: 1.4;
}
.pg-d3-error.hidden { display: none !important; }
.pg-d3-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-bottom: .75rem;
  padding: .65rem .75rem;
  border: 1px solid #e2e8f0;
  border-radius: .35rem;
  background: #fafbfc;
  font-size: .68rem;
}
.pg-d3-summary span { display: block; color: #64748b; margin-bottom: .1rem; }
.pg-d3-summary strong { color: #0f172a; font-size: .82rem; }
.pg-d3-manual {
  display: block;
  width: 100%;
  margin: 0;
  padding: .75rem .8rem;
  border: 0;
  border-radius: .28rem;
  background: #fff;
  font-size: .72rem;
  font-weight: 700;
  color: #0f766e;
  cursor: pointer;
}
.pg-d3-manual:hover { background: #ecfdf5; color: #065f46; }
.pg-overlay--design3 .pg-manual-spotlight {
  border-radius: .45rem;
  margin-top: .65rem;
}

/* Confirm & Pay Ã¢â‚¬â€ Zenova checking / placing overlay */
.pg-busy {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: inherit;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}
.pg-busy.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.pg-busy__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1.5rem;
  max-width: 16rem;
}
.pg-busy__mark {
  position: relative;
  width: 3.25rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
}
.pg-busy__bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: .28rem;
  height: 2.4rem;
  width: 100%;
}
.pg-busy__bars i {
  display: block;
  width: .42rem;
  height: 40%;
  background: var(--pg-brand, #7a2348);
  border-radius: 0;
  transform-origin: bottom center;
  animation: pgBusyBars 0.9s ease-in-out infinite;
}
.pg-busy__bars i:nth-child(1) { animation-delay: 0s; height: 45%; }
.pg-busy__bars i:nth-child(2) { animation-delay: .12s; height: 70%; }
.pg-busy__bars i:nth-child(3) { animation-delay: .24s; height: 100%; }
.pg-busy__bars i:nth-child(4) { animation-delay: .36s; height: 55%; }
.pg-busy.is-success .pg-busy__bars {
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.pg-busy__check {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  opacity: 0;
  transform: scale(.85);
}
.pg-busy.is-success .pg-busy__check {
  opacity: 1;
  transform: none;
  transition: opacity .2s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
}
.pg-busy__check-disc {
  fill: var(--pg-brand, #7a2348);
}
.pg-busy__check-mark {
  fill: none;
  stroke: #fff;
  stroke-width: 3.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
}
.pg-busy.is-success .pg-busy__check-mark {
  animation: pgBusyCheckDraw .4s .1s ease forwards;
}
.pg-busy__title {
  margin: 0;
  font-family: Archivo, Manrope, sans-serif;
  font-size: .95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #141414;
}
.pg-busy__sub {
  margin: .35rem 0 0;
  font-size: .78rem;
  font-weight: 500;
  color: #737373;
  line-height: 1.4;
}
@keyframes pgBusyBars {
  0%, 100% { transform: scaleY(.45); opacity: .55; }
  50% { transform: scaleY(1); opacity: 1; }
}
@keyframes pgBusyCheckDraw {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-busy,
  .pg-busy__bars i,
  .pg-busy.is-success .pg-busy__check,
  .pg-busy.is-success .pg-busy__check-mark {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .pg-busy.is-success .pg-busy__check { opacity: 1; transform: none; }
  .pg-busy.is-success .pg-busy__check-mark { stroke-dashoffset: 0; }
}

body.pg-open {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}
html.pg-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* Notice cards (account dashboard) Ã¢â‚¬â€ the .notice-card--{color} backgrounds
   themselves are generated by partials/notice-fx.blade.php from the Notice
   model's color table (also included on the admin preview, which doesn't
   load this stylesheet at all). */
.notice-card { color: #fff; }
.notice-card__body { color: rgba(255, 255, 255, .9); }
html.light .notice-card,
html.light .notice-card .notice-card__title { color: #fff !important; }
html.light .notice-card .notice-card__body { color: rgba(255, 255, 255, .9) !important; }
html.light .notice-card .bg-white\/10 { background-color: rgba(255, 255, 255, .1) !important; }
html.light .notice-card .bg-white\/20 { background-color: rgba(255, 255, 255, .2) !important; }

/* ...but re-darken text inside light cards/glass that sit on accent panels */
html.light .card .text-white,
html.light .glass .text-white { color: #0f172a; }

/* ...solid accent buttons must always keep white text (highest priority) */
html.light .text-white.bg-brand-600,
html.light .text-white.bg-brand-500,
html.light .text-white.bg-brand-700 { color: #fff !important; }

/* WaveSeller Pay "under development" banner: same idea as .notice-card
   above Ã¢â‚¬â€ its own fixed dark gradient regardless of site theme, so its
   text must never get re-darkened by the general light-mode rules. */
html.light .waveseller-pay-banner,
html.light .waveseller-pay-banner .text-white { color: #fff !important; }
html.light .waveseller-pay-banner .text-white\/90 { color: rgba(255, 255, 255, .9) !important; }
html.light .waveseller-pay-banner .text-white\/85 { color: rgba(255, 255, 255, .85) !important; }
html.light .waveseller-pay-banner .text-cyan-300 { color: #67e8f9 !important; }
html.light .waveseller-pay-banner .bg-white\/15 { background-color: rgba(255, 255, 255, .15) !important; }
html.light .waveseller-pay-banner .bg-white\/5 { background-color: rgba(255, 255, 255, .05) !important; }
html.light .waveseller-pay-banner .border-white\/10,
html.light .waveseller-pay-banner .border-white\/15 { border-color: rgba(255, 255, 255, .12) !important; }

/* Bigger, faster scale pulse on the banner's subtitle line Ã¢â‚¬â€ no opacity
   change at all, so the text never dims/fades, just grows and shrinks. */
@keyframes wsPayPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.waveseller-pay-pulse { display: inline-block; animation: wsPayPulse .9s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .waveseller-pay-pulse { animation: none; } }

/* Order page Ã¢â‚¬â€ download chips (soft emerald: download affordance + WCAG-friendly contrast) */
.order-download-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: .75rem;
  padding: .5rem .875rem;
  font-size: .75rem;
  line-height: 1.25;
  font-weight: 600;
  background: rgba(16, 185, 129, .16);
  color: #a7f3d0;
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .32);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.order-download-chip:hover {
  background: #059669;
  color: #fff;
  box-shadow: inset 0 0 0 1px #059669;
}
.order-download-chip:active { transform: scale(.98); }
html.light .order-download-chip {
  background: #ecfdf5;
  color: #047857;
  box-shadow: inset 0 0 0 1px #6ee7b7;
}
html.light .order-download-chip:hover {
  background: #059669;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px #059669;
}

/* Order page Ã¢â‚¬â€ setup service notice (verified) */
.order-setup-notice {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem 1.05rem;
  border-radius: .9rem;
  /* Soft sky/info surface: calm, trustworthy, readable (not warning-amber) */
  background: linear-gradient(135deg, rgba(14, 165, 233, .14), rgba(99, 102, 241, .12));
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .32);
}
.order-setup-notice__icon {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: .1rem;
  flex-shrink: 0;
  color: #38bdf8;
}
.order-setup-notice__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* Official bKash — professional waiting overlay on main site */
html.bkash-wait-active,
body.bkash-wait-active {
  overflow: hidden;
}
.bkash-wait-shell {
  min-height: 52vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1rem 6rem;
  background:
    radial-gradient(1200px 420px at 50% -10%, color-mix(in srgb, var(--pg-brand, #7a2348) 12%, transparent), transparent 60%),
    linear-gradient(180deg, #fafafa 0%, #fff 55%);
}
.bkash-wait-shell__panel {
  width: 100%;
  max-width: 26rem;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
  padding: 1rem 1.1rem;
  opacity: .55;
  filter: blur(.2px);
}
.bkash-wait-shell__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem 0;
  font-size: .9rem;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}
.bkash-wait-shell__row:last-child { border-bottom: 0; }
.bkash-wait-shell__row.is-muted { color: #94a3b8; font-size: .8rem; }
.bkash-wait-shell__row.is-total {
  padding-top: .85rem;
  color: #0f172a;
  font-size: 1rem;
}
.bkash-wait-shell__badge {
  display: inline-flex;
  align-items: center;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pg-brand, #7a2348) 12%, #fff);
  color: var(--pg-brand-dark, #5c1836);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bkash-wait {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.bkash-wait__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.bkash-wait__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  animation: bkash-wait-in .28s ease-out;
}
@keyframes bkash-wait-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.bkash-wait__card {
  text-align: center;
  padding: 2rem 1.65rem 1.55rem;
  border-radius: 1.05rem;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, .22),
    0 2px 0 rgba(255, 255, 255, .6) inset;
}
.bkash-wait__dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-bottom: 1.15rem;
  min-height: .65rem;
}
.bkash-wait__dots i {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pg-brand, #7a2348) 45%, #fff);
  animation: bkash-wait-dot 1s ease-in-out infinite;
}
.bkash-wait__dots i:nth-child(2) { animation-delay: .15s; }
.bkash-wait__dots i:nth-child(3) { animation-delay: .3s; }
.bkash-wait.is-success .bkash-wait__dots,
.bkash-wait.is-fail .bkash-wait__dots { display: none; }
@keyframes bkash-wait-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: .45; }
  40% { transform: translateY(-5px); opacity: 1; }
}
.bkash-wait__icon {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
}
.bkash-wait__icon svg { width: 1.25rem; height: 1.25rem; }
.bkash-wait.is-success .bkash-wait__icon--success,
.bkash-wait.is-fail .bkash-wait__icon--fail {
  display: inline-flex;
}
.bkash-wait__icon--success {
  background: #ecfdf5;
  color: #059669;
}
.bkash-wait__icon--fail {
  background: #fef2f2;
  color: #dc2626;
}
.bkash-wait__title {
  margin: 0;
  font-family: Archivo, Manrope, sans-serif;
  font-size: clamp(1.15rem, 2.6vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0f172a;
  line-height: 1.3;
}
.bkash-wait__sub {
  margin: .65rem 0 0;
  font-size: .92rem;
  color: #64748b;
  line-height: 1.5;
}
.bkash-wait__meta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.05rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: .75rem;
  font-weight: 600;
  color: #64748b;
}
.bkash-wait__meta-dot {
  width: .25rem;
  height: .25rem;
  border-radius: 999px;
  background: #cbd5e1;
}
.bkash-wait__manual {
  display: inline-block;
  margin-top: 1.35rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--pg-brand, #7a2348);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.bkash-wait__manual:hover { color: var(--pg-brand-dark, #5c1836); }
.bkash-wait__manual.is-attention {
  animation: bkash-wait-link-pulse 1.2s ease-in-out infinite;
}
@keyframes bkash-wait-link-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
.bkash-wait__hint {
  margin-top: .9rem;
  font-size: .82rem;
  color: #b45309;
  line-height: 1.4;
}
.bkash-wait__hint a {
  color: var(--pg-brand, #7a2348);
  font-weight: 700;
  text-decoration: underline;
}
.bkash-wait__hint.hidden { display: none; }
.bkash-wait.is-success .bkash-wait__manual,
.bkash-wait.is-fail .bkash-wait__meta { display: none; }