button.ibd-package-select {
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  background-color: transparent;
}

.ibd-modal-open {
  overflow: hidden;
}

.ibd-package-dialog {
  box-sizing: border-box;
  width: min(560px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: clamp(18px, 4vw, 32px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #d4cabc;
  border-radius: 20px;
  background: #f8f5ef;
  color: #20231f;
  box-shadow: 0 20px 60px rgb(0 0 0 / 35%);
}

.ibd-package-dialog::backdrop {
  background: rgb(12 14 12 / 72%);
}

.ibd-dialog-heading {
  padding-right: 42px;
  margin-bottom: 18px;
}

.ibd-package-dialog .ibd-dialog-tier {
  margin: 0 0 6px;
  color: #735a27;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.ibd-package-dialog h2 {
  margin: 0;
  font-size: clamp(1.4rem, 5vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.ibd-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #20231f;
  background: transparent;
  border: 1px solid #d4cabc;
  border-radius: 11px;
  cursor: pointer;
}

.ibd-dialog-close:focus-visible {
  outline: 2px solid #735a27;
  outline-offset: 2px;
}

.ibd-package-dialog .ibd-form label:first-of-type {
  grid-column: 1 / -1;
}
