.payment-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  max-width: 390px;
  margin: 0 auto -1px;
  padding: 6px 6px 0;
  border-radius: 13px 13px 0 0;
  background: rgba(255, 255, 255, .28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.payment-icon {
  appearance: none;
  border: 2px solid transparent;
  min-height: 58px;
  padding: 8px 4px 10px;
  border-radius: 9px 9px 0 0;
  background: rgba(255, 255, 255, .52);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font: 600 9px var(--sans);
  cursor: pointer;
  opacity: .48;
  filter: blur(.45px) saturate(.65);
  transform: translateY(5px) scale(.96);
  transform-origin: bottom;
  transition: opacity .28s ease, filter .28s ease, transform .28s ease, background .28s ease, box-shadow .28s ease;
}

.payment-icon:hover { opacity: .75; filter: blur(0) saturate(.85); transform: translateY(2px) scale(.98); }
.payment-icon.active {
  z-index: 2;
  opacity: 1;
  filter: none;
  transform: translateY(1px) scale(1);
  border-color: rgba(255, 255, 255, .75);
  border-bottom-color: #fff;
  background: #fff;
  box-shadow: 0 -7px 20px rgba(38, 48, 31, .13);
}
.payment-icon img {
  display: block;
  width: 100%;
  max-width: 72px;
  height: 31px;
  object-fit: contain;
}
.payment-panel { margin-top: 0; border-radius: 0 0 7px 7px; animation: payment-card-in .3s ease; }
@keyframes payment-card-in { from { opacity: .45; transform: translateY(5px); } }

.payment-icon b {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font: 700 14px Arial, sans-serif;
}

.payment-icon.bca { color: #0865a9; }
.payment-icon.bca b { background: #0865a9; }
.payment-icon.mandiri { color: #173c77; }
.payment-icon.mandiri b { background: #173c77; color: #f6bd17; font-size: 19px; }
.payment-icon.seabank { color: #e95125; }
.payment-icon.seabank b { background: #e95125; }
.payment-icon.dana { color: #118eea; }
.payment-icon.dana b { background: #118eea; }

@media (max-width: 370px) {
  .payment-icon { font-size: 8px; }
  .payment-icon b { width: 24px; height: 24px; }
}
