/* ===================================
   产品库归档页 — app-archive.css
   =================================== */

/* ─ 页面头部 ─ */
.litheme-module-app-archive .archive-header {
  text-align: center;
  padding: 2rem 1.25rem;
  background: #fff;
  border-radius: 0.375rem;
}

.litheme-module-app-archive .archive-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.375rem;
  color: #1a1a1a;
}

.litheme-module-app-archive .archive-page-subtitle {
  font-size: 0.9375rem;
  color: #666;
  margin: 0;
}

.litheme-module-app-archive .archive-page-desc {
  font-size: 0.8125rem;
  color: #999;
  margin: 0.5rem 0 0;
}

/* ─ 快捷入口卡片 ─ */
.archive-shortcuts .shortcut-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  background: #fff;
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.15s;
}

.archive-shortcuts .shortcut-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.shortcut-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.shortcut-updates .shortcut-icon {
  background: #e8f5e9;
  color: #43a047;
}

.shortcut-releases .shortcut-icon {
  background: #e3f2fd;
  color: #1e88e5;
}

.shortcut-deals .shortcut-icon {
  background: #fff3e0;
  color: #fb8c00;
}

.shortcut-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.shortcut-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

.shortcut-desc {
  font-size: 0.75rem;
  color: #999;
  line-height: 1.3;
  margin-top: 2px;
}

/* ─ 分类导航 ─ */
.archive-category-nav {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.25rem;
}

.category-nav-header {
  margin-bottom: 0.75rem;
}

.category-nav-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: #1a1a1a;
}

.category-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.625rem;
}

.category-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.875rem 0.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
  background: #f7f8fa;
  transition: background 0.2s;
}

.category-nav-item:hover {
  background: #eef0f4;
  color: inherit;
}

.category-nav-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #555;
}

.category-nav-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.25rem;
}

.category-nav-name {
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  color: #333;
  line-height: 1.2;
  word-break: break-all;
}

.category-nav-count {
  font-size: 0.6875rem;
  color: #aaa;
}

/* ─ 响应式 ─ */
@media (max-width: 767.98px) {
  .litheme-module-app-archive .archive-header {
    padding: 1.25rem 1rem;
  }

  .litheme-module-app-archive .archive-page-title {
    font-size: 1.25rem;
  }

  .shortcut-desc {
    display: none;
  }

  .shortcut-icon {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }

  .archive-shortcuts .shortcut-card {
    padding: 0.75rem 0.875rem;
    gap: 0.5rem;
  }

  .shortcut-title {
    font-size: 0.8125rem;
  }

  .category-nav-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
  }

  .category-nav-item {
    padding: 0.625rem 0.25rem;
  }

  .category-nav-icon {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }

  .category-nav-name {
    font-size: 0.75rem;
  }
}