/* 通用样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
	
  font-family: "Microsoft Yahei", sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.5;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
}

/* 头部样式 */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid #eee;
  background-color: #f8f9fa;
  position: sticky;
  top: 0;
  z-index: 100;
}

.page-header h1 {
  font-size: 18px;
  font-weight: bold;
  color: #1a1a1a;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: flex-end;
}

.search-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 300px;
}

.search-input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
  font-size: 14px;
  flex: 1;
  min-width: 200px;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  border-color: #2f5597;
  box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
}

.search-btn {
  padding: 8px 16px;
  background-color: #2f5597;
  border: 1px solid #2f5597;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.search-btn:hover {
  background-color: #337ecc;
  border-color: #337ecc;
}

.clear-btn {
  padding: 8px 12px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.clear-btn:hover {
  background-color: #e8e8e8;
  border-color: #ccc;
}

.menu-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.menu-btn:hover {
  background-color: #f0f0f0;
}

/* 搜索结果信息 */
.search-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  color: #666;
  font-size: 14px;
}

#resultCount {
  font-weight: bold;
  color: #2f5597;
}

.show-all-btn {
  padding: 4px 12px;
  background-color: transparent;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}

.show-all-btn:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
}

/* 产品列表样式 */
.product-list {
  padding: 10px 20px;
  min-height: 400px;
}

.product-list ul {
  list-style: none;
}

.product-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  transition: background-color 0.2s ease;
}

.product-item:hover {
  background-color: #f9f9f9;
}

.product-thumbnail {
  width: 60px;
  height: 60px;
  min-width: 60px;
  margin-right: 12px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #eee;
  background-color: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-name {
  flex: 1;
  font-size: 15px;
  color: #333;
  padding-right: 10px;
  font-weight: 500;
}

.highlight {
  background-color: #fff8e1;
  color: #e65100;
  padding: 0 2px;
  border-radius: 2px;
}

.view-btn {
  padding: 6px 16px;
  background-color: #2f5597;
  border: 1px solid #2f5597;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 60px;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  display: inline-block;
  line-height: normal;
}

.view-btn:hover {
  background-color: #337ecc;
  border-color: #337ecc;
  text-decoration: none;
  color: white;
}

/* 无结果提示 */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: