      /* Product Cards */
      .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 30px;
            padding: 20px;
        }
        .product-card {
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 15px;
            text-align: center;
            transition: 0.3s;
            background: #fff;
        }
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .product-image img {
            max-width: 100%;
            height: 200px;
            object-fit: contain;
        }
        .product-name {
            font-size: 14px;
            margin: 10px 0;
            height: 40px;
            overflow: hidden;
        }
        .product-price {
            font-size: 18px;
            font-weight: bold;
            color: #000;
        }
        .discount-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: #ff0000;
            color: #fff;
            padding: 3px 8px;
            border-radius: 3px;
            font-size: 12px;
        }
        .product-image {
            position: relative;
        }
        .btn-add {
            background: #000;
            color: #fff;
            border: none;
            padding: 8px 15px;
            border-radius: 4px;
            cursor: pointer;
            width: 100%;
            margin-top: 10px;
        }
        .loading, .no-results {
            text-align: center;
            padding: 50px;
            font-size: 18px;
        }
        .search-header {
            padding: 40px 0;
            background: #f5f5f5;
            text-align: center;
        }




/* pagination */
        .pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.pagination button {
    padding: 8px 15px;
    cursor: pointer;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
}
.pagination button.active {
    background: #000;
    color: #fff;
    border-color: #000;
}
.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.pagination-container {
    margin-top: 20px;
}


/* Search */

  .search-autocomplete {
    border-radius: 0 0 4px 4px;
}
.suggestion-item:hover {
    background-color: #f5f5f5;
}
.suggestion-item.view-all {
    font-weight: bold;
    color: #000;
}