 /* 基础样式 - 重置和统一 */
    body {
      font-family: 'Helvetica Neue', Arial, sans-serif;
      color: #333;
      margin: 0;
      padding: 0;
    }
    
    /* 头部样式 */
    .top-bar {
      background-color: #0d6efd;
      color: white;
      padding: 0.2rem 0;
    }
    
    .top-bar .nav-link {
      color: white;
      padding: 0.25rem 0.75rem;
      font-size: 0.9rem;
    }
    
    .logo {
      font-size: 1.8rem;
      font-weight: bold;
      color: #0d6efd;
      text-decoration: none;
      display: flex;
      align-items: center;
    }
    
    .logo i {
      margin-right: 8px;
      font-size: 2rem;
    }
    
    .search-bar {
      max-width: 500px;
    }
    
    /* 自定义样式 */
    .navbar-brand {
      font-size: 1.5rem;
      font-weight: bold;
    }
    
    /* 优化分类下拉菜单定位 - 核心修改 */
    .category-dropdown {
      position: relative;
      z-index: 1050;
    }
    
    .category-menu {
      min-width: 800px;
      padding: 1rem;
      border: none;
      border-radius: 0;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      position: absolute;
      top: 100%;
      left: 0;
      transform: translateY(0);
      margin-top: 0;
      z-index: 1051;
      background-color: white;
    }
    
    /* 修复Bootstrap默认下拉菜单样式 */
    .dropdown-menu.show {
      display: block;
      opacity: 1;
      visibility: visible;
      transform: none;
    }
    
    .category-column {
      padding: 0 1rem;
    }
    .category-title {
      font-weight: 600;
      color: #0d6efd;
      margin-bottom: 0.5rem;
      padding-bottom: 0.25rem;
      border-bottom: 2px solid #0d6efd;
    }
    .category-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .category-list li {
      margin-bottom: 0.25rem;
    }
    .category-list a {
      color: #333;
      text-decoration: none;
      transition: color 0.2s;
    }
    .category-list a:hover {
      color: #0d6efd;
      text-decoration: underline;
    }
    .content-area {
      margin-top: 2rem;
    }
    
     /* 页脚样式 */
    .footer {
      background-color: #f8f9fa;
      padding: 2rem 0;
      margin-top: 3rem;
    }
    .footer-title {
      font-weight: bold;
      margin-bottom: 1rem;
      color: #0d6efd;
    }
    .footer-links {
      list-style: none;
      padding: 0;
    }
    .footer-links li {
      margin-bottom: 0.5rem;
    }
    .footer-links a {
      color: #6c757d;
      text-decoration: none;
    }
    .footer-links a:hover {
      color: #0d6efd;
    }
    
    /* 响应式调整 - 统一断点样式 */
    @media (max-width: 768px) {
      .carousel-item {
        height: 200px;
      }
      .search-bar {
        margin: 1rem 0;
      }
      .product-img {
        height: 150px;
      }
      /* 移动端下拉菜单适配 */
      .category-menu {
        min-width: 100%;
        left: 0;
        right: 0;
        position: static;
      }
      /* 移动端猜你喜欢图片缩小 */
      .recommend-item img {
        width: 80px !important;
        height: 80px !important;
      }
      /* 移动端秒杀商品适配 */
      .product-card {
        margin-bottom: 1rem;
      }
    }
    
    /* 确保导航栏层级 */
    .navbar {
      position: relative;
      z-index: 1040;
      height: 80px;
    }
    .navbar .container {
      height: 100%;
      align-items: center;
    }
    
    /* 搜索框样式统一 */
    .search-bar {
      flex-grow: 1;
      position: relative;
      margin: 0 1rem;
    }
    .search-bar input {
      height: 36px;
      border: 1px solid #ced4da;
      border-radius: 18px !important;
      padding-left: 1rem;
      padding-right: 85px;
      width: 100%;
    }
    .search-bar button {
      position: absolute;
      right: 3px;
      top: 50%;
      transform: translateY(-50%);
      height: 30px;
      width: 80px;
      border-radius: 15px !important;
    }
    
    /* 购物车图标样式 */
    .cart-icon {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }
    .cart-badge {
      position: absolute;
      top: 0;
      right: 0;
      background-color: #dc3545;
      color: white;
      border-radius: 50%;
      width: 18px;
      height: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      transform: translate(25%, -25%);
    }