.unsubscribe {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: min(100% - 2rem, 800px);
  margin: 15rem auto 24rem;

  text-align: center;
}

.unsubscribe p {
  width: 100%;
  max-width: 800px;
  margin-bottom: 2rem;

  color: #4b5563;

  font-size: 1rem;
  line-height: 1.4;

  overflow-wrap: anywhere;
}

.unsubscribe-page h2 {
  margin: 0 auto;

  color: #020617;

  font-size: 1.2em;
  font-weight: 400;
}

.unsubscribe h1 {
  max-width: 100%;
  margin-inline: auto;

  overflow-wrap: anywhere;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .unsubscribe {
    width: min(100% - 4rem, 700px);
    margin-top: 12rem;
    margin-bottom: 12rem;
  }

  .unsubscribe p {
    max-width: 650px;
  }
}

@media (max-width: 768px) {
  .unsubscribe {
    width: min(100% - 2rem, 360px);
    margin-top: 6rem;
    margin-bottom: 8rem;
  }

  .unsubscribe h1 {
    font-size: 1.7rem;
    line-height: 1.3;
  }

  .unsubscribe p {
    width: 100%;
    margin-bottom: 1.5rem;

    font-size: 1rem;
    line-height: 1.5;
  }

  .unsubscribe .btn {
    max-width: 100%;
  }

  .cart-summary {
    position: static;
  }
}