.payment-section {
  margin: 46px auto 0;
  max-width: 960px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 40px #4d19300b;
}
.payment-section.compact {
  margin: 0 60px 60px;
  max-width: none;
  background: #faf7f9;
}
.payment-title {
  text-align: center;
  margin-bottom: 28px;
}
.payment-title > span {
  color: var(--pink);
  font-weight: 700;
}
.payment-title h2 {
  font-size: 32px;
  margin: 5px 0;
}
.payment-title p {
  color: var(--muted);
  margin: 0;
}
.payment-group {
  margin-top: 26px;
}
.payment-group h3 {
  font-size: 16px;
  margin: 0 0 12px;
}
.payment-grid {
  display: grid;
  gap: 10px;
}
.mobile-grid {
  grid-template-columns: repeat(6, 1fr);
}
.bank-grid {
  grid-template-columns: repeat(4, 1fr);
}
.payment-grid button {
  position: relative;
  min-height: 70px;
  border: 1px solid #e5dce1;
  border-radius: 13px;
  background: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  color: var(--dark);
  transition: .2s;
}
.payment-grid button:hover {
  border-color: #e2136e88;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #54142f10;
}
.payment-grid button.selected {
  border: 2px solid var(--pink);
  background: #fff7fb;
}
.payment-grid button > i {
  min-width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  font: 800 11px Inter;
  font-style: normal;
  padding: 0 4px;
}
.payment-grid button > span {
  font-weight: 600;
  line-height: 1.1;
}
.payment-grid button > b {
  display: none;
  position: absolute;
  right: 5px;
  top: 3px;
  color: var(--pink);
}
.payment-grid button.selected > b {
  display: block;
}
.card-strip {
  margin-top: 28px;
  padding: 22px;
  border-radius: 16px;
  background:
    linear-gradient(
      115deg,
      #26131e,
      #4c1731);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-strip > div {
  display: grid;
  gap: 5px;
}
.card-strip small {
  color: #d5c4cc;
}
.card-strip button {
  border: 1px solid #ffffff55;
  background: #ffffff12;
  color: #fff;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 700;
}
.card-icons {
  display: flex;
  gap: 6px;
  margin-bottom: 7px;
}
.card-icons i {
  font: 700 9px Inter;
  font-style: normal;
  background: #fff;
  color: #39202d;
  border-radius: 4px;
  padding: 5px 7px;
}
.payment-security {
  display: flex;
  justify-content: center;
  gap: 34px;
  color: #73636b;
  font-size: 13px;
  margin-top: 22px;
}
.wallet-page {
  padding-bottom: 70px;
}
.card-icons i {
  width: 48px;
  height: 27px;
  padding: 0 !important;
  display: grid;
  place-items: center;
  border-radius: 5px !important;
  box-shadow: inset 0 0 0 1px #0000000c;
  font-style: normal;
}
.card-icons .visa-badge {
  color: #17357d;
  font: 900 italic 13px/1 Inter;
  letter-spacing: -.06em;
}
.card-icons .amex-badge {
  background: #1478b8;
  color: #fff;
  font: 800 10px/1 Inter;
}
.card-icons .nexus-badge {
  background: #fff;
  color: #5f3c12;
  font: 800 8px/1 Inter;
  letter-spacing: .06em;
}
.card-icons .mastercard-badge {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-size: 0;
}
.mastercard-badge b {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e52b20;
}
.mastercard-badge b + b {
  margin-left: -5px;
  background: #f59a18;
  mix-blend-mode: multiply;
}
.payment-security span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.payment-security span > i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f8efd5;
  color: #9b6d08;
  font: 800 13px/1 Inter;
  font-style: normal;
}
@media (max-width: 760px) {
  .payment-section,
  .payment-section.compact {
    margin: 28px 18px;
    padding: 22px 16px;
  }
  .payment-title h2 {
    font-size: 27px;
  }
  .mobile-grid,
  .bank-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .payment-grid button {
    min-height: 64px;
    padding: 8px;
  }
  .payment-grid button > i {
    min-width: 33px;
    height: 33px;
    font-size: 9px;
  }
  .payment-grid button > span {
    font-size: 13px;
  }
  .card-strip {
    display: block;
    padding: 18px;
  }
  .card-strip button {
    width: 100%;
    margin-top: 16px;
  }
  .payment-security {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}
