/*
Theme Name: Hello NTW
Theme URI: https://moderntechwood.com
Description: Modern Tech Wood child theme of Hello Elementor. Replaces Hello Elementor's default reddish (#c36) link/button colors with NTW brand greens, and is the home for any future site-wide theme tweaks.
Author: Modern Tech Wood
Author URI: https://moderntechwood.com
Template: hello-elementor
Version: 1.0.4
Text Domain: hello-ntw
*/

/* Site-wide custom CSS goes here. */

/* OSR Visit header button — hidden for everyone by default, revealed only for
   users who may access the OSR Store Visit form (Outside Sales Reps, shop
   managers, editors, admins). The body class is set in functions.php. */
a[href*="/osr-visit"],
.elementor-button[href*="/osr-visit"] {
	display: none !important;
}

.ntw-can-osr-visit a[href*="/osr-visit"],
.ntw-can-osr-visit .elementor-button[href*="/osr-visit"] {
	display: inline-flex !important;
}

/* Houschka Pro's 400–600 weights are the rounded variation; the site uses
   only Light (300) and Bold (700). The browser default for b/strong is
   font-weight:bolder, which computes to 400 against our 300 body text —
   e.g. the bolded username in WooCommerce's "Hello <user>" greeting.
   Pin bold tags to the angular 700 cut instead. */
b,
strong {
	font-weight: 700;
}

/* Elementor Pro's menu-cart widget hard-codes font-weight 600 on the
   subtotal and 400 on the counter badge — both rounded Houschka cuts.
   Remap to the site's 700/300 standard. The leading `body` outranks the
   plugin's selectors, whose widget CSS may enqueue after this file. */
body .elementor-menu-cart__subtotal {
	font-weight: 700;
}

body .elementor-menu-cart--items-indicator-plain .elementor-menu-cart__toggle .elementor-button-icon .elementor-button-icon-qty[data-counter] {
	font-weight: 300;
}

/* Gravity Forms dropdowns — GF's theme CSS sets an explicit weight on text
   inputs (which land on 300 correctly) but not on <select> controls, which
   fall back to the select element's browser default of 400, the rounded
   cut. Covers native selects and GF's enhanced-UI (Chosen) dropdowns.
   !important needed: GF's framework rules win otherwise via load order. */
.gform_wrapper select,
.gform_wrapper .chosen-container {
	font-weight: 300 !important;
}
