/**
 * NoBakwaas — Site Header Bold Refresh
 * ------------------------------------
 * Applies the same bold rust/dark design language used on the rebuilt
 * Home and Men's World pages to the site-wide Elementor Header Builder
 * template (elementor-location-header), so the header no longer looks
 * like a leftover from the old plain theme once visitors scroll past it.
 *
 * Deliberately CSS-only and additive: does not touch the Header Builder's
 * Elementor structure, layout, or widget settings, so it carries zero risk
 * to the existing header configuration and is fully reversible by removing
 * this one file/enqueue.
 *
 * Loads on EVERY page (unlike nobakwaas-worlds.css, which is scoped to the
 * 4 World/Home templates) because the header itself is global.
 */

:root {
  --nbk-header-rust: #B5502E;
  --nbk-header-rust-deep: #8F3D22;
  --nbk-header-ink: #241E18;
}

/* Bolder, wider-tracked nav labels — matches the World pages' type treatment */
header.elementor-location-header .etheme-elementor-nav-menu > li > a.item-link {
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

/* Active + hover nav state switches to the shared rust accent instead of default black */
header.elementor-location-header .etheme-elementor-nav-menu > li > a.item-link:hover span,
header.elementor-location-header .etheme-elementor-nav-menu > li > a.item-link .elementor-item-active,
header.elementor-location-header .etheme-elementor-nav-menu > li.current-menu-item > a.item-link span {
  color: var(--nbk-header-rust) !important;
}

/* The theme's built-in underline hover animation recolored to match */
header.elementor-location-header .e--pointer-underline:after,
header.elementor-location-header .e--pointer-underline:before {
  background-color: var(--nbk-header-rust) !important;
}

/* Account / wishlist / cart / search icons pick up the rust accent on hover */
header.elementor-location-header .elementor-widget-theme-etheme_account a:hover,
header.elementor-location-header .elementor-widget-theme-etheme_wishlist a:hover,
header.elementor-location-header .elementor-widget-theme-etheme_cart a:hover,
header.elementor-location-header .elementor-widget-theme-etheme_ajax_search a:hover,
header.elementor-location-header .elementor-widget-theme-etheme_ajax_search button:hover,
header.elementor-location-header .elementor-widget-theme-etheme_account a:hover svg,
header.elementor-location-header .elementor-widget-theme-etheme_wishlist a:hover svg,
header.elementor-location-header .elementor-widget-theme-etheme_cart a:hover svg {
  color: var(--nbk-header-rust) !important;
  fill: var(--nbk-header-rust) !important;
}

/* A thin rust accent line under the whole header — the visual seam that ties
   the plain white header into the bold color-blocked pages below it */
header.elementor-location-header {
  border-bottom: 2px solid var(--nbk-header-rust);
}

/* ---------------------------------------------------------------------
 * Footer newsletter signup (nobakwaas-newsletter.php mu-plugin)
 * Matches the pill-button / bold-accent language used everywhere else,
 * so the built-in form looks native next to the old Mailchimp-styled one
 * it replaces rather than like a bolted-on placeholder.
 * --------------------------------------------------------------------- */
.nbk-newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 420px;
}
.nbk-newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1px solid rgba(36, 30, 24, 0.15);
  border-radius: 6px;
  font-size: 14px;
}
.nbk-newsletter-btn {
  background: var(--nbk-header-rust);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}
.nbk-newsletter-btn:hover {
  background: var(--nbk-header-rust-deep);
}
.nbk-newsletter-msg {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px;
}
.nbk-newsletter-msg--ok {
  color: #2f7d3c;
}
.nbk-newsletter-msg--err {
  color: var(--nbk-header-rust-deep);
}
