/* Frisør-only bridge to the shared Nettbutikk645 customer header.
   Scope every selector: preserve the existing salon frontpage/booking editor styles. */
.frisor-unified-site-header{
  position:relative;z-index:13000;overflow:visible;
  width:calc(100% - 2 * var(--site-shell-padding-x));
  max-width:calc(var(--site-shell-width) - 2 * var(--site-shell-padding-x));
  margin:24px auto 0;background:transparent;border:0;border-radius:0;box-shadow:none;
  backdrop-filter:none;-webkit-backdrop-filter:none;
}
.frisor-unified-site-header .topbar{
  position:relative;z-index:13000;display:grid;
  grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;
  padding:8px 12px;border:1px solid var(--line);
  background:rgba(17,19,26,.94);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  border-radius:12px;box-shadow:var(--shadow);overflow:visible;
}
body.theme-light .frisor-unified-site-header .topbar{
  background:rgba(255,255,255,.94);border-color:rgba(15,23,42,.12);
  box-shadow:0 16px 40px rgba(15,23,42,.10);
}
.frisor-unified-site-header .brand{display:flex;align-items:center;gap:9px;min-width:0;text-decoration:none;color:inherit;}
.frisor-unified-site-header .brand-copy{display:grid;gap:2px;min-width:0;}
.frisor-unified-site-header .brand h1{font-size:14px;margin:0;letter-spacing:.2px;line-height:1.2;}
.frisor-unified-site-header .brand .sub{font-size:10.5px;color:var(--muted);margin-top:1px;}
.frisor-unified-site-header .logo{
  width:36px;height:36px;border-radius:10px;flex:0 0 36px;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  box-shadow:0 10px 20px rgba(124,92,255,.25);
  display:grid;place-items:center;color:#fff;font-size:21px;
}
.frisor-unified-site-header .navwrap{display:flex;flex-direction:column;align-items:flex-end;gap:5px;min-width:0;}
.frisor-unified-site-header .nav{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap;}
.frisor-unified-site-header .btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-height:44.9px;padding:9.2px 11.9px;border-radius:13.2px;
  border:1px solid var(--border);font-size:15.8px;font-weight:500;line-height:1.3;
  color:var(--text);background:rgba(255,255,255,.05);text-decoration:none;
  transition:transform .08s ease,border-color .12s ease,background .12s ease;
}
.frisor-unified-site-header .btn:hover{
  transform:translateY(-1px);border-color:rgba(255,255,255,.24);background:rgba(255,255,255,.07);
}
.frisor-unified-site-header .btn.primary{background:linear-gradient(135deg,rgba(124,92,255,.22),rgba(39,198,255,.16));border-color:rgba(124,92,255,.40);}
body.theme-light .frisor-unified-site-header .btn{background:rgba(15,23,42,.04);border-color:rgba(15,23,42,.12);color:var(--text);}
body.theme-light .frisor-unified-site-header .btn.primary{background:rgba(124,92,255,.12);border-color:rgba(124,92,255,.34);}
.frisor-unified-site-header .nav-icon{
  width:21px;height:21px;flex:0 0 21px;display:inline-block;
  stroke:currentColor;fill:none;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;opacity:.92;
}
.frisor-unified-site-header .nav-label{min-width:0;line-height:1.1;}
.frisor-unified-site-header .theme-toggle-segmented{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  width:144px;max-width:100%;min-height:44.9px;overflow:hidden;
  border-radius:12px;border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
}
.frisor-unified-site-header .theme-toggle-link{
  display:inline-flex;align-items:center;justify-content:center;gap:4.5px;
  min-height:0;padding:9px 5px;text-decoration:none;
  color:var(--muted);font-weight:600;font-size:12.5px;line-height:1;
}
.frisor-unified-site-header .theme-toggle-link + .theme-toggle-link{border-left:1px solid rgba(255,255,255,.12);}
.frisor-unified-site-header .theme-toggle-link.is-active{
  background:linear-gradient(135deg,rgba(124,92,255,.22),rgba(39,198,255,.16));color:var(--text);
}
.frisor-unified-site-header .theme-toggle-link .nav-icon{width:17px;height:17px;flex-basis:17px;stroke-width:2;}
body.theme-light .frisor-unified-site-header .theme-toggle-segmented{background:rgba(15,23,42,.04);border-color:rgba(15,23,42,.12);}
body.theme-light .frisor-unified-site-header .theme-toggle-link.is-active{background:linear-gradient(135deg,rgba(124,92,255,.16),rgba(39,198,255,.10));}
.frisor-unified-site-header .shop-utility-bar{display:flex;justify-content:flex-end;padding:9px 0 0;}
.frisor-unified-site-header .shop-top-search{
  display:flex;align-items:center;gap:8px;width:min(620px,100%);
  border:1px solid var(--line);border-radius:14px;
  background:rgba(255,255,255,.04);padding:7px 9px;
}
.frisor-unified-site-header .shop-top-search input{
  flex:1;min-width:0;border:0;background:transparent;
  color:var(--text);font-size:14px;padding:7px 8px;outline-offset:1px;
}
.frisor-unified-site-header .shop-top-search .btn{min-height:35px;font-size:14px;padding:7px 12px;}
.frisor-unified-site-header .shop-top-search .nav-icon{width:17px;height:17px;flex-basis:17px;}
.frisor-unified-site-header .sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
@media(max-width:1100px){
  .frisor-unified-site-header .topbar{grid-template-columns:minmax(0,1fr);}
  .frisor-unified-site-header .navwrap{align-items:flex-start;}
  .frisor-unified-site-header .nav{justify-content:flex-start;}
  .frisor-unified-site-header .shop-utility-bar{justify-content:stretch;}
  .frisor-unified-site-header .shop-top-search{width:100%;}
}
@media(max-width:560px){
  .frisor-unified-site-header .btn{font-size:13px;min-height:38px;padding:7px 9px;}
  .frisor-unified-site-header .nav-icon{width:18px;height:18px;flex-basis:18px;}
  .frisor-unified-site-header .theme-toggle-segmented{min-height:38px;}
}
