/* Site-wide typography refresh: customer pages + administration. */
html:has(body.mf-storefront), html:has(body.mf-app) { font-size: 18px; }
body.mf-storefront, body.mf-app {
  font-family: "Manrope", "Noto Sans Devanagari", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.mf-storefront :is(button,input,select,textarea), body.mf-app :is(button,input,select,textarea) {
  font-family: inherit;
}
body.mf-storefront :is(h1,h2,h3,h4,h5,h6), body.mf-app :is(h1,h2,h3,h4,h5,h6) {
  font-family: "Manrope", "Noto Sans Devanagari", "Segoe UI", sans-serif;
  line-height: 1.28;
}
body.mf-storefront .ph-page .ph-hero h1 { font-family: inherit; }
body.mf-admin {
  font-family: "Manrope", "Noto Sans Devanagari", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body.mf-admin :is(button,input,select,textarea) { font-family: inherit; }
body.mf-admin :is(.nav-link,.dropdown-item,.form-control,.custom-select,.btn) { font-size: 1rem; }
@media (max-width: 767px) {
  body.mf-storefront, body.mf-app { line-height: 1.6; }
  body.mf-storefront .navbar-nav .nav-link { padding-block: .6rem; }
}

/* Related products: distinct, accessible color treatment for each format. */
.mf-related-products .mf-related-card {
  --related-accent: #146b81;
  --related-border: #a6d8e6;
  background: linear-gradient(145deg,#eaf8fc 0%,#f7fcff 85%);
  border: 1px solid var(--related-border);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(24,76,93,.08);
  transition: transform .18s ease,box-shadow .18s ease;
}
.mf-related-products .mf-related-card--ebook {
  --related-accent: #246f55;
  --related-border: #b2dfc6;
  background: linear-gradient(145deg,#eaf8f0 0%,#f8fdf9 85%);
}
.mf-related-products .mf-related-card--bundle {
  --related-accent: #7953a4;
  --related-border: #d5c0e8;
  background: linear-gradient(145deg,#f4edfb 0%,#fcfaff 85%);
}
.mf-related-products .mf-related-card .card-body { padding: 22px; }
.mf-related-products .mf-related-card h3 { color: #1b2c39; line-height: 1.45; }
.mf-related-products .mf-related-description { color: #4a5963; line-height: 1.6; }
.mf-related-products .mf-related-label {
  color: var(--related-accent);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.mf-related-products .mf-related-language {
  border-radius: 999px;
  background: #ffffffd9;
  border: 1px solid var(--related-border);
  padding: 3px 9px;
  color: #273f4b;
  font-size: .8rem;
  font-weight: 700;
}
.mf-related-products .mf-related-btn {
  color: #fff;
  background: var(--related-accent);
  border: 1px solid var(--related-accent);
  padding: 9px 16px;
  border-radius: 9px;
  font-weight: 700;
}
.mf-related-products .mf-related-btn:hover,
.mf-related-products .mf-related-btn:focus-visible {
  background: #16394a;
  border-color: #16394a;
  color: #fff;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .mf-related-products .mf-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 28px rgba(24,76,93,.14);
  }
}
