/* B2C checkout — payment method selection (Flipkart-style layout, ShopIt brand) */

body:has(.b2c-checkout-pay) {
  background: #f1f3f6;
}

body:has(.b2c-checkout-pay) .b2c-shop-footer {
  display: none !important;
}

body:has(.b2c-checkout-pay) .b2c-main {
  max-width: none;
  padding: 0;
  background: transparent;
}

.b2c-checkout-pay {
  min-height: calc(100vh - 4rem);
  padding: 1.25rem 0 2.5rem;
}

.b2c-checkout-pay.b2c-payment-page {
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.b2c-checkout-pay.b2c-checkout-summary {
  min-height: 100vh;
  padding: 0 0 48px;
}

.b2c-checkout-pay-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--b2c-shell-pad) 0 var(--b2c-shell-pad-left);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.5rem;
  align-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.b2c-checkout-summary .b2c-checkout-pay-wrap {
  max-width: 1180px;
  padding: 20px 20px 0;
}

.b2c-checkout-pay-main {
  padding: 1.25rem 1.35rem 1.5rem;
  background: #fff;
  border: 1px solid #e9e9eb;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.b2c-checkout-pay-aside {
  position: sticky;
  top: 5.5rem;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.b2c-checkout-pay-aside .b2c-bag-place-btn {
  border: 0;
  appearance: none;
  font: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.b2c-checkout-error {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: #c62828;
  font-weight: 600;
  text-align: center;
}

.b2c-payment-page .b2c-checkout-error {
  max-width: 1180px;
  margin: 12px auto 0;
  padding: 0 20px;
  text-align: left;
}

.b2c-checkout-pay-title {
  margin: 0 0 1.15rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #212121;
  font-family: var(--b2c-display);
}

.b2c-pay-options {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.b2c-pay-option {
  display: block;
  margin: 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.b2c-pay-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.b2c-pay-option-head {
  display: block;
  margin: 0;
  cursor: pointer;
}

.b2c-pay-option-body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
}

.b2c-pay-option-price {
  flex: 0 0 auto;
  min-width: 4.5rem;
}

.b2c-pay-option-price strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #212121;
}

.b2c-pay-option-divider {
  width: 1.15rem;
  height: 1px;
  background: #d0d0d0;
  flex-shrink: 0;
}

.b2c-pay-option-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #212121;
  min-width: 0;
  flex: 1;
}

.b2c-pay-option-label .bi {
  font-size: 1.05rem;
  color: #565656;
}

.b2c-upi-badge {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.b2c-upi-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.b2c-upi-badge img.is-glyph {
  width: 58%;
  height: 58%;
  object-fit: contain;
}

.b2c-pay-upi-apps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  flex-wrap: nowrap;
}

.b2c-pay-upi-apps .b2c-upi-badge {
  width: 2.125rem;
  height: 2.125rem;
}

.b2c-pay-ticker {
  --b2c-pay-ticker-size: 1.5rem;
  position: relative;
  width: var(--b2c-pay-ticker-size);
  height: var(--b2c-pay-ticker-size);
  margin-left: 0.15rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px #e6e6e6;
}

.b2c-pay-ticker .b2c-upi-badge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-shadow: none;
  opacity: 0;
  transform: translateY(35%);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.b2c-pay-ticker .b2c-upi-badge.is-active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .b2c-pay-ticker .b2c-upi-badge {
    transition: none;
  }
}

.b2c-pay-option-radio {
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid #c2c2c2;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
}

.b2c-pay-option.is-selected,
.b2c-pay-option:has(input:checked) {
  border-color: var(--b2c-brand);
  box-shadow: 0 0 0 1px var(--b2c-brand);
}

.b2c-pay-option.is-selected .b2c-pay-option-radio,
.b2c-pay-option:has(input:checked) .b2c-pay-option-radio {
  border-color: var(--b2c-brand);
  background: var(--b2c-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 5-5L12.6 5.1z'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
}

.b2c-pay-online-panel {
  display: none;
  border-top: 1px solid #eee;
}

.b2c-pay-option--online.is-selected .b2c-pay-online-panel {
  display: block;
}

.b2c-pay-channels {
  display: flex;
  flex-direction: column;
}

.b2c-pay-channel {
  border-top: 1px solid #eee;
}

.b2c-pay-channel summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #212121;
  cursor: pointer;
  user-select: none;
}

.b2c-pay-channel summary::-webkit-details-marker {
  display: none;
}

.b2c-pay-channel summary .bi {
  font-size: 0.85rem;
  color: #878787;
  transition: transform 0.15s ease;
}

.b2c-pay-channel[open] summary .bi {
  transform: rotate(180deg);
}

.b2c-pay-channel-body {
  padding: 0 1rem 1rem;
}

.b2c-pay-channel-note {
  margin: 0;
  font-size: 0.84rem;
  color: #878787;
  line-height: 1.4;
}

.b2c-pay-upi-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1.25rem;
}

.b2c-pay-upi-scan-label {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #212121;
  margin-bottom: 0.75rem;
}

.b2c-pay-upi-scan-label .bi {
  font-size: 1rem;
  color: #565656;
}

.b2c-pay-upi-app {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  object-fit: cover;
}

.b2c-pay-upi-qr {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.b2c-pay-upi-qr-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 11.5rem;
  height: 11.5rem;
}

.b2c-pay-upi-qr-img {
  width: 8.75rem;
  height: 8.75rem;
  object-fit: contain;
  opacity: 0.28;
  filter: grayscale(1);
  pointer-events: none;
}

.b2c-pay-upi-qr-corner {
  position: absolute;
  width: 1.35rem;
  height: 1.35rem;
  border: 3px solid var(--b2c-brand, #0050ff);
  pointer-events: none;
}

.b2c-pay-upi-qr-corner--tl {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.b2c-pay-upi-qr-corner--tr {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
}

.b2c-pay-upi-qr-corner--bl {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
}

.b2c-pay-upi-qr-corner--br {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
}

.b2c-pay-upi-qr-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--b2c-brand, #0050ff);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 80, 255, 0.28);
}

.b2c-pay-upi-hint {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  color: #878787;
  text-align: center;
  line-height: 1.35;
}

.b2c-summary-main {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.b2c-summary-items-wrap .b2c-summary-card-head {
  margin: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #eaeaec;
  border-radius: 0;
}

.b2c-summary-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.b2c-summary-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #eaeaec;
  border-radius: 0;
  box-shadow: none;
}

.b2c-summary-info-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  margin-top: 1px;
  background: #f0f5ff;
  color: var(--b2c-brand);
  font-size: 1.05rem;
}

.b2c-summary-info-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.b2c-summary-info-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.b2c-summary-info-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #696b79;
  line-height: 1.3;
}

.b2c-summary-info-text {
  font-size: 14px;
  font-weight: 700;
  color: #282c3f;
  line-height: 1.4;
}

.b2c-summary-address-name {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 700;
  color: #282c3f;
  line-height: 1.35;
}

.b2c-summary-address-line {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #282c3f;
  line-height: 1.45;
}

.b2c-summary-items .b2c-bag-dropdown--static .b2c-bag-dropdown-trigger {
  cursor: default;
  padding-right: 0.7rem;
}

.b2c-summary-items .b2c-bag-dropdown--static .b2c-bag-dropdown-trigger:hover {
  border-color: #eaeaec;
  background: #f5f5f6;
}

.b2c-summary-card {
  background: #fff;
  border: 1px solid #eaeaec;
  border-radius: 0;
  padding: 14px 16px;
  box-shadow: none;
}

.b2c-summary-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.b2c-summary-card-head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #282c3f;
}

.b2c-summary-change {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--b2c-brand);
  text-decoration: none;
  line-height: 1.3;
}

.b2c-summary-change:hover {
  text-decoration: underline;
}

.b2c-summary-item {
  box-shadow: none;
}

.b2c-summary-item-meta {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.82rem;
  color: #878787;
}

#b2c-bag-price-delivery.is-free {
  color: #388e3c;
  font-weight: 700;
}

.b2c-checkout-summary .b2c-bag-place-btn {
  min-width: 10.5rem;
  font-size: 0.98rem;
  padding: 0.8rem 1.4rem;
}

@media (max-width: 900px) {
  .b2c-checkout-pay-wrap {
    grid-template-columns: 1fr;
  }

  .b2c-checkout-pay-aside {
    position: static;
  }

  .b2c-pay-option-body {
    gap: 0.5rem;
  }

  .b2c-pay-option-price {
    min-width: 3.75rem;
  }
}

/* B2B payment sheet, B2C brand tokens */
body:has(.b2c-payment-page),
body:has(.b2c-checkout-summary) {
  background: #f5f5f6;
}

body:has(.b2c-payment-page) .b2c-top,
body:has(.b2c-checkout-summary) .b2c-top {
  display: none !important;
}

body:has(.b2c-payment-page) .b2c-main,
body:has(.b2c-checkout-summary) .b2c-main {
  max-width: none;
  padding: 0;
  background: transparent;
}

html:has(.b2c-payment-page),
body:has(.b2c-payment-page) {
  height: 100%;
  overflow: hidden;
}

body:has(.b2c-payment-page) .b2c-main {
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

.b2c-payment-page {
  background: #f5f5f6;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: #282c3f;
  font-family: var(--b2c-font);
}

.b2c-payment-brandbar {
  background: #fff;
  border-bottom: 1px solid #eaeaec;
  box-shadow: 0 2px 12px rgba(40, 44, 63, 0.08);
}

.b2c-payment-brandbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.b2c-payment-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.b2c-payment-logo .b2c-brand-mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.b2c-payment-logo .b2c-brand-text {
  font-family: "Manrope", var(--b2c-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: var(--b2c-ink, #282c3f);
}

.b2c-payment-logo .b2c-brand-text span {
  color: var(--b2c-brand);
}

.b2c-payment-brandbar .b2c-checkout-steps { justify-self: center; }
.b2c-payment-brandbar-spacer { justify-self: end; min-width: 1px; }

.b2c-payment-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.b2c-payment-layout { width: 100%; }

.b2c-payment-head {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  margin-bottom: 16px;
  padding: 16px 20px;
  border: 1px solid #eaeaec;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(40, 44, 63, 0.08);
}

.b2c-payment-back {
  color: #282c3f;
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;
}

.b2c-payment-back:hover { color: var(--b2c-brand); }

.b2c-payment-title {
  flex: 1;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #282c3f;
}

.b2c-payment-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #696b79;
  white-space: nowrap;
}

.b2c-payment-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
  overflow: visible;
}

.b2c-payment-methods {
  border: 1px solid #eaeaec;
  border-radius: 4px;
  padding: 8px 0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(40, 44, 63, 0.08);
}

.b2c-payment-method {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #eaeaec;
  outline: none;
  background: transparent;
  text-align: left;
  padding: 16px 18px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  box-shadow: none;
  position: relative;
}

.b2c-payment-method:last-child { border-bottom: 0; }
.b2c-payment-method:hover { background: var(--b2c-soft, #f1f5f9); }
.b2c-payment-method:focus,
.b2c-payment-method:focus-visible { outline: none; box-shadow: none; }

.b2c-payment-method.is-active,
.b2c-payment-method.is-active:hover,
.b2c-payment-method.is-active:focus {
  background: var(--b2c-brand-soft, #e8f0ff);
  box-shadow: none;
  border-radius: 0;
  border-bottom-color: #eaeaec;
}

.b2c-payment-method.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--b2c-brand, #0050ff);
  border-radius: 0;
  pointer-events: none;
}

.b2c-payment-method-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--b2c-muted, #64748b);
  font-size: 1.1rem;
  transition: color 0.18s ease;
}

.b2c-payment-method.is-active .b2c-payment-method-icon {
  color: var(--b2c-brand, #0050ff);
}

.b2c-payment-method-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.b2c-payment-method-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--b2c-ink, #0f172a);
  line-height: 1.3;
  transition: color 0.18s ease;
}

.b2c-payment-method-sub {
  font-size: 0.75rem;
  color: var(--b2c-muted, #64748b);
  line-height: 1.4;
}

.b2c-payment-panel {
  padding: 20px 24px 24px;
  border: 1px solid #eaeaec;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(40, 44, 63, 0.08);
  min-height: 520px;
}

.b2c-payment-txn-card {
  background: #fafbfc;
  border: 1px solid #eef0f3;
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 20px;
  box-shadow: none;
}

.b2c-payment-txn-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #282c3f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--b2c-font);
}

.b2c-payment-txn-rows {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.b2c-payment-txn-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 16px;
  align-items: baseline;
  padding: 5px 0;
  font-size: 13px;
  line-height: 1.45;
}

.b2c-payment-txn-row dt {
  margin: 0;
  color: #696b79;
  font-weight: 500;
  text-align: left;
}

.b2c-payment-txn-row dd {
  margin: 0;
  color: #282c3f;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

.b2c-payment-card-note {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0 0 20px;
  line-height: 1.6;
  font-family: var(--b2c-font);
}

.b2c-cf-form-note {
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

.b2c-payment-panel-body[id="b2c-payment-panel-card"] .b2c-payment-card-note {
  margin-bottom: 22px;
}

.b2c-payment-panel-note {
  font-size: 0.875rem;
  color: #696b79;
  line-height: 1.55;
  margin: 0 0 16px;
}

.b2c-payment-field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #282c3f;
  margin-bottom: 6px;
}

.b2c-payment-cvv-help {
  font-size: 11px;
  color: #696b79;
  margin-left: 4px;
}

.b2c-payment-card-input-wrap { position: relative; }

.b2c-payment-card-input {
  border-radius: 2px;
  border-color: #d1d5db;
  font-size: 14px;
  padding: 10px 12px;
  height: auto;
}

.b2c-payment-card-input-wrap .b2c-payment-card-input { padding-right: 40px; }

.b2c-payment-card-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 1.1rem;
  pointer-events: none;
}

.b2c-payment-pay-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 14px 20px;
  border: 0;
  border-radius: 2px;
  background: var(--b2c-brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.b2c-payment-pay-btn:hover { background: var(--b2c-brand-dark); }

.b2c-payment-place-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 20px;
  border: 0;
  border-radius: 2px;
  background: var(--b2c-brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.b2c-payment-place-btn:hover { background: var(--b2c-brand-dark); }

.b2c-payment-action-wrap,
.b2c-payment-action-wrap--inline {
  display: flex;
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
  justify-content: flex-start;
}


.b2c-payment-cod-notice {
  background: #f5f5f6;
  border: 1px solid #eaeaec;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 0.8125rem;
  color: #282c3f;
  line-height: 1.5;
  margin-bottom: 16px;
}

.b2c-payment-summary {
  padding: 0;
  background: transparent;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 88px;
}

.b2c-payment-summary-card {
  margin: 0;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #eaeaec;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(40, 44, 63, 0.08);
  padding: 20px;
}

.b2c-payment-price-title {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #282c3f;
  font-family: var(--b2c-font);
}

.b2c-payment-price-sheet {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.b2c-payment-price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.3;
}

.b2c-payment-price-line--child {
  padding: 4px 0 4px 12px;
  font-size: 13px;
}

.b2c-payment-price-line--child .b2c-payment-price-label {
  color: #696b79;
  font-weight: 500;
}

.b2c-payment-price-line--total {
  border-top: 1px solid var(--b2c-line, #e2e8f0);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 16px;
  font-weight: 700;
}

.b2c-payment-price-line--total .b2c-payment-price-label,
.b2c-payment-price-line--total .b2c-payment-price-value {
  color: var(--b2c-ink, #0f172a);
  font-weight: 700;
}

.b2c-payment-price-line--total .b2c-payment-price-label {
  font-family: var(--b2c-display);
  font-size: 15px;
}

.b2c-payment-price-line--total .b2c-payment-price-value {
  font-size: 20px;
  font-family: var(--b2c-display);
}

.b2c-payment-price-label {
  color: #696b79;
  flex: 1;
  min-width: 0;
  font-weight: 500;
}

.b2c-payment-price-value {
  color: #282c3f;
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.b2c-payment-price-value.is-discount,
.b2c-payment-collapse-summary.is-discount { color: #047857; }
.b2c-payment-price-value.is-free { color: #388e3c; font-weight: 700; }

.b2c-payment-collapse {
  border-top: 1px solid #eaeaec;
  border-bottom: 1px solid #eaeaec;
  margin: 2px 0;
}

.b2c-payment-collapse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 8px 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  gap: 12px;
}

.b2c-payment-collapse-left { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.b2c-payment-collapse-label { font-size: 14px; font-weight: 500; color: #696b79; }
.b2c-payment-collapse-chevron { font-size: 11px; color: #696b79; transition: transform 0.15s ease; flex-shrink: 0; }
.b2c-payment-collapse-head.is-open .b2c-payment-collapse-chevron { transform: rotate(180deg); }
.b2c-payment-collapse-summary { font-size: 14px; font-weight: 600; color: #282c3f; white-space: nowrap; }
.b2c-payment-collapse-head.is-open .b2c-payment-collapse-summary { display: none; }
.b2c-payment-collapse-body { display: none; padding-bottom: 6px; }
.b2c-payment-collapse-head.is-open + .b2c-payment-collapse-body { display: block; }

@media (max-width: 991.98px) {
  .b2c-payment-brandbar-inner { grid-template-columns: auto 1fr; }
  .b2c-payment-brandbar-spacer { display: none; }
  .b2c-payment-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .b2c-payment-methods,
  .b2c-payment-panel {
    min-height: 0;
  }
  .b2c-payment-summary {
    position: static;
  }
  .b2c-payment-head { flex-wrap: wrap; }
  .b2c-payment-secure-badge { width: 100%; padding-left: 36px; }
}

/* Payment outcome modal (success / failure) */
.b2c-order-confirm {
  position: fixed;
  inset: 0;
  z-index: 20100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.b2c-order-confirm[hidden] { display: none !important; }

.b2c-order-confirm-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(2px);
}

.b2c-order-confirm-sheet {
  position: relative;
  width: min(420px, 100%);
  margin: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.18),
    0 8px 16px rgba(15, 23, 42, 0.08);
}

.b2c-order-confirm-accent {
  height: 4px;
  width: 100%;
  background: var(--b2c-brand, #0050ff);
}

.b2c-order-confirm.is-success .b2c-order-confirm-accent {
  background: linear-gradient(90deg, #2e7d32 0%, #43a047 100%);
}

.b2c-order-confirm.is-failure .b2c-order-confirm-accent {
  background: linear-gradient(90deg, #c62828 0%, #e53935 100%);
}

.b2c-order-confirm.is-loading .b2c-order-confirm-accent {
  background: linear-gradient(90deg, var(--b2c-brand, #0050ff) 0%, #3b82f6 100%);
}

.b2c-order-confirm-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.5rem 1.5rem;
  gap: 0;
}

.b2c-order-confirm-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 0 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.15rem;
  flex-shrink: 0;
}

.b2c-order-confirm-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
}

.b2c-order-confirm-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.b2c-order-confirm.is-success .b2c-order-confirm-eyebrow {
  color: #2e7d32;
}

.b2c-order-confirm.is-failure .b2c-order-confirm-eyebrow {
  color: #c62828;
}

.b2c-order-confirm.is-loading .b2c-order-confirm-icon {
  background: var(--b2c-brand-soft, rgba(0, 80, 255, 0.1));
  color: var(--b2c-brand, #0050ff);
}

.b2c-order-confirm.is-success .b2c-order-confirm-icon {
  background: linear-gradient(145deg, #e8f5e9 0%, #c8e6c9 100%);
  color: #2e7d32;
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.15);
}

.b2c-order-confirm.is-failure .b2c-order-confirm-icon {
  background: linear-gradient(145deg, #ffebee 0%, #ffcdd2 100%);
  color: #c62828;
  box-shadow: 0 8px 20px rgba(198, 40, 40, 0.12);
}

.b2c-order-confirm h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #111827;
}

.b2c-order-confirm.is-success h2 {
  color: #1b5e20;
}

.b2c-order-confirm.is-failure h2 {
  color: #b71c1c;
}

.b2c-order-confirm-copy {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 500;
}

.b2c-order-confirm.is-success .b2c-order-confirm-copy {
  color: #33691e;
}

.b2c-order-confirm.is-failure .b2c-order-confirm-copy {
  color: #7f1d1d;
}

.b2c-order-confirm-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  width: 100%;
  max-width: 22rem;
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.b2c-order-confirm.is-success .b2c-order-confirm-meta {
  background: #f1f8e9;
  border-color: #c5e1a5;
}

.b2c-order-confirm-meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.b2c-order-confirm.is-success .b2c-order-confirm-meta-label {
  color: #558b2f;
}

.b2c-order-confirm-meta-value {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f172a;
  word-break: break-all;
}

.b2c-order-confirm.is-success .b2c-order-confirm-meta-value {
  color: #1b5e20;
}

.b2c-order-confirm-footnote {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  width: 100%;
  max-width: 22rem;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.45;
  font-weight: 600;
}

.b2c-order-confirm.is-failure .b2c-order-confirm-footnote {
  color: #991b1b;
  border-top-color: #fecaca;
}

.b2c-order-confirm.is-success .b2c-order-confirm-footnote {
  color: #558b2f;
  border-top-color: #c5e1a5;
}

.b2c-order-confirm-spinner {
  width: 1.7rem;
  height: 1.7rem;
  border: 3px solid rgba(0, 80, 255, 0.2);
  border-top-color: var(--b2c-brand, #0050ff);
  border-radius: 50%;
  animation: b2c-spin 0.8s linear infinite;
}

@keyframes b2c-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
  .b2c-order-confirm {
    align-items: flex-end;
    padding: 0.75rem;
  }

  .b2c-order-confirm-sheet {
    border-radius: 16px 16px 12px 12px;
  }

  .b2c-order-confirm-body {
    padding: 1.5rem 1.25rem 1.35rem;
  }

  .b2c-order-confirm h2 {
    font-size: 1.2rem;
  }
}

.b2c-payment-leave {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.b2c-payment-leave[hidden] { display: none !important; }

.b2c-payment-leave-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}

.b2c-payment-leave-sheet {
  position: relative;
  width: min(400px, 100%);
  background: #fff;
  border-radius: 8px;
  padding: 1.35rem 1.25rem 1.15rem;
  box-shadow: 0 18px 40px rgba(40, 44, 63, 0.22);
  text-align: center;
}

.b2c-payment-leave-sheet h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #282c3f;
}

.b2c-payment-leave-sheet p {
  margin: 0 0 1.15rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #696b79;
}

.b2c-payment-leave-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.b2c-payment-leave-btn {
  border: 0;
  border-radius: 4px;
  padding: 0.7rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.b2c-payment-leave-btn--stay {
  background: #fff;
  color: var(--b2c-brand, #0050ff);
  box-shadow: inset 0 0 0 1px var(--b2c-brand, #0050ff);
}

.b2c-payment-leave-btn--leave {
  background: var(--b2c-brand, #0050ff);
  color: #fff;
}

.b2c-shopit-money-card {
  background: #fff;
  border: 1px solid #eaeaec;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(40, 44, 63, 0.08);
  padding: 14px 16px;
}

.b2c-shopit-money-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}

.b2c-shopit-money-head input {
  margin-top: 3px;
  accent-color: var(--b2c-brand, #0050ff);
  flex-shrink: 0;
}

.b2c-shopit-money-head span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.b2c-shopit-money-head strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #212121;
}

.b2c-shopit-money-head em {
  font-style: normal;
  font-size: 0.78rem;
  color: #696b79;
}

.b2c-shopit-money-amount-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.75rem;
}

.b2c-shopit-money-amount-row label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #696b79;
}

.b2c-shopit-money-amount-row input {
  width: 100%;
  border: 1px solid #eaeaec;
  border-radius: 6px;
  padding: 0.5rem 0.7rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
}

.is-pay-disabled {
  opacity: 0.45;
  filter: grayscale(0.35);
  pointer-events: auto;
  cursor: not-allowed;
}
.is-pay-hidden {
  display: none !important;
}

/* UPI Scan & Pay flow */
.b2c-upi-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 280px;
}

.b2c-upi-step-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #282c3f;
}

.b2c-upi-scan-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  margin: 0 0 8px;
  border: 1px solid #eaeaec;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.b2c-upi-scan-option:hover {
  border-color: #c7d2fe;
  background: #fafbff;
}

.b2c-upi-scan-option:has(input:checked) {
  border-color: var(--b2c-brand);
  box-shadow: 0 0 0 1px var(--b2c-brand);
  background: #f0f5ff;
}

.b2c-upi-scan-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.b2c-upi-scan-option-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #c2c2c2;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.b2c-upi-scan-option:has(input:checked) .b2c-upi-scan-option-radio {
  border-color: var(--b2c-brand);
  background: var(--b2c-brand);
  box-shadow: inset 0 0 0 3px #fff;
}

.b2c-upi-scan-option-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: var(--b2c-brand, #0050ff);
  font-size: 1rem;
  flex-shrink: 0;
}

.b2c-upi-scan-option-label {
  font-size: 14px;
  font-weight: 600;
  color: #282c3f;
}

.b2c-upi-loading-card {
  max-width: 360px;
  margin: 48px auto 0;
  text-align: center;
  padding: 12px 8px 24px;
}

.b2c-upi-loading-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #282c3f;
}

.b2c-upi-loading-sub {
  margin: 0;
  font-size: 13px;
  color: #696b79;
  line-height: 1.5;
}

.b2c-payment-panel.is-upi-qr-active {
  background: #fafafa;
}

.b2c-upi-qr-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 4px;
}

.b2c-upi-qr-head .b2c-pay-upi-apps {
  justify-content: flex-start;
  margin: 0 0 4px;
}

.b2c-upi-qr-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 0 12px;
}

.b2c-upi-qr-frame {
  position: relative;
  width: 248px;
  height: 248px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #eaeaec;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(40, 44, 63, 0.08);
  margin-bottom: 14px;
}

.b2c-upi-qr-image {
  width: 220px;
  height: 220px;
  object-fit: contain;
  display: block;
}

.b2c-upi-qr-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 4px #fff;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.b2c-upi-qr-brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.b2c-upi-qr-timer {
  margin: 0 0 8px;
}

.b2c-upi-qr-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 12px;
  font-weight: 500;
}

.b2c-upi-qr-timer-pill strong {
  font-weight: 700;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

.b2c-upi-qr-amount {
  margin: 0 0 8px;
  font-size: 14px;
  color: #282c3f;
}

.b2c-upi-qr-amount strong {
  font-size: 18px;
  font-weight: 800;
}

.b2c-upi-qr-hint {
  margin: 0;
  max-width: 360px;
  font-size: 12px;
  line-height: 1.5;
  color: #696b79;
}

.admin-finance-txn-leg-void {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #92400e;
  background: #fef3c7;
}
.admin-finance-txn-leg-account {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

/* ===== Premium Myntra-style payment page (v2) ===== */
body:has(.b2c-payment-page) {
  background: #f4f5f7;
}

.b2c-payment-page .b2c-payment-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 0 4px;
}

.b2c-payment-page .b2c-payment-toolbar .b2c-payment-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #282c3f;
}

.b2c-payment-page .b2c-payment-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.b2c-payment-page .b2c-payment-left-card {
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.b2c-payment-page .b2c-payment-left-inner {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 0;
}

.b2c-payment-page .b2c-payment-methods {
  border: 0;
  border-right: 1px solid #eceef2;
  border-radius: 0;
  box-shadow: none;
  padding: 10px 0;
  background: #fff;
}

.b2c-payment-page .b2c-payment-method {
  border-bottom: 0;
  padding: 14px 16px;
  margin: 2px 0;
}

.b2c-payment-page .b2c-payment-method.is-active,
.b2c-payment-page .b2c-payment-method.is-active:hover {
  background: var(--b2c-brand-soft, #e8f0ff);
}

.b2c-payment-page .b2c-payment-method.is-active::before {
  width: 4px;
  border-radius: 0 2px 2px 0;
  background: var(--b2c-brand, #0050ff);
}

.b2c-payment-page .b2c-payment-panel {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
  padding: 24px;
  background: #fff;
}

.b2c-payment-page .b2c-payment-panel.is-upi-qr-active {
  background: #fafbfc;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.b2c-payment-page .b2c-payment-panel.is-card-panel-active {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.b2c-payment-page .b2c-payment-panel.is-card-panel-active::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.b2c-payment-page .b2c-payment-panel.is-card-panel-active .b2c-payment-panel-body {
  overflow: visible;
  min-height: min-content;
}

.b2c-themed-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 80, 255, 0.45) #eef2ff;
}

.b2c-themed-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.b2c-themed-scroll::-webkit-scrollbar-track {
  background: #eef2ff;
  border-radius: 999px;
}

.b2c-themed-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 80, 255, 0.35);
  border-radius: 999px;
}

.b2c-themed-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--b2c-brand, #0050ff);
}

.b2c-payment-page .b2c-payment-panel.is-upi-qr-active::-webkit-scrollbar {
  width: 6px;
}

.b2c-payment-page .b2c-payment-panel.is-upi-qr-active::-webkit-scrollbar-track {
  background: #eef2ff;
  border-radius: 999px;
}

.b2c-payment-page .b2c-payment-panel.is-upi-qr-active::-webkit-scrollbar-thumb {
  background: rgba(0, 80, 255, 0.35);
  border-radius: 999px;
}

.b2c-payment-page .b2c-payment-panel.is-upi-qr-active::-webkit-scrollbar-thumb:hover {
  background: var(--b2c-brand, #0050ff);
}

.b2c-payment-page .b2c-payment-panel.is-upi-qr-active .b2c-payment-panel-body {
  overflow: visible;
  min-height: min-content;
}

body.b2c-payment-upi-qr-open {
  overflow: hidden !important;
}

body.b2c-payment-upi-qr-open .b2c-main {
  overflow: hidden !important;
}

body.b2c-payment-upi-qr-open .b2c-payment-methods-scroll {
  overflow-y: auto;
  overflow-x: hidden;
}

.b2c-payment-page .b2c-payment-summary {
  position: static;
  top: auto;
  gap: 16px;
}

.b2c-payment-page .b2c-payment-summary-card,
.b2c-payment-page .b2c-shopit-money-card {
  border-radius: 8px;
  border: 1px solid #eceef2;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  padding: 24px;
}

.b2c-payment-page .b2c-payment-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.b2c-payment-page .b2c-payment-summary-head .b2c-payment-price-title {
  margin: 0;
}

.b2c-payment-page .b2c-payment-secure-badge--inline {
  font-size: 11px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.b2c-payment-page .b2c-payment-price-line {
  padding: 7px 0;
}

.b2c-payment-page .b2c-payment-price-value {
  text-align: right;
  min-width: 88px;
}

.b2c-payment-page .b2c-payment-price-value.is-discount,
.b2c-payment-page .b2c-payment-collapse-summary.is-discount {
  color: #059669;
  font-weight: 700;
}

.b2c-payment-page .b2c-payment-price-line--total {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--b2c-line, #e2e8f0);
}

.b2c-payment-page .b2c-payment-price-line--total .b2c-payment-price-label,
.b2c-payment-page .b2c-payment-price-line--total .b2c-payment-price-value {
  font-weight: 800;
  color: var(--b2c-ink, #0f172a);
}

.b2c-payment-page .b2c-payment-price-line--total .b2c-payment-price-value {
  font-size: 22px;
  font-family: var(--b2c-display);
}

.b2c-payment-page .b2c-pay-upi-apps {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 8px;
}

.b2c-payment-page .b2c-upi-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: none;
  padding: 7px;
  box-sizing: border-box;
}

.b2c-payment-page .b2c-upi-badge--paytm img {
  object-fit: contain;
  padding: 2px 4px;
}

.b2c-payment-page .b2c-upi-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  background: #fff;
}

.b2c-payment-page .b2c-upi-qr-head {
  text-align: center;
}

.b2c-payment-page .b2c-upi-qr-head .b2c-upi-step-title {
  margin-bottom: 10px;
}

.b2c-payment-page .b2c-upi-qr-head .b2c-pay-upi-apps {
  justify-content: center;
}

.b2c-payment-page .b2c-upi-qr-frame {
  width: 280px;
  height: 280px;
  border-radius: 12px;
  border-color: #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 16px;
}

.b2c-payment-page .b2c-upi-qr-image {
  width: 252px;
  height: 252px;
}

.b2c-payment-page .b2c-upi-qr-timer-pill {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.b2c-payment-page .b2c-upi-qr-timer-pill strong {
  color: #1d4ed8;
  font-size: 14px;
}

.b2c-payment-page .b2c-upi-qr-amount {
  margin: 10px 0 8px;
  font-size: 15px;
  color: #475569;
}

.b2c-payment-page .b2c-upi-qr-amount strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.b2c-payment-page .b2c-payment-pay-btn,
.b2c-payment-page .b2c-payment-place-btn {
  border-radius: 4px;
  letter-spacing: 0.01em;
}

@media (max-width: 991px) {
  html:has(.b2c-payment-page),
  body:has(.b2c-payment-page) {
    height: auto;
    overflow: auto;
  }

  body:has(.b2c-payment-page) .b2c-main {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .b2c-checkout-pay.b2c-payment-page {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .b2c-payment-page .b2c-payment-wrap {
    overflow: visible;
  }

  .b2c-payment-page .b2c-payment-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .b2c-payment-page .b2c-payment-left-inner {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .b2c-payment-page .b2c-payment-methods-scroll {
    max-height: 220px;
  }

  .b2c-payment-page .b2c-payment-methods {
    border-right: 0;
    border-bottom: 1px solid #eceef2;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .b2c-payment-page .b2c-payment-method {
    margin: 0;
    border-bottom: 1px solid #eceef2;
  }

  .b2c-payment-page .b2c-payment-summary {
    position: static;
  }
}

/* ===== Enterprise payment layout v3 — fixed viewport, scrollable methods rail only ===== */
.b2c-payment-page .b2c-payment-brandbar {
  flex-shrink: 0;
  z-index: 40;
}

.b2c-payment-page .b2c-payment-wrap {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 16px 24px 16px;
}

.b2c-payment-page .b2c-payment-toolbar {
  flex-shrink: 0;
  z-index: 30;
  background: #f4f5f7;
  padding: 8px 4px 12px;
  margin-bottom: 12px;
}

.b2c-payment-page .b2c-payment-grid {
  flex: 1;
  min-height: 0;
  align-items: stretch;
  overflow: hidden;
}

.b2c-payment-page .b2c-payment-left-card {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.b2c-payment-page .b2c-payment-left-inner {
  flex: 1;
  min-height: 0;
  height: 100%;
  max-height: none;
  align-items: stretch;
}

.b2c-payment-page .b2c-payment-methods-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 80, 255, 0.45) #eef2ff;
}

.b2c-payment-page .b2c-payment-methods-scroll::-webkit-scrollbar {
  width: 5px;
}

.b2c-payment-page .b2c-payment-methods-scroll::-webkit-scrollbar-track {
  background: #eef2ff;
  border-radius: 999px;
}

.b2c-payment-page .b2c-payment-methods-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 80, 255, 0.35);
  border-radius: 999px;
}

.b2c-payment-page .b2c-payment-methods-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--b2c-brand, #0050ff);
}

.b2c-payment-page .b2c-payment-panel {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 100%;
}

.b2c-payment-page .b2c-payment-panel-body:not(.d-none) {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.b2c-payment-page .b2c-payment-summary {
  align-self: stretch;
  overflow: hidden;
  height: 100%;
  min-height: 0;
  position: static;
  top: auto;
}

/* UPI — premium radio card + primary CTA */
.b2c-upi-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.b2c-upi-option-card {
  display: block;
  margin: 0;
  cursor: pointer;
}

.b2c-upi-option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.b2c-upi-option-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #e8eaef;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.b2c-upi-option-card:hover .b2c-upi-option-card-inner {
  border-color: #cbd5e1;
  background: #fafbfc;
}

.b2c-upi-option-card:has(input:checked) .b2c-upi-option-card-inner {
  border-color: var(--b2c-brand);
  background: #f8faff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--b2c-brand) 18%, transparent), 0 4px 14px rgba(15, 23, 42, 0.06);
}

.b2c-upi-option-check {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.b2c-upi-option-card:has(input:checked) .b2c-upi-option-check {
  border-color: var(--b2c-brand);
  background: var(--b2c-brand);
  box-shadow: inset 0 0 0 4px #fff;
}

.b2c-upi-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--b2c-brand, #0050ff);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.b2c-upi-option-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.b2c-upi-option-title {
  font-size: 15px;
  font-weight: 700;
  color: #282c3f;
}

.b2c-upi-option-sub {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.b2c-upi-action {
  margin-top: 0;
}

.b2c-upi-qr-panel {
  background: #f8fafc;
  border: 1px solid #eceef2;
  border-radius: 12px;
  padding: 24px 20px 28px;
}

.b2c-payment-page .b2c-upi-qr-panel .b2c-upi-qr-stage {
  padding: 12px 0 0;
}

.b2c-payment-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  padding-top: 8px;
  width: 100%;
}

.b2c-payment-cta .b2c-pay-primary-btn {
  margin-top: 0;
  width: min(420px, 100%);
}

.b2c-pay-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(420px, 100%);
  margin-top: 0;
  padding: 15px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--b2c-brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 80, 255, 0.2);
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  font-family: inherit;
}

.b2c-pay-primary-btn:hover:not(:disabled) {
  background: var(--b2c-brand-dark);
  box-shadow: 0 6px 18px rgba(0, 80, 255, 0.28);
  transform: translateY(-1px);
}

.b2c-pay-primary-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 80, 255, 0.2);
}

.b2c-pay-primary-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.b2c-pay-primary-btn .bi-shield-lock {
  font-size: 1.05rem;
  opacity: 0.95;
  flex-shrink: 0;
}

.b2c-pay-primary-btn-text strong {
  font-weight: 800;
  margin-left: 0.3em;
}

.b2c-payment-page .b2c-payment-action-wrap .b2c-pay-primary-btn {
  width: min(420px, 100%);
  min-width: 220px;
}

.b2c-payment-page .b2c-payment-card-form {
  max-width: 520px;
}

.b2c-cf-card-form .b2c-cf-field-mount.is-cf-visible .b2c-cf-input {
  opacity: 1;
}

.b2c-cf-card-form {
  --cf-field-min-h: 58px;
  --cf-field-radius: 6px;
  --cf-brand-icon-h: calc(var(--cf-field-min-h) * 0.48);
  --cf-brand-icon-right: 18px;

  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 380px;
  font-family: var(--b2c-font);
  transition: opacity 0.3s ease;
}

.b2c-cf-card-form.is-cf-form-loading,
.b2c-cf-card-form.is-cf-form-ready {
  opacity: 1;
}

/* Card form header */
.b2c-cf-card-header {
  margin-bottom: 1.25rem;
}

.b2c-cf-card-title {
  margin: 0 0 0.35rem;
  font-family: var(--b2c-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--b2c-ink, #0f172a);
}

/* Info / trust block */
.b2c-cf-card-info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--b2c-radius-ctl, 0.75rem);
  background: var(--b2c-brand-soft, #e8f0ff);
}

.b2c-cf-card-info-icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 1rem;
  color: var(--b2c-brand, #0050ff);
}

.b2c-cf-card-info-copy {
  min-width: 0;
}

.b2c-cf-card-info-line {
  margin: 0 0 0.2rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--b2c-ink, #0f172a);
  font-weight: 500;
}

.b2c-cf-card-info-muted {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--b2c-muted, #64748b);
}

/* Field blocks */
.b2c-cf-field-block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.125rem;
}

.b2c-cf-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.b2c-cf-field-label {
  display: block;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--b2c-ink, #0f172a);
  font-family: var(--b2c-font);
  line-height: 1.35;
}

.b2c-cf-field-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--b2c-muted, #64748b);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.b2c-cf-field-help-btn:hover,
.b2c-cf-field-help-btn:focus-visible {
  color: var(--b2c-brand, #0050ff);
  background: var(--b2c-brand-soft, #e8f0ff);
  outline: none;
}

.b2c-cf-cvv-tooltip .tooltip-inner {
  max-width: 260px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.b2c-cf-field-error {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #dc2626;
  font-weight: 500;
}

.b2c-cf-card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0.125rem;
  align-items: start;
}

.b2c-cf-card-row .b2c-cf-field-block {
  margin-bottom: 0;
}

@media (max-width: 520px) {
  .b2c-cf-card-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .b2c-cf-card-row .b2c-cf-field-block:first-child {
    margin-bottom: 1.125rem;
  }
}

/* Mount shells — Cashfree draws borders inside secure iframes */
.b2c-cf-field-mount {
  display: block;
  width: 100%;
  position: relative;
  min-height: 0;
  height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.b2c-cf-field-mount.is-cf-loading {
  min-height: var(--cf-field-min-h);
  border-radius: var(--cf-field-radius);
  background: linear-gradient(
    90deg,
    rgba(0, 80, 255, 0.05) 0%,
    #f8fafc 45%,
    rgba(0, 80, 255, 0.05) 100%
  );
  background-size: 220% 100%;
  animation: b2c-cf-shimmer 1.4s ease-in-out infinite;
}

.b2c-cf-field-mount.is-cf-ready,
.b2c-cf-field-mount.is-cf-visible {
  min-height: 0;
  background: transparent;
  animation: none;
}

.b2c-cf-field-mount.is-cf-loading::after {
  content: none;
}

@keyframes b2c-cf-shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

/* Cashfree wrapper classes (outer container only) */
.b2c-cf-card-form .b2c-cf-field-mount .b2c-cf-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: var(--cf-field-min-h);
  border-radius: var(--cf-field-radius) !important;
  border: 1px solid var(--b2c-line, #e2e8f0) !important;
  background: var(--b2c-surface, #fff) !important;
  color: var(--b2c-ink, #0f172a) !important;
  box-shadow: none !important;
  opacity: 0;
  transition: opacity 0.28s ease, border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.b2c-cf-card-form .b2c-cf-field-mount iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-height: var(--cf-field-min-h) !important;
  display: block;
  border: 0 !important;
  background: transparent;
}

.b2c-cf-input--focus {
  border-color: var(--b2c-brand, #0050ff) !important;
  background: var(--b2c-surface, #fff) !important;
  box-shadow: 0 0 0 3px var(--b2c-brand-glow, rgba(0, 80, 255, 0.14)) !important;
}

.b2c-cf-input--complete {
  border-color: var(--b2c-line, #e2e8f0) !important;
  border-radius: var(--cf-field-radius) !important;
  background: var(--b2c-surface, #fff) !important;
  box-shadow: none !important;
}

.b2c-cf-input--invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.b2c-cf-input--disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Card brand icon (Cashfree wrapper — not iframe internals) */
.b2c-cf-card-form #b2c-cf-card-number .b2c-cf-input {
  position: relative;
}

.b2c-cf-card-form #b2c-cf-card-number .b2c-cf-input > img,
.b2c-cf-card-form #b2c-cf-card-number .b2c-cf-input img[class*="brand"],
.b2c-cf-card-form #b2c-cf-card-number .b2c-cf-input [class*="brand"] img,
.b2c-cf-card-form #b2c-cf-card-number .b2c-cf-input [class*="Brand"] img,
.b2c-cf-card-form #b2c-cf-card-number .b2c-cf-input svg[class*="brand"] {
  position: absolute !important;
  right: var(--cf-brand-icon-right) !important;
  top: 50% !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  width: auto !important;
  height: var(--cf-brand-icon-h) !important;
  max-height: var(--cf-brand-icon-h) !important;
  max-width: calc(var(--cf-brand-icon-h) * 1.65) !important;
  margin: 0 !important;
  object-fit: contain !important;
  pointer-events: none;
}

.b2c-cf-card-form #b2c-cf-card-number .b2c-cf-input [class*="brand"],
.b2c-cf-card-form #b2c-cf-card-number .b2c-cf-input [class*="Brand"] {
  position: absolute !important;
  right: var(--cf-brand-icon-right) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  height: var(--cf-brand-icon-h) !important;
  margin: 0 !important;
  pointer-events: none;
}

/* Save card */
.b2c-cf-save-card-mount {
  margin: 0.25rem 0 1rem;
  min-height: 28px;
  display: flex;
  align-items: center;
}

.b2c-cf-save-card-mount.is-cf-loading {
  width: min(300px, 100%);
  min-height: 24px;
  border-radius: 0.5rem;
  background: linear-gradient(
    90deg,
    rgba(0, 80, 255, 0.06) 0%,
    #f8fafc 45%,
    rgba(0, 80, 255, 0.06) 100%
  );
  background-size: 220% 100%;
  animation: b2c-cf-shimmer 1.4s ease-in-out infinite;
}

.b2c-cf-save-card-mount.is-cf-ready,
.b2c-cf-save-card-mount.is-cf-visible {
  background: transparent;
  animation: none;
}

.b2c-cf-save-card-mount > div,
.b2c-cf-save-card-mount label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--b2c-muted, #64748b);
  font-family: var(--b2c-font);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.b2c-cf-save-card-mount.is-cf-visible > div,
.b2c-cf-save-card-mount.is-cf-visible label {
  opacity: 1;
}

.b2c-cf-save-card-mount .b2c-cf-input,
.b2c-cf-save-card-mount iframe {
  min-height: auto !important;
  height: auto !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.b2c-cf-save-card-mount input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--b2c-brand, #0050ff);
  flex-shrink: 0;
  border-radius: 4px;
  cursor: pointer;
}

/* Security row */
.b2c-cf-security-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.25rem 0 1.25rem;
  padding: 0.75rem 0;
}

.b2c-cf-security-icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 0.95rem;
  color: var(--b2c-brand, #0050ff);
}

.b2c-cf-security-title {
  display: block;
  margin: 0 0 0.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--b2c-ink, #0f172a);
  font-family: var(--b2c-font);
}

.b2c-cf-security-text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--b2c-muted, #64748b);
}

/* Primary CTA */
.b2c-cf-payment-cta {
  margin-top: 0;
  padding-top: 0;
}

.b2c-cf-card-form .b2c-pay-primary-btn {
  width: 100%;
  max-width: 100%;
  min-height: 3.375rem;
  padding: 0.9rem 1.25rem;
  border-radius: var(--cf-field-radius);
  background: var(--b2c-brand, #0050ff);
  font-family: var(--b2c-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 6px 18px rgba(0, 80, 255, 0.22);
}

.b2c-cf-card-form .b2c-pay-primary-btn:hover:not(:disabled):not(.is-processing) {
  background: var(--b2c-brand-dark, #003fcc);
  box-shadow: 0 8px 22px rgba(0, 80, 255, 0.28);
  transform: translateY(-1px);
}

.b2c-cf-card-form .b2c-pay-primary-btn:active:not(:disabled):not(.is-processing) {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 80, 255, 0.2);
}

.b2c-cf-card-form .b2c-pay-primary-btn.is-processing,
.b2c-cf-card-form .b2c-pay-primary-btn:disabled {
  opacity: 0.88;
  cursor: not-allowed;
  transform: none;
}

.b2c-pay-primary-btn-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.b2c-pay-primary-btn-label--processing {
  font-weight: 600;
}

.b2c-pay-btn-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: b2c-pay-spin 0.7s linear infinite;
}

@keyframes b2c-pay-spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 768px) {
  .b2c-cf-card-form .b2c-pay-primary-btn {
    max-width: 420px;
  }
}

.b2c-cf-netbanking-mount {
  display: block;
  width: 100%;
  min-height: 58px;
  margin: 0 0 1rem;
  box-sizing: border-box;
}

.b2c-nb-flow {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  font-family: var(--b2c-font);
}

.b2c-nb-flow .b2c-payment-panel-note {
  font-size: 13px;
  color: var(--b2c-muted, #64748b);
  line-height: 1.6;
  margin-bottom: 18px;
}

.b2c-nb-picker {
  max-width: 520px;
}

.b2c-nb-bank-search {
  margin-bottom: 12px;
}

.b2c-nb-bank-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: min(340px, 42vh);
  overflow-y: auto;
  padding-right: 4px;
}

.b2c-nb-bank-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #eaeaec;
  border-radius: 4px;
  background: #fff;
  color: #282c3f;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.b2c-nb-bank-item:hover {
  border-color: var(--b2c-brand, #0050ff);
  background: #f0f5ff;
}

.b2c-nb-bank-item.is-selected {
  border-color: var(--b2c-brand, #0050ff);
  background: #f0f5ff;
  box-shadow: inset 0 0 0 1px rgba(0, 80, 255, 0.12);
}

.b2c-nb-bank-item-name {
  font-weight: 500;
}

.b2c-nb-bank-item .bi-chevron-right {
  color: #94969f;
  font-size: 12px;
}

.b2c-nb-bank-empty {
  margin: 0;
  padding: 16px 0;
  font-size: 13px;
  color: #696b79;
  text-align: center;
}

.b2c-nb-change-bank {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--b2c-brand, #0050ff);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.b2c-nb-change-bank:hover {
  color: var(--b2c-brand-dark, #003dcc);
}

.b2c-nb-confirm-card {
  max-width: 520px;
  padding: 24px 20px;
  border: 1px solid #eaeaec;
  border-radius: 8px;
  background: #f0f5ff;
  text-align: center;
  margin-bottom: 20px;
}

.b2c-nb-confirm-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--b2c-brand, #0050ff);
  font-size: 1.35rem;
  box-shadow: 0 2px 8px rgba(0, 80, 255, 0.08);
}

.b2c-nb-confirm-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #282c3f;
}

.b2c-nb-confirm-copy {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #696b79;
}

.b2c-nb-confirm-amount {
  margin: 0;
  font-size: 14px;
  color: #282c3f;
}

.b2c-nb-confirm-amount strong {
  font-size: 18px;
  font-weight: 700;
  color: #282c3f;
}

.b2c-payment-page .b2c-payment-pay-btn.b2c-pay-primary-btn {
  display: inline-flex;
}

.b2c-payment-return {
  max-width: 560px;
  margin: 48px auto;
  padding: 0 16px;
}

.b2c-payment-return-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}

.b2c-payment-return-spinner {
  width: 36px;
  height: 36px;
  margin: 20px auto 0;
  border: 3px solid #e2e8f0;
  border-top-color: #0050ff;
  border-radius: 50%;
  animation: b2c-spin 0.8s linear infinite;
}

@keyframes b2c-spin {
  to { transform: rotate(360deg); }
}
