.payment-return-banner {
  position: fixed;
  z-index: 9999;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  padding: 32px;
  border: 1px solid #C3922F;
  border-radius: 48px;
  background: #E7E0CC;
  color: #121212;
  font-family: 'Manrope', sans-serif;
  box-shadow:
    0 20px 48px rgba(18, 18, 18, 0.08),
    0 8px 18px rgba(18, 18, 18, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.payment-return-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-return-close img {
  width: 32px;
  height: 32px;
  display: block;
}

.payment-return-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

.payment-return-title,
.payment-return-text {
  margin: 0;
  width: 100%;
  color: #121212;
  font-family: 'Manrope', sans-serif;
  text-align: center;
  text-wrap: balance;
}

.payment-return-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.payment-return-title + .payment-return-text {
  margin-top: 8px;
}

.payment-return-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.payment-return-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  border-radius: 24px;
  text-decoration: none;
  color: #121212;
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.05em;
  box-sizing: border-box;
  cursor: pointer;
}

.payment-return-action:hover {
  transform: scale(1.02);
  color: #121212;
}

@media (max-width: 1023px) {
  .payment-return-banner {
    top: 24px;
    width: min(544px, calc(100vw - 80px));
    gap: 16px;
    padding: 24px;
    border-radius: 32px;
  }

  .payment-return-close {
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
  }

  .payment-return-close img {
    width: 24px;
    height: 24px;
  }

  .payment-return-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }

  .payment-return-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }

  .payment-return-action {
    height: 43px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 743px) {
  .payment-return-banner {
    top: 24px;
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    gap: 16px;
    padding: 16px;
    border-radius: 24px;
  }

  .payment-return-close {
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
  }

  .payment-return-close img {
    width: 24px;
    height: 24px;
  }

  .payment-return-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }

  .payment-return-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }

  .payment-return-action {
    height: 56px;
    min-height: 56px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
    border-radius: 24px;
  }
}

@media (min-width: 1024px) and (max-width: 1311px) {
  .payment-return-banner {
    top: 24px;
    width: min(560px, calc(100vw - 80px));
    gap: 16px;
    padding: 24px;
    border-radius: 32px;
  }

  .payment-return-close {
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
  }

  .payment-return-close img {
    width: 24px;
    height: 24px;
  }

  .payment-return-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.02em;
  }

  .payment-return-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.02em;
  }

  .payment-return-action {
    height: 56px;
    font-size: 20px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.02em;
  }
}

@media (min-width: 1280px) and (max-width: 1311px) {
  .payment-return-banner {
    width: min(560px, calc(100vw - 108px));
    gap: 24px;
    padding: 32px;
    border-radius: 48px;
  }

  .payment-return-close {
    top: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
  }

  .payment-return-close img {
    width: 32px;
    height: 32px;
  }

  .payment-return-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.05em;
  }

  .payment-return-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.05em;
  }

  .payment-return-action {
    height: 52px;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 374px) {
  .payment-return-text {
    font-size: 14px;
  }
}
