.wc-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--wc-header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--wc-line);
  color: var(--wc-header-text);
}

.wc-header-inner {
  max-width: var(--wc-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.wc-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--wc-text);
  text-decoration: none;
  flex-shrink: 0;
}

.wc-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.wc-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.wc-brand-text strong {
  font-size: 16px;
  font-weight: 700;
}

.wc-brand-text span {
  font-size: 11px;
  color: var(--wc-muted);
}

.wc-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
}

.wc-nav a {
  color: #525252;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  padding: 20px 0;
}

.wc-nav a:hover,
.wc-nav a.is-active {
  color: var(--wc-text);
}

.wc-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--wc-brand);
}

.wc-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.wc-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px 0 10px;
  border: 1px solid #ececec;
  border-radius: 999px;
  background: #fff;
  color: #525252;
}

.wc-lang i {
  font-size: 12px;
  color: #737373;
}

.wc-lang select {
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: #404040;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 14px;
  max-width: 108px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23737373' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  font-family: inherit;
}

.wc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
  font-family: inherit;
  transition: 0.15s ease;
}

.wc-btn-ghost {
  color: #404040;
  border-color: #e5e5e5;
  background: #fff;
}

.wc-btn-ghost:hover {
  border-color: #d4d4d4;
  background: #fafafa;
}

.wc-btn-primary {
  color: #fff;
  background: var(--wc-brand);
}

.wc-btn-primary:hover {
  background: var(--wc-brand-hover);
}

.wc-btn-outline {
  color: var(--wc-text);
  background: #fff;
  border-color: #e5e5e5;
}

.wc-user {
  position: relative;
}

.wc-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px 0 4px;
  border: 1px solid #ececec;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}

.wc-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wc-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.wc-user-btn span {
  font-size: 13px;
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-user-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 176px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--wc-shadow-hover);
  padding: 6px;
  z-index: 90;
}

.wc-user.is-open .wc-user-menu {
  display: block;
}

.wc-user-menu a,
.wc-user-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  background: none;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.wc-user-menu a:hover,
.wc-user-menu button:hover {
  background: #f6f6f6;
}

.wc-footer {
  background: #fff;
  color: #737373;
  margin-top: 72px;
  border-top: 1px solid var(--wc-line);
}

.wc-footer-main {
  max-width: var(--wc-max);
  margin: 0 auto;
  padding: 40px 24px 20px;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 28px;
}

.wc-footer a {
  color: #525252;
  text-decoration: none;
}

.wc-footer a:hover {
  color: var(--wc-brand);
}

.wc-footer h4 {
  margin: 0 0 12px;
  color: #171717;
  font-size: 13px;
}

.wc-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wc-footer li + li {
  margin-top: 8px;
  font-size: 13px;
}

.wc-footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #171717;
  font-weight: 700;
  margin-bottom: 10px;
}

.wc-footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.wc-footer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.wc-footer-bottom {
  max-width: var(--wc-max);
  margin: 0 auto;
  padding: 16px 24px 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #a3a3a3;
}

@media (max-width: 900px) {
  .wc-nav {
    display: none;
  }

  .wc-footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .wc-footer-main,
  .wc-footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }
}
