/**
 * QKZ sitewide tweaks
 * Header matches footer dark (#25252d)
 */

/* Header = footer dark */
#kt-header,
#kt-header .headerwrap,
#kt-header #headerfirststate,
#kt-header #headersecondstate,
header#kt-header,
.headerwrap {
  background-color: #25252d !important;
  background-image: none !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Top header nav / icons / text — light like footer */
#kt-header #headerfirststate,
#kt-header #headerfirststate > .container > #firstrow,
#kt-header #headerfirststate > .container > #secondrow {
  color: rgba(255, 255, 255, 0.85) !important;
}

#kt-header #secondrow > .navigation:not(.catmenu) > ul > li > a,
#kt-header #secondrow > .navigation:not(.catmenu) a,
#kt-header #firstrow a,
#kt-header .tools_button,
#kt-header .kt-header-button,
#kt-header .kt-header-button a,
#kt-header .cart-contents,
#kt-header .wishlist_products_counter,
#kt-header .header-icon,
#kt-header .icon,
#kt-header i[class*="icon"] {
  color: rgba(255, 255, 255, 0.85) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.85) !important;
}

#kt-header #secondrow > .navigation:not(.catmenu) > ul > li > a:hover,
#kt-header #firstrow a:hover,
#kt-header .tools_button:hover {
  color: #ffc400 !important;
  -webkit-text-fill-color: #ffc400 !important;
}

/* Keep search field readable (white box) */
#kt-header input[type="text"],
#kt-header input[type="search"],
#kt-header .searchinput,
#kt-header .search-form input {
  background: #ffffff !important;
  color: #222 !important;
  -webkit-text-fill-color: #222 !important;
  border-color: #3a3a42 !important;
}

/* Dark ALL CATEGORIES dropdown */
#kt-header .allcats.dark,
#kt-header .allcats {
  color: #ffc400 !important;
  -webkit-text-fill-color: #ffc400 !important;
}

#kt-header nav.catmenu.dark,
#kt-header nav.catmenu,
#kt-header .category-menu-container nav.catmenu {
  color: #f2f2f2 !important;
  -webkit-text-fill-color: #f2f2f2 !important;
  background-color: #1e1e1e !important;
}

#kt-header nav.catmenu.dark a,
#kt-header nav.catmenu a,
#kt-header nav.catmenu .menu_title,
#kt-header nav.catmenu .menu_title span,
#kt-header nav.catmenu .menu_title_wrap,
#kt-header nav.catmenu li,
#kt-header nav.catmenu li > a,
#kt-header nav.catmenu .has-icon,
#kt-header nav.catmenu .mega-menu-parent > a,
#kt-header nav.catmenu .sub-menu a,
#kt-header nav.catmenu ul ul a {
  color: #f2f2f2 !important;
  -webkit-text-fill-color: #f2f2f2 !important;
  opacity: 1 !important;
}

#kt-header nav.catmenu.dark a:hover,
#kt-header nav.catmenu a:hover,
#kt-header nav.catmenu li:hover > a,
#kt-header nav.catmenu .menu_title span:hover {
  color: #ffc400 !important;
  -webkit-text-fill-color: #ffc400 !important;
}


/* Logo → white on dark header */
#kt-header .logo img,
#kt-header .logo img.firstLogo,
#kt-header a.logo img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* Cart + wishlist: no light-gray boxes on dark header */
#kt-header .header-buttons .topbar_wishlist,
#kt-header .header-buttons .topbar_wishlist.dark,
#kt-header .header-buttons .cart-sidebarbtn,
#kt-header .header-buttons .cart-sidebarbtn.dark,
#kt-header .header-buttons .widget_woocommerce-dropdown-cart,
#kt-header .header-buttons .responsive-cart,
#kt-header #firstrow .topbar_wishlist,
#kt-header #firstrow .cart-sidebarbtn,
#kt-header #firstrow .widget_woocommerce-dropdown-cart,
#kt-header #firstrow .responsive-cart {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-top-color: rgba(255, 255, 255, 0.35) !important;
  border-right-color: rgba(255, 255, 255, 0.35) !important;
  border-bottom-color: rgba(255, 255, 255, 0.35) !important;
  border-left-color: rgba(255, 255, 255, 0.35) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

#kt-header .topbar_wishlist:hover,
#kt-header .cart-sidebarbtn:hover,
#kt-header .widget_woocommerce-dropdown-cart:hover,
#kt-header .responsive-cart:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: #ffc400 !important;
}

#kt-header .topbar_wishlist a,
#kt-header .topbar_wishlist .icon,
#kt-header .topbar_wishlist .icon-heart,
#kt-header .cart-sidebarbtn a,
#kt-header .cart-sidebarbtn .icon,
#kt-header .cart-sidebarbtn .icon-cart,
#kt-header .widget_woocommerce-dropdown-cart .icon,
#kt-header .responsive-cart .icon {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: transparent !important;
}

/* Count badges */
#kt-header .cartcontentscount,
#kt-header .wishlist-contentcount,
#kt-header .cart-contents .cartcontentscount,
#kt-header .wishlist-content .wishlist-contentcount {
  background: #ffc400 !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  border: 0 !important;
}

/* Kill white seam between dark header and homepage hero slider */
#kt-header #headerfirststate,
#kt-header .headerwrap,
#kt-header {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* First Elementor hero: drop top pad so slider butts under header (no white strip) */
body.home .elementor-10965 > .elementor-section.elementor-top-section:first-child,
body.home .elementor-element-b9853b2 {
  padding-top: 0 !important;
  margin-top: -150px !important;
}

body.home #header {
  background: transparent !important;
}

/* No white peek through under header on home */
body.home,
body.home #main-content,
body.home #main.hasbgcolor {
  background-color: #080808 !important;
}
