/* Site-wide font roles. Change the two families here, not in section styles. */
:root{
 --font-heading:Georgia,serif;
 --font-body:Arial,sans-serif;
}
body,button,input,select,textarea{font-family:var(--font-body)}

/* The family override deliberately wins over section-specific font shorthands.
   Sizes, weights and colors remain the responsibility of each component. */
:is(h1,h2,h3,h4,h5,h6),
.library-card strong{
 font-family:var(--font-heading)!important;
}
:is(h1,h2,h3,h4,h5,h6) *,
.library-card strong *{
 font-family:inherit!important;
}

/* Product information uses the body family for fast catalog scanning. */
.product-name,
.product-name strong,
.product-name span,
.routine-card h3,
.product-details-copy h1,
.detail-brand,
.routine-library-grid .library-card strong,
#content-dialog[data-variant="routine"] #dialog-title{
 font-family:var(--font-body)!important;
}
