@import url("company.css");
.pay-hero {
  padding-bottom: 65px;
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(200, 244, 107, 0.43),
      transparent 25%
    ),
    linear-gradient(145deg, #f8faf6, #eef6f1);
}
.pay-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.pay-form,
.pay-summary {
  padding: 42px;
  border-radius: 28px;
  border: 1px solid var(--line);
}
.pay-form h2,
.pay-summary h2 {
  margin: 0 0 30px;
  font-size: 27px;
}
.field {
  margin-bottom: 25px;
}
.field label {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 700;
}
.field input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 1px solid #cfd9d5;
  border-radius: 14px;
  font: inherit;
  outline: 0;
  transition: 0.2s;
}
.field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(25, 169, 122, 0.1);
}
.amount-wrap {
  position: relative;
}
.amount-wrap input {
  padding-right: 55px;
  font-size: 20px;
  font-weight: 700;
}
.amount-wrap span {
  position: absolute;
  right: 19px;
  top: 14px;
  color: var(--muted);
}
.helper {
  margin-top: 7px;
  color: #7a8884;
  font-size: 12px;
}
.offers {
  margin: 35px 0;
}
.offers h3 {
  margin: 0 0 15px;
  font-size: 16px;
}
.offer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: 0.2s;
}
.offer:hover {
  border-color: var(--brand);
  background: #f4fbf8;
}
.offer b {
  font-size: 14px;
}
.offer strong {
  color: var(--brand);
  white-space: nowrap;
}
.notice {
  padding: 20px;
  border-radius: 16px;
  background: var(--cream);
  font-size: 12px;
  color: #667570;
}
.notice p {
  margin: 5px 0;
}
.pay-summary {
  position: sticky;
  top: 105px;
  background: var(--dark);
  color: #fff;
  border: 0;
}
.product-row,
.total-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.product-row span {
  color: #9fb0ab;
}
.total-row {
  margin-top: 8px;
  align-items: end;
}
.total-row small {
  color: #9fb0ab;
}
.total-row strong {
  font: 800 30px Manrope;
  color: var(--lime);
}
.agree {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 25px 0;
  color: #b8c6c2;
  font-size: 12px;
}
.agree input {
  margin-top: 4px;
}
.pay-button {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 29px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}
.pay-button:hover {
  background: #0d8d67;
}
.secure {
  margin: 18px 0 0;
  text-align: center;
  color: #819690;
  font-size: 11px;
}
.support {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #9fb0ab;
}
.support a {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
@media (max-width: 850px) {
  .pay-layout {
    grid-template-columns: 1fr;
  }
  .pay-summary {
    position: static;
  }
}
@media (max-width: 560px) {
  .pay-form,
  .pay-summary {
    padding: 30px 22px;
  }
  .offer {
    display: block;
  }
  .offer strong {
    display: block;
    margin-top: 5px;
  }
}
