/**
 * ===========================================================
 * Zweirad Ginzinger – YOOtheme Child Theme
 * custom.css
 * ===========================================================
 * Zweck: Erzwingt Roboto lokal auf der gesamten Seite.
 * Schriftvarianten: 400 (Regular), 500 (Medium), 700 (Bold)
 * Autor: Werner Priewasser
 * Datum: 2025-11-04
 * ===========================================================
 */

/* --- Globale Basis --- */
html, body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
  font-weight: 400;
  line-height: 1.6;
  color: #222;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* --- Überschriften --- */
h1, h2, h3, h4, h5, h6,
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6,
.uk-heading-large, .uk-article-title, .uk-card-title {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-top: 0;
}

/* --- Menü & Navigation --- */
.uk-navbar, .uk-navbar-nav > li > a, .uk-nav, .uk-nav-default li a, .uk-dropdown-nav a {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
  font-weight: 500;
  text-transform: none;
}

/* --- Buttons & Labels --- */
button, .uk-button, .uk-label {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
  font-weight: 500;
  text-transform: none;
}

/* --- Breadcrumbs & Filterbereiche --- */
.uk-breadcrumb, .woocommerce-breadcrumb, .facetwp-facet, .facetwp-filter, .facetwp-facet-label {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
  font-weight: 400;
}

/* --- Produkt- & Preisbereiche --- */
.woocommerce ul.products li.product, 
.woocommerce div.product, 
.price, .woocommerce-Price-amount, 
.woocommerce-loop-product__title {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}

/* --- Footer & Kleintext --- */
footer, .uk-footer, .uk-text-small, .copyright, .site-info {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
  font-weight: 400;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* --- Fallback für eingebettete Widgets --- */
.widget, .widget_text, .widget_recent_entries, .widget_categories {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}

/* --- Sicherungsregel (last resort) --- */
* {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}
