/*
Theme Name: Buzz Dealer
Theme URI: https://buzzdealer.com/
Author: Buzz Dealer
Author URI: https://buzzdealer.com/
Description: Elementor-free custom theme for the Buzz Dealer website. Self-contained header/footer plus page templates for the homepage, service pages, ORM pages, contact, and more.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buzzdealer
*/

/* =============================================
   Global typography — Ubuntu as the singular font
   (webfont @font-face lives in /fonts/ubuntu/ubuntu.css)
   ============================================= */
:root {
  --font-sans: "Ubuntu", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Brand colors */
  --color-footer-bg: #19191D;
}

html, body, button, input, select, textarea, optgroup {
  font-family: var(--font-sans);
}

/* Force Ubuntu everywhere so it is the single site-wide typeface, regardless of
   per-template font stacks. SVGs/paths/dashicons are excluded (font-family is
   irrelevant to them and this avoids breaking icon rendering). The WP admin bar
   is excluded below — it's admin UI shown on the front end, not user-facing
   content. */
body, body *:not(svg):not(path):not(.dashicons):not(.dashicons-before) {
  font-family: var(--font-sans) !important;
}

/* Keep the logged-in admin bar on WordPress's own default font (don't let the
   site-wide Ubuntu rule above bleed into admin chrome). #wpadminbar's id gives
   this higher specificity, so it wins. */
#wpadminbar,
#wpadminbar *:not(svg):not(path):not(.dashicons):not(.dashicons-before) {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

/* Restore dashicons font on any admin-bar icon element so the !important rule
   above doesn't kill dashicon glyphs. */
#wpadminbar .dashicons,
#wpadminbar .dashicons-before::before,
#wpadminbar .ab-icon::before,
#wpadminbar .ab-item::before,
#wpadminbar .ab-empty-item::before {
  font-family: dashicons !important;
}
