/* Header CSS - single source of truth for header consistency */
/* Overrides page-level inline styles where they differ */

/* Announcement bar */
.ann{font-weight:400!important;background:#0E0E0E;color:#fff}
.ann a{display:inline-flex!important;align-items:center!important;font-weight:400!important;color:inherit!important}
.ann-sep{color:inherit!important;opacity:.3}
.ann-right a{opacity:.85!important;font-weight:400!important}

/* Normalize icon sizes */
.ic svg{width:22px!important;height:22px!important}

/* Normalize header layout across pages */
.hdr-v2 .logo{flex:0 0 auto!important;margin-right:24px!important}
.dot{background:#DC2525!important;color:#fff!important}
.dd{position:fixed;top:114px;left:0;right:0;background:var(--wh);padding:32px 48px;opacity:0;visibility:hidden;transition:all .2s var(--ez)!important;box-shadow:0 12px 40px rgba(0,0,0,.12);z-index:998;transform:none!important}
.ni:hover .dd,.ni .dd:hover{opacity:1;visibility:visible;transform:none!important}
body.light-mode .dot{background:#DC2525!important;color:#fff!important}

/* Theme toggle - ribbon version */
.ann .theme-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:auto!important;padding:0 16px!important;border:none;background:none;color:inherit!important;cursor:pointer;opacity:.85}
.ann .theme-toggle:hover{opacity:1}
.ann .theme-toggle svg{width:14px!important;height:14px!important;vertical-align:-2px}
/* Theme toggle - header icon row version */
.hr .theme-toggle{display:flex!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;padding:0!important}
.hr .theme-toggle svg{width:20px!important;height:20px!important}

/* Desktop search bar — between nav and icons */
.desk-search{display:flex;align-items:center;position:relative;flex:1;max-width:320px;margin:0 20px}
.desk-search>svg{position:absolute;left:14px;width:16px;height:16px;stroke:var(--gy);fill:none;pointer-events:none;stroke-width:1.5px}
.desk-search input{width:100%;padding:9px 16px 9px 38px;font-size:13px;border:none;border-radius:20px;background:#fff;color:#1a1a1a;font-family:inherit;outline:none;box-sizing:border-box;cursor:pointer;transition:border-color .2s,background .2s}
.desk-search input::placeholder{color:var(--gy);font-size:13px}
.desk-search input::placeholder{color:#999!important}
.desk-search>svg{stroke:#999!important}
body.light-mode .desk-search input{background:#f2f2f2;border:1.5px solid #ddd}
body.light-mode .desk-search input:hover{border-color:#999}
body.light-mode .desk-search>svg{stroke:#999!important}

/* Mobile search bar — hidden on desktop, visible on mobile via @media override */
.mob-search{display:none!important}

/* Mobile nav base state - hidden off-screen */
.mob-nav{position:fixed;top:0;right:0;bottom:0;width:340px;max-width:92vw;background:var(--bk);z-index:2000;overflow-y:auto;padding:0;transform:translateX(100%);transition:transform .4s cubic-bezier(.16,1,.3,1),visibility .4s;visibility:hidden}
.mob-nav.open{transform:translateX(0);visibility:visible}
.mob-overlay{position:fixed;inset:0;background:rgba(0,0,0,0);z-index:1999;pointer-events:none;transition:background .4s ease}
.mob-nav.open~.mob-overlay{background:rgba(0,0,0,.5);pointer-events:auto}
.mob-close{position:absolute;top:16px;right:16px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:var(--wh);cursor:pointer}
.mob-close svg{width:24px;height:24px}
.mob-nav-list{padding:60px 24px 24px;overflow-y:auto;max-height:calc(100vh - 60px)}
.mob-nav-list>a{display:block;font-size:18px;font-weight:700;text-transform:uppercase;color:var(--wh);padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08);letter-spacing:.5px}
.mob-nav-list a.ac{opacity:.6}
.mn-top{display:block;font-size:18px;font-weight:700;text-transform:uppercase;color:var(--wh);padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08);letter-spacing:.5px;text-decoration:none}
.mn-acc{border-bottom:1px solid rgba(255,255,255,.08)}
.mn-hd{display:flex;align-items:center;justify-content:space-between;font-size:18px;font-weight:700;text-transform:uppercase;color:var(--wh);padding:14px 0;letter-spacing:.5px;cursor:pointer}
.mn-hd svg{width:18px;height:18px;transition:transform .2s}
.mn-acc.open .mn-hd svg{transform:rotate(180deg)}
.mn-body{display:none;padding:0 0 16px}
.mn-acc.open .mn-body{display:block}
.mn-sec{margin-bottom:12px}
.mn-lbl{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:rgba(255,255,255,.4);margin-bottom:8px;font-weight:600}
.mn-sec a{display:block;font-size:15px;color:rgba(255,255,255,.8);padding:6px 0;text-decoration:none;font-weight:400}
.mn-sec a:hover{color:#fff}
.mn-all{display:block;font-size:13px;font-weight:600;color:var(--wh);text-transform:uppercase;letter-spacing:.5px;padding:8px 0 4px;text-decoration:none;opacity:.7}
.mn-brands{column-count:2;column-gap:16px}
.mn-brands a{break-inside:avoid}

/* Light mode: mobile nav */
body.light-mode .mob-nav{background:var(--wh)}
body.light-mode .mob-close{color:var(--bk)}
body.light-mode .mn-top,body.light-mode .mn-hd,body.light-mode .mn-all,body.light-mode .mob-nav-list>a{color:var(--bk)}
body.light-mode .mn-top,body.light-mode .mn-acc{border-bottom-color:rgba(0,0,0,.08)}
body.light-mode .mob-nav-list>a{border-bottom-color:rgba(0,0,0,.08)}
body.light-mode .mn-lbl{color:rgba(0,0,0,.4)}
body.light-mode .mn-sec a{color:rgba(0,0,0,.7)}
body.light-mode .mn-sec a:hover{color:var(--bk)}
body.light-mode .mob-nav-list a.ac{color:var(--bk)}

/* Mobile: show search bar, responsive layout */
@media(max-width:768px){
  .ic svg{width:30px!important;height:30px!important;stroke-width:1.5px!important}
  .burger{display:flex!important;order:3;width:30px!important;height:30px!important;gap:6px!important;margin-left:16px}
  .burger span{height:1.5px!important}
  .mob-search{display:flex!important;order:2!important}
  .ic.mob-hide-search{display:none!important}
  .mob-search input{width:100%;padding:11px 40px 11px 38px;font-size:16px;border:none!important;border-radius:20px!important;background:#fff!important;color:#1a1a1a;font-family:inherit;outline:none;box-sizing:border-box}
  .mob-search input::placeholder{color:#999}
  .mob-search{align-items:center;position:relative}
  .mob-search>svg{position:absolute;left:27px;width:16px;height:16px;stroke:#999;fill:none;pointer-events:none;stroke-width:1.5px}
  /* Mobile header: dark by default, switches in light mode */
  .hdr,.hdr-v2{background:var(--bk)!important;height:auto!important;flex-wrap:wrap;padding:8px 16px;gap:0;z-index:auto;border-bottom:none!important;position:relative!important;top:auto!important}
  body.light-mode .hdr,body.light-mode .hdr-v2{background:var(--wh)!important}
  body.light-mode .hdr .ic,body.light-mode .hdr-v2 .ic{color:var(--bk)!important}
  body.light-mode .logo-dark{display:none!important}
  body.light-mode .logo-light{display:block!important}
  body.light-mode .burger span{background:var(--bk)!important}
  .logo{order:1;margin-left:0;flex:0 0 auto}
  .logo img{height:52px!important}
  .hr{order:2;margin-left:auto!important;gap:12px;flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end}
  .hdr-v2{position:relative}
  .dot{width:14px!important;height:14px!important;font-size:8px!important;top:-3px!important;right:-5px!important}
  .nav,.nav-v2{display:none}
  .dd{display:none}
  .desk-search{display:none!important}
  #bc-header{display:flex!important;flex-direction:column!important;background:var(--bk);position:fixed;top:0;left:0;right:0;z-index:1000;border-bottom:none;box-shadow:none}
  main,.plp-hero,.pdp-wrap-spacer{padding-top:116px}
  #bc-header{border-bottom:none;box-shadow:0 1px 0 0 var(--bk)}
  body.light-mode #bc-header{background:var(--wh);box-shadow:0 1px 0 0 #e0e0e0}
  .mob-search{display:flex!important;order:2!important;background:var(--bk);padding:4px 16px 12px;position:relative;border-top:1px solid rgba(255,255,255,.1)}
  .mob-search{transition:max-height .3s cubic-bezier(.4,0,.2,1),padding .3s cubic-bezier(.4,0,.2,1),opacity .2s cubic-bezier(.4,0,.2,1);max-height:56px;overflow:hidden}
  #bc-header.search-hidden .mob-search{max-height:0;padding-top:0;padding-bottom:0;opacity:0;transition:max-height .25s cubic-bezier(.4,0,1,1),padding .25s cubic-bezier(.4,0,1,1),opacity .15s cubic-bezier(.4,0,1,1)}
  .bp-brand-hero,.brands-hero{padding-top:116px!important}
  div[style*="padding-top:69px"]{padding-top:116px!important}
  .hdr,.hdr-v2{padding-top:calc(8px + env(safe-area-inset-top))!important}
  .ann{display:none!important}
  .hdr,.hdr-v2{order:1!important}
  .mob-nav{order:4!important}
  .mob-overlay{order:5!important}
  /* Light mode mobile search — MUST be last to win cascade */
  body.light-mode .mob-search{background:var(--wh)!important;border-top:none!important}
  body.light-mode .mob-search input{background:#f2f2f2!important;color:#1a1a1a!important;border:1.5px solid #1a1a1a!important}
  body.light-mode .mob-search input::placeholder{color:#999!important}
  body.light-mode .mob-search>svg{stroke:#666!important}
}

/* PLP bottom SEO */
.plp-bottom-seo{padding:48px 28px;border-top:1px solid var(--bd);background:var(--wm)}
.plp-bottom-seo h2{font-size:18px;font-weight:700;margin-bottom:12px;color:var(--bk)}
.plp-bottom-seo p{font-size:14px;line-height:1.7;color:var(--gy);margin-bottom:24px;max-width:800px}
.plp-deep-links h3{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;font-weight:700;color:var(--gy);margin-bottom:12px}
.plp-link-list{display:flex;flex-wrap:wrap;gap:8px}
.plp-link-list a{font-size:12px;color:var(--gy);text-decoration:none;padding:6px 14px;border:1px solid var(--bd);border-radius:20px;transition:all .2s}
.plp-link-list a:hover{color:var(--bk);border-color:var(--bk)}
/* plp light-mode removed — toggle only affects header/nav */
@media(max-width:768px){
  .plp-bottom-seo{padding:32px 16px}
  .plp-bottom-seo p{font-size:13px}
}

/* iOS Safari: black status bar area */
@media(max-width:768px){
  html{background:#000!important}
}

/* iOS Safari status bar handled by theme-color meta tag */
