.payment-method-section .payment-section {
  margin-top: 20px;
}

.payment-method-section .payment-section .section-subtitle {
  font-size: 13px;
  color: #1f1f1f;
  margin-bottom: 10px;
  font-weight: 500;
}

.payment-method-section .payment-section .payment-options {
  display: flex;
  gap: 15px;
  padding: 0 15px;

  justify-content: space-between;
}

.payment-method-section .payment-section .payment-options .pay-card {
  width: 200px;
  height: 57px;
  border: 1px solid #d2d2d2;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: cover;
}

.payment-method-section .payment-section .wrapper-img {
  width: auto;
  height: 30px;
}

.payment-method-section .payment-section .wrapper-img img {
  height: 100%;
  width: 100%;
}

.payment-method-section .payment-section .payment-options .pay-card.active {
  border: 1px solid #b87332;
  background: #f5e3d3;
}

.payment-method-section .payment-section .payment-options .pay-card .custom-radio-stack {
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
}

.payment-method-section .payment-section .yellow-line-divider {
  height: 1px;
  background: #e5c3a1;
  margin: 20px 0;
}

.payment-method-section .payment-section .cod-box {
  display: flex;
  justify-content: end;
  align-items: center;
  border: 1px solid #d2d2d2;
  padding: 5px 12px;
  margin: 0 15px;
  background: #f5f5f5;
  position: relative;
}

.payment-method-section .payment-section .cod-box .custom-radio-stack {
  position: absolute;
  left: -8px;
  display: flex;
  align-items: center;
  gap: 5px;
  top: 50%;
  transform: translateY(-50%);
}

.payment-method-section .payment-section .cod-box .form-check {
  margin: 0;
}

.payment-method-section .payment-section .cod-box .custom-radio-stack label {
  font-size: 15px;
  color: #1f1f1f;
  font-weight: 500;

  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.payment-method-section .payment-section .cod-box .wrapper-img {
  width: 40px;
  height: 40px;
}

.payment-method-section .payment-section .cod-box img {
  width: 100%;
  height: 100%;
  text-align: end;
}

.payment-method-section .payment-section .card-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 15px;
}

.payment-method-section .payment-section .card-box .add-icon {
  width: 35px;
  height: 35px;
  background: #fce0c4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #884200;
  aspect-ratio: 1/1;
  border: 1px solid #b87332;
}

.payment-method-section .payment-section .card-box .card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.payment-method-section .payment-section .card-box .card-sub {
  font-size: 12px;
  margin-bottom: 0;
  line-height: 1.3;
  color: #777;
}

.payment-method-section .payment-section .wallet-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f5f5;
  margin: 0 15px;
  padding: 12px;

}

.payment-method-section .payment-section .wallet-box .wallet-label {
  font-size: 13px;
  color: #b87332;
  font-family: "Raleway";
  margin: 0;
}

.payment-method-section .payment-section .wallet-box .wallet-amount {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.payment-method-section .payment-section .wallet-box .wallet-btn {
  background: #1f2a44;
  color: #fff;
  border: none;
  padding: 5px 18px;
  cursor: pointer;
  font-size: 18px;
  transition: 0.2s;
}

.payment-method-section .payment-section .wallet-box .wallet-btn:hover {
  opacity: 0.9;
}

.payment-method-section .payment-section .custom-radio-stack .form-check-input {
  border-color: #343434;
}

@media (min-width: 0px) and (max-width: 1199px) {
  .payment-method-section .payment-section .payment-options .pay-card {
    width: 160px;
    height: 46px;
  }

  .payment-method-section .payment-section .wallet-box .wallet-btn {
    padding: 4px 15px;

    font-size: 16px;
  }

  .payment-method-section .payment-section .cod-box .custom-radio-stack label {
    font-size: 14px;
  }

  .payment-method-section .payment-section .yellow-line-divider {
    margin: 18px 0;
  }

  .payment-method-section .payment-section .wrapper-img {
    width: auto;
    height: 30px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .payment-method-section .payment-section .payment-options {
    justify-content: space-evenly;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .payment-method-section .payment-section .yellow-line-divider {
    margin: 15px 0;
  }

  .payment-method-section .payment-section .wallet-box .wallet-amount {
    font-size: 18px;
  }

  .payment-method-section .payment-section .payment-options .pay-card {
    height: 35px;
  }

  .payment-method-section .payment-section .wrapper-img {
    width: auto;
    height: 20px;
  }

  .payment-method-section .payment-section .cod-box .wrapper-img {
    width: 30px;
    height: 30px;
  }
}

@media (min-width: 0px) and (max-width: 575.98px) {
  .payment-method-section .payment-section .payment-options {
    flex-wrap: wrap;
    justify-content: center;
  }

  .payment-method-section .payment-section .payment-options .pay-card {
    width: 107px;
    height: 35px;
  }

  .payment-method-section .payment-section .payment-options {
    padding: 0 10px;
  }

  .payment-method-section .payment-section .cod-box {
    margin: 0px 10px;
  }

  .payment-method-section .payment-section .card-box {
    margin: 0 10px;
  }

  .payment-method-section .payment-section .card-box .add-icon {
    width: 25px;
    height: 25px;
    font-size: 16px;
  }

  .payment-method-section .payment-section .card-box {
    gap: 10px;
  }

  .payment-method-section .payment-section .card-box .card-title {
    font-size: 13px;
  }

  .payment-method-section .payment-section .wallet-box {
    margin: 0 10px;
    padding: 10px;
  }

  .payment-method-section .payment-section .wallet-box .wallet-amount {
    font-size: 15px;
  }

  .payment-method-section .payment-section .wallet-box .wallet-label {
    font-size: 11px;
  }

  .payment-method-section .payment-section .wallet-box .wallet-btn {
    padding: 2px 10px;
    font-size: 13px;
  }

  .payment-method-section .payment-section .yellow-line-divider {
    margin: 12px 0;
  }

  .payment-method-section .payment-section .section-subtitle {
    margin-bottom: 7px;
  }

  .payment-method-section .payment-section .cod-box .custom-radio-stack label {
    font-size: 11px;
    width: 77%;
  }

  .payment-method-section .payment-section .cod-box .wrapper-img {
    width: 25px;
    height: 25px;
  }

  .payment-method-section .payment-section .cod-box {
    padding: 10px 12px;
  }

  .payment-method-section .payment-section .wrapper-img {
    width: auto;
    height: 20px;
  }
}