.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(43,30,50,0.45);
  align-items: flex-end;
  justify-content: center;
  z-index: 50;
}

.modal-overlay.show {
  display: flex;
}

.modal-card {
  background: #fff;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 1.25rem;
  animation: slideUp 0.25s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.modal-head p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  margin: 0;
}

.modal-head button {
  border: none;
  background: #F6DCE3;
  color: var(--rose-deep);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
}