/*
 * ConjuresUp Header Consistency Sprint 2.2
 * Scope: normalize global header navigation and utility icons across standard pages,
 * WooCommerce/catalog pages, account pages, and custom page templates.
 * Intent: keep the darker #4d1367 header readable without altering page content.
 */

:root{
  --csu-header-text:#ffffff;
  --csu-header-gold:#ffd55b;
  --csu-header-purple:#4d1367;
  --csu-header-dropdown-bg:#1a0624;
  --csu-header-dropdown-border:rgba(255,213,91,.62);
}

/* Main desktop navigation: force one readable treatment on every page/template. */
body header .navbar-wpdevart > ul > li > a,
body header .simple-navbar-wpdevart a,
body header .wpdevart-menu-items-color,
body header .wpdevart-menu-items-color a,
body header nav a,
body .wpdevart-main-header-section a,
body .wpdevart-menu-and-buttons-container a,
body .wpdevart-menu-and-buttons-container-layouttwo a{
  color:var(--csu-header-text) !important;
  text-shadow:none !important;
}

/* Hover/current states: gold, but only in the header. */
body header .navbar-wpdevart > ul > li > a:hover,
body header .navbar-wpdevart > ul > li.current-menu-item > a,
body header .navbar-wpdevart > ul > li.current_page_item > a,
body header .simple-navbar-wpdevart a:hover,
body header .simple-navbar-wpdevart .current-menu-item > a,
body header .simple-navbar-wpdevart .current_page_item > a,
body header nav a:hover,
body .wpdevart-main-header-section a:hover,
body .wpdevart-menu-and-buttons-container a:hover,
body .wpdevart-menu-and-buttons-container-layouttwo a:hover{
  color:var(--csu-header-gold) !important;
}

/* Header dropdowns/submenus: keep them premium and readable instead of black-on-purple or white-on-white. */
body header .navbar-wpdevart .dropdown-menu,
body header .navbar-wpdevart .sub-menu,
body header .simple-navbar-wpdevart .dropdown-menu,
body header .simple-navbar-wpdevart .sub-menu,
body .wpdevart-main-header-section .dropdown-menu,
body .wpdevart-main-header-section .sub-menu{
  background:linear-gradient(180deg,#2b0f3d 0%,#120018 100%) !important;
  border:1px solid var(--csu-header-dropdown-border) !important;
  border-radius:12px !important;
  box-shadow:0 18px 42px rgba(0,0,0,.38) !important;
}

body header .navbar-wpdevart .dropdown-menu a,
body header .navbar-wpdevart .sub-menu a,
body header .simple-navbar-wpdevart .dropdown-menu a,
body header .simple-navbar-wpdevart .sub-menu a,
body header .wpdevart-sub-menu-link-color,
body header .wpdevart-sub-menu-link-color a,
body .wpdevart-main-header-section .dropdown-menu a,
body .wpdevart-main-header-section .sub-menu a{
  color:var(--csu-header-text) !important;
  background:transparent !important;
  text-shadow:none !important;
}

body header .navbar-wpdevart .dropdown-menu a:hover,
body header .navbar-wpdevart .sub-menu a:hover,
body header .simple-navbar-wpdevart .dropdown-menu a:hover,
body header .simple-navbar-wpdevart .sub-menu a:hover,
body header .wpdevart-sub-menu-link-color a:hover,
body .wpdevart-main-header-section .dropdown-menu a:hover,
body .wpdevart-main-header-section .sub-menu a:hover{
  color:var(--csu-header-gold) !important;
  background:rgba(255,213,91,.10) !important;
}

/* Utility icons: account, cart, search, hamburger/down arrows. */
body header i,
body header svg,
body header .dashicons,
body header .fa,
body header .fas,
body header .far,
body header .fab,
body header .wpdevart-search-icon,
body header .wpdevart-shopping-cart-icon,
body header .wpdevart-account-icon,
body header .wpdevart-menu-button-icon,
body header .wpdevart-sub-menu-button-icon,
body header .wpdevart-header-search-button,
body header .wpdevart-header-descktop-search-button,
body header .cart-contents,
body header .cart-contents:before,
body header .cart-contents:after{
  color:var(--csu-header-text) !important;
  fill:var(--csu-header-text) !important;
  stroke:currentColor !important;
}

body header a:hover i,
body header a:hover svg,
body header button:hover i,
body header button:hover svg,
body header .wpdevart-search-icon:hover,
body header .wpdevart-shopping-cart-icon:hover,
body header .wpdevart-account-icon:hover,
body header .cart-contents:hover,
body header .cart-contents:hover:before,
body header .cart-contents:hover:after{
  color:var(--csu-header-gold) !important;
  fill:var(--csu-header-gold) !important;
}

/* Cart count badge stays visible on both dark and light header variants. */
body header .count,
body header .cart-count,
body header .cart-contents .count,
body header .wpdevart-cart-count,
body header .wpdevart_woocommerce_cart_items_count{
  background:var(--csu-header-purple) !important;
  color:var(--csu-header-gold) !important;
  border:1px solid var(--csu-header-gold) !important;
  box-shadow:0 0 10px rgba(255,213,91,.25) !important;
}

/* Mobile menu: keep the same header language without affecting page body cards. */
@media (max-width: 960px){
  body header #wpdevartmobilemenu,
  body header .wpdevart-mobile-menu,
  body header .mobile-menu{
    background:linear-gradient(180deg,#4d1367 0%,#23002f 100%) !important;
  }
  body header #wpdevartmobilemenu a,
  body header .wpdevart-mobile-menu a,
  body header .mobile-menu a{
    color:var(--csu-header-text) !important;
  }
  body header #wpdevartmobilemenu a:hover,
  body header .wpdevart-mobile-menu a:hover,
  body header .mobile-menu a:hover{
    color:var(--csu-header-gold) !important;
  }
}

/* ========================================================================
   ConjuresUp Header + Mini-Cart Sprint 2.2b — Catalog Selector Lock
   Scope: final WooCommerce catalog/archive header and header mini-cart fixes.
   Intent: keep the top-level header menu white on catalog pages and keep the
   mini-cart readable with dark-purple flyout + gold buttons on every template.
   ======================================================================== */

/* WooCommerce catalog/archive pages can reapply parent theme link colors late.
   Lock the TOP LEVEL header navigation to white without changing dropdowns. */
body.woocommerce-page header .navbar-wpdevart > ul > li > a,
body.woocommerce-page header .simple-navbar-wpdevart > ul > li > a,
body.woocommerce-page header .wpdevart-menu-and-buttons-container > ul > li > a,
body.woocommerce-page header .wpdevart-menu-and-buttons-container-layouttwo > ul > li > a,
body.woocommerce-page .wpdevart-main-header-section .navbar-wpdevart > ul > li > a,
body.woocommerce-page .wpdevart-main-header-section .simple-navbar-wpdevart > ul > li > a,
body.post-type-archive-product header .navbar-wpdevart > ul > li > a,
body.post-type-archive-product header .simple-navbar-wpdevart > ul > li > a,
body.post-type-archive-product .wpdevart-main-header-section .navbar-wpdevart > ul > li > a,
body.post-type-archive-product .wpdevart-main-header-section .simple-navbar-wpdevart > ul > li > a,
body.tax-product_cat header .navbar-wpdevart > ul > li > a,
body.tax-product_cat header .simple-navbar-wpdevart > ul > li > a,
body.tax-product_tag header .navbar-wpdevart > ul > li > a,
body.tax-product_tag header .simple-navbar-wpdevart > ul > li > a,
body[class*="woocommerce"] header .navbar-wpdevart > ul > li > a,
body[class*="woocommerce"] header .simple-navbar-wpdevart > ul > li > a{
  color:var(--csu-header-text) !important;
  text-shadow:none !important;
}

body.woocommerce-page header .navbar-wpdevart > ul > li > a:hover,
body.woocommerce-page header .navbar-wpdevart > ul > li.current-menu-item > a,
body.woocommerce-page header .navbar-wpdevart > ul > li.current_page_item > a,
body.woocommerce-page header .simple-navbar-wpdevart > ul > li > a:hover,
body.woocommerce-page header .simple-navbar-wpdevart > ul > li.current-menu-item > a,
body.woocommerce-page header .simple-navbar-wpdevart > ul > li.current_page_item > a,
body.post-type-archive-product header .navbar-wpdevart > ul > li > a:hover,
body.post-type-archive-product header .navbar-wpdevart > ul > li.current-menu-item > a,
body.post-type-archive-product header .simple-navbar-wpdevart > ul > li > a:hover,
body.tax-product_cat header .navbar-wpdevart > ul > li > a:hover,
body.tax-product_cat header .navbar-wpdevart > ul > li.current-menu-item > a,
body.tax-product_cat header .simple-navbar-wpdevart > ul > li > a:hover,
body[class*="woocommerce"] header .navbar-wpdevart > ul > li > a:hover,
body[class*="woocommerce"] header .navbar-wpdevart > ul > li.current-menu-item > a,
body[class*="woocommerce"] header .simple-navbar-wpdevart > ul > li > a:hover,
body[class*="woocommerce"] header .simple-navbar-wpdevart > ul > li.current-menu-item > a{
  color:var(--csu-header-gold) !important;
}

/* Header utility icons on catalog/archive pages. */
body.woocommerce-page header .wpdevart-search-icon,
body.woocommerce-page header .wpdevart-shopping-cart-icon,
body.woocommerce-page header .wpdevart-account-icon,
body.woocommerce-page header .cart-contents,
body.post-type-archive-product header .wpdevart-search-icon,
body.post-type-archive-product header .wpdevart-shopping-cart-icon,
body.post-type-archive-product header .wpdevart-account-icon,
body.post-type-archive-product header .cart-contents,
body.tax-product_cat header .wpdevart-search-icon,
body.tax-product_cat header .wpdevart-shopping-cart-icon,
body.tax-product_cat header .wpdevart-account-icon,
body.tax-product_cat header .cart-contents{
  color:var(--csu-header-text) !important;
  fill:var(--csu-header-text) !important;
}

/* Final header mini-cart readability lock. Covers parent-theme, WooCommerce,
   and catalog-template variants without touching body product grids. */
body header .widget_shopping_cart,
body header .widget_shopping_cart_content,
body header .woocommerce-mini-cart,
body header .wpdevart_ecommerce_modern_store_woocommerce_cart_content,
body header .wpdevart_ecommerce_modern_store_header_cart_content,
body header .wpdevart_ecommerce_modern_store_cart_dropdown,
body header .wpdevart_woo_cart_dropdown,
body header .cart-dropdown,
body header .cart_dropdown,
body header .mini-cart,
body header .mini_cart,
body.woocommerce-page header .widget_shopping_cart,
body.woocommerce-page header .widget_shopping_cart_content,
body.woocommerce-page header .woocommerce-mini-cart,
body.post-type-archive-product header .widget_shopping_cart,
body.post-type-archive-product header .widget_shopping_cart_content,
body.post-type-archive-product header .woocommerce-mini-cart{
  background:linear-gradient(180deg,#090411 0%,#170724 58%,#24113f 100%) !important;
  color:#ffffff !important;
  border:1px solid rgba(242,199,119,.56) !important;
  box-shadow:0 22px 54px rgba(0,0,0,.40),0 0 24px rgba(242,199,119,.16) !important;
}

body header .widget_shopping_cart a:not(.button),
body header .widget_shopping_cart_content a:not(.button),
body header .woocommerce-mini-cart a:not(.button),
body header .mini_cart_item a:not(.button),
body header .wpdevart_ecommerce_modern_store_woocommerce_cart_content a:not(.button),
body header .wpdevart_ecommerce_modern_store_header_cart_content a:not(.button),
body header .wpdevart_ecommerce_modern_store_cart_dropdown a:not(.button),
body header .wpdevart_woo_cart_dropdown a:not(.button),
body.woocommerce-page header .widget_shopping_cart a:not(.button),
body.woocommerce-page header .widget_shopping_cart_content a:not(.button),
body.woocommerce-page header .woocommerce-mini-cart a:not(.button),
body.post-type-archive-product header .widget_shopping_cart a:not(.button),
body.post-type-archive-product header .widget_shopping_cart_content a:not(.button),
body.post-type-archive-product header .woocommerce-mini-cart a:not(.button){
  color:#ffe39a !important;
  font-weight:850 !important;
  text-shadow:none !important;
}

body header .widget_shopping_cart .quantity,
body header .widget_shopping_cart_content .quantity,
body header .woocommerce-mini-cart .quantity,
body header .widget_shopping_cart .amount,
body header .widget_shopping_cart_content .amount,
body header .woocommerce-mini-cart .amount,
body header .widget_shopping_cart .woocommerce-Price-amount,
body header .widget_shopping_cart_content .woocommerce-Price-amount,
body header .woocommerce-mini-cart .woocommerce-Price-amount,
body header .widget_shopping_cart .woocommerce-Price-currencySymbol,
body header .widget_shopping_cart_content .woocommerce-Price-currencySymbol,
body header .woocommerce-mini-cart .woocommerce-Price-currencySymbol,
body header .mini_cart_item,
body header .mini_cart_item *,
body header .woocommerce-mini-cart__total,
body header .woocommerce-mini-cart__total strong,
body header .widget_shopping_cart .total,
body header .widget_shopping_cart .total strong{
  color:#ffffff !important;
  opacity:1 !important;
}

body header .widget_shopping_cart .amount,
body header .widget_shopping_cart_content .amount,
body header .woocommerce-mini-cart .amount,
body header .widget_shopping_cart .woocommerce-Price-amount,
body header .widget_shopping_cart_content .woocommerce-Price-amount,
body header .woocommerce-mini-cart .woocommerce-Price-amount{
  color:#ffe39a !important;
  font-weight:900 !important;
}

/* Gold mini-cart buttons must use dark text, not gold-on-gold. */
body header .widget_shopping_cart a.button,
body header .widget_shopping_cart_content a.button,
body header .woocommerce-mini-cart__buttons a.button,
body header .buttons a.button,
body header .buttons a.checkout,
body header .buttons a.wc-forward,
body header .wpdevart_ecommerce_modern_store_woocommerce_cart_content a.button,
body header .wpdevart_ecommerce_modern_store_header_cart_content a.button,
body header .wpdevart_ecommerce_modern_store_cart_dropdown a.button,
body header .wpdevart_woo_cart_dropdown a.button,
body.woocommerce-page header .widget_shopping_cart a.button,
body.woocommerce-page header .widget_shopping_cart_content a.button,
body.woocommerce-page header .woocommerce-mini-cart__buttons a.button,
body.post-type-archive-product header .widget_shopping_cart a.button,
body.post-type-archive-product header .widget_shopping_cart_content a.button,
body.post-type-archive-product header .woocommerce-mini-cart__buttons a.button{
  background:linear-gradient(135deg,#d4af37 0%,#ffe39a 58%,#f2c777 100%) !important;
  color:#18091f !important;
  border:1px solid #fff0b8 !important;
  text-shadow:none !important;
  font-weight:950 !important;
}

body header .widget_shopping_cart a.button:hover,
body header .widget_shopping_cart_content a.button:hover,
body header .woocommerce-mini-cart__buttons a.button:hover,
body header .buttons a.button:hover,
body header .buttons a.checkout:hover,
body header .buttons a.wc-forward:hover{
  color:#18091f !important;
  filter:brightness(1.04) !important;
}

/* ==========================================================
   ConjuresUp Header + Mini Cart Sprint 2.2c
   Final product-title override against Wpdevart inline cart CSS
   ========================================================== */
html body div#page header .wpdevart-shopping-cart div.widget.woocommerce.widget_shopping_cart div.widget_shopping_cart_content ul.woocommerce-mini-cart.cart_list.product_list_widget li.woocommerce-mini-cart-item.mini_cart_item > a:not(.remove):not(.button),
html body div#page header .wpdevart-shopping-cart .widget_shopping_cart .widget_shopping_cart_content .woocommerce-mini-cart-item.mini_cart_item > a:not(.remove):not(.button),
html body div#page header .wpdevart-shopping-cart .widget_shopping_cart .woocommerce-mini-cart-item.mini_cart_item > a:not(.remove):not(.button),
html body div#page header .wpdevart-shopping-cart .woocommerce-mini-cart-item.mini_cart_item > a:not(.remove):not(.button),
html body.woocommerce-page div#page header .wpdevart-shopping-cart .woocommerce-mini-cart-item.mini_cart_item > a:not(.remove):not(.button),
html body.post-type-archive-product div#page header .wpdevart-shopping-cart .woocommerce-mini-cart-item.mini_cart_item > a:not(.remove):not(.button),
html body.tax-product_cat div#page header .wpdevart-shopping-cart .woocommerce-mini-cart-item.mini_cart_item > a:not(.remove):not(.button){
  color:#fff6df !important;
  opacity:1 !important;
  font-weight:850 !important;
  text-shadow:0 1px 10px rgba(0,0,0,.35) !important;
}

html body div#page header .wpdevart-shopping-cart .woocommerce-mini-cart-item.mini_cart_item .quantity,
html body div#page header .wpdevart-shopping-cart .woocommerce-mini-cart-item.mini_cart_item .quantity *,
html body div#page header .wpdevart-shopping-cart .woocommerce-mini-cart-item.mini_cart_item .amount,
html body div#page header .wpdevart-shopping-cart .woocommerce-mini-cart-item.mini_cart_item .woocommerce-Price-amount,
html body div#page header .wpdevart-shopping-cart .woocommerce-mini-cart-item.mini_cart_item .woocommerce-Price-currencySymbol{
  color:#ffe39a !important;
  opacity:1 !important;
  font-weight:900 !important;
  text-shadow:none !important;
}

html body div#page header .wpdevart-shopping-cart .widget_shopping_cart_content a.remove,
html body div#page header .wpdevart-shopping-cart .widget_shopping_cart a.remove,
html body div#page header .wpdevart-shopping-cart .woocommerce-mini-cart-item.mini_cart_item > a.remove{
  color:#ff9595 !important;
  background:transparent !important;
  opacity:1 !important;
}

html body div#page header .wpdevart-shopping-cart .woocommerce-mini-cart__total,
html body div#page header .wpdevart-shopping-cart .woocommerce-mini-cart__total strong,
html body div#page header .wpdevart-shopping-cart .total,
html body div#page header .wpdevart-shopping-cart .total strong{
  color:#fff6df !important;
  opacity:1 !important;
}

html body div#page header .wpdevart-shopping-cart .woocommerce-mini-cart__total .amount,
html body div#page header .wpdevart-shopping-cart .total .amount{
  color:#ffe39a !important;
  font-weight:900 !important;
}


/* ========================================================================
   ConjuresUp Header Nav Sprint 2.2g — Catalog Top-Level Final Lock
   Limited to WooCommerce catalog/archive top-level menu anchors.
   ======================================================================== */
html body.archive.post-type-archive-product header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item > a,
html body.archive.post-type-archive-product header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item > a:visited,
html body.post-type-archive-product header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item > a,
html body.post-type-archive-product header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item > a:visited,
html body.woocommerce-page.post-type-archive-product header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item > a,
html body.woocommerce-page.post-type-archive-product header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item > a:visited,
html body.woocommerce-shop header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item > a,
html body.woocommerce-shop header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item > a:visited,
html body.post-type-archive-product header .wpdevart-menu-and-buttons-container #menu-menu-1 > li > a.wpdevart-menu-items-color,
html body.archive.post-type-archive-product header .wpdevart-menu-and-buttons-container #menu-menu-1 > li > a.wpdevart-menu-items-color,
html body.woocommerce-page.post-type-archive-product header .wpdevart-menu-and-buttons-container #menu-menu-1 > li > a.wpdevart-menu-items-color,
html body.woocommerce-shop header .wpdevart-menu-and-buttons-container #menu-menu-1 > li > a.wpdevart-menu-items-color{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-shadow:none !important;
}
html body.archive.post-type-archive-product header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item > a:hover,
html body.archive.post-type-archive-product header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item.current-menu-item > a,
html body.archive.post-type-archive-product header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item.current-menu-ancestor > a,
html body.post-type-archive-product header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item > a:hover,
html body.post-type-archive-product header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item.current-menu-item > a,
html body.post-type-archive-product header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item.current-menu-ancestor > a,
html body.woocommerce-shop header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item > a:hover,
html body.woocommerce-shop header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item.current-menu-item > a,
html body.woocommerce-shop header .wpdevart-menu-and-buttons-container nav.navbar-wpdevart ul#menu-menu-1.menu > li.menu-item.current-menu-ancestor > a{
  color:#ffd55b !important;
  -webkit-text-fill-color:#ffd55b !important;
}
