.new-payment-summary {
  margin-bottom: 30px;
  max-width: 570px;
}
.payment-summary {
  width: 100%;
}

.payment-summary__title {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 400;
  color: #222943;
  line-height: 1.2;
  letter-spacing: 1px;
}

.payment-summary__box {
  border: 1px solid #DEE3ED;
  border-radius: 4px;
  background: #fff;
  padding: 10px 20px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.payment-summary__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 20px;
}

.payment-summary__item {
  position: relative;
}

.payment-summary__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 10px;
  width: 1px;
  height: 40px;
  background-color: #E5E7EB;
}

.payment-summary--single .payment-summary__item::after {
  display: none;
}

.payment-summary__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 0px;
}

.payment-summary__label.red {
  color: #E91E63;
}

.payment-summary__label.orange {
  color: #FF9800;
}

.payment-summary__price {
  line-height: 20px;
  font-size: 22px;
  font-weight: 800;
  color: #222943;
}

.payment-summary__currency {
  font-size: 14px;
  font-weight: 700;
  color:#222943;
}

.payment-summary__subtext {
  font-size: 12px;
  font-weight: 700;
  color: #717D8D;
}

.payment-summary__action {
  display: flex;
  justify-content: flex-end;
}

.payment-summary__action .payment-summary__button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-summary__button {
  padding: 12px 24px;
  background-color: #052F5F;
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.payment-summary__action .payment-summary__button:has(input),
.payment-summary__action .payment-summary__button:has(button) {
  padding: 0;
  background-color: transparent;
}

.payment-summary__action .payment-summary__button input,
.payment-summary__action .payment-summary__button button {
  width: 100%;
  padding: 12px 24px;
  background-color: #052F5F !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.payment-summary__action .payment-summary__button input:hover,
.payment-summary__action .payment-summary__button button:hover {
  opacity: 0.9;
}

.payment-summary__button:hover {
  opacity: 0.9;
  color:#fff !important;
}

/* Mobile */
@media (max-width: 991px) {
  .payment-summary__title {
    font-size: 20px;
  }
  .payment-summary__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .payment-summary__box {
    height: auto;
  }
  .payment-summary__item {
    border-bottom:1px solid #E5E7EB;
    padding-bottom: 16px;
  }
  .payment-summary__item::after {
    display: none;
  }

  .payment-summary__action {
    justify-content: stretch;
  }

  .payment-summary__button {
    min-width: 202px;
    padding: 12px 0px;
    text-align: center;
  }
}
.payment-summary__action .payment-summary__button input, .payment-summary__action .payment-summary__button button{

  width: 198px !important;
  height: 44px !important;
  border-radius: 60px !important;
  angle: 0 deg;
  opacity: 1;
  gap: 8px;
  padding-top: 10px !important;
  padding-right: 24px !important;
  padding-bottom: 10px !important;
  padding-left: 24px !important;
}
