body.pixboom-modal-open {
  overflow: hidden;
}

.pixboom-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  padding: 16rem;
  box-sizing: border-box;
  background: rgba(29, 29, 29, 0.48);
  opacity: 0;
  overscroll-behavior: contain;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transition: opacity 0.3s ease-out;
}

.pixboom-modal.is-active {
  display: flex;
  opacity: 1;
}

.pixboom-modal:focus {
  outline: none;
}

.pixboom-modal .modal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24rem;
  width: calc(100% - 32rem);
  max-width: 640px;
  max-height: calc(100vh - 48rem);
  margin: auto;
  padding: 24rem;
  box-sizing: border-box;
  border-radius: 16rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(29, 29, 29, 0.24), 0 4px 8px 2px rgba(29, 29, 29, 0.16);
  overscroll-behavior: contain;
  transform: scale(0.95);
  transition: transform 0.3s ease-out;
}

.pixboom-modal.is-active .modal-card {
  transform: scale(1);
}

.pixboom-modal .modal-body {
  max-height: 55vh;
  overscroll-behavior: contain;
}

.whats-in-the-box-modal .modal-card {
  gap: 24rem;
  padding: 24rem;
  overflow: hidden;
}

.whats-in-the-box-modal .modal-header {
  width: 100%;
  min-height: 40rem;
}

.whats-in-the-box-modal .modal-title {
  width: 100%;
  margin: 0;
  padding-right: 48rem;
  color: #1d1d1d;
  font-size: 28rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.16rem;
  overflow-wrap: anywhere;
}

.whats-in-the-box-modal .modal-close-btn {
  position: absolute;
  top: 24rem;
  right: 24rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40rem;
  height: 40rem;
  padding: 0;
  border: 0;
  border-radius: 8rem;
  color: #858585;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.whats-in-the-box-modal .modal-close-btn:hover,
.whats-in-the-box-modal .modal-close-btn:focus-visible {
  background: #f6f6f6;
  outline: none;
}

.whats-in-the-box-modal .modal-close-icon {
  width: 24rem;
  height: 24rem;
}

.whats-in-the-box-modal .modal-body {
  width: 100%;
  color: #515151;
  font-size: 15rem;
  font-weight: 400;
  line-height: 24rem;
  overflow-y: auto;
}

.whats-in-the-box-modal .modal-intro {
  margin: 0 0 16rem;
}

.whats-in-the-box-modal .modal-items {
  margin-block: 0;
  padding-inline-start: 24rem;
  list-style: disc outside;
}

.whats-in-the-box-modal .modal-items li {
  margin: 0;
  padding: 0;
}

.whats-in-the-box-modal .modal-footnote {
  margin: 12rem 0 0;
  color: #B9B9B9;
  line-height: 16rem;
}

@media (min-width: 768px) {
  .pixboom-modal {
    padding: 24px;
  }

  .pixboom-modal .modal-card {
    gap: 24px;
    width: calc(100% - 32px);
    max-height: calc(100vh - 48px);
    padding: 32px;
    border-radius: 16px;
  }

  .pixboom-modal .modal-body {
    max-height: 60vh;
  }

  .whats-in-the-box-modal .modal-card {
    padding: 32px;
  }

  .whats-in-the-box-modal .modal-header {
    min-height: 40px;
  }

  .whats-in-the-box-modal .modal-title {
    padding-right: 48px;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: -0.16px;
  }

  .whats-in-the-box-modal .modal-close-btn {
    top: 32px;
    right: 32px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .whats-in-the-box-modal .modal-close-icon {
    width: 24px;
    height: 24px;
  }

  .whats-in-the-box-modal .modal-body {
    font-size: 16px;
    line-height: 24px;
  }

  .whats-in-the-box-modal .modal-intro {
    margin-bottom: 16px;
  }

  .whats-in-the-box-modal .modal-items {
    padding-inline-start: 24px;
  }

  .whats-in-the-box-modal .modal-footnote {
    margin-top: 12px;
    line-height: 16px;
  }
}
