
.sort-icon {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 50px;   
  max-height: 50px; 
  object-fit: cover; 
  margin-right: 8px;  
  vertical-align: middle; 
  border-radius: 2px; 
}
  /* 商城风格耐克商品列表样式 */
  .nike-shoes-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 50px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }

  .nike-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #c81623;
    position: relative;
  }

  .nike-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #c81623 0%, #f5511e 100%);
  }

  .shoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
  }

  .shoe-item {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .shoe-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(200, 22, 35, 0.12);
  }

  .shoe-img {
    width: 100%;
    height: 170px;
    margin-bottom: 12px;
    border-radius: 4px;
    overflow: hidden;
  }

  .shoe-img img {
    width: 100%;
   height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .shoe-item:hover .shoe-img img {
    transform: scale(1.05);
  }

  .shoe-name {
    font-size: 14px;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex-shrink: 0;
  }

  .shoe-name a {
    color: #333;
    text-decoration: none;
  }

  .shoe-name a:hover {
    color: #c81623;
  }

  /* 价格+购买按钮容器 */
  .shoe-price-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
  }

  .shoe-price {
    font-size: 20px;
    font-weight: 600;
    color: #c81623;
    margin: 0;
  }

  /* 商城风格购买按钮 */
  .buy-btn {
    padding: 6px 14px;
    background: linear-gradient(135deg, #c81623 0%, #f5511e 100%);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(200, 22, 35, 0.15);
    white-space: nowrap;
  }

  .buy-btn:hover {
    background: linear-gradient(135deg, #b41420 0%, #e4461a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(200, 22, 35, 0.2);
    color: #fff;
  }

  .buy-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(200, 22, 35, 0.15);
  }
   .pagination{ justify-content: center;}


  /* 响应式适配 */
  @media (max-width: 768px) {
    .shoes-grid {
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 12px;
    }

    .shoe-img {
      height: 120px;
    }

    .nike-title {
      font-size: 24px;
    }

    .shoe-price-action {
      flex-direction: column;
      align-items: stretch;
      gap: 8px;
    }

    .shoe-price {
      text-align: center;
    }

    .buy-btn {
      width: 100%;
      text-align: center;
      padding: 8px 0;
    }