/* wagw 共用壳：LOGO / 顶栏分类 / 页脚。各产品页只引这一份。 */

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 3px;
  background: transparent;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
  box-shadow: none;
}

.brand-mark-img {
  display: block;
  width: auto;
  height: 26px;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}

.top-cats {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 14px;
  min-width: 0;
}

.top-cat {
  position: relative;
  flex-shrink: 0;
  outline: none;
  z-index: 2;
}

.top-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 10px;
  color: #d8d8d8;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: default;
}

.top-cat-label::after {
  content: "▾";
  font-size: 10px;
  color: #555;
}

.top-cat:hover .top-cat-label,
.top-cat:focus-within .top-cat-label,
.top-cat.is-active .top-cat-label {
  color: #4bffb3;
}

.top-cat-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  min-width: 132px;
  padding: 6px 0 4px;
  background: #000;
  border: 1px solid #222;
  border-radius: 4px;
}

.top-cat:hover .top-cat-menu,
.top-cat:focus-within .top-cat-menu {
  display: flex;
  flex-direction: column;
}

.top-cat-item {
  display: block;
  padding: 6px 12px;
  color: #a0a0a0;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
}

a.top-cat-item:hover {
  color: #4bffb3;
  background: #111;
}

.top-cat-item.is-current {
  color: #555;
  pointer-events: none;
}

.top-cat-item.is-soon,
.top-cat-item.is-empty {
  color: #555;
  cursor: default;
}

.site-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 0 10px;
  font-size: 11px;
  color: #7a7a7a;
  border-top: 1px solid #222;
  flex-shrink: 0;
}

.site-foot a {
  color: #a0a0a0;
  text-decoration: none;
}

.site-foot a:hover {
  color: #8be0ff;
}

.foot-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 18px;
  height: 18px;
}

.foot-icon svg {
  display: block;
}

.foot-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 4px;
}

.foot-contact {
  color: #7a7a7a;
  margin-left: 2px;
}

.foot-sep {
  opacity: 0.5;
}
