.brand-grid {
  align-items: stretch;
}

.payment-options .payment-brand {
  position: relative;
  min-width: 0;
  min-height: 92px;
  padding: 16px;
  border-radius: 8px;
  overflow: hidden;
  line-height: 1;
  text-align: center;
  overflow-wrap: anywhere;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.payment-options .payment-brand:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 202, 120, .7);
}

.brand-apple-text {
  display: grid;
  place-items: center;
  grid-auto-flow: column;
  justify-content: center;
  gap: 5px;
  background: #050505;
  color: #fff;
  font-size: clamp(18px, 4vw, 24px);
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-apple-text strong {
  font-weight: 800;
}

.brand-card {
  gap: 10px;
}

.card-stack {
  position: relative;
  display: block;
  width: 46px;
  height: 30px;
}

.card-stack i {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 5px;
  background: linear-gradient(135deg, #f7d774, #8fb7ff);
  box-shadow: 0 7px 16px rgba(0, 0, 0, .24);
}

.card-stack i + i {
  transform: translate(9px, 8px);
  background: linear-gradient(135deg, #f8fafc, #94a3b8);
}

.brand-klarna {
  background: #ffb3c7;
  color: #171717;
  font-size: clamp(20px, 4vw, 26px);
}

.brand-link {
  background: #00d66f;
  color: #062c18;
  font-size: clamp(22px, 5vw, 30px);
}

.brand-cashapp {
  background: #00d54b;
  color: #061d0c;
  gap: 9px;
}

.cash-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff;
  color: #00a341;
  font-size: 24px;
  font-weight: 900;
}

.brand-amazon-text {
  background: #fff;
  color: #111827;
  gap: 3px;
}

.brand-amazon-text span {
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 800;
}

.brand-amazon-text strong {
  position: relative;
  font-size: clamp(16px, 3.6vw, 20px);
}

.brand-amazon-text strong:after {
  content: "";
  position: absolute;
  left: -8px;
  right: -10px;
  bottom: -10px;
  height: 10px;
  border-bottom: 4px solid #ff9900;
  border-radius: 0 0 50% 50%;
}

@media (max-width: 900px) {
  .payment-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-options .payment-brand {
    min-height: 72px;
    padding: 12px;
  }
}

@media (max-width: 420px) {
  .payment-options {
    grid-template-columns: minmax(0, 1fr);
  }
}
