/* LEKBOT Global Header Foundation — v6.3.21 */
:root{
  --gh-bg:#050d0a;
  --gh-border:rgba(255,255,255,.09);
  --gh-text:#f5f8f6;
  --gh-muted:#9ca9a3;
  --gh-green:#37e6a0;
  --gh-green-soft:#89f0c6;
}

/* Shared width foundation. Product pages previously scoped .container only inside main. */
.utility-bar .container,
.header .container,
.mobile-market-strip .container{
  width:min(1180px,calc(100% - 40px));
  margin-inline:auto;
}

.utility-bar{
  height:38px;
  position:relative;
  z-index:1602;
  border-bottom:1px solid var(--gh-border);
  background:#050a08;
  color:#c4cec9;
  font-family:Inter,"Noto Sans Thai",sans-serif;
  font-size:12px;
}
.utility-inner{
  height:100%;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:18px;
}
.utility-left,.utility-center,.utility-right{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  white-space:nowrap;
}
.utility-center{justify-content:center}
.utility-right{justify-content:flex-end}
.utility-dot{
  flex:0 0 auto;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--gh-green);
  box-shadow:0 0 12px rgba(55,230,160,.62);
}
.utility-market{color:var(--gh-green-soft);font-weight:650}
.utility-link{color:#c4cec9;text-decoration:none}
.utility-link:hover{color:#fff}

.header{
  position:sticky;
  top:0;
  z-index:1601;
  min-height:72px;
  margin:0;
  background:rgba(5,13,10,.96);
  border-bottom:1px solid var(--gh-border);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.header .nav{
  height:72px;
  min-height:72px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:26px;
}
.header a{text-decoration:none}
.header .brand{
  display:inline-flex;
  align-items:center;
  gap:11px;
  min-width:max-content;
  color:var(--gh-text);
  font-family:Inter,"Noto Sans Thai",sans-serif;
  font-weight:800;
  line-height:1;
  letter-spacing:.05em;
}
.header .brand-symbol{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:linear-gradient(135deg,var(--gh-green),#57dcff);
  color:#02100a;
  font-size:17px;
  font-weight:850;
  box-shadow:0 12px 30px rgba(37,220,155,.2);
}
.header .brand-word{color:var(--gh-text);font-size:20px;font-weight:800;letter-spacing:.05em}
.header .nav-links{
  min-width:0;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  margin:0;
}
.header .nav-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  min-width:max-content;
  margin:0;
}
.header .lang-switch{display:flex;align-items:center;gap:0;margin:0;padding:0;border:0;background:transparent}
.header .lang{border:0;background:transparent;color:#a9b5af;font:700 12px/1 Inter,"Noto Sans Thai",sans-serif;padding:8px 7px;cursor:pointer}
.header .lang.active{color:#fff;background:transparent}
.header .lang-divider{color:#59645f;font-size:11px}
.header .button{
  min-height:42px;
  padding:0 17px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  border:1px solid transparent;
  color:#f5f8f6;
  font:700 13px/1 Inter,"Noto Sans Thai",sans-serif;
  white-space:nowrap;
}
.header .button-secondary{background:rgba(255,255,255,.025);border-color:var(--gh-border)}
.header .button-primary{min-width:130px;background:linear-gradient(180deg,#89f0c6,#37e6a0);color:#03100a}
.header .menu-toggle{display:none}
.mobile-market-strip{display:none}

@media(max-width:1180px){
  .utility-center{display:none}
  .utility-inner{grid-template-columns:1fr 1fr}
  .header .nav{gap:16px}
  .header .nav-actions .button-primary{min-width:auto}
}

@media(max-width:900px){
  .utility-bar{display:none}
  .utility-bar .container,.header .container,.mobile-market-strip .container{width:min(100% - 28px,1180px)}
  .header{min-height:64px}
  .header .nav{height:64px;min-height:64px;display:flex;justify-content:space-between;gap:12px}
  .header .brand{position:relative;z-index:1610}
  .header .menu-toggle{display:flex;margin-left:auto;border:0;background:transparent;padding:8px;z-index:1610}
  .header .menu-toggle span{display:block;width:24px;height:2px;background:#fff;margin:5px}
  .header .nav-actions{margin-left:0}
  .header .nav-actions .lang-switch,.header .nav-actions .nav-login{display:none}
  .header .nav-actions .button-primary{min-height:38px;padding:0 13px;font-size:12px}
  .header .nav-links{
    position:fixed;
    top:64px;
    left:0;
    right:0;
    bottom:0;
    height:auto;
    display:none;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:4px;
    padding:18px;
    overflow-y:auto;
    background:#07100d;
    z-index:1605;
  }
  .header .nav-links.open{display:flex}
}

@media(max-width:560px){
  .header .brand-symbol{width:34px;height:34px;flex-basis:34px;font-size:16px}
  .header .brand-word{font-size:18px}
  .header .nav-actions .button-primary{display:none}
}
