/* The two outline typefaces in Sugar At's previous storefront. */
@font-face {
  font-family: "Sugar Rounded Text";
  src: url("/assets/sugar-type/nunito.woff") format("woff");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sugar Rounded Display";
  src: url("/assets/sugar-type/fredoka.woff") format("woff");
  font-weight: 300 700;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
:root, body {
  --sugar-text: "Sugar Rounded Text", Nunito, sans-serif;
  --sugar-display: "Sugar Rounded Display", "Sugar Rounded Text", sans-serif;
  --sa-sans: var(--sugar-text);
  --sa-serif: var(--sugar-display);
  --sa-condensed: var(--sugar-text);
  --sans: var(--sugar-text);
  --serif: var(--sugar-display);
  --display: var(--sugar-display);
  font-family: var(--sugar-text);
}
body :where(p, label, small, legend, figcaption, button, input, textarea, select) {
  font-family: var(--sugar-text);
}
body :is(h1,h2,h3,h4), body :is(h1,h2,h3,h4) :is(i,em,a,strong,b,span),
body :is(.sa-primary,.sa-menu-grid,.cs-mast nav,.pg-header nav) a {
  font-family: var(--sugar-display) !important;
  font-weight: 600 !important;
  font-style: normal !important;
  font-stretch: 100% !important;
  font-variant-ligatures: none;
  font-kerning: normal;
  letter-spacing: -.025em !important;
}
body :is(.sa-primary,.sa-menu-grid,.cs-mast nav,.pg-header nav) a { letter-spacing: 0 !important; }
body :is(h1,h2) { text-wrap: balance; }
/* The native word sets the baseline and remains available to copy, search, translate
   and screen readers. Each colored SVG is registered to that same physical baseline. */
sugar-letter-run, sugar-native-word, sugar-letter-word, sugar-letter-pin { font: inherit; letter-spacing: inherit; color: inherit; pointer-events: none; }
sugar-letter-run, sugar-native-word { display: inline; }
sugar-letter-word { display: inline-block; white-space: nowrap; }
sugar-native-word { color: transparent; -webkit-text-fill-color: transparent; }
sugar-letter-pin { display: inline-block; width: 0; height: 0; position: relative; vertical-align: baseline; }
sugar-letter-pin > svg.sugar-letter-ink {
  display: block !important; position: absolute !important; right: 0 !important; left: auto !important;
  top: -.974em !important; bottom: auto !important; height: 1.21em !important; max-width: none !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important; overflow: visible !important;
  transform: none !important; stroke: none !important; fill: currentColor !important;
  pointer-events: none; user-select: none; shape-rendering: geometricPrecision;
}
svg.sugar-letter-defs { position: absolute; inset: 0 auto auto 0; width: 0; height: 0; overflow: hidden; pointer-events: none; }
@media print, (forced-colors: active) {
  sugar-native-word { color: inherit; -webkit-text-fill-color: currentColor; }
  sugar-letter-pin { display: none; }
}
