/* Nexora Electronics header module. */
.rh-topbar{background:var(--rh-primary);color:#fff;font-size:12px}
.rh-topbar .rh-container{display:flex;justify-content:space-between;gap:15px;padding:7px 0}
.rh-header{position:sticky;top:0;z-index:99;background:#fff;border-bottom:1px solid var(--rh-line)}
.rh-logo{display:flex;align-items:center;gap:9px;font-size:26px;font-weight:800;white-space:nowrap}
.rh-logo-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:50% 50% 50% 8px;background:var(--rh-primary);color:#fff}
.rh-search{display:flex;height:44px;border:1px solid var(--rh-line);border-radius:6px;overflow:hidden}
.rh-search select{max-width:145px;border:0;background:#fafafa;padding:0 9px;color:#555}
.rh-search input{flex:1;min-width:0;border:0;outline:0;padding:0 12px}
.rh-search button{width:48px;border:0;background:var(--rh-primary);color:#fff}
.rh-nav{border-top:1px solid #f8f8f8}
.rh-nav .rh-container{display:flex;align-items:center;gap:24px;min-height:42px;white-space:nowrap;overflow:auto;font-size:13px;font-weight:700}
.rh-nav a:hover{color:var(--rh-primary)}
.rh-mobile-menu{display:none;border:0;background:transparent;color:var(--rh-primary);font-size:20px}
.rh-mobile-cats{display:none;padding:12px 3%;background:#fff;border-top:1px solid var(--rh-line)}
.rh-mobile-cats.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.rh-mobile-cats a{padding:9px;border:1px solid var(--rh-line);border-radius:5px;font-size:13px}
@media (max-width:1050px){.rh-nav .rh-container{gap:16px}}
@media (max-width:700px){.rh-topbar{font-size:10px}.rh-topbar .rh-container span:last-child{display:none}.rh-logo{font-size:22px}.rh-logo-mark{width:34px;height:34px}.rh-search{grid-column:1/-1;grid-row:3;height:42px}.rh-search select{max-width:115px;font-size:11px}.rh-mobile-menu{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;grid-column:2;grid-row:1}.rh-nav{display:none}}
@media (min-width:701px){.rh-mobile-cats{display:none!important}}
@media (max-width:700px){.rh-logo{grid-column:1;grid-row:1;min-width:0}.rh-mobile-menu{grid-column:3;grid-row:1;width:40px;height:40px;background:var(--rh-primary);color:#fff;border-radius:6px;font-size:18px}.rh-search{grid-column:1/-1;grid-row:2;width:100%}.rh-logo .custom-logo{max-height:35px;width:auto}.rh-mobile-cats.open{box-shadow:0 12px 20px #0000000b}}
@media (min-width:701px){.rh-search{grid-column:2;grid-row:1}}


/* Header refinement: compact search controls and icon-only actions. */
.rh-head-actions{gap:20px}
.rh-head-actions a{font-size:0;gap:0;justify-content:center;width:26px;height:34px;flex:0 0 26px}
.rh-head-actions a i{font-size:21px;line-height:1}
.rh-head-actions a .rh-count{font-size:10px}
.rh-search{width:min(100%, 880px);justify-self:start}
.rh-search select{width:170px;min-width:0;max-width:170px;flex:0 0 170px;padding:0 10px;font-size:14px;line-height:1.3}
.rh-search input[type="search"]{font-size:14px}
@media(max-width:1050px){.rh-head-actions{gap:15px}.rh-search{width:100%;max-width:100%}.rh-search select{width:145px;max-width:145px;flex-basis:145px}}
@media(max-width:700px){.rh-head-actions{gap:12px}.rh-head-actions a{width:24px;flex-basis:24px}.rh-head-actions a i{font-size:19px}.rh-search{width:100%;max-width:100%}.rh-search select{width:115px;max-width:115px;flex-basis:115px;font-size:12px}}


/* Desktop header search: balanced width with equal visual space on both sides. */
@media (min-width: 1051px){
  .rh-head-row .rh-search{
    width:min(100%, 760px) !important;
    max-width:760px !important;
    min-width:0;
    justify-self:center;
    box-sizing:border-box;
  }
  .rh-head-row .rh-search select{
    width:150px;
    min-width:150px;
    max-width:150px;
    flex:0 0 150px;
    font-size:13px;
    padding:0 9px;
  }
  .rh-head-row .rh-search input[type="search"]{font-size:13px;padding-inline:12px;}
}


/* Mobile header: move shopping/account actions into the hamburger drawer. */
.rh-mobile-actions{display:none}
@media (max-width:700px){
  .rh-head-row>.rh-head-actions{display:none!important}
  .rh-mobile-cats.open{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px 12px 16px;}
  .rh-mobile-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 12px;padding:0 0 12px;border-bottom:1px solid var(--rh-line);}
  .rh-mobile-actions a{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:46px;padding:10px 12px;border:1px solid var(--rh-line);border-radius:8px;background:#fff;color:var(--rh-text,#242124);font-size:13px;font-weight:600;line-height:1.25;text-decoration:none;box-sizing:border-box;}
  .rh-mobile-actions a i{display:inline-flex;align-items:center;justify-content:center;width:20px;min-width:20px;font-size:17px;color:var(--rh-primary);}
  .rh-mobile-actions a:active,.rh-mobile-actions a:focus-visible{border-color:var(--rh-primary);background:#fff7f7;outline:2px solid transparent;}
  .rh-mobile-actions .rh-mobile-count{position:absolute;top:4px;left:27px;min-width:15px;height:15px;padding:0 3px;border-radius:999px;background:var(--rh-primary);color:#fff;font-size:9px;line-height:15px;text-align:center;}
  .rh-mobile-cats.open>a{display:flex;align-items:center;gap:8px;min-height:40px;padding:10px 9px;border:1px solid var(--rh-line);border-radius:6px;background:#fff;box-sizing:border-box;}
  .rh-mobile-cats.open{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
}

/* Nexora electronics visual refresh */
.rh-topbar{background:#101f3c;color:#f8fbff}
.rh-header{background:#fff;border-bottom:1px solid #dbe5f3;box-shadow:0 4px 18px #10264a0a}
.rh-logo-mark{border-radius:10px;background:linear-gradient(135deg,#1769ff,#06b6d4);box-shadow:0 5px 14px #1769ff30}
.rh-search{border-color:#d7e2f1;border-radius:9px;background:#f8fbff}
.rh-search select{background:#f0f5fc;color:#334155}
.rh-search button{background:linear-gradient(135deg,#1769ff,#06a6d8)}
.rh-nav{border-top:1px solid #edf2f9}
.rh-nav .rh-container{min-height:46px}
.rh-nav a{transition:color .18s ease}
.rh-nav a:hover{color:#06a6d8}
.rh-mobile-menu{color:#1769ff}
.rh-mobile-cats{background:#f8fbff}
.rh-mobile-cats a{border-color:#dce7f5}
@media(max-width:700px){.rh-mobile-menu{background:linear-gradient(135deg,#1769ff,#06b6d4);box-shadow:0 4px 12px #1769ff25}}

/* Nexora Amazon-inspired unified dark header: keep every header band on one color. */
.rh-topbar,
.rh-header,
.rh-nav,
.rh-nav .rh-container{
  background:#131921 !important;
  color:#ffffff !important;
}
.rh-topbar{border:0!important;color:#e6edf5!important}
.rh-header{border:0!important;box-shadow:0 3px 12px #07111f35!important}
.rh-nav{border-top:1px solid #29333f!important;border-bottom:1px solid #29333f!important}
.rh-logo{color:#ffffff!important}
.rh-logo:hover{color:#ffffff!important}
.rh-logo-mark{background:#1769ff!important;color:#ffffff!important;box-shadow:none!important}
.rh-head-actions a,
.rh-head-actions a:visited,
.rh-head-actions a i{color:#ffffff!important}
.rh-head-actions a:hover,
.rh-head-actions a:hover i{color:#69baff!important}
.rh-nav .rh-container a,
.rh-nav .rh-container a:visited{color:#f5f7fa!important}
.rh-nav .rh-container a:hover,
.rh-nav .rh-container a:focus-visible{color:#69baff!important}
.rh-search{background:#ffffff!important;border:2px solid #1769ff!important;border-radius:7px!important}
.rh-search select{background:#eef3fa!important;color:#243247!important;border-right:1px solid #d8e0eb!important}
.rh-search input[type="search"]{background:#ffffff!important;color:#1f2937!important}
.rh-search input[type="search"]::placeholder{color:#697586!important;opacity:1}
.rh-search button{background:#1769ff!important;color:#ffffff!important}
.rh-search button:hover{background:#0c55d8!important}
.rh-mobile-menu{background:#1769ff!important;color:#ffffff!important;border:0!important}
.rh-mobile-cats{background:#131921!important;border-color:#29333f!important}
.rh-mobile-cats.open a{background:#202a36!important;color:#ffffff!important;border-color:#3b4654!important}
.rh-mobile-actions{border-color:#3b4654!important}
.rh-mobile-actions a{background:#202a36!important;color:#ffffff!important;border-color:#3b4654!important}
.rh-mobile-actions a i{color:#69baff!important}
.rh-mobile-actions .rh-mobile-count{background:#1769ff!important;color:#ffffff!important}
@media(max-width:700px){
  .rh-topbar .rh-container{color:#e6edf5!important}
  .rh-header .rh-head-row{background:#131921!important}
  .rh-mobile-cats.open{box-shadow:0 12px 24px #00000035!important}
}


/* Nexora v10 final module-level hover palette override. */
body .woocommerce a.button:hover,
body .woocommerce a.button:focus-visible,
body .woocommerce button.button:hover,
body .woocommerce button.button:focus-visible,
body .woocommerce input.button:hover,
body .woocommerce input.button:focus-visible,
body .woocommerce #respond input#submit:hover,
body .woocommerce #respond input#submit:focus-visible,
body .woocommerce .button.alt:hover,
body .woocommerce .button.alt:focus-visible,
body .woocommerce button.single_add_to_cart_button:hover,
body .woocommerce .single_add_to_cart_button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-checkout #place_order:hover,
body .rh-catalog-main ul.products li.product .button:hover,
body .rh-single-product .related ul.products li.product .button:hover,
body .rh-single-product .upsells ul.products li.product .button:hover,
body .rh-product-summary-column .rh-buy-now:hover,
body .rh-cart-summary .checkout-button:hover,
body .rh-search button:hover,
body .rh-footer .rh-btn:hover,
body .nx-primary-btn:hover{
  background:#0d47a1!important;
  background-color:#0d47a1!important;
  background-image:none!important;
  border-color:#0d47a1!important;
  color:#fff!important;
  box-shadow:0 5px 16px #1769ff30!important;
  filter:none!important;
}
body .woocommerce a.button:hover *,
body .woocommerce button.button:hover *,
body .woocommerce .button.alt:hover *,
body.woocommerce-checkout #place_order:hover *,
body .rh-single-product .related ul.products li.product .button:hover *,
body .rh-single-product .upsells ul.products li.product .button:hover *{
  color:#fff!important;
}
