/* ============================================================
   Font chữ: Roboto, NẠP THẬT (xem link Google Fonts trong _Layout.cshtml).
   Gốc là để đồng bộ với https://dodongthucong.com — trang đó khai báo Roboto
   cho tiêu đề nhưng KHÔNG nạp webfont nào, nên thực tế rơi về Arial/Helvetica.
   Ở đây nạp Roboto thật (kèm subset vietnamese) để hiển thị đồng nhất trên
   mọi máy, không phụ thuộc font cài sẵn của hệ điều hành.
   Arial/Helvetica giữ lại làm fallback khi Google Fonts chưa tải xong hoặc bị chặn.
   File này phải được nạp SAU cùng để đè font Lato của theme.
   ============================================================ */

body,
input,
textarea,
button,
select {
    font-family: "Roboto", Arial, "Helvetica Neue", Helvetica, sans-serif;
}


/* Các selector dưới đây chép nguyên từ css/wp-custom.css — nơi duy nhất
   khai báo Lato. Giữ đúng selector để độ ưu tiên bằng nhau, thắng nhờ nạp sau. */

.font-text, body, .menu-label, .menu-item-register .login-title a, .wpb-js-composer .vc_tta.vc_general.vc_tta-style-classic.vc_tta-accordion .vc_tta-panel-title, .widgetarea-mobile .widget_currency_sel_widget .widget-title, .widgetarea-mobile .widget_icl_lang_sel_widget .widget-title, .woodmart-hover-base .hover-content table th, .woocommerce-product-details__short-description table th {
    font-family: "Roboto", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.font-primary, table th, .menu-mega-dropdown .sub-menu > li > a, .woodmart-products-tabs .tabs-name, .woodmart-products-tabs .products-tabs-title li, .woodmart-price-table .woodmart-plan-title, .masonry-filter li a, .woocommerce-column__title, header.title > h3, .tabs-layout-tabs .tabs li a, .woodmart-accordion-title, .woodmart-checkout-steps ul li, .cart-empty, .social-login-title, .register-or, .wpb-js-composer .vc_tta.vc_general.vc_tta-style-classic.vc_tta-tabs .vc_tta-tab > a, body > h1, table.compare-list tr.no-products td, .widget_rss ul li > a, h1, h2, h3, h4, h5, h6, .title, legend, .woocommerce-Reviews .comment-reply-title {
    font-family: "Roboto", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.category-grid-item .category-title, .blog-post-loop .entry-title, .post-single-page .entry-title, .single-post-navigation .post-title, td.product-name a, .product-image-summary .entry-title, .yith-woocompare-widget .products-list li a.title, .woodmart-menu-price .menu-price-title, .product-title, .product-grid-item .product-title, .group_table td.label a, table.compare-list tr.title td, .widget_recent_entries ul li a, .widget_recent_comments ul li > a, .woodmart-recent-posts .entry-title a, .widget_recent_reviews li a {
    font-family: "Roboto", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.font-alt {
    font-family: "Roboto", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.widgettitle, .widgettitle a, .widget-title, .widget-title a {
    font-family: "Roboto", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.main-nav .item-level-0 > a, .main-nav .menu > .menu-item-language > a, .woodmart-header-links > ul > li > a, .main-nav-style {
    font-family: "Roboto", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

/* Rule tiêu đề phải đứng CUỐI: các khối selector chép từ wp-custom.css ở trên
   cũng chứa h1..h6, nếu để rule này lên trước thì tiêu đề bị ép về Arial. */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: "Roboto", "HelveticaNeue", "Helvetica Neue", sans-serif;
}
