:root {
  --wx-body-font: "Source Sans 3", sans-serif;
  --wx-heading-font: "Playfair Display", serif;
}

body * {
  font-family: var(--wx-body-font) !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  font-family: var(--wx-heading-font) !important;
}

.wx-typography-switcher {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  font-family: system-ui, sans-serif !important;
}

.wx-typography-switcher__title {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #111;
  font-family: inherit !important;
}

.wx-typography-switcher__button {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.35rem;
  background: #f7f7f7;
  color: #111;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.55rem 0.7rem;
  text-align: left;
  font-family: inherit !important;
}

.wx-typography-switcher__button.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}
