/* Responsive reading scale shared by storefront and administration. */
body {
  font-size: clamp(16px, calc(15px + .25vw), 18px);
  line-height: 1.6;
}

body :is(p, li, label, input, select, textarea, button, td, th, summary, figcaption, blockquote, .muted, .form-message, .helper-text, .admin-error, .success-message) {
  font-size: clamp(13px, calc(12px + .35vw), 16px) !important;
}

body :is(small, .eyebrow, .admin-nav-label, .admin-nav-group > p) {
  font-size: clamp(10px, calc(9px + .2vw), 12px) !important;
}

body :is(a:not(.site-header a):not(.mobile-app-nav a):not(.brand), .button, [role="button"]) {
  font-size: clamp(12px, calc(11px + .3vw), 15px) !important;
}

body :is(.product-info h3, .product-price, .cart-line strong, .stats-grid article > span, .affiliate-metrics article span, .creator-dashboard-metrics article span) {
  font-size: clamp(14px, calc(13px + .3vw), 16px) !important;
}

body :is(input, select, textarea) {
  font-size: max(16px, clamp(16px, calc(15px + .2vw), 17px)) !important;
}

@media (max-width: 700px) {
  body { line-height: 1.62; }
}
