/* AutoMart Global Typography Refinement V40.0
   Scope: public/site frontend only.
   Goal: improve readability across the whole marketplace without changing
   the approved global font family, width architecture, colors, or layout.
*/

body.site-page{
  font-size:13px !important;
  line-height:1.45 !important;
}

/* Global header */
body.site-page .premium-brandword{
  font-size:20px !important;
  line-height:1.1 !important;
}
body.site-page .premium-desktop-nav a,
body.site-page .premium-login{
  font-size:12.5px !important;
  line-height:1.2 !important;
}
body.site-page .premium-nav-actions{
  font-size:12px !important;
}

/* Global search stack */
body.site-page .am-global-search-v18 input,
body.site-page .am-global-search-v18 select,
body.site-page .am-global-search-v18 button,
body.site-page .am-global-search-v18 a{
  font-size:12px !important;
}
body.site-page .am-global-more-v18,
body.site-page .am-global-submit-v18{
  font-size:12px !important;
  font-weight:800 !important;
}

/* Account suite */
body.site-page .am-account-v31{
  font-size:12px !important;
}
body.site-page .am-account-user-v31 strong{
  font-size:12.5px !important;
  line-height:1.25 !important;
}
body.site-page .am-account-user-v31 small{
  font-size:var(--am-type-xs) !important;
  line-height:1.3 !important;
}
body.site-page .am-account-nav-v31 a{
  font-size:12px !important;
  line-height:1.2 !important;
}
body.site-page .am-account-nav-v31 a em{
  font-size:var(--am-type-xs) !important;
}
body.site-page .am-account-title-row-v31 h1,
body.site-page .am-account-main-v31 > .am-account-title-row-v31 h1{
  font-size:28px !important;
  line-height:1.05 !important;
  letter-spacing:-.55px !important;
}
body.site-page .am-account-title-row-v31 p{
  font-size:var(--am-type-xs) !important;
  line-height:1.45 !important;
}
body.site-page .am-account-panel-v31 h2{
  font-size:12.5px !important;
  line-height:1.25 !important;
}
body.site-page .am-account-panel-v31 p,
body.site-page .am-account-panel-v31 a,
body.site-page .am-account-panel-v31 button,
body.site-page .am-account-panel-v31 input,
body.site-page .am-account-panel-v31 select{
  font-size:var(--am-type-xs) !important;
}

/* Sidebar promo keeps hierarchy but becomes easier to read */
body.site-page .am-account-side-promo-v31 .eyebrow{
  font-size:var(--am-type-xs) !important;
}
body.site-page .am-account-side-promo-v31 h3{
  font-size:17px !important;
  line-height:1.12 !important;
}
body.site-page .am-account-side-promo-v31 p{
  font-size:var(--am-type-xs) !important;
  line-height:1.45 !important;
}
body.site-page .am-account-side-promo-v31 a{
  font-size:var(--am-type-xs) !important;
}
body.site-page .am-account-logout-v31{
  font-size:var(--am-type-xs) !important;
}

/* Common controls */
body.site-page input,
body.site-page select,
body.site-page textarea,
body.site-page button{
  font-family:inherit !important;
}
body.site-page .btn,
body.site-page .btn-sm{
  font-size:var(--am-type-xs) !important;
}

/* Global footer */
body.site-page .footer h4{
  font-size:12px !important;
}
body.site-page .footer a,
body.site-page .footer p,
body.site-page .footer-trust{
  font-size:var(--am-type-xs) !important;
  line-height:1.5 !important;
}
body.site-page .footer-bottom{
  font-size:var(--am-type-xs) !important;
}
body.site-page .footer .brand{
  font-size:18px !important;
}

/* Mobile keeps text readable without making the UI oversized */
@media(max-width:720px){
  body.site-page{
    font-size:13px !important;
  }
  body.site-page .premium-brandword{
    font-size:17px !important;
  }
  body.site-page .am-account-nav-v31 a{
    font-size:12px !important;
  }
  body.site-page .footer a,
  body.site-page .footer p{
    font-size:var(--am-type-xs) !important;
  }
}
