/* V117 correction: match the actual homepage header geometry, not the previous 104px approximation.
   Retains V116 filenames so no HTML edits are required. */
header.hedbox-v116-header, body > header.hedbox-v116-header {
 position:absolute !important; inset:0 0 auto 0 !important; top:0 !important;
 box-sizing:border-box !important; width:100% !important;
 height:104px !important; min-height:0 !important;
 display:flex !important; align-items:center !important; justify-content:flex-start !important;
 gap:clamp(18px,1.8vw,36px) !important;
 padding:0 3% !important; margin:0 !important;
 background:linear-gradient(90deg,rgba(3,4,7,.92),rgba(3,4,7,.5) 65%,transparent) !important;
 border:0 !important; z-index:1000 !important;
 font-family:Arial,Helvetica,sans-serif !important;
}
header.hedbox-v116-header .hedbox-v116-logo-link {flex:0 0 auto !important;display:block !important;line-height:0 !important;}
header.hedbox-v116-header .hedbox-v116-logo {display:block !important;width:clamp(218px,18vw,276px) !important;max-width:none !important;height:auto !important;object-fit:contain !important;}
header.hedbox-v116-header nav.hedbox-v116-nav {display:flex !important;align-items:center !important;flex:1 1 auto !important;min-width:0 !important;gap:clamp(14px,1.3vw,26px) !important;margin:0 !important;padding:0 !important;position:static !important;background:none !important;white-space:nowrap !important;}
header.hedbox-v116-header nav.hedbox-v116-nav a {font:700 clamp(15px,1.23vw,19.5px)/1.2 Arial,Helvetica,sans-serif !important;letter-spacing:0 !important;padding:0 !important;border:0 !important;background:none !important;color:#f7f7f8 !important;text-decoration:none !important;}
header.hedbox-v116-header nav.hedbox-v116-nav a:hover,header.hedbox-v116-header nav.hedbox-v116-nav a[aria-current=page]{color:#ff2930 !important;}
/* Identical plain text back link treatment to support.html V115 */
header.hedbox-v116-header a.hedbox-v116-home {flex:0 0 auto !important;display:inline-block !important;margin-left:auto !important;padding:0 !important;background:transparent !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;color:#fff !important;font:400 13px/1.2 Arial,Helvetica,sans-serif !important;white-space:nowrap !important;text-decoration:none !important;}
header.hedbox-v116-header a.hedbox-v116-home:hover{color:#ff3447 !important;}
header.hedbox-v116-header .hedbox-v116-toggle {display:none !important;}
@media(max-width:1500px) and (min-width:1251px){header.hedbox-v116-header nav.hedbox-v116-nav{gap:12px !important;}header.hedbox-v116-header nav.hedbox-v116-nav a{font-size:13px !important;}header.hedbox-v116-header .hedbox-v116-logo{width:210px !important;}}
@media(max-width:1250px){
 header.hedbox-v116-header {height:90px !important;gap:12px !important;padding:0 3% !important;}
 header.hedbox-v116-header .hedbox-v116-logo {width:218px !important;}
 header.hedbox-v116-header .hedbox-v116-toggle {display:block !important;margin-left:auto !important;background:#101115 !important;border:1px solid #777 !important;color:white !important;padding:9px 13px !important;font-size:22px !important;cursor:pointer !important;}
 header.hedbox-v116-header nav.hedbox-v116-nav {display:none !important;position:absolute !important;top:100% !important;left:0 !important;right:0 !important;flex-direction:column !important;align-items:flex-start !important;gap:20px !important;white-space:normal !important;background:#101114 !important;padding:24px 5% !important;}
 header.hedbox-v116-header nav.hedbox-v116-nav.is-open {display:flex !important;}
 header.hedbox-v116-header nav.hedbox-v116-nav a {font-size:19.5px !important;}
 header.hedbox-v116-header a.hedbox-v116-home {margin-left:0 !important;}
}
@media(max-width:700px){header.hedbox-v116-header{height:76px !important;gap:9px !important;}header.hedbox-v116-header .hedbox-v116-logo{width:clamp(150px,40vw,225px) !important;}header.hedbox-v116-header .hedbox-v116-toggle{font-size:19px !important;padding:7px 9px !important;}header.hedbox-v116-header a.hedbox-v116-home{font-size:11px !important;}}
@media(max-width:390px){header.hedbox-v116-header .hedbox-v116-logo{width:145px !important;}}

/* V118: use the same measured desktop geometry as index.html (styles.css).
   Override the old V116 approximations without changing homepage styling. */
@media (min-width:1251px) {
 header.hedbox-v116-header,body > header.hedbox-v116-header {height:104px !important;padding:0 3% !important;gap:clamp(18px,1.8vw,36px) !important;align-items:center !important;}
 header.hedbox-v116-header .hedbox-v116-logo {width:clamp(218px,18vw,276px) !important;height:auto !important;}
 header.hedbox-v116-header nav.hedbox-v116-nav {flex:0 1 auto !important;gap:clamp(14px,1.3vw,26px) !important;transform:translateY(5px) !important;align-self:center !important;}
 header.hedbox-v116-header nav.hedbox-v116-nav a {font-size:clamp(15px,1.23vw,19.5px) !important;line-height:normal !important;}
}
@media (min-width:1251px) and (max-width:1500px) {
 header.hedbox-v116-header .hedbox-v116-logo {width:clamp(218px,18vw,276px) !important;}
 header.hedbox-v116-header nav.hedbox-v116-nav {gap:clamp(14px,1.3vw,26px) !important;}
 header.hedbox-v116-header nav.hedbox-v116-nav a {font-size:clamp(15px,1.23vw,19.5px) !important;}
}
/* Prevent old catalog header effects from drawing across the replacement header. */
header.hedbox-v116-header,header.hedbox-v116-header *,header.hedbox-v116-header *::before,header.hedbox-v116-header *::after {text-shadow:none !important;filter:none !important;}
header.hedbox-v116-header::before,header.hedbox-v116-header::after {content:none !important;display:none !important;}
header.hedbox-v116-header nav.hedbox-v116-nav a::before,header.hedbox-v116-header nav.hedbox-v116-nav a::after {content:none !important;display:none !important;}

/* V119 — Category hero starts BELOW the existing navigation header.
   Header/logo/navigation styling intentionally unchanged. */
body.catalog-page main:has(> .catalog-hero),
body.charge-page main:has(> .charging-hero),
body.charge-page main:has(> .catalog-head) {
  padding-top: 104px !important;
}
/* Keep hero headings free of dark text shadows. */
body.catalog-page .catalog-hero .catalog-hero-text,
body.charge-page .charging-hero .charging-hero-title,
body.charge-page .catalog-head {
  text-shadow: none !important;
}
@media (max-width:1250px) {
  body.catalog-page main:has(> .catalog-hero),
  body.charge-page main:has(> .charging-hero),
  body.charge-page main:has(> .catalog-head) { padding-top: 90px !important; }
}
@media (max-width:700px) {
  body.catalog-page main:has(> .catalog-hero),
  body.charge-page main:has(> .charging-hero),
  body.charge-page main:has(> .catalog-head) { padding-top: 76px !important; }
}

@media(max-width:360px){body header.hedbox-v116-header a.hedbox-v116-logo-link img.hedbox-v116-logo{width:125px!important}}
