/* All four exact faces load from website assets, including on devices that
   do not have any of the print fonts installed. No local-font dependency. */
@font-face {
  font-family: "MAG Sticker AdamBecker";
  src: url("/assets/name-sticker-fonts/AdamBecker-Heavy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "MAG Sticker Times";
  src: url("/assets/name-sticker-fonts/TimesNewRoman-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "MAG Sticker Comic";
  src: url("/assets/name-sticker-fonts/ComicSansMS-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "MAG Sticker Komika";
  src: url("/assets/name-sticker-fonts/KomikaTitle-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
.name-sticker-options { padding: 20px; border: 1px solid #e4e4e7; border-radius: 16px; background: #fff; color: #18181b; color-scheme: light; }
.name-sticker-options h3 { margin: 0 0 18px; font-size: 18px; font-weight: 800; }
.name-sticker-options__reference { display: block; width: 100%; height: auto; margin-bottom: 22px; }
.name-sticker-options fieldset { min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
.name-sticker-options legend, .name-sticker-options__label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.name-sticker-options__fonts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.name-sticker-options__font { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 66px; padding: 12px; border: 1px solid #d4d4d8; border-radius: 10px; cursor: pointer; }
.name-sticker-options__font:has(input:checked) { border-color: #7e22ce; background: #faf5ff; box-shadow: 0 0 0 1px #7e22ce; }
.name-sticker-options__font input { flex-shrink: 0; accent-color: #7e22ce; width: 18px; height: 18px; }
.name-sticker-options__font strong, .name-sticker-options__font small { display: block; overflow-wrap: anywhere; }
.name-sticker-options__font strong { font-size: 14px; }
.name-sticker-options__font small { margin-top: 3px; font-size: 11px; color: #52525b; }
.name-sticker-options__label span { font-size: 12px; font-weight: 400; color: #52525b; }
#name-sticker-names-help { margin: 0 0 10px; font-size: 12px; color: #52525b; }
#name-sticker-names { width: 100%; min-height: 88px; padding: 12px; border: 1px solid #a1a1aa; border-radius: 8px; font: inherit; font-size: 16px; resize: vertical; }
#view-product #name-sticker-names { background: #fff !important; color: #18181b !important; border-color: #a1a1aa !important; caret-color: #18181b; }
#name-sticker-names:focus-visible { outline: 2px solid #7e22ce; outline-offset: 2px; }
.name-sticker-options__error { margin-top: 8px; font-size: 13px; color: #b91c1c; }
.name-sticker-options__preview-box { margin-top: 18px; padding: 16px; border: 1px dashed #a1a1aa; border-radius: 10px; background: #fafafa; }
.name-sticker-options__preview-label { margin: 0 0 12px; font-size: 12px; font-weight: 800; }
.name-sticker-options__preview { min-height: 40px; font-size: 24px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; font-synthesis: none; }
.name-sticker-options__preview[hidden], .name-sticker-options__error[hidden] { display: none; }
#name-sticker-preview-status { font-size: 13px; color: #52525b; }
.name-sticker-options__hint { margin: 12px 0 0; font-size: 11px; color: #71717a; }
@media (max-width: 380px) {
  .name-sticker-options { padding: 14px; }
  .name-sticker-options__font { gap: 7px; padding: 9px; }
}
