.tw-paypal-checkout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: 32px;
  align-items: stretch;
  padding: 54px clamp(18px, 4vw, 72px);
  background: #101010;
  color: #ffffff;
}

.tw-paypal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tw-eyebrow {
  color: #ffd100;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.tw-paypal-copy h2 {
  color: #ffffff;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.03;
  margin: 0 0 18px;
}

.tw-paypal-copy p {
  color: #e8e8e8;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 680px;
}

.tw-location {
  border-left: 5px solid #ffd100;
  padding-left: 18px;
}

.tw-location a {
  color: #ffd100;
  font-weight: 800;
}

.tw-pay-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tw-pay-tags span {
  border: 1px solid rgba(255, 209, 0, 0.55);
  color: #ffd100;
  font-weight: 800;
  padding: 8px 12px;
}

.tw-checkout-panel {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  padding: clamp(20px, 3vw, 32px);
}

.tw-warning {
  background: #fff8d6;
  border: 1px solid #f2d25b;
  color: #5a4700;
  display: none;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  padding: 12px;
}

.tw-warning.is-visible {
  display: block;
}

.tw-checkout-head p {
  color: #777777;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.tw-checkout-head h3 {
  color: #111111;
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 6px;
}

.tw-checkout-head span,
.tw-help,
.result-message {
  color: #666666;
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

.tw-checkout-panel label {
  color: #1b1b1b;
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin: 16px 0 7px;
}

.tw-amount-input {
  align-items: center;
  border: 2px solid #111111;
  display: flex;
  height: 54px;
}

.tw-amount-input span {
  background: #ffd100;
  color: #111111;
  display: grid;
  font-size: 22px;
  font-weight: 900;
  height: 100%;
  place-items: center;
  width: 54px;
}

.tw-amount-input input,
.tw-field-row input {
  border: 0;
  color: #111111;
  font-size: 18px;
  height: 100%;
  min-width: 0;
  padding: 0 12px;
  width: 100%;
}

.tw-paypal-field {
  border: 1px solid #d3d3d3;
  min-height: 44px;
  padding: 8px;
}

.tw-field-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tw-field-row input {
  border: 1px solid #d3d3d3;
  height: 44px;
}

.tw-pay-button {
  background: #ffd100;
  border: 0;
  color: #111111;
  cursor: pointer;
  font-weight: 900;
  margin-top: 18px;
  min-height: 50px;
  text-transform: uppercase;
  width: 100%;
}

.tw-pay-button:disabled {
  background: #cfcfcf;
  cursor: not-allowed;
}

.tw-divider {
  align-items: center;
  color: #777777;
  display: flex;
  gap: 10px;
  margin: 18px 0;
}

.tw-divider::before,
.tw-divider::after {
  background: #dddddd;
  content: "";
  flex: 1;
  height: 1px;
}

@media (max-width: 820px) {
  .tw-paypal-checkout {
    grid-template-columns: 1fr;
  }

  .tw-field-row {
    grid-template-columns: 1fr;
  }
}
