/* Header全宽适配 */
.header {
  width: 100vw;
  max-width: 100%;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--color-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__top-bar {
  width: 100%;
  background: var(--color-secondary);
  padding: 0.5rem 0;
}

.header__main {
  width: 100%;
  padding: 1rem 0;
}

.header__main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* 移动端适配 */
@media (max-width: 767px) {
  .header__main-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .header__search {
    order: 3;
    width: 100%;
  }
  
  .header__actions {
    order: 2;
  }
  
  .header__logo {
    order: 1;
  }
}

/* 平板端适配 */
@media (min-width: 768px) and (max-width: 1024px) {
  .header__main-content {
    gap: 1.5rem;
  }
}
