*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  background-image: url('../img/bg-payment-page.png');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
  color: #313131;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.payment-wrap {
  max-width: 1040px;
  margin: 50px auto;
  border-radius: 10px;
  background-color: #FFFFFF;
  box-shadow: 0 10px 75px rgba(0,0,0,0.10);
  display: flex;
  overflow: hidden;
}

.p-txt {
  background: #193C57;
  color: #FFFFFF;
  padding: 50px;
  flex: 0 0 500px;
}

.p-txt .badge {
  display: inline-block;
  background: #FD6736;
  color: #FFFFFF;
  font-size: 14px;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 14px;
}

.p-txt h2 { font-size: 28px; margin: 8px 0; }
.p-txt h3 { font-size: 20px; margin: 12px 0; }
.p-txt p  { font-size: 14px; margin-top: 9px; line-height: 1.5; }

.separator-line {
  height: 1px;
  background-color: #FD6736;
  margin: 40px 0;
}

.p-form {
  padding: 50px;
  flex: 1 1 auto;
}

.p-form h2 { font-size: 24px; margin-bottom: 15px; }

.sm-txt {
  font-size: 12px;
  color: #888888;
  margin-bottom: 20px;
  display: block;
}

.form-group { margin-bottom: 15px; }

.form-control {
  width: 100%;
  border: 1px solid #ced4da;
  border-radius: 5px;
  padding: 20px 30px;
  font-size: 14px;
}

.form-control:focus { outline: none; border-color: #86b7fe; }

textarea.form-control {
  height: 110px;
  resize: vertical;
}

.btn-primary {
  width: 100%;
  height: 60px;
  background-color: #FD6736;
  border: none;
  border-radius: 5px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.faq-item { margin-top: 20px; }
.faq-item strong { display: block; margin-bottom: 8px; }

.message {
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 14px;
}

.message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.error .form-control { border-color: #d9534f; }
.error .form-control::placeholder { color: #d9534f; }

@media (max-width: 768px) {
  .payment-wrap { flex-direction: column; margin: 30px; }
  .p-txt, .p-form { padding: 30px; text-align: center; }
}

.purchase-summary {
  background: #f9f9f9;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  padding: 20px;
  margin: 25px 0;
}

.ps-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333333;
}

.ps-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-top: 1px solid #eeeeee;
}

.ps-row:first-of-type {
  border-top: none;
}

.buy-now-form {
  margin-top: 20px;
}

.buy-price-large {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  margin: 20px 0 15px 0;
  color: #313131;
}

.buy-note {
  margin-top: 12px;
  font-size: 12px;
  color: #777777;
  text-align: center;
}

  .stripe-modal { position: fixed; inset: 0; display: none; z-index: 9999; }
  .stripe-modal.is-open { display: block; }
  .stripe-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
  .stripe-modal__panel {
    position: relative;
    width: min(520px, calc(100% - 40px));
    margin: 60px auto;
    background: #fff;
    border-radius: 10px;
    padding: 16px 16px 14px;
    box-shadow: 0 10px 75px rgba(0,0,0,0.25);
  }
  .stripe-modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
  .stripe-modal__title { font-size: 16px; font-weight: 600; color: #313131; }
  .stripe-modal__close {
    border: 0; background: transparent; cursor: pointer;
    font-size: 18px; line-height: 1; padding: 6px 8px;
  }
  .stripe-modal__error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 13px;
  }
  .stripe-modal__mount { margin: 10px 0 14px; }
  .stripe-modal__actions { display: flex; gap: 10px; align-items: center; }
  .stripe-modal__actions .btn-primary { flex: 1 1 auto; }
  .stripe-modal__cancel {
    flex: 0 0 auto;
    height: 60px;
    padding: 0 16px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
  }


