/* SpaceNET header v2 (2026-12-06): one clean, responsive header for all devices and languages. Loaded last. */
html body #page-header{position:relative;z-index:100}
html body #page-header .container{max-width:1240px}

/* ---------- top bar ---------- */
html body #page-header .header-top{background:#0b0b0e;border-bottom:1px solid rgba(255,255,255,.08);padding:0;margin:0}
html body #page-header .header-top>.container>.row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:0;padding:7px 0;min-height:50px}
html body #page-header .header-top>.container>.row>[class*="col-"]{float:none;width:auto;min-height:0;padding:0;margin:0}
html body #page-header .header-top>.container>.row>.col-md-17{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 14px}
html body #page-header .header-top #welcome{margin:0;padding:0}
html body #page-header .header-top #boss-login ul{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
html body #page-header .header-top #boss-login ul li{margin:0;padding:0;border:0;float:none;display:inline-flex;align-items:center;color:#b9b9c6;font-size:13px;line-height:1.2}
html body #page-header .header-top #boss-login a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 14px;border-radius:999px;font-size:13px;font-weight:600;line-height:1;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s}
html body #page-header .header-top #boss-login a.btn-sn-login{color:#ff8a2a;background:rgba(255,106,0,.1);border:1px solid rgba(255,106,0,.65)}
html body #page-header .header-top #boss-login a.btn-sn-register{color:#f1f1f6;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18)}
html body #page-header .header-top #boss-login a:hover{background:rgba(255,106,0,.22);border-color:#ff6a00;color:#fff}

html body #page-header .header-top .link{display:flex;align-items:center;flex-wrap:wrap;gap:2px;margin:0;padding:0;width:auto;background:none;border:0}
html body #page-header .header-top .link a{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border-radius:8px;color:#e6e6ee;font-size:14px;line-height:1.2;text-decoration:none;white-space:nowrap;background:none;border:0;transition:background .15s,color .15s}
html body #page-header .header-top .link a span{color:inherit;font-size:inherit}
html body #page-header .header-top .link a:hover{background:rgba(255,255,255,.08);color:#fff}

html body #page-header .bt-localisation{display:flex;align-items:center;gap:8px;margin:0;padding:0;float:none;width:auto}
html body #page-header .bt-localisation .location-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html body #page-header .bt-localisation .location-content{display:flex;align-items:center;gap:8px;margin:0;padding:0}
html body #page-header .bt-localisation form,html body #page-header .bt-localisation #language,html body #page-header .bt-localisation #currency{margin:0;padding:0;float:none;width:auto;display:block}
html body #page-header .bt-localisation select{height:34px;min-width:0;width:auto;max-width:190px;padding:0 30px 0 12px;margin:0;border-radius:10px;border:1px solid rgba(255,106,0,.7);background-color:#15151a;color:#f3f3f8;font-size:13px;line-height:32px;text-overflow:ellipsis;cursor:pointer}
html body #page-header .bt-localisation select:focus{outline:2px solid rgba(255,106,0,.5);outline-offset:1px}

/* ---------- logo / search / cart ---------- */
html body #page-header .header-center{padding:14px 0 12px;margin:0;background:none}
html body #page-header .header-center>.container>.row{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;margin:0}
html body #page-header .header-center>.container>.row>[class*="col-"]{display:contents}
html body #page-header .header-center>.container>.row>[class*="col-"]>.row{display:contents}
html body #page-header .header-center #logo{order:1;flex:0 0 auto;width:auto;margin:0;padding:0;float:none}
html body #page-header .header-center #logo a{display:block}
html body #page-header .header-center #logo img{display:block;width:auto;height:auto;max-height:84px;max-width:230px}
html body #page-header .header-center .bt-quick-select{order:2;flex:1 1 320px;max-width:640px;min-width:0;margin:0 auto;padding:0;float:none;position:relative}
html body #page-header .header-center .bt-cart{order:3;flex:0 0 auto;margin:0 0 0 auto;padding:0;float:none;position:relative}
html body #page-header #cart .btn-dropdown-cart{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 18px;border-radius:12px;font-size:14px;font-weight:700;white-space:nowrap}

html body #page-header #search{position:relative;display:flex;align-items:stretch;height:46px;margin:0;padding:0;width:100%;float:none;border-radius:12px}
html body #page-header #search input[name="search"]{flex:1 1 auto;min-width:0;height:46px;padding:0 54px 0 16px;font-size:15px;border-radius:12px;box-sizing:border-box}
html body #page-header #search .button-search{position:absolute;right:0;top:0;width:48px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:0 12px 12px 0;cursor:pointer}
html body #page-header #active-users-counter{position:absolute;left:0;top:calc(100% + 7px);margin:0;white-space:nowrap;font-size:12px;line-height:1;padding:5px 11px;border-radius:999px}

/* room under the search for the visitor counter */
html body #page-header .header-center{padding-bottom:36px}

/* ---------- tablet ---------- */
@media (max-width:991px){ html body #page-header .header-center>.container>.row{gap:12px 14px;flex-wrap:nowrap} html body #page-header .header-center .bt-quick-select{flex:1 1 160px} html body #page-header #cart .btn-dropdown-cart{padding:0 12px;font-size:12.5px} 
  html body #page-header .header-center #logo img{max-height:68px;max-width:190px}
  html body #page-header .header-top .link a{padding:0 9px;font-size:13px}
}

/* ---------- phone ---------- */
@media (max-width:767px){ html body #page-header .header-center>.container>.row{flex-wrap:wrap}  html body #page-header .header-center>.container>.row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 12px;padding:0 12px} html body #page-header .header-center>.container>.row::before,html body #page-header .header-center>.container>.row::after{display:none} html body #page-header .header-center #logo a{grid-column:1;grid-row:1;justify-self:start} html body #page-header .header-center .bt-cart{grid-column:2;grid-row:1;justify-self:end;width:auto} html body #page-header .header-center .bt-quick-select{grid-column:1/-1;grid-row:2} 
  html body #page-header .header-top>.container>.row{flex-direction:column;align-items:stretch;gap:8px;padding:8px 0}
  html body #page-header .header-top>.container>.row>.col-md-17{flex-direction:column;align-items:stretch;gap:8px}
  html body #page-header .header-top #boss-login ul{justify-content:center}
  html body #page-header .header-top #boss-login ul li:first-child{flex:0 0 100%;justify-content:center;font-size:12px;color:#9a9aa8}
  html body #page-header .header-top #boss-login a{min-height:38px;padding:0 16px}
  html body #page-header .header-top .link{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:0;overflow:visible}
  html body #page-header .header-top .link a{justify-content:center;min-height:38px;padding:0 6px;background:rgba(255,255,255,.05);font-size:12.5px;white-space:normal;text-align:center;line-height:1.15}
  html body #page-header .bt-localisation{display:block}
  html body #page-header .bt-localisation .location-content{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  html body #page-header .bt-localisation select{width:100%;max-width:none;height:38px;font-size:13px}
  html body #page-header .header-center{padding:10px 0 34px}
  html body #page-header .header-center>.container>.row{gap:10px 12px}
  html body #page-header .header-center #logo{flex:1 1 auto}
  html body #page-header .header-center #logo img{max-height:50px;max-width:38vw}
  html body #page-header .header-center .bt-cart{margin-left:0}
  html body #page-header #cart .btn-dropdown-cart{min-height:44px;padding:0 10px;gap:6px;font-size:11.5px}
  html body #page-header .header-center .bt-quick-select{order:4;flex:0 0 100%;max-width:none;margin:0}
}
@media (max-width:479px){
  html body #page-header .header-top .link{grid-template-columns:repeat(2,minmax(0,1fr))}
}
