 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 /* 导航样式 */
 nav {
     background-color: #fff;
     border-bottom: 1px solid #eee;
     padding: 10px 0;
 }

 .category-nav {
     display: flex;
     list-style: none;
     overflow-x: auto;
     scrollbar-width: none;
 }

 .category-nav::-webkit-scrollbar {
     display: none;
 }

 .category-nav li {
     padding: 15px 20px;
     cursor: pointer;
     white-space: nowrap;
     transition: all 0.3s ease;
     border-bottom: 3px solid transparent;
 }

 .category-nav li:hover {
     color: #1a73e8;
 }

 .category-nav li.active {
     color: #1a73e8;
     border-bottom: 3px solid #1a73e8;
     font-weight: 500;
 }

 /* 主横幅 - 添加了背景图片 */
 .hero-banner {
     color: white;
     padding: 60px 0;
     margin: 20px 0;
     border-radius: 8px;
     text-align: center;
     background-image: url('https://picsum.photos/seed/shipping/1200/300');
     background-size: cover;
     background-position: center;
     position: relative;
 }

 /* 横幅文字遮罩，提高可读性 */
 .hero-banner::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-color: rgba(0, 0, 0, 0.5);
     border-radius: 8px;
 }

 .hero-content {
     position: relative;
     z-index: 1;
 }

 .hero-banner h1 {
     font-size: 32px;
     margin-bottom: 10px;
 }

 .hero-banner p {
     font-size: 18px;
     max-width: 600px;
     margin: 0 auto;
 }

 /* 商品列表 */
 .products-section {
     margin: 30px 0;
 }

 .section-title {
     font-size: 24px;
     margin-bottom: 20px;
     color: #333;
     display: flex;
     align-items: center;
 }

 .section-title::after {
     content: '';
     flex-grow: 1;
     height: 1px;
     background-color: #eee;
     margin-left: 15px;
 }

 .product-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
     gap: 25px;
 }

 .product-card {
     background-color: #fff;
     border-radius: 8px;
     overflow: hidden;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
     transition: all 0.3s ease;
     position: relative;
 }

 .product-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
 }

 .product-image {
     width: 100%;
     height: 220px;
     object-fit: cover;
     display: block;
 }

 .product-badge {
     position: absolute;
     top: 10px;
     left: 10px;
     background-color: #ff6b00;
     color: white;
     padding: 3px 8px;
     border-radius: 4px;
     font-size: 12px;
     font-weight: 500;
 }

 .product-info {
     padding: 15px;
 }

 .product-title {
     font-size: 16px;
     margin-bottom: 10px;
     color: #333;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     height: 40px;
 }

 .product-price {
     display: flex;
     align-items: center;
     margin-bottom: 15px;
 }

 .current-price {
     font-size: 20px;
     font-weight: bold;
     color: #e53e3e;
     margin-right: 10px;
 }

 .original-price {
     font-size: 14px;
     color: #999;
     text-decoration: line-through;
 }

 .product-footer {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .sold-count {
     font-size: 13px;
     color: #666;
 }

 .buy-btn a,.buy-btn{
     background-color: #1a73e8;
     color: white !important;
     border: none;
     padding: 8px 15px;
     border-radius: 4px;
     cursor: pointer;
     font-weight: 500;
     transition: background-color 0.3s ease;
 }

 .buy-btn:hover ,.buy-btn:hover a {
     background-color: #0d5bbc;
 }

 /* 分类内容区域 */
 .category-content {
     display: none;
 }

 .category-content.active {
     display: block;
     animation: fadeIn 0.5s ease;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(10px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* 加载更多按钮 */
 .load-more {
     display: block;
     margin: 40px auto;
     background-color: white;
     color: #1a73e8;
     border: 1px solid #1a73e8;
     padding: 10px 20px;
     border-radius: 4px;
     cursor: pointer;
     font-weight: 500;
     transition: all 0.3s ease;
 }

 .load-more:hover {
     background-color: #1a73e8;
     color: white;
 }

 /* 响应式调整 */
 @media (max-width: 768px) {
     .product-grid {
         grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
     }

     .hero-banner h1 {
         font-size: 24px;
     }

     .hero-banner p {
         font-size: 16px;
     }
 }