@font-face{
  font-family:'Lucida Unicode Calligraphy';
  src:url('/bdu-custom-storefront/assets/fonts/LucidaUnicodeCalligraphy.ttf') format('truetype');
  font-style:normal;
  font-weight:400;
  font-display:swap;
}

@font-face{
  font-family:'Lucida Unicode Calligraphy';
  src:url('/bdu-custom-storefront/assets/fonts/LucidaUnicodeCalligraphyBold.ttf') format('truetype');
  font-style:normal;
  font-weight:700;
  font-display:swap;
}

@font-face{
  font-family:'Museo Sans Rounded';
  src:url('/bdu-custom-storefront/assets/fonts/MuseoSansRounded700.otf') format('opentype');
  font-style:normal;
  font-weight:700;
  font-display:swap;
}

/* Compatibility alias so any test record saved as Museo still renders with this same exact rounded family. */
@font-face{
  font-family:'Museo';
  src:url('/bdu-custom-storefront/assets/fonts/MuseoSansRounded700.otf') format('opentype');
  font-style:normal;
  font-weight:700;
  font-display:swap;
}

/*
  Exact BDU preview family requested:
  Museo Sans Rounded
  Expected local user-owned font file:
  /bdu-custom-storefront/assets/fonts/MuseoSansRounded700.otf
  The font binary is intentionally not distributed by this updater.
*/

@import url('https://fonts.googleapis.com/css2?family=Allura&family=Audiowide&family=Bree+Serif&family=Dancing+Script:wght@400;700&family=Libre+Baskerville:wght@400;700&family=Nunito:wght@400;700;800&family=Roboto+Slab:wght@400;700&family=Rye&display=swap');

/*
  BDU FONT CATALOG
  The production-facing labels follow BDU's embroidery font PDF.
  Most preview families are loaded from Google Fonts; MUSEO uses the
  approved local Museo Sans Rounded 700 file.
*/

.bdu-font-live-preview{
  margin-top:12px;
  min-height:92px;
  padding:14px;
  border:1px solid #d8e5ef;
  border-radius:14px;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbfe 100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
}

.bdu-font-live-preview > small{
  display:block;
  margin-bottom:7px;
  color:#7b8f9f;
  font-family:Arial,Helvetica,sans-serif;
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.bdu-font-live-preview > strong{
  display:block;
  max-width:100%;
  color:#173b58;
  font-size:clamp(1.45rem,3.2vw,2.25rem);
  line-height:1.12;
  overflow-wrap:anywhere;
  white-space:pre-line;
}

.bdu-embroidery-font-live-preview{
  margin:14px 0 4px;
  min-height:110px;
  padding:16px;
  border:1px solid rgba(13,77,139,.14);
  border-radius:16px;
  background:linear-gradient(180deg,#fbfdff 0%,#f3f8fc 100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.bdu-embroidery-font-live-preview > span{
  margin-bottom:8px;
  color:#71879a;
  font-family:Arial,Helvetica,sans-serif;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.bdu-embroidery-font-live-preview > strong{
  color:#173b58;
  font-size:clamp(1.7rem,4vw,2.55rem);
  font-weight:400;
  line-height:1.08;
  white-space:pre-line;
  overflow-wrap:anywhere;
}


/* ============================================================
   BDU VISUAL FONT PICKER V1
   Every font name is displayed in the same preview family used
   when that option is selected.
   ============================================================ */
.bdu-font-picker-native{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
}
.bdu-font-picker{position:relative;width:100%}
.bdu-font-picker-toggle{
  width:100%;min-height:46px;display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:10px 42px 10px 13px;border:1px solid #c8d7e3;border-radius:10px;
  background:#fff;color:#173b58;text-align:left;cursor:pointer;position:relative;
}
.bdu-font-picker-toggle:after{
  content:'';position:absolute;right:15px;top:50%;width:9px;height:9px;
  border-right:2px solid #456178;border-bottom:2px solid #456178;
  transform:translateY(-68%) rotate(45deg);transition:.16s ease;
}
.bdu-font-picker.is-open .bdu-font-picker-toggle:after{
  transform:translateY(-30%) rotate(-135deg);
}
.bdu-font-picker-current{display:block;max-width:100%;font-size:1.08rem;line-height:1.15}
.bdu-font-picker-menu{
  display:none;position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:250;
  padding:7px;border:1px solid #cbd9e5;border-radius:12px;background:#fff;
  box-shadow:0 18px 40px rgba(15,45,70,.17);max-height:360px;overflow:auto;
}
.bdu-font-picker.is-open .bdu-font-picker-menu{display:grid;gap:4px}
.bdu-font-picker-option{
  width:100%;min-height:48px;display:flex;align-items:center;justify-content:flex-start;
  border:1px solid transparent;border-radius:9px;padding:9px 11px;background:#fff;
  color:#173b58;text-align:left;cursor:pointer;font-size:1.08rem;line-height:1.15;
}
.bdu-font-picker-option:hover,.bdu-font-picker-option:focus{
  background:#f2f8fc;border-color:#cfe0ec;outline:none;
}
.bdu-font-picker-option.is-active{
  background:#eaf5fc;border-color:#2b7fb7;box-shadow:inset 0 0 0 1px rgba(43,127,183,.14);
}
.bdu-font-picker-option.is-active:after{
  content:'✓';margin-left:auto;padding-left:12px;font-family:Arial,Helvetica,sans-serif;
  font-size:.9rem;font-weight:900;color:#0b6ca8;
}
.bdu-font-field{display:grid;gap:7px;min-width:0}
.bdu-simple-form .bdu-font-field-label{color:#294e69;font-size:.8rem;font-weight:900}
.bdu-pf-form .bdu-font-field-label{color:#274961;font-size:.82rem;font-weight:850}
@media (max-width:575.98px){.bdu-font-picker-menu{max-height:300px}}


/* ============================================================
   BDU OFFICIAL FONT LIST V2
   Keep visible choices aligned with the official embroidery PDF.
   Lining numerals keep labels such as "Serif 3" on one baseline.
   ============================================================ */
.bdu-font-picker-option,
.bdu-font-picker-current,
.bdu-embroidery-font-option,
.bdu-embroidery-font-option span,
[data-embroidery-font-toggle]{
  font-variant-numeric:lining-nums;
  font-feature-settings:"lnum" 1;
}
