/* ArkansasGFX 6.3.1.3 dynamic typography system.
   Font families, sizes and weights are supplied by TypographyService as CSS variables.
   Theme-specific values inherit from Default Typography when left unset. */

:root{
  --agfx-font-body:'Albert Sans',Arial,Helvetica,sans-serif;
  --agfx-font-display:'Barlow','Arial Narrow',Arial,Helvetica,sans-serif;
  --agfx-body-size:16px;
  --agfx-body-weight:400;
  --agfx-nav-size:16px;
  --agfx-nav-weight:300;
  --agfx-h1-size:72px;
  --agfx-h1-weight:700;
  --agfx-h2-size:48px;
  --agfx-h2-weight:700;
  --agfx-h3-size:24px;
  --agfx-h3-weight:700;
  --agfx-card-title-size:16px;
  --agfx-card-title-weight:700;
  --agfx-button-size:15px;
  --agfx-button-weight:700;
  --agfx-footer-size:13px;
  --agfx-footer-weight:400;
  --agfx-footer-heading-size:12px;
  --agfx-footer-heading-weight:700;
  --agfx-meta-size:11px;
  --agfx-meta-weight:600;
}

html,body,input,textarea,select{
  font-family:var(--agfx-font-body);
}
body{
  font-size:var(--agfx-body-size);
  font-weight:var(--agfx-body-weight);
}

h1,h2,h3,h4,h5,h6,
button,.button,
.primary-nav,.cart-link,
.section-kicker,.section-link,
.commerce-heading,.featured-heading,.wall-heading,.page-module-heading,
.card-price,.purchase-price,
.featured-badge,.draft-preview-badge,.managed-ad-label,
.design-card-category,.gallery-card-category,.page-module-category,
.admin-nav,.admin-subnav,.admin-eyebrow,.admin-card-kicker,.admin-login-kicker,
.admin-primary-link,.admin-order-item-heading,.design-admin-titleline,.page-admin-titleline,
.page-editor-titlebar,.editor-titlebar,.editor-title-meta,.taxonomy-title,.upload-field-heading,
.reply-composer-heading,.reply-history-heading,.page-module-add-title,.page-module-zone-heading,
.appearance-current-label,.appearance-active-status,.theme-preview-kicker,.theme-preview-button,
.settings-save-button,.ad-save-button,.design-admin-price,.status-chip,.nav-badge,.requirement-badge,
.file-format-badge,.order-status-pill,.message-status-chip,.settings-status,.payment-config-status{
  font-family:var(--agfx-font-display);
}

/* Frontend readable body copy */
.site-page .rich-content,
.site-page .cms-page-card,
.site-page .listing-hero p,
.site-page .purchase-excerpt,
.site-page .commerce-heading p,
.site-page .payment-next-card p,
.site-page .pending-order-status p,
.site-page .download-status-body .status-detail,
.site-page .page-module-promo-copy,
.site-page .contact-form,
.maintenance-page .maintenance-shell p{
  font-family:var(--agfx-font-body);
  font-size:var(--agfx-body-size);
  font-weight:var(--agfx-body-weight);
}

/* Main storefront navigation */
.site-page .primary-nav > a{
  font-family:var(--agfx-font-display);
  font-size:var(--agfx-nav-size);
  font-weight:var(--agfx-nav-weight);
}

/* Heading weights are theme-controlled even where the existing layout keeps a context-specific size. */
.site-page h1,.maintenance-page h1{font-weight:var(--agfx-h1-weight)}
.site-page h2{font-weight:var(--agfx-h2-weight)}
.site-page h3{font-weight:var(--agfx-h3-weight)}

/* Major page and section headings. Smaller panel headings keep their existing layout scale. */
.site-page .listing-hero h1,
.site-page .commerce-heading h1,
.site-page .cms-page-hero h1,
.maintenance-page .maintenance-shell h1{
  font-family:var(--agfx-font-display);
  font-size:clamp(36px,6vw,var(--agfx-h1-size));
  font-weight:var(--agfx-h1-weight);
}

.site-page .section-heading h1,
.site-page .section-heading h2{
  font-family:var(--agfx-font-display);
  font-size:clamp(30px,4vw,var(--agfx-h2-size));
  font-weight:var(--agfx-h2-weight);
}

.site-page .cms-page-card h3,
.site-page .page-module-heading h2,
.site-page .content-panel h2,
.site-page .showcase-lightbox-copy h2{
  font-family:var(--agfx-font-display);
  font-size:var(--agfx-h3-size);
  font-weight:var(--agfx-h3-weight);
}

/* Product/design-card hierarchy */
.site-page .design-card-copy h3,
.site-page .featured-copy h2,
.site-page .category-copy strong,
.site-page .gallery-showcase-copy h2,
.site-page .page-module-design-copy strong,
.site-page .cart-item-copy h2,
.site-page .checkout-order-item div strong{
  font-family:var(--agfx-font-display);
  font-size:var(--agfx-card-title-size);
  font-weight:var(--agfx-card-title-weight);
}

.site-page .card-price strong,
.site-page .featured-copy > strong,
.site-page .purchase-price strong,
.site-page .page-module-design-copy b{
  font-family:var(--agfx-font-display);
  font-weight:var(--agfx-card-title-weight);
}

/* Buttons and prominent actions */
.site-page button,
.site-page .button,
.site-page .button-primary,
.site-page .button-secondary,
.site-page .stripe-pay-button,
.site-page .paypal-sandbox-button{
  font-family:var(--agfx-font-display);
  font-size:var(--agfx-button-size);
  font-weight:var(--agfx-button-weight);
}

/* Footer */
.site-page .site-footer,
.site-page .site-footer a,
.site-page .site-footer span,
.site-page .footer-brand p{
  font-family:var(--agfx-font-body);
  font-size:var(--agfx-footer-size);
  font-weight:var(--agfx-footer-weight);
}
.site-page .site-footer h3{
  font-family:var(--agfx-font-display);
  font-size:var(--agfx-footer-heading-size);
  font-weight:var(--agfx-footer-heading-weight);
}

/* Small but still intentionally readable metadata */
.site-page .section-kicker,
.site-page .featured-formats,
.site-page .design-card-category,
.site-page .format-list span,
.site-page .breadcrumb,
.site-page .purchase-category,
.site-page .format-pills strong,
.site-page .result-count,
.site-page .commerce-count,
.site-page .checkout-lock-note,
.site-page .pending-order-number span,
.site-page .pending-state-row span,
.site-page .gallery-card-category,
.site-page .gallery-source-chip,
.site-page .gallery-featured-chip,
.site-page .gallery-draft-chip,
.site-page .page-module-design-copy small,
.site-page .page-module-category-copy small,
.site-page .design-tags,
.site-page .use-case-list span{
  font-size:var(--agfx-meta-size);
  font-weight:var(--agfx-meta-weight);
}

/* Keep Admin layout dimensions stable while allowing the selected families to preview there. */
.admin-shell,.admin-login-page{
  font-family:var(--agfx-font-body);
}
.admin-shell h1,.admin-shell h2,.admin-shell h3,.admin-shell h4,
.admin-shell button,.admin-shell .button,.admin-shell .admin-nav,.admin-shell .admin-subnav,
.admin-login-page h1,.admin-login-page button,.admin-login-page .admin-login-kicker{
  font-family:var(--agfx-font-display);
}

@media(max-width:720px){
  .site-page .listing-hero h1,
  .site-page .commerce-heading h1,
  .site-page .cms-page-hero h1,
  .maintenance-page .maintenance-shell h1{
    font-size:clamp(34px,10vw,var(--agfx-h1-size));
  }
  .site-page .section-heading h1,
  .site-page .section-heading h2{
    font-size:clamp(28px,8vw,var(--agfx-h2-size));
  }
}
