
:root{
  --scc-toolbar-height:64px;
  --scc-toolbar-height-mobile:56px;
}

.scc-toolbar{
  position:sticky;
  top:var(--wp-admin--admin-bar--height,0px);
  z-index:999;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.scc-toolbar-inner{
  display:grid;
  grid-template-columns:auto minmax(280px,1fr) auto;
  align-items:center;
  gap:16px;
  padding:0 24px;
  height:var(--scc-toolbar-height);
}

.scc-toolbar-left,
.scc-toolbar-center,
.scc-toolbar-right{
  display:flex;
  align-items:center;
}

.scc-toolbar-logo{
  display:flex;
  align-items:center;
  text-decoration:none;
  gap:10px;
  max-width:280px;
}

.scc-toolbar-logo-img{
  height:40px;
  width:auto;
  max-width:220px;
  object-fit:contain;
  display:block;
}

.scc-toolbar-logo-text{
  font-weight:700;
  font-size:16px;
  color:inherit;
  white-space:nowrap;
}

.scc-toolbar-center{
  justify-content:center;
}

.scc-toolbar-search{
  width:100%;
  max-width:720px;
  display:flex;
  align-items:center;
  gap:8px;
}

.scc-toolbar-search input[type="search"]{
  width:100%;
  padding:10px 14px;
  border-radius:20px;
  border:1px solid rgba(0,0,0,.15);
  background:#fff;
}

.scc-toolbar-search-btn{
  border:1px solid rgba(0,0,0,.15);
  background:#fff;
  border-radius:18px;
  padding:8px 12px;
  cursor:pointer;
}

.scc-toolbar-right{
  justify-content:flex-end;
}

.scc-toolbar-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:999px;
  text-decoration:none;
}

.scc-toolbar-icon:hover{
  background:rgba(0,0,0,.05);
}

@media (max-width:768px){
  .scc-toolbar-inner{
    grid-template-columns:auto auto;
    grid-template-rows:auto auto;
    height:auto;
    padding:8px 16px;
  }
  .scc-toolbar-center{
    grid-column:1 / -1;
    margin-top:8px;
  }
  .scc-toolbar-logo-img{
    height:36px;
    max-width:180px;
  }
}
