.e24-title-wrap,
.woocommerce-checkout .e24-payment-header,
.wc-block-components-checkout-step .e24-payment-header,
.e24-payment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.e24-title-wrap {
  width: 100%;
}

.e24-title-text,
.e24-payment-name {
  font-weight: 700;
  line-height: 1.25;
}

.e24-title-logo,
.woocommerce-checkout .e24-payment-shop-logo,
.wc-block-components-checkout-step .e24-payment-shop-logo,
.e24-payment-shop-logo {
  width: auto;
  max-width: 168px;
  max-height: 68px;
  object-fit: contain;
  flex: 0 0 auto;
}

.woocommerce-checkout .e24-payment-shell,
.wc-block-components-checkout-step .e24-payment-shell,
.e24-payment-shell {
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid #d7dee7;
  border-radius: 12px;
  background: #fff;
}

.e24-payment-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.e24-payment-copy {
  color: #64748b;
  font-size: 12px;
}

.woocommerce-checkout .e24-payment-note,
.wc-block-components-checkout-step .e24-payment-note,
.e24-payment-note {
  margin-top: 10px;
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}

.woocommerce-checkout .e24-payment-note--crypto,
.wc-block-components-checkout-step .e24-payment-note--crypto,
.e24-payment-note--crypto {
  font-weight: 500;
}

.woocommerce-checkout .e24-crypto-strip,
.wc-block-components-checkout-step .e24-crypto-strip,
.e24-crypto-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}

.woocommerce-checkout .ecomtrade24pay-methods,
.wc-block-components-checkout-step .ecomtrade24pay-methods,
.ecomtrade24pay-methods {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.woocommerce-checkout .e24-method-card,
.wc-block-components-checkout-step .e24-method-card,
.e24-method-card {
  display: block;
  border: 1px solid #d7dee7;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.woocommerce-checkout .e24-method-card:hover,
.woocommerce-checkout .e24-method-card.is-selected,
.wc-block-components-checkout-step .e24-method-card:hover,
.wc-block-components-checkout-step .e24-method-card.is-selected,
.e24-method-card:hover,
.e24-method-card.is-selected {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15,118,110,.08);
  background: #f0fdfa;
}

.woocommerce-checkout .e24-method-card input[type="radio"],
.wc-block-components-checkout-step .e24-method-card input[type="radio"],
.e24-method-card input[type="radio"] {
  margin-right: 10px;
  margin-top: 1px;
}

.woocommerce-checkout .e24-method-body,
.wc-block-components-checkout-step .e24-method-body,
.e24-method-body {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 26px);
  gap: 12px;
  vertical-align: middle;
  min-height: 38px;
}

.woocommerce-checkout .e24-method-main,
.wc-block-components-checkout-step .e24-method-main,
.e24-method-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
}

.woocommerce-checkout .e24-method-label,
.wc-block-components-checkout-step .e24-method-label,
.e24-method-label {
  font-weight: 700;
  color: #0f172a;
}

.woocommerce-checkout .e24-method-sub,
.wc-block-components-checkout-step .e24-method-sub,
.e24-method-sub {
  font-size: 12px;
  color: #64748b;
}

.woocommerce-checkout .e24-method-end,
.wc-block-components-checkout-step .e24-method-end,
.e24-method-end {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  width: 128px;
  min-width: 128px;
  max-width: 128px;
  flex: 0 0 auto;
  text-align: right;
}

.woocommerce-checkout .e24-method-logo,
.wc-block-components-checkout-step .e24-method-logo,
.e24-method-logo {
  width: auto !important;
  height: 28px !important;
  max-width: 128px !important;
  max-height: 28px !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
  display: block !important;
  margin-left: auto !important;
}

.woocommerce-checkout .e24-method-pill,
.wc-block-components-checkout-step .e24-method-pill,
.e24-method-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
}

.woocommerce-checkout .e24-crypto-badge,
.wc-block-components-checkout-step .e24-crypto-badge,
.e24-crypto-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #0f172a;
  background: #e2e8f0;
}

.woocommerce-checkout .e24-crypto-dot,
.wc-block-components-checkout-step .e24-crypto-dot,
.e24-crypto-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  display: inline-block;
  flex: 0 0 auto;
}

.e24-crypto-badge.is-btc {
  background: #fff3e8;
  color: #c2410c;
}

.e24-crypto-badge.is-eth {
  background: #eef2ff;
  color: #4338ca;
}

.e24-crypto-badge.is-usdc {
  background: #ecfeff;
  color: #0f766e;
}

.e24-crypto-badge.is-doge {
  background: #fff7d6;
  color: #92400e;
}

.e24-crypto-badge.is-shiba {
  background: #fff1f2;
  color: #be123c;
}

.e24-crypto-badge.is-ltc {
  background: #f1f5f9;
  color: #334155;
}

.e24-crypto-badge.is-xrp {
  background: #eef2f7;
  color: #111827;
}

@media (max-width: 640px) {
  .e24-title-logo,
  .e24-payment-shop-logo {
    max-width: 132px;
    max-height: 54px;
  }

  .e24-method-body {
    width: calc(100% - 24px);
  }

  .e24-method-logo {
    max-width: 96px !important;
    height: 22px !important;
    max-height: 22px !important;
  }

  .e24-method-end {
    width: 96px;
    min-width: 96px;
    max-width: 96px;
  }
}
