@font-face {
  font-family: "DG Beautiful";
  src: url("../fonts/beautiful.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DG Bradley";
  src: url("../fonts/bradley.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DG Corsiva";
  src: url("../fonts/corsiva.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DG Dancing Script";
  src: url("../fonts/dancing-script.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DG Halleluja";
  src: url("../fonts/halleluja.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DG Typewriter";
  src: url("../fonts/typewriter.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.bm-customtext__note {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.bm-customtext__field {
  display: grid;
  gap: 0.375rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.bm-customtext__input {
  width: 100%;
  min-height: 44px;
}

.bm-customtext__label {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.bm-customtext__fonts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bm-customtext__fonts > li {
  min-width: 0;
  margin: 0;
}

#customizer .bm-customtext__font {
  width: 100%;
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 0.2rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #d8e0dd;
  border-radius: 0.25rem;
  background: #fff;
  color: #333;
  cursor: pointer;
  text-align: left;
}

#customizer .bm-customtext__font:hover {
  border-color: #91c7ae;
  background: #f5fbf8;
  color: #333;
}

#customizer .bm-customtext__font:focus-visible {
  outline: 2px solid #00bb6d;
  outline-offset: 2px;
  color: #333;
}

#customizer .bm-customtext__font[aria-pressed="true"] {
  border-color: #00a963;
  background: #eef9f4;
  color: #333;
  box-shadow: inset 0 0 0 2px #00bb6d;
}

.bm-customtext__preview {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.25rem;
  line-height: 1.25;
}

.bm-customtext__name {
  overflow-wrap: anywhere;
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.bm-customtext__preview--arial {
  font-family: Arial, sans-serif;
}

.bm-customtext__preview--beautiful {
  font-family: "DG Beautiful", cursive;
}

.bm-customtext__preview--bradley {
  font-family: "DG Bradley", cursive;
}

.bm-customtext__preview--corsiva {
  font-family: "DG Corsiva", cursive;
}

.bm-customtext__preview--dancing-script {
  font-family: "DG Dancing Script", cursive;
}

.bm-customtext__preview--halleluja {
  font-family: "DG Halleluja", cursive;
}

.bm-customtext__preview--typewriter {
  font-family: "DG Typewriter", monospace;
}
