.mod-mformspayment {
  display: flex;
  justify-content: center;
  margin: 1rem auto 2rem;
  width: min(100%, 980px);
}

.mod-mformspayment__wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.mod-mformspayment__card {
  width: min(100%, 420px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--op21-surface, #25282e);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
  position: relative;
  overflow: hidden;
}

.mod-mformspayment__card::before {
  content: none;
}

.mod-mformspayment__card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
}

.mod-mformspayment__merchant {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mod-mformspayment__detail {
  margin: 0;
  color: #f3f6fb;
  font-size: 1rem;
  font-weight: 600;
}

.mod-mformspayment__price {
  margin: 0.2rem 0 0.6rem;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.mod-mformspayment__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #c10d2f;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

.mod-mformspayment__button:hover,
.mod-mformspayment__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(193, 13, 47, 0.34);
  background: #d3143a;
  outline: none;
}

.mod-mformspayment__empty {
  margin: 0 auto;
  color: #d8deea;
  text-align: center;
}
