.meinv-nav-actions {
    gap: 10px;

  }

  .meinv-image-search-btn,
  .meinv-language-btn,
  .meinv-nav-actions {
    font-size: 16px;
  }

  .meinv-ranking-btn img {
    width: 24px;
    aspect-ratio: 1;
  }

  @media (max-width: 768px) {
    .meinv-nav-actions {
      gap: 0px;
    }

    .meinv-image-search-btn,
    .meinv-language-btn,
    .meinv-nav-actions {
      font-size: 12px;
    }

    .meinv-ranking-btn img {
      width: 16px;
    }
  }

  /* 汉堡按钮样式 */
  .hamburger-btn {
    display: none;
    /* 默认隐藏，在移动端通过JS显示 */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 15px;
    top: 15px;
  }

  /* 移动端样式 */
  @media (max-width: 768px) {
    .meinv-nav-actions {
      position: absolute;
      top: 60px;
      /* 根据您的头部高度调整 */
      left: 0;
      right: 0;
      background: white;
      z-index: 100;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      padding: 10px 0;
    }

    .meinv-nav-actions>div {
      width: 90%;
      padding: 10px 0px;
      text-align: center;
      border-bottom: 1px solid #f4f4f4;
    }
  }

.meinv-header {
  background-color: var(--meinv-bg-primary);
  padding: 15px 0;
  border-bottom: 1px solid var(--meinv-border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.meinv-nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--meinv-spacing-unit);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.meinv-logo img {
  height: 40px;
  transition: transform 0.3s ease;
}

.meinv-logo:hover img {
  transform: scale(1.05);
}

.meinv-nav-link {
  color: var(--meinv-text-primary);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--meinv-border-radius);
  transition: all 0.3s ease;
}

.meinv-nav-link:hover {
  background-color: rgba(74, 108, 247, 0.1);
  color: var(--meinv-accent-primary);
}

/* 分类选择器 */
.category-selector {
  display: flex;
  white-space: nowrap;
  overflow-x: auto;
  padding: 10px 20px;
  background-color: #0079c8;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.category-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.category-item.active {
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
  /* 箭头图标 */
  .arrow-icon {
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
  }

  .arrow-icon.rotate {
    transform: rotate(225deg);
  }

  /* 动画效果 */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  @keyframes fadeOut {
    from {
      opacity: 1;
    }

    to {
      opacity: 0;
    }
  }

  .fade-in {
    animation: fadeIn 0.5s ease forwards;
  }

  .fade-out {
    animation: fadeOut 0.3s ease forwards;
  }
  .hidden{
    display: none !important;
  }
  .meinv-tag-container{
    padding: 0 20px;
  }

  .shake {
    animation: shake 0.5s;
  }

  @keyframes shake {

    0%,
    100% {
      transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
      transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
      transform: translateX(5px);
    }
  }

  .plus-one {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    color: var(--meinv-link-color);
    font-weight: bold;
    animation: plusOne 1s forwards;
  }

  @keyframes plusOne {
    0% {
      transform: translateY(0);
      opacity: 1;
    }

    100% {
      transform: translateY(-20px);
      opacity: 0;
    }
  }


  /* 筛选面板 */
.filter-panel {
  background-color: white;
  border-radius: var(--meinv-border-radius);
  box-shadow: var(--meinv-box-shadow);
  margin: 15px 0;
  padding: 20px;
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

.filter-panel:not(.hidden) {
  max-height: 2000px;
  opacity: 1;
}

.hidden {
  display: none !important;
}

/* 筛选网格 */
.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

.filter-item {
  border-radius: var(--meinv-border-radius);
  overflow: hidden;
  box-shadow: var(--meinv-box-shadow);
  transition: all 0.3s ease;
}

.filter-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.filter-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.filter-item:hover img {
  transform: scale(1.05);
}

/* 筛选部分 */
.filter-section {
  margin-bottom: 30px;
}

.filter-title {
  font-size: 18px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--meinv-text-primary);
}

/* 颜色网格 */
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 10px;
}

.color-item {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--meinv-border-radius);
  transition: all 0.3s ease;
  box-shadow: var(--meinv-box-shadow);
}

.color-item:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 比例网格 */
.ratio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
}

.ratio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.ratio-preview {
  width: 100%;
  background-color: var(--meinv-accent-primary);
  border-radius: var(--meinv-border-radius);
  transition: all 0.3s ease;
}

.ratio-label {
  font-size: 14px;
  color: var(--meinv-text-secondary);
}

.ratio-item:hover .ratio-preview {
  transform: scale(1.05);
  box-shadow: var(--meinv-box-shadow);
}